orca.orca_console_prefs (version 1945, $Date$)
index
/usr/lib/python2.5/site-packages/orca/orca_console_prefs.py

Uses speech prompts and a command line interface to set Orca
user preferences.

 
Modules
       
orca.acss
gtk
orca.orca_prefs
orca.platform
orca.settings
orca.speech
orca.speechserver
time

 
Functions
       
logoutUser()
Automatically log the user out of the GNOME desktop.
main()
sayAndPrint(text, stop=False, getInput=False, speechServer=None, acss=None)
Prints the given text.  In addition, if the text field
is not None, speaks the given text, optionally interrupting
anything currently being spoken.
 
Arguments:
- text: the text to print and speak
- stop: if True, interrupt any speech currently being spoken
- getInput: if True, elicits raw input from the user and returns it
- speechServer: the speech server to use
- acss: the ACSS to use for speaking
 
Returns raw input from the user if getInput is True.
setupSpeech(prefsDict)
Sets up speech support.  If speech setup is successful and the
user wants it, writes speech settings to the setting file and returns
True.  If speech is not available, or the user doesn't want speech,
returns False.
showPreferencesUI()
Uses the console to query the user for Orca preferences.

 
Data
        __copyright__ = 'Copyright (c) 2005-2006 Sun Microsystems Inc.'
__date__ = '$Date$'
__id__ = '$Id$'
__license__ = 'LGPL'
__version__ = '$Revision$'
desktopRunning = True
speechServerChoice = None
speechVoiceChoice = None
workingFactories = []