Changes between Version 7 and Version 8 of docs_menu


Ignore:
Timestamp:
Feb 17, 2016, 3:49:53 AM (6 years ago)
Author:
ehb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • docs_menu

    v7 v8  
    6666== startup ==
    6767 * a menu can be the default at startup... i.e. it be as if the user clicked that menu entry with the "startup" tag
    68   * if more than one menu entry is defined as startup, behaviour is undefined
    6968  * e.g.
    7069{{{
     
    7574            "icon"    : "pngs/build.png",
    7675            "help"    : "build help text",
    77             "startup" : "true",
     76            "startup" : "build_1",
    7877            "modules" : [
    7978                {
     
    9796            "icon"    : "pngs/noicon.png",
    9897            "autorun" : "true",
    99             "startup" : "true",
     98            "startup" : "welcome",
    10099            "modules" : [
    101100                {
     
    107106...
    108107}}}
     108
     109== nobutton ==
     110 * by default, each module within a menu will have a button to run it
     111 * this option will disable the display of the menu
     112 * this is primarily useful in combination with "autorun" above... (without "autorun", there is no way to run a "nobutton" module)
     113 * e.g.
     114{{{
     115...
     116        {
     117            "id"      : "welcome_menu",
     118            "label"   : "Welcome!",
     119            "icon"    : "pngs/noicon.png",
     120            "autorun" : "true",
     121            "startup" : "welcome",
     122            "modules" : [
     123                {
     124                    "id"       : "welcome",
     125                    "label"    : "Welcome",
     126                    "nobutton" : "true"
     127                }
     128            ]
     129        }
     130...
     131}}}
     132
    109133
    110134== nohidemenu ==