nice-curses ~master (2019-06-16T16:28:04Z)
Dub
Repo
Button
nice
ui
elements
Undocumented in source.
class
Button : UIElement {
protected
string
delegate
()
text
;
protected
Config
cfg
;
class
Signal
;
struct
Config
;
this
(UI ui, int nlines, int ncols, int y, int x, string delegate() text, Config cfg);
this
(UI ui, int nlines, int ncols, int y, int x, string text, Config cfg);
void
draw
(bool active);
bool
keystroke
(WChar key);
}
Constructors
this
this
(UI ui, int nlines, int ncols, int y, int x, string delegate() text, Config cfg)
Undocumented in source.
this
this
(UI ui, int nlines, int ncols, int y, int x, string text, 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.
text
string
delegate
()
text
;
Undocumented in source.
Meta
Source
See Implementation
nice
ui
elements
classes
Button
CheckBox
Label
Menu
NumberBox
ProgressBar
TextInput