egueb  0.0.23.1
Enumerations | Functions | Variables
Mutation Event
Event

Mutation Event. More...

Enumerations

enum  Egueb_Dom_Event_Mutation_Attr_Type {
  EGUEB_DOM_EVENT_MUTATION_ATTR_TYPE_ADDITION = 1,
  EGUEB_DOM_EVENT_MUTATION_ATTR_TYPE_MODIFICATION = 2,
  EGUEB_DOM_EVENT_MUTATION_ATTR_TYPE_REMOVAL = 3
}

Functions

EAPI Eina_Bool egueb_dom_event_is_mutation (Egueb_Dom_Event *e)
EAPI Egueb_Dom_Nodeegueb_dom_event_mutation_related_get (Egueb_Dom_Event *e)
EAPI void egueb_dom_event_mutation_value_prev_string_get (Egueb_Dom_Event *e, Egueb_Dom_String **s)
EAPI void egueb_dom_event_mutation_value_new_string_get (Egueb_Dom_Event *e, Egueb_Dom_String **s)
EAPI void egueb_dom_event_mutation_value_new_get (Egueb_Dom_Event *e, const Egueb_Dom_Value **v)
EAPI void egueb_dom_event_mutation_attr_name_get (Egueb_Dom_Event *e, Egueb_Dom_String **s)
EAPI void egueb_dom_event_mutation_attr_type_get (Egueb_Dom_Event *e, Egueb_Dom_Event_Mutation_Attr_Type *attr_type)
EAPI void egueb_dom_event_mutation_attr_modification_type_get (Egueb_Dom_Event *e, Egueb_Dom_Attr_Type *attr_modification_type)
EAPI Eina_Bool egueb_dom_event_mutation_is_attr_modified (const Egueb_Dom_String *str)
EAPI void egueb_dom_event_mutation_process_prevent (Egueb_Dom_Event *event)
 Prevent the process of the node that triggered the event.
EAPI Eina_Bool egueb_dom_event_mutation_is_process_prevented (Egueb_Dom_Event *event)
 Check if the mutation is event will trigger a process.

Variables

EAPI Egueb_Dom_String * EGUEB_DOM_EVENT_MUTATION_NODE_DESTROYED
EAPI Egueb_Dom_String * EGUEB_DOM_EVENT_MUTATION_SUBTREE_MODIFIED
EAPI Egueb_Dom_String * EGUEB_DOM_EVENT_MUTATION_NODE_INSERTED
EAPI Egueb_Dom_String * EGUEB_DOM_EVENT_MUTATION_NODE_REMOVED
EAPI Egueb_Dom_String * EGUEB_DOM_EVENT_MUTATION_NODE_REMOVED_FROM_DOCUMENT
EAPI Egueb_Dom_String * EGUEB_DOM_EVENT_MUTATION_NODE_INSERTED_INTO_DOCUMENT
EAPI Egueb_Dom_String * EGUEB_DOM_EVENT_MUTATION_ATTR_MODIFIED
EAPI Egueb_Dom_String * EGUEB_DOM_EVENT_MUTATION_CHARACTER_DATA_MODIFIED
EAPI Egueb_Dom_String * EGUEB_DOM_EVENT_MUTATION_NODE_DOCUMENT_SET
EAPI Egueb_Dom_String * EGUEB_DOM_EVENT_MUTATION_NODE_DOCUMENT_UNSET

Detailed Description

Mutation Event.


Function Documentation

Prevent the process of the node that triggered the event.

Parameters:
[in]eventThe event to prevent for process

By default EGUEB_DOM_EVENT_MUTATION_NODE_INSERTED, EGUEB_DOM_EVENT_MUTATION_NODE_REMOVED and EGUEB_DOM_EVENT_MUTATION_ATTR_MODIFIED will enqueue the node that triggered the event for process once the event reaches the topmost element. If the event prevents the process by calling this function, then the node will not be enqueued.

Check if the mutation is event will trigger a process.

Parameters:
[in]eventThe mutation event to check
Returns:
EINA_TRUE if the event prevents a process and thus the node will not be processed or EINA_FALSE if the node will be processed.

Variable Documentation

The node is destroyed, the last reference of the node is unreffed

This is a general event for notification of all changes to the document

A node has been inserted as part of a children of another node

EAPI Egueb_Dom_String* EGUEB_DOM_EVENT_MUTATION_NODE_REMOVED

A node has been removed from the children of another node

A node has been removed from the document tree

A node has been added to the document tree

An attribute has been modified

The character data has been modified

A node has its owner document set, in case the node is in the tree this event will not be triggered, only the EGUEB_DOM_EVENT_MUTATION_NODE_INSERTED_INTO_DOCUMENT event

A node has its owner document unset, in case the node is in the tree this event will not be triggered, only the EGUEB_DOM_EVENT_MUTATION_NODE_REMOVED_FROM_DOCUMENT event

 All Data Structures