Re: GTK Action Handler



dhk wrote:
How can I reuse these callbacks?

Use user_function( GtkWidget *widget, gpointer data ) instead of explicitly setting a class. Then cast widget as whatever you need, eg.: GTK_BUTTON( widget ) inside of your callback.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]