TextSelectionChangeEvent
Inherits: Event[EventControlType]
An event emitted when the text selection changes.
Properties
-
cause
(TextSelectionChangeCause | None
) –The cause of the selection change.
-
selected_text
(str
) –The selected text.
-
selection
(TextSelection
) –The new text selection.
Properties#
cause
class-attribute
instance-attribute
#
cause: TextSelectionChangeCause | None = None
The cause of the selection change.