Setting
Object Hierarchy:
Description:
[
CCode ( type_id =
"nm_setting_get_type ()" ) ]
public abstract class Setting :
Object
Content:
Constants:
Properties:
Static methods:
Creation methods:
Methods:
- public bool compare (Setting b, SettingCompareFlags flags)
Compares two Setting objects for
similarity, with comparison behavior modified by a set of flags.
- public bool diff (Setting b, SettingCompareFlags flags, bool invert_results, ref HashTable<string,uint32> results)
Compares two Setting objects for
similarity, with comparison behavior modified by a set of flags.
- public Setting duplicate ()
Duplicates a Setting.
- public void enumerate_values (SettingValueIterFn func)
Iterates over each property of the
Setting object, calling the supplied user function for each property.
- public unowned VariantType get_dbus_property_type (string property_name)
Gets the D-Bus marshalling type of a property.
- public unowned string get_name ()
Returns the type name of the Setting
object
- public bool get_secret_flags (string secret_name, SettingSecretFlags out_flags) throws Error
For a given secret, retrieves the
SettingSecretFlags describing how to handle that secret.
- public void option_clear_by_name (UtilsPredicateStr? predicate)
- public unowned Variant option_get (string opt_name)
- public unowned string[]? option_get_all_names ()
Gives the name of all set options.
- public bool option_get_boolean (string opt_name, out bool out_value)
- public bool option_get_uint32 (string opt_name, out uint32 out_value)
- public void option_set (string opt_name, Variant? variant)
If variant is null,
this clears the option if it is set.
- public void option_set_boolean (string opt_name, bool value)
- public void option_set_uint32 (string opt_name, uint32 value)
- public bool set_secret_flags (string secret_name, SettingSecretFlags flags) throws Error
- public string to_string ()
Convert the setting (including secrets!) into a string.
- public bool verify (Connection? connection) throws Error
Validates the setting.
- public bool verify_secrets (Connection? connection) throws Error
Verifies the secrets in the setting.
Inherited Members:
All known members inherited from class GLib.Object