gear::xsi::ppg::PPGLayout Class Reference
Dynamic PPG Layout class
Allows the creation of dynamic layout for PPG and still add items to already created tabs, groups or row.
More...
Detailed Description
Dynamic PPG Layout class
Allows the creation of dynamic layout for PPG and still add items to already created tabs, groups or row.
Usefull to generate layout code for the sn_PSet property. Code is in Python !
Member Function Documentation
| def gear::xsi::ppg::PPGLayout::__init__ |
( |
|
self |
) |
|
| def gear::xsi::ppg::PPGLayout::addTab |
( |
|
self, |
|
|
|
name | |
|
) |
| | |
Add an new tab to layout.
- Parameters:
-
- Returns:
- Tab - return the newly created Tab. If the name already exists return the existing Tab.
| def gear::xsi::ppg::PPGLayout::setCodeBefore |
( |
|
self, |
|
|
|
code | |
|
) |
| | |
Add code to the PPGLayout before the layout itself.
| def gear::xsi::ppg::PPGLayout::getTab |
( |
|
self, |
|
|
|
index = 0 | |
|
) |
| | |
Get Tab from given index.
- Parameters:
-
| self | |
| index | Integer - Tab index. |
- Returns:
- Tab - return the Tab. Return False if it doesn't exists.
| def gear::xsi::ppg::PPGLayout::getTabByName |
( |
|
self, |
|
|
|
name | |
|
) |
| | |
Get Tab from given name.
- Parameters:
-
- Returns:
- Tab - return the Tab. Return False if it doesn't exists.
| def gear::xsi::ppg::PPGLayout::getTabItems |
( |
|
self, |
|
|
|
index = 0 | |
|
) |
| | |
Get items from given Tab index.
- Parameters:
-
| self | |
| index | Integer - Tab Index. |
- Returns:
- List of LayoutComponent - return the items of Tab. Return False if it doesn't exists.
| def gear::xsi::ppg::PPGLayout::getTabItemsByName |
( |
|
self, |
|
|
|
name | |
|
) |
| | |
Get items from given Tab name.
- Parameters:
-
- Returns:
- List of LayoutComponent - return the items of Tab. Return False if it doesn't exists.
| def gear::xsi::ppg::PPGLayout::getValue |
( |
|
self |
) |
|
Return the layout code as a string.
Code is in Python.
- Parameters:
-
- Returns:
- String - The layout.
The documentation for this class was generated from the following file: