| 230 | } |
| 231 | |
| 232 | Py::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 | |
| 244 | Py::Object ControlPy::isAllowedAlterDocument(const Py::Tuple& args) |
| 245 | { |