pub trait DOMWheelEventExt: 'static {
fn wheel_delta(&self) -> c_long;
fn wheel_delta_x(&self) -> c_long;
fn wheel_delta_y(&self) -> c_long;
fn init_wheel_event(
&self,
wheelDeltaX: c_long,
wheelDeltaY: c_long,
view: &impl IsA<DOMDOMWindow>,
screenX: c_long,
screenY: c_long,
clientX: c_long,
clientY: c_long,
ctrlKey: bool,
altKey: bool,
shiftKey: bool,
metaKey: bool
);
fn connect_wheel_delta_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_wheel_delta_x_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_wheel_delta_y_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Expand description
Required Methods
sourcefn wheel_delta(&self) -> c_long
fn wheel_delta(&self) -> c_long
sourcefn wheel_delta_x(&self) -> c_long
fn wheel_delta_x(&self) -> c_long
sourcefn wheel_delta_y(&self) -> c_long
fn wheel_delta_y(&self) -> c_long
sourcefn init_wheel_event(
&self,
wheelDeltaX: c_long,
wheelDeltaY: c_long,
view: &impl IsA<DOMDOMWindow>,
screenX: c_long,
screenY: c_long,
clientX: c_long,
clientY: c_long,
ctrlKey: bool,
altKey: bool,
shiftKey: bool,
metaKey: bool
)
fn init_wheel_event(
&self,
wheelDeltaX: c_long,
wheelDeltaY: c_long,
view: &impl IsA<DOMDOMWindow>,
screenX: c_long,
screenY: c_long,
clientX: c_long,
clientY: c_long,
ctrlKey: bool,
altKey: bool,
shiftKey: bool,
metaKey: bool
)
Deprecated since 2.22
Use JavaScriptCore API instead
wheelDeltaX
A glong
wheelDeltaY
A glong
view
screenX
A glong
screenY
A glong
clientX
A glong
clientY
A glong
ctrlKey
A gboolean
altKey
A gboolean
shiftKey
A gboolean
metaKey
A gboolean