ObjectG.getProperty

Gets a property of an object. value must have been initialized to the expected type of the property (or a type to which the expected type can be transformed) using Value.init.

In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling Value.unset.

Note that g_object_get_property() is really intended for language bindings, g_object_get() is much more convenient for C programming.

class ObjectG
void
getProperty

Parameters

propertyName
Type: string

the name of the property to get

value
Type: Value

return location for the property value

Meta