Class

FwupdPluginConfig

Description

class FwupdPlugin.Config : GObject.Object {
  parent_instance: GObject
}
No description available.

Ancestors

  • GObject

Constructors

fu_config_new

Creates a new FuConfig.

Available since: 1.9.1

Instance methods

fu_config_get_value

Return the value of a key, falling back to the default value if missing.

Available since: 1.9.1

fu_config_get_value_bool

Return the value of a key, falling back to the default value if missing or empty.

Available since: 1.9.1

fu_config_get_value_strv

Return the value of a key, falling back to the default value if missing.

Available since: 1.9.1

fu_config_get_value_u64

Return the value of a key, falling back to the default value if missing or empty.

Available since: 1.9.1

fu_config_load

Loads the configuration files from all possible locations.

Available since: 1.9.1

fu_config_set_default

Sets a default config value.

Available since: 2.0.0

fu_config_set_value

Sets a plugin config value, saving the new data back to the default config file.

Available since: 1.9.1

Signals

FwupdPlugin.Config::changed

The ::changed signal is emitted when the config file has changed, for instance when a parameter has been modified.

FwupdPlugin.Config::loaded

The ::loaded signal is emitted when the config file has loaded, typically at startup.

Class structure

struct FwupdPluginConfigClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.