-
-
Notifications
You must be signed in to change notification settings - Fork 798
Winforms Tree widget #4235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
freakboy3742
merged 32 commits into
beeware:main
from
Oliver-Leigh:winforms-tree-widget
Mar 23, 2026
Merged
Winforms Tree widget #4235
Changes from 27 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
d27e62f
Winforms Tree widget
Oliver-Leigh 37b17a8
Added background color change functionality
Oliver-Leigh c0a1e3d
Added "row path" __getitem__ to StateNode
Oliver-Leigh b0515a5
Fixed and simplified expand/collapse functionality
Oliver-Leigh cffad63
Fixed selection color when not focused.
Oliver-Leigh 4e2ee17
Fixed get_selection
Oliver-Leigh 1670022
Added test probe for Tree widget
Oliver-Leigh 62cf0c3
Fixed formatting
Oliver-Leigh f1d90c6
Fixed regex string and enabled WinForms tree tests
Oliver-Leigh 8ed6903
Enable multi-column icon tests for WinForms
Oliver-Leigh 2f7c3e0
Minor style change
Oliver-Leigh 48275da
Added change note
Oliver-Leigh 787af46
Removed types from docstring parameters
Oliver-Leigh a541e4e
Changed formatting for long-argument functions
Oliver-Leigh b3088a0
Style change and added all columns for non-leaf
Oliver-Leigh 8db21cf
Updated testbed for previous changes
Oliver-Leigh 55bd421
Disabled focus rectangle
Oliver-Leigh 20d7b0c
Added image for docs
Oliver-Leigh 4d7156f
Merge branch 'main' into winforms-tree-widget
freakboy3742 c6768d7
Add a widget registration for Winforms Tree.
freakboy3742 aed4f3f
Add a second level for the tree data.
freakboy3742 708afb0
Minor code format tweak.
freakboy3742 09b01b6
Merge remote-tracking branch 'upstream/main' into winforms-tree-widget
freakboy3742 1d53f14
Removed unused methods & added 4 pragma: no cover
Oliver-Leigh f981178
Test selection during toggle and non-visible nodes
Oliver-Leigh d167905
Added tests for mouse events
Oliver-Leigh 401284c
Removed new tests for macOS and Linux
Oliver-Leigh 8c1ce23
Implemented focused item functionality
Oliver-Leigh de665ef
Minor changes and added 1 pragma no cover
Oliver-Leigh 8c2d8e5
Updated tests to cover focus rectangle code
Oliver-Leigh fb15fb7
Remove expand/collapse platform specific assert.s
Oliver-Leigh 8cc2dd2
test_mouse_events as pytest.skip on non-Windows
Oliver-Leigh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| The Tree widget is now supported in the Windows backend. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can see what you're doing here, but we don't use this pattern in testbed. Details in the overall review comments.