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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref