Home Program Object Program.autoPlay Program.addConfigButton()

3.2.1.21 Program.addMenuEntry()

program.addMenuEntry(name, callbackFn);

Adds a button eg. for your plugin's configuration dialog to the main menu. The name of the menu entry is defined by name. If the user selects one of "your" menu entry, the given function is called. In Silverjuke 2.52 or later, you can also add (even global) shortcuts for a menu entry; see "Advanced / Further options / Shortcut" for this purpose.

See also: Program.addConfigButton(), Program.addSkinsButton(), Program.addExitOption()


Home Program Object Program.autoPlay Program.addConfigButton()

Search

Latest news from the Forum