Skip to content

pyui.create_label

daniel-flassig edited this page May 3, 2020 · 22 revisions

Create a label or static text. Labels are most often used to label/describe another control (in this case, consider pyui.create_label_left() or pyui.create_label_top() which may result in a tighter layout). Sometimes, labels are used to display a value to the user (in this case, consider pyui.create_text_display()). And sometimes, labels stand on their, e.g., for some instruction text (in this case, pyui.create_label() is the right function).

pyui.create_label_left(dialog, col_spec)
dialog:create_label_left(col_spec)

Clone this wiki locally