Public Member Functions | |
| def | __init__ |
| def | directory |
| def | remove_all |
| def | add_string |
| def | add_strings |
| def | add_int |
| def | add_ints |
| def | add_bool |
| def | add_bools |
| def | get_string |
| def | get_strings |
| def | get_int |
| def | get_ints |
| def | get_bool |
| def | get_bools |
| def | set_string |
| def | set_strings |
| def | set_int |
| def | set_ints |
| def | set_bool |
| def | set_bools |
| def | unset |
A handle for accessing settings under a particular GConf directory. When registering a callback, it will be called immediately with the current value of the associated variable. The correct set/get/add method needs to be used depending on the type of the target variable.
Definition at line 13 of file config.py.
| def encode.config.Directory.__init__ | ( | self, | ||
| name | ||||
| ) |
| def encode.config.Directory.add_bool | ( | self, | ||
| name, | ||||
| callback | ||||
| ) |
| def encode.config.Directory.add_bools | ( | self, | ||
| name, | ||||
| callback | ||||
| ) |
| def encode.config.Directory.add_int | ( | self, | ||
| name, | ||||
| callback | ||||
| ) |
| def encode.config.Directory.add_ints | ( | self, | ||
| name, | ||||
| callback | ||||
| ) |
| def encode.config.Directory.add_string | ( | self, | ||
| name, | ||||
| callback | ||||
| ) |
| def encode.config.Directory.add_strings | ( | self, | ||
| name, | ||||
| callback | ||||
| ) |
| def encode.config.Directory.directory | ( | self, | ||
| name | ||||
| ) |
| def encode.config.Directory.get_bool | ( | self, | ||
| name, | ||||
default = None | ||||
| ) |
| def encode.config.Directory.get_bools | ( | self, | ||
| name, | ||||
default = None | ||||
| ) |
| def encode.config.Directory.get_int | ( | self, | ||
| name, | ||||
default = None | ||||
| ) |
| def encode.config.Directory.get_ints | ( | self, | ||
| name, | ||||
default = None | ||||
| ) |
| def encode.config.Directory.get_string | ( | self, | ||
| name, | ||||
default = None | ||||
| ) |
| def encode.config.Directory.get_strings | ( | self, | ||
| name, | ||||
default = None | ||||
| ) |
| def encode.config.Directory.remove_all | ( | self | ) |
| def encode.config.Directory.set_bool | ( | self, | ||
| name, | ||||
| value | ||||
| ) |
| def encode.config.Directory.set_bools | ( | self, | ||
| name, | ||||
| values | ||||
| ) |
| def encode.config.Directory.set_int | ( | self, | ||
| name, | ||||
| value | ||||
| ) |
| def encode.config.Directory.set_ints | ( | self, | ||
| name, | ||||
| values | ||||
| ) |
| def encode.config.Directory.set_string | ( | self, | ||
| name, | ||||
| value | ||||
| ) |
| def encode.config.Directory.set_strings | ( | self, | ||
| name, | ||||
| values | ||||
| ) |
| def encode.config.Directory.unset | ( | self, | ||
| name | ||||
| ) |
1.4.7