GtkHeaderBar blocked by ClutterTimeline



Hi all,

I'm a totally newbie in game development. I'm trying to write a game using gtk+ and clutter, i.e. a windowed game. As far as I know, I have to update the logic and the view of my game cyclically. I'm now using a ClutterTimeline object to update both the logic and the view. Also, I've set up a GtkHeaderBar to hold, for now, the close window button. I have observed that when the timeline is playing, I cannot close the window and quit the application from the close button in the GtkHeaderBar. While if I do not use a GtkHeaderBar, I can.

I assume then that due to the timeline playing, the thread is kind of blocked, so it cannot respond to UI events. However, key events are handled; so I would expect that UI events are queued and handled when the thread is idle.

Could you please shade some light?

Thank you very much.

Best regards,
Juan.


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