class RuGUI::FrameworkAdapters::GTK::BaseMainController

Public Instance Methods

quit() click to toggle source
# File lib/rugui/framework_adapters/GTK.rb, line 94
def quit
  Gtk.main_quit
end
refresh() click to toggle source
# File lib/rugui/framework_adapters/GTK.rb, line 90
def refresh
  Gtk.main_iteration_do(false) while Gtk.events_pending?
end
run() click to toggle source
# File lib/rugui/framework_adapters/GTK.rb, line 85
def run
  Gtk.queue_timeout(RuGUI.configuration.queue_timeout)
  Gtk.main
end