idlelib.ObjectBrowser
index
/usr/local/lib/python2.3/idlelib/ObjectBrowser.py

# XXX TO DO:
# - popup menu
# - support partial or total redisplay
# - more doc strings
# - tooltips

 
Classes
       
idlelib.TreeWidget.TreeItem
ObjectTreeItem
AtomicObjectTreeItem
ClassTreeItem
InstanceTreeItem
SequenceTreeItem
DictTreeItem

 
class AtomicObjectTreeItem(ObjectTreeItem)
    
Method resolution order:
AtomicObjectTreeItem
ObjectTreeItem
idlelib.TreeWidget.TreeItem

Methods defined here:
IsExpandable(self)

Methods inherited from ObjectTreeItem:
GetIconName(self)
GetLabelText(self)
GetSubList(self)
GetText(self)
IsEditable(self)
SetText(self, text)
__init__(self, labeltext, object, setfunction=None)

Methods inherited from idlelib.TreeWidget.TreeItem:
GetSelectedIconName(self)
Return name of icon to be displayed when selected.
OnDoubleClick(self)
Called on a double-click on the item.

Data and other attributes inherited from idlelib.TreeWidget.TreeItem:
expandable = None

 
class ClassTreeItem(ObjectTreeItem)
    
Method resolution order:
ClassTreeItem
ObjectTreeItem
idlelib.TreeWidget.TreeItem

Methods defined here:
GetSubList(self)
IsExpandable(self)

Methods inherited from ObjectTreeItem:
GetIconName(self)
GetLabelText(self)
GetText(self)
IsEditable(self)
SetText(self, text)
__init__(self, labeltext, object, setfunction=None)

Methods inherited from idlelib.TreeWidget.TreeItem:
GetSelectedIconName(self)
Return name of icon to be displayed when selected.
OnDoubleClick(self)
Called on a double-click on the item.

Data and other attributes inherited from idlelib.TreeWidget.TreeItem:
expandable = None

 
class DictTreeItem(SequenceTreeItem)
    
Method resolution order:
DictTreeItem
SequenceTreeItem
ObjectTreeItem
idlelib.TreeWidget.TreeItem

Methods defined here:
keys(self)

Methods inherited from SequenceTreeItem:
GetSubList(self)
IsExpandable(self)

Methods inherited from ObjectTreeItem:
GetIconName(self)
GetLabelText(self)
GetText(self)
IsEditable(self)
SetText(self, text)
__init__(self, labeltext, object, setfunction=None)

Methods inherited from idlelib.TreeWidget.TreeItem:
GetSelectedIconName(self)
Return name of icon to be displayed when selected.
OnDoubleClick(self)
Called on a double-click on the item.

Data and other attributes inherited from idlelib.TreeWidget.TreeItem:
expandable = None

 
class InstanceTreeItem(ObjectTreeItem)
    
Method resolution order:
InstanceTreeItem
ObjectTreeItem
idlelib.TreeWidget.TreeItem

Methods defined here:
GetSubList(self)
IsExpandable(self)

Methods inherited from ObjectTreeItem:
GetIconName(self)
GetLabelText(self)
GetText(self)
IsEditable(self)
SetText(self, text)
__init__(self, labeltext, object, setfunction=None)

Methods inherited from idlelib.TreeWidget.TreeItem:
GetSelectedIconName(self)
Return name of icon to be displayed when selected.
OnDoubleClick(self)
Called on a double-click on the item.

Data and other attributes inherited from idlelib.TreeWidget.TreeItem:
expandable = None

 
class ObjectTreeItem(idlelib.TreeWidget.TreeItem)
     Methods defined here:
GetIconName(self)
GetLabelText(self)
GetSubList(self)
GetText(self)
IsEditable(self)
IsExpandable(self)
SetText(self, text)
__init__(self, labeltext, object, setfunction=None)

Methods inherited from idlelib.TreeWidget.TreeItem:
GetSelectedIconName(self)
Return name of icon to be displayed when selected.
OnDoubleClick(self)
Called on a double-click on the item.

Data and other attributes inherited from idlelib.TreeWidget.TreeItem:
expandable = None

 
class SequenceTreeItem(ObjectTreeItem)
    
Method resolution order:
SequenceTreeItem
ObjectTreeItem
idlelib.TreeWidget.TreeItem

Methods defined here:
GetSubList(self)
IsExpandable(self)
keys(self)

Methods inherited from ObjectTreeItem:
GetIconName(self)
GetLabelText(self)
GetText(self)
IsEditable(self)
SetText(self, text)
__init__(self, labeltext, object, setfunction=None)

Methods inherited from idlelib.TreeWidget.TreeItem:
GetSelectedIconName(self)
Return name of icon to be displayed when selected.
OnDoubleClick(self)
Called on a double-click on the item.

Data and other attributes inherited from idlelib.TreeWidget.TreeItem:
expandable = None

 
Functions
       
make_objecttreeitem(labeltext, object, setfunction=None)

 
Data
        StringTypes = (<type 'str'>, <type 'unicode'>)
dispatch = {<type 'classobj'>: <class idlelib.ObjectBrowser.ClassTreeItem>, <type 'instance'>: <class idlelib.ObjectBrowser.InstanceTreeItem>, <type 'float'>: <class idlelib.ObjectBrowser.AtomicObjectTreeItem>, <type 'int'>: <class idlelib.ObjectBrowser.AtomicObjectTreeItem>, <type 'list'>: <class idlelib.ObjectBrowser.SequenceTreeItem>, <type 'long'>: <class idlelib.ObjectBrowser.AtomicObjectTreeItem>, <type 'dict'>: <class idlelib.ObjectBrowser.DictTreeItem>, <type 'str'>: <class idlelib.ObjectBrowser.AtomicObjectTreeItem>, <type 'tuple'>: <class idlelib.ObjectBrowser.SequenceTreeItem>}
myrepr = <repr.Repr instance>