Class: Wx::HWrapSizer

Inherits:
WrapSizer show all
Defined in:
lib/wx/doc/hboxsizer.rb

Overview

Just a shortcut version for creating a horizontal wrap sizer

Instance Method Summary collapse

Methods inherited from WrapSizer

#calc_min, #inform_first_direction, #reposition_children

Methods inherited from BoxSizer

#add_spacer, #calc_min, #get_orientation, #reposition_children, #set_orientation

Methods inherited from Sizer

#add, #add_spacer, #add_stretch_spacer, #calc_min, #clear, #compute_fitting_client_size, #compute_fitting_window_size, #detach, #each_child, #fit, #fit_inside, #get_children, #get_containing_window, #get_item, #get_item_by_id, #get_item_count, #get_min_size, #get_position, #get_size, #hide, #inform_first_direction, #insert, #insert_spacer, #insert_stretch_spacer, #is_empty, #layout, #prepend, #prepend_spacer, #prepend_stretch_spacer, #remove, #replace, #reposition_children, #set_containing_window, #set_dimension, #set_item_min_size, #set_min_size, #set_size_hints, #show, #show_items

Methods inherited from Object

#clone, #dup, #is_same_as, #un_share

Constructor Details

#initialize(flags = Wx::WRAPSIZER_DEFAULT_FLAGS) ⇒ Wx::HWrapSizer

Constructor for a Wx::HWrapSizer. The flags parameter can be a combination of the values EXTEND_LAST_ON_EACH_LINE which will cause the last item on each line to use any remaining space on that line and REMOVE_LEADING_SPACES which removes any spacer elements from the beginning of a row. Both of these flags are on by default.

Parameters:

  • flags (Integer) (defaults to: Wx::WRAPSIZER_DEFAULT_FLAGS)


29
# File 'lib/wx/doc/hboxsizer.rb', line 29

def initialize(flags=Wx::WRAPSIZER_DEFAULT_FLAGS) end