Class: RUI::GuiBuilder::Stretch

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

Overview

A stretch element.

Used to separate consecutive elements of a layout.

Instance Method Summary collapse

Methods included from RUI::GuiBuilder

build, #build, #builder, #setup_widget

Instance Method Details

#create_element(window, parent, desc) ⇒ Object



189
190
191
# File 'lib/rui/toolkits/qtbase/gui_builder.rb', line 189

def create_element(window, parent, desc)
  parent.add_stretch
end