1 /** 2 * @defgroup Elm_Spinner_Group Spinner 3 * @ingroup Elementary 4 * 5 * @image html spinner_inheritance_tree.png 6 * @image latex spinner_inheritance_tree.eps 7 * 8 * @image html img/widget/spinner/preview-00.png 9 * @image latex img/widget/spinner/preview-00.eps 10 * 11 * A spinner is a widget which allows the user to increase or decrease 12 * numeric values using arrow buttons, or edit values directly, clicking 13 * over it and typing the new value. 14 * 15 * By default the spinner will not wrap and has a label 16 * of "%.0f" (just showing the integer value of the double). 17 * 18 * A spinner has a label that is formatted with floating 19 * point values and thus accepts a printf-style format string, like 20 * “%1.2f units”. 21 * 22 * It also allows specific values to be replaced by pre-defined labels. 23 * 24 * This widget inherits from the @ref Elm_Layout one, so that all the 25 * functions acting on it also work for spinner objects. 26 * 27 * This widget emits the following signals, besides the ones sent from 28 * @ref Elm_Layout : 29 * - @c "changed" - Whenever the spinner value is changed. 30 * - @c "delay,changed" - A short time after the value is changed by 31 * the user. This will be called only when the user stops dragging 32 * for a very short period or when they release their finger/mouse, 33 * so it avoids possibly expensive reactions to the value change. 34 * - @c "language,changed" - the program's language changed 35 * - @c "focused" - When the spinner has received focus. (since 1.8) 36 * - @c "unfocused" - When the spinner has lost focus. (since 1.8) 37 * - @c "spinner,drag,start" - When dragging has started. (since 1.8) 38 * - @c "spinner,drag,stop" - When dragging has stopped. (since 1.8) 39 * 40 * Available styles for it: 41 * - @c "default"; 42 * - @c "vertical": up/down buttons at the right side and text left aligned. 43 * 44 * Supported elm_object common APIs. 45 * @li @ref elm_object_signal_emit 46 * @li @ref elm_object_signal_callback_add 47 * @li @ref elm_object_signal_callback_del 48 * @li @ref elm_object_disabled_set 49 * @li @ref elm_object_disabled_get 50 * 51 * Here is an example on its usage: 52 * @ref spinner_example 53 */ 54 55 /** 56 * @addtogroup Elm_Spinner_Group 57 * @{ 58 */ 59 60 #ifndef EFL_NOLEGACY_API_SUPPORT 61 #include "elm_spinner_legacy.h" 62 #endif 63 /** 64 * @} 65 */ 66