Trait AccelGroupExt

Source
pub trait AccelGroupExt: 'static {
Show 13 methods // Required methods 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(&self, closure: Option<&Closure>) -> 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§

Source

fn activate<P: IsA<Object>>( &self, accel_quark: Quark, acceleratable: &P, accel_key: u32, accel_mods: ModifierType, ) -> bool

Source

fn connect( &self, accel_key: u32, accel_mods: ModifierType, accel_flags: AccelFlags, closure: &Closure, )

Source

fn connect_by_path(&self, accel_path: &str, closure: &Closure)

Source

fn disconnect(&self, closure: Option<&Closure>) -> bool

Source

fn disconnect_key(&self, accel_key: u32, accel_mods: ModifierType) -> bool

Source

fn get_is_locked(&self) -> bool

Source

fn get_modifier_mask(&self) -> ModifierType

Source

fn lock(&self)

Source

fn unlock(&self)

Source

fn connect_accel_activate<F: Fn(&Self, &Object, u32, ModifierType) -> bool + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_accel_changed<F: Fn(&Self, u32, ModifierType, &Closure) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§