MCPcopy Index your code
hub / github.com/python/cpython / wm_state

Method wm_state

Lib/tkinter/__init__.py:2482–2485  ·  view source on GitHub ↗

Query or set the state of this widget as one of normal, icon, iconic (see wm_iconwindow), withdrawn, or zoomed (Windows only).

(self, newstate=None)

Source from the content-addressed store, hash-verified

2480 sizefrom = wm_sizefrom
2481
2482 def wm_state(self, newstate=None):
2483 """Query or set the state of this widget as one of normal, icon,
2484 iconic (see wm_iconwindow), withdrawn, or zoomed (Windows only)."""
2485 return self.tk.call('wm', 'state', self._w, newstate)
2486
2487 state = wm_state
2488

Callers 4

setUpClassMethod · 0.80
zoom_heightMethod · 0.80
wakeupMethod · 0.80

Calls 1

callMethod · 0.45

Tested by

no test coverage detected