[pygtk] How to get the XID of a GdkDrawable?

John Hunter jdhunter at ace.bsd.uchicago.edu
Fri May 21 00:09:15 WST 2004


>>>>> "welko" == welko  <welko at web.de> writes:

    welko> Hello, does anybody know how can I get the XID of a
    welko> GdkDrawable using pyGTK?

I do this

            if sys.platform=='win32':
                win_id = self.widget.window.handle
            else:
                win_id = self.widget.window.xid



More information about the pygtk mailing list