Hi, On 20.12.2008, at 22:27, Wang.Hoi wrote:
> I'm trying to writing a KDE4 gui interface for vim. > Is there any development hints/tips/documentations, especially for > gui_mch_* functions. > I only find src/README and source code comments. you can take a look at MacVim's source at http://repo.or.cz/w/MacVim.git?a=tree . All gui-specific functions are in src/MacVim/gui_macvim.m . MacVim has an interesting architecture to support several vim windows in one GUI process: Each window is backed by its own headless vim process, and each of theses processes belongs to an object in the GUI frontend. Even if you're not interested in following this approach, gui_macvim.m lists all the functions you need to implement (and a few that are optional). gui_macvim.m forwards requests to MMBackend.m which does RPC with MMVimControllers (which live in the GUI frontend process). The mapping from vim processes to MMVimController objects is done by MMAppController (connectBackend:...). Nico --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
