class RUI::GuiBuilder::Action

Menu or toolbar action.

This tag must be a child of a menu or toolbar descriptor.

Public Instance Methods

create_element(window, parent, desc) click to toggle source
# File lib/rui/toolkits/qtbase/gui_builder.rb, line 89
def create_element(window, parent, desc)
  action = window.action_collection[desc.opts[:name]]
  if action
    parent.add_action(action)
  end
  action
end