mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 14:15:36 +00:00
2004-04-30 Larry Ewing <lewing@ximian.com>
* gtk/Adjustment.custom: add an a set method for StepIncrement. * gtk/glue/adjustment.c: add gtk_adjustment_set_step_increment. svn path=/trunk/gtk-sharp/; revision=26780
This commit is contained in:
parent
01acd7f576
commit
e57c608330
|
@ -1,3 +1,9 @@
|
||||||
|
2004-04-30 Larry Ewing <lewing@ximian.com>
|
||||||
|
|
||||||
|
* gtk/Adjustment.custom: add an a set method for StepIncrement.
|
||||||
|
|
||||||
|
* gtk/glue/adjustment.c: add gtk_adjustment_set_step_increment.
|
||||||
|
|
||||||
2004-05-05 Mike Kestner <mkestner@ximian.com>
|
2004-05-05 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
* generator/Signal.cs : rmv Handle param to SignalCallback ctor calls.
|
* generator/Signal.cs : rmv Handle param to SignalCallback ctor calls.
|
||||||
|
|
|
@ -36,10 +36,16 @@ public double Upper {
|
||||||
|
|
||||||
[DllImport ("gtksharpglue")]
|
[DllImport ("gtksharpglue")]
|
||||||
static extern double gtksharp_gtk_adjustment_get_step_increment (IntPtr i);
|
static extern double gtksharp_gtk_adjustment_get_step_increment (IntPtr i);
|
||||||
|
[DllImport ("gtksharpglue")]
|
||||||
|
static extern void gtksharp_gtk_adjustment_set_step_increment (IntPtr i, double step_increment);
|
||||||
public double StepIncrement {
|
public double StepIncrement {
|
||||||
get {
|
get {
|
||||||
return gtksharp_gtk_adjustment_get_step_increment (this.Handle);
|
return gtksharp_gtk_adjustment_get_step_increment (this.Handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set {
|
||||||
|
gtksharp_gtk_adjustment_set_step_increment (Handle, value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[DllImport ("gtksharpglue")]
|
[DllImport ("gtksharpglue")]
|
||||||
|
|
|
@ -20,6 +20,9 @@ gdouble gtksharp_gtk_adjustment_get_upper (GtkAdjustment *adj);
|
||||||
|
|
||||||
gdouble gtksharp_gtk_adjustment_get_step_increment (GtkAdjustment *adj);
|
gdouble gtksharp_gtk_adjustment_get_step_increment (GtkAdjustment *adj);
|
||||||
|
|
||||||
|
void gtksharp_gtk_adjustment_set_step_increment (GtkAdjustment *adj,
|
||||||
|
gdouble step_increment);
|
||||||
|
|
||||||
gdouble gtksharp_gtk_adjustment_get_page_increment (GtkAdjustment *adj);
|
gdouble gtksharp_gtk_adjustment_get_page_increment (GtkAdjustment *adj);
|
||||||
|
|
||||||
void gtksharp_gtk_adjustment_set_page_increment (GtkAdjustment *adj,
|
void gtksharp_gtk_adjustment_set_page_increment (GtkAdjustment *adj,
|
||||||
|
@ -63,6 +66,14 @@ gtksharp_gtk_adjustment_get_step_increment (GtkAdjustment *adj)
|
||||||
return adj->step_increment;
|
return adj->step_increment;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
gtksharp_gtk_adjustment_set_step_increment (GtkAdjustment *adj, gdouble step_increment)
|
||||||
|
{
|
||||||
|
adj->step_increment = step_increment;
|
||||||
|
|
||||||
|
gtk_adjustment_changed (adj);
|
||||||
|
}
|
||||||
|
|
||||||
gdouble
|
gdouble
|
||||||
gtksharp_gtk_adjustment_get_page_increment (GtkAdjustment *adj)
|
gtksharp_gtk_adjustment_get_page_increment (GtkAdjustment *adj)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue