Trait gtk::MenuItemExt [] [src]

pub trait MenuItemExt {
    fn deselect(&self);
    fn get_accel_path(&self) -> Option<String>;
    fn get_label(&self) -> Option<String>;
    fn get_reserve_indicator(&self) -> bool;
    fn get_submenu(&self) -> Option<Widget>;
    fn get_use_underline(&self) -> bool;
    fn select(&self);
    fn set_accel_path<'a, P: Into<Option<&'a str>>>(&self, accel_path: P);
    fn set_label(&self, label: &str);
    fn set_reserve_indicator(&self, reserve: bool);
    fn set_submenu<'a, P: IsA<Menu> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        submenu: Q
    ); fn set_use_underline(&self, setting: bool); fn toggle_size_allocate(&self, allocation: i32); fn toggle_size_request(&self, requisition: &mut i32); fn get_property_right_justified(&self) -> bool; fn set_property_right_justified(&self, right_justified: bool); fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_activate_item<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_deselect<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_select<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_toggle_size_allocate<F: Fn(&Self, i32) + 'static>(
        &self,
        f: F
    ) -> u64; }

Required Methods

Implementors