Home | All Classes | Grouped Classes | Index | Search

# CL_Component::set_position

Sets the position (relative to its parent) and size of this component. Sets the position of this component (relative to its parent).

    	void set_position(
    		const CL_Rect& new_pos);

    	void set_position(
    		int new_x, int new_y);

See also:

CL_Rect | CL_Component

Questions or comments, write to the ClanLib mailing list.