Settings
Object Hierarchy:
Description:
[
CCode ( type_id =
"xdp_settings_get_type ()" ) ]
public class Settings :
Object
A representation of the settings exposed by the portal.
The [class@Settings] object is used to access and observe the settings exposed by xdg-desktop-portal.
It is obtained from [method@Portal.get_settings]. Call [method@Settings.read_value] to read a settings value. Connect to [
signal@Settings:XdpSettings:changed] to observe value changes.
Content:
Creation methods:
Methods:
- public Variant read_all_values (string namespaces, Cancellable? cancellable = null) throws Error
Read all the setting values within namespace.
- public string read_string (string namespace_, string key, Cancellable? cancellable = null) throws Error
Read a setting value as unsigned int within namespace_,
with key.
- public uint read_uint (string namespace_, string key, Cancellable? cancellable = null) throws Error
Read a setting value as unsigned int within namespace_,
with key.
- public Variant read_value (string namespace_, string key, Cancellable? cancellable = null) throws Error
Read a setting value within namespace_, with key
.
Signals:
Inherited Members:
All known members inherited from class GLib.Object