[Eric] Auto-Complete and GTK

Christof Hanke hanke at csc.fi
Mon Nov 10 13:50:41 GMT 2008


Hi,

On Saturday 08 November 2008 07:03:23 Jose de Paula Eufrasio Junior wrote:
> So, after much searching I decided to use Eric4 for my Python dev
> needs. It runs on windows, runs on linux, same face on both systems
> and has a great set of tools that you dont find in many free IDEs.
>
> The thing is I use pygtk/gtk for my software (not trying to start a
> flame here, so just accept the info :)).
>
;)
> I am trying to understand exactly how those .api files work (and what
> is their function) and dabbling with Eric4 auto-complete and calltips
> (whatever it is :P).
>
> My question, how can I make Eric4 complete and show options for GTK
> modules (and other modules like SQLAlchemy and Elixir).
>
There is a command eric4-api which generates those .api files from a 
python-module, see "eric4-api --help" 
Once you created your .api file you need to register it in eric4 in the 
Settings->Preferences->Editor->APIs  
so that eric4 can make use of it.
> Like:
>
> import gtk
>
> gtk.W<ctrl+space>  shows nothing, I want to check if it is possible
> for it to show the options starting with W....
>
this should work then.

HTH,

Christof


More information about the Eric mailing list