Re: [gtk-list] Effecting more than 1 GTK object when a button is clicked
- From: "Emmanuel DELOGET" <logout free fr>
- To: <gtk-list redhat com>
- Subject: Re: [gtk-list] Effecting more than 1 GTK object when a button is clicked
- Date: Sun, 6 Feb 2000 22:17:44 +0100
From: Matthew Cordes <mcorde61@maine.edu>
> Am I correct in assuming that if I want a button click to grab data from
> a number of GkEntry boxes, then display the output on a GtkText widget
> and have the Window created in a separate file from my callbacks (and
> main) I need to make the widgets global throughout the files via extern?
> Or is it possible to pass a number of objects via a callback? Or is there
> some sort of central table of all widgets I create that I can access by
> name?
You can create a structure that contains all the pointers to
your GtkEntry and then pass the structure as the data
argument of the connect function.
Hope it helps,
Emmanuel
> Can anyone offer some suggestions or point me in the right direction?
>
> -matthew cordes
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]