Re: newbie question

void my_callback_function (GtkButton *widget, gpointer user_ptr);


g_signal_connect( G_OBJECT( widget), "clicked",
      G_CALLBACK( my_callback_function), user_ptr );

void my_callback_function (GtkButton *widget, gpointer user_ptr) {


but how I can pass to my_callback_function the gtk_drawing_area? I
know about the g_signal_connect.. but I not know how pass another
widget,         without the widget being passed the first parameter of

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