Merge pull request #2041 from Textualize/simplify-message-namespace

Simplify namespace for inherited messages from ToggleButton
This commit is contained in:
Rodrigo Girão Serrão
2023-03-14 09:59:34 +00:00
committed by GitHub
2 changed files with 0 additions and 6 deletions

View File

@@ -14,9 +14,6 @@ class Checkbox(ToggleButton):
This message can be handled using an `on_checkbox_changed` method.
"""
# https://github.com/Textualize/textual/issues/1814
namespace = "checkbox"
@property
def checkbox(self) -> Checkbox:
"""The checkbox that was changed."""

View File

@@ -21,9 +21,6 @@ class RadioButton(ToggleButton):
This message can be handled using an `on_radio_button_changed` method.
"""
# https://github.com/Textualize/textual/issues/1814
namespace = "radio_button"
@property
def radio_button(self) -> RadioButton:
"""The radio button that was changed."""