Excerpts from Aljosa Mohorovic's message of Fri Jul 02 01:26:37 +0200 2010:
> On Jul 1, 6:10 pm, Marc Weber <[email protected]> wrote:
> > I still don't understand? Do you want to replace text fields in HTML
> > documents by Vim ? That would be awesome!
> 
> no, i just want to embed another application into vim window.
> you can completely forget that i mentioned html5, if xembed (or some
> similar technology) works in vim anything can be displayed.
Sorry I was off topic.

> > Give more details about your idea then. Do you want to have a special
> > buffer which is kind of X display?
> i think it's been discussed before but yes, i want a buffer/window/
> anything inside vim that can render more advanced gui elements.
> since gvim uses gtk is it possible to display other gtk elements
> inside gvim window?
If you hack gvim then yes.
However I think you can't touch the main typing area easily because it
basically is a terminal or such.

> > The other way should be easy: create a window and embed Vim and your
> > other X application.
> could you point me to an existing example?
I don't have one. I mean you could create a gtk/qt app

  +========================+
  | TITLE                  |
  +========================+
  |           |            |
  | VIM       | YOUR       |
  |           |    GUI     |
  |           |            |
  +========================+

Then you have to xembed vim at the left and tell it how to display a gui
at the right (maybe using xembed again).
I never used xembed so I don't know exactly how it works.  glancing at
some docs found by google it seemed to me being possible.

Marc Weber

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui