c4d.gui.QuickTabCustomGui
¶
Quick tab GUI ( CUSTOMGUI_QUICKTAB ). The settings are:
QUICKTAB_BAR bool Bar mode. QUICKTAB_BARTITLE str Title for bar mode. QUICKTAB_SHOWSINGLE bool Show single items. QUICKTAB_SPRINGINGFOLDERS bool Allow springing folders. QUICKTAB_SEPARATOR bool Draw separator. QUICKTAB_BARSUBGROUP bool Handle as subgroup. QUICKTAB_BARLAYERCOLOR bool Show layer color. QUICKTAB_NOLINEBREAK bool No line break for tabs inside scrollgroups. QUICKTAB_BGCOLOR vector/int Color RGB or ID. QUICKTAB_NOMULTISELECT bool No multiple tab selection.
This is what it looks like:
The picture shows two elements, the top one with QUICKTAB_BAR set to True .
c4d.gui.
QuickTabCustomGui
¶
QuickTabCustomGui.ClearStrings()
QuickTabCustomGui.AppendString()
QuickTabCustomGui.DoLayoutChange()
QuickTabCustomGui.IsSelected()
QuickTabCustomGui.SetTextColor()
QuickTabCustomGui.Select()
c4d.gui.BaseCustomGui
QuickTabCustomGui.
ClearStrings
(
)
¶
Removes all strings.
QuickTabCustomGui.
AppendString
(
id
,
str
,
checked
)
¶
Appends a string.
Parameters: |
|
---|
QuickTabCustomGui.
DoLayoutChange
(
)
¶
Call this after appending strings to show the results.
QuickTabCustomGui.
IsSelected
(
id
)
¶
Checks if a string is selected.
Parameters: | id ( int ) – String ID. |
---|---|
Return type: | bool |
Returns: | True if string id is selected, otherwise False . |
QuickTabCustomGui.
SetTextColor
(
id
,
col
)
¶
Set the text color of item id to col .
Parameters: |
|
---|
QuickTabCustomGui.
Select
(
id
,
b
)
¶
Change the selection state of item id to b .
Parameters: |
|
---|---|
Return type: |
bool |
Returns: |
True if successful, otherwise False . |