Tkinter slide question

Gary Herron gherron at aw.sgi.com
Tue Jun 29 19:28:03 CEST 1999


David Stokes wrote:
> 
> I'm trying to implement a slide to control how often a function restarts
> but it appears that I'm not getting the result back from the 'variable'
> variable.  Could some kind soul out there on the proper way to read the
> slide 'position'?
> 
> Code snipit:
> Scale(label="Rescan",variable=self.yspeed,orient=HORIZONTAL,).grid(column=0)
> 
> currently returns PY_VAR12 instead of the slider value.

Try
  self.yspeed.get()
to get the value of the variable.

-- 
Dr. Gary Herron <gherron at aw.sgi.com>
206-287-5616
Alias | Wavefront
1218 3rd Ave, Suite 800, Seattle WA 98101




More information about the Python-list mailing list