On Tue, 2011-03-29 at 01:36 +0200, laguillaumie sylvain wrote: > hi > > i reinstalled macport and rebuilded all gtk2, gstreamer... with no_x11 and > +quartz, this time the app start normally > > but still the problem with the xid > > i spend hours on google without finding help... > > so, in linux i use the gtk.gdk.Window.xid > on win 32 the handle (works fine too) > > and osx, i tried the nsview but i get : > > Traceback (most recent call last): > File "gmediafinder.py", line 1304, in on_drawingarea_realized > self.sink.set_xwindow_id(self.movie_window.window.nsview) > AttributeError: 'gtk.gdk.Window' object has no attribute 'nsview'
According to http://git.gnome.org/browse/pygtk/tree/gtk/gdk.override#n894 This should work if GDK_WINDOWING_QUARTZ is defined. Perhaps there is a problem with how this is built. Please investigate if GDK_WINDOWING_QUARTZ is defined in the build process. John _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/