| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
yapsy.IPlugin.IPlugin --+
|
object --+ |
| |
lib.userparams.ClassPrefs --+
|
object --+ |
| |
debug.debugmixin --+
|
yapsy.plugins.IPeppyPlugin --+
|
KeyboardConf
Loader for keyboard configurations. Keyboard accelerator settings are made in the application configuration file peppy.cfg in the user's configuration directory. In the file, the section KeyboardConf is used to map an action name to its keyboard accelerator. For example: [KeyboardConf] Copy = C-C Open = C-X C-F SaveAs = None Help = default will set the keyboard accelerators for the Copy and Open actions, remove any keyboard accelerator from SaveAs, and use the application's default setting for Help. Additionally, if an action doesn't appear in the KeyboardConf section it will also use the application's default value (which is specified in the source code.)
| Nested Classes | |
|
Inherited from |
| Instance Methods | |||
|
|||
|
Inherited from Inherited from |
|||
| convenience | |||
|---|---|---|---|
|
Inherited from |
|||
| interface | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Class Methods | |
|
Inherited from Inherited from |
| Class Variables | |
valid_platforms =
|
|
default_classprefs = ChoiceParam('key_bindings', valid_platfor
|
|
platform =
|
|
ignore_list =
|
|
classprefs = <peppy.lib.userparams.PrefsProxy object at 0x8ec3
|
|
|
Inherited from Inherited from Inherited from |
|
| Properties | |
|
Inherited from |
| Method Details |
Add any options to the OptionParser instance. If the plugin defines any command line options, add each option to the OptionParser instance passed into this method.
|
Process the results of any command line options of interest. The options dict that results from OptionPorser.parse_args() is passed in to this method, so if the plugin defined any options in addCommandLineOptions, it should process the results here.
|
Give the plugin a chance to revoke a shutdown. Throw an exception to revoke a shutdown. The error message will be displayed to the user.
|
Return list of actions provided by the plugin. Return an iterator containing the list of actions that are provided by this plugin. Actions are defined as subclasses of the SelectAction class in menu.py. They define the menubar, toolbar, and keyboard control commands.
|
| Class Variable Details |
default_classprefs
|
classprefs
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Feb 21 14:51:24 2008 | http://epydoc.sourceforge.net |