[PyQt] .windId() returns sip.voidptr
Sampsa Riikonen
sampsa.riikonen at iki.fi
Tue Jan 24 14:10:47 GMT 2017
Hi,
When using python3 / PyQt5 combination, and calling widget's "winId"
function, I get sip.voidptr (i.e. a general pointer to something).
In python3 / PyQt4 it used to give the x-window id number, which could
then be passed directly to the x-window system (this is useful for our
custom streaming applilcations).
How can I go from sip.voidptr to a plain integer (and I don't mean the
memory address..).
Regards,
S. R.
More information about the PyQt
mailing list