[][src]Trait gtk::ToolbarExt

pub trait ToolbarExt: 'static {
    fn get_drop_index(&self, x: i32, y: i32) -> i32;
fn get_item_index<P: IsA<ToolItem>>(&self, item: &P) -> i32;
fn get_n_items(&self) -> i32;
fn get_nth_item(&self, n: i32) -> Option<ToolItem>;
fn get_show_arrow(&self) -> bool;
fn insert<P: IsA<ToolItem>>(&self, item: &P, pos: i32);
fn set_drop_highlight_item<P: IsA<ToolItem>>(
        &self,
        tool_item: Option<&P>,
        index_: i32
    );
fn set_icon_size(&self, icon_size: IconSize);
fn set_show_arrow(&self, show_arrow: bool);
fn set_style(&self, style: ToolbarStyle);
fn unset_icon_size(&self);
fn unset_style(&self);
fn get_property_icon_size_set(&self) -> bool;
fn set_property_icon_size_set(&self, icon_size_set: bool);
fn get_property_toolbar_style(&self) -> ToolbarStyle;
fn set_property_toolbar_style(&self, toolbar_style: ToolbarStyle);
fn get_item_expand<T: IsA<Widget>>(&self, item: &T) -> bool;
fn set_item_expand<T: IsA<Widget>>(&self, item: &T, expand: bool);
fn get_item_homogeneous<T: IsA<Widget>>(&self, item: &T) -> bool;
fn set_item_homogeneous<T: IsA<Widget>>(&self, item: &T, homogeneous: bool);
fn connect_focus_home_or_end<F: Fn(&Self, bool) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn emit_focus_home_or_end(&self, focus_home: bool) -> bool;
fn connect_orientation_changed<F: Fn(&Self, Orientation) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_popup_context_menu<F: Fn(&Self, i32, i32, i32) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_style_changed<F: Fn(&Self, ToolbarStyle) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_icon_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_icon_size_set_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_arrow_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_toolbar_style_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn get_drop_index(&self, x: i32, y: i32) -> i32

fn get_item_index<P: IsA<ToolItem>>(&self, item: &P) -> i32

fn get_n_items(&self) -> i32

fn get_nth_item(&self, n: i32) -> Option<ToolItem>

fn get_show_arrow(&self) -> bool

fn insert<P: IsA<ToolItem>>(&self, item: &P, pos: i32)

fn set_drop_highlight_item<P: IsA<ToolItem>>(
    &self,
    tool_item: Option<&P>,
    index_: i32
)

fn set_icon_size(&self, icon_size: IconSize)

fn set_show_arrow(&self, show_arrow: bool)

fn set_style(&self, style: ToolbarStyle)

fn unset_icon_size(&self)

fn unset_style(&self)

fn get_property_icon_size_set(&self) -> bool

fn set_property_icon_size_set(&self, icon_size_set: bool)

fn get_property_toolbar_style(&self) -> ToolbarStyle

fn set_property_toolbar_style(&self, toolbar_style: ToolbarStyle)

fn get_item_expand<T: IsA<Widget>>(&self, item: &T) -> bool

fn set_item_expand<T: IsA<Widget>>(&self, item: &T, expand: bool)

fn get_item_homogeneous<T: IsA<Widget>>(&self, item: &T) -> bool

fn set_item_homogeneous<T: IsA<Widget>>(&self, item: &T, homogeneous: bool)

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

fn emit_focus_home_or_end(&self, focus_home: bool) -> bool

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

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<Toolbar>> ToolbarExt for O[src]

Loading content...