0
我试图在通知区域中使用Python GTK制作图标。 For Reference, this is the area I'm talking about。我知道如何从那里做一个简单的通知,但我希望让我的程序在后台运行,并在点击图标时打开一个菜单,类似于Dropbox图标。如果有人知道如何,将不胜感激,谢谢。Python在通知区域制作图标
我试图在通知区域中使用Python GTK制作图标。 For Reference, this is the area I'm talking about。我知道如何从那里做一个简单的通知,但我希望让我的程序在后台运行,并在点击图标时打开一个菜单,类似于Dropbox图标。如果有人知道如何,将不胜感激,谢谢。Python在通知区域制作图标
您可以使用gtk.StatusIcon
,作为shown in this tutorial。该文档明确提到Windows,所以它应该在那里工作。