8.1.17 The choice-item Widget

Syntax:

item ::= (choice-item [keyword argument]... value)

A widget to represent a choice in a menu-choice widget. Its super is the item widget.

The value, if present, is used to initialize the :value property.

It overrides the following properties:

:action

Activating the button of a choice-item is equivalent to activating the parent widget.

:format

By default, it buttonizes the tag (i.e., its value) and adds a newline character at the end of the widget.