Class: RuGUI::FrameworkAdapters::BaseFrameworkAdapter::BaseMainController

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

Overview

Adapts the BaseMainController methods specific for the framework.

Instance Attribute Summary

Attributes inherited from Base

#adapted_object

Instance Method Summary collapse

Methods inherited from BaseController

#queue

Methods inherited from Base

#initialize

Constructor Details

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

Instance Method Details

#quitObject

Exits the application, freeing any resources used by the framework.



33
34
# File 'lib/rugui/framework_adapters/base_framework_adapter.rb', line 33

def quit
end

#refreshObject

Refreshes the GUI application, running just one event loop.

This method is mostly useful when writing tests. It shouldn’t be used in normal applications.



29
30
# File 'lib/rugui/framework_adapters/base_framework_adapter.rb', line 29

def refresh
end

#runObject

Runs the application, starting anything the framework needs.



22
23
# File 'lib/rugui/framework_adapters/base_framework_adapter.rb', line 22

def run
end