forked from AuroraMiddleware/gtk
Add docs about grouping via action
Mention this in the docs for gtk_check_button_set_group and gtk_toggle_button_set_group.
This commit is contained in:
parent
5f8769e1a8
commit
639c839ba4
@ -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,
|
||||
|
@ -446,6 +446,12 @@ gtk_toggle_button_toggled (GtkToggleButton *toggle_button)
|
||||
*
|
||||
* Adds @self to the group of @group. In a group of multiple toggle buttons,
|
||||
* only one button can be active at a time.
|
||||
*
|
||||
* 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_toggle_button_set_group (GtkToggleButton *self,
|
||||
|
Loading…
Reference in New Issue
Block a user