pyui.viewer
index
c:\ninja\projects\pyui\pyui\viewer.py

Object viewer.
Able to display a widget for any python object. Allows editing of certain python attributes.

 
Modules
            
pyui
types
 
Classes
            
pyui.widgets.Button(pyui.widgets.Base)
InstanceViewer
pyui.widgets.Frame(pyui.widgets.Window)
TreeViewerWindow
Viewer
pyui.widgets.Label(pyui.widgets.Base)
NoneViewer
pyui.widgets.Panel(pyui.widgets.Base)
DefaultViewer
DictViewer
ListViewer
NumberViewer
StringViewer
TreeViewPanel
pyui.tree.TreeNode
ViewerNode
 
class DefaultViewer(pyui.widgets.Panel)
       
  
Method resolution order:
DefaultViewer
pyui.widgets.Panel
pyui.widgets.Base

Methods defined here:
__init__(self, attributeName, value)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'pyui.viewer'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from pyui.widgets.Panel:
addChild(self, child, option=None)
destroy(self)
draw(self, renderer)
draw the panel's children
getFocus(self)
nextTab(self, step=1)
onKeyDown(self, event)
pack(self)
resize(self, w, h)
setLayout(self, layout)

Methods inherited from pyui.widgets.Base:
__del__(self)
addPopup(self, popup)
calcSize(self)
This sets up self.rect to be absolute co-ordinates. also sets up self.windowRect
to be relative to the upper left of the parent Window
checkHit(self, pos)
clearDirty(self)
Clears this widgets dirty flag.
getToolTipInfo(self, pos)
return a tuple of the text and rectangle for the tooltip for when the
mouse is in <pos> within the window. This uses the member variable toolTipInfo
if it is populated.
handleEvent(self, event)
 event processing for base objects
hasFocus(self)
hit(self, pos)
Check for a hit using absolute coordinates.
loseFocus(self)
lose the gui system's focus.
move(self, dx, dy)
move relative to current position.
moveto(self, x, y)
move to absolute position.
postEvent(self, eventType)
Post an event to be processed next time through the event loop
registerEvent(self, eventType, handler)
Setup handler for an event
removeChild(self, child)
setDirty(self, collide=1)
Sets this widget to redraw itself and notifies window.
setParent(self, parent)
Set the parent of this widget
setShow(self, value)
setWindow(self, window)
unregisterEvent(self, eventType)
Remove handler for an event

Data and non-method functions inherited from pyui.widgets.Base:
canTab = 0
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.
 
class DictViewer(pyui.widgets.Panel)
       
  
Method resolution order:
DictViewer
pyui.widgets.Panel
pyui.widgets.Base

Methods defined here:
__init__(self, attributeName, value)
onView(self, button)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'pyui.viewer'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from pyui.widgets.Panel:
addChild(self, child, option=None)
destroy(self)
draw(self, renderer)
draw the panel's children
getFocus(self)
nextTab(self, step=1)
onKeyDown(self, event)
pack(self)
resize(self, w, h)
setLayout(self, layout)

Methods inherited from pyui.widgets.Base:
__del__(self)
addPopup(self, popup)
calcSize(self)
This sets up self.rect to be absolute co-ordinates. also sets up self.windowRect
to be relative to the upper left of the parent Window
checkHit(self, pos)
clearDirty(self)
Clears this widgets dirty flag.
getToolTipInfo(self, pos)
return a tuple of the text and rectangle for the tooltip for when the
mouse is in <pos> within the window. This uses the member variable toolTipInfo
if it is populated.
handleEvent(self, event)
 event processing for base objects
hasFocus(self)
hit(self, pos)
Check for a hit using absolute coordinates.
loseFocus(self)
lose the gui system's focus.
move(self, dx, dy)
move relative to current position.
moveto(self, x, y)
move to absolute position.
postEvent(self, eventType)
Post an event to be processed next time through the event loop
registerEvent(self, eventType, handler)
Setup handler for an event
removeChild(self, child)
setDirty(self, collide=1)
Sets this widget to redraw itself and notifies window.
setParent(self, parent)
Set the parent of this widget
setShow(self, value)
setWindow(self, window)
unregisterEvent(self, eventType)
Remove handler for an event

Data and non-method functions inherited from pyui.widgets.Base:
canTab = 0
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.
 
class InstanceViewer(pyui.widgets.Button)
       
  
Method resolution order:
InstanceViewer
pyui.widgets.Button
pyui.widgets.Base

Methods defined here:
__init__(self, target, attributeName, value)
onButton(self, button)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'pyui.viewer'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from pyui.widgets.Button:
disable(self)
draw(self, renderer)
enable(self)
onClicked(self, event)
onKeyDown(self, event)
onKeyUp(self, event)
onMouseDown(self, event)
onMouseMotion(self, event)
onMouseUp(self, event)
setText(self, text)

Data and non-method functions inherited from pyui.widgets.Button:
DOWN = 2
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.
IDLE = 0
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.
ROLLOVER = 1
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.
canTab = 1
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.

Methods inherited from pyui.widgets.Base:
__del__(self)
addChild(self, child)
Add a child widget.
addPopup(self, popup)
calcSize(self)
This sets up self.rect to be absolute co-ordinates. also sets up self.windowRect
to be relative to the upper left of the parent Window
checkHit(self, pos)
clearDirty(self)
Clears this widgets dirty flag.
destroy(self)
Call this to remove all references to the widget from the system.
getFocus(self)
Acquire the gui system's focus. only one Base may have the focus
getToolTipInfo(self, pos)
return a tuple of the text and rectangle for the tooltip for when the
mouse is in <pos> within the window. This uses the member variable toolTipInfo
if it is populated.
handleEvent(self, event)
 event processing for base objects
hasFocus(self)
hit(self, pos)
Check for a hit using absolute coordinates.
loseFocus(self)
lose the gui system's focus.
move(self, dx, dy)
move relative to current position.
moveto(self, x, y)
move to absolute position.
pack(self)
used by panels & layout managers
postEvent(self, eventType)
Post an event to be processed next time through the event loop
registerEvent(self, eventType, handler)
Setup handler for an event
removeChild(self, child)
resize(self, w, h)
 resize absolute size of the widget
setDirty(self, collide=1)
Sets this widget to redraw itself and notifies window.
setParent(self, parent)
Set the parent of this widget
setShow(self, value)
setWindow(self, window)
unregisterEvent(self, eventType)
Remove handler for an event
 
class ListViewer(pyui.widgets.Panel)
       
  
Method resolution order:
ListViewer
pyui.widgets.Panel
pyui.widgets.Base

Methods defined here:
__init__(self, attributeName, value)
onView(self, button)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'pyui.viewer'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from pyui.widgets.Panel:
addChild(self, child, option=None)
destroy(self)
draw(self, renderer)
draw the panel's children
getFocus(self)
nextTab(self, step=1)
onKeyDown(self, event)
pack(self)
resize(self, w, h)
setLayout(self, layout)

Methods inherited from pyui.widgets.Base:
__del__(self)
addPopup(self, popup)
calcSize(self)
This sets up self.rect to be absolute co-ordinates. also sets up self.windowRect
to be relative to the upper left of the parent Window
checkHit(self, pos)
clearDirty(self)
Clears this widgets dirty flag.
getToolTipInfo(self, pos)
return a tuple of the text and rectangle for the tooltip for when the
mouse is in <pos> within the window. This uses the member variable toolTipInfo
if it is populated.
handleEvent(self, event)
 event processing for base objects
hasFocus(self)
hit(self, pos)
Check for a hit using absolute coordinates.
loseFocus(self)
lose the gui system's focus.
move(self, dx, dy)
move relative to current position.
moveto(self, x, y)
move to absolute position.
postEvent(self, eventType)
Post an event to be processed next time through the event loop
registerEvent(self, eventType, handler)
Setup handler for an event
removeChild(self, child)
setDirty(self, collide=1)
Sets this widget to redraw itself and notifies window.
setParent(self, parent)
Set the parent of this widget
setShow(self, value)
setWindow(self, window)
unregisterEvent(self, eventType)
Remove handler for an event

Data and non-method functions inherited from pyui.widgets.Base:
canTab = 0
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.
 
class NoneViewer(pyui.widgets.Label)
       
  
Method resolution order:
NoneViewer
pyui.widgets.Label
pyui.widgets.Base

Methods defined here:
__init__(self, attributeName)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'pyui.viewer'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from pyui.widgets.Label:
draw(self, renderer)
setText(self, text)
Set the text of the label. sets the dirty flag.

Methods inherited from pyui.widgets.Base:
__del__(self)
addChild(self, child)
Add a child widget.
addPopup(self, popup)
calcSize(self)
This sets up self.rect to be absolute co-ordinates. also sets up self.windowRect
to be relative to the upper left of the parent Window
checkHit(self, pos)
clearDirty(self)
Clears this widgets dirty flag.
destroy(self)
Call this to remove all references to the widget from the system.
getFocus(self)
Acquire the gui system's focus. only one Base may have the focus
getToolTipInfo(self, pos)
return a tuple of the text and rectangle for the tooltip for when the
mouse is in <pos> within the window. This uses the member variable toolTipInfo
if it is populated.
handleEvent(self, event)
 event processing for base objects
hasFocus(self)
hit(self, pos)
Check for a hit using absolute coordinates.
loseFocus(self)
lose the gui system's focus.
move(self, dx, dy)
move relative to current position.
moveto(self, x, y)
move to absolute position.
pack(self)
used by panels & layout managers
postEvent(self, eventType)
Post an event to be processed next time through the event loop
registerEvent(self, eventType, handler)
Setup handler for an event
removeChild(self, child)
resize(self, w, h)
 resize absolute size of the widget
setDirty(self, collide=1)
Sets this widget to redraw itself and notifies window.
setParent(self, parent)
Set the parent of this widget
setShow(self, value)
setWindow(self, window)
unregisterEvent(self, eventType)
Remove handler for an event

Data and non-method functions inherited from pyui.widgets.Base:
canTab = 0
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.
 
class NumberViewer(pyui.widgets.Panel)
       
  
Method resolution order:
NumberViewer
pyui.widgets.Panel
pyui.widgets.Base

Methods defined here:
__init__(self, target, attributeName, value)
onEnter(self, obj)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'pyui.viewer'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from pyui.widgets.Panel:
addChild(self, child, option=None)
destroy(self)
draw(self, renderer)
draw the panel's children
getFocus(self)
nextTab(self, step=1)
onKeyDown(self, event)
pack(self)
resize(self, w, h)
setLayout(self, layout)

Methods inherited from pyui.widgets.Base:
__del__(self)
addPopup(self, popup)
calcSize(self)
This sets up self.rect to be absolute co-ordinates. also sets up self.windowRect
to be relative to the upper left of the parent Window
checkHit(self, pos)
clearDirty(self)
Clears this widgets dirty flag.
getToolTipInfo(self, pos)
return a tuple of the text and rectangle for the tooltip for when the
mouse is in <pos> within the window. This uses the member variable toolTipInfo
if it is populated.
handleEvent(self, event)
 event processing for base objects
hasFocus(self)
hit(self, pos)
Check for a hit using absolute coordinates.
loseFocus(self)
lose the gui system's focus.
move(self, dx, dy)
move relative to current position.
moveto(self, x, y)
move to absolute position.
postEvent(self, eventType)
Post an event to be processed next time through the event loop
registerEvent(self, eventType, handler)
Setup handler for an event
removeChild(self, child)
setDirty(self, collide=1)
Sets this widget to redraw itself and notifies window.
setParent(self, parent)
Set the parent of this widget
setShow(self, value)
setWindow(self, window)
unregisterEvent(self, eventType)
Remove handler for an event

Data and non-method functions inherited from pyui.widgets.Base:
canTab = 0
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.
 
class StringViewer(pyui.widgets.Panel)
       
  
Method resolution order:
StringViewer
pyui.widgets.Panel
pyui.widgets.Base

Methods defined here:
__init__(self, target, attributeName, value)
onEnter(self, obj)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'pyui.viewer'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from pyui.widgets.Panel:
addChild(self, child, option=None)
destroy(self)
draw(self, renderer)
draw the panel's children
getFocus(self)
nextTab(self, step=1)
onKeyDown(self, event)
pack(self)
resize(self, w, h)
setLayout(self, layout)

Methods inherited from pyui.widgets.Base:
__del__(self)
addPopup(self, popup)
calcSize(self)
This sets up self.rect to be absolute co-ordinates. also sets up self.windowRect
to be relative to the upper left of the parent Window
checkHit(self, pos)
clearDirty(self)
Clears this widgets dirty flag.
getToolTipInfo(self, pos)
return a tuple of the text and rectangle for the tooltip for when the
mouse is in <pos> within the window. This uses the member variable toolTipInfo
if it is populated.
handleEvent(self, event)
 event processing for base objects
hasFocus(self)
hit(self, pos)
Check for a hit using absolute coordinates.
loseFocus(self)
lose the gui system's focus.
move(self, dx, dy)
move relative to current position.
moveto(self, x, y)
move to absolute position.
postEvent(self, eventType)
Post an event to be processed next time through the event loop
registerEvent(self, eventType, handler)
Setup handler for an event
removeChild(self, child)
setDirty(self, collide=1)
Sets this widget to redraw itself and notifies window.
setParent(self, parent)
Set the parent of this widget
setShow(self, value)
setWindow(self, window)
unregisterEvent(self, eventType)
Remove handler for an event

Data and non-method functions inherited from pyui.widgets.Base:
canTab = 0
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.
 
class TreeViewPanel(pyui.widgets.Panel)
      A panel in a treeViewWindow that includes the tree view of an object.
 
  
Method resolution order:
TreeViewPanel
pyui.widgets.Panel
pyui.widgets.Base

Methods defined here:
__init__(self, target)
onSelect(self, event)
populateNode(self, node)
resize(self, w, h)

Data and non-method functions defined here:
__doc__ = 'A panel in a treeViewWindow that includes the tree view of an object.\n '
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__module__ = 'pyui.viewer'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from pyui.widgets.Panel:
addChild(self, child, option=None)
destroy(self)
draw(self, renderer)
draw the panel's children
getFocus(self)
nextTab(self, step=1)
onKeyDown(self, event)
pack(self)
setLayout(self, layout)

Methods inherited from pyui.widgets.Base:
__del__(self)
addPopup(self, popup)
calcSize(self)
This sets up self.rect to be absolute co-ordinates. also sets up self.windowRect
to be relative to the upper left of the parent Window
checkHit(self, pos)
clearDirty(self)
Clears this widgets dirty flag.
getToolTipInfo(self, pos)
return a tuple of the text and rectangle for the tooltip for when the
mouse is in <pos> within the window. This uses the member variable toolTipInfo
if it is populated.
handleEvent(self, event)
 event processing for base objects
hasFocus(self)
hit(self, pos)
Check for a hit using absolute coordinates.
loseFocus(self)
lose the gui system's focus.
move(self, dx, dy)
move relative to current position.
moveto(self, x, y)
move to absolute position.
postEvent(self, eventType)
Post an event to be processed next time through the event loop
registerEvent(self, eventType, handler)
Setup handler for an event
removeChild(self, child)
setDirty(self, collide=1)
Sets this widget to redraw itself and notifies window.
setParent(self, parent)
Set the parent of this widget
setShow(self, value)
setWindow(self, window)
unregisterEvent(self, eventType)
Remove handler for an event

Data and non-method functions inherited from pyui.widgets.Base:
canTab = 0
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.
 
class TreeViewerWindow(pyui.widgets.Frame)
      A tree widget based python object viewer.
 
  
Method resolution order:
TreeViewerWindow
pyui.widgets.Frame
pyui.widgets.Window
pyui.widgets.Base

Methods defined here:
__init__(self, x, y, w, h, target)

Data and non-method functions defined here:
__doc__ = 'A tree widget based python object viewer.\n '
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__module__ = 'pyui.viewer'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from pyui.widgets.Frame:
draw(self, renderer)
Draws to the actual frame.
hitFrameRegion(self, pos)
onCloseButton(self)
onMouseDown(self, event)
onMouseMotion(self, event)
onMouseUp(self, event)
replacePanel(self, panel)
resize(self, w, h)
setBackImage(self, filename)
setTitle(self, title)

Methods inherited from pyui.widgets.Window:
addChild(self, child, option=None)
# for windows, children get added to the content panel
addDrawCallback(self, callback)
destroy(self)
drawWindow(self, renderer)
Sets up window drawing for the renderer, and then calls standard draw() method.
move(self, x, y)
moveto(self, x, y)
pack(self)
setDirty(self, collide=1)
setLayout(self, layout)
setTopMost(self, value)

Methods inherited from pyui.widgets.Base:
__del__(self)
addPopup(self, popup)
calcSize(self)
This sets up self.rect to be absolute co-ordinates. also sets up self.windowRect
to be relative to the upper left of the parent Window
checkHit(self, pos)
clearDirty(self)
Clears this widgets dirty flag.
getFocus(self)
Acquire the gui system's focus. only one Base may have the focus
getToolTipInfo(self, pos)
return a tuple of the text and rectangle for the tooltip for when the
mouse is in <pos> within the window. This uses the member variable toolTipInfo
if it is populated.
handleEvent(self, event)
 event processing for base objects
hasFocus(self)
hit(self, pos)
Check for a hit using absolute coordinates.
loseFocus(self)
lose the gui system's focus.
postEvent(self, eventType)
Post an event to be processed next time through the event loop
registerEvent(self, eventType, handler)
Setup handler for an event
removeChild(self, child)
setParent(self, parent)
Set the parent of this widget
setShow(self, value)
setWindow(self, window)
unregisterEvent(self, eventType)
Remove handler for an event

Data and non-method functions inherited from pyui.widgets.Base:
canTab = 0
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.
 
class Viewer(pyui.widgets.Frame)
       
  
Method resolution order:
Viewer
pyui.widgets.Frame
pyui.widgets.Window
pyui.widgets.Base

Methods defined here:
__init__(self, x, y, target)
createViewWidget(self, object, attribute)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'pyui.viewer'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from pyui.widgets.Frame:
draw(self, renderer)
Draws to the actual frame.
hitFrameRegion(self, pos)
onCloseButton(self)
onMouseDown(self, event)
onMouseMotion(self, event)
onMouseUp(self, event)
replacePanel(self, panel)
resize(self, w, h)
setBackImage(self, filename)
setTitle(self, title)

Methods inherited from pyui.widgets.Window:
addChild(self, child, option=None)
# for windows, children get added to the content panel
addDrawCallback(self, callback)
destroy(self)
drawWindow(self, renderer)
Sets up window drawing for the renderer, and then calls standard draw() method.
move(self, x, y)
moveto(self, x, y)
pack(self)
setDirty(self, collide=1)
setLayout(self, layout)
setTopMost(self, value)

Methods inherited from pyui.widgets.Base:
__del__(self)
addPopup(self, popup)
calcSize(self)
This sets up self.rect to be absolute co-ordinates. also sets up self.windowRect
to be relative to the upper left of the parent Window
checkHit(self, pos)
clearDirty(self)
Clears this widgets dirty flag.
getFocus(self)
Acquire the gui system's focus. only one Base may have the focus
getToolTipInfo(self, pos)
return a tuple of the text and rectangle for the tooltip for when the
mouse is in <pos> within the window. This uses the member variable toolTipInfo
if it is populated.
handleEvent(self, event)
 event processing for base objects
hasFocus(self)
hit(self, pos)
Check for a hit using absolute coordinates.
loseFocus(self)
lose the gui system's focus.
postEvent(self, eventType)
Post an event to be processed next time through the event loop
registerEvent(self, eventType, handler)
Setup handler for an event
removeChild(self, child)
setParent(self, parent)
Set the parent of this widget
setShow(self, value)
setWindow(self, window)
unregisterEvent(self, eventType)
Remove handler for an event

Data and non-method functions inherited from pyui.widgets.Base:
canTab = 0
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.
 
class ViewerNode(pyui.tree.TreeNode)
       
   Methods defined here:
__init__(self, title, target)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'pyui.viewer'
str(object) -> string
 
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Methods inherited from pyui.tree.TreeNode:
addNode(self, node)
checkY(self, y)
countNodes(self)
destroy(self)
draw(self, renderer, x, y)
draw the node and it's sub-nodes and return the height it required to draw, and the number of nodes drawn.
drawSubNodes(self, renderer, x, y)
findNode(self, y)
 
Data
             CENTER = 5
CHAR = 8192
CLICKED = 12288
CLIP = 5
DIALOGCLOSED = 12290
EAST = 2
EVENT_KEYBOARD = 8192
EVENT_MASK = 61440
EVENT_MOUSE = 4096
EVENT_SYSTEM = 12288
GRADIENT = 1
HIT_FRAME_CLOSE = 'FRAME_CLOSE'
HIT_FRAME_MOVE = 'FRAME_MOVE'
HIT_FRAME_RESIZE_BOTTOM = 'FRAME_RESIZE_BOTTOM'
HIT_FRAME_RESIZE_BOTTOM_RIGHT = 'FRAME_RESIZE_BOTTOM_RIGHT'
HIT_FRAME_RESIZE_RIGHT = 'FRAME_RESIZE_RIGHT'
IMAGE = 2
IMAGE_ROT = 7
KEYDOWN = 8193
KEYUP = 8194
K_0 = 48
K_1 = 49
K_2 = 50
K_3 = 51
K_4 = 52
K_5 = 53
K_6 = 54
K_7 = 55
K_8 = 56
K_9 = 57
K_A = 65
K_ALT = 18
K_B = 66
K_BACKSPACE = 8
K_C = 67
K_CAPITAL = 20
K_CONTROL = 17
K_D = 68
K_DELETE = 46
K_DOWN = 40
K_E = 69
K_END = 35
K_ESCAPE = 27
K_F = 70
K_F1 = 112
K_F10 = 121
K_F11 = 122
K_F12 = 123
K_F2 = 113
K_F3 = 114
K_F4 = 115
K_F5 = 116
K_F6 = 117
K_F7 = 118
K_F8 = 119
K_F9 = 120
K_G = 71
K_H = 72
K_HOME = 36
K_I = 73
K_INSERT = 45
K_J = 74
K_K = 75
K_L = 76
K_LEFT = 37
K_M = 77
K_N = 78
K_NUMLOCK = 144
K_O = 79
K_P = 80
K_PAD0 = 96
K_PAD1 = 97
K_PAD2 = 98
K_PAD3 = 99
K_PAD4 = 100
K_PAD5 = 101
K_PAD6 = 102
K_PAD7 = 103
K_PAD8 = 104
K_PAD9 = 105
K_PADDECIMAL = 110
K_PADDIVIDE = 111
K_PADENTER = 13
K_PADMINUS = 109
K_PADPLUS = 107
K_PADTIMES = 106
K_PAGEDOWN = 34
K_PAGEUP = 33
K_PAUSE = 19
K_Q = 81
K_R = 82
K_RETURN = 13
K_RIGHT = 39
K_S = 83
K_SCROLL = 145
K_SHIFT = 16
K_SPACE = 32
K_T = 84
K_TAB = 9
K_U = 85
K_UP = 38
K_V = 86
K_W = 87
K_X = 88
K_Y = 89
K_Z = 90
LINE = 6
LIST_SELECTED = 12291
LMOUSEBUTTONDOWN = 4097
LMOUSEBUTTONUP = 4098
MENU_EXIT = 12294
MMOUSEBUTTONDOWN = 4101
MMOUSEBUTTONUP = 4102
MOD_ALT = 768
MOD_CONTROL = 192
MOD_LALT = 256
MOD_LCONTROL = 64
MOD_LSHIFT = 1
MOD_NONE = 0
MOD_RALT = 512
MOD_RCONTROL = 128
MOD_RSHIFT = 2
MOD_SHIFT = 3
MOUSEMOVE = 4096
MOUSEWHEEL = 4103
NONE = 0
NORTH = 3
QUIT = 12293
RECT = 0
RMOUSEBUTTONDOWN = 4099
RMOUSEBUTTONUP = 4100
SCROLLPOS = 12289
SOUTH = 4
TEXT = 3
TEXT_HEIGHT = 16
THEME_SCREEN_HEIGHT = 'SCREENHEIGHT'
THEME_SCREEN_WIDTH = 'SCREENWIDTH'
TREENODE_SELECTED = 12292
USEREVENT = 16384
VIEW = 4
WEST = 1
__file__ = r'.\pyui\viewer.pyc'
__name__ = 'pyui.viewer'