Re: [gtk-list] Re: Effecting more than 1 GTK object when a button is clicked



Thanks, I just stumbled upon that myself (I'm pretty new to C).  
Thank you very much for your help.  

-matt

On Sun, Feb 06, 2000 at 10:17:44PM +0100, Emmanuel DELOGET wrote:
> 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
> > 
> 
> 
> -- 
> 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]