Panda3D
Public Member Functions | Public Attributes | List of all members
TreeNode Class Reference

Public Member Functions

def __init__ (self, canvas, parent, item, menuList=[])
 
def collapse (self, event=None)
 
def createPopupMenu (self)
 
def deselect (self, event=None)
 
def deselectall (self)
 
def deselecttree (self)
 
def destroy (self)
 
def draw (self, x, y, fUseCachedChildren=1)
 
def drawicon (self)
 
def drawtext (self)
 
def edit (self, event=None)
 
def edit_cancel (self, event=None)
 
def edit_finish (self, event=None)
 
def expand (self, event=None)
 
def find (self, searchKey)
 
def flip (self, event=None)
 
def geticonimage (self, name)
 
def lastvisiblechild (self)
 
def popupMenu (self, event=None)
 
def popupMenuCommand (self)
 
def reveal (self)
 
def select (self, event=None)
 
def select_or_edit (self, event=None)
 
def setChildrenTag (self, tag, fModeChildrenTag)
 
def setFSortChildren (self, fSortChildren)
 
def update (self, fUseCachedChildren=1, fExpandMode=0)
 
def updateAll (self, fMode, depth=0, fUseCachedChildren=1)
 
def view (self)
 

Public Attributes

 canvas
 
 children
 
 childrenTag
 
 entry
 
 fModeChildrenTag
 
 fSortChildren
 
 iconimages
 
 image_id
 
 item
 
 kidKeys
 
 label
 
 menuList
 
 menuVar
 
 parent
 
 selected
 
 setAsTarget
 
 state
 
 text_id
 
 x
 
 y
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  canvas,
  parent,
  item,
  menuList = [] 
)

Member Function Documentation

◆ collapse()

def collapse (   self,
  event = None 
)

◆ createPopupMenu()

def createPopupMenu (   self)

◆ deselect()

def deselect (   self,
  event = None 
)

◆ deselectall()

def deselectall (   self)

◆ deselecttree()

def deselecttree (   self)

◆ destroy()

def destroy (   self)

◆ draw()

def draw (   self,
  x,
  y,
  fUseCachedChildren = 1 
)

◆ drawicon()

def drawicon (   self)

◆ drawtext()

def drawtext (   self)

◆ edit()

def edit (   self,
  event = None 
)

◆ edit_cancel()

def edit_cancel (   self,
  event = None 
)

◆ edit_finish()

def edit_finish (   self,
  event = None 
)

◆ expand()

def expand (   self,
  event = None 
)

◆ find()

def find (   self,
  searchKey 
)

◆ flip()

def flip (   self,
  event = None 
)

◆ geticonimage()

def geticonimage (   self,
  name 
)

◆ lastvisiblechild()

def lastvisiblechild (   self)

◆ popupMenu()

def popupMenu (   self,
  event = None 
)

◆ popupMenuCommand()

def popupMenuCommand (   self)

◆ reveal()

def reveal (   self)

◆ select()

def select (   self,
  event = None 
)

◆ select_or_edit()

def select_or_edit (   self,
  event = None 
)

◆ setChildrenTag()

def setChildrenTag (   self,
  tag,
  fModeChildrenTag 
)

◆ setFSortChildren()

def setFSortChildren (   self,
  fSortChildren 
)

◆ update()

def update (   self,
  fUseCachedChildren = 1,
  fExpandMode = 0 
)

◆ updateAll()

def updateAll (   self,
  fMode,
  depth = 0,
  fUseCachedChildren = 1 
)

◆ view()

def view (   self)

Member Data Documentation

◆ canvas

canvas

◆ children

children

◆ childrenTag

childrenTag

◆ entry

entry

◆ fModeChildrenTag

fModeChildrenTag

◆ fSortChildren

fSortChildren

◆ iconimages

iconimages

◆ image_id

image_id

◆ item

item

◆ kidKeys

kidKeys

◆ label

label

◆ menuList

menuList

◆ menuVar

menuVar

◆ parent

parent

◆ selected

selected

◆ setAsTarget

setAsTarget

◆ state

state

◆ text_id

text_id

◆ x

x

◆ y

y