Size: 1905
Comment:
|
Size: 1896
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from TextCtrlAutoComplete (Phoenix) | |
Line 8: | Line 7: |
Some applications are placed on a taskbar. | Some applications are placed on a taskbar. |
Line 10: | Line 10: |
Line 11: | Line 12: |
Line 12: | Line 14: |
Line 13: | Line 16: |
They are also called applets. In wxPython we have a | |
Line 15: | Line 17: |
{{{TaskbarIcon}}} class for creating such applets. | They are also called applets. In wxPython we have a {{{TaskbarIcon}}} class for creating such applets. |
Line 29: | Line 33: |
(info by '''JanBodnar / zetcode'''). |
|
Line 44: | Line 51: |
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 |
(info by JanBodnar / zetcode).
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....