"shibu alampatta" 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..
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
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.?
thanks in advance
___