Trait gtk::prelude::StackSidebarExt [−][src]
pub trait StackSidebarExt: 'static {
fn stack(&self) -> Option<Stack>;
fn set_stack<P: IsA<Stack>>(&self, stack: &P);
fn connect_stack_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Expand description
Required methods
Retrieves the stack.
See set_stack().
Returns
the associated Stack or
None if none has been set explicitly
Set the Stack associated with this StackSidebar.
The sidebar widget will automatically update according to the order
(packing) and items within the given Stack.
stack
a Stack
fn connect_stack_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId