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

Method start

src/Base/ProgressIndicatorPy.cpp:75–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75Py::Object ProgressIndicatorPy::start(const Py::Tuple& args)
76{
77 char* text = nullptr;
78 unsigned int steps = 0;
79 if (!PyArg_ParseTuple(args.ptr(), "sI", &text, &steps)) {
80 throw Py::Exception();
81 }
82 if (!_seq) {
83 _seq = std::make_unique<SequencerLauncher>(text, steps);
84 }
85 return Py::None();
86}
87
88Py::Object ProgressIndicatorPy::next(const Py::Tuple& args)
89{

Callers

nothing calls this directly

Calls 2

ExceptionClass · 0.50
ptrMethod · 0.45

Tested by

no test coverage detected