API: Add GtkStyleContext::parent

We need this for proper support of CSS inherit.
This commit is contained in:
Benjamin Otte
2011-12-29 12:30:25 +01:00
parent aa4925480d
commit b50d2b74d7
4 changed files with 95 additions and 1 deletions

View File

@ -740,6 +740,10 @@ void gtk_style_context_set_path (GtkStyleContext *context,
GtkWidgetPath *path);
const GtkWidgetPath * gtk_style_context_get_path (GtkStyleContext *context);
void gtk_style_context_set_parent (GtkStyleContext *context,
GtkStyleContext *parent);
GtkStyleContext *gtk_style_context_get_parent (GtkStyleContext *context);
GList * gtk_style_context_list_classes (GtkStyleContext *context);
void gtk_style_context_add_class (GtkStyleContext *context,