From: Guido van Rossum Date: Wed, 5 May 1999 23:03:48 +0000 (+0000) Subject: Nathan Paul Simons noticed that the grid_remove() method was missing. X-Git-Tag: v1.6a1~1374 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e40759d5ae2c879759fe7c3e35aa107f967824b;p=thirdparty%2FPython%2Fcpython.git Nathan Paul Simons noticed that the grid_remove() method was missing. (The difference between grid_remove() and grid_forget() is that the former remembers the options for the slave.) --- diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index 998dd0d95ab2..2e5b69c52fc2 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -1024,6 +1024,8 @@ class Grid: def grid_forget(self): self.tk.call('grid', 'forget', self._w) forget = grid_forget + def grid_remove(self): + self.tk.call('grid', 'remove', self._w) def grid_info(self): words = self.tk.splitlist( self.tk.call('grid', 'info', self._w))