public TabEvent(source as Object, index as Int, title as String, widget as Widget):
Creates a tab event.
| Parameter | Description |
|---|---|
source | Tab widget emitting the event. |
index | Tab index. |
title | Tab title. |
widget | Hosted widget. |
event = TabEvent(tabs, 0, "main.kn", editor)