Trait gtk::prelude::ToolbarExt [] [src]

pub trait ToolbarExt {
    fn get_drop_index(&self, x: i32, y: i32) -> i32;
    fn get_icon_size(&self) -> IconSize;
    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<'a, P: IsA<ToolItem> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        tool_item: Q,
        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
    ) -> u64; fn connect_orientation_changed<F: Fn(&Self, Orientation) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_popup_context_menu<F: Fn(&Self, i32, i32, i32) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_style_changed<F: Fn(&Self, ToolbarStyle) + 'static>(
        &self,
        f: F
    ) -> u64; }

Required Methods

Implementors