RE: [gtk-list] SpinButton with float value

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);


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