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);

Parameters

self

A WebKitDOMEvent

 

webkit_dom_event_prevent_default ()

void
webkit_dom_event_prevent_default (WebKitDOMEvent *self);

Parameters

self

A WebKitDOMEvent

 

webkit_dom_event_init_event ()

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

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);

Parameters

self

A WebKitDOMEvent

 

Returns

A gchar


webkit_dom_event_get_target ()

WebKitDOMEventTarget *
webkit_dom_event_get_target (WebKitDOMEvent *self);

Parameters

self

A WebKitDOMEvent

 

Returns

A WebKitDOMEventTarget.

[transfer full]


webkit_dom_event_get_current_target ()

WebKitDOMEventTarget *
webkit_dom_event_get_current_target (WebKitDOMEvent *self);

Parameters

self

A WebKitDOMEvent

 

Returns

A WebKitDOMEventTarget.

[transfer full]


webkit_dom_event_get_event_phase ()

gushort
webkit_dom_event_get_event_phase (WebKitDOMEvent *self);

Parameters

self

A WebKitDOMEvent

 

Returns

A gushort


webkit_dom_event_get_bubbles ()

gboolean
webkit_dom_event_get_bubbles (WebKitDOMEvent *self);

Parameters

self

A WebKitDOMEvent

 

Returns

A gboolean


webkit_dom_event_get_cancelable ()

gboolean
webkit_dom_event_get_cancelable (WebKitDOMEvent *self);

Parameters

self

A WebKitDOMEvent

 

Returns

A gboolean


webkit_dom_event_get_time_stamp ()

guint32
webkit_dom_event_get_time_stamp (WebKitDOMEvent *self);

Parameters

self

A WebKitDOMEvent

 

Returns

A guint32


webkit_dom_event_get_src_element ()

WebKitDOMEventTarget *
webkit_dom_event_get_src_element (WebKitDOMEvent *self);

Parameters

self

A WebKitDOMEvent

 

Returns

A WebKitDOMEventTarget.

[transfer full]


webkit_dom_event_get_return_value ()

gboolean
webkit_dom_event_get_return_value (WebKitDOMEvent *self);

Parameters

self

A WebKitDOMEvent

 

Returns

A gboolean


webkit_dom_event_set_return_value ()

void
webkit_dom_event_set_return_value (WebKitDOMEvent *self,
                                   gboolean value);

Parameters

self

A WebKitDOMEvent

 

value

A gboolean

 

webkit_dom_event_get_cancel_bubble ()

gboolean
webkit_dom_event_get_cancel_bubble (WebKitDOMEvent *self);

Parameters

self

A WebKitDOMEvent

 

Returns

A gboolean


webkit_dom_event_set_cancel_bubble ()

void
webkit_dom_event_set_cancel_bubble (WebKitDOMEvent *self,
                                    gboolean value);

Parameters

self

A WebKitDOMEvent

 

value

A gboolean

 

Types and Values

struct WebKitDOMEvent

struct WebKitDOMEvent;

WEBKIT_DOM_EVENT_NONE

#define WEBKIT_DOM_EVENT_NONE 0

WEBKIT_DOM_EVENT_CAPTURING_PHASE

#define WEBKIT_DOM_EVENT_CAPTURING_PHASE 1

WEBKIT_DOM_EVENT_AT_TARGET

#define WEBKIT_DOM_EVENT_AT_TARGET 2

WEBKIT_DOM_EVENT_BUBBLING_PHASE

#define WEBKIT_DOM_EVENT_BUBBLING_PHASE 3

WEBKIT_DOM_EVENT_MOUSEDOWN

#define WEBKIT_DOM_EVENT_MOUSEDOWN 1

WEBKIT_DOM_EVENT_MOUSEUP

#define WEBKIT_DOM_EVENT_MOUSEUP 2

WEBKIT_DOM_EVENT_MOUSEOVER

#define WEBKIT_DOM_EVENT_MOUSEOVER 4

WEBKIT_DOM_EVENT_MOUSEOUT

#define WEBKIT_DOM_EVENT_MOUSEOUT 8

WEBKIT_DOM_EVENT_MOUSEMOVE

#define WEBKIT_DOM_EVENT_MOUSEMOVE 16

WEBKIT_DOM_EVENT_MOUSEDRAG

#define WEBKIT_DOM_EVENT_MOUSEDRAG 32

WEBKIT_DOM_EVENT_CLICK

#define WEBKIT_DOM_EVENT_CLICK 64

WEBKIT_DOM_EVENT_DBLCLICK

#define WEBKIT_DOM_EVENT_DBLCLICK 128

WEBKIT_DOM_EVENT_KEYDOWN

#define WEBKIT_DOM_EVENT_KEYDOWN 256

WEBKIT_DOM_EVENT_KEYUP

#define WEBKIT_DOM_EVENT_KEYUP 512

WEBKIT_DOM_EVENT_KEYPRESS

#define WEBKIT_DOM_EVENT_KEYPRESS 1024

WEBKIT_DOM_EVENT_DRAGDROP

#define WEBKIT_DOM_EVENT_DRAGDROP 2048

WEBKIT_DOM_EVENT_FOCUS

#define WEBKIT_DOM_EVENT_FOCUS 4096

WEBKIT_DOM_EVENT_BLUR

#define WEBKIT_DOM_EVENT_BLUR 8192

WEBKIT_DOM_EVENT_SELECT

#define WEBKIT_DOM_EVENT_SELECT 16384

WEBKIT_DOM_EVENT_CHANGE

#define WEBKIT_DOM_EVENT_CHANGE 32768

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: ""