direct.tkpanels.TaskManagerPanel

from direct.tkpanels.TaskManagerPanel import TaskManagerPanel, TaskManagerWidget

Undocumented Module

Inheritance diagram

Inheritance diagram of direct.tkpanels.TaskManagerPanel

class TaskManagerPanel(taskMgr, parent=None, **kw)[source]

Bases: AppShell

__init__(self, taskMgr, parent=None, **kw)[source]
appname = 'TaskManager Panel'
createInterface(self)[source]
frameHeight = 400
frameWidth = 300
onDestroy(self, event)[source]
usecommandarea = 0
usestatusarea = 0
class TaskManagerWidget(parent, taskMgr)[source]

Bases: DirectObject

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

__init__(self, parent, taskMgr)[source]

TaskManagerWidget class pops up a control panel to view/delete tasks managed by the taskManager.

onDestroy(self)[source]
popupMenu(self, event)[source]

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(self)[source]
removeMatchingTasks(self)[source]
removeTaskHook(self, task)[source]
setCurrentTask(self, event=None)[source]
spawnTaskHook(self, task)[source]
toggleTaskMgrVerbose(self)[source]
updateTaskListBox(self)[source]