WebKitDOMEventTarget

WebKitDOMEventTarget

Synopsis

                    WebKitDOMEventTarget;
gboolean            webkit_dom_event_target_dispatch_event
                                                        (WebKitDOMEventTarget *target,
                                                         WebKitDOMEvent *event,
                                                         GError **error);
gboolean            webkit_dom_event_target_add_event_listener
                                                        (WebKitDOMEventTarget *target,
                                                         const char *event_name,
                                                         GCallback handler,
                                                         gboolean use_capture,
                                                         gpointer user_data);
gboolean            webkit_dom_event_target_remove_event_listener
                                                        (WebKitDOMEventTarget *target,
                                                         const char *event_name,
                                                         GCallback handler,
                                                         gboolean use_capture);
gboolean            webkit_dom_event_target_add_event_listener_with_closure
                                                        (WebKitDOMEventTarget *target,
                                                         const char *event_name,
                                                         GClosure *handler,
                                                         gboolean use_capture);
gboolean            webkit_dom_event_target_remove_event_listener_with_closure
                                                        (WebKitDOMEventTarget *target,
                                                         const char *event_name,
                                                         GClosure *handler,
                                                         gboolean use_capture);

Object Hierarchy

  GInterface
   +----WebKitDOMEventTarget

Prerequisites

WebKitDOMEventTarget requires GObject.

Known Implementations

WebKitDOMEventTarget is implemented by WebKitDOMAttr, WebKitDOMAudioTrackList, WebKitDOMBatteryManager, WebKitDOMCDATASection, WebKitDOMCharacterData, WebKitDOMComment, WebKitDOMDOMApplicationCache, WebKitDOMDOMWindow, WebKitDOMDocument, WebKitDOMDocumentFragment, WebKitDOMDocumentType, WebKitDOMElement, WebKitDOMEntityReference, WebKitDOMHTMLAnchorElement, WebKitDOMHTMLAppletElement, WebKitDOMHTMLAreaElement, WebKitDOMHTMLAudioElement, WebKitDOMHTMLBRElement, WebKitDOMHTMLBaseElement, WebKitDOMHTMLBaseFontElement, WebKitDOMHTMLBodyElement, WebKitDOMHTMLButtonElement, WebKitDOMHTMLCanvasElement, WebKitDOMHTMLDListElement, WebKitDOMHTMLDetailsElement, WebKitDOMHTMLDirectoryElement, WebKitDOMHTMLDivElement, WebKitDOMHTMLDocument, WebKitDOMHTMLElement, WebKitDOMHTMLEmbedElement, WebKitDOMHTMLFieldSetElement, WebKitDOMHTMLFontElement, WebKitDOMHTMLFormElement, WebKitDOMHTMLFrameElement, WebKitDOMHTMLFrameSetElement, WebKitDOMHTMLHRElement, WebKitDOMHTMLHeadElement, WebKitDOMHTMLHeadingElement, WebKitDOMHTMLHtmlElement, WebKitDOMHTMLIFrameElement, WebKitDOMHTMLImageElement, WebKitDOMHTMLInputElement, WebKitDOMHTMLKeygenElement, WebKitDOMHTMLLIElement, WebKitDOMHTMLLabelElement, WebKitDOMHTMLLegendElement, WebKitDOMHTMLLinkElement, WebKitDOMHTMLMapElement, WebKitDOMHTMLMarqueeElement, WebKitDOMHTMLMediaElement, WebKitDOMHTMLMenuElement, WebKitDOMHTMLMetaElement, WebKitDOMHTMLModElement, WebKitDOMHTMLOListElement, WebKitDOMHTMLObjectElement, WebKitDOMHTMLOptGroupElement, WebKitDOMHTMLOptionElement, WebKitDOMHTMLParagraphElement, WebKitDOMHTMLParamElement, WebKitDOMHTMLPreElement, WebKitDOMHTMLQuoteElement, WebKitDOMHTMLScriptElement, WebKitDOMHTMLSelectElement, WebKitDOMHTMLStyleElement, WebKitDOMHTMLTableCaptionElement, WebKitDOMHTMLTableCellElement, WebKitDOMHTMLTableColElement, WebKitDOMHTMLTableElement, WebKitDOMHTMLTableRowElement, WebKitDOMHTMLTableSectionElement, WebKitDOMHTMLTextAreaElement, WebKitDOMHTMLTitleElement, WebKitDOMHTMLUListElement, WebKitDOMHTMLVideoElement, WebKitDOMMessagePort, WebKitDOMNode, WebKitDOMPerformance, WebKitDOMProcessingInstruction, WebKitDOMShadowRoot, WebKitDOMText, WebKitDOMTextTrack, WebKitDOMTextTrackCue, WebKitDOMTextTrackList, WebKitDOMVideoTrackList and WebKitDOMWebKitNamedFlow.

Description

Details

WebKitDOMEventTarget

typedef struct _WebKitDOMEventTarget WebKitDOMEventTarget;


webkit_dom_event_target_dispatch_event ()

gboolean            webkit_dom_event_target_dispatch_event
                                                        (WebKitDOMEventTarget *target,
                                                         WebKitDOMEvent *event,
                                                         GError **error);

target :

A WebKitDOMEventTarget

event :

A WebKitDOMEvent

error :

return location for an error or NULL

Returns :

a gboolean

webkit_dom_event_target_add_event_listener ()

gboolean            webkit_dom_event_target_add_event_listener
                                                        (WebKitDOMEventTarget *target,
                                                         const char *event_name,
                                                         GCallback handler,
                                                         gboolean use_capture,
                                                         gpointer user_data);

target :

A WebKitDOMEventTarget

event_name :

A gchar

handler :

A GCallback. [scope async]

use_capture :

A gboolean

user_data :

A gpointer

Returns :

a gboolean

webkit_dom_event_target_remove_event_listener ()

gboolean            webkit_dom_event_target_remove_event_listener
                                                        (WebKitDOMEventTarget *target,
                                                         const char *event_name,
                                                         GCallback handler,
                                                         gboolean use_capture);

target :

A WebKitDOMEventTarget

event_name :

A gchar

handler :

A GCallback. [scope call]

use_capture :

A gboolean

Returns :

a gboolean

webkit_dom_event_target_add_event_listener_with_closure ()

gboolean            webkit_dom_event_target_add_event_listener_with_closure
                                                        (WebKitDOMEventTarget *target,
                                                         const char *event_name,
                                                         GClosure *handler,
                                                         gboolean use_capture);

Version of webkit_dom_event_target_add_event_listener() using a closure instead of a callbacks for easier binding in other languages.

target :

A WebKitDOMEventTarget

event_name :

A gchar

handler :

A GClosure

use_capture :

A gboolean

Returns :

a gboolean Rename to: webkit_dom_event_target_add_event_listener

webkit_dom_event_target_remove_event_listener_with_closure ()

gboolean            webkit_dom_event_target_remove_event_listener_with_closure
                                                        (WebKitDOMEventTarget *target,
                                                         const char *event_name,
                                                         GClosure *handler,
                                                         gboolean use_capture);

Version of webkit_dom_event_target_remove_event_listener() using a closure instead of a callbacks for easier binding in other languages.

target :

A WebKitDOMEventTarget

event_name :

A gchar

handler :

A GClosure

use_capture :

A gboolean

Returns :

a gboolean Rename to: webkit_dom_event_target_remove_event_listener