klyn.gui.windows.events.DockTabContextMenuEvent.DockTabContextMenuEvent
constructor
public DockTabContextMenuEvent(
source as Object,
index as Int,
title as String,
widget as Widget,
menu as Menu
):
Description

Creates a dock-tab context-menu event.

Parameters
ParameterDescription
sourceCenter area opening the menu.
indexZero-based tab index.
titleCurrent tab title.
widgetHosted widget.
menuMutable context menu.
Example
event = DockTabContextMenuEvent(center, 0, "main.kn", editor, Menu())