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.

More...
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 Value

Type: bool

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

Detailed Description

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

Meta

Since

2.14