Gtk.SpinButton.prototype.spin
function spin(direction:Gtk.SpinType, increment:Number):void { // Gjs wrapper for gtk_spin_button_spin() }
Increment or decrement a spin button's value in a specified direction by a specified amount.
- direction
a Gtk.SpinType indicating the direction to spin
- increment
step increment to apply in the specified direction