[9356] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Using C++ with Gtk

daemon@ATHENA.MIT.EDU (Stephen Molitor)
Fri Oct 16 15:36:33 1998

From: smolitor@insight-tech.com (Stephen Molitor)
To: <gtk-list@redhat.com>
Date: Fri, 16 Oct 1998 14:35:01 -0500
In-Reply-To: <19981016130636.F5124@linux.ataman.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Is anyone out there coding in Gtk (not Gtk--), using C++?  I'm thinking of
the approach described in the book "Object Oriented Programming with C++ and
Motif," by Young.  Instead of creating a complete C++ wrapper around Motif,
Young describes how to create C++ components that encapsulate large chunks
of Motif C code and widgets.  For example, one could create a tic-tac-toe
board component (C++ class) that would encapsulate a bunch of Motif widgets
(usually as a single-rooted widget tree).

I'm not describing this very well, but if you've read the book you'll know
what I mean.  So is anyone doing something similar with C++ and Gtk, and do
they have any pointers?  Again, I'm aware of Gtk--, but that's not what I'm
asking about

Steve Molitor
smolitor@insight-tech.com

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post