Trait gtk::MenuShellExt [] [src]

pub trait MenuShellExt {
    fn activate_item<T: IsA<Widget>>(&self,
                                     menu_item: &T,
                                     force_deactivate: bool); fn append<T: IsA<MenuItem>>(&self, child: &T); fn cancel(&self); fn deactivate(&self); fn deselect(&self); fn get_parent_shell(&self) -> Option<Widget>; fn get_selected_item(&self) -> Option<Widget>; fn get_take_focus(&self) -> bool; fn insert<T: IsA<Widget>>(&self, child: &T, position: i32); fn prepend<T: IsA<Widget>>(&self, child: &T); fn select_first(&self, search_sensitive: bool); fn select_item<T: IsA<Widget>>(&self, menu_item: &T); fn set_take_focus(&self, take_focus: bool); fn connect_activate_current<F: Fn(&Self, bool) + 'static>(&self,
                                                              f: F)
                                                              -> u64; fn connect_cancel<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_cycle_focus<F: Fn(&Self, DirectionType) + 'static>(&self,
                                                                  f: F)
                                                                  -> u64; fn connect_deactivate<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_insert<F: Fn(&Self, &Widget, i32) + 'static>(&self, f: F) -> u64; fn connect_move_current<F: Fn(&Self, MenuDirectionType) + 'static>(&self,
                                                                       f: F)
                                                                       -> u64; fn connect_move_selected<F: Fn(&Self, i32) -> Inhibit + 'static>(&self,
                                                                     f: F)
                                                                     -> u64; fn connect_selection_done<F: Fn(&Self) + 'static>(&self, f: F) -> u64; }

Required Methods

Implementors