Some days ago there was a discussion about lookup_widget, but you didn'd get a conclusion, did you?
Ok i've got the same problem:
I need to refer a text entry in another function but the interface.c, called envia.c
in envia.c i wrote the next code:
#include main.h
#. (the others , support, interface.....)
#.
.
GtkWidget cuadro;
(..)
cuadro=lookup_widget(window1,window1/text2);
Where window1 is the main window of the application, and has been moved from main.c to main.h, so i can use it from envia.c
But the compiler complains: text2: undeclared variable.
Anybody has an idea?????
thanks
montse