[Gtk-sharp-list] RFC: Add API to get Drawable xid for user with GStreamer
mkbosmans at gmail.com
Thu May 28 04:41:25 EDT 2009
2009/5/27 Sebastian Dröge <slomo at circular-chaos.org>:
> I really like the idea and planned to file a bug for this already.
> Getting the "handle" of a Gdk drawable is probably useful in other
> scenarios too. I guess it's also needed for example when you want to
> draw via OpenGL on a Gdk drawable.
I opened a bug:
> The only problem is probably the naming of the property: With X11 it's
> called XID, with Win32 it's called Handle, with Quartz it probably has
> another different name, ...
For quartz probably one of gdk_quartz_window_get_nswindow or
gdk_quartz_window_get_nsview is right, but these both take a window,
not a drawable.
Also I think the GStreamer osxvideosink doesn't implement the xoverlay
interface, so I'm not shure this is directly applicable to the
Gtk+GStreamer use case.
Anyway, let's see if there's someone with enough knowledge of OSX who
can comment on the bug report.
More information about the Gtk-sharp-list