59
59
void (__stdcall *set_text)(TextBox *self, const std::string &text);
60
60
std::string (__stdcall *get_text)(TextBox *self);
61
61
void (__stdcall *append_text)(TextBox *self, const std::string &text, bool scroll_to_end);
62
// void (__stdcall *append_text_with_attributes)(TextBox *self, const std::string &text, const TextAttributes &attr, bool scroll_to_end);
62
63
void (__stdcall *set_padding)(TextBox *self, int pad); // TODO: not supported on Windows, should be removed.
63
64
void (__stdcall *set_monospaced)(TextBox *self, bool flag);
64
65
void (__stdcall *get_selected_range)(TextBox *self, int &start, int &end);