Trait animate::RotateActionExt [−][src]
pub trait RotateActionExt: 'static { fn connect_rotate<F: Fn(&Self, &Actor, f64) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Required methods
fn connect_rotate<F: Fn(&Self, &Actor, f64) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
The ::rotate signal is emitted when a rotate gesture is recognized on the attached actor and when the gesture is cancelled (in this case with an angle value of 0).
actor
the Actor
attached to the action
angle
the difference of angle of rotation between the initial rotation and the current rotation
Returns
true
if the rotation should continue, and false
if
the rotation should be cancelled.
Implementors
impl<O: IsA<RotateAction>> RotateActionExt for O
[src]
impl<O: IsA<RotateAction>> RotateActionExt for O
[src]fn connect_rotate<F: Fn(&Self, &Actor, f64) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId