Re: [java-gnome-hackers] EntryCompletion work
Brought to you by:
afcowie
From: Guillaume M. <res...@gm...> - 2009-07-20 13:03:47
|
Hello, I finally know more about insert_prefix() and complete() method of gtk_entry_completion. These methods do *not* allow us to complete the GtkEntry object as we expected. Actuallly, complete() just refresh the completion list, inert_prefix() will just insert the prefix (for Albert and Alice, the prefix will be "Al") and to force the entry to be completed we must send the match_selected signal by hand. So now, the emitMatchSelected(TreeIter) method will do that in the EntryCompletion class. By the way, it fixes the test case. I pushed it into my entry-completion branch which should be ready to be merged now. -- Guillaume Mazoyer (Respawner) - http://www.respawner.fr/ |