Class: RUI::GuiBuilder::ActionList

Inherits:
Object
  • Object
show all
Includes:
RUI::GuiBuilder
Defined in:
lib/rui/toolkits/qtbase/gui_builder.rb

Overview

An action list is a placeholder for dynamically pluggable actions.

Action lists can be plugged by using ActionHandler#plug_action_list and removed with ActionHandler#unplug_action_list.

Defined Under Namespace

Classes: Entry

Instance Method Summary collapse

Methods included from RUI::GuiBuilder

build, #build, #builder, #setup_widget

Instance Method Details

#create_element(window, parent, desc) ⇒ Object



157
158
159
160
161
# File 'lib/rui/toolkits/qtbase/gui_builder.rb', line 157

def create_element(window, parent, desc)
  entry = Entry.new(parent)
  window.action_list_entries[desc.opts[:name]] << entry
  parent
end