diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-09-01 15:31:24 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-09-01 16:29:21 -0400 |
commit | 639c839ba4e17379235dcf57dfdc4a750a6b809d (patch) | |
tree | b10a0a4f409be66a364b43d1afa65d3ed774f9bc /gtk/gtkcheckbutton.c | |
parent | 5f8769e1a82dc0fd01c2af99c8d2d6d77fb23cb9 (diff) | |
download | gtk+-639c839ba4e17379235dcf57dfdc4a750a6b809d.tar.gz |
Add docs about grouping via action
Mention this in the docs for gtk_check_button_set_group
and gtk_toggle_button_set_group.
Diffstat (limited to 'gtk/gtkcheckbutton.c')
-rw-r--r-- | gtk/gtkcheckbutton.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c index a3d02f9ee5..ab7a862779 100644 --- a/gtk/gtkcheckbutton.c +++ b/gtk/gtkcheckbutton.c @@ -802,7 +802,13 @@ gtk_check_button_set_label (GtkCheckButton *self, * Setting the group of a check button also changes the css name of the * indicator widget's CSS node to 'radio'. * - * The behavior of a checkbutton in a group is also commonly known as a 'radio button'. + * The behavior of a checkbutton in a group is also commonly known as + * a 'radio button'. + * + * Note that the same effect can be achieved via the #GtkActionable + * api, by using the same action with parameter type and state type 's' + * for all buttons in the group, and giving each button its own target + * value. */ void gtk_check_button_set_group (GtkCheckButton *self, |