PPG LAYOUT. More...
Public Member Functions | |
def | __init__ |
Init method. More... | |
def | addTab |
Add an new tab to layout. More... | |
def | setCodeBefore |
Add code to the PPGLayout before the layout itself. More... | |
def | setCodeAfter |
def | getTab |
Get Tab from given index. More... | |
def | getTabByName |
Get Tab from given name. More... | |
def | getTabItems |
Get items from given Tab index. More... | |
def | getTabItemsByName |
Get items from given Tab name. More... | |
def | getValue |
Return the layout code as a string. More... | |
Public Attributes | |
tabs | |
Dictionary of Tab. | |
tabIndex | |
List of tab name to be able to get tab in creation order. | |
beforeCode | |
Code list. | |
afterCode | |
value | |
real PPGLayout value | |
PPG LAYOUT.
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 !
def gear.xsi.ppg.PPGLayout.__init__ | ( | self | ) |
Init method.
self |
def gear.xsi.ppg.PPGLayout.addTab | ( | self, | |
name | |||
) |
def gear.xsi.ppg.PPGLayout.getTab | ( | self, | |
index = 0 |
|||
) |
def gear.xsi.ppg.PPGLayout.getTabByName | ( | self, | |
name | |||
) |
def gear.xsi.ppg.PPGLayout.getTabItems | ( | self, | |
index = 0 |
|||
) |
Get items from given Tab index.
self | |
index | Integer - Tab Index. |
def gear.xsi.ppg.PPGLayout.getTabItemsByName | ( | self, | |
name | |||
) |
Get items from given Tab name.
def gear.xsi.ppg.PPGLayout.getValue | ( | self | ) |
def gear.xsi.ppg.PPGLayout.setCodeBefore | ( | self, | |
code | |||
) |
Add code to the PPGLayout before the layout itself.