WebKitDOMEvent

WebKitDOMEvent

Synopsis

                    WebKitDOMEvent;
void                webkit_dom_event_stop_propagation   (WebKitDOMEvent *self);
void                webkit_dom_event_prevent_default    (WebKitDOMEvent *self);
void                webkit_dom_event_init_event         (WebKitDOMEvent *self,
                                                         const gchar *eventTypeArg,
                                                         gboolean canBubbleArg,
                                                         gboolean cancelableArg);
void                webkit_dom_event_stop_immediate_propagation
                                                        (WebKitDOMEvent *self);
WebKitDOMEventTarget * webkit_dom_event_get_target      (WebKitDOMEvent *self);
WebKitDOMEventTarget * webkit_dom_event_get_current_target
                                                        (WebKitDOMEvent *self);
gushort             webkit_dom_event_get_event_phase    (WebKitDOMEvent *self);
gboolean            webkit_dom_event_get_bubbles        (WebKitDOMEvent *self);
gboolean            webkit_dom_event_get_cancelable     (WebKitDOMEvent *self);
guint32             webkit_dom_event_get_time_stamp     (WebKitDOMEvent *self);
gboolean            webkit_dom_event_get_default_prevented
                                                        (WebKitDOMEvent *self);
WebKitDOMEventTarget * webkit_dom_event_get_src_element (WebKitDOMEvent *self);
gboolean            webkit_dom_event_get_return_value   (WebKitDOMEvent *self);
void                webkit_dom_event_set_return_value   (WebKitDOMEvent *self,
                                                         gboolean value);
gboolean            webkit_dom_event_get_cancel_bubble  (WebKitDOMEvent *self);
void                webkit_dom_event_set_cancel_bubble  (WebKitDOMEvent *self,
                                                         gboolean value);

Object Hierarchy

  GObject
   +----WebKitDOMObject
         +----WebKitDOMEvent
               +----WebKitDOMUIEvent
               +----WebKitDOMTrackEvent

Properties

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

Description

Details

WebKitDOMEvent

typedef struct _WebKitDOMEvent WebKitDOMEvent;


webkit_dom_event_stop_propagation ()

void                webkit_dom_event_stop_propagation   (WebKitDOMEvent *self);

self :

A WebKitDOMEvent

webkit_dom_event_prevent_default ()

void                webkit_dom_event_prevent_default    (WebKitDOMEvent *self);

self :

A WebKitDOMEvent

webkit_dom_event_init_event ()

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

self :

A WebKitDOMEvent

eventTypeArg :

A gchar

canBubbleArg :

A gboolean

cancelableArg :

A gboolean

webkit_dom_event_stop_immediate_propagation ()

void                webkit_dom_event_stop_immediate_propagation
                                                        (WebKitDOMEvent *self);

self :

A WebKitDOMEvent

webkit_dom_event_get_target ()

WebKitDOMEventTarget * webkit_dom_event_get_target      (WebKitDOMEvent *self);

self :

A WebKitDOMEvent

Returns :

A WebKitDOMEventTarget. [transfer none]

webkit_dom_event_get_current_target ()

WebKitDOMEventTarget * webkit_dom_event_get_current_target
                                                        (WebKitDOMEvent *self);

self :

A WebKitDOMEvent

Returns :

A WebKitDOMEventTarget. [transfer none]

webkit_dom_event_get_event_phase ()

gushort             webkit_dom_event_get_event_phase    (WebKitDOMEvent *self);

self :

A WebKitDOMEvent

Returns :

A gushort

webkit_dom_event_get_bubbles ()

gboolean            webkit_dom_event_get_bubbles        (WebKitDOMEvent *self);

self :

A WebKitDOMEvent

Returns :

A gboolean

webkit_dom_event_get_cancelable ()

gboolean            webkit_dom_event_get_cancelable     (WebKitDOMEvent *self);

self :

A WebKitDOMEvent

Returns :

A gboolean

webkit_dom_event_get_time_stamp ()

guint32             webkit_dom_event_get_time_stamp     (WebKitDOMEvent *self);

self :

A WebKitDOMEvent

Returns :

A guint32

webkit_dom_event_get_default_prevented ()

gboolean            webkit_dom_event_get_default_prevented
                                                        (WebKitDOMEvent *self);

self :

A WebKitDOMEvent

Returns :

A gboolean

webkit_dom_event_get_src_element ()

WebKitDOMEventTarget * webkit_dom_event_get_src_element (WebKitDOMEvent *self);

self :

A WebKitDOMEvent

Returns :

A WebKitDOMEventTarget. [transfer none]

webkit_dom_event_get_return_value ()

gboolean            webkit_dom_event_get_return_value   (WebKitDOMEvent *self);

self :

A WebKitDOMEvent

Returns :

A gboolean

webkit_dom_event_set_return_value ()

void                webkit_dom_event_set_return_value   (WebKitDOMEvent *self,
                                                         gboolean value);

self :

A WebKitDOMEvent

value :

A gboolean

webkit_dom_event_get_cancel_bubble ()

gboolean            webkit_dom_event_get_cancel_bubble  (WebKitDOMEvent *self);

self :

A WebKitDOMEvent

Returns :

A gboolean

webkit_dom_event_set_cancel_bubble ()

void                webkit_dom_event_set_cancel_bubble  (WebKitDOMEvent *self,
                                                         gboolean value);

self :

A WebKitDOMEvent

value :

A gboolean

Property Details

The "bubbles" property

  "bubbles"                  gboolean              : Read

read-only gboolean Event:bubbles.

Default value: FALSE


The "cancel-bubble" property

  "cancel-bubble"            gboolean              : Read / Write

read-only gboolean Event:cancel-bubble.

Default value: FALSE


The "cancelable" property

  "cancelable"               gboolean              : Read

read-only gboolean Event:cancelable.

Default value: FALSE


The "current-target" property

  "current-target"           WebKitDOMEventTarget*  : Read

read-only WebKitDOMEventTarget* Event:current-target.


The "default-prevented" property

  "default-prevented"        gboolean              : Read

read-only gboolean Event:default-prevented.

Default value: FALSE


The "event-phase" property

  "event-phase"              guint                 : Read

read-only gushort Event:event-phase.

Default value: 0


The "return-value" property

  "return-value"             gboolean              : Read / Write

read-only gboolean Event:return-value.

Default value: FALSE


The "src-element" property

  "src-element"              WebKitDOMEventTarget*  : Read

read-only WebKitDOMEventTarget* Event:src-element.


The "target" property

  "target"                   WebKitDOMEventTarget*  : Read

read-only WebKitDOMEventTarget* Event:target.


The "time-stamp" property

  "time-stamp"               guint                 : Read

read-only guint32 Event:time-stamp.

Default value: 0


The "type" property

  "type"                     gchar*                : Read

read-only gchar* Event:type.

Default value: ""