[][src]Trait gtk::AccelGroupExt

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

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

Loading content...

Implementors

impl<O: IsA<AccelGroup>> AccelGroupExt for O[src]

Loading content...