using properties in gobject instance_init
- From: Steve Feehan <sfeehan sbb uvm edu>
- To: gtk-list gnome org
- Subject: using properties in gobject instance_init
- Date: Thu, 8 Jul 2004 16:42:28 -0400
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]