| |
- 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)
| |