Main Page | Report this Page
Computers Forum Index  »  Computer - Editors  »  gvim python interface...
Page 1 of 1    

gvim python interface...

Author Message
Jerry Fleming...
Posted: Thu Sep 17, 2009 9:30 am
Guest
Hi Vimmers,

I have long had the idea to use python (as it happens to be my favorite
scripting language) to extend the vim gui, such as building a tree view
control with wxpython, or do other gui related fancy things. But I am
discouraged to find no gvim's python interface. We can do :python to
execute arbitrary python code, but the python code has no idea of its
caller (window size, position, theme, etc.). Or am I missing something?

Thanks.
 
Anand Hariharan...
Posted: Sat Sep 19, 2009 12:54 am
Guest
On Thu, 17 Sep 2009 13:30:13 +0800, Jerry Fleming
<jerry.fleming at (no spam) saybot.com> wrote:

Quote:
Hi Vimmers,

I have long had the idea to use python (as it happens to be my favorite
scripting language) to extend the vim gui, such as building a tree view
control with wxpython, or do other gui related fancy things. But I am
discouraged to find no gvim's python interface. We can do :python to
execute arbitrary python code, but the python code has no idea of its
caller (window size, position, theme, etc.). Or am I missing something?


You are limited to what the 'vim' module (i.e., the python module by vim
that you can import) provides you. You may want to develop a GUI app
that embeds/contains vim
 
 
Page 1 of 1    
All times are GMT
The time now is Thu Dec 10, 2009 8:24 am