Context
Object Hierarchy:
Description:
public class Context :
Object
Content:
Properties:
Methods:
- public unowned Binding? bind_context_to_property (string source_key, Object target, string target_property, BindingFlags flags = DEFAULT)
Binds a context value to a GObject property.
- public unowned Binding? bind_property_to_context (Object source, string source_property, string target_key, BindingFlags flags = DEFAULT)
Binds a GObject property to a context value.
- public bool get_boolean (string key)
Gets a boolean context value.
- public double get_double (string key)
Gets a double context value.
- public int64 get_int (string key)
Gets a int64 context value.
- public string[] get_keys ()
Returns all registered context keys.
- public ContextObject? get_object (string key)
Gets an object context value.
- public string? get_string (string key)
Gets a string context value.
- public string[] get_strv (string key)
Gets a string-array context value.
- public Value? get_value (string key)
Gets a copy of a registered context value.
- public ContextType get_value_type (string key)
Returns the value type of a registered key.
- public bool has_key (string key)
Checks whether a key is registered.
- public void reset (string key)
Restores a context value to its registered default.
- public void set_boolean (string key, bool value)
Sets a boolean context value.
- public void set_double (string key, double value)
Sets a double context value.
- public void set_int (string key, int64 value)
Sets a int64 context value.
- public void set_object (string key, owned ContextObject value)
Sets an object context value.
- public void set_object_string (string key, owned string value)
Creates and sets an object value from its string representation.
- public void set_string (string key, owned string value)
Sets a string context value.
- public void set_strv (string key, owned string[] value)
Sets a string-array context value.
- public void set_value (string key, owned Value value)
Sets a registered context value.
Signals:
Inherited Members:
All known members inherited from class GLib.Object