Class: RuGUI::FrameworkAdapters::Rubygame::BaseView
- Inherits:
-
BaseFrameworkAdapter::BaseView
- Object
- BaseFrameworkAdapter::Base
- BaseFrameworkAdapter::BaseView
- RuGUI::FrameworkAdapters::Rubygame::BaseView
- Defined in:
- lib/rugui/framework_adapters/Rubygame.rb
Instance Attribute Summary
Attributes inherited from BaseFrameworkAdapter::Base
Class Method Summary collapse
-
.builder_file_extension ⇒ Object
Returns the builder file extension to be used for this view class.
Instance Method Summary collapse
-
#build_widgets_from(filename) ⇒ Object
Builds widgets from the given filename, using the proper builder.
-
#connect_declared_signal(widget, signal, receiver, method) ⇒ Object
Connects the signal from the widget to the given receiver method.
-
#connect_declared_signal_block(widget, signal, receiver, block) ⇒ Object
Connects the signal from the widget to the given receiver block.
-
#queue(&block) ⇒ Object
Queues the block call, so that it is only gets executed in the main thread.
-
#register_widgets ⇒ Object
Registers widgets as attributes of the view class.
Methods inherited from BaseFrameworkAdapter::BaseView
#add_widget_to_container, #autoconnect_signals, #remove_all_children, #remove_widget_from_container, #set_widget_name
Methods inherited from BaseFrameworkAdapter::Base
Constructor Details
This class inherits a constructor from RuGUI::FrameworkAdapters::BaseFrameworkAdapter::Base
Class Method Details
.builder_file_extension ⇒ Object
Returns the builder file extension to be used for this view class.
57 58 |
# File 'lib/rugui/framework_adapters/Rubygame.rb', line 57 def builder_file_extension end |
Instance Method Details
#build_widgets_from(filename) ⇒ Object
Builds widgets from the given filename, using the proper builder.
48 49 |
# File 'lib/rugui/framework_adapters/Rubygame.rb', line 48 def (filename) end |
#connect_declared_signal(widget, signal, receiver, method) ⇒ Object
Connects the signal from the widget to the given receiver method.
44 45 |
# File 'lib/rugui/framework_adapters/Rubygame.rb', line 44 def connect_declared_signal(, signal, receiver, method) end |
#connect_declared_signal_block(widget, signal, receiver, block) ⇒ Object
Connects the signal from the widget to the given receiver block. The block is executed in the context of the receiver.
40 41 |
# File 'lib/rugui/framework_adapters/Rubygame.rb', line 40 def connect_declared_signal_block(, signal, receiver, block) end |
#queue(&block) ⇒ Object
Queues the block call, so that it is only gets executed in the main thread.
34 35 36 |
# File 'lib/rugui/framework_adapters/Rubygame.rb', line 34 def queue(&block) block.call end |
#register_widgets ⇒ Object
Registers widgets as attributes of the view class.
52 53 |
# File 'lib/rugui/framework_adapters/Rubygame.rb', line 52 def end |