diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-09-20 12:15:44 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-09-20 12:15:44 +0000 |
commit | 4b582851f7bc329274b4df0177e2b7b6723ca380 (patch) | |
tree | 0dbf6dc516a7fcafd4a6a5f1232de63c7bbb324b | |
parent | d19f4ad53a93f646be284515087cc34aa73acdb6 (diff) | |
parent | da20c68d480c2d87de94e47200cf738cabb9e3ed (diff) | |
download | gtk+-4b582851f7bc329274b4df0177e2b7b6723ca380.tar.gz |
Merge branch 'mention_a11y_concern' into 'master'
Mention that after setting a button child the user is responsible for a11y relations
See merge request GNOME/gtk!3981
-rw-r--r-- | gtk/gtkbutton.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index 49f0681767..f02ca168bc 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -1035,6 +1035,12 @@ gtk_button_get_action_helper (GtkButton *button) * @child: (nullable): the child widget * * Sets the child widget of @button. + * + * Note that by using this API, you take full responsibility for setting + * up the proper accessibility label and description information for @button. + * Most likely, you'll either set the accessibility label or description + * for @button explicitly, or you'll set a labelled-by or described-by + * relations from @child to @button. */ void gtk_button_set_child (GtkButton *button, |