Re: [Java-gnome-developer] Gtk Tree Row Reference missing?
Brought to you by:
afcowie
From: Joao V. <jvi...@ya...> - 2005-12-11 15:18:03
|
Is TreeRowReference recommended by Gtk developers? I didn't see in the gtk doc which functions this interface provides... weird. But it does seem like a useful interface. BTW, in the lastest libgtk-java there's some new TreeView/ListStore/TreeStore API that makes things a little easier... For example, this piece of code Lars sent: ----- DataColumnObject object_column = new DataColumnObject(); ListStore list_store = new ListStore(new DataColumn[]{ object_column }); String object = "Foobar"; TreeIter iter = list_store.appendRow(); list_store.setValue(iter, object_column, object); ----- Could be done this way: ----- DataColumnObject object_column = new DataColumnObject(); ListStore list_store = new ListStore(new DataColumn[]{ object_column }); list_store.addRow(new DataRow().add("Foobar")); ----- Yes, there's still no docs about this, it's my fault :/ Me thinks it would be cool to do a "documenting marathon" with lots of folks documentating Java-Gnome at the same time; tutorials, hints, javadocs... anything one wishes to contribute. Cheers, J.V. --- Adam Jocksch <ajo...@re...> escreveu: > On Fri, 2005-09-12 at 18:04 +0100, Manuel Clos wrote: > > >Is RowReference planned? > > > > > That does seem like a useful little interface to have, I'd be willing to > invest some time into implementing this. > > Adam > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > _______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html |