pyui.create_foldable_group_box - pytha-3d-cad/pytha-lua-api GitHub Wiki

Create a foldable group box to present related controls under a common caption. A foldable group is initially folded, i.e. the contained controls are invisible. The user can unfold the group by clicking on its caption. This type of control is useful to present advanced options that an inexperienced user might not need to see. Every foldable group box must be closed with a call to end_group_box. All controls created between create_foldable_group_box and end_group_box are placed inside the group.

pyui.create_foldable_group_box(dialog, col_spec [,text])
dialog:create_foldable_group_box(col_spec, text)

Parameters

Type Description
dialog dialog_handle Dialog where the control is created
col_spec integer or {first, last} Index of the column or specification of the column-span, where the control is placed.
text string Initial text-content of the control

Return value

Type Description
control_handle A handle to the newly created control

Events

There are no group-related events.

See also

Control Gallery, end_group_box, set_control_text, create_group_box, create_scrollable_group_box