Trait libhelium::prelude::NavigationRailExt

source ·
pub trait NavigationRailExt: IsA<NavigationRail> + Sealed + 'static {
    // Provided methods
    fn stack(&self) -> Stack { ... }
    fn set_stack(&self, value: &Stack) { ... }
    fn orientation(&self) -> Orientation { ... }
    fn set_orientation(&self, value: Orientation) { ... }
    fn hides_labels(&self) -> bool { ... }
    fn set_hide_labels(&self, value: bool) { ... }
    fn connect_stack_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_orientation_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_hide_labels_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all NavigationRail methods.

§Implementors

NavigationRail

Provided Methods§

source

fn stack(&self) -> Stack

source

fn set_stack(&self, value: &Stack)

source

fn orientation(&self) -> Orientation

source

fn set_orientation(&self, value: Orientation)

source

fn hides_labels(&self) -> bool

source

fn set_hide_labels(&self, value: bool)

source

fn connect_stack_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_orientation_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_hide_labels_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§