Home | All Classes | Grouped Classes | Index | Search

# CL_ScrollBar::set_tracking

Enables scroll bar tracking if enable is true, or disables tracking if enable is false.

    	void set_tracking(
    		bool enable = true);

Detailed description:

If tracking is enabled (the default), the scroll bar emits the sig_value_changed() signal while the slider is being dragged. If tracking is disabled, the scroll bar emits the sig_value_changed() only when the user releases the mouse button after moving the slider.

See also:

CL_ScrollBar

Questions or comments, write to the ClanLib mailing list.