FileExplorerPluginInstance.onFileMenu method
FileExplorerPluginInstance › onFileMenu
Unofficial
Adds file-explorer items to the file context menu.Signature:
onFileMenu(menu: Menu, file: TAbstractFile, source: string): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| menu | Menu | The menu to add to. |
| file | TAbstractFile | The file or folder the menu was opened on. |
| source | string | The source of the menu (e.g. 'file-explorer-context-menu'). |
Returns: void