WebKit2WebExtension.DOMMouseEvent

g GObject.Object GObject.Object WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMObject GObject.Object->WebKit2WebExtension.DOMObject WebKit2WebExtension.DOMEvent WebKit2WebExtension.DOMEvent WebKit2WebExtension.DOMUIEvent WebKit2WebExtension.DOMUIEvent WebKit2WebExtension.DOMEvent->WebKit2WebExtension.DOMUIEvent WebKit2WebExtension.DOMMouseEvent WebKit2WebExtension.DOMMouseEvent WebKit2WebExtension.DOMObject->WebKit2WebExtension.DOMEvent WebKit2WebExtension.DOMUIEvent->WebKit2WebExtension.DOMMouseEvent

Subclasses:

WebKit2WebExtension.DOMWheelEvent

Methods

Inherited:

WebKit2WebExtension.DOMUIEvent (9), WebKit2WebExtension.DOMEvent (15), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_alt_key ()

get_button ()

get_client_x ()

get_client_y ()

get_ctrl_key ()

get_from_element ()

get_meta_key ()

get_offset_x ()

get_offset_y ()

get_related_target ()

get_screen_x ()

get_screen_y ()

get_shift_key ()

get_to_element ()

get_x ()

get_y ()

init_mouse_event (type, canBubble, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

WebKit2WebExtension.DOMUIEvent (8), WebKit2WebExtension.DOMEvent (10), WebKit2WebExtension.DOMObject (1)

Name

Type

Flags

Short Description

alt-key

bool

r

read-only bool MouseEvent:alt-key

button

int

r

read-only gushort MouseEvent:button

client-x

r

read-only int MouseEvent:client-x

client-y

r

read-only int MouseEvent:client-y

ctrl-key

bool

r

read-only bool MouseEvent:ctrl-key

from-element

WebKit2WebExtension.DOMNode

r

read-only WebKit2WebExtension.DOMNode MouseEvent:from-element

meta-key

bool

r

read-only bool MouseEvent:meta-key

offset-x

r

read-only int MouseEvent:offset-x

offset-y

r

read-only int MouseEvent:offset-y

related-target

WebKit2WebExtension.DOMEventTarget

r

read-only WebKit2WebExtension.DOMEventTarget MouseEvent:related-target

screen-x

r

read-only int MouseEvent:screen-x

screen-y

r

read-only int MouseEvent:screen-y

shift-key

bool

r

read-only bool MouseEvent:shift-key

to-element

WebKit2WebExtension.DOMNode

r

read-only WebKit2WebExtension.DOMNode MouseEvent:to-element

x

r

read-only int MouseEvent:x

y

r

read-only int MouseEvent:y

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

WebKit2WebExtension.DOMUIEvent

r

Class Details

class WebKit2WebExtension.DOMMouseEvent(**kwargs)
Bases:

WebKit2WebExtension.DOMUIEvent

Abstract:

No

Structure:

WebKit2WebExtension.DOMMouseEventClass

get_alt_key()
Returns:

A bool

Return type:

bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_button()
Returns:

A #gushort

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_client_x()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_client_y()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_ctrl_key()
Returns:

A bool

Return type:

bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_from_element()
Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

get_meta_key()
Returns:

A bool

Return type:

bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_offset_x()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_offset_y()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

Returns:

A WebKit2WebExtension.DOMEventTarget

Return type:

WebKit2WebExtension.DOMEventTarget

Deprecated since version 2.22: Use JavaScriptCore API instead

get_screen_x()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_screen_y()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_shift_key()
Returns:

A bool

Return type:

bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_to_element()
Returns:

A WebKit2WebExtension.DOMNode

Return type:

WebKit2WebExtension.DOMNode

Deprecated since version 2.22: Use JavaScriptCore API instead

get_x()
Returns:

A int

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_y()
Returns:

A int

Return type:

int

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:

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMMouseEvent.props.alt_key
Name:

alt-key

Type:

bool

Default Value:

False

Flags:

READABLE

read-only bool MouseEvent:alt-key

WebKit2WebExtension.DOMMouseEvent.props.button
Name:

button

Type:

int

Default Value:

0

Flags:

READABLE

read-only gushort MouseEvent:button

WebKit2WebExtension.DOMMouseEvent.props.client_x
Name:

client-x

Type:

Default Value:

0

Flags:

READABLE

read-only int MouseEvent:client-x

WebKit2WebExtension.DOMMouseEvent.props.client_y
Name:

client-y

Type:

Default Value:

0

Flags:

READABLE

read-only int MouseEvent:client-y

WebKit2WebExtension.DOMMouseEvent.props.ctrl_key
Name:

ctrl-key

Type:

bool

Default Value:

False

Flags:

READABLE

read-only bool MouseEvent:ctrl-key

WebKit2WebExtension.DOMMouseEvent.props.from_element
Name:

from-element

Type:

WebKit2WebExtension.DOMNode

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMNode MouseEvent:from-element

WebKit2WebExtension.DOMMouseEvent.props.meta_key
Name:

meta-key

Type:

bool

Default Value:

False

Flags:

READABLE

read-only bool MouseEvent:meta-key

WebKit2WebExtension.DOMMouseEvent.props.offset_x
Name:

offset-x

Type:

Default Value:

0

Flags:

READABLE

read-only int MouseEvent:offset-x

WebKit2WebExtension.DOMMouseEvent.props.offset_y
Name:

offset-y

Type:

Default Value:

0

Flags:

READABLE

read-only int MouseEvent:offset-y

WebKit2WebExtension.DOMMouseEvent.props.related_target
Name:

related-target

Type:

WebKit2WebExtension.DOMEventTarget

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMEventTarget MouseEvent:related-target

WebKit2WebExtension.DOMMouseEvent.props.screen_x
Name:

screen-x

Type:

Default Value:

0

Flags:

READABLE

read-only int MouseEvent:screen-x

WebKit2WebExtension.DOMMouseEvent.props.screen_y
Name:

screen-y

Type:

Default Value:

0

Flags:

READABLE

read-only int MouseEvent:screen-y

WebKit2WebExtension.DOMMouseEvent.props.shift_key
Name:

shift-key

Type:

bool

Default Value:

False

Flags:

READABLE

read-only bool MouseEvent:shift-key

WebKit2WebExtension.DOMMouseEvent.props.to_element
Name:

to-element

Type:

WebKit2WebExtension.DOMNode

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMNode MouseEvent:to-element

WebKit2WebExtension.DOMMouseEvent.props.x
Name:

x

Type:

Default Value:

0

Flags:

READABLE

read-only int MouseEvent:x

WebKit2WebExtension.DOMMouseEvent.props.y
Name:

y

Type:

Default Value:

0

Flags:

READABLE

read-only int MouseEvent:y