help with window widgets
- From: ybisou <yanniepa yahoo com>
- To: gtk-list gnome org
- Subject: help with window widgets
- Date: Sat, 11 Nov 2006 20:12:15 -0800 (PST)
Hi,
I'm just starting with GTK+ programming...(linux)
I hope someone could help me with this.
I'm writing a code that should allow me to read a list of int(one at the
time) from a STDIN into my GTK program. The reading is fine but I am trying
to output those numbers into a window. I can ouput the first number but I
can't refresh and ouput the second number or the rest of the numbers.
I'm doing something like this, and the windows only shows the first number.
Please help...
//widgets initializations
while( read(0,&x,strln(x))
{
//widgets setups;
//output x using a widget
gtk_widget_show_all(window);
gtk_main();
}
return 0;
}
--
View this message in context: http://www.nabble.com/help-with-window-widgets-tf2615494.html#a7299682
Sent from the Gtk+ - General mailing list archive at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]