[][src]Function gtk_test::wait

pub fn wait(ms: u32)

Wait for events the specified amount the milliseconds.

Very convenient when you need GTK to update the UI to let it process some events.

Example:

extern crate gtk;
extern crate gtk_test;

gtk::init().expect("GTK init failed");
gtk_test::wait(1000); // wait for a second