Package gui :: Module icons :: Class Relax_task_bar_icon
[hide private]
[frames] | no frames]

Class Relax_task_bar_icon

source code


The icon for the Mac OS X task bar.

Instance Methods [hide private]
 
__init__(self, gui)
Set up the task bar icon.
source code
wx.Menu instance
CreatePopupMenu(self)
Create and return the task bar menu.
source code
 
exit(self, event)
Exit relax from the task bar.
source code
 
restore(self, event)
Restore relax from the task bar.
source code
Class Variables [hide private]
  TBMENU_RESTORE = wx.NewId()
  TBMENU_CLOSE = wx.NewId()
Method Details [hide private]

__init__(self, gui)
(Constructor)

source code 

Set up the task bar icon.

Parameters:
  • gui (wx.Frame instance) - The GUI object.

CreatePopupMenu(self)

source code 

Create and return the task bar menu.

Returns: wx.Menu instance
The pop up menu.

exit(self, event)

source code 

Exit relax from the task bar.

Parameters:
  • event (wx event) - The wx event.

restore(self, event)

source code 

Restore relax from the task bar.

Parameters:
  • event (wx event) - The wx event.