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:

../../../../_images/quicktab.png

The picture shows two elements, the top one with QUICKTAB_BAR set to True .

Definition

class c4d.gui. QuickTabCustomGui

Inheritance

Members

QuickTabCustomGui. ClearStrings ( )

Removes all strings.

QuickTabCustomGui. AppendString ( id , str , checked )

Appends a string.

Parameters:
  • id ( int ) – String ID.
  • str ( str ) – String to append.
  • checked ( bool ) – Initial selection state.
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:
  • id ( int ) – String ID.
  • col ( int ) – Text color, e.g. COLOR_MATERIALMANAGER_TEXT_SELECTED . See Color constants .
QuickTabCustomGui. Select ( id , b )

Change the selection state of item id to b .

Parameters:
  • id ( int ) – String ID.
  • b ( bool ) – New selection state.
Return type:

bool

Returns:

True if successful, otherwise False .

Table Of Contents