TabEvent
class in package klyn.gui.windows.events

    public class TabEvent extends GuiEvent:

Event
└ GuiEvent
└ TabEvent

Event carrying the tab and hosted widget involved in a tab operation.

    import klyn.gui.windows
    import klyn.gui.windows.events

    tabs.tabClosed += lambda(event: TabEvent): print(event.title)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | index `index as Int` | Tab index at the time the event was emitted.
public readonly property | title `title as String` | Tab title at the time the event was emitted.
public readonly property | widget `widget as Widget` | Widget hosted by the tab.

Inherited Properties
property Inherited Properties from Event: source, timestamp
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | TabEvent `TabEvent(source as Object, index as Int, title as String, widget as Widget):` | Creates a tab event.