edifice.TextInputMultiline#
- class edifice.TextInputMultiline(text='', placeholder_text=None, on_change=None, **kwargs)[source]#
Bases:
QtWidgetElement[QTextEdit]Multiline text input widget.
Underlying Qt Widget QTextEdit
Accepts only plain text, not “rich text.”
Props
All props from
QtWidgetElementplus:- Parameters:
text (
str) – Initial text.placeholder_text (
Optional[str]) – “Setting this property makes the editor display a grayed-out placeholder text as long as the document() is empty.” See placeholderText.on_change (
Optional[Callable[[str],None]]) – Event handler for when the value of the text input changes, but only when the user is editing the text, not when the text prop changes.
Methods
__init__([text, placeholder_text, on_change])register_ref(reference)Registers provided
Referenceto this Element.set_key(key)Set the key of an
Element.Attributes
childrenThe children of this Element.
propsThe props of this Element.
underlyingThe underlying QWidget, which may not exist if this Element has not rendered.