Home | Trees | Index | Help |
|
---|
Package wx :: Class Config |
|
object
--+ |ConfigBase
--+ | Config
This ConfigBase-derived class will use the registry on Windows, and will be a wx.FileConfig on other platforms.
Method Summary | |
---|---|
Config | __init__(self,
appName,
vendorName,
localFilename,
globalFilename,
style)
|
__del__(self)
| |
__repr__(self)
| |
Inherited from ConfigBase | |
ConfigBase |
Create and return a new global config object. (Static method) |
bool |
Delete the whole underlying object (disk file, registry key, ...) primarly intended for use by deinstallation routine. |
bool |
Deletes the specified entry and the group it belongs to if it was the last key in it and the second parameter is True |
bool |
Delete the group (with all subgroups) |
Should Get() try to create a new log object if there isn't a current one? (Static method) | |
bool |
Returns True if either a group or an entry with a given name exists |
String |
Expand any environment variables in str and return the result |
bool |
permanently writes all changes |
ConfigBase |
Returns the current global config object, creating one if neccessary. (Static method) |
String |
|
int |
Get the type of the entry. |
(more, value, index) |
Allows enumerating the entries in the current group in a config object. |
(more, value, index) |
Allows enumerating the subgroups in a config object. |
(more, value, index) |
Allows enumerating the entries in the current group in a config object. |
(more, value, index) |
Allows enumerating the subgroups in a config object. |
size_t |
Get the number of entries in the current group, with or without its subgroups. |
size_t |
Get the number of subgroups in the current group, with or without its subgroups. |
String |
Retrieve the current path (always as absolute path) |
long |
|
String |
|
bool |
Returns True if the entry by this name exists |
bool |
Returns True if the group by this name exists |
bool |
Are we currently expanding environment variables? |
bool |
Are we currently recording default values? |
String |
Returns the value of key if it exists, defaultVal otherwise. |
bool |
Returns the value of key if it exists, defaultVal otherwise. |
double |
Returns the value of key if it exists, defaultVal otherwise. |
long |
Returns the value of key if it exists, defaultVal otherwise. |
bool |
Rename an entry. |
bool |
Rename a group. |
ConfigBase |
Sets the global config object (the one returned by Get) and returns a reference to the previous global config object. (Static method) |
| |
We can automatically expand environment variables in the config entries this option is on by default, you can turn it on/off at any time) | |
Set current path: if the first character is '/', it's the absolute path, otherwise it's a relative path. | |
Set whether the config objec should record default values. | |
| |
| |
bool |
write the value (return True on success) |
bool |
write the value (return True on success) |
bool |
write the value (return True on success) |
bool |
write the value (return True on success) |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... |
Class Variable Summary | |
---|---|
Inherited from ConfigBase | |
int |
Type_Boolean = 2 |
int |
Type_Float = 4 |
int |
Type_Integer = 3 |
int |
Type_String = 1 |
int |
Type_Unknown = 0 |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:41:58 2007 | http://epydoc.sf.net |