Package: gtk

Class gtk:radio-menu-item

Superclasses

Documented Subclasses

None

Direct Slots

group
The group property of type gtk:radio-menu-item (Write)
The radio menu item whose group this widget belongs to.

Details

The 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.

CSS nodes

The gtk:radio-menu-item implementation has a main CSS node with name menuitem, and a subnode with name radio, which gets the .left or .right style class.

Examples

The correct way to create a group of radio menu items is approximatively this:
(let (item last-item)
  ;; Add three menu items to a group
  (dolist (label '("First Menu Item" "Second Menu Item" "Third Menu Item"))
    (setf item (gtk:radio-menu-item-new-with-label nil label))
    (gtk:radio-menu-item-join-group item last-item)
    (setf last-item item)))    

Signal Details

The "group-changed" signal
lambda (item)     :run-first      
item
The gtk:radio-menu-item widget that received the signal.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2026-05-30