CVS: /anygui/lib/anygui/backends tkgui.py,1.86,1.87

Magnus Lie Hetland <[email protected]> Tue, 26 Aug 2003 09:21:47 -0700
Newsgroups gmane.comp.python.anygui.cvs
Message-ID <[email protected]>
Update of /cvsroot/anygui//anygui/lib/anygui/backends
In directory sc8-pr-cvs1:/tmp/cvs-serv15708/lib/anygui/backends

Modified Files:
	tkgui.py 
Log Message:
Added exportselection=0 to the ListBox constructor, so selecting
entries in multiple, independent listboxes is possible. Thanks to
Sascha Silbe for this one.


Index: tkgui.py
===================================================================
RCS file: /cvsroot/anygui//anygui/lib/anygui/backends/tkgui.py,v
retrieving revision 1.86
retrieving revision 1.87
diff -C2 -r1.86 -r1.87
*** tkgui.py	13 Nov 2002 17:19:22 -0000	1.86
--- tkgui.py	26 Aug 2003 16:21:44 -0000	1.87
***************
*** 440,443 ****
--- 440,444 ----
  
      def widgetFactory(self, *args, **kws):
+         kws.setdefault('exportselection', 0)
          widget=Tkinter.Listbox(*args, **kws)
          widget.bind('<ButtonRelease-1>', self.clickHandler)



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0