Home | All Classes | Grouped Classes | Index | Search

CL_InputBox::set_text

Sets the line edit text to text, clears the selection and moves the cursor to the end of the line. Sets the line edit contents to a plain text containing the printed value of num. Sets the line edit contents to a plain text containing the printed value of num.

	void set_text(
		const std::string& text);

	void set_text(
		int number);

	void set_text(
		double number);

Detailed description:

If necessary the text is truncated to get_max_length().

See also:

CL_InputBox



Questions or comments, write to the ClanLib mailing list.