class RuGUI::FrameworkAdapters::Rubygame::BaseView
Public Class Methods
builder_file_extension()
click to toggle source
Returns the builder file extension to be used for this view class.
# File lib/rugui/framework_adapters/Rubygame.rb, line 57 def builder_file_extension end
Public Instance Methods
build_widgets_from(filename)
click to toggle source
Builds widgets from the given filename, using the proper builder.
# File lib/rugui/framework_adapters/Rubygame.rb, line 48 def build_widgets_from(filename) end
connect_declared_signal(widget, signal, receiver, method)
click to toggle source
Connects the signal from the widget to the given receiver method.
# File lib/rugui/framework_adapters/Rubygame.rb, line 44 def connect_declared_signal(widget, signal, receiver, method) end
connect_declared_signal_block(widget, signal, receiver, block)
click to toggle source
Connects the signal from the widget to the given receiver block. The block is executed in the context of the receiver.
# File lib/rugui/framework_adapters/Rubygame.rb, line 40 def connect_declared_signal_block(widget, signal, receiver, block) end
queue(&block)
click to toggle source
Queues the block call, so that it is only gets executed in the main thread.
# File lib/rugui/framework_adapters/Rubygame.rb, line 34 def queue(&block) block.call end
register_widgets()
click to toggle source
Registers widgets as attributes of the view class.
# File lib/rugui/framework_adapters/Rubygame.rb, line 52 def register_widgets end