| Did you know ... | Search Documentation: |
| Get methods |
->active_item<-members
chain of menu_item
objects.event is an event that occurred on the menu, return
the menu_item on which are it occurred. May be used to redefine
event-handling of menu's.
Diagnostics: Fails silently when the event did not occur on a menu_item's area.
->event<->value
equal to the provided value and return this.
Diagnostics: Fails silently on failure.
Bugs: For backward compatibility, if there is no item with menu_item<-value
that matches the specification, it will return the first item for which
the conversion of the argument and menu_item<-value
to a name yield the same name.
->member ->off->selection, menu->modified: @off
or menu->default.
See also menu->apply.
If menu->modified
is set to @on
the graphical<-device
will be informed using
dialog->modified_item.
See dialog_item->modified.
|chain*<-multiple_selection
equals @off,
returns menu_item<-value
of the selected menu_item. Otherwise it returns a new chain with the
menu<-value for each of the selected items
(the chain may be empty).
Diagnostics: Fails if menu<-multiple_selection
equals @off
and no items are selected. This should only happen it there are no items
in the menu.
->selection