How to get WinID handle as pointer in pyside6
-
In pyqt, one can access wid as
sip.voidptr
, usingwidget.winId()
, and then turn it to capsule object usingwid.ascapsule()
In pyside6, when using
widget.winId()
, I can only get an int number.How can I get winId() as ptr like pyqt when using pyside6?
I need to pass winId to WNT_Window(), come from library OCP, which takes a ptr.