⇤ ← Revision 1 as of 2020-12-16 14:15:11
Size: 1848
Comment:
|
Size: 1905
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from TextCtrlAutoComplete (Phoenix) |
How to create a task bar icon (Phoenix)
Keywords : Task bar icon.
Contents
Introduction :
Some applications are placed on a taskbar. It is an area on a panel usually at the right bottom of the screen. They are represented by a small icon. They are specialized programs designed to do some specific task. Common examples are a clock, sound mixer, language switcher. They are also called applets. In wxPython we have a
TaskbarIcon class for creating such applets.
The constructor does not take any parameters.
wx.adv import TaskBarIcon as TaskBarIcon
Available methods |
|
Destroy() |
destroys a taskbaricon object |
SetIcon(wx.Icon icon, string tooltip) |
sets an icon with optional tooltip |
IsIconInstalled() |
checks if the icon is set |
IsOk() |
checks if the object is created |
RemoveIcon() |
removes the icon |
PopupMenu(wx.Menu menu) |
pops up a menu |
Demonstrating :
Tested py3.x, wx4.x and Win10.
Are you ready to use some samples ?
Test, modify, correct, complete, improve and share your discoveries !
Sample one
1 # sample_one.py
Download source
Additional Information
Link :
- - - - -
https://wiki.wxpython.org/TitleIndex
Thanks to
Jan Bodnar (sample_one.py coding), the wxPython community...
About this page
Date(d/m/y) Person (bot) Comments :
16/12/20 - Ecco (Created page for wxPython Phoenix).
Comments
- blah, blah, blah....