WebKit2WebExtension.DOMEvent

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

Subclasses:

WebKit2WebExtension.DOMUIEvent

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_bubbles ()

get_cancel_bubble ()

get_cancelable ()

get_current_target ()

get_event_phase ()

get_event_type ()

get_return_value ()

get_src_element ()

get_target ()

get_time_stamp ()

init_event (eventTypeArg, canBubbleArg, cancelableArg)

prevent_default ()

set_cancel_bubble (value)

set_return_value (value)

stop_propagation ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

WebKit2WebExtension.DOMObject (1)

Name

Type

Flags

Short Description

bubbles

bool

r

read-only bool Event:bubbles

cancel-bubble

bool

r/w

read-write bool Event:cancel-bubble

cancelable

bool

r

read-only bool Event:cancelable

current-target

WebKit2WebExtension.DOMEventTarget

r

read-only WebKit2WebExtension.DOMEventTarget Event:current-target

event-phase

int

r

read-only gushort Event:event-phase

return-value

bool

r/w

read-write bool Event:return-value

src-element

WebKit2WebExtension.DOMEventTarget

r

read-only WebKit2WebExtension.DOMEventTarget Event:src-element

target

WebKit2WebExtension.DOMEventTarget

r

read-only WebKit2WebExtension.DOMEventTarget Event:target

time-stamp

int

r

read-only guint32 Event:time-stamp

type

str

r

read-only str Event:type

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

WebKit2WebExtension.DOMObject

r

Class Details

class WebKit2WebExtension.DOMEvent(**kwargs)
Bases:

WebKit2WebExtension.DOMObject

Abstract:

No

Structure:

WebKit2WebExtension.DOMEventClass

get_bubbles()
Returns:

A bool

Return type:

bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_cancel_bubble()
Returns:

A bool

Return type:

bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_cancelable()
Returns:

A bool

Return type:

bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_current_target()
Returns:

A WebKit2WebExtension.DOMEventTarget

Return type:

WebKit2WebExtension.DOMEventTarget

Deprecated since version 2.22: Use JavaScriptCore API instead

get_event_phase()
Returns:

A #gushort

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

get_event_type()
Returns:

A str

Return type:

str

Deprecated since version 2.22: Use JavaScriptCore API instead

get_return_value()
Returns:

A bool

Return type:

bool

Deprecated since version 2.22: Use JavaScriptCore API instead

get_src_element()
Returns:

A WebKit2WebExtension.DOMEventTarget

Return type:

WebKit2WebExtension.DOMEventTarget

Deprecated since version 2.22: Use JavaScriptCore API instead

get_target()
Returns:

A WebKit2WebExtension.DOMEventTarget

Return type:

WebKit2WebExtension.DOMEventTarget

Deprecated since version 2.22: Use JavaScriptCore API instead

get_time_stamp()
Returns:

A #guint32

Return type:

int

Deprecated since version 2.22: Use JavaScriptCore API instead

init_event(eventTypeArg, canBubbleArg, cancelableArg)
Parameters:

Deprecated since version 2.22: Use JavaScriptCore API instead

prevent_default()

Deprecated since version 2.22: Use JavaScriptCore API instead

set_cancel_bubble(value)
Parameters:

value (bool) – A bool

Deprecated since version 2.22: Use JavaScriptCore API instead

set_return_value(value)
Parameters:

value (bool) – A bool

Deprecated since version 2.22: Use JavaScriptCore API instead

stop_propagation()

Deprecated since version 2.22: Use JavaScriptCore API instead

Property Details

WebKit2WebExtension.DOMEvent.props.bubbles
Name:

bubbles

Type:

bool

Default Value:

False

Flags:

READABLE

read-only bool Event:bubbles

WebKit2WebExtension.DOMEvent.props.cancel_bubble
Name:

cancel-bubble

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

read-write bool Event:cancel-bubble

WebKit2WebExtension.DOMEvent.props.cancelable
Name:

cancelable

Type:

bool

Default Value:

False

Flags:

READABLE

read-only bool Event:cancelable

WebKit2WebExtension.DOMEvent.props.current_target
Name:

current-target

Type:

WebKit2WebExtension.DOMEventTarget

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMEventTarget Event:current-target

WebKit2WebExtension.DOMEvent.props.event_phase
Name:

event-phase

Type:

int

Default Value:

0

Flags:

READABLE

read-only gushort Event:event-phase

WebKit2WebExtension.DOMEvent.props.return_value
Name:

return-value

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

read-write bool Event:return-value

WebKit2WebExtension.DOMEvent.props.src_element
Name:

src-element

Type:

WebKit2WebExtension.DOMEventTarget

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMEventTarget Event:src-element

WebKit2WebExtension.DOMEvent.props.target
Name:

target

Type:

WebKit2WebExtension.DOMEventTarget

Default Value:

None

Flags:

READABLE

read-only WebKit2WebExtension.DOMEventTarget Event:target

WebKit2WebExtension.DOMEvent.props.time_stamp
Name:

time-stamp

Type:

int

Default Value:

0

Flags:

READABLE

read-only guint32 Event:time-stamp

WebKit2WebExtension.DOMEvent.props.type
Name:

type

Type:

str

Default Value:

''

Flags:

READABLE

read-only str Event:type