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

Need method to programmatically set the slider values #1

Closed
dale-roberts opened this issue Nov 11, 2021 · 0 comments
Closed

Need method to programmatically set the slider values #1

dale-roberts opened this issue Nov 11, 2021 · 0 comments

Comments

@dale-roberts
Copy link

This is a nice project! I'm using it a little video tracker to set the diameter of the object to be tracked.

It needs a way to initialize, or more generally set the values of the two sliders. I had to make a little setValues() method that calls the internal __moveBar() method twice to set the two positions to their desired initial values.

Since it uses the Tk "Variable" types, it should also probably react to changes to those values, as other Tk widgets traditionally do, so if the program updates those variables, the positions of the sliders move.

Thank you for your project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants