GXmlDomEventInit

GXmlDomEventInit

Functions

Types and Values

Description

Functions

gxml_dom_event_init_new ()

GXmlDomEventInit *
gxml_dom_event_init_new (void);

gxml_dom_event_init_get_bubbles ()

gboolean
gxml_dom_event_init_get_bubbles (GXmlDomEventInit *self);

Get and return the current value of the "bubbles" property.

Parameters

self

the GXmlDomEventInit instance to query

 

Returns

the value of the "bubbles" property


gxml_dom_event_init_set_bubbles ()

void
gxml_dom_event_init_set_bubbles (GXmlDomEventInit *self,
                                 gboolean value);

Set the value of the "bubbles" property to value .

Parameters

self

the GXmlDomEventInit instance to modify

 

value

the new value of the "bubbles" property

 

gxml_dom_event_init_get_cancelable ()

gboolean
gxml_dom_event_init_get_cancelable (GXmlDomEventInit *self);

Get and return the current value of the "cancelable" property.

Parameters

self

the GXmlDomEventInit instance to query

 

Returns

the value of the "cancelable" property


gxml_dom_event_init_set_cancelable ()

void
gxml_dom_event_init_set_cancelable (GXmlDomEventInit *self,
                                    gboolean value);

Set the value of the "cancelable" property to value .

Parameters

self

the GXmlDomEventInit instance to modify

 

value

the new value of the "cancelable" property

 

gxml_dom_custom_event_init_new ()

GXmlDomCustomEventInit *
gxml_dom_custom_event_init_new (void);

gxml_dom_custom_event_init_get_detail ()

GValue *
gxml_dom_custom_event_init_get_detail (GXmlDomCustomEventInit *self);

Get and return the current value of the "detail" property.

Parameters

self

the GXmlDomCustomEventInit instance to query

 

Returns

the value of the "detail" property


gxml_dom_custom_event_init_set_detail ()

void
gxml_dom_custom_event_init_set_detail (GXmlDomCustomEventInit *self,
                                       GValue *value);

Set the value of the "detail" property to value .

Parameters

self

the GXmlDomCustomEventInit instance to modify

 

value

the new value of the "detail" property

 

gxml_dom_time_stamp_to_string ()

gchar *
gxml_dom_time_stamp_to_string (GXmlDomTimeStamp *self);

Parameters

self

the GXmlDomTimeStamp instance

 

gxml_dom_time_stamp_new ()

GXmlDomTimeStamp *
gxml_dom_time_stamp_new (void);

gxml_dom_time_stamp_get_time ()

GDateTime *
gxml_dom_time_stamp_get_time (GXmlDomTimeStamp *self);

Get and return the current value of the "time" property.

Parameters

self

the GXmlDomTimeStamp instance to query

 

Returns

the value of the "time" property


gxml_dom_time_stamp_set_time ()

void
gxml_dom_time_stamp_set_time (GXmlDomTimeStamp *self,
                              GDateTime *value);

Set the value of the "time" property to value .

Parameters

self

the GXmlDomTimeStamp instance to modify

 

value

the new value of the "time" property

 

gxml_dom_event_target_add_event_listener ()

void
gxml_dom_event_target_add_event_listener
                               (GXmlDomEventTarget *self,
                                const gchar *type,
                                GXmlDomEventListener *callback,
                                gboolean capture);

Parameters

self

the GXmlDomEventTarget instance

 

type

 

 

callback

 

 

capture

 

 

gxml_dom_event_target_remove_event_listener ()

void
gxml_dom_event_target_remove_event_listener
                               (GXmlDomEventTarget *self,
                                const gchar *type,
                                GXmlDomEventListener *callback,
                                gboolean capture);

Parameters

self

the GXmlDomEventTarget instance

 

type

 

 

callback

 

 

capture

 

 

gxml_dom_event_target_dispatch_event ()

gboolean
gxml_dom_event_target_dispatch_event (GXmlDomEventTarget *self,
                                      GXmlDomEvent *event,
                                      GError **error);

Parameters

self

the GXmlDomEventTarget instance

 

event

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_dom_event_listener_handle_event ()

void
gxml_dom_event_listener_handle_event (GXmlDomEventListener *self,
                                      GXmlDomEvent *event);

Parameters

self

the GXmlDomEventListener instance

 

event

 

 

gxml_dom_event_stop_propagation ()

void
gxml_dom_event_stop_propagation (GXmlDomEvent *self);

Parameters

self

the GXmlDomEvent instance

 

gxml_dom_event_stop_immediate_propagation ()

void
gxml_dom_event_stop_immediate_propagation
                               (GXmlDomEvent *self);

Parameters

self

the GXmlDomEvent instance

 

gxml_dom_event_prevent_default ()

void
gxml_dom_event_prevent_default (GXmlDomEvent *self);

Parameters

self

the GXmlDomEvent instance

 

gxml_dom_event_init_event ()

void
gxml_dom_event_init_event (GXmlDomEvent *self,
                           const gchar *type,
                           gboolean bubbles,
                           gboolean cancelable);

Parameters

self

the GXmlDomEvent instance

 

type

 

 

bubbles

 

 

cancelable

 

 

gxml_dom_event_get_etype ()

const gchar *
gxml_dom_event_get_etype (GXmlDomEvent *self);

Get and return the current value of the "etype" property.

Parameters

self

the GXmlDomEvent instance to query

 

Returns

the value of the "etype" property


gxml_dom_event_get_event_target ()

GXmlDomEventTarget *
gxml_dom_event_get_event_target (GXmlDomEvent *self);

Get and return the current value of the "event-target" property.

Parameters

self

the GXmlDomEvent instance to query

 

Returns

the value of the "event-target" property


gxml_dom_event_get_current_target ()

GXmlDomEventTarget *
gxml_dom_event_get_current_target (GXmlDomEvent *self);

Get and return the current value of the "current-target" property.

Parameters

self

the GXmlDomEvent instance to query

 

Returns

the value of the "current-target" property


gxml_dom_event_get_bubbles ()

gboolean
gxml_dom_event_get_bubbles (GXmlDomEvent *self);

Get and return the current value of the "bubbles" property.

Parameters

self

the GXmlDomEvent instance to query

 

Returns

the value of the "bubbles" property


gxml_dom_event_get_cancelable ()

gboolean
gxml_dom_event_get_cancelable (GXmlDomEvent *self);

Get and return the current value of the "cancelable" property.

Parameters

self

the GXmlDomEvent instance to query

 

Returns

the value of the "cancelable" property


gxml_dom_event_get_is_trusted ()

gboolean
gxml_dom_event_get_is_trusted (GXmlDomEvent *self);

Get and return the current value of the "is-trusted" property.

Parameters

self

the GXmlDomEvent instance to query

 

Returns

the value of the "is-trusted" property


gxml_dom_event_get_time_stamp ()

GXmlDomTimeStamp *
gxml_dom_event_get_time_stamp (GXmlDomEvent *self);

Get and return the current value of the "time-stamp" property.

Parameters

self

the GXmlDomEvent instance to query

 

Returns

the value of the "time-stamp" property


gxml_dom_event_get_default_prevented ()

gboolean
gxml_dom_event_get_default_prevented (GXmlDomEvent *self);

Get and return the current value of the "default-prevented" property.

Parameters

self

the GXmlDomEvent instance to query

 

Returns

the value of the "default-prevented" property


gxml_dom_event_get_event_phase ()

GXmlDomEventPhase
gxml_dom_event_get_event_phase (GXmlDomEvent *self);

Get and return the current value of the "event-phase" property.

Parameters

self

the GXmlDomEvent instance to query

 

Returns

the value of the "event-phase" property


gxml_dom_custom_event_init_custom_event ()

void
gxml_dom_custom_event_init_custom_event
                               (GXmlDomCustomEvent *self,
                                const gchar *type,
                                gboolean bubbles,
                                gboolean cancelable,
                                GValue *detail);

Parameters

self

the GXmlDomCustomEvent instance

 

type

 

 

bubbles

 

 

cancelable

 

 

detail

 

 

gxml_dom_custom_event_get_detail ()

GValue *
gxml_dom_custom_event_get_detail (GXmlDomCustomEvent *self);

Get and return the current value of the "detail" property.

Parameters

self

the GXmlDomCustomEvent instance to query

 

Returns

the value of the "detail" property

Types and Values

GXML_TYPE_DOM_EVENT_INIT

#define GXML_TYPE_DOM_EVENT_INIT (gxml_dom_event_init_get_type ())

The type for GXmlDomEventInit.


struct GXmlDomEventInit

struct GXmlDomEventInit {
	GObject parent_instance;
	GXmlDomEventInitPrivate * priv;
};

struct GXmlDomEventInitClass

struct GXmlDomEventInitClass {
	GObjectClass parent_class;
};

The class structure for GXML_TYPE_DOM_EVENT_INIT. All the fields in this structure are private and should never be accessed directly.

Members


GXML_TYPE_DOM_CUSTOM_EVENT_INIT

#define GXML_TYPE_DOM_CUSTOM_EVENT_INIT (gxml_dom_custom_event_init_get_type ())

The type for GXmlDomCustomEventInit.


struct GXmlDomCustomEventInit

struct GXmlDomCustomEventInit {
	GXmlDomEventInit parent_instance;
	GXmlDomCustomEventInitPrivate * priv;
};

struct GXmlDomCustomEventInitClass

struct GXmlDomCustomEventInitClass {
	GXmlDomEventInitClass parent_class;
};

The class structure for GXML_TYPE_DOM_CUSTOM_EVENT_INIT. All the fields in this structure are private and should never be accessed directly.

Members


GXML_TYPE_DOM_TIME_STAMP

#define GXML_TYPE_DOM_TIME_STAMP (gxml_dom_time_stamp_get_type ())

The type for GXmlDomTimeStamp.


struct GXmlDomTimeStamp

struct GXmlDomTimeStamp {
	GObject parent_instance;
	GXmlDomTimeStampPrivate * priv;
};

struct GXmlDomTimeStampClass

struct GXmlDomTimeStampClass {
	GObjectClass parent_class;
};

The class structure for GXML_TYPE_DOM_TIME_STAMP. All the fields in this structure are private and should never be accessed directly.

Members


GXmlDomEventTarget

typedef struct _GXmlDomEventTarget GXmlDomEventTarget;

struct GXmlDomEventTargetIface

struct GXmlDomEventTargetIface {
	GTypeInterface parent_iface;
	void (*add_event_listener) (GXmlDomEventTarget* self, const gchar* type, GXmlDomEventListener* callback, gboolean capture);
	void (*remove_event_listener) (GXmlDomEventTarget* self, const gchar* type, GXmlDomEventListener* callback, gboolean capture);
	gboolean (*dispatch_event) (GXmlDomEventTarget* self, GXmlDomEvent* event, GError** error);
};

Interface for creating GXmlDomEventTarget implementations.

Members

GTypeInterface parent_iface;

the parent interface structure

 

add_event_listener ()

virtual method called by gxml_dom_event_target_add_event_listener()

 

remove_event_listener ()

virtual method called by gxml_dom_event_target_remove_event_listener()

 

dispatch_event ()

virtual method called by gxml_dom_event_target_dispatch_event()

 

GXmlDomEventListener

typedef struct _GXmlDomEventListener GXmlDomEventListener;

struct GXmlDomEventListenerIface

struct GXmlDomEventListenerIface {
	GTypeInterface parent_iface;
	void (*handle_event) (GXmlDomEventListener* self, GXmlDomEvent* event);
};

Interface for creating GXmlDomEventListener implementations.

Members

GTypeInterface parent_iface;

the parent interface structure

 

handle_event ()

virtual method called by gxml_dom_event_listener_handle_event()

 

enum GXmlDomEventPhase

Members

GXML_DOM_EVENT_PHASE_NONE

   

GXML_DOM_EVENT_PHASE_CAPTURING_PHASE

   

GXML_DOM_EVENT_PHASE_AT_TARGET

   

GXML_DOM_EVENT_PHASE_BUBBLING_PHASE

   

enum GXmlDomEventFlags

Members

GXML_DOM_EVENT_FLAGS_STOP_PROPAGATION_FLAG

   

GXML_DOM_EVENT_FLAGS_STOP_IMMEDIATE_PROPAGATION_FLAG

   

GXML_DOM_EVENT_FLAGS_CANCELED_FLAG

   

GXML_DOM_EVENT_FLAGS_INITIALIZED_FLAG

   

GXML_DOM_EVENT_FLAGS_DISPATCH_FLAG

   

GXmlDomEvent

typedef struct _GXmlDomEvent GXmlDomEvent;

struct GXmlDomEventIface

struct GXmlDomEventIface {
	GTypeInterface parent_iface;
	void (*stop_propagation) (GXmlDomEvent* self);
	void (*stop_immediate_propagation) (GXmlDomEvent* self);
	void (*prevent_default) (GXmlDomEvent* self);
	void (*init_event) (GXmlDomEvent* self, const gchar* type, gboolean bubbles, gboolean cancelable);
	const gchar* (*get_etype) (GXmlDomEvent* self);
	GXmlDomEventTarget* (*get_event_target) (GXmlDomEvent* self);
	GXmlDomEventTarget* (*get_current_target) (GXmlDomEvent* self);
	gboolean (*get_bubbles) (GXmlDomEvent* self);
	gboolean (*get_cancelable) (GXmlDomEvent* self);
	gboolean (*get_is_trusted) (GXmlDomEvent* self);
	GXmlDomTimeStamp* (*get_time_stamp) (GXmlDomEvent* self);
	gboolean (*get_default_prevented) (GXmlDomEvent* self);
	GXmlDomEventPhase (*get_event_phase) (GXmlDomEvent* self);
};

Interface for creating GXmlDomEvent implementations.

Members

GTypeInterface parent_iface;

the parent interface structure

 

stop_propagation ()

virtual method called by gxml_dom_event_stop_propagation()

 

stop_immediate_propagation ()

virtual method called by gxml_dom_event_stop_immediate_propagation()

 

prevent_default ()

virtual method called by gxml_dom_event_prevent_default()

 

init_event ()

virtual method called by gxml_dom_event_init_event()

 

get_etype ()

getter method for the abstract property "etype"

 

get_event_target ()

getter method for the abstract property "event-target"

 

get_current_target ()

getter method for the abstract property "current-target"

 

get_bubbles ()

getter method for the abstract property "bubbles"

 

get_cancelable ()

getter method for the abstract property "cancelable"

 

get_is_trusted ()

getter method for the abstract property "is-trusted"

 

get_time_stamp ()

getter method for the abstract property "time-stamp"

 

get_default_prevented ()

getter method for the abstract property "default-prevented"

 

get_event_phase ()

getter method for the abstract property "event-phase"

 

GXmlDomCustomEvent

typedef struct _GXmlDomCustomEvent GXmlDomCustomEvent;

struct GXmlDomCustomEventIface

struct GXmlDomCustomEventIface {
	GTypeInterface parent_iface;
	void (*init_custom_event) (GXmlDomCustomEvent* self, const gchar* type, gboolean bubbles, gboolean cancelable, GValue* detail);
	GValue* (*get_detail) (GXmlDomCustomEvent* self);
};

Interface for creating GXmlDomCustomEvent implementations.

Members

GTypeInterface parent_iface;

the parent interface structure

 

init_custom_event ()

virtual method called by gxml_dom_custom_event_init_custom_event()

 

get_detail ()

getter method for the abstract property "detail"