| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
lib.userparams.ClassPrefs --+
|
object --+ |
| |
debug.debugmixin --+
|
MinorMode
Mixin class for all minor modes. A minor mode should generally be a subclass of wx.Window (windowless minor modes are coming in the future). Minor modes may also have associated with them: * menu, toolbar items -- by associating a check for the existence of the minor mode in the actions's worksWithMajorMode classmethod * status buttons in the frame's statusbar (ala Mozilla) - not implemented yet, but it's coming.
| Nested Classes | |
|
Inherited from |
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Class Methods | |||
|
|||
|
|||
|
Inherited from |
|||
| Class Variables | |
classprefs = <peppy.lib.userparams.PrefsProxy object at 0x4305
|
|
default_classprefs = IntParam('best_width', 100, 'Desired widt
|
|
keyword =
|
|
|
Inherited from Inherited from |
|
| Properties | |
|
Inherited from |
| Method Details |
Classes using this mixin should call this method, or at least save the major mode.
|
Hook to clean up any resources before anything else is deleted. This hook is called whether or not the minor mode has a window. |
Convenience method to create an AuiPaneInfo object. AuiPaneInfo objects are used by the BufferFrame to position the new subwindow within the managed area of the major mode. This hooks into the class settings (through the MinorMode's subclassing of ClassSettings) to allow the user to specify the initial size of the minor mode.
|
Hook for minor modes that don't need any user inteface elements. Rather than overriding __init__, if you don't need to create any windows, you can override this method to register whatever you need to for your minor mode. |
| Class Variable Details |
classprefs
|
default_classprefs
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Feb 21 14:51:20 2008 | http://epydoc.sourceforge.net |