Re: [pygtk] Entry dir autocompletion

2008-07-01 Thread Mitko Haralanov
On Tue, 01 Jul 2008 14:59:57 +0200 Timo <[EMAIL PROTECTED]> wrote: > Anyone with a working example? Here you go: import pygtk import gtk import gobject import os import dircache def entry_changed (editable, *user_data): comp = user_data[0] text = editable.get_text () matches = []

Re: [pygtk] Entry dir autocompletion

2008-07-01 Thread Timo
Mitko Haralanov schreef: > On Sat, 28 Jun 2008 11:36:07 +0200 > Timo <[EMAIL PROTECTED]> wrote: > > >> Hello, I want autocompletion in my gtk.entry. I found a lot of info, but >> all for autocompletion of an existing list and stuff. >> What I want is that it completes the path that I'm typing. S

Re: [pygtk] Entry dir autocompletion

2008-06-30 Thread Mitko Haralanov
On Sat, 28 Jun 2008 11:36:07 +0200 Timo <[EMAIL PROTECTED]> wrote: > Hello, I want autocompletion in my gtk.entry. I found a lot of info, but > all for autocompletion of an existing list and stuff. > What I want is that it completes the path that I'm typing. So if I type > "/ho" it should complete

Re: [pygtk] Entry dir autocompletion

2008-06-28 Thread Frédéric
On samedi 28 juin 2008, Timo wrote: > Hello, I want autocompletion in my gtk.entry. I found a lot of info, but > all for autocompletion of an existing list and stuff. > What I want is that it completes the path that I'm typing. So if I type > "/ho" it should complete with "/home/", and so on. > Ho

[pygtk] Entry dir autocompletion

2008-06-28 Thread Timo
Hello, I want autocompletion in my gtk.entry. I found a lot of info, but all for autocompletion of an existing list and stuff. What I want is that it completes the path that I'm typing. So if I type "/ho" it should complete with "/home/", and so on. How can this be done? Greets, Timo _