[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: widget array
- From: "Donna S. Martin" <donna omartin com>
- To: <gtk-app-devel-list redhat com>
- Subject: Re: widget array
- Date: Tue, 19 Oct 1999 08:03:06 -0600
You should be able to pass the address of the array in,
rather that the entire array. This shouldn't be a problem since
the variables in main exist for the duration of the program.
If that is what you are doing, a code snippet would help.
Donna
----- Original Message -----
From: <ksteen@earthlink.net>
To: GTK List <gtk-app-devel-list@redhat.com>
Sent: Monday, October 18, 1999 10:35 PM
Subject: widget array
> Is it possible to set up an array of gtk widgets and pass the array
> to a function with gtk_signal_connect()? I have a window that
> collects information from the user. I would like to pass all the
> widgets in an array to another function that reads and manipulates the
> information. Currently, I am using gtk_object_set_data () and then
> looking up each widget in the called function. That works fine but
> seems like sloppy code. I think that my problem is that a gpointer is a
> void pointer and I am not casting the pointer correctly to acces the
> array. Any help will be greatly appreciated.
>
> Thanks,
> Ken
>
>
> --
> To unsubscribe: mail gtk-app-devel-list-request@redhat.com with
> "unsubscribe" as the Subject.
>
> Mailing list concerns should be mailed to <listmaster@redhat.com>
>
>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]