pyui.create_text_display - pytha-3d-cad/pytha-lua-api GitHub Wiki
Create a read-only text box. This is useful to display a value to the user and allows the user to extract the text with Ctrl+C.
pyui.create_text_display(dialog, col_spec [,text])
dialog:create_text_display(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 |
Optional: Initial text-content of the control |
Return value
| Type | Description |
|---|---|
control_handle |
A handle to the newly created control |
See also
Control Gallery, set_control_text, create_label, create_text_box