Package: gtk
Function gtk-radio-button-join-group
Lambda Listgtk-radio-button-join-group (button group) ArgumentsDetails
Joins a radio button to the group of another radio button widget.
Use this in language bindings instead of the the gtk-radio-button-get-group and gtk-radio-button-set-group
functions. Example
(let (button lastbutton)
;; Add three buttons to a group
(dolist (label '("First Button" "Second Button" "Third Button"))
(setf button (gtk-radio-button-new-with-label nil label))
(gtk-radio-button-join-group button lastbutton)
(setf lastbutton button))) | See also |
2021-12-4