Tkinter, scale widget, and mouse clicks

John Fouhy jfouhy at paradise.net.nz
Tue Jun 22 01:18:14 CEST 2004


So I've got a horizontal scale widget in my GUI.  When I click the
mouse in the area to the right of the GUI, the scale advances by 1.

                        13                         
             +-------------------------+
             |<|       [===]     X   |>|
             +-------------------------+
                          
                        ||
                        \/

                        14                         
             +-------------------------+
             |<|        [===]        |>|
             +-------------------------+

I want to change this, so it jumps by a larger amount (and likewise if
I click to the left of the slider).

Any clues?
(setting 'bigincrement' only works for CTRL-left / CTRL-right when the
widget has keyboard focus)

-- 
John.



More information about the Python-list mailing list