I am a new GTK user and I need help, I would be grateful if you could find time to answer.
I have read the documentation of "gtk_main_iteration_do()" here (http://developer.gnome.org/gtk3/stable/ ... eration-do
), but it is not clear for me, to be more precise:
1. What is the main loop? Should I create the code of it?
* I am working with ROS, and there is also an event loop, so I can´t just write a "regular" GTK loop (actually this is the reason
I want to "use gtk_main_iteration_do").
2. What is the right way to use gtk_main_iteration_do()?
I could not find anything better that this in the internet: while ( !gtk_main_iteration_do(0) )
I am really stuck, so I would be more than happy to receive an answer.
Thanks in advance,