silk/boxsizer

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 WxSizer

Types

pub type WxBoxSizer(a) =
  types.WxSizer(types.WxBoxSizer(a))

Functions

pub fn destroy(this: WxSizer(WxBoxSizer(a))) -> OkT

Destroys the object

pub fn get_orientation(this: WxSizer(WxBoxSizer(a))) -> OkT

Returns the orientation of the box sizer, either wxVERTICAL or wxHORIZONTAL.

pub fn new(orient: Int) -> WxSizer(WxBoxSizer(Nil))

Constructor for a WxBoxSizer.

Search Document