On Thu, Oct 01, 2009 at 06:55:56AM -0700, jamesb-py...@acelere.net wrote: > I'd like to use gtk.Entry with 'context-sensitive' completion. The > space of possible completions is quite large, so the user might > type > > f > > in which case it offers the competion "foo", and when they type > > foo.b > > it offers completions foo.b1, foo.b2 etc. > > It seems that gtk.EntryCompletion is more geared towards static > lists of completions in the gtk.ListStore. > > Has anyone tried to do anything like this?
sqlkit uses completion in a dynamic mode and uses gtk.EntryCompletion. What you say about "static" list is bypassed by the fact that you can change the model from which you pick the values and moreover you can change the match_function that determines visibility of the records in the model. sandro *:-) -- Sandro Dentella *:-) http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/