Integrate python Panel modifications into C++