| | |
- abort(exitCode=1)
- abortOnSignal(signum, frame)
- cycleDebugLevel(script=None, inputEvent=None)
- init(registry)
- Initialize the orca module, which initializes speech, braille,
and mag modules. Also builds up the application list, registers
for AT-SPI events, and creates scripts for all known applications.
Returns True if the initialization procedure has run, or False if this
module has already been initialized.
- loadUserSettings(script=None, inputEvent=None)
- Loads (and reloads) the user settings module, reinitializing
things such as speech if necessary.
Returns True to indicate the input event has been consumed.
- main()
- The main entry point for Orca. The exit codes for Orca will
loosely be based on signals, where the exit code will be the
signal used to terminate Orca (if a signal was used). Otherwise,
an exit code of 0 means normal completion and an exit code of 50
means Orca exited because of a hang.
- printActiveApp(script=None, inputEvent=None)
- Prints the currently active application.
- printAncestry(script=None, inputEvent=None)
- Prints the ancestry for the current locusOfFocus
- printApps(script=None, inputEvent=None)
- Prints a list of all applications to stdout.
- printHierarchy(script=None, inputEvent=None)
- Prints the application for the current locusOfFocus
- setLocusOfFocus(event, obj, notifyPresentationManager=True)
- Sets the locus of focus (i.e., the object with visual focus) and
notifies the current presentation manager of the change.
Arguments:
- event: if not None, the Event that caused this to happen
- obj: the Accessible with the new locus of focus.
- notifyPresentationManager: if True, propagate this event
- shutdown(script=None, inputEvent=None)
- Exits Orca. Unregisters any event listeners and cleans up. Also
quits the bonobo main loop and resets the initialized state to False.
Returns True if the shutdown procedure ran or False if this module
was never initialized.
- shutdownOnSignal(signum, frame)
- start(registry)
- Starts Orca.
- timeout(signum=None, frame=None)
- toggleKeystrokeRecording(script=None, inputEvent=None)
- Toggles the recording of keystrokes on and off. When the
user presses the magic key (Pause), Orca will pop up a window
requesting a filename. When the user presses the close button,
Orca will start recording keystrokes to the file and will continue
recording them until the user presses the magic key again.
This functionality is used primarily to help gather keystroke
information for regression testing purposes. The keystrokes are
recorded in such a way that they can be played back via the
src/tools/play_keystrokes.py utility.
Arguments:
- inputEvent: the key event (if any) which caused this to be called.
Returns True indicating the event should be consumed.
- usage()
- Prints out usage information.
- visualAppearanceChanged(event, obj)
- Called (typically by scripts) when the visual appearance of an object
changes and notifies the current presentation manager of the change. This
method should not be called for objects whose visual appearance changes
solely because of focus -- setLocusOfFocus is used for that. Instead, it
is intended mostly for objects whose notional 'value' has changed, such as
a checkbox changing state, a progress bar advancing, a slider moving, text
inserted, caret moved, etc.
Arguments:
- event: if not None, the Event that caused this to happen
- obj: the Accessible whose visual appearance changed.
|