direct.tkwidgets.SceneGraphExplorer

from direct.tkwidgets.SceneGraphExplorer import SceneGraphExplorer, SceneGraphExplorerItem, explore

This module defines a widget used to display a graphical overview of the scene graph using the tkinter GUI system.

Requires Pmw.

Inheritance diagram

Inheritance diagram of direct.tkwidgets.SceneGraphExplorer

class SceneGraphExplorer(parent=None, nodePath=None, isItemEditable=True, **kw)[source]

Bases: MegaWidget, DirectObject

Graphical display of a scene graph

__init__(parent=None, nodePath=None, isItemEditable=True, **kw)[source]
mouse2Down(event)[source]
mouse2Motion(event)[source]
onDestroy(event)[source]
setChildrenTag(tag, fModeChildrenTag)[source]
setFSortChildren(fSortChildren)[source]
update(fUseCachedChildren=1)[source]

Refresh scene graph explorer

updateSelection(searchKey)[source]
class SceneGraphExplorerItem(nodePath, isItemEditable=True)[source]

Bases: TreeItem

Example TreeItem subclass – browse the file system.

GetIconName()[source]
GetKey()[source]
GetSubList()[source]
GetText()[source]
IsEditable()[source]
IsExpandable()[source]
MenuCommand(command)[source]
OnSelect()[source]
SetText(text)[source]
__init__(nodePath, isItemEditable=True)[source]
explore(nodePath=None)[source]