How to embed wine into swt?

Cloudor Pu cloudor at 126.com
Fri Dec 1 00:26:50 CST 2006


Damjan Jovanovic wrote:
> On 11/30/06, Robert Shearman <rob at codeweavers.com> wrote:
>> There aren't that many GTK experts that work on Wine, so most of us
>> won't be able to tell you what you need to do. I suggest you find a
>> tutorial for how to embed a plain X11 window from another process using
>> GTK and use that as a basis for embedding a Wine window. If you find
>> that Wine needs to do something to its X11 windows that it currently
>> doesn't do, then email the requirements to this list.
> 
>> -- 
>> Rob Shearman
>>
> 
> Look at GtkPlug and GtkSocket, they implement the XEmbed protocol for
> cross-process widget embedding (which is on fd.o).
> 
> Damjan
> 
If I get GtkPlug and GtkSocket worked, then how to embed a wine window 
into GtkPlug? I can embed GVIM into my app easily because it accept a 
socketId argument, i.e. "gvim --socketid 6291501"

Does wine accept such an argument as GVIM?

cloudor




More information about the wine-devel mailing list