From 3321f42cf4096b546576a5df79a25adb614d5da7 Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Thu, 18 Jul 2024 14:01:36 +0100 Subject: [PATCH] add new params to docstring --- src/textual/widgets/_tree.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/textual/widgets/_tree.py b/src/textual/widgets/_tree.py index 174ba69195..e0349c324c 100644 --- a/src/textual/widgets/_tree.py +++ b/src/textual/widgets/_tree.py @@ -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.