From 479d64e89ac2a1e7b1e6f4f91b31edd8bdaef4cc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 31 Oct 2015 20:30:03 -0400 Subject: [PATCH] progress bar: Add CSS documentation --- gtk/gtkprogressbar.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c index d32712000f..e8d498772c 100644 --- a/gtk/gtkprogressbar.c +++ b/gtk/gtkprogressbar.c @@ -65,6 +65,13 @@ * of the #GtkProgressBar. Functions are provided to control the orientation * of the bar, optional text can be displayed along with the bar, and the * step size used in activity mode can be set. + * + * # CSS nodes + * + * GtkProgressBar has a main CSS node with name progressbar and a subnode + * with name progress. The subnode has the style class .pulse when in activity + * mode. It gets the style classes .left, .right, .top or .bottom added when + * the progress 'touches' the corresponding end of the GtkProgressBar. */ #define MIN_HORIZONTAL_BAR_WIDTH 150