Gladeui.XmlNode¶
Fields¶
None
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Gladeui.XmlNode¶
- classmethod new(context, name)¶
- Parameters:
context (
Gladeui.XmlContext
) –name (
str
) –
- Return type:
- classmethod new_comment(context, comment)¶
- Parameters:
context (
Gladeui.XmlContext
) –comment (
str
) –
- Return type:
- add_next_sibling(new_node)¶
- Parameters:
new_node (
Gladeui.XmlNode
) –- Return type:
- add_prev_sibling(new_node)¶
- Parameters:
new_node (
Gladeui.XmlNode
) –- Return type:
- append_child(child)¶
- Parameters:
child (
Gladeui.XmlNode
) –
- copy()¶
- Return type:
- delete()¶
- get_children()¶
- Return type:
- get_children_with_comments()¶
- Return type:
- get_parent()¶
- Return type:
- next()¶
- Return type:
- next_with_comments()¶
- Return type:
- prev_with_comments()¶
- Return type:
- remove()¶
- set_property_string(name, string)¶
- Parameters:
Set a property as a string in the self. Note that
None
string value Are simply ignored and not written in the XML.
- verify(name)¶
- Parameters:
name (
str
) – a string- Returns:
- Return type:
This is a wrapper around
Gladeui.XmlNode.verify_silent
(), only it emits a g_warning() if self has a name different than name.