Base class for all layout items. More...
Inherited by gear::xsi::ppg::LayoutCompound, and gear::xsi::ppg::LayoutItem.
Public Member Functions | |
| def | __init__ |
| Init method. | |
| def | setCodeBefore |
| Add custom code before the item. | |
| def | setCodeAfter |
| Add custom code after the item. | |
| def | addCondition |
| Simple condition to place before the item. | |
| def | convertToAscii |
| Make sure that all string in the list are in ascii and not unicode. | |
| def | getAsString |
| Add quotemark to string and return the list as a string. | |
Data Fields | |
| codeBefore | |
| codeAfter | |
| condition | |
| args | |
Base class for all layout items.
| def gear::xsi::ppg::LayoutComponent::__init__ | ( | self | ) |
Init method.
| self |
Reimplemented in gear::xsi::ppg::LayoutCompound, gear::xsi::ppg::Row, gear::xsi::ppg::LayoutItem, and gear::xsi::ppg::Spacer.
| def gear::xsi::ppg::LayoutComponent::setCodeBefore | ( | self, | ||
| code | ||||
| ) |
Add custom code before the item.
Code must be in Python.
| self | ||
| code | String - code to place before the item. |
| def gear::xsi::ppg::LayoutComponent::setCodeAfter | ( | self, | ||
| code | ||||
| ) |
Add custom code after the item.
Code must be in Python.
| self | ||
| code | String - code to place before the item. |
| 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.
| 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.
| self | ||
| items | List - list to check |
| def gear::xsi::ppg::LayoutComponent::getAsString | ( | self, | ||
| items | ||||
| ) |
Add quotemark to string and return the list as a string.
| self | ||
| items | List - list to convert |
1.6.2-20100208