How to find, capture and dock a window under Linux, if it's possible at all ?

hello,

Under windows it's fairly easy to capture an application
and dock in to your own wxPython application,
sonmething like this:
- start the external application from within wxPython
- give the caption of the application a special name
- find de windows handler of the applications mainform
- tell the applications mainform, that some wxpanel is the parent

I use this to dock VPython in wxPython.

Is there a similar solution for Linux ( and Mac) ?

thanks,
Stef Mientki

Stef Mientki wrote:

hello,

Under windows it's fairly easy to capture an application
and dock in to your own wxPython application,
sonmething like this:
- start the external application from within wxPython
- give the caption of the application a special name
- find de windows handler of the applications mainform
- tell the applications mainform, that some wxpanel is the parent

I use this to dock VPython in wxPython.

Is there a similar solution for Linux ( and Mac) ?

X-windows has a specific protocol for embedding the window of one application within another. It's been discussed in the past how to implement that in wxGTK but I don't think anything was ever done about it. I don't know about Mac.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote:

Stef Mientki wrote:

Under windows it's fairly easy to capture an application
and dock in to your own wxPython application,
sonmething like this:
- start the external application from within wxPython
- give the caption of the application a special name
- find de windows handler of the applications mainform
- tell the applications mainform, that some wxpanel is the parent

I use this to dock VPython in wxPython.

Is there a similar solution for Linux ( and Mac) ?

X-windows has a specific protocol for embedding the window of one application within another. It's been discussed in the past how to implement that in wxGTK but I don't think anything was ever done about it. I don't know about Mac.

I'm pretty sure that such a thing is impossible in Mac OS.

Best,
- Joe

The X protocol for this is XEmbed, but I think that the hosted control
has to explicitly support it. I've never actually used it before.

···

On Wed, Dec 17, 2008 at 10:08 PM, Robin Dunn <robin@alldunn.com> wrote:

Stef Mientki wrote:

hello,

Under windows it's fairly easy to capture an application
and dock in to your own wxPython application,
sonmething like this:
- start the external application from within wxPython
- give the caption of the application a special name
- find de windows handler of the applications mainform
- tell the applications mainform, that some wxpanel is the parent

I use this to dock VPython in wxPython.

Is there a similar solution for Linux ( and Mac) ?

X-windows has a specific protocol for embedding the window of one
application within another. It's been discussed in the past how to
implement that in wxGTK but I don't think anything was ever done about it.
I don't know about Mac.