docs » plugins.core.menu.manager
Menu Manager Plugin.
- Functions - API calls offered directly by the extension
- addSection
- addTitleSuffix
- disable
- enable
- generateMenuTable
- init
- updateMenubarIcon
- Fields - Variables which can only be accessed from an object returned by a constructor
- displayMenubarAsIcon
Signature | plugins.core.menu.manager.addSection(priority) -> section |
---|---|
Type | Function |
Description | Creates a new menu section, which can have items and sub-menus added to it. |
Parameters |
|
Returns |
|
Signature | plugins.core.menu.manager.addTitleSuffix(fnTitleSuffix) |
---|---|
Type | Function |
Description | Allows you to add a custom Suffix to the Menubar Title |
Parameters |
|
Returns |
|
Signature | plugins.core.menu.manager.disable(priority) -> menubaritem |
---|---|
Type | Function |
Description | Removes the menu from the system menu bar. |
Parameters |
|
Returns |
|
Signature | plugins.core.menu.manager.enable(priority) -> menubaritem |
---|---|
Type | Function |
Description | Returns the previously removed menu back to the system menu bar. |
Parameters |
|
Returns |
|
Signature | plugins.core.menu.manager.generateMenuTable() |
---|---|
Type | Function |
Description | Generates the Menu Table |
Parameters |
|
Returns |
|
Signature | plugins.core.menu.manager.init() -> none |
---|---|
Type | Function |
Description | Initialises the module. |
Parameters |
|
Returns |
|
Signature | plugins.core.menu.manager.updateMenubarIcon(priority) -> none |
---|---|
Type | Function |
Description | Updates the Menubar Icon |
Parameters |
|
Returns |
|
Signature | plugins.core.menu.manager.displayMenubarAsIcon <cp.prop: boolean> |
---|---|
Type | Field |
Description | If true , the menubar item will be the app icon. If not, it will be the app name. |