diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-05-29 17:00:33 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-07-10 22:41:12 -0400 |
commit | 126a2308ca467744178d4be3309403f6899de987 (patch) | |
tree | 66a321f37f4874f89b57772044662bb9cd195cb7 /gtk/gtkstylecontext.h | |
parent | f7683b05b1c29ecc715715b95b2011a895917cf4 (diff) | |
download | gtk+-126a2308ca467744178d4be3309403f6899de987.tar.gz |
level-bar: introduce GtkLevelBar
Similar to CcStrengthBar from gnome-control-center, but more generic and
with thorough CSS styling support.
https://bugzilla.gnome.org/show_bug.cgi?id=677892
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r-- | gtk/gtkstylecontext.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h index 4975862f79..456b5a1026 100644 --- a/gtk/gtkstylecontext.h +++ b/gtk/gtkstylecontext.h @@ -691,6 +691,16 @@ struct _GtkStyleContextClass */ #define GTK_STYLE_CLASS_OSD "osd" +/** + * GTK_STYLE_CLASS_LEVEL_BAR: + * + * A CSS class used when rendering a level indicator, such + * as a battery charge level, or a password strength. + * + * This is used by #GtkLevelBar. + */ +#define GTK_STYLE_CLASS_LEVEL_BAR "level-bar" + /* Predefined set of widget regions */ /** |