widget: deprecate focus-line-pattern style property

Nothing in GTK uses it.
This commit is contained in:
Cosimo Cecchi 2014-05-04 18:46:11 +02:00
parent a2decd1f2f
commit e8c906966e

View File

@ -3463,13 +3463,21 @@ G_GNUC_END_IGNORE_DEPRECATIONS
P_("Width, in pixels, of the focus indicator line"),
0, G_MAXINT, 1,
GTK_PARAM_READABLE));
/**
* GtkWidget:focus-line-pattern:
*
* The "focus-line-pattern" style property defines the dash pattern used to
* draw the focus indicator. The character values are interpreted as pixel
* widths of alternating on and off segments of the line.
*
* Deprecated: 3.14: use the outline-style CSS property instead.
*/
gtk_widget_class_install_style_property (klass,
g_param_spec_string ("focus-line-pattern",
P_("Focus line dash pattern"),
P_("Dash pattern used to draw the focus indicator. The character values are interpreted as pixel widths of alternating on and off segments of the line."),
"\1\1",
GTK_PARAM_READABLE));
GTK_PARAM_READABLE | G_PARAM_DEPRECATED));
/**
* GtkWidget:focus-padding:
*