Top |
HdyValueObjectHdyValueObject — An object representing a GValue. |
HdyValueObject *
hdy_value_object_new (const GValue *value
);
Create a new HdyValueObject.
Since: 0.0.8
HdyValueObject * hdy_value_object_new_collect (GType type
,...
);
Creates a new HdyValueObject. This is a convenience method which uses
the G_VALUE_COLLECT()
macro internally.
[skip]
Since: 0.0.8
HdyValueObject *
hdy_value_object_new_string (const gchar *string
);
Creates a new HdyValueObject. This is a convenience method to create a HdyValueObject that stores a string.
[skip]
Since: 0.0.8
HdyValueObject *
hdy_value_object_new_take_string (gchar *string
);
Creates a new HdyValueObject. This is a convenience method to create a HdyValueObject that stores a string taking ownership of it.
[skip]
Since: 0.0.8
const GValue *
hdy_value_object_get_value (HdyValueObject *value
);
Return the contained value.
Since: 0.0.8
void hdy_value_object_copy_value (HdyValueObject *value
,GValue *dest
);
Copy data from the contained GValue into dest
.
Since: 0.0.8
const gchar *
hdy_value_object_get_string (HdyValueObject *value
);
Returns the contained string if the value is of type G_TYPE_STRING.
Since: 0.0.8
gchar *
hdy_value_object_dup_string (HdyValueObject *value
);
Returns a copy of the contained string if the value is of type G_TYPE_STRING.
Since: 0.0.8
“value”
property“value” GValue *
The contained value.
Owner: HdyValueObject
Flags: Read / Write / Construct Only