Class: Wx::HWrapSizer

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

Overview

Just a shortcut version for creating a horizontal wrap sizer

Instance Method Summary collapse

Constructor Details

#initialize(flags = Wx::WRAPSIZER_DEFAULT_FLAGS) {|sizer| ... } ⇒ Wx::HWrapSizer #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.

Overloads:

  • #initialize(flags = Wx::WRAPSIZER_DEFAULT_FLAGS) {|sizer| ... } ⇒ Wx::HWrapSizer

    Parameters:

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

    Yield Parameters:

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

    Parameters:

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


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

def initialize(flags) end