Trait gtk::CheckMenuItemExt
source · [−]pub trait CheckMenuItemExt: 'static {
fn get_active(&self) -> bool;
fn get_draw_as_radio(&self) -> bool;
fn get_inconsistent(&self) -> bool;
fn set_active(&self, is_active: bool);
fn set_draw_as_radio(&self, draw_as_radio: bool);
fn set_inconsistent(&self, setting: bool);
fn toggled(&self);
fn connect_toggled<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_property_active_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_draw_as_radio_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_inconsistent_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required Methods
source
fn get_active(&self) -> bool
source
fn get_draw_as_radio(&self) -> bool
source
fn get_inconsistent(&self) -> bool
source
fn set_active(&self, is_active: bool)
source
fn set_draw_as_radio(&self, draw_as_radio: bool)
source
fn set_inconsistent(&self, setting: bool)
source
fn connect_toggled<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_property_active_notify<F: Fn(&Self) + 'static>(
fn connect_property_active_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_draw_as_radio_notify<F: Fn(&Self) + 'static>(
fn connect_property_draw_as_radio_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_inconsistent_notify<F: Fn(&Self) + 'static>(