ValueObject

Constructors

this
this(HdyValueObject* hdyValueObject, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this(Value value)

Create a new #HdyValueObject.

this
this(string string_)

Creates a new #HdyValueObject. This is a convenience method to create a #HdyValueObject that stores a string.

this
this(string string_)

Creates a new #HdyValueObject. This is a convenience method to create a #HdyValueObject that stores a string taking ownership of it.

Members

Functions

copyValue
void copyValue(Value dest)

Copy data from the contained #GValue into @dest.

dupString
string dupString()

Returns a copy of the contained string if the value is of type #G_TYPE_STRING.

getString
string getString()

Returns the contained string if the value is of type #G_TYPE_STRING.

getStruct
void* getStruct()

the main Gtk struct as a void*

getValue
Value getValue()

Return the contained value.

getValueObjectStruct
HdyValueObject* getValueObjectStruct(bool transferOwnership = false)

Get the main Gtk struct

Static functions

getType
GType getType()

Variables

hdyValueObject
HdyValueObject* hdyValueObject;

the main Gtk struct

Meta