1
""" Package-scope globals.
3
The default preferences node is currently used by 'PreferencesHelper' and
4
'PreferencesBinding' instances if no specific preferences node is set. This
5
makes it easy for them to access the root node of an application-wide
11
# The default preferences node.
12
_default_preferences = None
14
def get_default_preferences():
15
""" Get the default preferences node. """
17
return _default_preferences
19
def set_default_preferences(default_preferences):
20
""" Set the default preferences node. """
22
global _default_preferences
24
_default_preferences = default_preferences
27
return _default_preferences
29
#### EOF ######################################################################