Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes

# TaskManagerWidget Class Reference

Inherits direct::showbase::DirectObject::DirectObject.

List of all members.

## Public Member Functions
def | __init__
def | onDestroy
def | popupMenu
def | removeCurrentTask
def | removeMatchingTasks
def | removeTaskHook
def | setCurrentTask
def | spawnTaskHook
def | toggleTaskMgrVerbose
def | updateTaskListBox
## 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

All Classes Namespaces Functions Variables Enumerations Enumerator Properties