getting input each frame

Hello, I have been developing an app using GTK to make the interface. The
problem I'm facing is that the program needs to check for input each frame
and based on that it needs to alter a few objects such as labels, however, I
don't know how to check for external input because If I would say make an
infinite loop than I wouldn't be able to run gtk_main() without it returning
control to my loop. What can I do to check for external input and gtk input?


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