Trait clutter::SwipeActionExt[][src]

pub trait SwipeActionExt: 'static {
    fn connect_swipe<F: Fn(&Self, &Actor, SwipeDirection) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all SwipeAction methods.

Implementors

SwipeAction

Required methods

fn connect_swipe<F: Fn(&Self, &Actor, SwipeDirection) -> bool + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

The ::swipe signal is emitted when a swipe gesture is recognized on the attached actor.

actor

the Actor attached to the action

direction

the main direction of the swipe gesture

Returns

true if the swipe should continue, and false if the swipe should be cancelled.

Loading content...

Implementors

impl<O: IsA<SwipeAction>> SwipeActionExt for O[src]

Loading content...