Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Public Attributes | List of all members
TaskManagerWidget Class Reference
Inheritance diagram for TaskManagerWidget:
DirectObject

Public Member Functions

def __init__
 
def onDestroy
 
def popupMenu
 
def removeCurrentTask
 
def removeMatchingTasks
 
def removeTaskHook
 
def setCurrentTask
 
def spawnTaskHook
 
def toggleTaskMgrVerbose
 
def updateTaskListBox
 
- Public Member Functions inherited from DirectObject
def __init__
 
def accept
 
def acceptOnce
 
def addTask
 
def detectLeaks
 
def doMethodLater
 
def getAllAccepting
 
def ignore
 
def ignoreAll
 
def isAccepting
 
def isIgnoring
 
def removeAllTasks
 
def removeTask
 

Public Attributes

 currentTask
 
 dynamicUpdate
 
 parent
 
 removeButton
 
 removeMatchingButton
 
 taskListBox
 
 taskMgr
 
 taskMgrVerbose
 
 update
 

Detailed Description

TaskManagerWidget class: this class contains methods for creating
a panel to control taskManager tasks.

Constructor & Destructor Documentation

def __init__ (   self,
  parent,
  taskMgr 
)
TaskManagerWidget class pops up a control panel to view/delete
tasks managed by the taskManager.

Member Function Documentation

def onDestroy (   self)
def popupMenu (   self,
  event 
)
listbox = self.taskListBox.component('listbox')
index = listbox.nearest(event.y)
listbox.selection_clear(0)
listbox.activate(index)
self.taskListBox.select_set(index)
self.setCurrentTask()
def removeCurrentTask (   self)
def removeMatchingTasks (   self)
def removeTaskHook (   self,
  task 
)
def setCurrentTask (   self,
  event = None 
)
def spawnTaskHook (   self,
  task 
)
def toggleTaskMgrVerbose (   self)
def updateTaskListBox (   self)

Member Data Documentation

currentTask
dynamicUpdate
parent
removeButton
removeMatchingButton
taskListBox
taskMgr
taskMgrVerbose
update