# 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

## Methods of DirectObject:

__init__
_addTask
_clearTask
accept
acceptOnce
addTask
classTree
detectLeaks
doMethodLater
getAllAccepting
ignore
ignoreAll
isAccepting
isIgnoring
removeAllTasks
removeTask

__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) Undocumented function.

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

spawnTaskHook def spawnTaskHook(self, task) Undocumented function.

toggleTaskMgrVerbose def toggleTaskMgrVerbose(self) Undocumented function.

updateTaskListBox def updateTaskListBox(self) Undocumented function.

__init__ def __init__(self) Undocumented function.

_addTask def _addTask(self, task) Undocumented function.

_clearTask def _clearTask(self, task) Undocumented function.

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

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

addTask def addTask(self, *args, **kwargs) Undocumented function.

classTree def classTree(self) Undocumented function.

detectLeaks def detectLeaks(self) Undocumented function.

doMethodLater def doMethodLater(self, *args, **kwargs) Undocumented function.

getAllAccepting def getAllAccepting(self) 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.

removeAllTasks def removeAllTasks(self) Undocumented function.

removeTask def removeTask(self, taskOrName) Undocumented function.