CL_MenuItem::set_text - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_MenuItem::set_text

Sets the menu item text. Sets the menu item contents to a plain text containing the printed value of num. Sets the menu item 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);

See also:

CL_MenuItem

Questions or comments, write to the ClanLib mailing list.