Subclass a GtkWidget

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Subclass a GtkWidget

MrGwen
Hi Paolo,

I would like (not now) to allow the developper to subclass a GtkWidget. Here
is my idea for each GtkWidget we subclass it (from the C world) and in the C
structure add a pointer on the instance of the Smalltalk object. Subclass each
GTK methods and call the related smalltalk method (which only call the
primitive).

Is it correct for you ? Is it possible to reuse the c parser and create all
the stuffs with it ?

Cheers,
Gwenael

--

GtkLauncher for GNU Smalltalk : http://gtklauncher.bioskop.fr/


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk