On this page:
Menu

image

class

class gui.Menu():

  implements MenuChildView

  constructor (

    label :: ObsOrValue.of(View.LabelString),

    ~enable: enable :: ObsOrValue.of(Boolean) = #true,

    ~help: help_text :: ObsOrValue.of(maybe(View.LabelString)) = #false,

    item :: ObsOrValue.of(MenuChildView),

    ...

  )

Creates a menu containing menu items and submenus for inclusion in a MenuBar, Menu, or PopupMenu.