|
OpenCPN Partial API docs
|
A wxTextCtrl with an initial italics help text, removed when user starts typing. More...
#include <text_ctrl_w_help.h>
Public Member Functions | |
| TextCtrlWithHelp (wxWindow *parent, const std::string &help_text) | |
| void | SetValue (const wxString &value) override |
| Ignored if pristine, use ChangeValue if need be. | |
| void | ChangeValue (const wxString &value) override |
| Falsify pristine state. | |
| void | RestoreHelp () |
| Restore help text to initial value, enter pristine state. | |
| void | SetHelp (const std::string &help_text) |
| Set help text, enter pristine state. | |
| bool | IsPristine () const |
| Return true if user has not entered anything. | |
A wxTextCtrl with an initial italics help text, removed when user starts typing.
Definition at line 22 of file text_ctrl_w_help.h.
|
inline |
Return true if user has not entered anything.
Definition at line 39 of file text_ctrl_w_help.h.