Class: RuGUI::FrameworkAdapters::GTK::BaseMainController
- Inherits:
-
BaseController
- Object
- BaseFrameworkAdapter::Base
- BaseFrameworkAdapter::BaseController
- BaseController
- RuGUI::FrameworkAdapters::GTK::BaseMainController
- Defined in:
- lib/rugui/framework_adapters/GTK.rb
Instance Attribute Summary
Attributes inherited from BaseFrameworkAdapter::Base
Instance Method Summary collapse
Methods inherited from BaseController
Methods inherited from BaseFrameworkAdapter::BaseController
Methods inherited from BaseFrameworkAdapter::Base
Constructor Details
This class inherits a constructor from RuGUI::FrameworkAdapters::BaseFrameworkAdapter::Base
Instance Method Details
#quit ⇒ Object
94 95 96 |
# File 'lib/rugui/framework_adapters/GTK.rb', line 94 def quit Gtk.main_quit end |
#refresh ⇒ Object
90 91 92 |
# File 'lib/rugui/framework_adapters/GTK.rb', line 90 def refresh Gtk.main_iteration_do(false) while Gtk.events_pending? end |
#run ⇒ Object
85 86 87 88 |
# File 'lib/rugui/framework_adapters/GTK.rb', line 85 def run Gtk.queue_timeout(RuGUI.configuration.queue_timeout) Gtk.main end |