using properties in gobject instance_init



I hope this is the correct forum for this question...

For example, the object is created:

    g_object_new(FOO_TYPE, "name", "Steve", NULL);

In the instance_init function for type Foo I would like to use
this property. But it appears that the set_property function
is called after instance_init.

Is this correct? If so, how can I use properties when
constructing the object?

Thanks.

-- 
Steve Feehan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]