WebKitDOMEventTarget

WebKitDOMEventTarget

Functions

Description

Functions

webkit_dom_event_target_dispatch_event ()

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

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

Use JavaScriptCore API instead

Parameters

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

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

Use JavaScriptCore API instead

Parameters

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

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

Use JavaScriptCore API instead

Parameters

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

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

Use JavaScriptCore API instead

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

[rename-to webkit_dom_event_target_add_event_listener]

Parameters

target

A WebKitDOMEventTarget

 

event_name

A gchar

 

handler

A GClosure

 

use_capture

A gboolean

 

Returns

a gboolean


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

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

Use JavaScriptCore API instead

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

[rename-to webkit_dom_event_target_remove_event_listener]

Parameters

target

A WebKitDOMEventTarget

 

event_name

A gchar

 

handler

A GClosure

 

use_capture

A gboolean

 

Returns

a gboolean