Re: displaying continuosly in entry widget



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 <smalampatta gmail com> 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.........?



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