PyDocs

Nav

Graphical user interfaces with Tk

Scale

tkinter

class
  • Scale(master=None, cnf={}, **kw)
A Scale widget lets the user select a numerical value by moving a slider along a trough. It can be oriented vertically or horizontally and can optionally display a label and the current value. Inherits from Widget.
Members of Scale

c

coords
Return a tuple (x, y) giving the pixel coordinates, relative to the widget, of the point on the centerline of the trough that corresponds to value.

g

get
Return the current value of the scale.

i

identify
Return a string describing the part of the scale at the pixel coordinates x, y: 'slider', 'trough1' (the part of the trough above or to the left of the slider), 'trough2' (below or to the right of th…

s

set
Set the scale to value, moving the slider accordingly.
0 Examples
No examples for tkinter/Scale.
See Also
No see-alsos for tkinter/Scale
0 Notes
No notes for Scale