Dialog
class in package klyn.gui.terminal

    public class Dialog extends Widget:

Object
└ Widget
└ Dialog

Base modal dialog.

Fields

Modifier and Type | Member | Description
--- | --- | ---
public | onAccept `onAccept as Object = null` | No summary.
public | onCancel `onCancel as Object = null` | No summary.
public | terminal `terminal as Terminal = null` | No summary.
public | title `title as String = ""` | No summary.

Attributes inherited from Widget: lastRenderAnsi, lastRenderHeight, lastRenderPlain, lastRenderWidth, layout, visible
Properties inherited from Widget: focusable, focused, lastRenderFrame, position, size
Properties inherited from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | Dialog `Dialog(terminal as Terminal, title as String):` | No summary.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | close `close() as Void:` | No summary.
public | show `show() as Void:` | No summary.

Methods inherited from Widget: add, baseAnsiStyle, captureRenderFrame, children, clearChildren, configureCursor, focusNext, handleEvent, handleMouseEvent, hasActiveTextInput, idle, paint, paintToFrame, performLayout, refresh, renderAnsiSnapshot, renderPlainSnapshot, scrollbarThumbGlyph, scrollbarTrackGlyph, terminalPromptVisible
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml