nice-curses ~master (2019-06-16T16:28:04Z)
Dub
Repo
TextInput
nice
ui
elements
Undocumented in source.
class
TextInput : UIElement {
protected
string
text
;
protected
int
scroll
;
protected
Config
cfg
;
class
Signal
;
struct
Config
;
this
(UI ui, int nlines, int ncols, int y, int x, string initialText, Config cfg);
bool
keystroke
(WChar key);
void
draw
(bool active);
}
Constructors
this
this
(UI ui, int nlines, int ncols, int y, int x, string initialText, Config cfg)
Undocumented in source.
Members
Classes
Signal
class
Signal
Undocumented in source.
Functions
draw
void
draw
(bool active)
Undocumented in source. Be warned that the author may not have intended to support it.
keystroke
bool
keystroke
(WChar key)
Undocumented in source. Be warned that the author may not have intended to support it.
Structs
Config
struct
Config
Undocumented in source.
Variables
cfg
Config
cfg
;
Undocumented in source.
scroll
int
scroll
;
Undocumented in source.
text
string
text
;
Undocumented in source.
Meta
Source
See Implementation
nice
ui
elements
classes
Button
CheckBox
Label
Menu
NumberBox
ProgressBar
TextInput