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

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.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

2023-2-24