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