mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 07:05:41 +00:00
a5d2c9f567
* glub/adjustment.c: C-side of the Adjustment glue. * gtk/Adjustment.custom: Add new SetBounds function that allows us to change the adjustment after it has been created. svn path=/trunk/gtk-sharp/; revision=6587
24 lines
501 B
C
24 lines
501 B
C
/*
|
|
* Utility wrapper for the GtkAdjustment
|
|
*
|
|
* (C) 2002 Miguel de Icaza (miguel@ximian.com)
|
|
*/
|
|
|
|
#include <gtk/gtkadjustment.h>
|
|
|
|
void
|
|
gtksharp_gtk_adjustment_set_bounds (GtkAdjustment *adj,
|
|
gdouble lower, gdouble upper,
|
|
gdouble step_increment,
|
|
gdouble page_increment, gdouble page_size)
|
|
{
|
|
adj->lower = lower;
|
|
adj->upper = upper;
|
|
adj->step_increment = step_increment;
|
|
adj->page_increment = page_increment;
|
|
adj->page_size = page_size;
|
|
|
|
gtk_adjustment_changed (adj);
|
|
}
|
|
|