1 class Elm_Gesture_Layer (Elm_Widget)
3 eo_prefix: elm_obj_gesture_layer;
8 @brief This function sets step-value for zoom action.
10 @if MOBILE @since_tizen 2.3
11 @elseif WEARABLE @since_tizen 2.3.1
14 @remark Set step to any positive value.
15 Cancel step setting by setting to 0
17 @see elm_gesture_layer_zoom_step_get()
18 @ingroup Elm_Gesture_Layer
23 @brief This function returns step-value for zoom action.
25 @if MOBILE @since_tizen 2.3
26 @elseif WEARABLE @since_tizen 2.3.1
29 @return zoom step value.
31 @see elm_gesture_layer_zoom_step_set()
32 @ingroup Elm_Gesture_Layer
36 double step; /*@ new zoom step value. */
42 @brief This function sets the gesture layer finger-size for taps
43 If not set, this size taken from elm_config.
45 @if MOBILE @since_tizen 2.3
46 @elseif WEARABLE @since_tizen 2.3.1
49 @remark Set to ZERO if you want GLayer to use system finger size value (default)
52 @ingroup Elm_Gesture_Layer
57 @brief This function returns the gesture layer finger-size for taps
59 @if MOBILE @since_tizen 2.3
60 @elseif WEARABLE @since_tizen 2.3.1
63 @return Finger size that is currently used by Gesture Layer for taps.
66 @ingroup Elm_Gesture_Layer
70 Evas_Coord sz; /*@ Finger size */
76 @brief This function is to make gesture-layer repeat events.
78 @if MOBILE @since_tizen 2.3
79 @elseif WEARABLE @since_tizen 2.3.1
82 @remark Set this if you like to get the raw events only if gestures were not
84 Clear this if you like gesture layer to forward events as testing gestures.
85 @ingroup Elm_Gesture_Layer
90 @brief Call this function to get repeat-events settings.
92 @if MOBILE @since_tizen 2.3
93 @elseif WEARABLE @since_tizen 2.3.1
96 @return repeat events settings.
97 @see elm_gesture_layer_hold_events_set()
98 @ingroup Elm_Gesture_Layer
102 bool hold_events; /*@ hold events or not. */
108 @brief This function sets step-value for rotate action.
110 @if MOBILE @since_tizen 2.3
111 @elseif WEARABLE @since_tizen 2.3.1
114 @remark Set step to any positive value.
115 Cancel step setting by setting to 0
116 @ingroup Elm_Gesture_Layer
121 @brief This function returns step-value for rotate action.
123 @if MOBILE @since_tizen 2.3
124 @elseif WEARABLE @since_tizen 2.3.1
127 @return rotate step value.
128 @ingroup Elm_Gesture_Layer
132 double step; /*@ new rotate step value. */
138 @brief Use function to set callbacks to be notified about
139 change of state of gesture.
141 @if MOBILE @since_tizen 2.3
142 @elseif WEARABLE @since_tizen 2.3.1
145 @remark When a user registers a callback with this function
146 this means this gesture has to be tested.
148 @remark When ALL callbacks for a gesture are set to NULL
149 it means user isn't interested in gesture-state
150 and it will not be tested.
151 @ingroup Elm_Gesture_Layer
155 Elm_Gesture_Type idx; /*@ The gesture you would like to track its state. */
156 Elm_Gesture_State cb_type; /*@ what event this callback tracks: START, MOVE, END, ABORT. */
157 Elm_Gesture_Event_Cb cb; /*@ callback function pointer. */
158 void *data; /*@ user info to be sent to callback (usually, Smart Data) */
165 @brief Attach a given gesture layer widget to an Evas object, thus setting
166 the widget's @b target.
168 @if MOBILE @since_tizen 2.3
169 @elseif WEARABLE @since_tizen 2.3.1
172 @remark A gesture layer target may be whichever Evas object one
173 chooses. This will be object @a obj will listen all mouse and key
174 events from, to report the gestures made upon it back.
176 @return @c EINA_TRUE, on success, @c EINA_FALSE otherwise.
177 @ingroup Elm_Gesture_Layer
182 @in Evas_Object *target; /*@ Object to attach to @a obj (target) */
189 Use this function to remove a callback that has been added
190 to be notified about change of state of gesture.
191 @ingroup Elm_Gesture_Layer
195 @in Elm_Gesture_Type idx; /*@ The gesture you would like to track its state. */
196 @in Elm_Gesture_State cb_type; /*@ what event this callback tracks: START, MOVE, END, ABORT. */
197 @in Elm_Gesture_Event_Cb cb; /*@ callback function pointer. */
198 @in void *data; /*@ user info for the callback (usually, Smart Data) */
205 Use function to add callbacks to be notified about
206 change of state of gesture.
207 When a user registers a callback with this function
208 this means this gesture has to be tested.
210 When ALL callbacks for a gesture are set to NULL
211 it means user isn't interested in gesture-state
212 and it will not be tested.
214 If a function was already set for this gesture/type/state, it will be
215 replaced by the new one. For ABI compat, callbacks added by
216 elm_gesture_layer_cb_add will be removed. It is recommended to
217 use only one of these functions for a gesture object.
218 @ingroup Elm_Gesture_Layer
222 @in Elm_Gesture_Type idx; /*@ The gesture you would like to track its state. */
223 @in Elm_Gesture_State cb_type; /*@ what event this callback tracks: START, MOVE, END, ABORT. */
224 @in Elm_Gesture_Event_Cb cb; /*@ callback function pointer. */
225 @in void *data; /*@ user info to be sent to callback (usually, Smart Data) */
232 Evas.Object_Smart.add;
233 Evas.Object_Smart.del;