Trait gtk::AccelGroupExt [−][src]
pub trait AccelGroupExt { fn activate<P: IsA<Object>>(
&self,
accel_quark: Quark,
acceleratable: &P,
accel_key: u32,
accel_mods: ModifierType
) -> bool; fn connect(
&self,
accel_key: u32,
accel_mods: ModifierType,
accel_flags: AccelFlags,
closure: &Closure
); fn connect_by_path(&self, accel_path: &str, closure: &Closure); fn disconnect<'a, P: Into<Option<&'a Closure>>>(&self, closure: P) -> bool; fn disconnect_key(&self, accel_key: u32, accel_mods: ModifierType) -> bool; fn get_is_locked(&self) -> bool; fn get_modifier_mask(&self) -> ModifierType; fn lock(&self); fn unlock(&self); fn connect_accel_activate<F: Fn(&Self, &Object, u32, ModifierType) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_accel_changed<F: Fn(&Self, u32, ModifierType, &Closure) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_is_locked_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_modifier_mask_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Required Methods
fn activate<P: IsA<Object>>(
&self,
accel_quark: Quark,
acceleratable: &P,
accel_key: u32,
accel_mods: ModifierType
) -> bool
&self,
accel_quark: Quark,
acceleratable: &P,
accel_key: u32,
accel_mods: ModifierType
) -> bool
fn connect(
&self,
accel_key: u32,
accel_mods: ModifierType,
accel_flags: AccelFlags,
closure: &Closure
)
&self,
accel_key: u32,
accel_mods: ModifierType,
accel_flags: AccelFlags,
closure: &Closure
)
fn connect_by_path(&self, accel_path: &str, closure: &Closure)
fn disconnect<'a, P: Into<Option<&'a Closure>>>(&self, closure: P) -> bool
fn disconnect_key(&self, accel_key: u32, accel_mods: ModifierType) -> bool
fn get_is_locked(&self) -> bool
fn get_modifier_mask(&self) -> ModifierType
fn lock(&self)
fn unlock(&self)
fn connect_accel_activate<F: Fn(&Self, &Object, u32, ModifierType) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_accel_changed<F: Fn(&Self, u32, ModifierType, &Closure) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_is_locked_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_modifier_mask_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<AccelGroup> + IsA<Object>> AccelGroupExt for O