mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-17 23:50:16 +00:00
icon view: Document some style properties as deprecated
No code change.
This commit is contained in:
parent
46b7b0ac9f
commit
af04390b29
@ -674,6 +674,14 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
|
|||||||
g_object_class_override_property (gobject_class, PROP_VSCROLL_POLICY, "vscroll-policy");
|
g_object_class_override_property (gobject_class, PROP_VSCROLL_POLICY, "vscroll-policy");
|
||||||
|
|
||||||
/* Style properties */
|
/* Style properties */
|
||||||
|
/**
|
||||||
|
* GtkIconView:selection-box-color:
|
||||||
|
*
|
||||||
|
* The color of the selection box.
|
||||||
|
*
|
||||||
|
* Deprecated: 3.20: The color of the selection box is determined by CSS;
|
||||||
|
* the value of this style property is ignored.
|
||||||
|
*/
|
||||||
gtk_widget_class_install_style_property (widget_class,
|
gtk_widget_class_install_style_property (widget_class,
|
||||||
g_param_spec_boxed ("selection-box-color",
|
g_param_spec_boxed ("selection-box-color",
|
||||||
P_("Selection Box Color"),
|
P_("Selection Box Color"),
|
||||||
@ -681,6 +689,15 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
|
|||||||
g_type_from_name ("GdkColor"),
|
g_type_from_name ("GdkColor"),
|
||||||
GTK_PARAM_READABLE));
|
GTK_PARAM_READABLE));
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GtkIconView:selection-box-alpha:
|
||||||
|
*
|
||||||
|
* The opacity of the selection box.
|
||||||
|
*
|
||||||
|
* Deprecated: 3.20: The opacity of the selection box is determined by CSS;
|
||||||
|
* the value of this style property is ignored.
|
||||||
|
*/
|
||||||
gtk_widget_class_install_style_property (widget_class,
|
gtk_widget_class_install_style_property (widget_class,
|
||||||
g_param_spec_uchar ("selection-box-alpha",
|
g_param_spec_uchar ("selection-box-alpha",
|
||||||
P_("Selection Box Alpha"),
|
P_("Selection Box Alpha"),
|
||||||
|
Loading…
Reference in New Issue
Block a user