MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / clearTaskWatcher

Method clearTaskWatcher

src/Gui/TaskView/TaskDialogPython.cpp:232–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232Py::Object ControlPy::clearTaskWatcher(const Py::Tuple& args)
233{
234 if (!PyArg_ParseTuple(args.ptr(), "")) {
235 throw Py::Exception();
236 }
237 Gui::TaskView::TaskView* taskView = Gui::Control().taskPanel();
238 if (taskView) {
239 taskView->clearTaskWatcher();
240 }
241 return Py::None();
242}
243
244Py::Object ControlPy::isAllowedAlterDocument(const Py::Tuple& args)
245{

Callers

nothing calls this directly

Calls 3

taskPanelMethod · 0.80
ExceptionClass · 0.50
ptrMethod · 0.45

Tested by

no test coverage detected