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
(window)
| 53 | |
| 54 | # Temp definitions of the Window methods added to 4.46.0.7 of PySimpleGUI |
| 55 | def keep_on_top_set(window): |
| 56 | """ |
| 57 | Sets keep_on_top after a window has been created. Effect is the same |
| 58 | as if the window was created with this set. The Window is also brought |
| 59 | to the front |
| 60 | """ |
| 61 | window.KeepOnTop = True |
| 62 | window.bring_to_front() |
| 63 | window.TKroot.wm_attributes("-topmost", 1) |
| 64 | |
| 65 | |
| 66 | def keep_on_top_clear(window): |
nothing calls this directly
no test coverage detected