Package Gnumed :: Package wxpython :: Package patient :: Module gmCrypto :: Class gmCrypto |
[frames] | no frames]

# Class gmCrypto

source code

     gmPlugin_Patient.BasePlugin --+
                                   |
    gmPlugin_Patient.wxPatientPlugin --+
                                       |
                                      gmCrypto

Plugin to encapsulate the cryptowidget

Instance Methods
name(self) | source code
MenuInfo(self) Return tuple of (menuname, menuitem). | source code
GetIcon(self) Return icon representing page on the toolbar. | source code
GetWidget(self, parent) Return the widget to display. | source code
Inherited from `gmPlugin_Patient.wxPatientPlugin`: `OnTool`, `Raise`, `register`, `unregister` Inherited from `gmPlugin_Patient.BasePlugin`: `GetIconData`, `ReceiveFocus`, `__init__`

Method Details

### name(self) | source code
Overrides: gmPlugin_Patient.BasePlugin.name

### MenuInfo(self) | source code
    Return tuple of (menuname, menuitem).

    menuname can be
            "tools",
            "view",
            "help",
            "file"

    If you return "None" no entry will be placed
    in any menu.
Overrides: gmPlugin_Patient.BasePlugin.MenuInfo (inherited documentation)

### GetIcon(self) | source code
Return icon representing page on the toolbar. This is the default behaviour. GetIconData should return pickled, compressed and escaped string with the icon data. If you want to change the behaviour (because you want to load plugin icons from overseas via a satellite link or something you need to override this function in your plugin (class). Using this standard code also allows us to only import cPickle and zlib here and not in each and every plugin module which should speed up plugin load time :-) Overrides: gmPlugin_Patient.BasePlugin.GetIcon (inherited documentation)

### GetWidget(self, parent) | source code
Return the widget to display. Usually called from register(). The instance returned is the active object for event handling purposes. Overrides: gmPlugin_Patient.BasePlugin.GetWidget (inherited documentation)