2

I'm working on a paint application using Python's tkinter package.

I am making a Scale widget to handle zooming. I want the user to be able to zoom 0.5x, 1x, 2x, and 4x. The problem is, the resolutions are changing.

From 0.5 to 1 the resolution is 0.5.

From 1 to 2 the resolution is 1.

From 2 to 4 the resolution is 2.

Is it possible to declare a Scale widget with varying resolutions?

finefoot
  • 9,914
  • 7
  • 59
  • 102
Ogen
  • 6,499
  • 7
  • 58
  • 124
  • see my answer here: http://stackoverflow.com/questions/25745011/tkinter-slider-scale-with-discrete-steps/25745136#25745136 – James Kent Jul 20 '15 at 12:28
  • 1
    *"I'm working on a paint application using Python's tkinter package"* - that might be your first mistake, I'm not sure Tkinter is the best tool for that job. – jonrsharpe Jul 20 '15 at 12:41
  • @jonrsharpe Yeah it definitely isnt but Im just doing it for fun – Ogen Jul 20 '15 at 23:48

0 Answers0