Context
Object Hierarchy:
Description:
public class Context :
Object
Content:
Properties:
- public Mode mode { get; }
Current application mode. Plugins can handle various modes different.
- public bool sandbox { get; construct; }
Whether application run in sandbox mode or not. Plugon should hold it
and not do any changes in system if this is true. Also better not to call system dbus, so application can be run in sandbox
environment e.g. distrobox for test purpose.
Creation methods:
Methods:
- public unowned Binding? bind_context_to_property (string source_key, Object target, string target_property, BindingFlags flags = DEFAULT)
- public unowned Binding? bind_property_to_context (Object source, string source_property, string target_key, BindingFlags flags = DEFAULT)
- public bool get_boolean (string key)
- public double get_double (string key)
- public int64 get_int (string key)
- public string[] get_keys ()
- public ContextObject? get_object (string key)
- public HashTable<string,string> get_raw_string ()
- public string? get_string (string key)
- public string[] get_strv (string key)
- public Value? get_value (string key)
- public ContextType get_value_type (string key)
- public bool has_key (string key)
- public void load_from_keyfile (KeyFile keyfile, string group_name) throws Error
- public void register_vars (string module_name, HashTable<string,ContextVarInfo> vars)
- public void reset (string key)
- public void set_boolean (string key, bool value)
- public void set_double (string key, double value)
- public void set_int (string key, int64 value)
- public void set_object (string key, owned ContextObject value)
- public void set_object_string (string key, owned string value)
- public void set_raw (string key, string value)
- public void set_string (string key, owned string value)
- public void set_strv (string key, owned string[] value)
- public void set_value (string key, owned Value value)
Signals:
Inherited Members:
All known members inherited from class GLib.Object