# TaskManagerWidget

from direct.tkpanels.TaskManagerPanel import TaskManagerWidget

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

## Inheritance:

TaskManagerWidget: DirectObject
DirectObject:

## Methods of TaskManagerWidget:

__init__
onDestroy
popupMenu
removeCurrentTask
removeMatchingTasks
removeTaskHook
setCurrentTask
spawnTaskHook
toggleTaskMgrVerbose
updateTaskListBox
updateTaskMgrVerbose

## Methods of DirectObject:

__init__
accept
acceptOnce
ignore
ignoreAll
isAccepting
isIgnoring

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

onDestroy def onDestroy(self) Undocumented function.

popupMenu 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()

removeCurrentTask def removeCurrentTask(self) Undocumented function.

removeMatchingTasks def removeMatchingTasks(self) Undocumented function.

removeTaskHook def removeTaskHook(self, task, name) Undocumented function.

setCurrentTask def setCurrentTask(self, event=None) Undocumented function.

spawnTaskHook def spawnTaskHook(self, task, name, index) Undocumented function.

toggleTaskMgrVerbose def toggleTaskMgrVerbose(self) Undocumented function.

updateTaskListBox def updateTaskListBox(self) Undocumented function.

updateTaskMgrVerbose def updateTaskMgrVerbose(self, value) Undocumented function.

__init__ def __init__(self) Undocumented function.

accept def accept(self, event, method, extraArgs=[]) Undocumented function.

acceptOnce def acceptOnce(self, event, method, extraArgs=[]) Undocumented function.

ignore def ignore(self, event) Undocumented function.

ignoreAll def ignoreAll(self) Undocumented function.

isAccepting def isAccepting(self, event) Undocumented function.

isIgnoring def isIgnoring(self, event) Undocumented function.