init_from_instance
Description:
[ Version ( since = "2.42" ) ]
public void init_from_instance (void* instance)
public void init_from_instance (void* instance)
Initializes and sets this from an instantiatable type via the value_table's collect_value
function.
Note: The this will be initialised with the exact type of instance
. If you wish to set the
this's type to a different GType (such as a parent class GType), you need to manually call
Value and
set_instance.
Parameters:
this |
An uninitialized Value structure. |
instance |
the instance |