|
Panda3D
|
Public Member Functions | |
| __init__ (self) | |
| GetIconName (self) | |
| GetLabelText (self) | |
| GetSelectedIconName (self) | |
| GetSubList (self) | |
| GetText (self) | |
| GetTextBg (self) | |
| GetTextFg (self) | |
| IsEditable (self) | |
| IsExpandable (self) | |
| OnDoubleClick (self) | |
| OnSelect (self) | |
| SetText (self, text) | |
Protected Member Functions | |
| _GetSubList (self) | |
Abstract class representing tree items. Methods should typically be overridden, otherwise a default action is used.
| __init__ | ( | self | ) |
Constructor. Do whatever you need to do.
|
protected |
Do not override! Called by TreeNode.
| GetIconName | ( | self | ) |
Return name of icon to be displayed normally.
Reimplemented in SceneGraphExplorerItem.
| GetLabelText | ( | self | ) |
Return label text string to display in front of text (if any).
| GetSelectedIconName | ( | self | ) |
Return name of icon to be displayed when selected.
| GetSubList | ( | self | ) |
Return list of items forming sublist.
Reimplemented in SceneGraphExplorerItem.
| GetText | ( | self | ) |
Return text string to display.
Reimplemented in SceneGraphExplorerItem.
| GetTextBg | ( | self | ) |
| GetTextFg | ( | self | ) |
| IsEditable | ( | self | ) |
Return whether the item's text may be edited.
Reimplemented in SceneGraphExplorerItem.
| IsExpandable | ( | self | ) |
Return whether there are subitems.
Reimplemented in SceneGraphExplorerItem.
| OnDoubleClick | ( | self | ) |
Called on a double-click on the item.
| OnSelect | ( | self | ) |
Called when item selected.
Reimplemented in SceneGraphExplorerItem.
| SetText | ( | self, | |
| text ) |
Change the item's text (if it is editable).
Reimplemented in SceneGraphExplorerItem.