Trait webkit2gtk_webextension::DOMKeyboardEventExt [−][src]
pub trait DOMKeyboardEventExt { 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<String>; 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(
&self,
type_: &str,
canBubble: bool,
cancelable: bool,
view: &DOMDOMWindow,
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<String>
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(
&self,
type_: &str,
canBubble: bool,
cancelable: bool,
view: &DOMDOMWindow,
keyIdentifier: &str,
location: c_ulong,
ctrlKey: bool,
altKey: bool,
shiftKey: bool,
metaKey: bool,
altGraphKey: bool
)
&self,
type_: &str,
canBubble: bool,
cancelable: bool,
view: &DOMDOMWindow,
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
&self,
f: F
) -> SignalHandlerId
fn connect_property_alt_key_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_ctrl_key_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_key_identifier_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_key_location_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_meta_key_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_shift_key_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<DOMKeyboardEvent> + IsA<Object>> DOMKeyboardEventExt for O