Home Segments Index Top Previous Next

725: Mainline

You can divide menu items into groups by adding a line, called a separator, between them. To add a separator, you use the appendSeparator method. For example, the following adds a separator after the Options item:

Menu new
  title: '~Options';
  owner: self;
  appendItem: '~Food Type' selector: #resetListBox;
  appendSeparator;                                              
  ...