Clears keep_on_top after a window has been created. Effect is the same as if the window was created with this set.
(self)
| 11802 | warnings.warn('Problem in Window.keep_on_top_set trying to set wm_attributes topmost' + str(e), UserWarning) |
| 11803 | |
| 11804 | def keep_on_top_clear(self): |
| 11805 | """ |
| 11806 | Clears keep_on_top after a window has been created. Effect is the same |
| 11807 | as if the window was created with this set. |
| 11808 | """ |
| 11809 | if not self._is_window_created('tried Window.keep_on_top_clear'): |
| 11810 | return |
| 11811 | self.KeepOnTop = False |
| 11812 | try: |
| 11813 | self.TKroot.wm_attributes("-topmost", 0) |
| 11814 | except Exception as e: |
| 11815 | warnings.warn('Problem in Window.keep_on_top_clear trying to clear wm_attributes topmost' + str(e), UserWarning) |
| 11816 | |
| 11817 | def current_location(self, more_accurate=False, without_titlebar=False): |
| 11818 | """ |
no test coverage detected