Home > other >  Wxpython button control window is placed at the top
Wxpython button control window is placed at the top

Time:09-16

Could you tell me how to achieve wxpython with button placed at the top of the control window, press the button after the window is placed at the top, then press the button to cancel the top?

CodePudding user response:

Your done
 def Desk_Pin (self, event) : 
# self. SetWindowStyle (wx. DEFAULT_FRAME_STYLE | wx. STAY_ON_TOP)
Self. ToggleWindowStyle (wx. STAY_ON_TOP)

CodePudding user response:

  • Related