widget: deprecate focus-line-pattern style property
Nothing in GTK uses it.
This commit is contained in:
@ -3463,13 +3463,21 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
|||||||
P_("Width, in pixels, of the focus indicator line"),
|
P_("Width, in pixels, of the focus indicator line"),
|
||||||
0, G_MAXINT, 1,
|
0, G_MAXINT, 1,
|
||||||
GTK_PARAM_READABLE));
|
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,
|
gtk_widget_class_install_style_property (klass,
|
||||||
g_param_spec_string ("focus-line-pattern",
|
g_param_spec_string ("focus-line-pattern",
|
||||||
P_("Focus line dash 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."),
|
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",
|
"\1\1",
|
||||||
GTK_PARAM_READABLE));
|
GTK_PARAM_READABLE | G_PARAM_DEPRECATED));
|
||||||
/**
|
/**
|
||||||
* GtkWidget:focus-padding:
|
* GtkWidget:focus-padding:
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user