Skip to main content

Tray Icon for Windows

Project description

tkwinico

Windows系统提供开发系统托盘的功能。


注意事项

版本号前两位是库的版本号,后一位则是Winico的版本号。

x.x.71x.x.6Winico71版本支持x64位电脑 而6版本支持x32位电脑 请按需要安装

仅支持Windows系统

示例

from tkwinico import *
import tkinter as tk


Window = tk.Tk()

Ico = Winico(Window)


def CallBack(Message, X, Y):
    if Message == "WM_RBUTTONDOWNessage":
        Menu = tk.Menu(tearoff=False)
        Menu.add_command(label="Quit", command=Window.quit)
        Menu.tk_popup(X, Y)


Ico.tray_add(Ico.icon(APPLICATION), callback=CallBack, callback_args=[MESSAGE, X, Y])

Window.mainloop()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tkwinico-1.5.71.tar.gz (113.7 kB view hashes)

Uploaded Source

Built Distribution

tkwinico-1.5.71-py3-none-any.whl (116.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page