Gladeui.XmlContext

Fields

None

Methods

class

new (doc, name_space)

class

new_from_path (full_path, nspace, root_name)

copy ()

free ()

get_doc ()

Details

class Gladeui.XmlContext
classmethod new(doc, name_space)
Parameters:
Returns:

a new Gladeui.XmlContext

Return type:

Gladeui.XmlContext

classmethod new_from_path(full_path, nspace, root_name)
Parameters:
  • full_path (str) – the path to the XML file

  • nspace (str or None) – the expected namespace

  • root_name (str or None) – the expected root name

Returns:

a new Gladeui.XmlContext or None on failure

Return type:

Gladeui.XmlContext or None

Creates a new Gladeui.XmlContext from the given path.

copy()
Returns:

a copy of the given Gladeui.XmlContext

Return type:

Gladeui.XmlContext

free()

Frees the memory allocated by Gladeui.XmlContext.

get_doc()
Returns:

the Gladeui.XmlDoc that the self refers to

Return type:

Gladeui.XmlDoc

Get the Gladeui.XmlDoc this self refers to.