| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
debug.debugmixin --+
|
actions.SelectAction --+
|
InsertHelloWorld
Simple example of an action that modifies the buffer
This is an action that depends on the current buffer being a text file, and inserts the string "Hello, world" into the text at the current position
| Instance Methods | |||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Class Methods | |||
|
|||
|
Inherited from Inherited from |
|||
| Class Variables | |
alias = This alias holds an emacs style name that is used during M-X processing. |
|
name = This is the name of the menu entry as it appears in the menu bar. |
|
tooltip = Tooltip that is displayed when the mouse is hovering over the menu entry. |
|
icon = NoneIf there is an icon associated with this action, name it here. |
|
default_menu = The default menu location is specified here as a tuple containing the menu path (separated by / characters) and a number between 1 and 1000 representing the position within the menu. |
|
key_bindings = Map of platform to default keybinding. |
|
|
Inherited from Inherited from |
|
| Properties | |
|
Inherited from |
| Method Details |
This action requires that we're editing using something with the ability to insert a string.
|
Override this to provide the enable/disable state of the item. The menu system will call this method before the menu is drawn (or periodically during idle time for toolbar items) to determine whether or not the item should be disabled (grayed out). Default is to always enable the item.
|
Override this to provide the functionality of the action. This method gets called when the user initiates the action, whether it be from the menu bar, toolbar, or keyboard.
|
| Class Variable Details |
tooltipTooltip that is displayed when the mouse is hovering over the menu entry. If the tooltip is None, the tooltip is taken from the first line of the docstring, if it exists.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Feb 21 14:51:27 2008 |