This section describes how you can add a new menu to the right of the Fluent ribbon tabs.
This section discusses adding new menu to the right of the Fluent ribbon
tabs using the cx-add-menu
. macro.
(cx-add-menu name mnemonic)
Argument | Type | Description |
---|---|---|
name | string | Name of the Menu |
mnemonic | char | This is a placeholder. The only mnemonic is Alt + F for the File menu. |
Note: Mnemonics are not available for user-defined menus, however you must still provide a value
for this field, for example #f
.
Note: The names of menus and submenus should be unique to avoid conflict when adding menu items. If two menus/submenus of the same name do exist, a menu item being added to that name will be added to the last menu/submenu to be created.
Since all of the menu macros are best shown and implemented together, see Example Menu Added to the Right of the Ribbon Tabs for examples of menus being added to the right of the Fluent ribbon tabs.