docstrings

This commit is contained in:
Will McGugan
2022-11-23 17:15:03 +08:00
parent 94ee237ab0
commit cf539293ff

View File

@@ -364,6 +364,7 @@ class Tree(Generic[TreeDataType], ScrollView, can_focus=True):
@property
def last_line(self) -> int:
"""int: the index of the last line."""
return len(self._tree_lines) - 1
def process_label(self, label: TextType):