gui2.lineeditwidget

One-line text editor widget.

class LineEditWidget: gui2.widget.Widget;

One-line text editor widget.

this(ref Node yaml);

Load a LineEditWidget from YAML.

Do not call directly.

void render(VideoDriver video);

Render the widget with specified video driver.

const pure nothrow @property string text();

Get entered text.

pure nothrow @property void characterFilter(bool delegate(dchar) rhs);

Set the function to determine whether an entered character should be added to the text.

pure nothrow @property void maxCharacters(const uint chars);

Set the maximum number of characters that can be entered.