test_spin_button_click

function test_spin_button_click(spinner:Gtk.SpinButton, button:Number, upwards:Boolean):Boolean {
    // Gjs wrapper for gtk_test_spin_button_click()
}

This function will generate a button click in the upwards or downwards spin button arrow areas, usually leading to an increase or decrease of spin button's value.

Since 2.14

spinner

valid GtkSpinButton widget.

button

Number of the pointer button for the event, usually 1, 2 or 3.

upwards

true for upwards arrow click, false for downwards arrow click.

Returns

whether all actions neccessary for the button click simulation were carried out successfully.