Name
Application.ContextMenu -- set context menu for application (V2.0)
Platforms
Windows, macOS, Linux

Function
If your application has installed an icon in the system tray by using Hollywood's SetTrayIcon() function, you can use this attribute to add a context menu to the application's tray icon. Just set this attribute to an identifier of a MOAI object derived from Menu class and your application's icon in the system tray will get a context menu. Whenever the user presses the right mouse button on the icon in the system tray, the context menu will be shown.

See Context menus for an example.

Type
MOAI object

Applicability
I


Show TOC