#include <stdlib.h>
#include "events/ui_event.h"
|
dom_exception | _dom_ui_event_create (struct dom_ui_event **evt) |
|
void | _dom_ui_event_destroy (struct dom_ui_event *evt) |
|
dom_exception | _dom_ui_event_initialise (struct dom_ui_event *evt) |
|
void | _dom_ui_event_finalise (struct dom_ui_event *evt) |
|
dom_exception | _dom_ui_event_get_view (dom_ui_event *evt, struct dom_abstract_view **view) |
|
dom_exception | _dom_ui_event_get_detail (dom_ui_event *evt, int32_t *detail) |
|
dom_exception | _dom_ui_event_init (dom_ui_event *evt, dom_string *type, bool bubble, bool cancelable, struct dom_abstract_view *view, int32_t detail) |
|
dom_exception | _dom_ui_event_init_ns (dom_ui_event *evt, dom_string *namespace, dom_string *type, bool bubble, bool cancelable, struct dom_abstract_view *view, int32_t detail) |
|
◆ _dom_ui_event_create()
◆ _dom_ui_event_destroy()
◆ _dom_ui_event_finalise()
◆ _dom_ui_event_get_detail()
Get the detail param of this event
- Parameters
-
evt | The Event object |
detail | The detail object |
- Returns
- DOM_NO_ERR.
◆ _dom_ui_event_get_view()
Get the AbstractView inside this event
- Parameters
-
evt | The Event object |
view | The returned AbstractView |
- Returns
- DOM_NO_ERR.
◆ _dom_ui_event_init()
Initialise the UIEvent
- Parameters
-
evt | The Event object |
type | The type of this UIEvent |
bubble | Whether this event can bubble |
cancelable | Whether this event is cancelable |
view | The AbstractView of this UIEvent |
detail | The detail object |
- Returns
- DOM_NO_ERR on success, appropriate dom_exception on failure.
◆ _dom_ui_event_init_ns()
Initialise the UIEvent with namespace
- Parameters
-
evt | The Event object |
namespace | The namespace of this Event |
type | The type of this UIEvent |
bubble | Whether this event can bubble |
cancelable | Whether this event is cancelable |
view | The AbstractView of this UIEvent |
detail | The detail object |
- Returns
- DOM_NO_ERR on success, appropriate dom_exception on failure.
◆ _dom_ui_event_initialise()