4.35.4 Controlling the swipl-win.exe console window
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Operating System Interaction
          • Controlling the swipl-win.exe console window
            • window_title/2
            • win_window_pos/1
            • win_window_color/2
            • win_has_menu/0
            • win_insert_menu/2
            • win_insert_menu_item/4
    • Packages
win_insert_menu(+Label, +Before)
Insert a new entry (pulldown) in the menu. If the menu already contains this entry, nothing is done. The Label is the label and, using the Windows convention, a letter prefixed with & is underlined and defines the associated accelerator key. Before is the label before which this one must be inserted. Using - adds the new entry at the end (right). For example, the call below adds an Application entry just before the Help menu.
win_insert_menu('&Application', '&Help')