GtkSpinButton::set_numeric

GtkSpinButton::set_numeric

set_numeric() , when set to true, prevents non-numeric characters other than the decimal point and positive/negative signs from being displayed in the spinbutton's GtkEntry at the point of being keyed in.

Note that inappropriate characters will not be accepted by the underlying GtkAdjustment in any case; this is purely a masking function at display level.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.