Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/panels/wunderbaum.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ tree.add_folder(parent_key=None, key="src", title="src")
tree.add_file(parent_key="src", key="src/main.py", title="main.py")
```

`set_active_node` fires an `activate` event by default. Pass `no_events=True` to activate a node without that event, for example when an `activate` handler mirrors the activation into a second tree and would otherwise be called again.

## Context menu

Provide `context_menu_items` to show a right-click menu; the selected action arrives through the event callback so Python can add, rename, or delete nodes.
Expand Down
Loading
Loading