wxRuby Documentation Home

Wx::StaticBoxSizer

StaticBoxSizer is a sizer derived from BoxSizer but adds a static box around the sizer. This static box has to be created independently or the sizer may create it itself as a convenience.

Derived from

BoxSizer

Sizer

Object

See also

Sizer, StaticBox, BoxSizer, Sizer overview

Methods

StaticBoxSizer.new

StaticBoxSizer.new(StaticBox box,  Integer orient)
StaticBoxSizer.new(Integer orient,  Window parent, 
                   String label = '')

The first constructor uses an already existing static box. It takes the associated static box and the orientation orient, which can be either VERTICAL or HORIZONTAL as parameters.

The second one creates a new static box with the given label and parent window.

StaticBoxSizer#get_static_box

StaticBox get_static_box()

Returns the static box associated with the sizer.

[This page automatically generated from the Textile source at Thu May 01 00:50:44 +0100 2008]