From: Matthias Clasen Date: Wed, 21 Jun 2023 01:57:50 +0000 (-0400) Subject: frame: Use the group role X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~115^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e5e5966934300b1c2322ba5b72bdd7a831175c49;p=gtk4.git frame: Use the group role --- diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index 041e05c91c..f938b33127 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -77,6 +77,10 @@ * `GtkFrame` has a main CSS node with name “frame”, which is used to draw the * visible border. You can set the appearance of the border using CSS properties * like “border-style” on this node. + * + * # Accessibility + * + * `GtkFrame` uses the `GTK_ACCESSIBLE_ROLE_GROUP` role. */ typedef struct @@ -203,6 +207,7 @@ gtk_frame_class_init (GtkFrameClass *class) g_object_class_install_properties (gobject_class, LAST_PROP, frame_props); gtk_widget_class_set_css_name (widget_class, I_("frame")); + gtk_widget_class_set_accessible_role (widget_class, GTK_ACCESSIBLE_ROLE_GROUP); } static GtkBuildableIface *parent_buildable_iface;