[][src]Struct libhandy4::LeafletPage

pub struct LeafletPage(_);

Implementations

impl LeafletPage[src]

pub fn get_child(&self) -> Option<Widget>[src]

Returns the leaflet child to which self belongs.

Returns

the child to which self belongs

pub fn get_name(&self) -> Option<GString>[src]

Returns the current value of the LeafletPage:name property.

Returns

The value of the LeafletPage:name property. See LeafletPage::set_name for details on how to set a new value.

pub fn get_navigatable(&self) -> bool[src]

Gets whether the child can be navigated to when folded.

See LeafletPage::set_navigatable and LeafletPage:navigatable.

Returns

true if self is enabled, false otherwise

pub fn set_name(&self, name: &str)[src]

Sets the new value of the LeafletPage:name property. See also LeafletPage::get_name

name

the new value to set

pub fn set_navigatable(&self, navigatable: bool)[src]

Sets whether the child can be navigated to when folded. If false, the child will be ignored by Leaflet::get_adjacent_child, Leaflet::navigate, and swipe gestures.

This can be used used to prevent switching to widgets like separators.

Sets the new value of the LeafletPage:navigatable property to navigatable.

true if the child can be navigated to when folded

pub fn connect_property_name_notify<F: Fn(&LeafletPage) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_navigatable_notify<F: Fn(&LeafletPage) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Trait Implementations

impl Clone for LeafletPage[src]

impl Debug for LeafletPage[src]

impl Display for LeafletPage[src]

impl Eq for LeafletPage[src]

impl Hash for LeafletPage[src]

impl Ord for LeafletPage[src]

impl ParentClassIs for LeafletPage[src]

type Parent = Object

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

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

impl StaticType for LeafletPage[src]

impl StructuralEq for LeafletPage[src]

Auto Trait Implementations

impl RefUnwindSafe for LeafletPage[src]

impl !Send for LeafletPage[src]

impl !Sync for LeafletPage[src]

impl Unpin for LeafletPage[src]

impl UnwindSafe for LeafletPage[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<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.