Class: RuGUI::FrameworkAdapters::GTK::BaseMainController

Inherits:
BaseController show all
Defined in:
lib/rugui/framework_adapters/GTK.rb

Instance Attribute Summary

Attributes inherited from BaseFrameworkAdapter::Base

#adapted_object

Instance Method Summary collapse

Methods inherited from BaseController

#queue

Methods inherited from BaseFrameworkAdapter::BaseController

#queue

Methods inherited from BaseFrameworkAdapter::Base

#initialize

Constructor Details

This class inherits a constructor from RuGUI::FrameworkAdapters::BaseFrameworkAdapter::Base

Instance Method Details

#quitObject



88
89
90
# File 'lib/rugui/framework_adapters/GTK.rb', line 88

def quit
  Gtk.main_quit
end

#runObject



83
84
85
86
# File 'lib/rugui/framework_adapters/GTK.rb', line 83

def run
  Gtk.queue_timeout(RuGUI.configuration.queue_timeout)
  Gtk.main
end