PageChangeEvent
classin packageklyn.gui.terminal
public class PageChangeEvent extends Event:
└ 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
propertyInherited Properties from Event: name, when
propertyInherited 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.