Re: using lookup_widget
- From: Paul Davis <pbd op net>
- To: ztoon <ztoonifik netcourrier com>
- Cc: Sven Neumann <sven gimp org>, gtk-list gnome org
- Subject: Re: using lookup_widget
- Date: Fri, 21 Jun 2002 12:26:24 -0400
>I messed my explaination, I wanted to say, connect a signal to one widget (ex
>button click) but get access to multiple widgets
>
>for example in a window with 2 clists, (Tlist an PList), when I click a button
> I want to get pointers to both clists in the callback function. The exact thi
>nk i am seraching for sould be a function like gtk_signal_connect_object(GtkOb
>ject,signal,GtkSignalFunc,GTK_OBJECT1,GTK_OBJET2,....etc) you see ?
typedef struct _mything {
MyType1 *thing1;
MyType2 *thing2;
} mything;
mything something;
something.thing1 = some_widget;
something.thing2 = some_other_widget;
gtk_signal_connect (GTK_OBJECT(widget), signal, func, &something);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]