Package data_store :: Module gui :: Class Gui
[hide private]
[frames] | no frames]

Class Gui

source code


Container for the global GUI data structures.

Instance Methods [hide private]
 
__init__(self)
Initialise the container info.
source code
 
from_xml(self, gui_node, file_version=1)
Recreate the gui data structure from the XML gui node.
source code

Inherited from data_classes.Element: __repr__, is_empty, to_xml

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initialise the container info.

Parameters:
  • name - The name of the object.
  • desc - The description of the object.
Overrides: object.__init__

from_xml(self, gui_node, file_version=1)

source code 

Recreate the gui data structure from the XML gui node.

Parameters:
  • gui_node (xml.dom.minicompat.Element instance) - The gui XML node.
  • file_version (int) - The relax XML version of the XML file.
Overrides: data_classes.Element.from_xml