I am trying to make a vtk renderwindow for pygtk2. The code I am
using as my starting point makes a call
def OnRealize(self, *args):
if self.__Created == 0:
# you can't get the xid without the window being realized.
self.realize()
win_id = str(self.window.xid)
self._RenderWindow.SetWindowInfo(win_id)
self.__Created = 1
return gtk.TRUE
self extends gtk.Window
But this 'xid' attribute appears to no longer exist. Is there a way
to get a window ID, preferably in a cross platform way?
Thanks,
John Hunter
pygtk 1.99.15
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/