Base class for all layout items.
More...
|
|
| codeBefore |
| |
|
| codeAfter |
| | code to place before the item
|
| |
|
| condition |
| | code to place after the item
|
| |
|
| args |
| | simple condition to place before the item
|
| |
Base class for all layout items.
| def gear.xsi.ppg.LayoutComponent.__init__ |
( |
|
self | ) |
|
| def gear.xsi.ppg.LayoutComponent.addCondition |
( |
|
self, |
|
|
|
condition |
|
) |
| |
Simple condition to place before the item.
Condition must be in Python, the 'If' statement is not needed.
- Parameters
-
| self | |
| condition | String - code to place before the item. |
| def gear.xsi.ppg.LayoutComponent.convertToAscii |
( |
|
self, |
|
|
|
items |
|
) |
| |
Make sure that all string in the list are in ascii and not unicode.
- Parameters
-
| self | |
| items | List - list to check |
- Returns
- List - Cleaned list.
| def gear.xsi.ppg.LayoutComponent.getAsString |
( |
|
self, |
|
|
|
items |
|
) |
| |
Add quotemark to string and return the list as a string.
- Parameters
-
| self | |
| items | List - list to convert |
- Returns
- String
| def gear.xsi.ppg.LayoutComponent.setCodeAfter |
( |
|
self, |
|
|
|
code |
|
) |
| |
Add custom code after the item.
Code must be in Python.
- Parameters
-
| self | |
| code | String - code to place before the item. |
| def gear.xsi.ppg.LayoutComponent.setCodeBefore |
( |
|
self, |
|
|
|
code |
|
) |
| |
Add custom code before the item.
Code must be in Python.
- Parameters
-
| self | |
| code | String - code to place before the item. |
The documentation for this class was generated from the following file:
- C:/datawork/__TECH__/GITHUB_REPOS/GEAR_mc/pythonlibs/gear/xsi/ppg.py