manager

Last updated 2 months ago

Menu Manager Plugin.

Submodules

API Overview

API Documentation

Variables

Signature

plugins.core.menu.manager.rootSection() -> section

Type

Variable

Description

A new Root Section

Signature

plugins.core.menu.manager.titleSuffix() -> table

Type

Variable

Description

Table of Title Suffix's

Functions

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

disable

Signature

plugins.core.menu.manager.disable(priority) -> menubaritem

Type

Function

Description

Removes the menu from the system menu bar.

Parameters

Returns

enable

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

init

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

Fields

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.