ui.Interface.loadStartMenu

Load the start menu file.

Syntax

ui.Interface.loadStartMenu(
   filename STRING )
  1. filename is the name of a start menu file, without the extension.

Usage

Use the ui.Interface.loadStartMenu() class method to load a .4sm file defining a start menu.

Specify the filename without the "4sm" extension.

If the file does not exist in the current directory, it is searched in the directories defined in the DBPATH/FGLRESOURCEPATH environment variable.

Example

CALL ui.Interface.loadStartMenu("mystartmenu")