klyn.gui.terminal.PageChangeEvent.PageChangeEvent
constructor

    public PageChangeEvent(previous as Page, current as Page, source as Object = null):

Description

Creates a terminal page focus change payload.

Parameters

Parameter | Description
--- | ---
`previous` | Previously focused page.
`current` | Newly focused page.
`source` | Terminal that emitted the event.

Example

    event = PageChangeEvent(oldPage, newPage, terminal)