[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [SPAM: 3.000] Re: [pygame] get_wm_info on linux



Greg Ewing wrote:

It seems like it should be possible to get the
long from the PyCObject (info['display']) just as well
as it was done from the c code

PyCObjects are opaque from Python code -- there's no way
to extract an address from one without using C code.

ctypes can.

--
Lenard Lindstrom
<len-l@xxxxxxxxx>