Gladeui.XmlDoc

Fields

None

Methods

class

new ()

get_root ()

new_comment (comment)

ref ()

save (full_path)

set_root (node)

unref ()

Details

class Gladeui.XmlDoc
classmethod new()
Returns:

a new Gladeui.XmlDoc

Return type:

Gladeui.XmlDoc

Creates a new Gladeui.XmlDoc.

get_root()
Returns:

the Gladeui.XmlNode that is the document root of self

Return type:

Gladeui.XmlNode

new_comment(comment)
Parameters:

comment (str) –

Return type:

Gladeui.XmlNode

ref()
Returns:

the given Gladeui.XmlDoc

Return type:

Gladeui.XmlDoc

Increases the reference of the Gladeui.XmlDoc.

save(full_path)
Parameters:

full_path (str) –

Return type:

int

set_root(node)
Parameters:

node (Gladeui.XmlNode) –

unref()

Decreases the reference of the Gladeui.XmlDoc.