[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: newbie question
- From: frederico schardong <frede sch gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: newbie question
- Date: Wed, 11 Mar 2009 09:28:19 -0300
>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) {
>
> ...
>}
>
>
>http://library.gnome.org/devel/gtk/unstable/GtkButton.html
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
function..
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]