Home | All Classes | Grouped Classes | Index | Search

# CL_MenuItem_Silver::set_icon

Sets the menu items icon

    	void set_icon(
    		CL_Surface* surface, bool delete_surface = false);

Detailed description:

If 'delete_surface' is true, the surface will be deleted when the component is deleted.

See also:

CL_Surface | CL_MenuItem_Silver

Questions or comments, write to the ClanLib mailing list.