mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Drop explicit sender attribute from messages (#1940)
* remove sender * removed priority post * timer fix * test fixes * drop async version of post_message * extended docs * fix no app * Added control properties * changelog * changelog * changelog * fix for stopping timers * changelog * added aliases to radio and checkbox * Drop sender from Message init * drop time * drop cast * Added aliases
This commit is contained in:
@@ -19,9 +19,9 @@ class RadioSetApp(App[None]):
|
||||
def on_radio_set_changed(self, event: RadioSet.Changed) -> None:
|
||||
self.events_received.append(
|
||||
(
|
||||
event.input.id,
|
||||
event.radio_set.id,
|
||||
event.index,
|
||||
[button.value for button in event.input.query(RadioButton)],
|
||||
[button.value for button in event.radio_set.query(RadioButton)],
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user