Arguments in GObject-based object constructor

2005-05-30 Thread Jacob Kroon
Lets say I've written an abstract class Foo (a class that is not supposed to be instantiated), and a class that inherits from Foo called Bar, which is instantiable. Foo takes 2 constructor arguments/properties x and y. Bar:s constructor takes the samt arguments. In order to initialize some of

Re: Arguments in GObject-based object constructor

2005-05-30 Thread Tristan Van Berkom
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

Re: Arguments in GObject-based object constructor

2005-05-30 Thread Roger Leigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jacob Kroon [EMAIL PROTECTED] writes: Lets say I've written an abstract class Foo (a class that is not supposed to be instantiated), and a class that inherits from Foo called Bar, which is instantiable. Foo takes 2 constructor