ValueObject
Object Hierarchy:
Description:
[
CCode ( type_id =
"hdy_value_object_get_type ()" ) ]
[
Version ( since =
"1.0" ) ]
public class ValueObject :
Object
An object representing a [struct@GObject.
Value].
The `HdyValueObject` object represents a [struct@GObject.Value], allowing it to be used with [iface@Gio.ListModel].
Content:
Properties:
- public Value value { get; construct; }
The contained value.
Creation methods:
Methods:
- public void copy_value (Value dest)
Copy data from the contained [struct@GObject.
- public string dup_string ()
Gets a copy of the contained string if the value is of type
`G_TYPE_STRING`.
- public unowned string get_string ()
Returns the contained string if the value is of type `G_TYPE_STRING`.
- public unowned Value? get_value ()
Return the contained value.
Inherited Members:
All known members inherited from class GLib.Object