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



Actually, according to the tutorial, the function is supposed to have only one
parameter, an GtkObject.  Then again, maybe that is wrong.

Regards, Alex


On Thu, 23 Jul 1998, Jan Sochman wrote:
>> 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
>
>-- 
>To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



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