GtkStyleContext: Add style classes.

Style classes are the replacement of detail strings.
This commit is contained in:
Carlos Garnacho
2010-03-20 13:02:20 +01:00
parent bd3b97d82b
commit 9a76d1a332
2 changed files with 90 additions and 0 deletions

View File

@ -77,6 +77,13 @@ void gtk_style_context_set_path (GtkStyleContext *context,
GtkWidgetPath *path);
G_CONST_RETURN GtkWidgetPath * gtk_style_context_get_path (GtkStyleContext *context);
void gtk_style_context_set_class (GtkStyleContext *context,
const gchar *class_name);
void gtk_style_context_unset_class (GtkStyleContext *context,
const gchar *class_name);
gboolean gtk_style_context_has_class (GtkStyleContext *context,
const gchar *class_name);
G_END_DECLS