/ . / CGLtk / Dial.py / Dial
Radius is in any Tk-acceptable format.
Command callback takes an angle argument (degrees).
Methods
|
|
|
event_angle
|
event_angle ( self, event )
|
|
set_angle
|
set_angle (
self,
a,
doCallback=1,
)
|
|
pointer_drag_cb
|
pointer_drag_cb ( self, event )
|
|
button_release_cb
|
button_release_cb ( self, event )
|
|
button_press_cb
|
button_press_cb ( self, event )
|
|
__init__
|
__init__ (
self,
parent,
radius='.5i',
command=None,
initAngle=0.0,
zeroAxis='x',
rotDir='counterclockwise',
fill=None,
outline='black',
line='black',
)
|
|
|