edifice.Label¶
-
class
edifice.Label(text='', selectable=False, editable=False, word_wrap=True, **kwargs)[source]¶ Bases:
edifice.base_components.QtWidgetComponentBasic widget for displaying text.
Three different label objects. You can embed HTML in labels to get rich text formatting.¶
- 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
childrenThe children of this component.
propsThe props of this component.