#include <mobu-python-api.h>
Python Docstring:
More advance layout that allow organisation of control in a grid. User can place a control at specific coordinates. User can also setup parameters that affect whole row or column.
__init__ | ( | ) |
_Add | ( | ) |
_GetDesc | ( | ) |
_GetSpace | ( | ) |
_Resize | ( | ) |
_Restructure | ( | ) |
_Updatecols | ( | ) |
_Updaterows | ( | ) |
Add | ( | ) |
Python Docstring:
Add control in row r and column c. attachX: specifies a control horizontal attachment in a column (kFBAttachLeft, kFBAttachRight) attachY: specifies a control veritcal attachment in a row (kFBAttachTop, kFBAttachBottom) width: fixed width of a control height: fixed height of a control
AddRange | ( | ) |
Python Docstring:
Add control in a range of coordinates. Control will span from row1 to row2 and from col1 to col2 attachX: specifies a control horizontal attachment in a column (kFBAttachLeft, kFBAttachRight) attachY: specifies a control veritcal attachment in a row (kFBAttachTop, kFBAttachBottom)
Remove | ( | ) |
Python Docstring:
Remove a control from the grid
RemoveAll | ( | ) |
Python Docstring:
Remove all controls from the grid
SetColRatio | ( | ) |
Python Docstring:
Set col c ratio. this col will be allocated width according to this ratio when all fixed width has been allocated.
SetColSpacing | ( | ) |
Python Docstring:
Set col c spacing between previous col.
SetColWidth | ( | ) |
Python Docstring:
Set col c fixed width.
SetRowHeight | ( | ) |
Python Docstring:
Set row r fixed height
SetRowRatio | ( | ) |
Python Docstring:
Set row r ratio. this row will be allocated height according to this ratio when all fixed height has been allocated.
SetRowSpacing | ( | ) |
Python Docstring:
Set row r spacing between previous row.