Constants for callback, event names?



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]