Package Gnumed :: Package wxpython :: Package gui :: Module gmWaitingListPlugin :: Class gmWaitingListPlugin
[frames] | no frames]

Class gmWaitingListPlugin

source code

gmPlugin.cNotebookPlugin --+
                           |
                          gmWaitingListPlugin

Plugin to encapsulate the waiting list.

Instance Methods
 
register(self)
Register ourselves with the main notebook widget.
source code
 
__init__(self) source code
 
name(self) source code
 
GetWidget(self, parent) source code
 
MenuInfo(self)
Return tuple of (menuname, menuitem).
source code
 
can_receive_focus(self)
Called when this plugin is *about to* receive focus.
source code

Inherited from gmPlugin.cNotebookPlugin: OnShow, Raise, on_load, receive_focus, unregister

Class Variables
  tab_name = _('Waiting list')
  required_minimum_role = 'staff'
Method Details

register(self)

source code 

Register ourselves with the main notebook widget.

Decorators:
  • @gmAccessPermissionWidgets.verify_minimum_required_role(required_minimum_role, activity= _('loading plugin <%s>') % tab_name, return_value_on_failure= False, fail_silently= False)
Overrides: gmPlugin.cNotebookPlugin.register
(inherited documentation)

__init__(self)
(Constructor)

source code 
Overrides: gmPlugin.cNotebookPlugin.__init__

name(self)

source code 
Overrides: gmPlugin.cNotebookPlugin.name

MenuInfo(self)

source code 

Return tuple of (menuname, menuitem).

None: no menu entry wanted

Overrides: gmPlugin.cNotebookPlugin.MenuInfo
(inherited documentation)

can_receive_focus(self)

source code 

Called when this plugin is *about to* receive focus.

If None returned from here (or from overriders) the plugin activation will be veto()ed (if it can be).

Overrides: gmPlugin.cNotebookPlugin.can_receive_focus
(inherited documentation)