LineEdit
class in package klyn.gui.terminal

    public class LineEdit extends Widget:

Object
└ Widget
└ LineEdit

Single-line editable text widget.

Inherited Attributes
attribute Inherited Attributes from Widget: lastRenderAnsi, lastRenderHeight, lastRenderPlain, lastRenderWidth, layout, visible
Properties

Modifier and Type | Member | Description
--- | --- | ---
public property | bgNormal `bgNormal as String = "\u001b[48;2;44;44;48m"` | No summary.
public property | cursorPosition `cursorPosition as Int = 0` | No summary.
public property | fgNormal `fgNormal as String = "\u001b[38;2;245;245;245m"` | No summary.
public override readonly property | focusable `focusable as Boolean:` | No summary.
public override property | focused `focused as Boolean:` | No summary.
public property | placeholder `placeholder as String = ""` | No summary.
public property | placeholderFg `placeholderFg as String = "\u001b[38;2;120;130;140m"` | No summary.

Inherited Properties
property Inherited Properties from Widget: focusable, focused, lastRenderFrame, position, size
property Inherited Properties from Object: type
Signals

Modifier and Type | Member | Description
--- | --- | ---
public signal property | text `text as String:` | No summary.

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | LineEdit `LineEdit(text as String = ""):` | No summary.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | cursorDisplayColumn `cursorDisplayColumn() as Int:` | No summary.
public override | handleEvent `handleEvent(eventName as String) as Boolean:` | No summary.
public override | handleMouseEvent `handleMouseEvent(mouse as MouseEvent, localX as Int, localY as Int, viewWidth as Int, viewHeight as Int) as Boolean:` | No summary.
public override | paintToFrame `paintToFrame(frame as TerminalFrame, row as Int, col as Int, width as Int, height as Int) as Boolean:` | No summary.

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