On Friday 13 October 2006 00:26, Nickolai Dobrynin wrote: > Hi! > > Are there any well-known C++ applications that use GTK+ behind the scenes? > Any links to those? > > For some reason, I'm having rough time wrapping GTK+ in C++ in a way that > makes the life span of the > wrapping object equal to that of the underlying GTK instance. Are there, > possibly, any tutorials on how to > do that with some useful guidelines, caveats, etc.?
I suggest you look at the window.cpp/h, widget.cpp/h and gobj_handle.h files at http://efax-gtk.cvs.sourceforge.net/efax-gtk/efax-gtk/src/utils/ , which includes its own documentation. The WinBase class in window.cpp/h will align the lifetime of a top-level widget to the lifetime of the C++ object concerned. Chris _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list