Constants for callback, event names?
- From: smolitor insight-tech com (Stephen Molitor)
- To: <gtk-list redhat com>
- Subject: Constants for callback, event names?
- Date: Wed, 28 Oct 1998 10:07:20 -0600
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]