[][src]Trait gtk::GtkMenuItemExt

pub trait GtkMenuItemExt: 'static {
    fn deselect(&self);
fn get_accel_path(&self) -> Option<GString>;
fn get_label(&self) -> Option<GString>;
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(&self, accel_path: Option<&str>);
fn set_label(&self, label: &str);
fn set_reserve_indicator(&self, reserve: bool);
fn set_submenu<P: IsA<Menu>>(&self, submenu: Option<&P>);
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) -> SignalHandlerId;
fn emit_activate(&self);
fn connect_activate_item<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_deselect<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_select<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_toggle_size_allocate<F: Fn(&Self, i32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_accel_path_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_label_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_right_justified_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_submenu_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_use_underline_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn deselect(&self)

fn get_accel_path(&self) -> Option<GString>

fn get_label(&self) -> Option<GString>

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(&self, accel_path: Option<&str>)

fn set_label(&self, label: &str)

fn set_reserve_indicator(&self, reserve: bool)

fn set_submenu<P: IsA<Menu>>(&self, submenu: Option<&P>)

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) -> SignalHandlerId

fn emit_activate(&self)

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<MenuItem>> GtkMenuItemExt for O[src]

Loading content...