[java-gnome-hackers] GtkWindow XID
Brought to you by:
afcowie
From: Goundy <go...@gm...> - 2009-10-24 12:52:56
|
Hi, I'm trying to use gstreamer in a simple java-gnome app by using gstreamer-java. But to be able to embed a video into a Window I've to get back its native xid. So, I modified Java-gnome to implement this: in GtkWindow.java I added: static public final long getWindowXID (Window w){ return pointerOf(w); } and in Window.java I added: public long getWindowXID (){ return GtkWindow.getWindowXID(this); } But when I use this id to embed the video X says BadWindow. Am I getting the xid the right way ? Thanks in advance |