Re: [gtk-list] Having a GtkWidget passed to a callback as an argument
- From: Jan Sochman <jena artax karlin mff cuni cz>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Having a GtkWidget passed to a callback as an argument
- Date: Thu, 23 Jul 1998 09:48:42 +0200 (MET DST)
> 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]