class RuGUI::FrameworkAdapters::BaseFrameworkAdapter::BaseView
Adapts the BaseView
methods specific for the framework
Public Class Methods
Returns the builder file extension to be used for this view class.
# File lib/rugui/framework_adapters/base_framework_adapter.rb, line 87 def builder_file_extension end
Public Instance Methods
Adds a widget to the given container widget.
# File lib/rugui/framework_adapters/base_framework_adapter.rb, line 48 def add_widget_to_container(widget, container_widget) end
Autoconnects signals handlers for the view. If other_target
is given it is used instead of the view itself.
# File lib/rugui/framework_adapters/base_framework_adapter.rb, line 65 def autoconnect_signals(view, other_target = nil) end
Builds widgets from the given filename, using the proper builder.
# File lib/rugui/framework_adapters/base_framework_adapter.rb, line 78 def build_widgets_from(filename) end
Connects the signal from the widget to the given receiver method.
# File lib/rugui/framework_adapters/base_framework_adapter.rb, line 74 def connect_declared_signal(widget, signal, receiver, method) end
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/base_framework_adapter.rb, line 70 def connect_declared_signal_block(widget, signal, receiver, block) end
Queues the block call, so that it is only gets executed in the main thread.
# File lib/rugui/framework_adapters/base_framework_adapter.rb, line 44 def queue(&block) end
Registers widgets as attributes of the view class.
# File lib/rugui/framework_adapters/base_framework_adapter.rb, line 82 def register_widgets end
Removes all children from the given container widget.
# File lib/rugui/framework_adapters/base_framework_adapter.rb, line 56 def remove_all_children(container_widget) end
Removes a widget from the given container widget.
# File lib/rugui/framework_adapters/base_framework_adapter.rb, line 52 def remove_widget_from_container(widget, container_widget) end
Sets the widget name for the given widget if given.
# File lib/rugui/framework_adapters/base_framework_adapter.rb, line 60 def set_widget_name(widget, widget_name) end