Re: Problems with Naba Kumar's progress cell renderer
- From: Tilman Sauerbeck <tilman sauerbeck web de>
- To: gtk-app-devel-list gnome org
- Subject: Re: Problems with Naba Kumar's progress cell renderer
- Date: Sat, 13 Jul 2002 19:30:20 +0200
On Sat, 13 Jul 2002 17:50:41 +0200 Tilman Sauerbeck
<tilman sauerbeck web de> wrote:
filled at all. The bar draws correctly, i.e. my "high-value" and
"low-value" values are set correctly (low: 0, high: 100), but the
Got it.
a) One shouldn't pass the lowest possible value for low_value etc, but e.g. "30" for low_value and "60" for
high_value if one wants the colors to be "distributed" even. So when the value is between 0 and 30, low_color
is used, if its between 60 and 100, high_color is used and for the rest, med_color is used, of course.
b) One should pass "30" as "30.0", so it's recognized as an float. I simply used "30", which didn't work
(though I guess using a cast would also do)
Regards,
Tilman
--
Get GKrellM Newsticker @ http://gk-newsticker.sourceforge.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]