Home | Trees | Indices | Help |
|
---|
|
Base class for all plugins providing wxPython widgets.
Plugins must have a class descending of this class in their file, which MUST HAVE THE SAME NAME AS THE FILE.
The file must be in a directory which is loaded by LoadPluginSet (gui/ for the moment, others may be added for different plugin types)
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Method Details |
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 :-) |
Return the widget to display. Usually called from register(). The instance returned is the active object for event handling purposes. |
Return tuple of (menuname, menuitem). menuname can be "tools", "view", "help", "file" If you return "None" no entry will be placed in any menu. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Aug 3 03:56:08 2013 | http://epydoc.sourceforge.net |