Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_spinner.c File Reference


Detailed Description


Functions

Etk_Widget * etk_spinner_new (double lower, double upper, double value, double step_increment, double page_increment)
 Creates a new spinner.
void etk_spinner_digits_set (Etk_Spinner *spinner, int digits)
 Sets the number of digits displayed by the spinner.
int etk_spinner_digits_get (Etk_Spinner *spinner)
 Gets the number of digits displayed by the spinner.
void etk_spinner_snap_to_ticks_set (Etk_Spinner *spinner, Etk_Bool snap_to_ticks)
 Sets whether or not the value of the spinner should be automatically corrected to the nearest step-increment.
Etk_Bool etk_spinner_snap_to_ticks_get (Etk_Spinner *spinner)
 Gets whether or not the value of the spinner are automatically corrected to the nearest step-increment.
void etk_spinner_wrap_set (Etk_Spinner *spinner, Etk_Bool wrap)
 Sets whether or not the spinner's value should wrap around to the opposite limit when the value exceed one of the spinner's bounds.
Etk_Bool etk_spinner_wrap_get (Etk_Spinner *spinner)
 Gets whether or not the spinner's value is wrapped around to the opposite limit when the value exceed one of the spinner's bounds.