RE: [gtk-list] SpinButton with float value
- From: Stefan Jeske <stefan gtk org>
- To: gtk-list redhat com
- Subject: RE: [gtk-list] SpinButton with float value
- Date: Fri, 29 May 1998 08:51:56 +0200 (CEST)
Hi Angel !
> I'm trying to use a spin button to edit a float value, but I can't get
> it to work. All I can enter is an integral positive number. I'm probably
> doing something wrong, but I can't figure out what.
The spin button currently has some problems dealing with very large / small
floats, so I don't think FLT_MIN / FLT_MAX is a good idea. ;)
But your special problem should be solved by :
gtk_spin_button_set_update_policy (spin_button, GTK_UPDATE_ALWAYS);
] [Thread Prev