From: Matthias Clasen Date: Mon, 27 Dec 2004 06:34:10 +0000 (+0000) Subject: Document properties as new since 2.4. (#156101, Billy Biggs) X-Git-Url: http://pileus.org/git/?p=~andy%2Fgtk;a=commitdiff_plain;h=0298076fa1a250db883f7c0a3f4341bee97934f5 Document properties as new since 2.4. (#156101, Billy Biggs) 2004-12-27 Matthias Clasen * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document properties as new since 2.4. (#156101, Billy Biggs) --- diff --git a/ChangeLog b/ChangeLog index 4ec7e0475..25c3ba428 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-12-27 Matthias Clasen + * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document + properties as new since 2.4. (#156101, Billy Biggs) + * configure.in: Add a warning about the linux-fb target. (#155488, Zeeshan Ali) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 4ec7e0475..25c3ba428 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2004-12-27 Matthias Clasen + * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document + properties as new since 2.4. (#156101, Billy Biggs) + * configure.in: Add a warning about the linux-fb target. (#155488, Zeeshan Ali) diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 4ec7e0475..25c3ba428 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,8 @@ 2004-12-27 Matthias Clasen + * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document + properties as new since 2.4. (#156101, Billy Biggs) + * configure.in: Add a warning about the linux-fb target. (#155488, Zeeshan Ali) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 4ec7e0475..25c3ba428 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2004-12-27 Matthias Clasen + * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document + properties as new since 2.4. (#156101, Billy Biggs) + * configure.in: Add a warning about the linux-fb target. (#155488, Zeeshan Ali) diff --git a/gtk/gtkadjustment.c b/gtk/gtkadjustment.c index 8daabb59e..8c2ac74d5 100644 --- a/gtk/gtkadjustment.c +++ b/gtk/gtkadjustment.c @@ -102,6 +102,13 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class) class->changed = NULL; class->value_changed = NULL; + /** + * GtkAdjustment:value: + * + * The value of the adjustment. + * + * Since: 2.4 + */ g_object_class_install_property (gobject_class, PROP_VALUE, g_param_spec_double ("value", @@ -112,6 +119,13 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class) 0.0, G_PARAM_READWRITE)); + /** + * GtkAdjustment:lower: + * + * The minimum value of the adjustment. + * + * Since: 2.4 + */ g_object_class_install_property (gobject_class, PROP_LOWER, g_param_spec_double ("lower", @@ -122,6 +136,16 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class) 0.0, G_PARAM_READWRITE)); + /** + * GtkAdjustment:upper: + * + * The maximum value of the adjustment. + * Note that values will be restricted by + * upper - page-size if the page-size + * property is nonzero. + * + * Since: 2.4 + */ g_object_class_install_property (gobject_class, PROP_UPPER, g_param_spec_double ("upper", @@ -132,6 +156,13 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class) 0.0, G_PARAM_READWRITE)); + /** + * GtkAdjustment:step-increment: + * + * The step increment of the adjustment. + * + * Since: 2.4 + */ g_object_class_install_property (gobject_class, PROP_STEP_INCREMENT, g_param_spec_double ("step-increment", @@ -142,6 +173,13 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class) 0.0, G_PARAM_READWRITE)); + /** + * GtkAdjustment:page-increment: + * + * The page increment of the adjustment. + * + * Since: 2.4 + */ g_object_class_install_property (gobject_class, PROP_PAGE_INCREMENT, g_param_spec_double ("page-increment", @@ -152,6 +190,16 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class) 0.0, G_PARAM_READWRITE)); + /** + * GtkAdjustment:page-size: + * + * The page size of the adjustment. + * Note that the page-size is irrelevant and should be set to zero + * if the adjustment is used for a simple scalar value, e.g. in a + * #GtkSpinButton. + * + * Since: 2.4 + */ g_object_class_install_property (gobject_class, PROP_PAGE_SIZE, g_param_spec_double ("page-size",