System tray icon with context menus.
More...
|
| def | __init__ (self, scheduler=None) |
| |
| def | initLeftMenu (self) |
| |
| def | initRightMenu (self) |
| |
| def | update (self) |
| |
| def | exit (self, widget) |
| |
| def | setExitCallback (self, cb) |
| |
| def | showLeftMenu (self, widget) |
| |
| def | hideLeftMenu (self, widget, event) |
| |
| def | showRightMenu (self, widget, event_button, event_time, menu) |
| |
| def | showAbout (self, widget) |
| |
| def | displayAppInfo (self) |
| |
| def | displayPair (self, label, value) |
| |
|
|
| scheduler |
| |
|
| enabled |
| |
|
| widgets |
| |
|
| exitCallback |
| |
System tray icon with context menus.
§ __init__()
| def TrayIcon.TrayIcon.__init__ |
( |
|
self, |
|
|
|
scheduler = None |
|
) |
| |
Initializes the TrayIcon object
§ displayAppInfo()
| def TrayIcon.TrayIcon.displayAppInfo |
( |
|
self | ) |
|
display app information
@return gtk.VBox
§ displayPair()
| def TrayIcon.TrayIcon.displayPair |
( |
|
self, |
|
|
|
label, |
|
|
|
value |
|
) |
| |
display label and value
@return gtk.HBox
§ exit()
| def TrayIcon.TrayIcon.exit |
( |
|
self, |
|
|
|
widget |
|
) |
| |
§ hideLeftMenu()
| def TrayIcon.TrayIcon.hideLeftMenu |
( |
|
self, |
|
|
|
widget, |
|
|
|
event |
|
) |
| |
§ initLeftMenu()
| def TrayIcon.TrayIcon.initLeftMenu |
( |
|
self | ) |
|
§ initRightMenu()
| def TrayIcon.TrayIcon.initRightMenu |
( |
|
self | ) |
|
§ setExitCallback()
| def TrayIcon.TrayIcon.setExitCallback |
( |
|
self, |
|
|
|
cb |
|
) |
| |
§ showAbout()
| def TrayIcon.TrayIcon.showAbout |
( |
|
self, |
|
|
|
widget |
|
) |
| |
§ showLeftMenu()
| def TrayIcon.TrayIcon.showLeftMenu |
( |
|
self, |
|
|
|
widget |
|
) |
| |
§ showRightMenu()
| def TrayIcon.TrayIcon.showRightMenu |
( |
|
self, |
|
|
|
widget, |
|
|
|
event_button, |
|
|
|
event_time, |
|
|
|
menu |
|
) |
| |
show right menu
auto hides due to popup behaviour
§ update()
| def TrayIcon.TrayIcon.update |
( |
|
self | ) |
|
The documentation for this class was generated from the following file: