Another tkinter nit

Rich Neitzel (thor@ymir.atd.ucar.edu)
28 Jun 1994 19:55:21 GMT

First, wow! Tkinter just gets better & better. I did find one problem,
the selection_get() function is missing a return. The patch to the
lastest version is:

--- /scr/ymir/python/python-1.0.2/Extensions/tkinter/Tkinter.py Mon Jun 27 17:12:06 1994
+++ Tkinter.py Tue Jun 28 13:39:49 1994
@@ -147,7 +147,7 @@
def selection_clear(self):
self.tk.call('selection', 'clear', self._w)
def selection_get(self, type=None):
- self.tk.call('selection', 'get', type)
+ return self.tk.call('selection', 'get', type)
def selection_handle(self, func, type=None, format=None):
name = self._register(func)
self.tk.call('selection', 'handle', self._w,

-- 
Richard Neitzel thor@thor.atd.ucar.edu          Torren med sitt skjegg
National Center For Atmospheric Research        lokkar borni under sole-vegg
Box 3000 Boulder, CO 80307-3000	                Gjx'i med sitt shinn
303-497-2057                                    jagar borni inn.