[MPlayer-users] add mplayer window to gtk window
Kevin DeKorte
kdekorte at gmail.com
Wed Oct 7 14:57:28 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/07/09 02:58, Jayalakshmi wrote:
> hi,
>
>
> I want to insert mplayer window to gtk window, I already built gtk based
> media player application using mplayer. But whenever I press any button
> on gtk window mplayer window goes behind of gtk window. But I want it
> on gtk window. how to do this ?
>
> please help me out,
> jay
Jay,
gnome-mplayer does this, you can view the source code here:
http://code.google.com/p/gnome-mplayer/
Look for the widget "drawing_area" in gui.c. I use a GtkSocket and embed
the mplayer window into it.
Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkrMkDgACgkQ6w2kMH0L1dETLACfb3SgaD6vqqOWzvW7mrN69vlM
tUoAoIskZry4wskLpaqNtSC4Gdjkb9fB
=OpEw
-----END PGP SIGNATURE-----
More information about the MPlayer-users
mailing list