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 group list does not need to be freed, as each gtk-radio-menu-item will remove itself and its list item when it is destroyed.

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.
 

Slot Access Functions

Inherited Slot Access Functions

2020-7-18