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

Method setDocumentName

src/Gui/TaskView/TaskDialogPython.cpp:639–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639Py::Object TaskDialogPy::setDocumentName(const Py::Tuple& args)
640{
641 const char* name {""};
642 if (!PyArg_ParseTuple(args.ptr(), "s", &name)) {
643 throw Py::Exception();
644 }
645 dialog->setDocumentName(name);
646 return Py::None();
647}
648
649Py::Object TaskDialogPy::isAllowedAlterDocument(const Py::Tuple& args)
650{

Callers 2

setBoundToByNameMethod · 0.45

Calls 2

ExceptionClass · 0.50
ptrMethod · 0.45

Tested by

no test coverage detected