help with window widgets

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

 



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.

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux