Restore a window to a non-maximized state. Does different things depending on platform. See Maximize for more.
(self)
| 11283 | self.maximized = True |
| 11284 | |
| 11285 | def normal(self): |
| 11286 | """ |
| 11287 | Restore a window to a non-maximized state. Does different things depending on platform. See Maximize for more. |
| 11288 | """ |
| 11289 | if not self._is_window_created('tried Window.normal'): |
| 11290 | return |
| 11291 | if self.use_custom_titlebar: |
| 11292 | self._custom_titlebar_restore() |
| 11293 | else: |
| 11294 | if self.TKroot.state() == 'iconic': |
| 11295 | self.TKroot.deiconify() |
| 11296 | else: |
| 11297 | if not running_linux(): |
| 11298 | self.TKroot.state('normal') |
| 11299 | else: |
| 11300 | self.TKroot.attributes('-fullscreen', False) |
| 11301 | self.maximized = False |
| 11302 | |
| 11303 | def _StartMoveUsingControlKey(self, event): |
| 11304 | """ |
no test coverage detected