Panda3D

- Main Page
- Packages
- Classes

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

Public Member Functions | Public Attributes

# ObjectPaletteBase Class Reference

Inheritance diagram for ObjectPaletteBase:

List of all members.

## Public Member Functions
def | __init__
def | add
def | addHidden
def | delete
def | deleteStruct
def | findChildren
def | findItem
def | insertItem
def | populate
def | populateSystemObjs
def | rename
## Public Attributes
| data
| dataKeys
| dataStruct
| rootName

## Detailed Description

    Base class for objectPalette

    You should write your own ObjectPalette class inheriting this.
    Refer ObjectPalette.py for example.

## Constructor & Destructor Documentation

def __init__ | ( |  | self | ) |

Reimplemented in ObjectPalette, ProtoPalette, and ProtoPaletteBase.

## Member Function Documentation

def add | ( |  | self,
|  |  | item,
|  |  | parentName = `None`
| ) |  |

def addHidden | ( |  | self,
|  |  | item
| ) |  |

def delete | ( |  | self,
|  |  | name
| ) |  |

def deleteStruct | ( |  | self,
|  |  | name,
|  |  | deleteItems
| ) |  |

def findChildren | ( |  | self,
|  |  | name
| ) |  |

def findItem | ( |  | self,
|  |  | name
| ) |  |

def insertItem | ( |  | self,
|  |  | item,
|  |  | parentName
| ) |  |

    You can insert item to obj palette tree.

    'item' is the object to be inserted, it can be either a group or obj.
    'parentName' is the name of parent under where this item will be inserted.

def populate | ( |  | self | ) |

Reimplemented in ObjectPalette, and ProtoPaletteBase.

def populateSystemObjs | ( |  | self | ) |

def rename | ( |  | self,
|  |  | oldName,
|  |  | newName
| ) |  |

## Member Data Documentation

data

Reimplemented in ProtoPaletteBase.

dataKeys

dataStruct

Reimplemented in ProtoPaletteBase.

rootName

All Classes Namespaces Functions Variables Enumerations Enumerator Properties