[Glade-users] (no subject)



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]