overwolf.os.tray.setMenu
Overwolf APIs / overwolf / overwolf / os / tray / setMenu
function setMenu(
menu: ExtensionTrayMenu,
callback: CallbackFunction<Result>,
): void;
Create a tray icon for the calling extension with the supplied context menu object.
Parameters
| Parameter | Type | Description |
|---|---|---|
menu | ExtensionTrayMenu | The menu object. |
callback | CallbackFunction<Result> | Called with the result. |
Returns
void