[gtk+/wip/cosimoc/range-gadget] range: deprecate more style properties
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/cosimoc/range-gadget] range: deprecate more style properties
- Date: Sun, 21 Feb 2016 08:33:57 +0000 (UTC)
commit 43c97f328f477c7bc9cbda04862989e1fb038149
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Feb 21 00:33:36 2016 -0800
range: deprecate more style properties
gtk/gtkrange.c | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index ffd2fee..e1f2219 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -521,6 +521,14 @@ gtk_range_class_init (GtkRangeClass *class)
g_object_class_install_properties (gobject_class, LAST_PROP, properties);
+ /**
+ * GtkRange:slider-width:
+ *
+ * Width of scrollbar or scale thumb
+ *
+ * Depreacated: 3.20: Use the min-height/min-width CSS properties on the
+ * slider element. The value of this style property is ignored.
+ */
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("slider-width",
P_("Slider Width"),
@@ -529,6 +537,14 @@ gtk_range_class_init (GtkRangeClass *class)
G_MAXINT,
14,
GTK_PARAM_READABLE));
+ /**
+ * GtkRange:trough-border:
+ *
+ * Spacing between thumb/steppers and outer trough bevel.
+ *
+ * Depreacated: 3.20: Use the margin/padding CSS properties on the through and
+ * stepper elements. The value of this style property is ignored.
+ */
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("trough-border",
P_("Trough Border"),
@@ -537,6 +553,14 @@ gtk_range_class_init (GtkRangeClass *class)
G_MAXINT,
1,
GTK_PARAM_READABLE));
+ /**
+ * GtkRange:stepper-size:
+ *
+ * Length of step buttons at ends.
+ *
+ * Depreacated: 3.20: Use the min-height/min-width CSS properties on the
+ * stepper elements. The value of this style property is ignored.
+ */
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("stepper-size",
P_("Stepper Size"),
@@ -550,6 +574,9 @@ gtk_range_class_init (GtkRangeClass *class)
*
* The spacing between the stepper buttons and thumb. Note that
* stepper-spacing won't have any effect if there are no steppers.
+ *
+ * Depreacated: 3.20: Use the margin CSS property on the stepper elements.
+ * The value of this style property is ignored.
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("stepper-spacing",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]