[]Struct gtk::StackSidebar

pub struct StackSidebar(_, _);

A StackSidebar enables you to quickly and easily provide a consistent "sidebar" object for your user interface.

In order to use a StackSidebar, you simply use a Stack to organize your UI flow, and add the sidebar to your sidebar area. You can use StackSidebarExt::set_stack to connect the StackSidebar to the Stack.

CSS nodes

StackSidebar has a single CSS node with name stacksidebar and style class .sidebar.

When circumstances require it, StackSidebar adds the .needs-attention style class to the widgets representing the stack pages.

Feature: v3_16

Implements

StackSidebarExt, BinExt, ContainerExt, WidgetExt, glib::object::ObjectExt, BuildableExt, WidgetExtManual, BuildableExtManual

Implementations

impl StackSidebar[src]

pub fn new() -> StackSidebar[src]

Creates a new sidebar.

Feature: v3_16

Returns

the new StackSidebar

Trait Implementations

impl Clone for StackSidebar

impl Debug for StackSidebar

impl Default for StackSidebar[src]

impl Display for StackSidebar[src]

impl Eq for StackSidebar

impl Hash for StackSidebar

impl IsA<Bin> for StackSidebar

impl IsA<Buildable> for StackSidebar

impl IsA<Container> for StackSidebar

impl IsA<Widget> for StackSidebar

impl Ord for StackSidebar

impl<T: ObjectType> PartialEq<T> for StackSidebar

impl<T: ObjectType> PartialOrd<T> for StackSidebar

impl StaticType for StackSidebar

Auto Trait Implementations

impl RefUnwindSafe for StackSidebar

impl !Send for StackSidebar

impl !Sync for StackSidebar

impl Unpin for StackSidebar

impl UnwindSafe for StackSidebar

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<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

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

type Owned = T

The resulting type after obtaining ownership.

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.