Hi, you need a timeout rather than sleep(). Sleep will make your whole program (including screen repaint) stop for 3 seconds. A timeout will let your repaint continue while you wait.
http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-Loop.html#id3076251 J On 2/22/06, shibu alampatta <[EMAIL PROTECTED]> wrote: > On pressing a button i wanted a list of text to be displayed on entry > widget, on after the other ( in a for loop), with some delay, say > sleep(3). but the problem is the last text only getting visible. if i > increase the sleep argument then also the same. any help.........? _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list