pub trait AccelGroupExt: 'static {
fn activate<P: IsA<Object>>(
&self,
accel_quark: Quark,
acceleratable: &P,
accel_key: u32,
accel_mods: ModifierType
) -> bool;
fn disconnect(&self, closure: Option<&Closure>) -> bool;
fn disconnect_key(&self, accel_key: u32, accel_mods: ModifierType) -> bool;
fn is_locked(&self) -> bool;
fn modifier_mask(&self) -> ModifierType;
fn lock(&self);
fn unlock(&self);
fn connect_accel_activate<F: Fn(&Self, &Object, u32, ModifierType) -> bool + 'static>(
&self,
detail: Option<&str>,
f: F
) -> SignalHandlerId;
fn connect_accel_changed<F: Fn(&Self, u32, ModifierType, &Closure) + 'static>(
&self,
detail: Option<&str>,
f: F
) -> SignalHandlerId;
fn connect_is_locked_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_modifier_mask_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}