WebKitDOMEvent

WebKitDOMEvent

Functions

Properties

gboolean bubbles Read
gboolean cancel-bubble Read / Write
gboolean cancelable Read
WebKitDOMEventTarget * current-target Read
guint event-phase Read
gboolean return-value Read / Write
WebKitDOMEventTarget * src-element Read
WebKitDOMEventTarget * target Read
guint time-stamp Read
gchar * type Read

Types and Values

Object Hierarchy

    GObject
    ╰── WebKitDOMObject
        ╰── WebKitDOMEvent
            ╰── WebKitDOMUIEvent

Description

Functions

webkit_dom_event_stop_propagation ()

void
webkit_dom_event_stop_propagation (WebKitDOMEvent *self);

webkit_dom_event_stop_propagation has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

webkit_dom_event_prevent_default ()

void
webkit_dom_event_prevent_default (WebKitDOMEvent *self);

webkit_dom_event_prevent_default has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

webkit_dom_event_init_event ()

void
webkit_dom_event_init_event (WebKitDOMEvent *self,
                             const gchar *eventTypeArg,
                             gboolean canBubbleArg,
                             gboolean cancelableArg);

webkit_dom_event_init_event has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

eventTypeArg

A gchar

 

canBubbleArg

A gboolean

 

cancelableArg

A gboolean

 

webkit_dom_event_get_event_type ()

gchar *
webkit_dom_event_get_event_type (WebKitDOMEvent *self);

webkit_dom_event_get_event_type has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

Returns

A gchar


webkit_dom_event_get_target ()

WebKitDOMEventTarget *
webkit_dom_event_get_target (WebKitDOMEvent *self);

webkit_dom_event_get_target has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

Returns

A WebKitDOMEventTarget.

[transfer full]


webkit_dom_event_get_current_target ()

WebKitDOMEventTarget *
webkit_dom_event_get_current_target (WebKitDOMEvent *self);

webkit_dom_event_get_current_target has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

Returns

A WebKitDOMEventTarget.

[transfer full]


webkit_dom_event_get_event_phase ()

gushort
webkit_dom_event_get_event_phase (WebKitDOMEvent *self);

webkit_dom_event_get_event_phase has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

Returns

A gushort


webkit_dom_event_get_bubbles ()

gboolean
webkit_dom_event_get_bubbles (WebKitDOMEvent *self);

webkit_dom_event_get_bubbles has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

Returns

A gboolean


webkit_dom_event_get_cancelable ()

gboolean
webkit_dom_event_get_cancelable (WebKitDOMEvent *self);

webkit_dom_event_get_cancelable has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

Returns

A gboolean


webkit_dom_event_get_time_stamp ()

guint32
webkit_dom_event_get_time_stamp (WebKitDOMEvent *self);

webkit_dom_event_get_time_stamp has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

Returns

A guint32


webkit_dom_event_get_src_element ()

WebKitDOMEventTarget *
webkit_dom_event_get_src_element (WebKitDOMEvent *self);

webkit_dom_event_get_src_element has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

Returns

A WebKitDOMEventTarget.

[transfer full]


webkit_dom_event_get_return_value ()

gboolean
webkit_dom_event_get_return_value (WebKitDOMEvent *self);

webkit_dom_event_get_return_value has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

Returns

A gboolean


webkit_dom_event_set_return_value ()

void
webkit_dom_event_set_return_value (WebKitDOMEvent *self,
                                   gboolean value);

webkit_dom_event_set_return_value has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

value

A gboolean

 

webkit_dom_event_get_cancel_bubble ()

gboolean
webkit_dom_event_get_cancel_bubble (WebKitDOMEvent *self);

webkit_dom_event_get_cancel_bubble has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

Returns

A gboolean


webkit_dom_event_set_cancel_bubble ()

void
webkit_dom_event_set_cancel_bubble (WebKitDOMEvent *self,
                                    gboolean value);

webkit_dom_event_set_cancel_bubble has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Parameters

self

A WebKitDOMEvent

 

value

A gboolean

 

Types and Values

struct WebKitDOMEvent

struct WebKitDOMEvent;

WebKitDOMEvent is deprecated and should not be used in newly-written code.


WEBKIT_DOM_EVENT_NONE

#define WEBKIT_DOM_EVENT_NONE 0

WEBKIT_DOM_EVENT_NONE has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_CAPTURING_PHASE

#define WEBKIT_DOM_EVENT_CAPTURING_PHASE 1

WEBKIT_DOM_EVENT_CAPTURING_PHASE has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_AT_TARGET

#define WEBKIT_DOM_EVENT_AT_TARGET 2

WEBKIT_DOM_EVENT_AT_TARGET has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_BUBBLING_PHASE

#define WEBKIT_DOM_EVENT_BUBBLING_PHASE 3

WEBKIT_DOM_EVENT_BUBBLING_PHASE has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_MOUSEDOWN

#define WEBKIT_DOM_EVENT_MOUSEDOWN 1

WEBKIT_DOM_EVENT_MOUSEDOWN has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_MOUSEUP

#define WEBKIT_DOM_EVENT_MOUSEUP 2

WEBKIT_DOM_EVENT_MOUSEUP has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_MOUSEOVER

#define WEBKIT_DOM_EVENT_MOUSEOVER 4

WEBKIT_DOM_EVENT_MOUSEOVER has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_MOUSEOUT

#define WEBKIT_DOM_EVENT_MOUSEOUT 8

WEBKIT_DOM_EVENT_MOUSEOUT has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_MOUSEMOVE

#define WEBKIT_DOM_EVENT_MOUSEMOVE 16

WEBKIT_DOM_EVENT_MOUSEMOVE has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_MOUSEDRAG

#define WEBKIT_DOM_EVENT_MOUSEDRAG 32

WEBKIT_DOM_EVENT_MOUSEDRAG has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_CLICK

#define WEBKIT_DOM_EVENT_CLICK 64

WEBKIT_DOM_EVENT_CLICK has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_DBLCLICK

#define WEBKIT_DOM_EVENT_DBLCLICK 128

WEBKIT_DOM_EVENT_DBLCLICK has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_KEYDOWN

#define WEBKIT_DOM_EVENT_KEYDOWN 256

WEBKIT_DOM_EVENT_KEYDOWN has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_KEYUP

#define WEBKIT_DOM_EVENT_KEYUP 512

WEBKIT_DOM_EVENT_KEYUP has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_KEYPRESS

#define WEBKIT_DOM_EVENT_KEYPRESS 1024

WEBKIT_DOM_EVENT_KEYPRESS has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_DRAGDROP

#define WEBKIT_DOM_EVENT_DRAGDROP 2048

WEBKIT_DOM_EVENT_DRAGDROP has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_FOCUS

#define WEBKIT_DOM_EVENT_FOCUS 4096

WEBKIT_DOM_EVENT_FOCUS has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_BLUR

#define WEBKIT_DOM_EVENT_BLUR 8192

WEBKIT_DOM_EVENT_BLUR has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_SELECT

#define WEBKIT_DOM_EVENT_SELECT 16384

WEBKIT_DOM_EVENT_SELECT has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead


WEBKIT_DOM_EVENT_CHANGE

#define WEBKIT_DOM_EVENT_CHANGE 32768

WEBKIT_DOM_EVENT_CHANGE has been deprecated since version 2.22 and should not be used in newly-written code.

Use JavaScriptCore API instead

Property Details

The “bubbles” property

  “bubbles”                  gboolean

read-only gboolean Event:bubbles.

Flags: Read

Default value: FALSE


The “cancel-bubble” property

  “cancel-bubble”            gboolean

read-write gboolean Event:cancel-bubble.

Flags: Read / Write

Default value: FALSE


The “cancelable” property

  “cancelable”               gboolean

read-only gboolean Event:cancelable.

Flags: Read

Default value: FALSE


The “current-target” property

  “current-target”           WebKitDOMEventTarget *

read-only WebKitDOMEventTarget* Event:current-target.

Flags: Read


The “event-phase” property

  “event-phase”              guint

read-only gushort Event:event-phase.

Flags: Read

Default value: 0


The “return-value” property

  “return-value”             gboolean

read-write gboolean Event:return-value.

Flags: Read / Write

Default value: FALSE


The “src-element” property

  “src-element”              WebKitDOMEventTarget *

read-only WebKitDOMEventTarget* Event:src-element.

Flags: Read


The “target” property

  “target”                   WebKitDOMEventTarget *

read-only WebKitDOMEventTarget* Event:target.

Flags: Read


The “time-stamp” property

  “time-stamp”               guint

read-only guint32 Event:time-stamp.

Flags: Read

Default value: 0


The “type” property

  “type”                     gchar *

read-only gchar* Event:type.

Flags: Read

Default value: ""