orca.orca_prefs (version 2064, $Date: 2007-03-12 16:23:35 -0400 (Mon, 12 Mar 2007) $)
index
/usr/lib/python2.5/site-packages/orca/orca_prefs.py

Common utilities to manage the writing of the user preferences file.

 
Modules
       
commands
os
pprint
orca.settings

 
Functions
       
readPreferences()
Returns a dictionary containing the names and values of the
customizable features of Orca.
writePreferences(prefsDict, treeModel=None)
Creates the directory and files to hold user preferences.  Note
that callers of this method may want to consider using an ordered
dictionary so that the keys are output in a deterministic order.
 
Arguments:
- prefsDict: a dictionary where the keys are orca preferences
names and the values are the values for the preferences.
 
Returns True if accessibility was enabled as a result of this
call.

 
Data
        DESCRIP = 1
EDITABLE = 11
HANDLER = 0
KEY1 = 4
KEY2 = 8
MODIF = 10
MOD_MASK1 = 2
MOD_MASK2 = 6
MOD_USED1 = 3
MOD_USED2 = 7
TEXT1 = 5
TEXT2 = 9
__copyright__ = 'Copyright (c) 2005-2007 Sun Microsystems Inc.'
__date__ = '$Date: 2007-03-12 16:23:35 -0400 (Mon, 12 Mar 2007) $'
__id__ = '$Id: orca.orca_prefs.html 5086 2007-03-12 20:23:35Z wwalker $'
__license__ = 'LGPL'
__version__ = '$Revision: 5086 $'