Re: [gtk-list] Having a GtkWidget passed to a callback as an argument



> Hi !
> I'd like to pass a GtkWidget *wid as an argument of a callback.
> I tried but I do not retreive what I wanted in the callback.
> How can I do that ?
> Please !

Use gtk_signal_connect_object where the last parametr is your widget. Your
callback function should then have two parameters: GtkWidgets. Second one
is your widget.

					Jen~a



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