A radio menu item is a check menu item that belongs to a group. At each
instant exactly one of the radio menu items from a group is selected.
The correct way to create a group of radio menu items is approximatively
this:
Example: How to create a group of radio menu items.
(let (menu-item last-menu-item)
;; Add three menu items to a group
(dolist (label '("First Menu Item" "Second Menu Item" "Third Menu Item"))
(setf menu-item (gtk:radio-menu-item-new-with-label nil label))
(gtk:radio-menu-item-join-group menu-item last-menu-item)
(setf last-menu-item menu-item)))
Signal Details
The "group-changed" signal
lambda (radiomenuitem) :run-first
- radiomenuitem
- The gtk:radio-menu-item widget which received the signal.