#include <mobu-python-api.h>
Python Docstring:
Base class for a line layout (either vertical or horizontal) This class is made to ease the creation of Tool in Python. It manages all the 'FBLayout' region stuff (no need to use FBAddRegionParam anymore!). Generally you just Add a Control to the layout specifying some parameters. There are 2 kinds of Add: Add with fixed size and AddRelative which ensure the control Added will occupy a 'percentage' of the available space AFTER the fixed space has been assigned.
__init__ | ( | ) |
_Add | ( | ) |
_computeregion | ( | ) |
_GetDesc | ( | ) |
_Resize | ( | ) |
_Restructure | ( | ) |
Add | ( | ) |
Python Docstring:
Add a control to layout specifying its FIXED size. customparams: space: space between previous control width: fixed width if layout is vertical based height: fixed height if layout is horizontal based.
AddRelative | ( | ) |
Python Docstring:
Add a control to layout specifying its RATIO. This means the control will be assigned a size based on the space left when all FIXED size have been allocated. customparams: space: space between prev control width: fixed width if layout is vertical based height: fixed height if layout is horizontal based.
Remove | ( | ) |
Python Docstring:
Remove a control from the layout.
RemoveAll | ( | ) |
Python Docstring:
Remove all controls from layout