wxRuby Documentation Home

Wx::BoxSizer

Theidea behind a box sizer is that windows will most often be laid out in rather simple basic geometry, a row or a column, or hierarchies of both. BoxSizers arrange their contents as either a column or a row, and may be nested to create sophisticated resizeable layouts.

Derived from

Sizer

Object

See also

Sizer

Methods

BoxSizer.new

BoxSizer.new(Integer orient)

Constructor for a BoxSizer. orient may be either of Wx::VERTICAL or Wx::HORIZONTAL for creating either a column sizer or a row sizer.

BoxSizer#get_orientation

Integer get_orientation()

Returns the orientation of the box sizer, either Wx::VERTICAL or Wx::HORIZONTAL.

[This page automatically generated from the Textile source at Fri Oct 31 16:06:39 +0000 2008]