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

Method ps1

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

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

Source from the content-addressed store, hash-verified

687
688//----------------------------------------------------------------------------
689QString ctkPythonConsole::ps1() const
690{
691 PyObject * ps1 = PySys_GetObject(const_cast<char*>("ps1"));
692 const char * ps1_str = PyString_AsString(ps1);
693 return QLatin1String(ps1_str);
694}
695
696//----------------------------------------------------------------------------
697void ctkPythonConsole::setPs1(const QString& newPs1)

Callers 3

updateCompleterMethod · 0.80
promptForInputMethod · 0.80
insertCompletionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected