Inheritance of Python classes from C++ does not work in some cases, as discussed in:
This ticket is created to track how that issue affects the creation of GUIs from Python. In particular, the GUI example tutorial in Python does not work:
since it fails to inherit from TGMainFrame, with the following error:
Once the issue above is fixed, in addition, the TPyDispatcher functionality used in the old PyROOT should be replaced by a better alternative to register Python callables as GUI callbacks. We should be able to do this automatically by relying on the automatic generation of C++ wrappers for Python callables that cppyy provides.