Class: Wads::VerticalColumnLayout
- Inherits:
-
WadsLayout
- Object
- WadsLayout
- Wads::VerticalColumnLayout
- Defined in:
- lib/wads/widgets.rb
Instance Attribute Summary collapse
-
#single_column_container ⇒ Object
Returns the value of attribute single_column_container.
Attributes inherited from WadsLayout
#args, #border_coords, #parent_widget
Instance Method Summary collapse
-
#get_coordinates(element_type, args = {}) ⇒ Object
This is the standard interface for layouts.
-
#initialize(x, y, width, height, parent_widget, args = {}) ⇒ VerticalColumnLayout
constructor
A new instance of VerticalColumnLayout.
Methods inherited from WadsLayout
#add_button, #add_document, #add_graph_display, #add_horizontal_panel, #add_image, #add_max_panel, #add_multi_select_table, #add_plot, #add_single_select_table, #add_table, #add_text, #add_text_input, #add_vertical_panel, #add_widget, #internal_add_panel
Constructor Details
#initialize(x, y, width, height, parent_widget, args = {}) ⇒ VerticalColumnLayout
Returns a new instance of VerticalColumnLayout.
768 769 770 771 |
# File 'lib/wads/widgets.rb', line 768 def initialize(x, y, width, height, , args = {}) super @single_column_container = GuiContainer.new(x, y, width, height, FILL_VERTICAL_STACK) end |
Instance Attribute Details
#single_column_container ⇒ Object
Returns the value of attribute single_column_container.
766 767 768 |
# File 'lib/wads/widgets.rb', line 766 def single_column_container @single_column_container end |
Instance Method Details
#get_coordinates(element_type, args = {}) ⇒ Object
This is the standard interface for layouts
774 775 776 |
# File 'lib/wads/widgets.rb', line 774 def get_coordinates(element_type, args = {}) @single_column_container.get_coordinates(element_type, args) end |