[10383] in The GTK GIMP ToolKit mailing list archive

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

[gtk-list] Re: Help: Registering C++ Callback

daemon@ATHENA.MIT.EDU (Tom Bech)
Tue Nov 24 11:50:19 1998

Date: Tue, 24 Nov 1998 16:41:34 +0000
From: Tom Bech <tomb@ii.uib.no>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

"Jay J. Williams" wrote:
[snip]
> class's data members:( Does this appear to be an error on my part or is
> there something special I should be doing in order to use C++ callbacks
> with gtk+?
> 

Yes. You should avoid the usual tedious static-member approach entirely and 
use gtk+'s c++ bindings gtk--: http://lazy.ton.tut.fi/gtk--/gtk--.html instead.

Tom

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


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