public DockTabContextMenuEvent( source as Object, index as Int, title as String, widget as Widget, menu as Menu ):
Creates a dock-tab context-menu event.
| Parameter | Description |
|---|---|
source | Center area opening the menu. |
index | Zero-based tab index. |
title | Current tab title. |
widget | Hosted widget. |
menu | Mutable context menu. |
event = DockTabContextMenuEvent(center, 0, "main.kn", editor, Menu())