pub trait ShortcutTriggerExt: 'static {
    // Required methods
    fn to_label(&self, display: &impl IsA<Display>) -> GString;
    fn to_str(&self) -> GString;
    fn trigger(
        &self,
        event: impl AsRef<Event>,
        enable_mnemonics: bool
    ) -> KeyMatch;
}

Required Methods§

source

fn to_label(&self, display: &impl IsA<Display>) -> GString

source

fn to_str(&self) -> GString

source

fn trigger(&self, event: impl AsRef<Event>, enable_mnemonics: bool) -> KeyMatch

Implementors§