[Glade-users] (no subject)

Damon Chaplin damon@ximian.com
Fri, 23 Feb 2001 12:33:09 -0500


Juan Valls wrote:
> 
>  Dear all,
> 
>  I would like to know how to include the user input text entered
>  on a widget text box into a variable in a C program.

You can use the lookup_widget() function that Glade provides to get
a pointer to the widget, and then get the text from the widget using
standard GTK+ calls.
 
>  I would like to know also hoe to draw a function or some data
>  generated in C code into a drawing widget.

See the scribble example included with GTK+.

Damon