Skip to content
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

Allow specifying the list of click events for ui.scene #3463

Merged
merged 2 commits into from
Aug 10, 2024
Merged

Conversation

falkoschindler
Copy link
Contributor

Inspired by discussion #3451, this PR introduces a new parameter for specifying which click event to subscribe to:

click_events: List[str] = ['click', 'dblclick']

This allows to implement context menus, as is shown in a new demo.

Screenshot 2024-08-09 at 10 51 25

@falkoschindler falkoschindler added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 9, 2024
@falkoschindler falkoschindler added this to the 1.4.35 milestone Aug 9, 2024
@rodja rodja merged commit 5f52a8a into main Aug 10, 2024
7 checks passed
@rodja rodja deleted the scene-click branch August 10, 2024 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants