WebKit2WebExtension.DOMEventTarget
Description: Reference for WebKit2WebExtension.DOMEventTarget

### Interface

# WebKit2WebExtensionDOMEventTarget

#### Description

    interface WebKit2WebExtension.DOMEventTarget : GObject.Object

No description available.

#### Prerequisite

In order to implement DOMEventTarget, your type must inherit from`GObject`.

#### Implementations

- WebKitDOMAttr
- WebKitDOMCDATASection
- WebKitDOMCharacterData
- WebKitDOMComment
- WebKitDOMDOMWindow
- WebKitDOMDocument
- WebKitDOMDocumentFragment
- WebKitDOMDocumentType
- WebKitDOMElement
- WebKitDOMEntityReference
- WebKitDOMHTMLAnchorElement
- WebKitDOMHTMLAppletElement
- WebKitDOMHTMLAreaElement
- WebKitDOMHTMLBRElement
- WebKitDOMHTMLBaseElement
- WebKitDOMHTMLBaseFontElement
- WebKitDOMHTMLBodyElement
- WebKitDOMHTMLButtonElement
- WebKitDOMHTMLCanvasElement
- WebKitDOMHTMLDListElement
- WebKitDOMHTMLDirectoryElement
- WebKitDOMHTMLDivElement
- WebKitDOMHTMLDocument
- WebKitDOMHTMLElement
- WebKitDOMHTMLEmbedElement
- WebKitDOMHTMLFieldSetElement
- WebKitDOMHTMLFontElement
- WebKitDOMHTMLFormElement
- WebKitDOMHTMLFrameElement
- WebKitDOMHTMLFrameSetElement
- WebKitDOMHTMLHRElement
- WebKitDOMHTMLHeadElement
- WebKitDOMHTMLHeadingElement
- WebKitDOMHTMLHtmlElement
- WebKitDOMHTMLIFrameElement
- WebKitDOMHTMLImageElement
- WebKitDOMHTMLInputElement
- WebKitDOMHTMLLIElement
- WebKitDOMHTMLLabelElement
- WebKitDOMHTMLLegendElement
- WebKitDOMHTMLLinkElement
- WebKitDOMHTMLMapElement
- WebKitDOMHTMLMarqueeElement
- WebKitDOMHTMLMenuElement
- WebKitDOMHTMLMetaElement
- WebKitDOMHTMLModElement
- WebKitDOMHTMLOListElement
- WebKitDOMHTMLObjectElement
- WebKitDOMHTMLOptGroupElement
- WebKitDOMHTMLOptionElement
- WebKitDOMHTMLParagraphElement
- WebKitDOMHTMLParamElement
- WebKitDOMHTMLPreElement
- WebKitDOMHTMLQuoteElement
- WebKitDOMHTMLScriptElement
- WebKitDOMHTMLSelectElement
- WebKitDOMHTMLStyleElement
- WebKitDOMHTMLTableCaptionElement
- WebKitDOMHTMLTableCellElement
- WebKitDOMHTMLTableColElement
- WebKitDOMHTMLTableElement
- WebKitDOMHTMLTableRowElement
- WebKitDOMHTMLTableSectionElement
- WebKitDOMHTMLTextAreaElement
- WebKitDOMHTMLTitleElement
- WebKitDOMHTMLUListElement
- WebKitDOMNode
- WebKitDOMProcessingInstruction
- WebKitDOMText

#### Instance methods

###### webkit_dom_event_target_add_event_listener

No description available.

deprecated: 2.22

###### webkit_dom_event_target_add_event_listener_with_closure

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

deprecated: 2.22

###### webkit_dom_event_target_dispatch_event

No description available.

deprecated: 2.22

###### webkit_dom_event_target_remove_event_listener

No description available.

deprecated: 2.22

###### webkit_dom_event_target_remove_event_listener_with_closure

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

deprecated: 2.22

#### Interface structure

    struct WebKit2WebExtensionDOMEventTargetIface {
      GTypeInterface gIface;
      gboolean (* dispatch_event) (
        WebKitDOMEventTarget* target,
        WebKitDOMEvent* event,
        GError** error
      );
      gboolean (* add_event_listener) (
        WebKitDOMEventTarget* target,
        const char* event_name,
        GClosure* handler,
        gboolean use_capture
      );
      gboolean (* remove_event_listener) (
        WebKitDOMEventTarget* target,
        const char* event_name,
        GClosure* handler,
        gboolean use_capture
      );
      void (* _webkitdom_reserved0) (
    void
      );
      void (* _webkitdom_reserved1) (
    void
      );
      void (* _webkitdom_reserved2) (
    void
      );
      void (* _webkitdom_reserved3) (
    void
      );

    }

No description available.

###### Interface members

`gIface` |
    GTypeInterface
| No description available.
`dispatch_event` |
    gboolean (* dispatch_event) (
        WebKitDOMEventTarget* target,
        WebKitDOMEvent* event,
        GError** error
      )
| No description available.
`add_event_listener` |
    gboolean (* add_event_listener) (
        WebKitDOMEventTarget* target,
        const char* event_name,
        GClosure* handler,
        gboolean use_capture
      )
| No description available.
`remove_event_listener` |
    gboolean (* remove_event_listener) (
        WebKitDOMEventTarget* target,
        const char* event_name,
        GClosure* handler,
        gboolean use_capture
      )
| No description available.
`_webkitdom_reserved0` |
    void (* _webkitdom_reserved0) (
    void
      )
| No description available.
`_webkitdom_reserved1` |
    void (* _webkitdom_reserved1) (
    void
      )
| No description available.
`_webkitdom_reserved2` |
    void (* _webkitdom_reserved2) (
    void
      )
| No description available.
`_webkitdom_reserved3` |
    void (* _webkitdom_reserved3) (
    void
      )
| No description available.

#### Virtual methods

###### WebKit2WebExtension.DOMEventTarget.add_event_listener

No description available.

###### WebKit2WebExtension.DOMEventTarget.dispatch_event

No description available.

deprecated: 2.22

###### WebKit2WebExtension.DOMEventTarget.remove_event_listener

No description available.

deprecated: 2.22