-
-
Notifications
You must be signed in to change notification settings - Fork 779
Enable keyboard on_activate
in Table and Tree
#3781
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
base: main
Are you sure you want to change the base?
Changes from all commits
ec12b86
1dda346
0bffac5
0fcc15f
3d189ea
8258867
5b7a607
d3099d0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Table and Tree widgets on desktop platforms will invoke `on_activate` when the Enter key is pressed and a single row/node is selected. |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Duplicate code between Tree and Table should be merged. |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Tree and Table implementations are duplicated, so please merge them into one. Don't worry about the type annotations, because we only use them for documentation of the public API. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where should this code shared between table and tree live? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, if there isn't any more obvious place, then it's fine to put it in one file and import it from the other. |
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.
We recently switched the documentation from RST to Markdown, so please rename this file to
.md
.