Re: [Gnome-bindings] finishing the API guidelines



I have just one comment:

> - 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.

-- 
Per Hedbor                                              http://per.hedbor.org/





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