Sets keep_on_top after a window has been created. Effect is the same as if the window was created with this set. The Window is also brought to the front
(self)
| 11787 | pass |
| 11788 | |
| 11789 | def keep_on_top_set(self): |
| 11790 | """ |
| 11791 | Sets keep_on_top after a window has been created. Effect is the same |
| 11792 | as if the window was created with this set. The Window is also brought |
| 11793 | to the front |
| 11794 | """ |
| 11795 | if not self._is_window_created('tried Window.keep_on_top_set'): |
| 11796 | return |
| 11797 | self.KeepOnTop = True |
| 11798 | self.bring_to_front() |
| 11799 | try: |
| 11800 | self.TKroot.wm_attributes("-topmost", 1) |
| 11801 | except Exception as e: |
| 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 | """ |
no test coverage detected