Re: displaying continuosly in entry widget

2006-02-23 Thread Gus Koppel
"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..

Re: displaying continuosly in entry widget

2006-02-22 Thread John Cupitt
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

displaying continuosly in entry widget

2006-02-22 Thread 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 ___