Home | Libraries | People | FAQ | More |
boost::ui::slider — Slider widget base class.
// In header: <boost/ui/slider.hpp> class slider : public boost::ui::widget { public: // types typedef int value_type; // Slider value type. // construct/copy/destruct slider(); // public member functions value_type value() const; value_type min() const; value_type max() const; template<typename F, class ... Args> slider & on_slide(F &&, Args &&...); template<typename F, class ... Args> slider & on_slide_end(F &&, Args &&...); // private member functions void check_range(value_type) const; void on_slide_raw(const boost::function< void()> &); void on_slide_end_raw(const boost::function< void()> &); detail_impl * get_impl(); const detail_impl * get_impl() const; // private static functions static void check_range(value_type, value_type, value_type); };
See Also:
slider
public member functionsvalue_type value() const;Retruns position value.
value_type min() const;Retruns minimum position value.
value_type max() const;Retruns maximum position value.
template<typename F, class ... Args> slider & on_slide(F && f, Args &&... args);Connects slide handler.
template<typename F, class ... Args> slider & on_slide_end(F && f, Args &&... args);Connects slide end handler.