Function

Gtktest_spin_button_click

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 GtkSpinButton
 

Valid GtkSpinButton widget.

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

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

upwards gboolean
 

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

Return value

Returns: gboolean
 

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