Re: How to embed wine into swt?

2006-11-30 Thread Robert Shearman

Cloudor Pu wrote:

Hi, all

I am developing an swt app only for gtk. I want to embed IE into this 
app. I can create a SWT.EMBEDDED composite and get its embededHandle

(an integer).

Then, how to do next? Thanks in advace!


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





Re: How to embed wine into swt?

2006-11-30 Thread Damjan Jovanovic

On 11/30/06, Robert Shearman [EMAIL PROTECTED] wrote:

Cloudor Pu wrote:
 Hi, all

 I am developing an swt app only for gtk. I want to embed IE into this
 app. I can create a SWT.EMBEDDED composite and get its embededHandle
 (an integer).

 Then, how to do next? Thanks in advace!

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




Re: How to embed wine into swt?

2006-11-30 Thread Cloudor Pu

Damjan Jovanovic wrote:

On 11/30/06, Robert Shearman [EMAIL PROTECTED] 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





How to embed wine into swt?

2006-11-29 Thread Cloudor Pu

Hi, all

I am developing an swt app only for gtk. I want to embed IE into this 
app. I can create a SWT.EMBEDDED composite and get its embededHandle

(an integer).

Then, how to do next? Thanks in advace!

regards,
cloudor