Re: [Java-gnome-developer] CellRendererProgress Attribute
Brought to you by:
afcowie
From: Manel C. <ma...@ia...> - 2005-12-09 15:18:27
|
Hi Joao, Thanks for the link. But I'm not using the progress bar directly. The CellRendererProgress should do the setFraction() for me when I update the TreeModel. The problem is that I can't create the mapping since the CellRendererProgress class does not has an Attribute subclass. I should be able to: col.addAttributeMapping(render, CellRendererProgress.Attribute.FRACTION, progress_column); ... as I do for CellRenderer{Text,Pixbuf,Toggle}. Joao Victor wrote: > --- Manuel Clos <ll...@us...> escreveu: > >> There is no Attribute subclass in CellRendererProgress. How should I set >> the progress value instead? > > See: > http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/UsingProgressBars -- Manel Clos ma...@ia... www.iagrup.com |