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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file tkwinico-1.5.71.tar.gz.

File metadata

  • Download URL: tkwinico-1.5.71.tar.gz
  • Upload date:
  • Size: 113.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.9 Windows/10

File hashes

Hashes for tkwinico-1.5.71.tar.gz
Algorithm Hash digest
SHA256 89d577c811b80fb79415a3b95a78c926294db1882ba17773e1ef08d392357b0d
MD5 27f0d982439b0197b77ad305e95dc544
BLAKE2b-256 73d109761fbd210d2e94d797b2bb57eb198c85e60c015a006bdd291c6c0ff32e

See more details on using hashes here.

File details

Details for the file tkwinico-1.5.71-py3-none-any.whl.

File metadata

  • Download URL: tkwinico-1.5.71-py3-none-any.whl
  • Upload date:
  • Size: 116.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.9 Windows/10

File hashes

Hashes for tkwinico-1.5.71-py3-none-any.whl
Algorithm Hash digest
SHA256 4b4823b5d1d7601f1ae8cd7e0997016380e1818457628ad0697d9f19e217cf36
MD5 df61edce373d9c4af94e24a856e32465
BLAKE2b-256 f2447829b47a56b6c1865a1f2440cddb5da159cdf9727d1a589ce01418f34064

See more details on using hashes here.

Supported by

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