Event loop



  Hi!

  How can I control th event loop?
  I wanna something like
 
     while(1)
     {
        do_something() ;
        process_gtk_event_loop() ;
        do_another_thing() ;
     }

  I'v tried to use gtk_main_iteration, but it locks the loop while and
don't executes any other code after.

  Can I do it?

Thanks

-- 
" There's a difference between knowing the path and walking the path "
Morpheus, 314c
--------
Ubirata Azevedo Ignacio
Universidade de Vale do Rio dos Sinos - Unisinos
Linux User #125117




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