mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue