[][src]Function gtk_test::run_loop

pub fn run_loop()

Process all pending events and then return.

This function is called in all functions related to events handling (like key_release for example).

Example:

extern crate gtk;
extern crate gtk_test;

gtk::init().expect("GTK init failed");
gtk_test::run_loop();