Does Glib::usleep work on GUI (Gtkmm) app?



Hi all,

I have a Gtkmm app that requires SLEEP command to display a sequence of images (Cairo Context).

I called Glib::usleep(1000) and expected a one-second delay but nothing. Tried higher number (3000, 5000), still nothing.

Btw, I'm currently working on Windows.

Regards.


Mj Mendoza IV,
Developer, KonsolScript
http://www.konsolscript.org

Developer, Clash
http://geesas.sourceforge.net/clash


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