FileExplorerView.onFileContextMenu method
FileExplorerView › onFileContextMenu
Unofficial
Build and show the context menu for a file or folder. When the file is one of several selected items, shows the multi-file menu (files-menu) for the whole selection instead of the file-menu.Signature:
onFileContextMenu($event: MouseEvent, file: TAbstractFile): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| $event | MouseEvent | |
| file | TAbstractFile | The file or folder the menu is for. |
Returns: void