[Glade-users] interface.c
Damon Chaplin
damon@helixcode.com
Fri, 03 Nov 2000 13:15:58 +0000
James Cameron wrote:
>
> Ronaldo Nascimento wrote:
> > now that i have all these widgets in local vars,
> > how do I access them in functions in callbacks.c
> > do I have to code a whole bunch of globals?
>
> Thank you for asking. This is a frequently asked question ... and the
> answer is to use the lookup_widget() function provided by Glade in
> support.c.
>
> Damon: too many people are asking this. I see from http://glade.pn.org/
> that a FAQ was added to the help menu in 0.5.8, but I can't see it in
> 0.5.11.
It only appears in the Gnome version.
I suppose we should try to add it to the GTK+ version.
> My suggestions are:
> - add the FAQ to http://glade.pn.org/
> - next version, add comments to initial callbacks.c code
Yes, we need to do something like this.
Damon