Re: [Java-gnome-developer] CellRenderer, setEditable
Brought to you by:
afcowie
From: Joao V. <jvi...@ya...> - 2005-12-09 19:57:26
|
This guy had the same doubt, take a look at the example provided there: http://mail.gnome.org/archives/gtk-list/2003-September/msg00202.html Basically, he connected the 'toggled' signal so he would change the value of the toggle when the user clicks on it. I think that should solve it. Cheers, J.V. --- Manuel Clos <ll...@us...> escreveu: > Hi all, > > More on CellRendererToggle. I can't make it editable. I have tried: > > CellRendererToggle render = new CellRendererToggle(); > render.setUserEditable(true); > > and also: > > render.setBooleanProperty("editable", true); > > But the toggle won't change it's state. > > Thanks! > > > Manuel Clos wrote: > > Hi all, > > > > In CellRendererText I must use setEditable(), but in CellRendererToggle > > I must use setUserEditable(). As this looks a bit confusing, is there > > any reason for it? (using libgtk-java 2.8, not checked CVS). > > > > Thanks! > > > > > > ------------------------------------------------------- > > 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 > > > > ------------------------------------------------------- > 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 |