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

Method getStandardButtons

src/Gui/TaskView/TaskDialogPython.cpp:562–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562Py::Object TaskDialogPy::getStandardButtons(const Py::Tuple& args)
563{
564 if (!PyArg_ParseTuple(args.ptr(), "")) {
565 throw Py::Exception();
566 }
567 auto buttons = dialog->getStandardButtons();
568 return Py::Long(static_cast<int>(buttons));
569}
570
571Py::Object TaskDialogPy::setEscapeButtonEnabled(const Py::Tuple& args)
572{

Callers 1

showDialogMethod · 0.45

Calls 7

loadWidgetsModuleMethod · 0.80
toEnumMethod · 0.80
getStandardButtonsFunction · 0.70
ExceptionClass · 0.50
ptrMethod · 0.45
applyMethod · 0.45
reportExceptionMethod · 0.45

Tested by

no test coverage detected