xml.dom.ext.Visitor.Visitor
WidgetDataSignallingVisitor
WidgetDataWalker
_DepthVisitor
DepthIndexVisitor
DepthUnindexVisitor
__builtin__.dict (__builtin__.object )
WidgetData
WidgetInfo
class WidgetData (__builtin__.dict )
Purpose: basic container class for widget data
Method resolution order:
WidgetData
__builtin__.dict
__builtin__.object
Methods defined here:
__init__ (self, **initDataD)
copy (self)
reset (self, full=0 )
initialize to defaults. Unless full is true, only the static data
are deleted.
validate (self)
checks the validity of the widget data. Returns True on success and
a formatted error string on failure.
Data and non-method functions defined here:
DEFAULT_DYNAMIC_DATA = {'parentwidget': None, 'widget': None, 'wxid': None}
DEFAULT_XML_DATA = {'childidstrings': [], 'classname': None, 'idstring': None, 'initargs': {}, 'initoptions': {}, 'instantiateoptions': {}, 'internaloptions': {}, 'layout': {}, 'parentidstring': None, 'plugin': None}
__dict__ = <dict-proxy object>
__weakref__ = <member '__weakref__' of 'WidgetData' objects>
class WidgetDataWalker
Purpose: provides level-order traversal of a GUI DOM tree, only visiting
widget definition nodes
Methods defined here:
__init__ (self, visitor, startNode, depth=None )
run (self)
step (self)
class _DepthVisitor
Purpose: visitor building or clearing a mapping of node to node depth
Detail: mode is either VISITMODE_ENTER (builds a dictionary
{ <node> : <node depth> } or VISITMODE_REMOVE (deletes
entries from the node depth dictionary).
Methods defined here:
__init__ (self, node2DepthD, mode)
visit (self, node)