Class
LasemDomNode
Instance methods
lsm_dom_node_append_child
Adds the node new_child
to the end of the list of children of this node.
If the new_child
is already in the tree, it is first removed.
lsm_dom_node_insert_before
Inserts the node new_child
before the existing child node ref_child
. If
ref_child
is null, insert new_child
at the end of the list of children.
If the new_child
is already in the tree, it is first removed.
lsm_dom_node_remove_child
Removes the child node indicated by old_child
from the list of children, and returns it.
lsm_dom_node_replace_child
Replaces the child node old_child
with new_child
in the list of children,
and returns the old_child
node.
If the new_child
is already in the tree, it is first removed.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct LasemDomNodeClass {
GObjectClass parent_class;
const char* (* get_node_name) (
LsmDomNode* self
);
const char* (* get_node_value) (
LsmDomNode* self
);
void (* set_node_value) (
LsmDomNode* self,
const char* new_value
);
LsmDomNodeType (* get_node_type) (
LsmDomNode* self
);
gboolean (* can_append_child) (
LsmDomNode* self,
LsmDomNode* new_child
);
void (* post_new_child) (
LsmDomNode* parent,
LsmDomNode* child
);
void (* pre_remove_child) (
LsmDomNode* parent,
LsmDomNode* child
);
void (* changed) (
LsmDomNode* self
);
gboolean (* child_changed) (
LsmDomNode* self,
LsmDomNode* child
);
void (* write_to_stream) (
LsmDomNode* self,
GOutputStream* stream,
GError** error
);
}
No description available.
Class members
parent_class: GObjectClass
No description available.
get_node_name: const char* (* get_node_name) ( LsmDomNode* self )
No description available.
get_node_value: const char* (* get_node_value) ( LsmDomNode* self )
No description available.
set_node_value: void (* set_node_value) ( LsmDomNode* self, const char* new_value )
No description available.
get_node_type: LsmDomNodeType (* get_node_type) ( LsmDomNode* self )
No description available.
can_append_child: gboolean (* can_append_child) ( LsmDomNode* self, LsmDomNode* new_child )
No description available.
post_new_child: void (* post_new_child) ( LsmDomNode* parent, LsmDomNode* child )
No description available.
pre_remove_child: void (* pre_remove_child) ( LsmDomNode* parent, LsmDomNode* child )
No description available.
changed: void (* changed) ( LsmDomNode* self )
No description available.
child_changed: gboolean (* child_changed) ( LsmDomNode* self, LsmDomNode* child )
No description available.
write_to_stream: void (* write_to_stream) ( LsmDomNode* self, GOutputStream* stream, GError** error )
No description available.