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

Inserts a new item into a control that displays items (e.g. combo box or drop list).

pyui.insert_control_item(control, text [,position])
control:insert_control_item(text [,position])

Parameters

Type Description
control control_handle Control handle
text string Text-content of the item
position integer Optional: 1-based position of the new item. 0 (default) inserts at the end.

Return value

None

See also

Control Gallery, clear_control_items, set_control_selection, set_on_change_handler, create_drop_list, create_combo_box