gear::xsi::ppg::LayoutCompound Class Reference
Base class for all LayoutComponent that can contains some others (like Tab, Group and Row).
More...
Inherits gear::xsi::ppg::LayoutComponent.
Inherited by gear::xsi::ppg::Group, gear::xsi::ppg::Row, and gear::xsi::ppg::Tab.
Detailed Description
Base class for all LayoutComponent that can contains some others (like Tab, Group and Row).
Member Function Documentation
| def gear::xsi::ppg::LayoutCompound::__init__ |
( |
|
self |
) |
|
| def gear::xsi::ppg::LayoutCompound::getItems |
( |
|
self |
) |
|
Get the list of items of this LayoutCompound.
- Parameters:
-
- Returns:
- List of Layout Component.
| def gear::xsi::ppg::LayoutCompound::appendItems |
( |
|
self, |
|
|
|
items | |
|
) |
| | |
| def gear::xsi::ppg::LayoutCompound::popItem |
( |
|
self, |
|
|
|
itemToPop | |
|
) |
| | |
| def gear::xsi::ppg::LayoutCompound::addGroup |
( |
|
self, |
|
|
|
name | |
|
) |
| | |
| def gear::xsi::ppg::LayoutCompound::addRow |
( |
|
self |
) |
|
| def gear::xsi::ppg::LayoutCompound::addItem |
( |
|
self, |
|
|
|
scriptName, |
|
|
|
name = None | |
|
) |
| | |
| def gear::xsi::ppg::LayoutCompound::addEnumControl |
( |
|
self, |
|
|
|
scriptName, |
|
|
|
items, |
|
|
|
name = None, |
|
|
|
siPPGControlType = c.siControlCombo | |
|
) |
| | |
| def gear::xsi::ppg::LayoutCompound::addFCurve |
( |
|
self, |
|
|
|
scriptName, |
|
|
|
height = 300 | |
|
) |
| | |
Add a FCurve to this LayoutCompound.
- Parameters:
-
| self | |
| scriptName | String - The parameter scriptname. |
| height | Integer - The height to display the fcurve. |
- Returns:
- Item - the newly created FCurve item.
| def gear::xsi::ppg::LayoutCompound::addFCurve2 |
( |
|
self, |
|
|
|
scriptName, |
|
|
|
labelX, |
|
|
|
labelY, |
|
|
|
minX, |
|
|
|
maxX, |
|
|
|
minY, |
|
|
|
maxY, |
|
|
|
gridSpaceX, |
|
|
|
gridSpaceY | |
|
) |
| | |
Add a FCurve to this LayoutCompound.
With more option to avoid the use of setAttribute method.
- Parameters:
-
| self | |
| scriptName | String - The parameter scriptname. |
| labelX | String - The label at the bottom of the fcurve item. |
| labelY | String - The label at the left of the fcurve item. |
| minX | Double - The minimum X value to display the fcurve. |
| maxX | Double - The maximum X value to display the fcurve. |
| minY | Double - The minimum Y value to display the fcurve. |
| maxY | Double - The maximum Y value to display the fcurve. |
| gridSpaceX | Double - The gridSpace in X value to display the fcurve. |
| gridSpaceY | Double - The gridSpace in Y value to display the fcurve. |
- Returns:
- Item - the newly created FCurve item.
| def gear::xsi::ppg::LayoutCompound::addButton |
( |
|
self, |
|
|
|
scriptName, |
|
|
|
name = None | |
|
) |
| | |
| def gear::xsi::ppg::LayoutCompound::addColor |
( |
|
self, |
|
|
|
redParamName, |
|
|
|
name = None, |
|
|
|
alpha = False | |
|
) |
| | |
Add a Color to this LayoutCompound.
- Parameters:
-
| self | |
| redParamName | String - The red parameter scriptname. |
| name | String - The display name of the color. |
| alpha | Boolean - True to display a Alpha Channel. |
- Returns:
- Item - the newly created Color item.
| def gear::xsi::ppg::LayoutCompound::addSpacer |
( |
|
self |
) |
|
| def gear::xsi::ppg::LayoutCompound::addString |
( |
|
self, |
|
|
|
scriptName, |
|
|
|
name = None, |
|
|
|
multiline = False, |
|
|
|
height = 120 | |
|
) |
| | |
Add a String to this LayoutCompound.
- Parameters:
-
| self | |
| scriptName | String - The parameter scriptname. |
| name | String - The parameter display name. |
| multiline | Boolean - True to display multiline. |
| height | Integer - height of the widget. |
- Returns:
- Item - the newly created String item.
| def gear::xsi::ppg::LayoutCompound::getValue |
( |
|
self |
) |
|
Return the layout code as a string.
Code is in Python.
- Parameters:
-
- Returns:
- String - The layout.
Field Documentation
The documentation for this class was generated from the following file: