root = Tk()

#置顶
root.wm_attributes('-topmost',1)

 

#取消置顶

root.wm_attributes('-topmost',0)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-03
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2021-11-01
  • 2022-12-23
相关资源
相似解决方案