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

Mouse support for slider #130

Closed
jwlodek opened this issue Jun 10, 2021 · 0 comments
Closed

Mouse support for slider #130

jwlodek opened this issue Jun 10, 2021 · 0 comments
Labels
Feature Request Add for a new feature request Help wanted Extra attention is needed Inputs Issue with regards to keyboard and mouse Widgets Add for issues having to do with widgets
Milestone

Comments

@jwlodek
Copy link
Owner

jwlodek commented Jun 10, 2021

Is your feature request related to a problem? Please describe.
Currently, the slider widget does not support mouse inputs. Left mouse clicks should be handled to put the slider in the clicked position.

Describe the solution you'd like
Add implementation of _handle_mouse_press function to the slider widget class in controls/slider.py

Additional context
Implementation should call the Widget superclass _handle_mouse_press function at the end of the function. This way, users could use add_mouse_command to perform an event with the new position of the slider. For example, increase the volume on a volume slider bar to the new volume setting.

@jwlodek jwlodek added Help wanted Extra attention is needed Feature Request Add for a new feature request Widgets Add for issues having to do with widgets Inputs Issue with regards to keyboard and mouse labels Jun 10, 2021
@jwlodek jwlodek added this to the v0.1.5 milestone Jun 10, 2021
@jwlodek jwlodek mentioned this issue May 6, 2022
3 tasks
@jwlodek jwlodek closed this as completed Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Add for a new feature request Help wanted Extra attention is needed Inputs Issue with regards to keyboard and mouse Widgets Add for issues having to do with widgets
Projects
None yet
Development

No branches or pull requests

1 participant