gear_mc
 All Classes Namespaces Functions Variables
Public Member Functions | Public Attributes | List of all members
gear.xsi.ppg.LayoutItem Class Reference

Base class for all LayoutItem (Item, EnumControl, FCurve, Button, Color, Spacer) More...

Inheritance diagram for gear.xsi.ppg.LayoutItem:
gear.xsi.ppg.LayoutComponent gear.xsi.ppg.Button gear.xsi.ppg.Color gear.xsi.ppg.EnumControl gear.xsi.ppg.FCurve gear.xsi.ppg.Item gear.xsi.ppg.Spacer gear.xsi.ppg.String

Public Member Functions

def __init__
 Init method. More...
 
def setAttribute
 Set the attribute of an item widget. More...
 
def getValue
 Return the layout code as a string. More...
 
- Public Member Functions inherited from gear.xsi.ppg.LayoutComponent
def __init__
 Init method. More...
 
def setCodeBefore
 Add custom code before the item. More...
 
def setCodeAfter
 Add custom code after the item. More...
 
def addCondition
 Simple condition to place before the item. More...
 
def convertToAscii
 Make sure that all string in the list are in ascii and not unicode. More...
 
def getAsString
 Add quotemark to string and return the list as a string. More...
 

Public Attributes

 attributes
 
 methodName
 
 args
 
- Public Attributes inherited from gear.xsi.ppg.LayoutComponent
 codeBefore
 
 codeAfter
 code to place before the item
 
 condition
 code to place after the item
 
 args
 simple condition to place before the item
 

Detailed Description

Base class for all LayoutItem (Item, EnumControl, FCurve, Button, Color, Spacer)

Constructor & Destructor Documentation

def gear.xsi.ppg.LayoutItem.__init__ (   self)

Init method.

Parameters
self

Member Function Documentation

def gear.xsi.ppg.LayoutItem.getValue (   self)

Return the layout code as a string.

Code is in Python.

Parameters
self
Returns
String - The layout.
def gear.xsi.ppg.LayoutItem.setAttribute (   self,
  siPPGItemAttribute,
  variant 
)

Set the attribute of an item widget.

Parameters
self
siPPGItemAttributeString - Attribute.
variantVariant - Value.
Returns
String - The layout.

The documentation for this class was generated from the following file: