| Trees | Indices | Help |
|---|
|
|
object --+
|
GlobalGestureMap
Maps gestures to scripts anywhere in NVDA. This is used to allow users and locales to bind gestures in addition to those bound by individual scriptable objects. Map entries will most often be loaded from a file using the load method. See that method for details of the file format.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| generator of (class, str) |
|
||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Constructor.
|
Add a gesture mapping.
|
Load map entries from a file. The file is an ini file. Each section contains entries for a particular scriptable object class. The section name must be the full Python module and class name. The key of each entry is the script name and the value is a comma separated list of one or more gestures. If the script name is "None", the gesture will be unbound for this class. For example, the following binds the "a" key to move to the next heading in virtual buffers and removes the default "h" binding:
[virtualBuffers.VirtualBuffer]
nextHeading = kb:a
None = kb:h
|
Add multiple map entries.
{
"virtualBuffers.VirtualBuffer": {
"nextHeading": "kb:a",
None: "kb:h",
}
}
|
Get the scripts associated with a particular gesture.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Fri Nov 18 17:45:58 2011 | http://epydoc.sourceforge.net |