Implement background-clip and background-origin

This commit is contained in:
Alexander Larsson
2011-11-24 21:00:57 +01:00
parent 330fd3b614
commit 8411f1a279
2 changed files with 81 additions and 19 deletions

View File

@ -2945,6 +2945,18 @@ gtk_style_property_init (void)
"Border style",
GTK_TYPE_BORDER_STYLE,
GTK_BORDER_STYLE_NONE, 0));
gtk_style_properties_register_property (NULL,
g_param_spec_enum ("background-clip",
"Background clip",
"Background clip",
GTK_TYPE_CSS_AREA,
GTK_CSS_AREA_BORDER_BOX, 0));
gtk_style_properties_register_property (NULL,
g_param_spec_enum ("background-origin",
"Background origin",
"Background origin",
GTK_TYPE_CSS_AREA,
GTK_CSS_AREA_PADDING_BOX, 0));
_gtk_style_property_register (g_param_spec_boxed ("border-top-color",
"Border top color",
"Border top color",