Hi,
I'm using the same code provided and i'm trying to accomplish something similar to this but for PySide. However, i'm having a small problem. The following line:
Code:
viz.go(viz.EMBEDDED,window=int(self.widget.winId()))
Leads to the following error:
Code:
Traceback (most recent call last):
File "<string>", line 11, in <module>
File "F:\Docs\Vizard Scripts\PyQTMenu.py", line 107, in <module>
mainWin = MainWindow()
File "F:\Docs\Vizard Scripts\PyQTMenu.py", line 26, in __init__
viz.go(viz.EMBEDDED,window=int(self.widget.winId()))
TypeError: int() argument must be a string or a number, not 'PyCObject
Is there a way to solve it?
Best regards,
Alex.