Running terminal applications within frame

Is it possible to run a terminal application from within a frame using wxPython? Rather than rewrite an editor for my program, I would like to use Vim.

Thanks.

Matthew K wrote:

Is it possible to run a terminal application from within a frame using wxPython? Rather than rewrite an editor for my program, I would like to use Vim.

No, this isn't possible, although there is an X protocol for "swallowing" another app's X window into your own. So with a bit of work wx could probably be made to allow it. On wxGTK anyway.

···

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

There is a similar swallowing mechanic available on Windows, see
WinTabber.

- Josiah

···

Robin Dunn <robin@alldunn.com> wrote:

Matthew K wrote:
> Is it possible to run a terminal application from within a frame using
> wxPython? Rather than rewrite an editor for my program, I would like to
> use Vim.

No, this isn't possible, although there is an X protocol for
"swallowing" another app's X window into your own. So with a bit of
work wx could probably be made to allow it. On wxGTK anyway.

Josiah Carlson wrote:

···

Robin Dunn <robin@alldunn.com> wrote:

Matthew K wrote:

Is it possible to run a terminal application from within a frame using wxPython? Rather than rewrite an editor for my program, I would like to use Vim.

No, this isn't possible, although there is an X protocol for "swallowing" another app's X window into your own. So with a bit of work wx could probably be made to allow it. On wxGTK anyway.

There is a similar swallowing mechanic available on Windows, see
WinTabber.

Looks neat! Also, of course OLE (Object Linking and Embedding) was designed to allow this kind of "swallowing", although I think both the swallower and the swallowee need to be programmed to support it.

--
Don Dwiggins
Advanced Publishing Technology