Re: [Gnome-bindings] finishing the API guidelines
- From: Guillaume Laurent <glaurent telegraph-road org>
- To: gnome-bindings helixcode com
- Subject: Re: [Gnome-bindings] finishing the API guidelines
- Date: 24 Apr 2000 01:00:37 +0200
Per Hedbor <per idonex se> writes:
> > - the gtk_foo_new() (or gnome_foo_new()) call should just call
> > gtk_type_new(). If more initialisation needs to be done, the ptr
> > should be passed to a gtk_foo_configure() call.
>
> This would break Pike-GTK quite spectacularly. :-)
>
> I do not use the _type_new/_configure paradigm, instead I wrap the
> _new functions to the constructors in pike.
This is strictly equivalent, I need to rephrase the above. The
gnome_foo_new() call would of course call gnome_foo_configure(). There
would be no change of functionality.
--
Guillaume.
http://www.telegraph-road.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]