Function

Gtk-3.0Gtktest_spin_button_clickDeprecated 3.20Since 2.14

  • 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.

    Parameters

    • Deprecatedspinner: Gtk.SpinButton

      valid GtkSpinButton widget.

    • Deprecatedbutton: number

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

    • Deprecatedupwards: boolean

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

    Returns boolean

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

    2.14

    since 3.20: This testing infrastructure is phased out in favor of reftests.