[gtk/ebassi/for-master: 1/4] a11y: Use GROUP role for GtkNotebook
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/for-master: 1/4] a11y: Use GROUP role for GtkNotebook
- Date: Wed, 11 Nov 2020 18:46:55 +0000 (UTC)
commit 526f1e315b7a06ec48f6e258c2cad529724186e2
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Nov 11 18:11:10 2020 +0000
a11y: Use GROUP role for GtkNotebook
A notebook is a grouping of a tab list, tabs, and tab pages.
gtk/gtknotebook.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 6f96faeee1..945a13da6a 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -1369,6 +1369,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
gtk_widget_class_set_layout_manager_type (widget_class, GTK_TYPE_BOX_LAYOUT);
gtk_widget_class_set_css_name (widget_class, I_("notebook"));
+ gtk_widget_class_set_accessible_role (widget_class, GTK_ACCESSIBLE_ROLE_GROUP);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]