GtkSpinButton::get_value_as_int

int get_value_as_int(void);

Retrieves the current value displayed in the spinbutton entry as an integer. If the value is a fraction, this method rounds it to the nearest whole number.