pub fn test_spin_button_click(
    spinner: &impl IsA<SpinButton>,
    button: u32,
    upwards: bool
) -> bool
Expand description

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.

Deprecated since 3.20

This testing infrastructure is phased out in favor of reftests.


valid GtkSpinButton widget.


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


true for upwards arrow click, false for downwards arrow click.


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