RE: [java-gnome-hackers] Tree/List widgets
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2002-09-04 12:11:33
|
> The gtk.TreeModel class (jni and java) hasn't been created. > Is there any > reason for this? GTypeInterface, the base class for GtkTreeModel, is the glib attempt to provide the equalivant to a Java interface. In my opinion it is implemented poorly and provides very little benefit. GtkTreeModel suffers from some of the problems that exist in GTypeInterface. When I have the time I will go into more details on this topic. TreeModel wasn't created because when I put together the defs file for the latest gtk implementation I wasn't quite sure how to best implement this beast. I currently believe that TreeModel should be implemented as an abstract base class. We should be able to use the code generator to generate the class and then make a few manual changes (like making it abstract). -Jeff |