Re: Displaying intermediate button images.



Rich Burridge wrote:
[...]
What do I need to do to make the intermediate images
appear?

You should read a little of this:
http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-Loop.html

The problem is that you are hijacking the mainloop, in GTK+ programming,
you must let GTK+ operate (and do stuff like; update the display ;-p)...
so that means no `while (1)' and no `sleep (1)', instead; try timeout
functions which will call your desired callback at an interval
(see g_timeout_add on the page mentioned above).

Cheers,
                             -Tristan




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