Ciao Aaron, > I would recommend upgrading to the latest version from www.vim.org > (here: http://vim.sourceforge.net/scripts/script.php?script_id=1542 ) > > The following code works fine: > import gtk > > class Foo(object): > def __init__(self): > self.win = gtk.Window() > self.win.<C-x,C-o> > > > Please note: if you have syntax errors above the code you are working > with the current code may not complete correctly, due to the top-down > nature of python structure. I have tried to deal with this as > gracefully as possible, but there are cases where it still happens.
Thanks a lot, now it works, except for warnings from python: Errore/i eseguendo function pythoncomplete#Complete: linea 35: __main__:157: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead Errore/i eseguendo function pythoncomplete#Complete: linea 35: __main__:157: GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead Now the code you posted works. :) Another small question: how can I see the parameters for the current method? Say that I do win = gtk.Window( and I want to know the possible constructors of gtk.Window.. How can I do that? Thanks again for the good work. :) -- [ Andrea Spadaccini - a.k.a. Lupino - from Catania - ICQ #: 91528290 ] [ GPG ID: 5D41ABF0 - key on keyservers - Gentoo GNU / Linux - 2.6.18 ] [ Linux Registered User 313388 - @: a.spadaccini(at)catania.linux.it ] [ This is as bad as it can get, but don't bet on it. ]
signature.asc
Description: PGP signature
