1.1.4. config

1.1.4.1. class Config

Config.__init__()
Set config path and load it.
Config.valid_attributes(plugin)

Search all valid (config-able) attributes into instance.

plugin: Plugin instance.
RETURNS: String list with attribute names.
Config.push_from_plugin(plugin)

Warning

no doctring or additional documentation, too bad.

Config.push_from_all_plugins()

Warning

no doctring or additional documentation, too bad.

Config.push_to_plugin(plugin)

Warning

no doctring or additional documentation, too bad.

Config.save()
Export current config to hard-drive
Config.get(section, option)

Get a string from config rule.

section: Config rule group.
option: Config rule name.
Config.getint(section, option)

Get an int from config rule.

section: Config rule group.
option: Config rule name.
Config.set(section, option, value)

Set an string in config rule.

section: Config rule group.
option: Config rule name.
value: New value to set.
Config.options(section)

Returns a list of options available in the specified section.

section: Config rule group.

Table Of Contents

Previous topic

1.1.3. color

Next topic

1.1.5. convert

This Page