pub trait DOMKeyboardEventExt: 'static {
Show 16 methods fn is_alt_graph_key(&self) -> bool; fn is_alt_key(&self) -> bool; fn is_ctrl_key(&self) -> bool; fn key_identifier(&self) -> Option<GString>; fn key_location(&self) -> c_ulong; fn is_meta_key(&self) -> bool; fn is_modifier_state(&self, keyIdentifierArg: &str) -> bool; fn is_shift_key(&self) -> bool; fn init_keyboard_event(
        &self,
        type_: &str,
        canBubble: bool,
        cancelable: bool,
        view: &impl IsA<DOMDOMWindow>,
        keyIdentifier: &str,
        location: c_ulong,
        ctrlKey: bool,
        altKey: bool,
        shiftKey: bool,
        metaKey: bool,
        altGraphKey: bool
    ); fn connect_alt_graph_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_alt_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_ctrl_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_key_identifier_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_key_location_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_meta_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_shift_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}
Expand description

Trait containing all DOMKeyboardEvent methods.

Implementors

DOMKeyboardEvent

Required Methods

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gboolean

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gboolean

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gboolean

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gchar

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gulong

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gboolean

Deprecated since 2.22

Use JavaScriptCore API instead

keyIdentifierArg

A gchar

Returns

A gboolean

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gboolean

Deprecated since 2.22

Use JavaScriptCore API instead

type_

A gchar

canBubble

A gboolean

cancelable

A gboolean

view

A DOMDOMWindow

keyIdentifier

A gchar

location

A gulong

ctrlKey

A gboolean

altKey

A gboolean

shiftKey

A gboolean

metaKey

A gboolean

altGraphKey

A gboolean

Implementors