Testing.spinButtonClick

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.

struct Testing
static
bool
spinButtonClick

Parameters

spinner SpinButton

valid GtkSpinButton widget.

button uint

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

upwards bool

%TRUE for upwards arrow click, %FALSE for downwards arrow click.

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

Meta

Since

2.14