apptools.preferences.package_globals module

Package-scope globals.

The default preferences node is currently used by ‘PreferencesHelper’ and ‘PreferencesBinding’ instances if no specific preferences node is set. This makes it easy for them to access the root node of an application-wide preferences hierarchy.

apptools.preferences.package_globals.get_default_preferences()[source]

Get the default preferences node.

apptools.preferences.package_globals.set_default_preferences(default_preferences)[source]

Set the default preferences node.