Tkinter and sliders
Doug Hellmann
doughellmann at home.com
Mon Dec 27 09:05:55 EST 1999
It sounds like you have the command bound to a mouse motion event rather
than an event which is only called while a mouse button is pressed and
the mouse moves. Post some code, and I can try to be more specific.
Doug
Jim Richardson wrote:
>
> *Newbie Alert. Set phasers to stun*
>
> I have a slider widget I have created with tkinter, it works
> fine, except the command associated with it is executed whenever
> the mouse moves over the widget, irrespective of whether the
> slider bar is actually actuated or moved. Is there a way to force
> the command to only go off if the slider is moved or activated?
> thanks.
> (if this is a dumb question with an obvious answer emblazoned in
> the tkinter docs, please let me know, but I can't seem to find
> it, thanks all)
>
> --
> Jim Richardson
> Anarchist, pagan and proud of it
> WWW.eskimo.com/~warlock
> Linux, because life's too short for a buggy OS.
More information about the Python-list
mailing list