pub fn main()
Runs the main loop until gtk_main_quit() is called.
gtk_main_quit()
You can nest calls to main(). In that case gtk_main_quit() will make the innermost invocation of the main loop return.
main()