Function gtk::functions::test_spin_button_click[][src]

pub fn test_spin_button_click<P: IsA<SpinButton>>(
    spinner: &P,
    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.

spinner

valid GtkSpinButton widget.

button

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

upwards

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

Returns

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