mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Move DirectoryTree.FileSelected.path's doc to inline style
This brings it in line with the documentation for other widgets and their messages.
This commit is contained in:
@@ -73,14 +73,12 @@ class DirectoryTree(Tree[DirEntry]):
|
||||
|
||||
Can be handled using `on_directory_tree_file_selected` in a subclass of
|
||||
`DirectoryTree` or in a parent widget in the DOM.
|
||||
|
||||
Attributes:
|
||||
path: The path of the file that was selected.
|
||||
"""
|
||||
|
||||
def __init__(self, path: str) -> None:
|
||||
self.path: str = path
|
||||
super().__init__()
|
||||
self.path: str = path
|
||||
"""The path of the file that was selected."""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user