Re: double IEEE precission with spin buttons
- From: Havoc Pennington <hp redhat com>
- To: Andrej Prsa <andrej prsa guest arnes si>
- Cc: gtk-list gnome org
- Subject: Re: double IEEE precission with spin buttons
- Date: 19 May 2001 11:01:23 -0400
Andrej Prsa <andrej prsa guest arnes si> writes:
>
> I'm a newbie to gtk+ programming (started only yesterday ;) ), but
> after few hours of trying to invent hot water I gave up and figured
> I should ask:
>
> How do I get double precission with spin buttons? I have to enter
> Julian dates, which are something like "2448500.165143", so I have
> to fit them to long float at least. Please help! :)
>
You can't do this; your only real option is to cut-and-paste the spin
button and GtkAdjustment code out of GTK and modify it.
In GTK 2, GtkAdjustment uses double instead of float, but this doesn't
help you with GTK 1.2.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]