ST3
add_on_change(key, on_change)
# =>
None
Register a callback to be run whenever a setting in this object is changed.
clear_on_change(key)
# =>
None
Remove all callbacks registered with the given key.
clear_on_change(key)
# =>
None
Remove all callbacks registered with the given key.
erase(name)
# =>
None
Removes the named setting. Does not remove it from any parent Settings.
get(name)
# =>
value
Returns the named setting.
get(name, default)
# =>
value
Returns the named setting, or default if it's not defined.
Returns the named setting, or default if it's not defined. If not passed, default will have a value of None.
has(name)
# =>
bool
Returns true iff the named option exists in this set of Settings or one of its parents.
has(name)
# =>
bool
Returns True iff the named option exists in this set of Settings or one of its parents.
set(name, value)
# =>
None
Sets the named setting. Only primitive types, lists, and dictionaries are accepted.
set(name, value)
# =>
None
Sets the named setting. Only primitive types, lists, and dicts are accepted.
Generated from the official documentation on Sat Oct 29 20:16:46 EEST 2016 by Leonid Shevtsov.