![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
You add menu items to a menu using the appendItem:selector:
message. The first argument is the string that appears in the menu; the
second argument is a literal symbol that identifies the callback message to
be sent to the view manager, the owner, whenever the item is selected from
the menu:
Menu new title: '~Options'; owner: self; appendItem: '~Food Type' selector: #resetListBox; ...