Replies: 1 comment 1 reply
-
Basic math it is: number_of_steps=round((min_max[1] - min_max[0]) / increment) Or something similar... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Tk Slider has a
resolution
kwarg that allows me to set by how much the Slider should increment. My use case is a Slider that only has odd numbers. I've tried thenumber_of_steps
kwarg with no succfess. Here is my usage of the Slider in Tk, and my attempt at porting to CTkTk
CTk
Beta Was this translation helpful? Give feedback.
All reactions