Re: Problem with precision on GtkAdjustment



Hi,

Maybe it's the digits-clamping - if you have only 1 digit precision,
it rounds off to .1, .2, etc., try gtk_scale_set_digits()? If not
that, no idea.

We changed GtkAdjustment to contain doubles in GTK 2, but your problem
seems larger scale than that, float's loss of precision would be more
subtle.

Havoc




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