[][src]Trait webkit2gtk_webextension::DOMKeyboardEventExt

pub trait DOMKeyboardEventExt: 'static {
    fn get_alt_graph_key(&self) -> bool;
fn get_alt_key(&self) -> bool;
fn get_ctrl_key(&self) -> bool;
fn get_key_identifier(&self) -> Option<GString>;
fn get_key_location(&self) -> c_ulong;
fn get_meta_key(&self) -> bool;
fn get_modifier_state(&self, keyIdentifierArg: &str) -> bool;
fn get_shift_key(&self) -> bool;
fn init_keyboard_event<P: IsA<DOMDOMWindow>>(
        &self,
        type_: &str,
        canBubble: bool,
        cancelable: bool,
        view: &P,
        keyIdentifier: &str,
        location: c_ulong,
        ctrlKey: bool,
        altKey: bool,
        shiftKey: bool,
        metaKey: bool,
        altGraphKey: bool
    );
fn connect_property_alt_graph_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_alt_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_ctrl_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_key_identifier_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_key_location_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_meta_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_shift_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn get_alt_graph_key(&self) -> bool

fn get_alt_key(&self) -> bool

fn get_ctrl_key(&self) -> bool

fn get_key_identifier(&self) -> Option<GString>

fn get_key_location(&self) -> c_ulong

fn get_meta_key(&self) -> bool

fn get_modifier_state(&self, keyIdentifierArg: &str) -> bool

fn get_shift_key(&self) -> bool

fn init_keyboard_event<P: IsA<DOMDOMWindow>>(
    &self,
    type_: &str,
    canBubble: bool,
    cancelable: bool,
    view: &P,
    keyIdentifier: &str,
    location: c_ulong,
    ctrlKey: bool,
    altKey: bool,
    shiftKey: bool,
    metaKey: bool,
    altGraphKey: bool
)

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

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<DOMKeyboardEvent>> DOMKeyboardEventExt for O[src]

Loading content...