[Gtk-sharp-list] Socket.id on mac
De Santis Luca
farolfo at hotmail.com
Mon Aug 22 06:42:28 EDT 2011
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.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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list