Re: help with window widgets

2006-11-14 Thread C.R. Kirkwood-Watts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ybisou wrote: > I tried to follow your idea and this is what I did : > >> main() >> { >> // I made ALL widgets necessary for program >> >> // enter while loop to read all values from stdin > unsigned int val; > char buf[5]; > re

Re: help with window widgets

2006-11-14 Thread ybisou
"reparent widget" function, I tried to read about it but I don't get it... Thanks, do you have any idea what could cause this ? -- View this message in context: http://www.nabble.com/help-with-window-widgets-tf2615494.html#a7325351 Sent from the Gtk+ - General mailing list archiv

Re: help with window widgets

2006-11-13 Thread Richard Boaz
ew(NULL, NULL); > gtk_widget_show(text); > gtk_container_add(GTK_CONTAINER(vbox), text); > gtk_text_insert(GTK_TEXT(text), NULL, NULL, NULL, buffer, strlen > (buffer)); > > //Text motif > > fnt=gdk_font_load("-unknown-Arial-normal-r-normal-*-*-650-96-96-p-0- > iso8859-1");

Re: help with window widgets

2006-11-13 Thread ybisou
separator = gtk_hseparator_new (); gtk_box_pack_start (GTK_BOX (vbox), separator, FALSE, TRUE, 5); gtk_widget_show (separator); // some other stuff here } gtk_widget_show_all (window); gtk_main (); close(fd); return 0; } -- View this message in context: http://www.nabble.com/help-w

Re: help with window widgets

2006-11-12 Thread Jean Bréfort
Le samedi 11 novembre 2006 à 20:12 -0800, ybisou a écrit : > 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

help with window widgets

2006-11-12 Thread ybisou
/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-li