nice-curses ~master (2019-06-16T16:28:04Z)
Dub
Repo
CheckBox
nice
ui
elements
Undocumented in source.
class
CheckBox : UIElement {
protected
string
delegate
()
text
;
protected
Config
cfg
;
protected
Window
textWindow
;
protected
Window
markWindow
;
bool
checked
;
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);
bool
keystroke
(W key);
void
draw
(bool active);
}
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
(W 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.
checked
bool
checked
;
Undocumented in source.
markWindow
Window
markWindow
;
Undocumented in source.
text
string
delegate
()
text
;
Undocumented in source.
textWindow
Window
textWindow
;
Undocumented in source.
Meta
Source
See Implementation
nice
ui
elements
classes
Button
CheckBox
Label
Menu
NumberBox
ProgressBar
TextInput