Re: [gtk-list] spin button questions



Lee wrote:
> 
> Hi,
> 
> I'm writing up docs for GtkSpinButton, and there's a couple of functions
> that have me baffled, namely:
> 
> gtk_spin_button_set_snap_to_ticks ()

If this is set, any value typed in will be rounded to the nearest 'tick'
when the user hits Return (or clicks one of the arrows).
The 'ticks' are at multiples of the step increment.


> gtk_spin_button_set_numeric ()

This is something to do with using the current locale, e.g. some countries
use ',' for the decimal point.

Damon




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