egueb
0.0.23.1
|
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_Node * | egueb_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 |
Mutation Event.
EAPI void egueb_dom_event_mutation_process_prevent | ( | Egueb_Dom_Event * | event | ) |
Prevent the process of the node that triggered the event.
[in] | event | The 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.
EAPI Eina_Bool egueb_dom_event_mutation_is_process_prevented | ( | Egueb_Dom_Event * | event | ) |
Check if the mutation is event will trigger a process.
[in] | event | The mutation event to check |
EAPI Egueb_Dom_String* EGUEB_DOM_EVENT_MUTATION_NODE_DESTROYED |
The node is destroyed, the last reference of the node is unreffed
EAPI Egueb_Dom_String* EGUEB_DOM_EVENT_MUTATION_SUBTREE_MODIFIED |
This is a general event for notification of all changes to the document
EAPI Egueb_Dom_String* EGUEB_DOM_EVENT_MUTATION_NODE_INSERTED |
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
EAPI Egueb_Dom_String* EGUEB_DOM_EVENT_MUTATION_NODE_REMOVED_FROM_DOCUMENT |
A node has been removed from the document tree
EAPI Egueb_Dom_String* EGUEB_DOM_EVENT_MUTATION_NODE_INSERTED_INTO_DOCUMENT |
A node has been added to the document tree
EAPI Egueb_Dom_String* EGUEB_DOM_EVENT_MUTATION_ATTR_MODIFIED |
An attribute has been modified
EAPI Egueb_Dom_String* EGUEB_DOM_EVENT_MUTATION_CHARACTER_DATA_MODIFIED |
The character data has been modified
EAPI Egueb_Dom_String* EGUEB_DOM_EVENT_MUTATION_NODE_DOCUMENT_SET |
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
EAPI Egueb_Dom_String* EGUEB_DOM_EVENT_MUTATION_NODE_DOCUMENT_UNSET |
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