Remove dead code.

This commit is contained in:
Rodrigo Girão Serrão
2023-01-18 14:38:03 +00:00
parent 064cbc9b6f
commit cdb68c9ba1

View File

@@ -330,19 +330,6 @@ class Tree(Generic[TreeDataType], ScrollView, can_focus=True):
),
}
class NodeMessage(Generic[EventTreeDataType], Message, bubble=True):
"""Base class for events sent when something happens with a node.
Attributes:
node: The node involved in the event.
"""
def __init__(
self, sender: MessageTarget, node: TreeNode[EventTreeDataType]
) -> None:
self.node: TreeNode[EventTreeDataType] = node
super().__init__(sender)
class NodeSelected(Generic[EventTreeDataType], Message, bubble=True):
"""Event sent when a node is selected.