Re: [Java-gnome-developer] CellRendererToggle not togglable
Brought to you by:
afcowie
From: Waldemar B. <wb...@gm...> - 2010-09-03 11:48:15
|
Am Freitag, den 03.09.2010, 12:46 +1000 schrieb Andrew Cowie: > On Thu, 2010-09-02 at 14:37 +0200, Waldemar Biller wrote: > > Anyway I'am asking myself, why this is not done automatically, when > > setting setActivable to true? > > That does sound pretty whacked out, but admittedly I've never used any > of the "live" features in a TreeView before; I always use them to > display data and get selections. > > I suppose the thing to do would be to build something similar with a > DataColumnString and a CellRendererText and see if you need to connect > to CellRendererText.Edited in order to update your TreeModel. As mentioned in the API this is mandatory. See here -> http://java-gnome.sourceforge.net/4.0/doc/api/org/gnome/gtk/CellRendererText.html#connect(org.gnome.gtk.CellRendererText.Edited) > It could be that this is "just the way GTK is" but its always possible > we've missed something in our understanding... I just took a look at some GTK# examples and this seems to be the standard behaviour of the CellRenderer*. Changes to the data have to be done in an additional method. > AfC > Sydney > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ java-gnome-developer mailing list jav...@li... https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |