Home | All Classes | Grouped Classes | Index | Search

# CL_Button::set_toggle_mode

If toggle is true, pressing the button toggles it between an On and and Off state. If toggle is false, pressing the button causes an action, then the button returns to the unpressed state.

    	void set_toggle_mode(
    		bool toggle = true);

See also:

CL_Button

Questions or comments, write to the ClanLib mailing list.