# SceneGraphExplorerItem

from direct.tkwidgets.SceneGraphExplorer import SceneGraphExplorerItem

Example TreeItem subclass -- browse the file system.

## Inheritance:

SceneGraphExplorerItem: TreeItem
TreeItem:

## Methods of SceneGraphExplorerItem:

__init__
GetIconName
GetKey
GetSubList
GetText
IsEditable
IsExpandable
MenuCommand
OnSelect
SetText

## Methods of TreeItem:

__init__
_GetSubList
GetIconName
GetLabelText
GetSelectedIconName
GetSubList
GetText
GetTextFg
IsEditable
IsExpandable
OnDoubleClick
OnSelect
SetText

__init__ def __init__(self, nodePath, isItemEditable=True) Undocumented function.

GetIconName def GetIconName(self) Undocumented function.

GetKey def GetKey(self) Undocumented function.

GetSubList def GetSubList(self) Undocumented function.

GetText def GetText(self) Undocumented function.

IsEditable def IsEditable(self) Undocumented function.

IsExpandable def IsExpandable(self) Undocumented function.

MenuCommand def MenuCommand(self, command) Undocumented function.

OnSelect def OnSelect(self) Undocumented function.

SetText def SetText(self, text) Undocumented function.

__init__ def __init__(self) Constructor. Do whatever you need to do.

_GetSubList def _GetSubList(self) Do not override! Called by TreeNode.

GetIconName def GetIconName(self) Return name of icon to be displayed normally.

GetLabelText def GetLabelText(self) Return label text string to display in front of text (if any).

GetSelectedIconName def GetSelectedIconName(self) Return name of icon to be displayed when selected.

GetSubList def GetSubList(self) Return list of items forming sublist.

GetText def GetText(self) Return text string to display.

GetTextFg def GetTextFg(self) Undocumented function.

IsEditable def IsEditable(self) Return whether the item's text may be edited.

IsExpandable def IsExpandable(self) Return whether there are subitems.

OnDoubleClick def OnDoubleClick(self) Called on a double-click on the item.

OnSelect def OnSelect(self) Called when item selected.

SetText def SetText(self, text) Change the item's text (if it is editable).