guile-gtk-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

treeview - gtk-cell-renderer-spin - 2 problems


From: David Pirotte
Subject: treeview - gtk-cell-renderer-spin - 2 problems
Date: Wed, 24 Jul 2013 17:35:16 -0300

Hello guilers,
guile-gnomers,

        guile-gnome from git - the latest
        GNU Guile 2.0.9.20-10454

So far i did render floats myself, using text renderer, mono space right
justified ... because i could never make the <gtk-cell-renderer-spin> correctly
display the number of decimals i wanted.

I'd like to see if it possible to solve this problem, so i built a small 
example to
play with. As you can see there are 2 problems.

1-      the renderer does not implement the digits i am passing (line 35);
2-      the values it stores and give back are not [exactly] the values i am 
given
        (lines 64, 65).

        [i also tried to define and use an adjustment, but it does not change 
the
        fact that the renderer fails to display the right digit number it 
receives]

Hints/debug suggestions welcome,
David

Attachment: gtk-cell-renderer-spin-digits-prob.scm
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]