[][src]Struct libhandy4::SwipeGroup

pub struct SwipeGroup(_);

Implementations

impl SwipeGroup[src]

pub fn new() -> SwipeGroup[src]

Create a new SwipeGroup object.

Returns

The newly created SwipeGroup object

pub fn add_swipeable<P: IsA<Swipeable>>(&self, swipeable: &P)[src]

When the widget is destroyed or no longer referenced elsewhere, it will be removed from the swipe group.

swipeable

the Swipeable to add

pub fn get_swipeables(&self) -> Vec<Swipeable>[src]

Returns the list of swipeables associated with self.

Returns

a glib::SList of swipeables. The list is owned by libhandy and should not be modified.

pub fn remove_swipeable<P: IsA<Swipeable>>(&self, swipeable: &P)[src]

Removes a widget from a SwipeGroup.

swipeable

the Swipeable to remove

Trait Implementations

impl Clone for SwipeGroup[src]

impl Debug for SwipeGroup[src]

impl Default for SwipeGroup[src]

impl Display for SwipeGroup[src]

impl Eq for SwipeGroup[src]

impl Hash for SwipeGroup[src]

impl IsA<Buildable> for SwipeGroup[src]

impl Ord for SwipeGroup[src]

impl ParentClassIs for SwipeGroup[src]

type Parent = Object

impl<T: ObjectType> PartialEq<T> for SwipeGroup[src]

impl<T: ObjectType> PartialOrd<T> for SwipeGroup[src]

impl StaticType for SwipeGroup[src]

impl StructuralEq for SwipeGroup[src]

Auto Trait Implementations

impl RefUnwindSafe for SwipeGroup[src]

impl !Send for SwipeGroup[src]

impl !Sync for SwipeGroup[src]

impl Unpin for SwipeGroup[src]

impl UnwindSafe for SwipeGroup[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<O> BuildableExt for O where
    O: IsA<Buildable>, 

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 

impl<T> Cast for T where
    T: ObjectType, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.