Driver class for key processing.
Takes multiple keymaps and looks at them in order, first the minor
modes, then the local, and finally if nothing matches, the global key
maps.
|
|
__init__(self,
status=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
|
|
|
fixmaps(self)
set up the search order of keymaps |
|
|
|
|
addMinorKeyMap(self,
keymap)
Add the keymap to the list of keymaps recognized by this processor. |
|
|
|
|
|
|
|
| setGlobalKeyMap(self,
keymap) |
|
|
|
|
|
|
|
| setLocalKeyMap(self,
keymap) |
|
|
|
|
|
|
|
decode(self,
evt)
Raw event processor that takes the keycode and produces a string that
describes the key pressed. |
|
|
|
|
reset(self)
reset the lookup table to the root in each keymap. |
|
|
|
|
show(self,
text)
Display the current keystroke processing in the status area |
|
|
|
|
add(self,
key)
Attempt to add this keystroke by processing all keymaps in parallel
and stop at the first complete match. |
|
|
|
|
startArgument(self,
key=None)
This starts the emacs-style numeric arguments that are ended by the
first non-numeric keystroke |
|
|
|
|
getNumber(self,
key,
musthavectrl=False)
Helper function to decode a numeric argument keystroke. |
|
|
|
|
argument(self,
key)
Process a numeric keystroke |
|
|
|
|
process(self,
evt)
The main driver routine. |
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|