Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_slider.c File Reference


Detailed Description


Functions

Etk_Widget * etk_hslider_new (double lower, double upper, double value, double step_increment, double page_increment)
 Creates a new horizontal slider.
Etk_Widget * etk_vslider_new (double lower, double upper, double value, double step_increment, double page_increment)
 Creates a new vertical slider.
void etk_slider_label_set (Etk_Slider *slider, const char *label_format)
 Sets the format of the label to display next to the slider.
const char * etk_slider_label_get (Etk_Slider *slider)
 Gets the format of the label displayed next to the slider.
void etk_slider_inverted_set (Etk_Slider *slider, Etk_Bool inverted)
 Sets whether or not the slider is inverted. An inverted slider has its ends inverted: the maximum bound is at the left end for an Etk_HSlider, or at the bottom end (for an Etk_VSlider).
Etk_Bool etk_slider_inverted_get (Etk_Slider *slider)
 Gets whether or not the slider is inverted.
void etk_slider_update_policy_set (Etk_Slider *slider, Etk_Slider_Update_Policy policy)
 Sets the update-policy of the slider.
Etk_Slider_Update_Policy etk_slider_update_policy_get (Etk_Slider *slider)
 Gets the update-policy of the slider.