I just tried to write my first Gtk+ program using python in linux mint with Eclipse + PyDev, but I met this error in PyDev, Unresolved import: Gtk
program source code: http://python-gtk-3-tutorial.readthedocs.org/en/latest/introduction.html
from gi.repository import Gtk win = Gtk.Window() win.connect("delete-event", Gtk.main_quit) win.show_all() Gtk.main() error shown as below:

Program can run. I checked PYTHONPATH in PyDev, I think it's right. 
How can I fix this problem?
By the way, could you give some advice about nice free IDE for Python & Gtk+ development in Linux?




Gtksee whatGtk.__path__is and if it's in Pydev's PYTHONPATH.