Entry completion
- From: Sujith <m sujith gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Entry completion
- Date: Sun, 19 Oct 2008 17:57:33 +0530
Hi,
I am facing a problem and would like any suggestion on the best
way to solve it.
I have a tree model that looks something like this:
Genre
|_Artist
|_Album
For enabling text entry completion, I add this model to 3 GtkEntryCompletion instances,
associated with 3 different text entry fields. And I have custom match functions for each instance.
Example: On typing in a artist field, I check if the iter's type is ARTIST and so on.
The top node works fine, but the nodes beneath it fail to appear even on returning TRUE
from the match function. I can understand why this is so, since the child nodes will never
have parent iters which match the node type.
Is there any way to solve this elegantly, or do I have to resort to forming new List stores ?
Thanks !
Sujith
--
http://sujith-m.blogspot.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]