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

Methods

StaticBoxSizer.new

StaticBoxSizer.new(%(arg-type)StaticBox% box, Integer orient) StaticBoxSizer.new(%(arg-type)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 2023-06-09 00:45:32 +0000]