WebKit2WebExtension.DOMMouseEvent¶
- Subclasses:
Methods¶
- Inherited:
WebKit2WebExtension.DOMUIEvent (9), WebKit2WebExtension.DOMEvent (15), GObject.Object (37)
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
WebKit2WebExtension.DOMUIEvent (8), WebKit2WebExtension.DOMEvent (10), WebKit2WebExtension.DOMObject (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
read-only |
||
r |
read-only gushort MouseEvent:button |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
||
r |
read-only |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class WebKit2WebExtension.DOMMouseEvent(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- get_alt_key()¶
-
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_button()¶
- Returns:
A #gushort
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_client_x()¶
-
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_client_y()¶
-
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_ctrl_key()¶
-
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_from_element()¶
- Returns:
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_meta_key()¶
-
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_offset_x()¶
-
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_offset_y()¶
-
Deprecated since version 2.22: Use JavaScriptCore API instead
- Returns:
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_screen_x()¶
-
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_screen_y()¶
-
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_shift_key()¶
-
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_to_element()¶
- Returns:
- Return type:
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_x()¶
-
Deprecated since version 2.22: Use JavaScriptCore API instead
- get_y()¶
-
Deprecated since version 2.22: Use JavaScriptCore API instead
- init_mouse_event(type, canBubble, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget)¶
- Parameters:
view (
WebKit2WebExtension.DOMDOMWindow
) – AWebKit2WebExtension.DOMDOMWindow
button (
int
) – A #gushortrelatedTarget (
WebKit2WebExtension.DOMEventTarget
) – AWebKit2WebExtension.DOMEventTarget
Deprecated since version 2.22: Use JavaScriptCore API instead
Property Details¶
- WebKit2WebExtension.DOMMouseEvent.props.button¶
-
read-only gushort MouseEvent:button
- WebKit2WebExtension.DOMMouseEvent.props.client_x¶
- Name:
client-x
- Type:
- Default Value:
0
- Flags:
read-only
int
MouseEvent:client-x
- WebKit2WebExtension.DOMMouseEvent.props.client_y¶
- Name:
client-y
- Type:
- Default Value:
0
- Flags:
read-only
int
MouseEvent:client-y
- WebKit2WebExtension.DOMMouseEvent.props.from_element¶
- Name:
from-element
- Type:
- Default Value:
- Flags:
read-only
WebKit2WebExtension.DOMNode
MouseEvent:from-element
- WebKit2WebExtension.DOMMouseEvent.props.offset_x¶
- Name:
offset-x
- Type:
- Default Value:
0
- Flags:
read-only
int
MouseEvent:offset-x
- WebKit2WebExtension.DOMMouseEvent.props.offset_y¶
- Name:
offset-y
- Type:
- Default Value:
0
- Flags:
read-only
int
MouseEvent:offset-y
- Name:
related-target
- Type:
- Default Value:
- Flags:
read-only
WebKit2WebExtension.DOMEventTarget
MouseEvent:related-target
- WebKit2WebExtension.DOMMouseEvent.props.screen_x¶
- Name:
screen-x
- Type:
- Default Value:
0
- Flags:
read-only
int
MouseEvent:screen-x
- WebKit2WebExtension.DOMMouseEvent.props.screen_y¶
- Name:
screen-y
- Type:
- Default Value:
0
- Flags:
read-only
int
MouseEvent:screen-y
- WebKit2WebExtension.DOMMouseEvent.props.to_element¶
- Name:
to-element
- Type:
- Default Value:
- Flags:
read-only
WebKit2WebExtension.DOMNode
MouseEvent:to-element