Trait webkit2gtk_webextension::DOMMouseEventExt[][src]

pub trait DOMMouseEventExt {
    fn get_alt_key(&self) -> bool;
fn get_button(&self) -> c_ushort;
fn get_client_x(&self) -> c_long;
fn get_client_y(&self) -> c_long;
fn get_ctrl_key(&self) -> bool;
fn get_from_element(&self) -> Option<DOMNode>;
fn get_meta_key(&self) -> bool;
fn get_offset_x(&self) -> c_long;
fn get_offset_y(&self) -> c_long;
fn get_related_target(&self) -> Option<DOMEventTarget>;
fn get_screen_x(&self) -> c_long;
fn get_screen_y(&self) -> c_long;
fn get_shift_key(&self) -> bool;
fn get_to_element(&self) -> Option<DOMNode>;
fn get_x(&self) -> c_long;
fn get_y(&self) -> c_long;
fn init_mouse_event<P: IsA<DOMEventTarget>>(
        &self,
        type_: &str,
        canBubble: bool,
        cancelable: bool,
        view: &DOMDOMWindow,
        detail: c_long,
        screenX: c_long,
        screenY: c_long,
        clientX: c_long,
        clientY: c_long,
        ctrlKey: bool,
        altKey: bool,
        shiftKey: bool,
        metaKey: bool,
        button: c_ushort,
        relatedTarget: &P
    );
fn connect_property_alt_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_button_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_client_x_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_client_y_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_from_element_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_offset_x_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_offset_y_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_related_target_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_screen_x_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_screen_y_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_shift_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_to_element_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_x_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_y_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required Methods

Implementors