Re: Problem with precision on GtkAdjustment
- From: Havoc Pennington <hp redhat com>
- To: "David O'Toole" <dto gnu org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Problem with precision on GtkAdjustment
- Date: 23 Apr 2001 22:41:54 -0400
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]