I'm developing a crossplatform frontend for mplayer. To embed the video into a
GTK I've use socket widget. To do this I pass to Mplayer the -wid option with
the handle where video wiil be render. I used the following code:
private void OnVideoWidgetRealized (object sender, EventArgs args)
{
Gdk.Color backColor = new Gdk.Color(0, 0, 0);
this.socket.GdkWindow.Background= backColor;
this.xid = (int)socket.Id;
}
On Windows and Linux this code works well but on the Mac the socket returns
always id = 0. I'm doing something wrong ?
Regards
Luca _______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list