Simplify namespace for inherited messages.

Related issues: #1814.
Related PRs: 2038.
This commit is contained in:
Rodrigo Girão Serrão
2023-03-13 16:28:51 +00:00
parent 53a56da317
commit ae83e12483
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."""