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
This commit is contained in:
committed by
Matthias Clasen
parent
f7683b05b1
commit
126a2308ca
@ -932,6 +932,20 @@ typedef enum {
|
||||
GTK_BORDER_STYLE_RIDGE
|
||||
} GtkBorderStyle;
|
||||
|
||||
/**
|
||||
* GtkLevelBarMode:
|
||||
* @GTK_LEVEL_BAR_MODE_CONTINUOUS: the bar has a continuous mode
|
||||
* @GTK_LEVEL_BAR_MODE_DISCRETE: the bar has a discrete mode
|
||||
*
|
||||
* Describes how #GtkLevelBar contents should be rendered.
|
||||
* Note that this enumeration could be extended with additional modes
|
||||
* in the future.
|
||||
*/
|
||||
typedef enum {
|
||||
GTK_LEVEL_BAR_MODE_CONTINUOUS,
|
||||
GTK_LEVEL_BAR_MODE_DISCRETE
|
||||
} GtkLevelBarMode;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user