[9611] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Constants for callback, event names?
daemon@ATHENA.MIT.EDU (Stephen Molitor)
Wed Oct 28 11:09:08 1998
From: smolitor@insight-tech.com (Stephen Molitor)
To: <gtk-list@redhat.com>
Date: Wed, 28 Oct 1998 10:07:20 -0600
In-Reply-To: <19981028210859.A25811@cytec.net.au>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
This is a newbie question.
Are there any constants defined for callback, event names, etc?
In other words, instead of :
gtk_signal_connect(GTK_OBJECT(my_widget), "desrtoy"); // whoops! run time
error!
something like this:
const char* DESTROY; // defined somewhere
gtk_signal_connect(GTK_OBJECT(my_widget), DESRTOY); // compile time error
Thanks
Steve Molitor
smolitor@insight-tech.com
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null