PHP-GTK
Sunday, October 26, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousmain_do_event
main_iteration_donext

Last updated: Sun, 12 May 2013
view this page in English

main_iteration

Runs a single iteration of the mainloop. If no events are waiting to be processed GTK+ will block until the next event is noticed. If you don't want to block look at main_iteration_do() or check if any events are pending with events_pending() first.

If you ever change the UI and go on with time consuming processing, you should update the UI (e.g. the progress bar) yourself by using the following lines of code:

while (Gtk::events_pending()) {
    Gtk::main_iteration();
}

Returns true if main_quit() has been called for the innermost mainloop.


User Contributed Notes
gtk.method.main_iteration.php
add a note about notes
There are no user contributed notes for this page.


previousmain_do_event
main_iteration_donext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:51:01 2013 CEST