Re: Arguments in GObject-based object constructor
- From: Tristan Van Berkom <tvb gnome org>
- To: Jacob Kroon <jacob kroon gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Arguments in GObject-based object constructor
- Date: Mon, 30 May 2005 19:13:59 -0400
Jacob Kroon wrote:
[...]
What does it mean by "delay initialization completion until the property
is set" ?
You can override the "constructor" in your class_init function
see: le-hacker.org/papers/gobject/
and read about the constructor, it is important that you chain up
to the real gobject constructor in your constructor, after the
real constructor returns, your my_instance_init() function will
have been called and all construct properties will have been
applied.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]