Add pulse style class and use in progress bar and entry

This is used for indeterminate progress reporting.
This commit is contained in:
Alexander Larsson
2011-11-18 10:15:04 +01:00
parent 68c74e1427
commit ca829b484c
3 changed files with 14 additions and 0 deletions

View File

@ -669,6 +669,15 @@ struct _GtkStyleContextClass
*/
#define GTK_STYLE_REGION_TAB "tab"
/**
* GTK_STYLE_CLASS_PULSE:
*
* A CSS class to use when rendering a pulse in an indeterminate progress bar.
*
* This is used by #GtkProgressBar and #GtkEntry.
*/
#define GTK_STYLE_CLASS_PULSE "pulse"
GType gtk_style_context_get_type (void) G_GNUC_CONST;