mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
Merge branch 'check-button-radio-docs' into 'main'
gtkcheckbutton: Document how to keep track of changes for radio buttons See merge request GNOME/gtk!5328
This commit is contained in:
commit
8eace1c385
@ -77,6 +77,11 @@
|
||||
*
|
||||
* To add a `GtkCheckButton` to a group, use [method@Gtk.CheckButton.set_group].
|
||||
*
|
||||
* When the code must keep track of the state of a group of radio buttons, it
|
||||
* is recommended to keep track of such state through a stateful
|
||||
* `GAction` with a target for each button. Using the `toggled` signals to keep
|
||||
* track of the group changes and state is discouraged.
|
||||
*
|
||||
* # CSS nodes
|
||||
*
|
||||
* ```
|
||||
|
Loading…
Reference in New Issue
Block a user