summaryrefslogtreecommitdiff
path: root/gtk/gtkprogressbar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-07-27 10:46:52 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-07-27 10:48:08 -0400
commitd90f79de0e3e778f3972467f4807a2ee306912be (patch)
tree6b1601bd9fcbaad8adfcca538f658edb95356d46 /gtk/gtkprogressbar.c
parent790db8db53c7d303cc1825746c3f34a67922bbc1 (diff)
downloadgtk+-d90f79de0e3e778f3972467f4807a2ee306912be.tar.gz
a11y: Document roles of widgets
Add a section to the long description for each widget that is using a non-default accessible role.
Diffstat (limited to 'gtk/gtkprogressbar.c')
-rw-r--r--gtk/gtkprogressbar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index 1041e1185f..6255296ea9 100644
--- a/gtk/gtkprogressbar.c
+++ b/gtk/gtkprogressbar.c
@@ -85,6 +85,10 @@
* .right, .top or .bottom added when the progress 'touches' the corresponding
* end of the GtkProgressBar. The .osd class on the progressbar node is for use
* in overlays like the one Epiphany has for page loading progress.
+ *
+ * # Accessibility
+ *
+ * GtkProgressBar uses the #GTK_ACCESSIBLE_ROLE_PROGRESS_BAR role.
*/
typedef struct _GtkProgressBarClass GtkProgressBarClass;