mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Make it very clear when SelectedChanged is posted
This commit is contained in:
@@ -195,7 +195,11 @@ class SelectionList(Generic[SelectionType], OptionList):
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class SelectedChanged(Generic[MessageSelectionType], Message):
|
class SelectedChanged(Generic[MessageSelectionType], Message):
|
||||||
"""Message sent when the collection of selected values changes."""
|
"""Message sent when the collection of selected values changes.
|
||||||
|
|
||||||
|
This message is sent when any change to the collection of selected
|
||||||
|
values takes place; either by user interaction or by API calls.
|
||||||
|
"""
|
||||||
|
|
||||||
selection_list: SelectionList[MessageSelectionType]
|
selection_list: SelectionList[MessageSelectionType]
|
||||||
"""The `SelectionList` that sent the message."""
|
"""The `SelectionList` that sent the message."""
|
||||||
|
|||||||
Reference in New Issue
Block a user