[][src]Struct libhandy4::SqueezerPage

pub struct SqueezerPage(_);

Implementations

impl SqueezerPage[src]

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

Returns the squeezer child to which self belongs.

Returns

the child to which self belongs

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

Returns whether self is enabled in its Squeezer. This is independent from the gtk::Widget:visible value of its gtk::Widget.

See SqueezerPage::set_enabled.

Returns

true if self is enabled, false otherwise

pub fn set_enabled(&self, enabled: bool)[src]

Make the squeezer enable or disable child. If a child is disabled, it will be ignored when looking for the child fitting the available size best. This allows to programmatically and prematurely hide a child even if it fits in the available space.

This can be used e.g. to ensure a certain child is hidden below a certain window width, or any other constraint you find suitable.

Sets the new value of the SqueezerPage:enabled property to enabled.

enabled

true to enable the child, false to disable it

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

Trait Implementations

impl Clone for SqueezerPage[src]

impl Debug for SqueezerPage[src]

impl Display for SqueezerPage[src]

impl Eq for SqueezerPage[src]

impl Hash for SqueezerPage[src]

impl Ord for SqueezerPage[src]

impl ParentClassIs for SqueezerPage[src]

type Parent = Object

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

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

impl StaticType for SqueezerPage[src]

impl StructuralEq for SqueezerPage[src]

Auto Trait Implementations

impl RefUnwindSafe for SqueezerPage[src]

impl !Send for SqueezerPage[src]

impl !Sync for SqueezerPage[src]

impl Unpin for SqueezerPage[src]

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