[Java-gnome-developer] Problems with TreeView
Brought to you by:
afcowie
From: Keywan N. T. <li...@pr...> - 2006-07-08 22:18:05
|
Hi, I have a application with groupchat window. I save the roster of the user, who are in the groupchat, in a TreeView. I use a ListStore with two columns (Pixbuf and String). I read the tutorial and create my ListStore/TreeView nearly exact as shown in the tutorial. Now I want to modify the rows in the TreeView. I wonder how I could get a specified row. I want to retrieve a row by searching for a String (Give me the row with the username "foo"). I looked into the JavaDocs, searched the examples and even the GTK Tutorial, but I didn't understand the C code. Did anyone have a code example? Did I missed a tutorial or method in the API? Should I use a TreeIter instead of a ListStore, even though I just want a simple list? Regards, Keywan -- Keywan Najafi Tonekaboni http://www.prometoys.net people@world:/# apt-get --purge remove dominion After unpacking world will be freed. You are about to do something potentially beneficial To continue type in the phrase 'Yes, do as We say!' |