Skip to content

Commit

Permalink
add new params to docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
TomJGooding committed Jul 18, 2024
1 parent 71cade9 commit 3321f42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/textual/widgets/_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,8 @@ def add(
Args:
label: The new node's label.
data: Data associated with the new node.
before: Optional index or `TreeNode` to add the pane before.
after: Optional index or `TreeNode` to add the pane after.
expand: Node should be expanded.
allow_expand: Allow use to expand the node via keyboard or mouse.
Expand Down

0 comments on commit 3321f42

Please sign in to comment.