wx.BoxSizer

Inheritance diagram for wx.BoxSizer:



Description

The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic geometry, typically in a row or a column or several hierarchies of either.

Derived From

Properties Summary

Class API

Methods

__init__(orient=wx.HORIZONTAL)

Constructor for a wx.BoxSizer.

orient may be one of wx.VERTICAL or wx.HORIZONTAL for creating either a column sizer or a row sizer.

Parameters:

  • orient (int)

Returns:

wx.BoxSizer


GetOrientation()

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


Returns:

int


SetOrientation(orient)

Resets the orientation of the sizer.

Parameters:

  • orient (int)

Properties

Orientation
See GetOrientation and SetOrientation