[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim-dev
Subject:    RE: using vim with gtk2, gnome2, bonobo
From:       Philippe FREMY <P.FREMY () OBERTHURCS ! com>
Date:       2002-11-20 16:24:49
[Download RAW message or body]


Jason said:					

> On Wed, 2002-11-20 at 03:59, Philippe FREMY wrote:
> 
> > Jason, do you plan to put the bonobo code directly in vim or will you
make
> > the bonobo component use the GtkSocketPlug to access the vim ?
> 
> Hi Philippe,
> 
> I am planning to put the code directly into vim.  As far as I understand
> it, the socket/plug approach offers no capability to merge the menus and
> toolbars into those of the container application -- it's pretty much
> just like embedding an X-Window, right?  But by putting the bonobo code
> directly in vim, this should be possible.
> 
> What approach did you take with kvim?  I saw in (some) of your
> screenshots that you have toolbars.  Did you have to write your own
> toolbar code in kvim, or were you able to use some of the code in vim
> for that?

The toolbar code in kvim is the one from vim. So we use vim's menu/toolbar
structure.

Our embedding is, as you say, equivalent to embed a X-Window. So we embed a
vim window into a kpart component. In the vim window, we have disabled the
menu/and toolbar. It is possible for us to put our own toolbars and menu in
the component if we want to.

If we have a maintainer for the gtk vim, for the KDE vim us and for the
windows vim, then it might be easier to propose slight changes in the vim UI
code. What other ui client does vim have ? Athena, X11 and console ? Is
Athena and X11 used a lot ?

	Philippe
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic