# File metasm/gui/gtk.rb, line 980 def self.main Gtk.main end
register a proc to be run whenever the gui loop is idle if the proc returns nil/false, delete it
# File metasm/gui/gtk.rb, line 991 def self.idle_add(&b) Gtk.idle_add(&b) end
start the Gui main loop
# File metasm/gui/gtk.rb, line 980 def self.main Gtk.main end
run a single iteration of the main_loop e.g. call this from time to time when doing heavy computation, to keep the UI somewhat responsive
# File metasm/gui/gtk.rb, line 997 def self.main_iter Gtk.main_iteration_do(false) end
ends the Gui main loop
# File metasm/gui/gtk.rb, line 985 def self.main_quit Gtk.main_quit end