python tkinter窗口置顶

下面两句即可实现root窗口的置顶显示,可以用于某些程序的消息提示,能够弹出到桌面显示

root = Tk()
root.wm_attributes('-topmost',1)

猜你喜欢

转载自www.cnblogs.com/givemelove/p/9951385.html
今日推荐