util_spin_row_new


Description:


public unowned Widget util_spin_row_new (double min, double max, double step)

A row for a number in that range which commits only a value the range takes: anything else puts the row's own value back.

Committing whatever is there -- a field cleared to type another number into, or holding no number at all -- would set the range's minimum as it loses the focus: a maximum history size trimming the history to five items there and then, a password's timeout going to 0, which never takes it off the clipboard.

Parameters:

min

the smallest value the row takes

max

the largest value the row takes

step

the step between proposed values

Returns:

a newly created SpinRow


Namespace: GPasteGtk
Package: gpaste-gtk4