gtk and timer events



Hello, I am new to gtk and I need to port an application to it. However, there is one thing that I noticed right off of the bat.

It seems there is no timer event. Like in other widget tool kits where you create a timer associated with a window ID and give it a timeout value. When it times out it generates a timer event to that window.

If there is no timeout event, how do apps that "move" objects across a screen, like a game, do so while still entering the event loop to wait for user/system inputs?

Have I just overlooked it or isit just not there?

tj






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