mirror of https://github.com/python/cpython
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.)
This commit is contained in:
parent
3ed1be9fbd
commit
8e40759d5a
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue