[PyQt] Problems with QX11EmbedContainer
Giovanni Bajo
rasky at develer.com
Sat Jul 28 02:27:09 BST 2007
On sab, 2007-07-28 at 00:17 +0200, David Boddie wrote:
> You should be passing '-into' rather than '-wid'. It might also be a good
> idea to pass the QX11EmbedContainer's window ID using QString.number(wid)
> instead of just str(wid). Python may interpret the ID as a long integer
> value, so its representation will include a trailing "L" - it's not
> something you really want to pass to xterm.
uh?
>>> str(1L)
'1'
>>> str(100000000000000000L)
'100000000000000000'
>>> repr(1L)
'1L'
... or Python would miss a pretty basic feature!
--
Giovanni Bajo
More information about the PyQt
mailing list