gtk_style_context_save (context);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_BUTTON);
+ if (arrow_type == GTK_ARROW_UP)
+ gtk_style_context_add_class (context, GTK_STYLE_CLASS_TOP);
+ else
+ gtk_style_context_add_class (context, GTK_STYLE_CLASS_BOTTOM);
priv = spin_button->priv;
widget = GTK_WIDGET (spin_button);
* @max: maximum allowable value
*
* Sets the minimum and maximum allowable values for @spin_button.
+ *
+ * If the current value is outside this range, it will be adjusted
+ * to fit within the range, otherwise it will remain unchanged.
*/
void
gtk_spin_button_set_range (GtkSpinButton *spin_button,