diff options
author | Janar Sööt <janar.soot@gmail.com> | 2020-12-03 17:46:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 10:46:55 -0500 |
commit | 91de1560a727264e6955f7581a5864bdb9c1653e (patch) | |
tree | e620648912fbc143c96845a566676fb1aa498f0f /docs/Config_Reference.md | |
parent | 422386e94cb5849fbe66b2651b1acfd3154f7b63 (diff) | |
download | kutter-91de1560a727264e6955f7581a5864bdb9c1653e.tar.gz kutter-91de1560a727264e6955f7581a5864bdb9c1653e.tar.xz kutter-91de1560a727264e6955f7581a5864bdb9c1653e.zip |
menu: modifications (#3262)
- remove lot of helper methods
- differentiate class instantiate from config or directly
- don't use 'enable' template rendering when static value is used.
- new element 'disabled'
- other internal adjustments
Signed-off-by: Janar Sööt <janar.soot@gmail.com>
Diffstat (limited to 'docs/Config_Reference.md')
-rw-r--r-- | docs/Config_Reference.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/Config_Reference.md b/docs/Config_Reference.md index baf23534..54156c68 100644 --- a/docs/Config_Reference.md +++ b/docs/Config_Reference.md @@ -3212,6 +3212,11 @@ List of actions for menu element: ``` # Common parameters available for all menu config sections. +#[menu __some_list __some_name] +#type: disabled +# Permanently disabled menu element, only required attribute is 'type'. +# Allows you to easily disable/hide existing menu items. + #[menu some_name] #type: # One of command, input, list, text: |