[][src]Trait gtk::StackSwitcherExt

pub trait StackSwitcherExt: 'static {
    fn get_stack(&self) -> Option<Stack>;
fn set_stack<P: IsA<Stack>>(&self, stack: Option<&P>);
fn get_property_icon_size(&self) -> i32;
fn set_property_icon_size(&self, icon_size: i32);
fn connect_property_icon_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_stack_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all StackSwitcher methods.

Implementors

StackSwitcher

Required methods

fn get_stack(&self) -> Option<Stack>

Retrieves the stack. See StackSwitcherExt::set_stack.

Returns

the stack, or None if none has been set explicitly.

fn set_stack<P: IsA<Stack>>(&self, stack: Option<&P>)

Sets the stack to control.

stack

a Stack

fn get_property_icon_size(&self) -> i32

Use the "icon-size" property to change the size of the image displayed when a StackSwitcher is displaying icons.

Feature: v3_20

fn set_property_icon_size(&self, icon_size: i32)

Use the "icon-size" property to change the size of the image displayed when a StackSwitcher is displaying icons.

Feature: v3_20

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

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

Loading content...

Implementors

impl<O: IsA<StackSwitcher>> StackSwitcherExt for O[src]

Loading content...