Salt: Better Menu Syntax

0 votes
asked Feb 7 in Wanted features by NotSaying

Feature Suggestions: 

  • Menu syntax support for nested {}.
  • MenuEntry Icon support
  • MenuEntry Checkbox and radio button support
  • Disabled MenuEntrys
  • SubMenus

Here is an example of a new syntax for menus.

{**

File > {** New | Open File | [] Uncheckedbox | [x] Checkedbox | - | Close | <img:close_all.png> Close All | - | 

Recent Files > {** stinky.pu | ouch.puml | gandalf.wsd } | <disabled> Recent Folders > } | 

Edit > | Source > | Refactor > | Help | [Button]

}

How it works:

  • SubMenus (including top level) would be indicated with a ">" after the name. A menu isn't open if it doesn't include a "{**" ... "}"
  • Apply standard checkbox syntax to MenuEntry ([] & [x]).
  • Something like <disable> to flag a MenuEntry or SubMenu as disabled.
  • Something like <img> to provide an icon for MenuEntry or SubMenu.

I don't have a good idea how to do context menus.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...