setText (2) void setText(const char* text) text The null-terminated text to be entered into the field Copies text, without the terminating null, into the field.