[][src]Trait webkit2gtk_webextension::DOMEventExt

pub trait DOMEventExt: 'static {
    fn get_bubbles(&self) -> bool;
fn get_cancel_bubble(&self) -> bool;
fn get_cancelable(&self) -> bool;
fn get_current_target(&self) -> Option<DOMEventTarget>;
fn get_event_phase(&self) -> c_ushort;
fn get_event_type(&self) -> Option<GString>;
fn get_return_value(&self) -> bool;
fn get_src_element(&self) -> Option<DOMEventTarget>;
fn get_target(&self) -> Option<DOMEventTarget>;
fn get_time_stamp(&self) -> u32;
fn init_event(
        &self,
        eventTypeArg: &str,
        canBubbleArg: bool,
        cancelableArg: bool
    );
fn prevent_default(&self);
fn set_cancel_bubble(&self, value: bool);
fn set_return_value(&self, value: bool);
fn stop_propagation(&self);
fn get_property_type(&self) -> Option<GString>;
fn connect_property_bubbles_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_cancel_bubble_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_cancelable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_current_target_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_event_phase_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_return_value_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_src_element_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_target_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_time_stamp_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_type_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn get_bubbles(&self) -> bool

fn get_cancel_bubble(&self) -> bool

fn get_cancelable(&self) -> bool

fn get_current_target(&self) -> Option<DOMEventTarget>

fn get_event_phase(&self) -> c_ushort

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

fn get_return_value(&self) -> bool

fn get_src_element(&self) -> Option<DOMEventTarget>

fn get_target(&self) -> Option<DOMEventTarget>

fn get_time_stamp(&self) -> u32

fn init_event(
    &self,
    eventTypeArg: &str,
    canBubbleArg: bool,
    cancelableArg: bool
)

fn prevent_default(&self)

fn set_cancel_bubble(&self, value: bool)

fn set_return_value(&self, value: bool)

fn stop_propagation(&self)

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<DOMEvent>> DOMEventExt for O[src]

Loading content...