- wxSizer
The constructor.
- Add
Appends a child to the sizer.
- AddSpacer
This base function adds non-stretchable space to both the horizontal and vertical orientation of the sizer.
- AddStretchSpacer
Adds stretchable space to the sizer.
- CalcMin
This method is abstract and has to be overwritten by any derived class.
- Clear
Detaches all children from the sizer.
- ComputeFittingClientSize
Computes client area size for window so that it matches the sizer's minimal size.
- ComputeFittingWindowSize
Like ComputeFittingClientSize(), but converts the result into window size.
- Detach
Detach a item at position index from the sizer without destroying it.
- Fit
Tell the sizer to resize the window so that its client area matches the sizer's minimal size (ComputeFittingClientSize() is called to determine it).
- FitInside
Tell the sizer to resize the virtual size of the window to match the sizer's minimal size.
- GetContainingWindow
Returns the window this sizer is used in or NULL if none.
- GetItem
Finds wxSizerItem which holds the given window.
- GetItemById
Finds item of the sizer which has the given id.
- GetItemCount
Returns the number of items in the sizer.
- GetMinSize
Returns the minimal size of the sizer.
- GetPosition
Returns the current position of the sizer.
- GetSize
Returns the current size of the sizer.
- Hide
Hides the item at position index.
- InformFirstDirection
Inform sizer about the first direction that has been decided (by parent item).
- Insert
Insert a child into the sizer before any existing item at index.
- InsertSpacer
Inserts non-stretchable space to the sizer.
- InsertStretchSpacer
Inserts stretchable space to the sizer.
- IsEmpty
Return true if the sizer has no elements.
- IsShown
Returns true if the item at index is shown.
- Layout
Call this to force layout of the children anew, e.g. after having added a child to or removed a child (window, other sizer or space) from the sizer while keeping the current dimension.
- Prepend
- PrependSpacer
Prepends non-stretchable space to the sizer.
- PrependStretchSpacer
Prepends stretchable space to the sizer.
- RecalcSizes
This method is abstract and has to be overwritten by any derived class.
- Remove
Removes a child from the sizer and destroys it if it is a sizer or a spacer, but not if it is a window (because windows are owned by their parent window, not the sizer).
- Replace
Detaches the given oldsz from the sizer and replaces it with the given newsz.
- SetDimension
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- SetItemMinSize
Set an item's minimum size by window, sizer, or position.
- SetMinSize
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- SetSizeHints
This method first calls Fit() and then wxTopLevelWindow::SetSizeHints() on the window passed to it.
- SetVirtualSizeHints
Tell the sizer to set the minimal size of the window virtual area to match the sizer's minimal size.
- Show
Shows or hides sizer.