Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes

# SceneGraphExplorerItem Class Reference

Inheritance diagram for SceneGraphExplorerItem:

List of all members.

## Public Member Functions
def | __init__
def | GetIconName
def | GetKey
def | GetSubList
def | GetText
def | IsEditable
def | IsExpandable
def | MenuCommand
def | OnSelect
def | SetText
## Public Attributes
| isItemEditable
| nodePath

## Detailed Description

    Example TreeItem subclass -- browse the file system.

## Constructor & Destructor Documentation

def __init__ | ( |  | self,
|  |  | nodePath,
|  |  | isItemEditable = `True`
| ) |  |

## Member Function Documentation

def GetIconName | ( |  | self | ) |

    Return name of icon to be displayed normally.

Reimplemented from TreeItem.

def GetKey | ( |  | self | ) |

def GetSubList | ( |  | self | ) |

    Return list of items forming sublist.

Reimplemented from TreeItem.

def GetText | ( |  | self | ) |

    Return text string to display.

Reimplemented from TreeItem.

def IsEditable | ( |  | self | ) |

    Return whether the item's text may be edited.

Reimplemented from TreeItem.

def IsExpandable | ( |  | self | ) |

    Return whether there are subitems.

Reimplemented from TreeItem.

def MenuCommand | ( |  | self,
|  |  | command
| ) |  |

def OnSelect | ( |  | self | ) |

    Called when item selected.

Reimplemented from TreeItem.

def SetText | ( |  | self,
|  |  | text
| ) |  |

    Change the item's text (if it is editable).

Reimplemented from TreeItem.

## Member Data Documentation

isItemEditable

nodePath

All Classes Namespaces Functions Variables Enumerations Enumerator Properties