|
wex
v21.04.0
|
Offers a text ctrl related to a ex object. More...
#include <wex/textctrl.h>
Public Member Functions | |
| textctrl (managed_frame *frame, wxControl *prefix, const data::window &data) | |
| Constructor. Creates empty control. | |
| textctrl (managed_frame *frame, const std::string &value=std::string(), const data::window &data=data::window()) | |
| Constructor. Skips prefix. | |
| ~textctrl () | |
| Destructor. | |
| wxControl * | control () |
| Returns the control window for the component. | |
| wex::ex * | ex () |
| Returns ex component. | |
| managed_frame * | frame () |
| Returns frame. | |
| const std::string | get_text () const |
| Get string value. | |
| void | select_all () const |
| Selects all text. | |
| bool | set_ex (wex::ex *ex, const std::string &command) |
| Sets ex component using string command. More... | |
| bool | set_ex (wex::ex *ex, char command) |
| Sets ex component using char command. More... | |
| void | set_text (const std::string &text) |
| Sets text. | |
Offers a text ctrl related to a ex object.
| bool wex::textctrl::set_ex | ( | wex::ex * | ex, |
| char | command | ||
| ) |
Sets ex component using char command.
Returns false if command not supported.
| bool wex::textctrl::set_ex | ( | wex::ex * | ex, |
| const std::string & | command | ||
| ) |
Sets ex component using string command.
Returns false if command not supported.