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

Source Code for Module Gnumed.wxpython.gui.gmWaitingListPlugin

 1  #===================================================== 
 2  # GNUmed waiting list 
 3  #===================================================== 
 4  __author__ = "Karsten Hilbert <Karsten.Hilbert@gmx.net>" 
 5  __license__ = "GPL" 
 6   
 7  from Gnumed.wxpython import gmPlugin, gmWaitingListWidgets 
 8   
 9  #====================================================================== 
10 -class gmWaitingListPlugin(gmPlugin.cNotebookPlugin):
11 """Plugin to encapsulate the waiting list.""" 12 13 tab_name = _('Waiting list') 14 #--------------------------------------------------------
15 - def __init__(self):
17 #--------------------------------------------------------
18 - def name(self):
20 #--------------------------------------------------------
21 - def GetWidget(self, parent):
22 self._widget = gmWaitingListWidgets.cWaitingListPnl(parent, -1) 23 return self._widget
24 #--------------------------------------------------------
25 - def MenuInfo(self):
26 return ('office', _('&Waiting list'))
27 #--------------------------------------------------------
28 - def can_receive_focus(self):
29 return True
30 #====================================================================== 31