edifice.Label¶
-
class
edifice.
Label
(text='', selectable=False, editable=False, word_wrap=True, **kwargs)[source]¶ Bases:
edifice.base_components.QtWidgetComponent
Basic widget for displaying text.
- Parameters
text (
Any
) – the text to display. Can be any Python type; the text prop is converted to a string using str before being displayedword_wrap (
bool
) – enable/disable word wrapping.selectable (
bool
) – whether the content of the label can be selected. Defaults to False.editable (
bool
) – whether the content of the label can be edited. Defaults to False.
Methods
Attributes
children
The children of this component.
props
The props of this component.