CL_Component::is_enabled - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_Component::is_enabled

Returns true if component accepts user input.

    	bool is_enabled(
    		bool check_parents = true);

Detailed description:

Is check_parents is true, it will check the state of the parents, and only return true if all parents are enabled.

See also:

CL_Component

Questions or comments, write to the ClanLib mailing list.