MCPcopy Create free account
hub / github.com/commontk/CTK / setPs1

Method setPs1

Libs/Scripting/Python/Widgets/ctkPythonConsole.cpp:697–700  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

695
696//----------------------------------------------------------------------------
697void ctkPythonConsole::setPs1(const QString& newPs1)
698{
699 PySys_SetObject(const_cast<char*>("ps1"), PyString_FromString(newPs1.toLatin1().data()));
700}
701
702//----------------------------------------------------------------------------
703QString ctkPythonConsole::ps2() const

Callers 2

initializeMethod · 0.95
resetMethod · 0.95

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected