Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ObjectPaletteUI Class Reference
Inheritance diagram for ObjectPaletteUI:

## Public Member Functions
| __init__ (self, parent, editor)
| compareItems (self, item1, item2)
| getSelected (self)
| onPopupItemSelected (self, event)
| onSelected (self, event)
| onShowPopup (self, event)
| populate (self)

## Public Attributes
| editor = editor
| menuItems = list()
| onPopupItemSelected
| onSelected
| onShowPopup
str | opSort = self.opSortOrig
str | opSortAlpha = "Sort Alphabetical Order"
str | opSortOrig = "Sort Original Order"
| palette = self.editor.objectPalette
| popupmenu = wx.Menu()
| tree = PaletteTreeCtrl(self, treeStyle=wx.TR_DEFAULT_STYLE, rootName='Objects')

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | parent,
|  |  | editor )

## Member Function Documentation

## ◆ compareItems()

compareItems | ( |  | self,
|  |  | item1,
|  |  | item2 )

## ◆ getSelected()

getSelected | ( |  | self | ) |

## ◆ onPopupItemSelected()

onPopupItemSelected | ( |  | self,
|  |  | event )

## ◆ onSelected()

onSelected | ( |  | self,
|  |  | event )

## ◆ onShowPopup()

onShowPopup | ( |  | self,
|  |  | event )

## ◆ populate()

populate | ( |  | self | ) |

## Member Data Documentation

## ◆ editor

editor = editor

## ◆ menuItems

menuItems = list()

## ◆ onPopupItemSelected

onPopupItemSelected

## ◆ onSelected

onSelected

## ◆ onShowPopup

onShowPopup

## ◆ opSort

str opSort = self.opSortOrig

## ◆ opSortAlpha

opSortAlpha = "Sort Alphabetical Order"

## ◆ opSortOrig

opSortOrig = "Sort Original Order"

## ◆ palette

palette = self.editor.objectPalette

## ◆ popupmenu

popupmenu = wx.Menu()

## ◆ tree

tree = PaletteTreeCtrl(self, treeStyle=wx.TR_DEFAULT_STYLE, rootName='Objects')