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]
TaskBarIcon
__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

Inherited from wx._windows.TaskBarIcon: Destroy, IsIconInstalled, IsOk, PopupMenu, RemoveIcon, SetIcon, __del__, __nonzero__, __repr__, __swig_destroy__

Inherited from wx._windows.TaskBarIcon (private): _setCallbackInfo

Inherited from wx._core.EvtHandler: AddPendingEvent, Bind, Connect, Disconnect, GetEvtHandlerEnabled, GetNextHandler, GetPreviousHandler, ProcessEvent, ProcessPendingEvents, SetEvtHandlerEnabled, SetNextHandler, SetPreviousHandler, Unbind

Inherited from wx._core.EvtHandler (private): _setOORInfo

Inherited from wx._core.Object: GetClassName, IsSameAs

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  TBMENU_RESTORE = 100
  TBMENU_CLOSE = 101
Properties [hide private]

Inherited from wx._windows.TaskBarIcon: thisown

Inherited from wx._core.EvtHandler: EvtHandlerEnabled, NextHandler, PreviousHandler

Inherited from wx._core.Object: ClassName

Inherited from object: __class__

Method Details [hide private]

__init__(self, gui)
(Constructor)

source code 

Set up the task bar icon.

Parameters:
  • gui (wx.Frame instance) - The GUI object.
Returns: TaskBarIcon
Overrides: object.__init__

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.