Function

Gtktest_spin_button_click

deprecated: 3.20 since: 2.14

Declaration [src]

gboolean
gtk_test_spin_button_click (
  GtkSpinButton* spinner,
  guint button,
  gboolean upwards
)

Description [src]

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.

Available since: 2.14

Deprecated since: 3.20

This testing infrastructure is phased out in favor of reftests.

Parameters

spinner

Type: GtkSpinButton

Valid GtkSpinButton widget.

The data is owned by the caller of the function.
button

Type: guint

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

upwards

Type: gboolean

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

Return value

Type: gboolean

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