Re: [Gnome-bindings] finishing the API guidelines

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.


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