简体   繁体   English

如何使用tkinter将小部件添加到标题栏?

[英]How to add widgets to title bar using tkinter?

I am currently learning python and tkinter. 我目前正在学习python和tkinter。

I was wondering how to add a button to the title bar in the "mac osx style". 我想知道如何在“ mac osx样式”中向标题栏添加按钮。 I found a simple picture example: 我找到了一个简单的图片示例:

屏幕快照,显示使用tkinter用python编写的应用

The screenshot shows an app written in python using tkinter. 屏幕截图显示了使用tkinter用python编写的应用程序。

Can it be available for linux systems ? 它可以用于linux系统吗?

Thanks ! 谢谢 !

That application uses an open source extension. 该应用程序使用开源扩展。 See http://opensource.codebykevin.com/native.html 参见http://opensource.codebykevin.com/native.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM