PageChangeEvent
class in package klyn.gui.terminal

    public class PageChangeEvent extends Event:

Event
└ GuiEvent
└ Event
└ PageChangeEvent

Terminal page focus change event.

    terminal.pageChanged += lambda(e: PageChangeEvent): print(e.current.title)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | current `current as Page` | Newly focused page.
public readonly property | previous `previous as Page` | Previously focused page, or `null` when no page was focused before.

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

Modifier and Type | Member | Description
--- | --- | ---
public | PageChangeEvent `PageChangeEvent(previous as Page, current as Page, source as Object = null):` | Creates a terminal page focus change payload.