testSpinButtonClick

fnbool testSpinButtonClick(gtk.spin_button.SpinButton spinner, uint button, bool upwards)

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

spinnervalid GtkSpinButton widget.
buttonNumber of the pointer button for the event, usually 1, 2 or 3.
upwardstrue for upwards arrow click, false for downwards arrow click.

Returns

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

Deprecated

This testing infrastructure is phased out in favor of reftests.