Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fffa20 commit 289ad8fCopy full SHA for 289ad8f
1 file changed
Lib/lib-tk/Tkinter.py
@@ -1434,10 +1434,10 @@ def wm_sizefrom(self, who=None):
1434
"program"."""
1435
return self.tk.call('wm', 'sizefrom', self._w, who)
1436
sizefrom = wm_sizefrom
1437
- def wm_state(self):
1438
- """Return the state of this widget as one of normal,
1439
- icon, iconic (see wm_iconwindow) and withdrawn."""
1440
- return self.tk.call('wm', 'state', self._w)
+ def wm_state(self, newstate=None):
+ """Query or set the state of this widget as one of normal, icon,
+ iconic (see wm_iconwindow), withdrawn, or zoomed (Windows only)."""
+ return self.tk.call('wm', 'state', self._w, newstate)
1441
state = wm_state
1442
def wm_title(self, string=None):
1443
"""Set the title of this widget."""
0 commit comments