3 * vim:ts=8:sw=3:sts=3:expandtab:cino=>5n-2f0^-2{2(0W1st0
10 * @brief Elementary's API
15 @ELM_UNIX_DEF@ ELM_UNIX
16 @ELM_WIN32_DEF@ ELM_WIN32
17 @ELM_WINCE_DEF@ ELM_WINCE
18 @ELM_EDBUS_DEF@ ELM_EDBUS
19 @ELM_EFREET_DEF@ ELM_EFREET
20 @ELM_ETHUMB_DEF@ ELM_ETHUMB
21 @ELM_ALLOCA_H_DEF@ ELM_ALLOCA_H
22 @ELM_LIBINTL_H_DEF@ ELM_LIBINTL_H
24 /* Standard headers for standard system calls etc. */
29 #include <sys/types.h>
32 #include <sys/param.h>
57 #if defined (ELM_WIN32) || defined (ELM_WINCE)
60 # define alloca _alloca
70 #include <Ecore_Evas.h>
71 #include <Ecore_File.h>
72 #include <Ecore_IMF.h>
82 # include <Efreet_Mime.h>
83 # include <Efreet_Trash.h>
87 # include <Ethumb_Client.h>
95 # ifdef ELEMENTARY_BUILD
97 # define EAPI __declspec(dllexport)
100 # endif /* ! DLL_EXPORT */
102 # define EAPI __declspec(dllimport)
103 # endif /* ! EFL_EVAS_BUILD */
107 # define EAPI __attribute__ ((visibility("default")))
114 #endif /* ! _WIN32 */
117 /* allow usage from c++ */
122 #define ELM_VERSION_MAJOR @VMAJ@
123 #define ELM_VERSION_MINOR @VMIN@
125 typedef struct _Elm_Version
133 EAPI extern Elm_Version *elm_version;
136 #define ELM_RECTS_INTERSECT(x, y, w, h, xx, yy, ww, hh) (((x) < ((xx) + (ww))) && ((y) < ((yy) + (hh))) && (((x) + (w)) > (xx)) && (((y) + (h)) > (yy)))
137 #define ELM_PI 3.14159265358979323846
139 /**************************************************************************/
140 EAPI extern int ELM_ECORE_EVENT_ETHUMB_CONNECT;
143 typedef enum _Elm_Win_Type
146 ELM_WIN_DIALOG_BASIC,
155 typedef enum _Elm_Win_Keyboard_Mode
157 ELM_WIN_KEYBOARD_UNKNOWN,
158 ELM_WIN_KEYBOARD_OFF,
160 ELM_WIN_KEYBOARD_ALPHA,
161 ELM_WIN_KEYBOARD_NUMERIC,
162 ELM_WIN_KEYBOARD_PIN,
163 ELM_WIN_KEYBOARD_PHONE_NUMBER,
164 ELM_WIN_KEYBOARD_HEX,
165 ELM_WIN_KEYBOARD_TERMINAL,
166 ELM_WIN_KEYBOARD_PASSWORD,
168 ELM_WIN_KEYBOARD_HOST,
169 ELM_WIN_KEYBOARD_FILE,
170 ELM_WIN_KEYBOARD_URL,
171 ELM_WIN_KEYBOARD_KEYPAD,
172 ELM_WIN_KEYBOARD_J2ME
173 } Elm_Win_Keyboard_Mode;
176 * Emitted when policy value changed.
178 EAPI extern int ELM_EVENT_POLICY_CHANGED;
179 typedef struct _Elm_Event_Policy_Changed
184 } Elm_Event_Policy_Changed;
187 * Policy identifiers.
189 * @see elm_policy_set()
191 typedef enum _Elm_Policy
193 ELM_POLICY_QUIT, /**< when should quit application automatically.
194 * @see Elm_Policy_Quit.
199 typedef enum _Elm_Policy_Quit
201 ELM_POLICY_QUIT_NONE = 0, /**< never quit application automatically */
202 ELM_POLICY_QUIT_LAST_WINDOW_CLOSED /**< quit when last window is closed */
205 typedef enum _Elm_Thumb_Animation_Setting
207 ELM_THUMB_ANIMATION_START = 0, /* Play animation once */
208 ELM_THUMB_ANIMATION_LOOP, /* Keep playing animation until stop is requested */
209 ELM_THUMB_ANIMATION_STOP,
210 ELM_THUMB_ANIMATION_LAST
211 } Elm_Thumb_Animation_Setting;
213 typedef struct _Elm_Theme Elm_Theme;
215 typedef enum _Elm_Clock_Digedit
218 ELM_CLOCK_HOUR_DECIMAL = 1 << 0,
219 ELM_CLOCK_HOUR_UNIT = 1 << 1,
220 ELM_CLOCK_MIN_DECIMAL = 1 << 2,
221 ELM_CLOCK_MIN_UNIT = 1 << 3,
222 ELM_CLOCK_SEC_DECIMAL = 1 << 4,
223 ELM_CLOCK_SEC_UNIT = 1 << 5,
224 ELM_CLOCK_ALL = (1 << 6) - 1
227 #ifndef ELM_LIB_QUICKLAUNCH
228 #define ELM_MAIN() int main(int argc, char **argv) {elm_init(argc, argv); return elm_main(argc, argv);}
230 #define ELM_MAIN() int main(int argc, char **argv) {return elm_quicklaunch_fallback(argc, argv);}
233 /**************************************************************************/
235 EAPI void elm_init(int argc, char **argv);
236 EAPI void elm_shutdown(void);
237 EAPI void elm_run(void);
238 EAPI void elm_exit(void);
240 EAPI void elm_quicklaunch_init(int argc, char **argv);
241 EAPI void elm_quicklaunch_sub_init(int argc, char **argv);
242 EAPI void elm_quicklaunch_sub_shutdown(void);
243 EAPI void elm_quicklaunch_shutdown(void);
244 EAPI void elm_quicklaunch_seed(void);
245 EAPI Eina_Bool elm_quicklaunch_prepare(int argc, char **argv);
246 EAPI Eina_Bool elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (postfork_func) (void *data), void *postfork_data);
247 EAPI void elm_quicklaunch_cleanup(void);
248 EAPI int elm_quicklaunch_fallback(int argc, char **argv);
249 EAPI char *elm_quicklaunch_exe_path_get(const char *exe);
251 EAPI void elm_need_efreet(void);
252 EAPI void elm_need_e_dbus(void);
253 EAPI void elm_need_ethumb(void);
255 EAPI Eina_Bool elm_policy_set(unsigned int policy, int value);
256 EAPI int elm_policy_get(unsigned int policy);
258 EAPI void elm_all_flush(void);
260 EAPI void elm_object_scale_set(Evas_Object *obj, double scale);
261 EAPI double elm_object_scale_get(const Evas_Object *obj);
262 EAPI void elm_object_style_set(Evas_Object *obj, const char *style);
263 EAPI const char *elm_object_style_get(const Evas_Object *obj);
264 EAPI void elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled);
265 EAPI Eina_Bool elm_object_disabled_get(const Evas_Object *obj);
267 EAPI Eina_Bool elm_object_widget_check(const Evas_Object *obj);
268 EAPI Evas_Object *elm_object_parent_widget_get(const Evas_Object *obj);
269 EAPI Evas_Object *elm_object_top_widget_get(const Evas_Object *obj);
270 EAPI const char *elm_object_widget_type_get(const Evas_Object *obj);
272 EAPI double elm_scale_get(void);
273 EAPI void elm_scale_set(double scale);
274 EAPI void elm_scale_all_set(double scale);
275 EAPI Evas_Coord elm_finger_size_get(void);
276 EAPI void elm_finger_size_set(Evas_Coord size);
277 EAPI void elm_finger_size_all_set(Evas_Coord size);
279 EAPI void elm_autocapitalization_allow_all_set(Eina_Bool autocap);
280 EAPI void elm_autoperiod_allow_all_set(Eina_Bool autoperiod);
282 EAPI Eina_Bool elm_object_focus_get(Evas_Object *obj);
283 EAPI void elm_object_focus(Evas_Object *obj);
284 EAPI void elm_object_unfocus(Evas_Object *obj);
285 EAPI void elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable);
286 EAPI Eina_Bool elm_object_focus_allow_get(const Evas_Object *obj);
288 EAPI void elm_object_scroll_hold_push(Evas_Object *obj);
289 EAPI void elm_object_scroll_hold_pop(Evas_Object *obj);
290 EAPI void elm_object_scroll_freeze_push(Evas_Object *obj);
291 EAPI void elm_object_scroll_freeze_pop(Evas_Object *obj);
292 EAPI void elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock);
293 EAPI void elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock);
294 EAPI Eina_Bool elm_object_scroll_lock_x_get(const Evas_Object *obj);
295 EAPI Eina_Bool elm_object_scroll_lock_y_get(const Evas_Object *obj);
297 EAPI void elm_object_signal_emit(Evas_Object *obj, const char *emission, const char *source);
298 EAPI void elm_object_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, void (*func) (void *data, Evas_Object *o, const char *emission, const char *source), void *data);
299 EAPI void *elm_object_signal_callback_del(Evas_Object *obj, const char *emission, const char *source, void (*func) (void *data, Evas_Object *o, const char *emission, const char *source));
301 EAPI void elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h);
303 EAPI Elm_Theme *elm_theme_new(void);
304 EAPI void elm_theme_free(Elm_Theme *th);
305 EAPI void elm_theme_overlay_add(Elm_Theme *th, const char *item);
306 EAPI void elm_theme_overlay_del(Elm_Theme *th, const char *item);
307 EAPI void elm_theme_extension_add(Elm_Theme *th, const char *item);
308 EAPI void elm_theme_extension_del(Elm_Theme *th, const char *item);
309 EAPI void elm_theme_set(Elm_Theme *th, const char *theme);
310 EAPI const char *elm_theme_get(Elm_Theme *th);
311 EAPI void elm_theme_flush(Elm_Theme *th);
312 EAPI void elm_theme_full_flush(void);
314 EAPI void elm_theme_all_set(const char *theme);
316 EAPI void elm_object_theme_set(Evas_Object *obj, Elm_Theme *th);
317 EAPI Elm_Theme *elm_object_theme_get(Evas_Object *obj);
319 EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type);
320 EAPI void elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj);
321 EAPI void elm_win_resize_object_del(Evas_Object *obj, Evas_Object *subobj);
322 EAPI void elm_win_title_set(Evas_Object *obj, const char *title);
323 EAPI void elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel);
324 EAPI void elm_win_activate(Evas_Object *obj);
325 EAPI void elm_win_lower(Evas_Object *obj);
326 EAPI void elm_win_raise(Evas_Object *obj);
327 EAPI void elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless);
328 EAPI Eina_Bool elm_win_borderless_get(const Evas_Object *obj);
329 EAPI void elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped);
330 EAPI Eina_Bool elm_win_shaped_get(const Evas_Object *obj);
331 EAPI void elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha);
332 EAPI Eina_Bool elm_win_transparent_get(const Evas_Object *obj);
333 EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent);
334 EAPI Eina_Bool elm_win_alpha_get(const Evas_Object *obj);
335 EAPI void elm_win_override_set(Evas_Object *obj, Eina_Bool override);
336 EAPI Eina_Bool elm_win_override_get(const Evas_Object *obj);
337 EAPI void elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen);
338 EAPI Eina_Bool elm_win_fullscreen_get(const Evas_Object *obj);
339 EAPI void elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized);
340 EAPI Eina_Bool elm_win_maximized_get(const Evas_Object *obj);
341 EAPI void elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified);
342 EAPI Eina_Bool elm_win_iconified_get(const Evas_Object *obj);
343 EAPI void elm_win_layer_set(Evas_Object *obj, int layer);
344 EAPI int elm_win_layer_get(const Evas_Object *obj);
345 EAPI void elm_win_rotation_set(Evas_Object *obj, int rotation);
346 EAPI void elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation);
347 EAPI int elm_win_rotation_get(const Evas_Object *obj);
348 EAPI void elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky);
349 EAPI Eina_Bool elm_win_sticky_get(const Evas_Object *obj);
350 EAPI void elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant);
351 EAPI Eina_Bool elm_win_conformant_get(const Evas_Object *obj);
352 EAPI void elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel);
353 EAPI Eina_Bool elm_win_quickpanel_get(const Evas_Object *obj);
354 EAPI void elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority);
355 EAPI int elm_win_quickpanel_priority_major_get(const Evas_Object *obj);
356 EAPI void elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority);
357 EAPI int elm_win_quickpanel_priority_minor_get(const Evas_Object *obj);
358 EAPI void elm_win_quickpanel_zone_set(Evas_Object *obj, int zone);
359 EAPI void elm_win_indicator_state_set(Evas_Object *obj, int show_state);
360 EAPI int elm_win_indicator_state_get(Evas_Object *obj);
363 * ecore_x_icccm_hints_set -> accepts_focus (add to ecore_evas)
364 * ecore_x_icccm_hints_set -> window_group (add to ecore_evas)
365 * ecore_x_icccm_size_pos_hints_set -> request_pos (add to ecore_evas)
366 * ecore_x_icccm_client_leader_set -> l (add to ecore_evas)
367 * ecore_x_icccm_window_role_set -> role (add to ecore_evas)
368 * ecore_x_icccm_transient_for_set -> forwin (add to ecore_evas)
369 * ecore_x_netwm_window_type_set -> type (add to ecore_evas)
371 * (add to ecore_x) set netwm argb icon! (add to ecore_evas)
372 * (blank mouse, private mouse obj, defaultmouse)
375 EAPI void elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode);
376 EAPI void elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard);
378 EAPI void elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y);
380 EAPI Evas_Object *elm_win_inwin_add(Evas_Object *obj);
381 EAPI void elm_win_inwin_activate(Evas_Object *obj);
382 EAPI void elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content);
383 EAPI Evas_Object *elm_win_inwin_content_unset(Evas_Object *obj);
390 /* X specific calls - won't work on non-x engines (return 0) */
391 EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj);
392 /* smart callbacks called:
393 * "delete,request" - the user requested to delete the window
394 * "focus,in" - window got focus
395 * "focus,out" - window lost focus
396 * "moved" - window that holds the canvas was moved
399 EAPI Evas_Object *elm_bg_add(Evas_Object *parent);
400 EAPI void elm_bg_file_set(Evas_Object *obj, const char *file, const char *group);
401 /* smart callbacks called:
404 EAPI Evas_Object *elm_icon_add(Evas_Object *parent);
405 EAPI Eina_Bool elm_icon_file_set(Evas_Object *obj, const char *file, const char *group);
406 EAPI Eina_Bool elm_icon_standard_set(Evas_Object *obj, const char *name);
407 EAPI void elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth);
408 EAPI void elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale);
409 EAPI void elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down);
410 EAPI void elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside);
411 EAPI void elm_icon_prescale_set(Evas_Object *obj, int size);
412 /* smart callbacks called:
413 * "clicked" - the user clicked the icon
416 typedef enum _Elm_Image_Orient
418 ELM_IMAGE_ORIENT_NONE,
419 ELM_IMAGE_ROTATE_90_CW,
420 ELM_IMAGE_ROTATE_180_CW,
421 ELM_IMAGE_ROTATE_90_CCW,
422 ELM_IMAGE_FLIP_HORIZONTAL,
423 ELM_IMAGE_FLIP_VERTICAL,
424 ELM_IMAGE_FLIP_TRANSPOSE,
425 ELM_IMAGE_FLIP_TRANSVERSE
428 EAPI Evas_Object *elm_image_add(Evas_Object *parent);
429 EAPI Eina_Bool elm_image_file_set(Evas_Object *obj, const char *file, const char *group);
430 EAPI void elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth);
431 EAPI void elm_image_object_size_get(const Evas_Object *obj, int *w, int *h);
432 EAPI void elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale);
433 EAPI void elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down);
434 EAPI void elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside);
435 EAPI void elm_image_prescale_set(Evas_Object *obj, int size);
436 EAPI void elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient);
437 /* smart callbacks called:
438 * "clicked" - the user clicked the image
441 EAPI Evas_Object *elm_box_add(Evas_Object *parent);
442 EAPI void elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
443 EAPI void elm_box_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
444 EAPI void elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj);
445 EAPI void elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj);
446 EAPI void elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before);
447 EAPI void elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after);
448 EAPI void elm_box_clear(Evas_Object *obj);
449 EAPI void elm_box_unpack(Evas_Object *obj, Evas_Object *subobj);
450 EAPI void elm_box_unpack_all(Evas_Object *obj);
451 /* smart callbacks called:
455 UIControlStateDefault,
456 UIControlStateHighlighted,
457 UIControlStateDisabled,
458 UIControlStateFocused,
459 UIControlStateReserved
462 EAPI Evas_Object *elm_button_add(Evas_Object *parent);
463 EAPI void elm_button_label_set(Evas_Object *obj, const char *label);
464 EAPI void elm_button_label_set_for_state(Evas_Object *obj, const char *label, UIControlState state);
465 EAPI const char *elm_button_label_get(const Evas_Object *obj);
466 EAPI const char *elm_button_label_get_for_state(const Evas_Object *obj, UIControlState state);
467 EAPI void elm_button_icon_set(Evas_Object *obj, Evas_Object *icon);
468 EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj);
469 EAPI void elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on);
470 EAPI void elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t);
471 EAPI void elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t);
473 EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent);
474 EAPI void elm_fileselector_button_label_set(Evas_Object *obj, const char *label);
475 EAPI const char *elm_fileselector_button_label_get(const Evas_Object *obj);
476 EAPI void elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon);
477 EAPI Evas_Object *elm_fileselector_button_icon_get(const Evas_Object *obj);
478 EAPI void elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title);
479 EAPI const char *elm_fileselector_button_window_title_get(const Evas_Object *obj);
480 EAPI void elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height);
481 EAPI void elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height);
482 EAPI void elm_fileselector_button_path_set(Evas_Object *obj, const char *path);
483 EAPI const char *elm_fileselector_button_path_get(const Evas_Object *obj);
484 EAPI void elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value);
485 EAPI Eina_Bool elm_fileselector_button_expandable_get(const Evas_Object *obj);
486 EAPI void elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value);
487 EAPI Eina_Bool elm_fileselector_button_folder_only_get(const Evas_Object *obj);
488 EAPI void elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value);
489 EAPI Eina_Bool elm_fileselector_button_is_save_get(const Evas_Object *obj);
490 EAPI void elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value);
491 EAPI Eina_Bool elm_fileselector_button_inwin_mode_get(const Evas_Object *obj);
492 EAPI void elm_fileselector_button_selected_set(Evas_Object *obj, const char *path);
493 EAPI const char *elm_fileselector_button_selected_get(const Evas_Object *obj);
499 * hoversel_vertical_entry
501 /* smart callbacks called:
502 * "clicked" - the user clicked the button
503 * "repeated" - the user pressed the button without releasing it
504 * "unpressed" - when the button is unpressed (released)
507 typedef enum _Elm_Scroller_Policy
509 ELM_SCROLLER_POLICY_AUTO = 0,
510 ELM_SCROLLER_POLICY_ON,
511 ELM_SCROLLER_POLICY_OFF,
512 ELM_SCROLLER_POLICY_LAST
516 EAPI Evas_Object *elm_scroller_add(Evas_Object *parent);
517 EAPI void elm_scroller_content_set(Evas_Object *obj, Evas_Object *child);
518 EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj);
519 EAPI void elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base);
520 EAPI void elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h);
521 EAPI void elm_scroller_region_show(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
522 EAPI void elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
523 EAPI void elm_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v);
524 EAPI void elm_scroller_region_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
525 EAPI void elm_scroller_child_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
526 EAPI void elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
527 EAPI void elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel);
528 EAPI void elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize);
529 EAPI void elm_scroller_region_bring_in(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
530 EAPI void elm_scroller_page_move_set(Evas_Object *obj, Eina_Bool set);
531 EAPI void elm_scroller_propagate_events_set(Evas_Object *obj, Eina_Bool set);
533 /* smart callbacks called:
539 * "scroll,anim,start"
541 * "scroll,drag,start"
545 EAPI Evas_Object *elm_label_add(Evas_Object *parent);
546 EAPI void elm_label_label_set(Evas_Object *obj, const char *label);
547 EAPI const char *elm_label_label_get(const Evas_Object *obj);
548 EAPI void elm_label_line_wrap_set(Evas_Object *obj, Eina_Bool wrap);
549 EAPI Eina_Bool elm_label_line_wrap_get(const Evas_Object *obj);
550 EAPI void elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w);
551 EAPI Evas_Coord elm_label_wrap_width_get(const Evas_Object *obj);
552 EAPI void elm_label_wrap_height_set(Evas_Object *obj, Evas_Coord h);
553 EAPI Evas_Coord elm_label_wrap_height_get(const Evas_Object *obj);
554 EAPI void elm_label_fontsize_set(Evas_Object *obj, int fontsize);
555 EAPI void elm_label_text_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
556 EAPI void elm_label_text_align_set(Evas_Object *obj, const char *alignmode);
557 EAPI void elm_label_background_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
558 EAPI void elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis);
559 EAPI void elm_label_wrap_mode_set(Evas_Object *obj, Eina_Bool wrapmode);
560 EAPI void elm_label_slide_set(Evas_Object *obj, Eina_Bool slide);
561 EAPI Eina_Bool elm_label_slide_get(Evas_Object *obj);
562 EAPI void elm_label_slide_duration_set(Evas_Object *obj, int duration);
563 EAPI int elm_label_slide_duration_get(Evas_Object *obj);
568 /* smart callbacks called:
571 EAPI Evas_Object *elm_toggle_add(Evas_Object *parent);
572 EAPI void elm_toggle_label_set(Evas_Object *obj, const char *label);
573 EAPI const char *elm_toggle_label_get(const Evas_Object *obj);
574 EAPI void elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon);
575 EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj);
576 EAPI void elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel);
577 EAPI void elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel);
578 EAPI void elm_toggle_state_set(Evas_Object *obj, Eina_Bool state);
579 EAPI Eina_Bool elm_toggle_state_get(const Evas_Object *obj);
580 EAPI void elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep);
581 /* smart callbacks called:
582 * "changed" - the user toggled the state
585 EAPI Evas_Object *elm_frame_add(Evas_Object *parent);
586 EAPI void elm_frame_label_set(Evas_Object *obj, const char *label);
587 EAPI const char *elm_frame_label_get(const Evas_Object *obj);
588 EAPI void elm_frame_content_set(Evas_Object *obj, Evas_Object *content);
589 EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj);
599 /* smart callbacks called:
602 EAPI Evas_Object *elm_table_add(Evas_Object *parent);
603 EAPI void elm_table_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
604 EAPI void elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical);
605 EAPI void elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h);
606 EAPI void elm_table_unpack(Evas_Object *obj, Evas_Object *subobj);
607 EAPI void elm_table_clear(Evas_Object *obj, Eina_Bool clear);
609 typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class;
610 typedef struct _Elm_Gengrid_Item_Class_Func Elm_Gengrid_Item_Class_Func;
611 typedef struct _Elm_Gengrid_Item Elm_Gengrid_Item;
612 typedef char *(*GridItemLabelGetFunc) (const void *data, Evas_Object *obj, const char *part);
613 typedef Evas_Object *(*GridItemIconGetFunc) (const void *data, Evas_Object *obj, const char *part);
614 typedef Eina_Bool (*GridItemStateGetFunc) (const void *data, Evas_Object *obj, const char *part);
615 typedef void (*GridItemDelFunc) (const void *data, Evas_Object *obj);
617 struct _Elm_Gengrid_Item_Class
619 const char *item_style;
620 struct _Elm_Gengrid_Item_Class_Func
622 GridItemLabelGetFunc label_get;
623 GridItemIconGetFunc icon_get;
624 GridItemStateGetFunc state_get;
629 EAPI Evas_Object *elm_gengrid_add(Evas_Object *parent);
630 EAPI void elm_gengrid_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h);
631 EAPI void elm_gengrid_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
632 EAPI void elm_gengrid_align_set(Evas_Object *obj, double align_x, double align_y);
633 EAPI void elm_gengrid_align_get(const Evas_Object *obj, double *align_x, double *align_y);
634 EAPI void elm_gengrid_item_del(Elm_Gengrid_Item *item);
635 EAPI void elm_gengrid_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
636 EAPI Eina_Bool elm_gengrid_always_select_mode_get(const Evas_Object *obj);
637 EAPI void elm_gengrid_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
638 EAPI Eina_Bool elm_gengrid_no_select_mode_get(const Evas_Object *obj);
639 EAPI void elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi);
640 EAPI Eina_Bool elm_gengrid_multi_select_get(const Evas_Object *obj);
641 EAPI void elm_gengrid_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
642 EAPI void elm_gengrid_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
643 EAPI void elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool setting);
644 EAPI void elm_gengrid_clear(Evas_Object *obj);
645 EAPI void *elm_gengrid_item_data_get(Elm_Gengrid_Item *item);
646 EAPI void elm_gengrid_item_pos_get(const Elm_Gengrid_Item *item, unsigned int *x, unsigned int *y);
647 EAPI void elm_gengrid_item_selected_set(Elm_Gengrid_Item *item, Eina_Bool selected);
648 EAPI Eina_Bool elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item);
649 EAPI const Evas_Object *elm_gengrid_item_object_get(Elm_Gengrid_Item *item);
650 EAPI Elm_Gengrid_Item *elm_gengrid_selected_item_get(const Evas_Object *obj);
651 EAPI const Eina_List *elm_gengrid_selected_items_get(const Evas_Object *obj);
652 EAPI const Eina_List *elm_gengrid_items_get(const Evas_Object *obj);
653 EAPI void elm_gengrid_item_disabled_set(Elm_Gengrid_Item *item, Eina_Bool disabled);
654 EAPI Eina_Bool elm_gengrid_item_disabled_get(const Elm_Gengrid_Item *item);
655 EAPI Elm_Gengrid_Item *elm_gengrid_item_append(Evas_Object *obj, const Elm_Gengrid_Item_Class *gcc, const void *data, Evas_Smart_Cb func, const void *func_data);
656 EAPI void elm_gengrid_item_update(Elm_Gengrid_Item *it);
657 /* smart callbacks called:
659 * selected - User has selected a item.
660 * unselected - User has unselected a item.
661 * clicked - User has double-clicked a item.
662 * realized - An evas object for a item was built.
663 * scroll - the content has been scrolled (moved).
664 * "scroll,drag,start" - dragging the contents around has started.
665 * "scroll,drat,stop" - dragging the contents around has stopped.
666 * drag - Gengrid is being dragged.
667 * "drag,start,up" - Gengrid has been dragged (not scrolled) up.
668 * "drag,start,down" - Gengrid has been dragged (not scrolled) down.
669 * "drag,start,left" - Gengrid has been dragged (not scrolled) left.
670 * "drag,start,rigth" - Gengrid has been dragged (nto scrolled) right.
671 * "drag,stop" - Gengrid is not being dragged.
674 EAPI Evas_Object *elm_clock_add(Evas_Object *parent);
675 EAPI void elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec);
676 EAPI void elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec);
677 EAPI void elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit);
678 EAPI Eina_Bool elm_clock_edit_get(const Evas_Object *obj);
679 EAPI void elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit);
680 EAPI Elm_Clock_Digedit elm_clock_digit_edit_get(const Evas_Object *obj);
681 EAPI void elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm);
682 EAPI Eina_Bool elm_clock_show_am_pm_get(const Evas_Object *obj);
683 EAPI void elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds);
684 EAPI Eina_Bool elm_clock_show_seconds_get(const Evas_Object *obj);
685 EAPI void elm_clock_interval_set(Evas_Object *obj, double interval);
686 EAPI double elm_clock_interval_get(const Evas_Object *obj);
687 /* smart callbacks called:
688 * "changed" - the user changed the time
691 EAPI Evas_Object *elm_layout_add(Evas_Object *parent);
692 EAPI Eina_Bool elm_layout_file_set(Evas_Object *obj, const char *file, const char *group);
693 EAPI Eina_Bool elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style);
694 EAPI void elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
695 EAPI Evas_Object *elm_layout_content_unset(Evas_Object *obj, const char *swallow);
696 EAPI Evas_Object *elm_layout_edje_get(const Evas_Object *obj);
697 EAPI void elm_layout_sizing_eval(Evas_Object *obj);
698 /* smart callbacks called:
701 typedef enum _Elm_Notify_Orient
703 ELM_NOTIFY_ORIENT_TOP,
704 ELM_NOTIFY_ORIENT_CENTER,
705 ELM_NOTIFY_ORIENT_BOTTOM,
706 ELM_NOTIFY_ORIENT_LEFT,
707 ELM_NOTIFY_ORIENT_RIGHT,
708 ELM_NOTIFY_ORIENT_TOP_LEFT,
709 ELM_NOTIFY_ORIENT_TOP_RIGHT,
710 ELM_NOTIFY_ORIENT_BOTTOM_LEFT,
711 ELM_NOTIFY_ORIENT_BOTTOM_RIGHT,
712 ELM_NOTIFY_ORIENT_LAST
714 EAPI Evas_Object *elm_notify_add(Evas_Object *parent);
715 EAPI void elm_notify_content_set(Evas_Object *obj, Evas_Object *content);
716 EAPI Evas_Object *elm_notify_content_unset(Evas_Object *obj);
717 EAPI Evas_Object *elm_notify_content_get(const Evas_Object *obj);
718 EAPI void elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent);
719 EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient);
720 EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj);
721 EAPI void elm_notify_timeout_set(Evas_Object *obj, int timeout);
722 EAPI int elm_notify_timeout_get(const Evas_Object *obj);
723 EAPI void elm_notify_timer_init(Evas_Object *obj);
724 EAPI void elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat);
725 EAPI Eina_Bool elm_notify_repeat_events_get(const Evas_Object *obj);
726 /* smart callbacks called:
729 typedef enum _Elm_Hover_Axis
732 ELM_HOVER_AXIS_HORIZONTAL,
733 ELM_HOVER_AXIS_VERTICAL,
736 EAPI Evas_Object *elm_hover_add(Evas_Object *parent);
737 EAPI void elm_hover_target_set(Evas_Object *obj, Evas_Object *target);
738 EAPI Evas_Object *elm_hover_target_get(Evas_Object *obj);
739 EAPI void elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
740 EAPI Evas_Object *elm_hover_parent_get(Evas_Object *obj);
741 EAPI void elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
742 EAPI Evas_Object *elm_hover_content_unset(Evas_Object *obj, const char *swallow);
743 EAPI const char *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis);
750 /* smart callbacks called:
751 * "clicked" - the user clicked the empty space in the hover to dismiss
754 typedef struct _Elm_Entry_Anchor_Info Elm_Entry_Anchor_Info;
755 struct _Elm_Entry_Anchor_Info
759 Evas_Coord x, y, w, h;
761 typedef enum _Elm_Icon_Type
767 typedef struct _Elm_Hoversel_Item Elm_Hoversel_Item;
769 typedef enum _Elm_Input_Panel_Layout
771 ELM_INPUT_PANEL_LAYOUT_NORMAL, /**< Default 4x4 layout */
772 ELM_INPUT_PANEL_LAYOUT_NUMBER, /**< Number layout */
773 ELM_INPUT_PANEL_LAYOUT_EMAIL, /**< Email layout */
774 ELM_INPUT_PANEL_LAYOUT_URL, /**< URL layout */
775 ELM_INPUT_PANEL_LAYOUT_PHONENUMBER, /**< Phone Number layout */
776 ELM_INPUT_PANEL_LAYOUT_IP, /**< IP layout */
777 ELM_INPUT_PANEL_LAYOUT_MONTH, /**< Month layout */
778 ELM_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */
779 ELM_INPUT_PANEL_LAYOUT_CUSTOM_1 = 100, /* Reserved for future use */
780 ELM_INPUT_PANEL_LAYOUT_CUSTOM_2,
781 ELM_INPUT_PANEL_LAYOUT_CUSTOM_3,
782 ELM_INPUT_PANEL_LAYOUT_CUSTOM_4,
783 ELM_INPUT_PANEL_LAYOUT_CUSTOM_5,
784 ELM_INPUT_PANEL_LAYOUT_CUSTOM_6,
785 ELM_INPUT_PANEL_LAYOUT_CUSTOM_7,
786 ELM_INPUT_PANEL_LAYOUT_CUSTOM_8,
787 ELM_INPUT_PANEL_LAYOUT_CUSTOM_9,
788 ELM_INPUT_PANEL_LAYOUT_CUSTOM_10
789 } Elm_Input_Panel_Layout;
791 EAPI Evas_Object *elm_entry_add(Evas_Object *parent);
792 EAPI void elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
793 EAPI Eina_Bool elm_entry_single_line_get(const Evas_Object *obj);
794 EAPI void elm_entry_password_set(Evas_Object *obj, Eina_Bool password);
795 EAPI Eina_Bool elm_entry_password_get(const Evas_Object *obj);
796 EINA_DEPRECATED EAPI void elm_entry_password_show_last_character_set(Evas_Object *obj, Eina_Bool show_last_character);
798 EAPI void elm_entry_entry_set(Evas_Object *obj, const char *entry);
799 EAPI const char *elm_entry_entry_get(const Evas_Object *obj);
800 EAPI const char *elm_entry_selection_get(const Evas_Object *obj);
801 EAPI void elm_entry_entry_insert(Evas_Object *obj, const char *entry);
802 EAPI void elm_entry_line_wrap_set(Evas_Object *obj, Eina_Bool wrap);
803 EAPI void elm_entry_line_char_wrap_set(Evas_Object *obj, Eina_Bool wrap);
804 EAPI void elm_entry_wrap_width_set(Evas_Object *obj, Evas_Coord w);
805 EAPI Evas_Coord elm_entry_wrap_width_get(const Evas_Object *obj);
806 EAPI void elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
807 EAPI Eina_Bool elm_entry_editable_get(const Evas_Object *obj);
808 EAPI void elm_entry_select_none(Evas_Object *obj);
809 EAPI void elm_entry_select_all(Evas_Object *obj);
810 EAPI Eina_Bool elm_entry_cursor_next(Evas_Object *obj);
811 EAPI Eina_Bool elm_entry_cursor_prev(Evas_Object *obj);
812 EAPI Eina_Bool elm_entry_cursor_up(Evas_Object *obj);
813 EAPI Eina_Bool elm_entry_cursor_down(Evas_Object *obj);
814 EAPI void elm_entry_cursor_begin_set(Evas_Object *obj);
815 EAPI void elm_entry_cursor_end_set(Evas_Object *obj);
816 EAPI void elm_entry_cursor_line_begin_set(Evas_Object *obj);
817 EAPI void elm_entry_cursor_line_end_set(Evas_Object *obj);
818 EAPI void elm_entry_cursor_selection_begin(Evas_Object *obj);
819 EAPI void elm_entry_cursor_selection_end(Evas_Object *obj);
820 EAPI Eina_Bool elm_entry_cursor_is_format_get(const Evas_Object *obj);
821 EAPI Eina_Bool elm_entry_cursor_is_visible_format_get(const Evas_Object *obj);
822 EAPI const char *elm_entry_cursor_content_get(const Evas_Object *obj);
823 EAPI void elm_entry_selection_cut(Evas_Object *obj);
824 EAPI void elm_entry_selection_copy(Evas_Object *obj);
825 EAPI void elm_entry_selection_paste(Evas_Object *obj);
826 EAPI void elm_entry_context_menu_clear(Evas_Object *obj);
827 EAPI void elm_entry_context_menu_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data);
828 EAPI void elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
829 EAPI Eina_Bool elm_entry_context_menu_disabled_get(const Evas_Object *obj);
830 EAPI void elm_entry_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data);
831 EAPI void elm_entry_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data);
832 EAPI void elm_entry_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data);
833 EAPI char *elm_entry_markup_to_utf8(const char *s);
834 EAPI char *elm_entry_utf8_to_markup(const char *s);
835 EAPI void elm_entry_fontsize_set(Evas_Object *obj, int fontsize);
836 EAPI void elm_entry_text_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
837 EAPI void elm_entry_text_align_set(Evas_Object *obj, const char *alignmode);
838 EAPI void elm_entry_background_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
839 EAPI void elm_entry_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis);
841 EAPI void elm_entry_autocapitalization_set(Evas_Object *obj, Eina_Bool autocap);
842 EAPI void elm_entry_autoperiod_set(Evas_Object *obj, Eina_Bool autoperiod);
843 EAPI void elm_entry_autoenable_returnkey_set(Evas_Object *obj, Eina_Bool on);
844 EAPI void elm_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled);
845 EAPI void elm_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout);
846 EAPI Ecore_IMF_Context *elm_entry_imf_context_get(Evas_Object *obj);
847 EAPI void elm_entry_maximum_bytes_set(Evas_Object *obj, int max_no_of_bytes);
849 /* smart callbacks called:
850 * "changed" - the text content changed
851 * "selection,start" - the user started selecting text
852 * "selection,changed" - the user modified the selection size/location
853 * "selection,cleared" - the user cleared the selection
854 * "selection,paste" - the user requested a paste of text
855 * "selection,copy" - the user copied the text
856 * "selection,cut" - the user cut the text
857 * "cursor,changed" - the cursor changed position
858 * "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchor_Info
859 * "activated" - when the enter key is pressed (useful for single line)
860 * "press" - when finger/mouse is pressed down
861 * "clicked" - when finger/mouse is pressed and released (without a drag etc.)
862 * "clicked,double" - when finger/mouse is double-pressed
863 * "longpressed" - the entry has been longpressed
864 * "focused" - the entry has received keyboard focus
865 * "unfocused" - keyboard focus is gone
868 /* composite widgets - these basically put together basic widgets above
869 * in convenient packages that do more than basic stuff */
870 typedef enum _Elm_Text_Format
872 ELM_TEXT_FORMAT_PLAIN_UTF8,
873 ELM_TEXT_FORMAT_MARKUP_UTF8
875 EAPI Evas_Object *elm_notepad_add(Evas_Object *parent);
876 EAPI void elm_notepad_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format);
877 EAPI void elm_notepad_file_save(Evas_Object *obj, const char *file, Elm_Text_Format format);
878 EAPI void elm_notepad_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
879 EAPI void elm_notepad_autosave_set(Evas_Object *obj, Eina_Bool autosave);
881 /* smart callbacks called:
884 typedef struct _Elm_Entry_Anchorview_Info Elm_Entry_Anchorview_Info;
885 struct _Elm_Entry_Anchorview_Info
892 Evas_Coord x, y, w, h;
893 } anchor, hover_parent;
894 Eina_Bool hover_left : 1;
895 Eina_Bool hover_right : 1;
896 Eina_Bool hover_top : 1;
897 Eina_Bool hover_bottom : 1;
899 EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent);
900 EAPI void elm_anchorview_text_set(Evas_Object *obj, const char *text);
901 EAPI const char *elm_anchorview_text_get(const Evas_Object *obj);
903 EAPI void elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
904 EAPI void elm_anchorview_hover_style_set(Evas_Object *obj, const char *style);
905 EAPI void elm_anchorview_hover_end(Evas_Object *obj);
906 EAPI void elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
907 EAPI void elm_anchorview_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorview, const char *item), void *data);
908 EAPI void elm_anchorview_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorview, const char *item), void *data);
909 EAPI void elm_anchorview_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorview, const char *item), void *data);
910 /* smart callbacks called:
911 * "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchorview_Info
914 typedef struct _Elm_Entry_Anchorblock_Info Elm_Entry_Anchorblock_Info;
915 struct _Elm_Entry_Anchorblock_Info
922 Evas_Coord x, y, w, h;
923 } anchor, hover_parent;
924 Eina_Bool hover_left : 1;
925 Eina_Bool hover_right : 1;
926 Eina_Bool hover_top : 1;
927 Eina_Bool hover_bottom : 1;
929 EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent);
930 EAPI void elm_anchorblock_text_set(Evas_Object *obj, const char *text);
931 EAPI const char *elm_anchorblock_text_get(const Evas_Object *obj);
932 EAPI void elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
933 EAPI void elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style);
934 EAPI void elm_anchorblock_hover_end(Evas_Object *obj);
935 EAPI void elm_anchorblock_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data);
936 EAPI void elm_anchorblock_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data);
937 EAPI void elm_anchorblock_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data);
938 /* smart callbacks called:
939 * "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchorblock_Info
942 EAPI Evas_Object *elm_bubble_add(Evas_Object *parent);
943 EAPI void elm_bubble_label_set(Evas_Object *obj, const char *label);
944 EAPI const char *elm_bubble_label_get(const Evas_Object *obj);
945 EAPI void elm_bubble_info_set(Evas_Object *obj, const char *info);
946 EAPI const char *elm_bubble_info_get(const Evas_Object *obj);
948 EAPI void elm_bubble_content_set(Evas_Object *obj, Evas_Object *content);
949 EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj);
950 EAPI void elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon);
951 EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj);
952 EAPI void elm_bubble_sweep_layout_set(Evas_Object *obj, Evas_Object *sweep);
953 EAPI Evas_Object *elm_bubble_sweep_layout_unset(Evas_Object *obj);
954 EAPI void elm_bubble_corner_set(Evas_Object *obj, const char *corner);
955 /* smart callbacks called:
956 * "sweep,left,right" - when bubble is sweeped from left to right, this signal is sent.
957 * "sweep,right,left" - when bubble is sweeped from right to left, this signal is sent.
960 EAPI Evas_Object *elm_photo_add(Evas_Object *parent);
961 EAPI Eina_Bool elm_photo_file_set(Evas_Object *obj, const char *file);
962 EAPI void elm_photo_size_set(Evas_Object *obj, int size);
963 EAPI void elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill);
964 EAPI void elm_photo_editable_set(Evas_Object *obj, Eina_Bool set);
965 /* smart callbacks called:
966 * "clicked" - the user clicked the icon
969 EAPI Evas_Object *elm_thumb_add(Evas_Object *parent);
970 EAPI void elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key);
971 EAPI void elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key);
972 EAPI void elm_thumb_path_get(const Evas_Object *obj, const char **file, const char **key);
973 EAPI void elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s);
974 EAPI Elm_Thumb_Animation_Setting elm_thumb_animate_get(const Evas_Object *obj);
975 EAPI Eina_Bool elm_thumb_ethumb_client_connected(void);
977 EAPI Ethumb_Client *elm_thumb_ethumb_client_get(void);
979 EAPI void *elm_thumb_ethumb_client_get(void);
981 /* smart callbacks called:
982 * "clicked" - the user clicked the thumb
983 * "clicked,double" - the user double clicked the thumb
984 * "press" - the user pressed the thumb
985 * "generate,start" - the thumbnail generation started
986 * "generate,stop" - the thumbnail generation stopped
987 * "generate,error" - the thumbnail generation failed
988 * "load,error" - the thumbnail image loading failed
991 EAPI Evas_Object *elm_hoversel_add(Evas_Object *parent);
992 EAPI void elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
993 EAPI Eina_Bool elm_hoversel_horizontal_get(const Evas_Object *obj);
994 EAPI void elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
995 EAPI void elm_hoversel_label_set(Evas_Object *obj, const char *label);
996 EAPI const char *elm_hoversel_label_get(const Evas_Object *obj);
997 EAPI void elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon);
998 EAPI Evas_Object *elm_hoversel_icon_get(const Evas_Object *obj);
999 EAPI void elm_hoversel_hover_begin(Evas_Object *obj);
1000 EAPI void elm_hoversel_hover_end(Evas_Object *obj);
1001 EAPI Eina_Bool elm_hoversel_expanded_get(Evas_Object *obj);
1002 EAPI void elm_hoversel_clear(Evas_Object *obj);
1003 EAPI const Eina_List *elm_hoversel_items_get(const Evas_Object *obj);
1004 EAPI Elm_Hoversel_Item *elm_hoversel_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data);
1005 EAPI void elm_hoversel_item_del(Elm_Hoversel_Item *item);
1006 EAPI void elm_hoversel_item_del_cb_set(Elm_Hoversel_Item *it, Evas_Smart_Cb func);
1007 EAPI void *elm_hoversel_item_data_get(Elm_Hoversel_Item *it);
1008 EAPI const char *elm_hoversel_item_label_get(Elm_Hoversel_Item *it);
1009 EAPI void elm_hoversel_item_icon_set(Elm_Hoversel_Item *it, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type);
1010 EAPI void elm_hoversel_item_icon_get(Elm_Hoversel_Item *it, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type);
1011 /* smart callbacks called:
1012 * "clicked" - the user clicked the hoversel button and popped up the sel
1013 * "selected" - an item in the hoversel list is selected
1014 * "dismissed" - the hover is dismissed
1017 typedef struct _Elm_Toolbar_Item Elm_Toolbar_Item;
1018 EAPI Evas_Object *elm_toolbar_add(Evas_Object *parent);
1019 EAPI void elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size);
1020 EAPI int elm_toolbar_icon_size_get(const Evas_Object *obj);
1021 EAPI Elm_Toolbar_Item *elm_toolbar_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, Evas_Smart_Cb func, const void *data);
1022 EAPI Evas_Object *elm_toolbar_item_icon_get(Elm_Toolbar_Item *item);
1023 EAPI const char *elm_toolbar_item_label_get(const Elm_Toolbar_Item *item);
1024 EAPI Eina_Bool elm_toolbar_item_selected_get(const Elm_Toolbar_Item *item);
1025 EAPI void elm_toolbar_item_label_set(Elm_Toolbar_Item *item, const char *label);
1026 EAPI void elm_toolbar_item_del(Elm_Toolbar_Item *item);
1027 EAPI void elm_toolbar_item_del_cb_set(Elm_Toolbar_Item *it, Evas_Smart_Cb func);
1028 EAPI void elm_toolbar_item_select(Elm_Toolbar_Item *item);
1029 EAPI Eina_Bool elm_toolbar_item_disabled_get(Elm_Toolbar_Item *item);
1030 EAPI void elm_toolbar_item_disabled_set(Elm_Toolbar_Item *item, Eina_Bool disabled);
1031 EAPI void elm_toolbar_item_separator_set(Elm_Toolbar_Item *item, Eina_Bool separator);
1032 EAPI Eina_Bool elm_toolbar_item_separator_get(Elm_Toolbar_Item *item);
1033 EAPI Eina_List *elm_toolbar_item_get_all(Evas_Object *obj);
1034 EAPI Elm_Toolbar_Item *elm_toolbar_item_get_first(Evas_Object *obj);
1035 EAPI Elm_Toolbar_Item *elm_toolbar_item_get_last(Evas_Object *obj);
1036 EAPI Elm_Toolbar_Item *elm_toolbar_item_get_next(Evas_Object *obj);
1037 EAPI Elm_Toolbar_Item *elm_toolbar_item_select_next(Evas_Object *obj);
1038 EAPI Elm_Toolbar_Item *elm_toolbar_item_select_first(Evas_Object *obj);
1039 EAPI Elm_Toolbar_Item *elm_toolbar_item_select_last(Evas_Object *obj);
1040 EAPI Elm_Toolbar_Item *elm_toolbar_item_find_by_label(Evas_Object *obj, const char *label);
1041 EAPI void elm_toolbar_scrollable_set(Evas_Object *obj, Eina_Bool scrollable);
1042 EAPI Eina_Bool elm_toolbar_scrollable_get(Evas_Object *obj);
1043 EAPI void elm_toolbar_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
1044 EAPI Eina_Bool elm_toolbar_homogenous_get(Evas_Object *obj);
1045 EAPI void elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent);
1046 EAPI Evas_Object *elm_toolbar_menu_parent_get(Evas_Object *obj);
1047 EAPI void elm_toolbar_item_unselect_all(Evas_Object *obj);
1048 EAPI void elm_toolbar_align_set(Evas_Object *obj, double align);
1049 EAPI double elm_toolbar_align_get(const Evas_Object *obj);
1050 EAPI void elm_toolbar_item_menu_set(Elm_Toolbar_Item *item, Eina_Bool menu);
1051 EAPI Evas_Object *elm_toolbar_item_menu_get(Elm_Toolbar_Item *item);
1052 /* smart callbacks called:
1053 * "clicked" - when the user clicks on a toolbar item and becomes selected
1056 typedef struct _Menu_Item Elm_Menu_Item;
1057 EAPI Evas_Object *elm_menu_add(Evas_Object *parent);
1058 EAPI void elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent);
1059 EAPI void elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y);
1060 EAPI Evas_Object *elm_menu_object_get(const Elm_Menu_Item *it);
1061 EAPI Elm_Menu_Item *elm_menu_item_add(Evas_Object *obj, Elm_Menu_Item *parent, Evas_Object *icon, const char *label, Evas_Smart_Cb func, const void *data);
1062 EAPI void elm_menu_item_label_set(Elm_Menu_Item *item, const char *label);
1063 EAPI const char *elm_menu_item_label_get(Elm_Menu_Item *item);
1064 EAPI void elm_menu_item_icon_set(Elm_Menu_Item *item, Evas_Object *icon);
1065 EAPI Evas_Object *elm_menu_item_icon_get(Elm_Menu_Item *item);
1066 EAPI void elm_menu_item_disabled_set(Elm_Menu_Item *item, Eina_Bool disabled);
1067 EAPI Eina_Bool elm_menu_item_disabled_get(Elm_Menu_Item *item);
1068 EAPI Elm_Menu_Item *elm_menu_item_separator_add(Evas_Object *obj, Elm_Menu_Item *parent);
1069 EAPI Eina_Bool elm_menu_item_is_separator(Elm_Menu_Item *item);
1070 EAPI void elm_menu_item_del(Elm_Menu_Item *item);
1071 EAPI void elm_menu_item_del_cb_set(Elm_Menu_Item *it, Evas_Smart_Cb func);
1072 EAPI void *elm_menu_item_data_get(const Elm_Menu_Item *it);
1073 EAPI void elm_menu_item_data_set(Elm_Menu_Item *item, const void *data);
1074 EAPI const Eina_List *elm_menu_item_subitems_get(Elm_Menu_Item *item);
1075 /* smart callbacks called:
1076 * "clicked" - the user clicked the empty space in the menu to dismiss. event_info is NULL.
1079 typedef enum _Elm_List_Mode
1081 ELM_LIST_COMPRESS = 0,
1086 typedef struct _Elm_List_Item Elm_List_Item;
1087 EAPI Evas_Object *elm_list_add(Evas_Object *parent);
1088 EAPI Elm_List_Item *elm_list_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data);
1089 EAPI Elm_List_Item *elm_list_item_prepend(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data);
1090 EAPI Elm_List_Item *elm_list_item_insert_before(Evas_Object *obj, Elm_List_Item *before, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data);
1091 EAPI Elm_List_Item *elm_list_item_insert_after(Evas_Object *obj, Elm_List_Item *after, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data);
1092 EAPI Elm_List_Item *elm_list_item_sorted_insert(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data, Eina_Compare_Cb cmp_func);
1093 EAPI void elm_list_clear(Evas_Object *obj);
1094 EAPI void elm_list_go(Evas_Object *obj);
1095 EAPI void elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi);
1096 EAPI Eina_Bool elm_list_multi_select_get(const Evas_Object *obj);
1097 EAPI void elm_list_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode);
1098 EAPI Elm_List_Mode elm_list_horizontal_mode_get(const Evas_Object *obj);
1099 EAPI void elm_list_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
1100 EAPI Eina_Bool elm_list_always_select_mode_get(const Evas_Object *obj);
1101 EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj);
1102 EAPI Elm_List_Item *elm_list_selected_item_get(const Evas_Object *obj);
1103 EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj);
1105 EAPI void elm_list_item_separator_set(Elm_List_Item *it, Eina_Bool setting);
1106 EAPI Eina_Bool elm_list_item_separator_get(const Elm_List_Item *it);
1108 EAPI void elm_list_item_selected_set(Elm_List_Item *item, Eina_Bool selected);
1109 EAPI Eina_Bool elm_list_item_selected_get(Elm_List_Item *item);
1110 EAPI void elm_list_item_show(Elm_List_Item *item);
1111 EAPI void elm_list_item_del(Elm_List_Item *item);
1112 EAPI void elm_list_item_del_cb_set(Elm_List_Item *item, Evas_Smart_Cb func);
1113 EAPI void *elm_list_item_data_get(const Elm_List_Item *item);
1114 EAPI Evas_Object *elm_list_item_icon_get(const Elm_List_Item *item);
1115 EAPI void elm_list_item_icon_set(Elm_List_Item *item, Evas_Object *icon);
1116 EAPI Evas_Object *elm_list_item_end_get(const Elm_List_Item *item);
1117 EAPI void elm_list_item_end_set(Elm_List_Item *item, Evas_Object *end);
1118 EAPI Evas_Object *elm_list_item_base_get(const Elm_List_Item *item);
1119 EAPI const char *elm_list_item_label_get(const Elm_List_Item *item);
1120 EAPI void elm_list_item_label_set(Elm_List_Item *item, const char *text);
1121 EAPI Elm_List_Item *elm_list_item_prev(const Elm_List_Item *it);
1122 EAPI Elm_List_Item *elm_list_item_next(const Elm_List_Item *it);
1123 EAPI void elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
1124 EAPI void elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
1125 EAPI void elm_list_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v);
1127 /* smart callbacks called:
1128 * "clicked" - when the user double-clicked an item
1129 * "selected" - when the user selected an item
1130 * "unselected" - when the user selected an item
1131 * "longpressed" - an item in the hoversel list is long-pressed
1134 // FIXME: incomplete - carousel. don't use this until this comment is removed
1135 typedef struct _Elm_Carousel_Item Elm_Carousel_Item;
1136 EAPI Evas_Object *elm_carousel_add(Evas_Object *parent);
1137 EAPI Elm_Carousel_Item *elm_carousel_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, Evas_Smart_Cb func, const void *data);
1138 EAPI void elm_carousel_item_del(Elm_Carousel_Item *item);
1139 EAPI void elm_carousel_item_select(Elm_Carousel_Item *item);
1140 /* smart callbacks called:
1141 * "clicked" - when the user clicks on a carousel item and becomes selected
1144 EAPI Evas_Object *elm_slider_add(Evas_Object *parent);
1145 EAPI void elm_slider_label_set(Evas_Object *obj, const char *label);
1146 EAPI const char *elm_slider_label_get(const Evas_Object *obj);
1147 EAPI void elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon);
1148 EAPI Evas_Object *elm_slider_icon_get(const Evas_Object *obj);
1149 EAPI void elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size);
1150 EAPI Evas_Coord elm_slider_span_size_get(const Evas_Object *obj);
1151 EAPI void elm_slider_unit_format_set(Evas_Object *obj, const char *format);
1152 EAPI const char *elm_slider_unit_format_get(const Evas_Object *obj);
1153 EAPI void elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator);
1154 EAPI const char *elm_slider_indicator_format_get(const Evas_Object *obj);
1155 EAPI void elm_slider_indicator_format_function_set(Evas_Object *obj, const char *(*func)(double val));
1156 EAPI void elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
1157 EAPI Eina_Bool elm_slider_horizontal_get(const Evas_Object *obj);
1158 EAPI void elm_slider_min_max_set(Evas_Object *obj, double min, double max);
1159 EAPI void elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max);
1160 EAPI void elm_slider_value_set(Evas_Object *obj, double val);
1161 EAPI double elm_slider_value_get(const Evas_Object *obj);
1162 EAPI void elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted);
1163 EAPI Eina_Bool elm_slider_inverted_get(const Evas_Object *obj);
1164 EAPI Eina_Bool elm_slider_end_icon_set(Evas_Object *obj, Evas_Object *icon);
1165 EAPI Evas_Object *elm_slider_end_icon_get(Evas_Object *obj);
1166 EAPI void elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show);
1167 EAPI void elm_slider_value_animated_set(Evas_Object *obj, double val);
1168 EAPI void elm_slider_end_label_set(Evas_Object *obj, const char *label);
1169 EAPI const char *elm_slider_end_label_get(const Evas_Object *obj);
1170 /* smart callbacks called:
1171 * "clicked" - when the user clicks on a carousel item and becomes selected
1173 * "delay,changed" - A short time after the value is changed by the user.
1174 * This will be called only when the user stops dragging for a very short
1175 * period or when they release their finger/mouse, so it avoids possibly
1176 * expensive reactions to the value change.
1178 * "slider,drag,start" - dragging the slider indicator around has started
1180 * "slider,drag,stop" - dragging the slider indicator around has stopped
1184 typedef enum _Elm_Genlist_Item_Flags
1186 ELM_GENLIST_ITEM_NONE = 0,
1187 ELM_GENLIST_ITEM_SUBITEMS = (1 << 0)
1188 } Elm_Genlist_Item_Flags;
1189 typedef enum _Elm_Genlist_Edit_Mode
1191 ELM_GENLIST_EDIT_MODE_NONE = 0,
1192 ELM_GENLIST_EDIT_MODE_REORDER = (1 << 0),
1193 ELM_GENLIST_EDIT_MODE_INSERT = (1 << 1),
1194 ELM_GENLIST_EDIT_MODE_DELETE = (1 << 2),
1195 ELM_GENLIST_EDIT_MODE_SELECT = (1 << 3),
1196 ELM_GENLIST_EDIT_MODE_SELECTALL = (1 << 4)
1197 } Elm_Genlist_Edit_Mode;
1198 typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class;
1199 typedef struct _Elm_Genlist_Item Elm_Genlist_Item;
1200 typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func;
1201 typedef struct _Elm_Genlist_GroupItem Elm_Genlist_GroupItem;
1202 typedef struct _Elm_Genlist_Edit_Class Elm_Genlist_Edit_Class;
1203 typedef char *(*GenlistItemLabelGetFunc) (const void *data, Evas_Object *obj, const char *part);
1204 typedef char *(*GenlistItemLabelChangedFunc) (const void *data, Elm_Genlist_Item *it, const char *text, const int sub_text );
1205 typedef Evas_Object *(*GenlistItemIconGetFunc) (const void *data, Evas_Object *obj, const char *part);
1206 typedef Eina_Bool (*GenlistItemStateGetFunc) (const void *data, Evas_Object *obj, const char *part);
1207 typedef void (*GenlistItemDelFunc) (const void *data, Evas_Object *obj);
1208 typedef int (*GenlistItemEditModeGetFunc) (const void *data, Evas_Object *obj, const int enabled_edit_modes);
1209 typedef void (*GenlistInsertNewFunc) (Evas_Object *genlist, Elm_Genlist_Item *rel_item);
1210 typedef void (*GenlistItemSelectedFunc) (const void *data, Elm_Genlist_Item *it, Eina_Bool selected);
1211 typedef void (*GenlistSelectedFunc) (const void *data, Elm_Genlist_Item *it, Eina_Bool selected);
1212 typedef Eina_Bool (*GenlistMoveFunc) ( Evas_Object *genlist, Elm_Genlist_Item *item, Elm_Genlist_Item *rel_item, Eina_Bool move_after);
1213 typedef Eina_Bool (*GenlistRemoveItemFunc) (Evas_Object *genlist, Elm_Genlist_Item *rel_item);
1215 struct _Elm_Genlist_Item_Class
1217 const char *item_style;
1218 struct _Elm_Genlist_Item_Class_Func
1220 GenlistItemLabelGetFunc label_get;
1221 GenlistItemIconGetFunc icon_get;
1222 GenlistItemStateGetFunc state_get;
1223 GenlistItemDelFunc del;
1224 GenlistItemEditModeGetFunc editmode_get;
1225 GenlistItemLabelChangedFunc label_changed;
1229 struct _Elm_Genlist_Edit_Class
1231 GenlistRemoveItemFunc remove;
1232 GenlistInsertNewFunc insert_new;
1233 GenlistMoveFunc move;
1234 GenlistItemSelectedFunc item_selected;
1235 GenlistSelectedFunc selected;
1236 const char *item_style;
1237 const char *select_all_item_style;
1239 EAPI Evas_Object *elm_genlist_add(Evas_Object *parent);
1240 EAPI void elm_genlist_clear(Evas_Object *obj);
1241 EAPI void elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi);
1242 EAPI Eina_Bool elm_genlist_multi_select_get(const Evas_Object *obj);
1243 EAPI void elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode);
1244 EAPI Elm_List_Mode elm_genlist_horizontal_mode_get(const Evas_Object *obj);
1245 EAPI void elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
1246 EAPI Eina_Bool elm_genlist_always_select_mode_get(const Evas_Object *obj);
1247 EAPI void elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
1248 EAPI Eina_Bool elm_genlist_no_select_mode_get(const Evas_Object *obj);
1249 EAPI void elm_genlist_compress_mode_set(Evas_Object *obj, Eina_Bool compress);
1250 EAPI Eina_Bool elm_genlist_compress_mode_get(const Evas_Object *obj);
1251 EAPI void elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
1252 EAPI void elm_genlist_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
1253 EAPI void elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous);
1254 EAPI Eina_Bool elm_genlist_homogeneous_get(const Evas_Object *obj);
1255 EAPI void elm_genlist_block_count_set(Evas_Object *obj, int n);
1256 EAPI int elm_genlist_block_count_get(const Evas_Object *obj);
1257 EAPI void elm_genlist_longpress_timeout_set(const Evas_Object *obj, double timeout);
1258 EAPI double elm_genlist_longpress_timeout_get(const Evas_Object *obj);
1259 EAPI void elm_genlist_effect_set(const Evas_Object *obj, Eina_Bool emode);
1260 EAPI void elm_genlist_pinch_zoom_set(Evas_Object *obj, Eina_Bool emode);
1261 EINA_DEPRECATED EAPI void elm_genlist_queue_exception_set(const Evas_Object *obj, Eina_Bool emode);
1264 /* operations to add items */
1265 EAPI Elm_Genlist_Item *elm_genlist_item_append(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
1266 EAPI Elm_Genlist_Item *elm_genlist_item_prepend(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
1267 EAPI Elm_Genlist_Item *elm_genlist_item_insert_before(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *before, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
1268 EAPI Elm_Genlist_Item *elm_genlist_item_insert_after(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *after, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
1269 /* operations to retrieve existing items */
1270 EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj);
1271 EAPI const Eina_List *elm_genlist_selected_items_get(const Evas_Object *obj);
1272 EAPI Eina_List *elm_genlist_realized_items_get(const Evas_Object *obj);
1273 EAPI Elm_Genlist_Item *elm_genlist_at_xy_item_get(const Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *posret);
1274 EAPI Elm_Genlist_Item *elm_genlist_first_item_get(const Evas_Object *obj);
1275 EAPI Elm_Genlist_Item *elm_genlist_last_item_get(const Evas_Object *obj);
1276 /* available item styles:
1278 * default_style - The text part is a textblock
1280 * icon_top_text_bottom
1283 /* Genlist Item operation */
1284 EAPI Elm_Genlist_Item *elm_genlist_item_next_get(const Elm_Genlist_Item *item);
1285 EAPI Elm_Genlist_Item *elm_genlist_item_prev_get(const Elm_Genlist_Item *item);
1286 EAPI Evas_Object *elm_genlist_item_genlist_get(const Elm_Genlist_Item *item);
1287 EAPI Elm_Genlist_Item *elm_genlist_item_parent_get(const Elm_Genlist_Item *it);
1288 EAPI void elm_genlist_item_subitems_clear(Elm_Genlist_Item *item);
1289 EAPI void elm_genlist_item_selected_set(Elm_Genlist_Item *item, Eina_Bool selected);
1290 EAPI Eina_Bool elm_genlist_item_selected_get(const Elm_Genlist_Item *item);
1291 EAPI void elm_genlist_item_expanded_set(Elm_Genlist_Item *item, Eina_Bool expanded);
1292 EAPI Eina_Bool elm_genlist_item_expanded_get(const Elm_Genlist_Item *item);
1293 EAPI void elm_genlist_item_disabled_set(Elm_Genlist_Item *item, Eina_Bool disabled);
1294 EAPI Eina_Bool elm_genlist_item_disabled_get(const Elm_Genlist_Item *item);
1295 EAPI void elm_genlist_item_display_only_set(Elm_Genlist_Item *it, Eina_Bool display_only);
1296 EAPI Eina_Bool elm_genlist_item_display_only_get(const Elm_Genlist_Item *it);
1297 EAPI void elm_genlist_item_show(Elm_Genlist_Item *item);
1298 EAPI void elm_genlist_item_bring_in(Elm_Genlist_Item *item);
1299 EAPI void elm_genlist_item_top_show(Elm_Genlist_Item *item);
1300 EAPI void elm_genlist_item_top_bring_in(Elm_Genlist_Item *item);
1301 EAPI void elm_genlist_item_middle_show(Elm_Genlist_Item *it);
1302 EAPI void elm_genlist_item_middle_bring_in(Elm_Genlist_Item *it);
1303 EAPI void elm_genlist_item_del(Elm_Genlist_Item *item);
1304 EAPI const void *elm_genlist_item_data_get(const Elm_Genlist_Item *item);
1305 EAPI void elm_genlist_item_data_set(Elm_Genlist_Item *it, const void *data);
1306 EAPI const Evas_Object *elm_genlist_item_object_get(const Elm_Genlist_Item *it);
1307 EAPI void elm_genlist_item_update(Elm_Genlist_Item *item);
1308 EAPI void elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
1309 EINA_DEPRECATED EAPI void elm_genlist_set_edit_mode(Evas_Object *obj, int emode, Elm_Genlist_Edit_Class *ec);
1310 EAPI void elm_genlist_edit_mode_set(Evas_Object *obj, int emode, Elm_Genlist_Edit_Class *ec);
1311 EAPI int elm_genlist_item_expanded_depth_get(Elm_Genlist_Item *it);
1312 EAPI void elm_genlist_edit_selected_items_del(Evas_Object *obj);
1313 EINA_DEPRECATED EAPI void elm_genlist_selected_items_del(Evas_Object *obj);
1314 EAPI Eina_List * elm_genlist_edit_selected_items_get(const Evas_Object *obj);
1315 EAPI void elm_genlist_item_rename_mode_set(Elm_Genlist_Item *it, int emode);
1317 EAPI Elm_Genlist_GroupItem *elm_genlist_groupitem_add(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data);
1318 EAPI void elm_genlist_groupitem_del( Elm_Genlist_GroupItem *git);
1319 EAPI Elm_Genlist_Item *elm_genlist_item_append_with_group(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item_Flags flags, Elm_Genlist_GroupItem *git, void (*func) (void *data, Evas_Object *obj, void *event_info), const void *func_data);
1320 EAPI void elm_genlist_item_move_after(Elm_Genlist_Item *it, Elm_Genlist_Item *after );
1322 EAPI Evas_Object *elm_check_add(Evas_Object *parent);
1323 EAPI void elm_check_label_set(Evas_Object *obj, const char *label);
1324 EAPI const char *elm_check_label_get(const Evas_Object *obj);
1325 EAPI void elm_check_icon_set(Evas_Object *obj, Evas_Object *icon);
1326 EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj);
1327 EAPI void elm_check_state_set(Evas_Object *obj, Eina_Bool state);
1328 EAPI Eina_Bool elm_check_state_get(const Evas_Object *obj);
1329 EAPI void elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep);
1331 EAPI Evas_Object *elm_radio_add(Evas_Object *parent);
1332 EAPI void elm_radio_label_set(Evas_Object *obj, const char *label);
1333 EAPI const char *elm_radio_label_get(const Evas_Object *obj);
1334 EAPI void elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon);
1335 EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj);
1336 EAPI void elm_radio_group_add(Evas_Object *obj, Evas_Object *group);
1337 EAPI void elm_radio_state_value_set(Evas_Object *obj, int value);
1338 EAPI void elm_radio_value_set(Evas_Object *obj, int value);
1339 EAPI int elm_radio_value_get(const Evas_Object *obj);
1340 EAPI void elm_radio_value_pointer_set(Evas_Object *obj, int *valuep);
1342 typedef struct _Elm_Segment_Item Elm_Segment_Item;
1343 EAPI Evas_Object *elm_segment_control_add(Evas_Object *parent);
1344 EAPI void elm_segment_control_item_selected_set(Elm_Segment_Item *item, Eina_Bool select);
1345 EAPI int elm_segment_control_item_index_get(Elm_Segment_Item *item);
1346 EAPI Evas_Object *elm_segment_control_item_object_get(Elm_Segment_Item *it);
1347 EAPI Evas_Object *elm_segment_control_item_label_object_set(Elm_Segment_Item *item, char *label);
1348 EAPI Elm_Segment_Item * elm_segment_control_add_segment(Evas_Object *obj, Evas_Object *icon, const char *label, Eina_Bool animate);
1349 EAPI void elm_segment_control_insert_segment_at(Evas_Object *obj, Evas_Object *icon, const char *label, unsigned int index, Eina_Bool animate);
1350 EAPI void elm_segment_control_delete_segment(Evas_Object *obj, Elm_Segment_Item *item, Eina_Bool animate);
1351 EAPI void elm_segment_control_delete_segment_at(Evas_Object *obj, unsigned int index, Eina_Bool animate);
1352 EAPI const char *elm_segment_control_get_segment_label_at(Evas_Object *obj, unsigned int index);
1353 EAPI Evas_Object *elm_segment_control_get_segment_icon_at(Evas_Object *obj, unsigned int index);
1354 EAPI Elm_Segment_Item *elm_segment_control_selected_segment_get(const Evas_Object *obj, int *value);
1355 EAPI int elm_segment_control_get_segment_count(Evas_Object *obj);
1357 EAPI Evas_Object *elm_page_control_add(Evas_Object *parent);
1358 EAPI void elm_page_control_page_count_set(Evas_Object *obj, unsigned int page_count);
1359 EAPI void elm_page_control_page_id_set(Evas_Object *obj, unsigned int page_id);
1360 EAPI unsigned int elm_page_control_page_id_get(Evas_Object *obj);
1361 EAPI Evas_Object *elm_pager_add(Evas_Object *parent);
1362 EAPI void elm_pager_content_push(Evas_Object *obj, Evas_Object *content);
1363 EAPI void elm_pager_content_pop(Evas_Object *obj);
1364 EAPI void elm_pager_to_content_pop(Evas_Object *obj, Evas_Object *content);
1365 EAPI void elm_pager_content_promote(Evas_Object *obj, Evas_Object *content);
1366 EAPI Evas_Object *elm_pager_content_bottom_get(const Evas_Object *obj);
1367 EAPI Evas_Object *elm_pager_content_top_get(const Evas_Object *obj);
1369 /* available item styles:
1376 typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class;
1377 typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func;
1378 typedef struct _Elm_Slideshow_Item Elm_Slideshow_Item;
1379 typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj);
1380 typedef void (*SlideshowItemDelFunc) (void *data, Evas_Object *obj);
1382 struct _Elm_Slideshow_Item_Class
1384 struct _Elm_Slideshow_Item_Class_Func
1386 SlideshowItemGetFunc get;
1387 SlideshowItemDelFunc del;
1391 EAPI Evas_Object *elm_slideshow_add(Evas_Object *parent);
1392 EAPI Elm_Slideshow_Item *elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data);
1393 EAPI void elm_slideshow_show(Elm_Slideshow_Item *item);
1394 EAPI void elm_slideshow_next(Evas_Object *obj);
1395 EAPI void elm_slideshow_previous(Evas_Object *obj);
1396 EAPI const Eina_List *elm_slideshow_transitions_get(const Evas_Object *obj);
1397 EAPI void elm_slideshow_transition_set(Evas_Object *obj, const char *);
1398 EAPI const char *elm_slideshow_transition_get(const Evas_Object *obj);
1399 EAPI void elm_slideshow_timeout_set(Evas_Object *obj ,int timeout);
1400 EAPI int elm_slideshow_timeout_get(const Evas_Object *obj);
1401 EAPI void elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop);
1402 EAPI Eina_Bool elm_slideshow_loop_get(const Evas_Object *obj);
1403 EAPI void elm_slideshow_clear(Evas_Object *obj);
1404 EAPI const Eina_List *elm_slideshow_items_get(const Evas_Object *obj);
1405 EAPI void elm_slideshow_item_del(Elm_Slideshow_Item *item);
1406 EAPI void *elm_slideshow_item_data_get(Elm_Slideshow_Item *item);
1407 EAPI Elm_Slideshow_Item *elm_slideshow_item_current_get(const Evas_Object *obj);
1408 EAPI Evas_Object* elm_slideshow_item_object_get(Elm_Slideshow_Item* item);
1409 EAPI const char *elm_slideshow_layout_get(const Evas_Object *obj);
1410 EAPI void elm_slideshow_layout_set(Evas_Object *obj, const char *layout);
1411 EAPI const Eina_List *elm_slideshow_layouts_get(const Evas_Object *obj);
1414 EAPI Evas_Object *elm_fileselector_add(Evas_Object *parent);
1415 EAPI void elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save);
1416 EAPI Eina_Bool elm_fileselector_is_save_get(const Evas_Object *obj);
1417 EAPI void elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only);
1418 EAPI Eina_Bool elm_fileselector_folder_only_get(const Evas_Object *obj);
1419 EAPI void elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons);
1420 EAPI Eina_Bool elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj);
1421 EAPI Eina_Bool elm_fileselector_expandable_get(const Evas_Object *obj);
1422 EAPI void elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand);
1423 EAPI void elm_fileselector_path_set(Evas_Object *obj, const char *path);
1424 EAPI const char *elm_fileselector_path_get(const Evas_Object *obj);
1425 EAPI const char *elm_fileselector_selected_get(const Evas_Object *obj);
1426 EAPI Eina_Bool elm_fileselector_selected_set(Evas_Object *obj, const char *path);
1428 /* smart callbacks called:
1429 * "selected" - the user click on a file
1430 * "directory,open" - the list is populate with a new content. event_info is a directory.
1431 * "done" - the user click on the ok or cancel buttons
1434 EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent);
1435 EAPI void elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse);
1436 EAPI Eina_Bool elm_progressbar_pulse_get(const Evas_Object *obj);
1437 EAPI void elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state);
1438 EAPI void elm_progressbar_value_set(Evas_Object *obj, double val);
1439 EAPI double elm_progressbar_value_get(const Evas_Object *obj);
1440 EAPI void elm_progressbar_label_set(Evas_Object *obj, const char *label);
1441 EAPI const char *elm_progressbar_label_get(const Evas_Object *obj);
1442 EAPI void elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon);
1443 EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj);
1444 EAPI void elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size);
1445 EAPI Evas_Coord elm_progressbar_span_size_get(const Evas_Object *obj);
1446 EAPI void elm_progressbar_unit_format_set(Evas_Object *obj, const char *format);
1447 EAPI const char *elm_progressbar_unit_format_get(const Evas_Object *obj);
1448 EAPI void elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
1449 EAPI Eina_Bool elm_progressbar_horizontal_get(const Evas_Object *obj);
1450 EAPI void elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted);
1451 EAPI Eina_Bool elm_progressbar_inverted_get(const Evas_Object *obj);
1452 /* smart callbacks called:
1454 /* available item styles:
1456 * wheel (simple style, no text, no progression, only pulse is available)
1459 EAPI Evas_Object *elm_separator_add(Evas_Object *parent);
1460 EAPI void elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
1461 EAPI Eina_Bool elm_separator_horizontal_get(const Evas_Object *obj);
1462 /* smart callbacks called:
1465 EAPI Evas_Object *elm_spinner_add(Evas_Object *parent);
1466 EAPI void elm_spinner_label_format_set(Evas_Object *obj, const char *fmt);
1467 EAPI const char *elm_spinner_label_format_get(const Evas_Object *obj);
1468 EAPI void elm_spinner_min_max_set(Evas_Object *obj, double min, double max);
1469 EAPI void elm_spinner_min_max_get(const Evas_Object *obj, double *min, double *max);
1470 EAPI void elm_spinner_step_set(Evas_Object *obj, double step);
1471 EAPI double elm_spinner_step_get(const Evas_Object *obj);
1472 EAPI void elm_spinner_value_set(Evas_Object *obj, double val);
1473 EAPI double elm_spinner_value_get(const Evas_Object *obj);
1474 EAPI void elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap);
1475 EAPI Eina_Bool elm_spinner_wrap_get(const Evas_Object *obj);
1476 EAPI void elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable);
1477 EAPI Eina_Bool elm_spinner_editable_get(const Evas_Object *obj);
1478 EAPI void elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label);
1479 EAPI void elm_spinner_interval_set(Evas_Object *obj, double interval);
1480 EAPI double elm_spinner_interval_get(const Evas_Object *obj);
1481 /* smart callbacks called:
1482 * "changed" - when the spinner value changes
1483 * "delay,changed" - when the spinner value changed, but a small time after a change (use this if you only want to respond to a change once the spinner is held still for a short while).
1485 /* available item styles:
1487 * vertical (two up/down buttons at the right side and text left aligned)
1490 typedef struct _Elm_Index_Item Elm_Index_Item;
1491 EAPI Evas_Object *elm_index_add(Evas_Object *parent);
1492 EAPI void elm_index_active_set(Evas_Object *obj, Eina_Bool active);
1493 EAPI void elm_index_item_level_set(Evas_Object *obj, int level);
1494 EAPI int elm_index_item_level_get(const Evas_Object *obj);
1495 EAPI const void *elm_index_item_selected_get(const Evas_Object *obj, int level);
1496 EAPI void elm_index_item_append(Evas_Object *obj, const char *letter, const void *item);
1497 EAPI void elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *item);
1498 EAPI void elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative);
1499 EAPI void elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative);
1500 EAPI void elm_index_item_sorted_insert(Evas_Object *obj, const char *letter, const void *item, Eina_Compare_Cb cmp_func, Eina_Compare_Cb cmp_data_func);
1501 EAPI void elm_index_item_del(Evas_Object *obj, const void *item);
1502 EAPI Elm_Index_Item *elm_index_item_find(Evas_Object *obj, const void *item);
1503 EAPI void elm_index_item_clear(Evas_Object *obj);
1504 EAPI void elm_index_item_go(Evas_Object *obj, int level);
1505 EAPI void *elm_index_item_data_get(const Elm_Index_Item *item);
1506 EAPI void elm_index_item_data_set(Elm_Index_Item *it, const void *data);
1507 EAPI const char *elm_index_item_letter_get(const Elm_Index_Item *item);
1508 EAPI void elm_index_button_image_invisible_set(Evas_Object *obj, Eina_Bool invisible);
1509 /* smart callbacks called:
1510 * "changed" - when the selected index item changes
1511 * "delay,changed" - when the selected index item changes, but after some small idle period
1512 * "selected" - when the user releases heir finger and selects an item
1515 typedef enum _Elm_Photocam_Zoom_Mode
1517 ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0,
1518 ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT,
1519 ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL,
1520 ELM_PHOTOCAM_ZOOM_MODE_LAST
1521 } Elm_Photocam_Zoom_Mode;
1522 EAPI Evas_Object *elm_photocam_add(Evas_Object *parent);
1523 EAPI int elm_photocam_file_set(Evas_Object *obj, const char *file);
1524 EAPI const char * elm_photocam_file_get(const Evas_Object *obj);
1525 EAPI void elm_photocam_zoom_set(Evas_Object *obj, double zoom);
1526 EAPI double elm_photocam_zoom_get(const Evas_Object *obj);
1527 EAPI void elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode);
1528 EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj);
1529 EAPI void elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h);
1530 EAPI void elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h);
1531 EAPI void elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h);
1532 EAPI void elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h);
1533 EAPI void elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused);
1534 EAPI Eina_Bool elm_photocam_paused_get(const Evas_Object *obj);
1535 EAPI Evas_Object *elm_photocam_internal_image_get(const Evas_Object *obj);
1537 /* smart callbacks called:
1538 * "clicked" - when image clicked
1539 * "press" - when mouse/finger held down initially on image
1540 * "longpressed" - when mouse/finger held for long time on image
1541 * "clicked,double" - when mouse/finger double-clicked
1542 * "load" - when photo load begins
1543 * "loaded" - when photo load done
1544 * "load,details" - when detailed image load begins
1545 * "loaded,details" - when detailed image load done
1546 * "zoom,start" - when zooming started
1547 * "zoom,stop" - when zooming stopped
1548 * "zoom,change" - when auto zoom mode changed zoom level
1549 * "scroll - the content has been scrolled (moved)
1550 * "scroll,anim,start" - scrolling animation has started
1551 * "scroll,anim,stop" - scrolling animation has stopped
1552 * "scroll,drag,start" - dragging the contents around has started
1553 * "scroll,drag,stop" - dragging the contents around has stopped
1556 typedef enum _Elm_Map_Zoom_Mode
1558 ELM_MAP_ZOOM_MODE_MANUAL,
1559 ELM_MAP_ZOOM_MODE_AUTO_FIT,
1560 ELM_MAP_ZOOM_MODE_AUTO_FILL,
1561 ELM_MAP_ZOOM_MODE_LAST
1562 } Elm_Map_Zoom_Mode;
1564 typedef enum _Elm_Map_Sources
1566 ELM_MAP_SOURCE_MAPNIK,
1567 ELM_MAP_SOURCE_OSMARENDER,
1568 ELM_MAP_SOURCE_CYCLEMAP,
1569 ELM_MAP_SOURCE_MAPLINT,
1570 ELM_MAP_SOURCE_DECARTA,
1571 ELM_MAP_SOURCE_CUSTOM_1,
1572 ELM_MAP_SOURCE_CUSTOM_2,
1573 ELM_MAP_SOURCE_CUSTOM_3,
1574 ELM_MAP_SOURCE_CUSTOM_4,
1575 ELM_MAP_SOURCE_CUSTOM_5,
1576 ELM_MAP_SOURCE_CUSTOM_6,
1580 typedef struct _Elm_Map_Marker Elm_Map_Marker;
1581 typedef struct _Elm_Map_Marker_Class Elm_Map_Marker_Class;
1582 typedef struct _Elm_Map_Group_Class Elm_Map_Group_Class;
1583 typedef Evas_Object *(*ElmMapMarkerGetFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data);
1584 typedef void (*ElmMapMarkerDelFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o);
1585 typedef Evas_Object *(*ElmMapMarkerIconGetFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data);
1586 typedef Evas_Object *(*ElmMapGroupIconGetFunc) (Evas_Object *obj, void *data);
1587 typedef char *(*ElmMapSourceURLFunc) (void *data, int x, int y, int zoom);
1589 EAPI Evas_Object *elm_map_add(Evas_Object *parent);
1590 EAPI void elm_map_zoom_set(Evas_Object *obj, int zoom);
1591 EAPI double elm_map_zoom_get(const Evas_Object *obj);
1592 EAPI void elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode);
1593 EAPI Elm_Map_Zoom_Mode elm_map_zoom_mode_get(const Evas_Object *obj);
1594 EAPI void elm_map_geo_region_get(const Evas_Object *obj, double *lon, double *lat);
1595 EAPI void elm_map_geo_region_bring_in(Evas_Object *obj, double lon, double lat);
1596 EAPI void elm_map_geo_region_show(Evas_Object *obj, double lon, double lat);
1597 EAPI void elm_map_paused_set(Evas_Object *obj, Eina_Bool paused);
1598 EAPI Eina_Bool elm_map_paused_get(const Evas_Object *obj);
1599 EAPI void elm_map_paused_markers_set(Evas_Object *obj, Eina_Bool paused);
1600 EAPI Eina_Bool elm_map_paused_markers_get(const Evas_Object *obj);
1601 EAPI void elm_map_utils_convert_coord_into_geo(const Evas_Object *obj, int x, int y, int size, double *lon, double *lat);
1602 EAPI void elm_map_utils_convert_geo_into_coord(const Evas_Object *obj, double lon, double lat, int size, int *x, int *y);
1603 EAPI Elm_Map_Marker *elm_map_marker_add(Evas_Object *obj, double lon, double lat, Elm_Map_Marker_Class *clas, Elm_Map_Group_Class *clas_group, void *data);
1604 EAPI void elm_map_max_marker_per_group_set(Evas_Object *obj, int max);
1605 EAPI void elm_map_marker_remove(Elm_Map_Marker *marker);
1606 EAPI void elm_map_marker_bring_in(Elm_Map_Marker *marker);
1607 EAPI void elm_map_marker_show(Elm_Map_Marker *marker);
1608 EAPI void elm_map_markers_list_show(Eina_List *markers);
1609 EAPI Evas_Object *elm_map_marker_object_get(Elm_Map_Marker *marker);
1610 EAPI void elm_map_marker_update(Elm_Map_Marker *marker);
1611 EAPI void elm_map_bubbles_close(Evas_Object *obj);
1613 EAPI Elm_Map_Group_Class * elm_map_group_class_new(Evas_Object *obj);
1614 EAPI void elm_map_group_class_style_set(Elm_Map_Group_Class *clas, const char *style);
1615 EAPI void elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, ElmMapGroupIconGetFunc icon_get);
1616 EAPI void elm_map_group_class_data_set(Elm_Map_Group_Class *clas, void *data);
1617 EAPI void elm_map_group_class_zoom_displayed_set(Elm_Map_Group_Class *clas, int zoom);
1618 EAPI void elm_map_group_class_zoom_grouped_set(Elm_Map_Group_Class *clas, int zoom);
1619 EAPI void elm_map_group_class_hide_set(Evas_Object *obj, Elm_Map_Group_Class *clas, Eina_Bool hide);
1621 EAPI Elm_Map_Marker_Class * elm_map_marker_class_new(Evas_Object *obj);
1622 EAPI void elm_map_marker_class_style_set(Elm_Map_Marker_Class *clas, const char *style);
1623 EAPI void elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerIconGetFunc icon_get);
1624 EAPI void elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerGetFunc get);
1625 EAPI void elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerDelFunc del);
1627 EAPI void elm_map_source_set(Evas_Object *obj, Elm_Map_Sources source);
1628 EAPI Elm_Map_Sources elm_map_source_get(const Evas_Object *obj);
1629 EAPI void elm_map_source_custom_api_set(Elm_Map_Sources source, const char *label,
1630 int zoom_min, int zoom_max, ElmMapSourceURLFunc url_cb);
1631 EAPI int elm_map_source_zoom_min_get(Elm_Map_Sources source);
1632 EAPI int elm_map_source_zoom_max_get(Elm_Map_Sources source);
1633 EAPI const char *elm_map_source_name_get(Elm_Map_Sources source);
1634 /* smart callbacks called:
1635 * "clicked" - when image clicked
1636 * "press" - when mouse/finger held down initially on image
1637 * "longpressed" - when mouse/finger held for long time on image
1638 * "clicked,double" - when mouse/finger double-clicked
1639 * "load,details" - when detailed image load begins
1640 * "loaded,details" - when detailed image load done
1641 * "zoom,start" - when zooming started
1642 * "zoom,stop" - when zooming stopped
1643 * "zoom,change" - when auto zoom mode changed zoom level
1644 * "scroll - the content has been scrolled (moved)
1645 * "scroll,anim,start" - scrolling animation has started
1646 * "scroll,anim,stop" - scrolling animation has stopped
1647 * "scroll,drag,start" - dragging the contents around has started
1648 * "scroll,drag,stop" - dragging the contents around has stopped
1651 typedef enum _Elm_Panel_Orient
1653 ELM_PANEL_ORIENT_TOP,
1654 ELM_PANEL_ORIENT_BOTTOM,
1655 ELM_PANEL_ORIENT_LEFT,
1656 ELM_PANEL_ORIENT_RIGHT,
1658 EAPI Evas_Object *elm_panel_add(Evas_Object *parent);
1659 EAPI void elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient);
1660 EAPI Elm_Panel_Orient elm_panel_orient_get(Evas_Object *obj);
1661 EAPI void elm_panel_content_set(Evas_Object *obj, Evas_Object *content);
1662 EAPI Evas_Object *elm_panel_content_unset(Evas_Object *obj);
1663 EAPI void elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden);
1664 EAPI Eina_Bool elm_panel_hidden_get(Evas_Object *obj);
1665 EAPI void elm_panel_toggle(Evas_Object *obj);
1671 * Update the minimun height of the bar in the theme. No minimun should be set in the vertical theme
1672 * Add events (move, start ...)
1674 EAPI Evas_Object *elm_panes_add(Evas_Object *parent);
1675 EAPI void elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content);
1676 EAPI void elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content);
1677 EAPI Evas_Object *elm_panes_content_left_get(const Evas_Object *obj);
1678 EAPI Evas_Object *elm_panes_content_right_get(const Evas_Object *obj);
1679 EAPI Evas_Object *elm_panes_content_left_unset(Evas_Object *obj);
1680 EAPI Evas_Object *elm_panes_content_right_unset(Evas_Object *obj);
1681 EAPI double elm_panes_content_left_size_get(const Evas_Object *obj);
1682 EAPI void elm_panes_content_left_size_set(Evas_Object *obj, double size);
1683 EAPI void elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
1684 EAPI Eina_Bool elm_panes_horizontal_get(const Evas_Object *obj);
1685 EAPI void elm_panes_fixed_set(Evas_Object *obj, Eina_Bool fixed);
1686 EAPI Eina_Bool elm_panes_fixed_get(const Evas_Object *obj);
1688 typedef enum _Elm_Flip_Mode
1690 ELM_FLIP_ROTATE_Y_CENTER_AXIS,
1691 ELM_FLIP_ROTATE_X_CENTER_AXIS,
1692 ELM_FLIP_ROTATE_XZ_CENTER_AXIS,
1693 ELM_FLIP_ROTATE_YZ_CENTER_AXIS,
1695 ELM_FLIP_CUBE_RIGHT,
1700 EAPI Evas_Object *elm_flip_add(Evas_Object *parent);
1701 EAPI void elm_flip_content_front_set(Evas_Object *obj, Evas_Object *content);
1702 EAPI void elm_flip_content_back_set(Evas_Object *obj, Evas_Object *content);
1703 EAPI Evas_Object *elm_flip_content_front_get(const Evas_Object *obj);
1704 EAPI Evas_Object *elm_flip_content_back_get(const Evas_Object *obj);
1705 EAPI Eina_Bool elm_flip_front_get(const Evas_Object *obj);
1706 EAPI void elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y);
1707 EAPI void elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode);
1708 /* smart callbacks called:
1709 * "animate,done" - when a flip animation is finished
1712 EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent);
1713 EAPI void elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
1714 EAPI Eina_Bool elm_scrolled_entry_single_line_get(const Evas_Object *obj);
1715 EAPI void elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password);
1716 EAPI Eina_Bool elm_scrolled_entry_password_get(const Evas_Object *obj);
1717 EAPI void elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry);
1718 EAPI const char *elm_scrolled_entry_entry_get(const Evas_Object *obj);
1719 EAPI const char *elm_scrolled_entry_selection_get(const Evas_Object *obj);
1720 EAPI void elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry);
1721 EAPI void elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Eina_Bool wrap);
1722 EAPI void elm_scrolled_entry_line_char_wrap_set(Evas_Object *obj, Eina_Bool wrap);
1723 EAPI void elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
1724 EAPI Eina_Bool elm_scrolled_entry_editable_get(const Evas_Object *obj);
1725 EAPI void elm_scrolled_entry_select_none(Evas_Object *obj);
1726 EAPI void elm_scrolled_entry_select_all(Evas_Object *obj);
1727 EAPI Eina_Bool elm_scrolled_entry_cursor_next(Evas_Object *obj);
1728 EAPI Eina_Bool elm_scrolled_entry_cursor_prev(Evas_Object *obj);
1729 EAPI Eina_Bool elm_scrolled_entry_cursor_up(Evas_Object *obj);
1730 EAPI Eina_Bool elm_scrolled_entry_cursor_down(Evas_Object *obj);
1731 EAPI void elm_scrolled_entry_cursor_begin_set(Evas_Object *obj);
1732 EAPI void elm_scrolled_entry_cursor_end_set(Evas_Object *obj);
1733 EAPI void elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj);
1734 EAPI void elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj);
1735 EAPI void elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj);
1736 EAPI void elm_scrolled_entry_cursor_selection_end(Evas_Object *obj);
1737 EAPI Eina_Bool elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj);
1738 EAPI Eina_Bool elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj);
1739 EAPI const char *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj);
1740 EAPI void elm_scrolled_entry_selection_cut(Evas_Object *obj);
1741 EAPI void elm_scrolled_entry_selection_copy(Evas_Object *obj);
1742 EAPI void elm_scrolled_entry_selection_paste(Evas_Object *obj);
1743 EAPI void elm_scrolled_entry_context_menu_clear(Evas_Object *obj);
1744 EAPI void elm_scrolled_entry_context_menu_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data);
1745 EAPI void elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
1746 EAPI Eina_Bool elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj);
1747 EAPI void elm_scrolled_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
1748 EAPI void elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
1749 EAPI void elm_scrolled_entry_maximum_bytes_set(Evas_Object *obj, int max_no_of_bytes);
1750 EINA_DEPRECATED EAPI void elm_scrolled_entry_password_show_last_character_set(Evas_Object *obj, Eina_Bool show_last_character);
1752 EAPI void elm_scrolled_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled);
1753 EAPI void elm_scrolled_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout);
1754 EAPI Ecore_IMF_Context *elm_scrolled_entry_imf_context_get(Evas_Object *obj);
1755 EAPI void elm_scrolled_entry_autocapitalization_set(Evas_Object *obj, Eina_Bool autocap);
1756 EAPI void elm_scrolled_entry_autoperiod_set(Evas_Object *obj, Eina_Bool autoperiod);
1758 EAPI Evas_Object *elm_conformant_add(Evas_Object *parent);
1759 EAPI void elm_conformant_content_set(Evas_Object *obj, Evas_Object *content);
1760 EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj);
1763 EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent);
1764 EAPI void elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content);
1765 EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj);
1766 EAPI void elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled);
1767 EAPI Eina_Bool elm_mapbuf_enabled_get(const Evas_Object *obj);
1768 EAPI void elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth);
1769 EAPI Eina_Bool elm_mapbuf_smooth_get(const Evas_Object *obj);
1770 EAPI void elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha);
1771 EAPI Eina_Bool elm_mapbuf_alpha_get(const Evas_Object *obj);
1774 typedef struct _Animator Elm_Animator;
1778 ELM_ANIMATOR_CURVE_LINEAR,
1779 ELM_ANIMATOR_CURVE_IN_OUT,
1780 ELM_ANIMATOR_CURVE_IN,
1781 ELM_ANIMATOR_CURVE_OUT
1782 } Elm_Animator_Curve_Style;
1784 EAPI Elm_Animator* elm_animator_add(Evas_Object *parent);
1785 EAPI void elm_animator_del(Elm_Animator *animator);
1786 EAPI void elm_animator_duration_set(Elm_Animator *animator, double duration);
1787 EAPI void elm_animator_operation_callback_set(Elm_Animator *animator, void (*func)(void *data, Elm_Animator *animator, double frame), void *data);
1788 EAPI void elm_animator_completion_callback_set(Elm_Animator *animator, void (*func)(void *data), void *data);
1789 EAPI void elm_animator_stop(Elm_Animator *animator);
1790 EAPI void elm_animator_repeat_set(Elm_Animator *animator, unsigned int repeat_cnt);
1791 EAPI void elm_animator_animate(Elm_Animator *animator);
1792 EAPI void elm_animator_curve_style_set(Elm_Animator *animator, Elm_Animator_Curve_Style cs);
1793 EAPI void elm_animator_auto_reverse_set(Elm_Animator *animator, Eina_Bool reverse);
1794 EAPI void elm_animator_pause(Elm_Animator *animator);
1795 EAPI void elm_animator_resume(Elm_Animator *animator);
1796 EAPI Eina_Bool elm_animator_auto_reverse_get(Elm_Animator *animator);
1797 EAPI Eina_Bool elm_animator_operating_get(Elm_Animator *animator);
1798 EAPI unsigned int elm_animator_repeat_get(Elm_Animator *animator);
1803 ELM_CALENDAR_UNIQUE,
1805 ELM_CALENDAR_WEEKLY,
1806 ELM_CALENDAR_MONTHLY,
1807 ELM_CALENDAR_ANNUALLY
1808 } Elm_Calendar_Mark_Repeat;
1809 typedef struct _Elm_Calendar_Mark Elm_Calendar_Mark;
1811 EAPI Evas_Object *elm_calendar_add(Evas_Object *parent);
1812 EAPI const char **elm_calendar_weekdays_names_get(const Evas_Object *obj);
1813 EAPI void elm_calendar_weekdays_names_set(Evas_Object *obj, const char *weekdays[]);
1814 EAPI double elm_calendar_interval_get(const Evas_Object *obj);
1815 EAPI void elm_calendar_interval_set(Evas_Object *obj, double interval);
1816 EAPI void elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max);
1817 EAPI void elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max);
1818 EAPI Eina_Bool elm_calendar_day_selection_enabled_get(const Evas_Object *obj);
1819 EAPI void elm_calendar_day_selection_enabled_set(Evas_Object *obj, Eina_Bool enabled);
1820 EAPI Eina_Bool elm_calendar_selected_time_get(const Evas_Object *obj, struct tm *selected_time);
1821 EAPI void elm_calendar_selected_time_set(Evas_Object *obj, struct tm *selected_time);
1822 EAPI void elm_calendar_format_function_set(Evas_Object *obj, char * (*format_function) (struct tm *stime));
1823 EAPI Elm_Calendar_Mark *elm_calendar_mark_add(Evas_Object *obj, const char *mark_type, struct tm *mark_time, Elm_Calendar_Mark_Repeat repeat);
1824 EAPI void elm_calendar_mark_del(Elm_Calendar_Mark *mark);
1825 EAPI void elm_calendar_marks_clear(Evas_Object *obj);
1826 EAPI const Eina_List *elm_calendar_marks_get(const Evas_Object *obj);
1827 EAPI void elm_calendar_marks_draw(Evas_Object *obj);
1828 EAPI void elm_calendar_text_weekday_color_set(const Evas_Object *obj, int pos);
1829 EAPI void elm_calendar_text_saturday_color_set(const Evas_Object *obj, int pos);
1830 EAPI void elm_calendar_text_sunday_color_set(const Evas_Object *obj, int pos);
1832 typedef struct _Picker_Item Elm_Picker_Item;
1833 EAPI Evas_Object *elm_picker_add(Evas_Object *parent);
1834 EAPI void elm_picker_next(Evas_Object *obj);
1835 EAPI void elm_picker_prev(Evas_Object *obj);
1836 EAPI Elm_Picker_Item *elm_picker_item_append(Evas_Object *obj, const char *label, void (*func)(void *data, Evas_Object *obj, void *event_info), void *data);
1837 EAPI Elm_Picker_Item *elm_picker_item_prepend(Evas_Object *obj, const char *label, void (*func)(void *data, Evas_Object *obj, void *event_info), void *data);
1838 EAPI const Eina_List *elm_picker_items_get(Evas_Object *obj);
1839 EAPI Elm_Picker_Item *elm_picker_first_item_get(Evas_Object *obj);
1840 EAPI Elm_Picker_Item *elm_picker_last_item_get(Evas_Object *obj);
1841 EAPI Elm_Picker_Item *elm_picker_selected_item_get(Evas_Object *obj);
1842 EAPI void elm_picker_item_selected_set(Elm_Picker_Item *item);
1843 EAPI void elm_picker_item_del(Elm_Picker_Item *item);
1844 EAPI const char *elm_picker_item_label_get(Elm_Picker_Item *item);
1845 EAPI void elm_picker_item_label_set(Elm_Picker_Item *item, const char *label);
1846 EAPI Elm_Picker_Item *elm_picker_item_prev(Elm_Picker_Item *item);
1847 EAPI Elm_Picker_Item *elm_picker_item_next(Elm_Picker_Item *item);
1848 /* smart callback called:
1849 * "changed" - when picker selected item is changed
1850 * "overflowed" - when picker item is changed to first item from last item
1851 * "underflowed" - when picker item is changed to last item from first item.
1853 /* available styles:
1859 typedef struct _Discpicker_Item Elm_Discpicker_Item;
1860 EAPI Evas_Object *elm_discpicker_add(Evas_Object *parent);
1861 EAPI void elm_discpicker_row_height_set(Evas_Object *obj, unsigned int row_height);
1862 EAPI void elm_discpicker_next(Evas_Object *obj);
1863 EAPI void elm_discpicker_prev(Evas_Object *obj);
1864 EAPI Elm_Discpicker_Item *elm_discpicker_item_append(Evas_Object *obj, const char *label, void (*func)(void *data, Evas_Object *obj, void *event_info), void *data);
1865 EAPI Elm_Discpicker_Item *elm_discpicker_item_prepend(Evas_Object *obj, const char *label, void (*func)(void *data, Evas_Object *obj, void *event_info), void *data);
1866 EAPI const Eina_List *elm_discpicker_items_get(Evas_Object *obj);
1867 EAPI Elm_Discpicker_Item *elm_discpicker_first_item_get(Evas_Object *obj);
1868 EAPI Elm_Discpicker_Item *elm_discpicker_last_item_get(Evas_Object *obj);
1869 EAPI Elm_Discpicker_Item *elm_discpicker_selected_item_get(Evas_Object *obj);
1870 EAPI void elm_discpicker_item_selected_set(Elm_Discpicker_Item *item);
1871 EAPI void elm_discpicker_item_del(Elm_Discpicker_Item *item);
1872 EAPI const char *elm_discpicker_item_label_get(Elm_Discpicker_Item *item);
1873 EAPI void elm_discpicker_item_label_set(Elm_Discpicker_Item *item, const char *label);
1874 EAPI Elm_Discpicker_Item *elm_discpicker_item_prev(Elm_Discpicker_Item *item);
1875 EAPI Elm_Discpicker_Item *elm_discpicker_item_next(Elm_Discpicker_Item *item);
1876 EAPI void *elm_discpicker_item_data_get(Elm_Discpicker_Item *item);
1877 EAPI void elm_discpicker_item_data_set(Elm_Discpicker_Item *item, void *data);
1878 EAPI Eina_Bool elm_discpicker_item_disabled_get(Elm_Discpicker_Item *item);
1879 EAPI void elm_discpicker_item_disabled_set(Elm_Discpicker_Item *item, Eina_Bool disabled);
1880 /* smart callback called:
1881 * "selected" - when discpicker selected item is changed
1882 * "overflowed" - when discpicker item is changed to first item from last item
1883 * "underflowed" - when discpicker item is changed to last item from first item.
1885 /* available styles:
1889 typedef struct _Buttonpicker_Item Elm_Buttonpicker_Item;
1890 EINA_DEPRECATED EAPI Evas_Object *elm_buttonpicker_add(Evas_Object *parent);
1891 EINA_DEPRECATED EAPI void elm_buttonpicker_next(Evas_Object *obj);
1892 EINA_DEPRECATED EAPI void elm_buttonpicker_prev(Evas_Object *obj);
1893 EINA_DEPRECATED EAPI Elm_Buttonpicker_Item *elm_buttonpicker_item_append(Evas_Object *obj, const char *label, void (*func)(void *data, Evas_Object *obj, void *event_info), void *data);
1894 EINA_DEPRECATED EAPI Elm_Buttonpicker_Item *elm_buttonpicker_item_prepend(Evas_Object *obj, const char *label, void (*func)(void *data, Evas_Object *obj, void *event_info), void *data);
1895 EINA_DEPRECATED EAPI const Eina_List *elm_buttonpicker_items_get(Evas_Object *obj);
1896 EINA_DEPRECATED EAPI Elm_Buttonpicker_Item *elm_buttonpicker_first_item_get(Evas_Object *obj);
1897 EINA_DEPRECATED EAPI Elm_Buttonpicker_Item *elm_buttonpicker_last_item_get(Evas_Object *obj);
1898 EINA_DEPRECATED EAPI Elm_Buttonpicker_Item *elm_buttonpicker_selected_item_get(Evas_Object *obj);
1899 EINA_DEPRECATED EAPI void elm_buttonpicker_item_selected_set(Elm_Buttonpicker_Item *item);
1900 EINA_DEPRECATED EAPI void elm_buttonpicker_item_del(Elm_Buttonpicker_Item *item);
1901 EINA_DEPRECATED EAPI const char *elm_buttonpicker_item_label_get(Elm_Buttonpicker_Item *item);
1902 EINA_DEPRECATED EAPI void elm_buttonpicker_item_label_set(Elm_Buttonpicker_Item *item, const char *label);
1903 EINA_DEPRECATED EAPI Elm_Buttonpicker_Item *elm_buttonpicker_item_prev(Elm_Buttonpicker_Item *item);
1904 EINA_DEPRECATED EAPI Elm_Buttonpicker_Item *elm_buttonpicker_item_next(Elm_Buttonpicker_Item *item);
1905 /* smart callback called:
1906 * "changed" - when buttonpicker selected item is changed
1907 * "overflowed" - when buttonpicker item is changed to first item from last item
1908 * "underflowed" - when buttonpicker item is changed to last item from first item.
1910 /* available styles:
1914 EAPI Evas_Object *elm_timepicker_add(Evas_Object *parent);
1915 EAPI void elm_timepicker_time_set(Evas_Object *obj, int hrs, int min, int sec);
1916 EAPI void elm_timepicker_time_get(Evas_Object *obj, int *hrs, int *min, int *sec);
1917 EAPI void elm_timepicker_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm);
1918 EAPI void elm_timepicker_show_seconds_set(Evas_Object *obj, Eina_Bool seconds);
1919 /* smart callback called:
1920 * "changed" - when timepicker selected item is changed
1922 /* available styles:
1926 EINA_DEPRECATED EAPI Evas_Object *elm_timepicker3_add(Evas_Object *parent);
1927 EINA_DEPRECATED EAPI void elm_timepicker3_time_set(Evas_Object *obj, int hrs, int min, int sec);
1928 EINA_DEPRECATED EAPI void elm_timepicker3_time_get(Evas_Object *obj, int *hrs, int *min, int *sec);
1929 EINA_DEPRECATED EAPI void elm_timepicker3_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm);
1930 EINA_DEPRECATED EAPI void elm_timepicker3_show_seconds_set(Evas_Object *obj, Eina_Bool seconds);
1931 /* smart callback called:
1932 * "changed" - when timepicker3 selected item is changed
1934 /* available styles:
1938 EAPI Evas_Object *elm_datepicker_add(Evas_Object *parent);
1939 EAPI void elm_datepicker_date_set(Evas_Object *obj, int year, int month, int day);
1940 EAPI void elm_datepicker_date_get(Evas_Object *obj, int *year, int *month, int *day);
1941 EAPI void elm_datepicker_date_min_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1942 EAPI void elm_datepicker_date_min_get(Evas_Object *obj, int *year, int *month, int *day);
1943 EAPI void elm_datepicker_date_max_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1944 EAPI void elm_datepicker_date_max_get(Evas_Object *obj, int *year, int *month, int *day);
1945 EAPI void elm_datepicker_date_format_set(Evas_Object *obj, const char *fmt);
1946 EAPI const char *elm_datepicker_date_format_get(Evas_Object *obj);
1947 /* smart callback called:
1948 * "changed" - when datepicker selected item is changed
1950 /* available styles:
1954 EINA_DEPRECATED EAPI Evas_Object *elm_datepicker2_add(Evas_Object *parent);
1955 EINA_DEPRECATED EAPI void elm_datepicker2_date_set(Evas_Object *obj, int year, int month, int day);
1956 EINA_DEPRECATED EAPI void elm_datepicker2_date_get(Evas_Object *obj, int *year, int *month, int *day);
1957 EINA_DEPRECATED EAPI void elm_datepicker2_date_min_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1958 EINA_DEPRECATED EAPI void elm_datepicker2_date_min_get(Evas_Object *obj, int *year, int *month, int *day);
1959 EINA_DEPRECATED EAPI void elm_datepicker2_date_max_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1960 EINA_DEPRECATED EAPI void elm_datepicker2_date_max_get(Evas_Object *obj, int *year, int *month, int *day);
1961 EINA_DEPRECATED EAPI void elm_datepicker2_date_format_set(Evas_Object *obj, const char *fmt);
1962 EINA_DEPRECATED EAPI const char *elm_datepicker2_date_format_get(Evas_Object *obj);
1963 /* smart callback called:
1964 * "changed" - when datepicker selected item is changed
1966 /* available styles:
1970 EINA_DEPRECATED EAPI Evas_Object *elm_datepicker3_add(Evas_Object *parent);
1971 EINA_DEPRECATED EAPI void elm_datepicker3_date_set(Evas_Object *obj, int year, int month, int day);
1972 EINA_DEPRECATED EAPI void elm_datepicker3_date_get(Evas_Object *obj, int *year, int *month, int *day);
1973 EINA_DEPRECATED EAPI void elm_datepicker3_date_min_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1974 EINA_DEPRECATED EAPI void elm_datepicker3_date_min_get(Evas_Object *obj, int *year, int *month, int *day);
1975 EINA_DEPRECATED EAPI void elm_datepicker3_date_max_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1976 EINA_DEPRECATED EAPI void elm_datepicker3_date_max_get(Evas_Object *obj, int *year, int *month, int *day);
1977 EINA_DEPRECATED EAPI void elm_datepicker3_date_format_set(Evas_Object *obj, const char *fmt);
1978 EINA_DEPRECATED EAPI const char *elm_datepicker3_date_format_get(Evas_Object *obj);
1979 /* smart callback called:
1980 * "changed" - when datepicker3 selected item is changed
1982 /* available styles:
1987 typedef enum _Elm_Datefield_Layout
1989 ELM_DATEFIELD_LAYOUT_TIME,
1990 ELM_DATEFIELD_LAYOUT_DATE,
1991 ELM_DATEFIELD_LAYOUT_DATEANDTIME
1992 } Elm_Datefield_Layout;
1994 EAPI Evas_Object *elm_datefield_add(Evas_Object *parent);
1995 EAPI void elm_datefield_layout_set(Evas_Object *obj, Elm_Datefield_Layout layout);
1996 EAPI Elm_Datefield_Layout elm_datefield_layout_get(Evas_Object *obj);
1997 EAPI void elm_datefield_date_set(Evas_Object *obj, int year, int month, int day, int hour, int min);
1998 EAPI void elm_datefield_date_get(Evas_Object *obj, int *year, int *month, int *day, int *hour, int *min);
1999 EAPI void elm_datefield_time_mode_set(Evas_Object *obj, Eina_Bool mode);
2000 EAPI Eina_Bool elm_datefield_time_mode_get(Evas_Object *obj);
2001 EAPI void elm_datefield_date_format_set(Evas_Object *obj, const char *fmt);
2002 EAPI const char *elm_datefield_date_format_get(Evas_Object *obj);
2003 EAPI void elm_datefield_input_panel_state_callback_add(Evas_Object *obj, void (*pEventCallbackFunc) (void *data, Evas_Object *obj, int value), void *data);
2004 EAPI void elm_datefield_input_panel_state_callback_del(Evas_Object *obj, void (*pEventCallbackFunc) (void *data, Evas_Object *obj, int value));
2005 /* smart callbacks called:
2006 * "changed" - when datefield entry is changed, this signal is sent.
2010 EAPI Evas_Object *elm_titlebar_add(Evas_Object *parent);
2011 EAPI void elm_titlebar_label_set(Evas_Object *obj, const char *label);
2012 EAPI const char *elm_titlebar_label_get(Evas_Object *obj);
2013 EAPI void elm_titlebar_icon_set(Evas_Object *obj, Evas_Object *icon);
2014 EAPI Evas_Object *elm_titlebar_icon_get(Evas_Object *obj);
2015 EAPI void elm_titlebar_end_set(Evas_Object *obj, Evas_Object *end);
2016 EAPI Evas_Object *elm_titlebar_end_get(Evas_Object *obj);
2019 typedef enum _Elm_Popup_Response
2021 ELM_POPUP_RESPONSE_NONE = -1,
2022 ELM_POPUP_RESPONSE_TIMEOUT = -2,
2023 ELM_POPUP_RESPONSE_OK = -3,
2024 ELM_POPUP_RESPONSE_CANCEL = -4,
2025 ELM_POPUP_RESPONSE_CLOSE = -5
2026 } Elm_Popup_Response;
2028 typedef enum _Elm_Popup_Mode
2030 ELM_POPUP_TYPE_NONE = 0,
2031 ELM_POPUP_TYPE_ALERT = (1 << 0)
2034 typedef enum _Elm_Popup_Orient
2036 ELM_POPUP_ORIENT_TOP,
2037 ELM_POPUP_ORIENT_CENTER,
2038 ELM_POPUP_ORIENT_BOTTOM,
2039 ELM_POPUP_ORIENT_LEFT,
2040 ELM_POPUP_ORIENT_RIGHT,
2041 ELM_POPUP_ORIENT_TOP_LEFT,
2042 ELM_POPUP_ORIENT_TOP_RIGHT,
2043 ELM_POPUP_ORIENT_BOTTOM_LEFT,
2044 ELM_POPUP_ORIENT_BOTTOM_RIGHT
2047 /* smart callbacks called:
2048 * "response" - when ever popup is closed, this signal is sent with appropriate response id.".
2051 EAPI Evas_Object *elm_popup_add(Evas_Object *parent);
2052 EAPI void elm_popup_desc_set(Evas_Object *obj, const char *text);
2053 EAPI const char *elm_popup_desc_get(Evas_Object *obj);
2054 EAPI void elm_popup_title_label_set(Evas_Object *obj, const char *text);
2055 EAPI const char *elm_popup_title_label_get(Evas_Object *obj);
2056 EAPI void elm_popup_title_icon_set(Evas_Object *obj, Evas_Object *icon);
2057 EAPI Evas_Object *elm_popup_title_icon_get(Evas_Object *obj);
2058 EAPI void elm_popup_content_set(Evas_Object *obj, Evas_Object *content);
2059 EAPI Evas_Object* elm_popup_content_get(Evas_Object *obj);
2060 EAPI void elm_popup_buttons_add(Evas_Object *obj,int no_of_buttons, char *first_button_text, ...);
2061 EAPI Evas_Object* elm_popup_with_buttons_add(Evas_Object *parent, char *title, char *desc_text,int no_of_buttons, char *first_button_text, ... );
2062 EAPI void elm_popup_timeout_set(Evas_Object *obj, int timeout);
2063 EAPI void elm_popup_mode_set(Evas_Object *obj, Elm_Popup_Mode mode);
2064 EAPI void elm_popup_response(Evas_Object *obj, int response_id);
2065 EAPI void elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient);
2066 EINA_DEPRECATED EAPI void elm_popup_rotation_set(Evas_Object *obj, int rot_angle);
2067 EAPI int elm_popup_run(Evas_Object *obj);
2068 /* Contextual Popup */
2069 typedef struct _Ctxpopup_Item Elm_Ctxpopup_Item;
2071 typedef enum _Ctxpopup_Arrow_Direction
2073 ELM_CTXPOPUP_ARROW_DOWN,
2074 ELM_CTXPOPUP_ARROW_RIGHT,
2075 ELM_CTXPOPUP_ARROW_LEFT,
2076 ELM_CTXPOPUP_ARROW_UP,
2077 } Elm_Ctxpopup_Arrow;
2079 EAPI Evas_Object *elm_ctxpopup_add(Evas_Object *parent);
2080 EAPI void elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
2081 EAPI Eina_Bool elm_ctxpopup_horizontal_get(Evas_Object *obj);
2082 EAPI void elm_ctxpopup_item_icon_set(Elm_Ctxpopup_Item *item, Evas_Object *icon);
2083 EAPI void elm_ctxpopup_item_label_set(Elm_Ctxpopup_Item *item, const char *label);
2084 EINA_DEPRECATED EAPI Elm_Ctxpopup_Item *elm_ctxpopup_label_add(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data);
2085 EINA_DEPRECATED EAPI Elm_Ctxpopup_Item *elm_ctxpopup_icon_add(Evas_Object *obj, Evas_Object *icon, Evas_Smart_Cb func, void *data);
2086 EAPI Elm_Ctxpopup_Item *elm_ctxpopup_item_add(Evas_Object *obj, Evas_Object *icon, const char* label, Evas_Smart_Cb func, void *data);
2087 EAPI void elm_ctxpopup_item_del(Elm_Ctxpopup_Item *item);
2088 EAPI void elm_ctxpopup_item_disabled_set(Elm_Ctxpopup_Item *item, Eina_Bool disabled);
2089 EAPI void elm_ctxpopup_clear(Evas_Object *obj);
2090 EAPI const char *elm_ctxpopup_item_label_get(Elm_Ctxpopup_Item *item);
2091 EAPI Evas_Object *elm_ctxpopup_item_icon_get(Elm_Ctxpopup_Item *item);
2092 EAPI void elm_ctxpopup_scroller_disabled_set(Evas_Object *obj, Eina_Bool disabled);
2093 EAPI void elm_ctxpopup_screen_dimmed_disabled_set(Evas_Object *obj, Eina_Bool disabled);
2094 EAPI void elm_ctxpopup_button_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, const void *data);
2095 EAPI void elm_ctxpopup_arrow_priority_set(Evas_Object *obj, Elm_Ctxpopup_Arrow first, Elm_Ctxpopup_Arrow second, Elm_Ctxpopup_Arrow third, Elm_Ctxpopup_Arrow fourth);
2096 EAPI void elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content);
2097 EAPI Evas_Object *elm_ctxpopup_content_unset(Evas_Object *obj);
2098 EAPI void elm_ctxpopup_position_forced_set(Evas_Object *obj, Eina_Bool forced);
2099 EAPI Eina_Bool elm_ctxpopup_position_forced_get(Evas_Object *obj);
2100 EAPI void elm_ctxpopup_area_set(Evas_Object *obj, Evas_Object *rect);
2102 /* QuickContactBadge */
2103 typedef struct _Quickcontactbadge_Item Elm_Quickcontactbadge_Item;
2105 EAPI Evas_Object *elm_quickcontactbadge_add(Evas_Object* parent);
2106 EAPI void elm_quickcontactbadge_item_icon_set(Elm_Quickcontactbadge_Item* item, Evas_Object* icon);
2107 EAPI Elm_Quickcontactbadge_Item* elm_quickcontactbadge_icon_add( Evas_Object* obj, Evas_Object* icon, void (*func ) (void* data, Evas_Object* obj, void* event_info ), const void* data );
2108 EAPI void elm_quickcontactbadge_item_del(Elm_Quickcontactbadge_Item* item);
2109 EAPI void elm_quickcontactbadge_clear(Evas_Object* obj);
2110 EAPI void elm_quickcontactbadge_horizontal_set( Evas_Object* obj, Eina_Bool horizontal );
2111 EAPI Evas_Object *elm_quickcontactbadge_item_icon_get( Elm_Quickcontactbadge_Item* item );
2114 typedef enum _Elm_Tab_Move_Type
2116 ELM_TAB_MOVE_LEFT = 0,
2117 ELM_TAB_MOVE_RIGHT = 1
2118 } Elm_Tab_Move_Type;
2120 typedef enum _Elm_Tab_Mode_Type
2122 ELM_TAB_PORTRAIT_2 = 2,
2123 ELM_TAB_PORTRAIT_3 = 3,
2124 ELM_TAB_PORTRAIT_4 = 4,
2125 ELM_TAB_LANDSCAPE_2 = 12,
2126 ELM_TAB_LANDSCAPE_3 = 13,
2127 ELM_TAB_LANDSCAPE_4 = 14,
2128 ELM_TAB_LANDSCAPE_5 = 15,
2129 } Elm_Tab_Mode_Type;
2131 typedef struct _Elm_Tab_Item Elm_Tab_Item;
2133 EAPI Evas_Object *elm_tab_add(Evas_Object *parent);
2134 EAPI void elm_tab_set(Evas_Object *obj, int mode);
2135 EAPI Elm_Tab_Item *elm_tab_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, void (*func) (void *data, Evas_Object *obj, void *event_info), const void *data);
2136 EAPI void elm_tab_item_del(Elm_Tab_Item *item);
2137 EAPI void elm_tab_item_select(Elm_Tab_Item *item);
2138 EAPI Evas_Object *elm_tab_item_icon_get(Elm_Tab_Item *item);
2139 EAPI const char *elm_tab_item_label_get(Elm_Tab_Item *item);
2140 EAPI void elm_tab_item_label_set(Elm_Tab_Item *item, const char *label);
2141 EAPI void elm_tab_item_badge_set(Elm_Tab_Item *item, const int badge);
2142 EAPI Elm_Tab_Item *elm_tab_selected_item_get(Evas_Object *obj);
2143 EAPI Elm_Tab_Item *elm_tab_first_item_get(Evas_Object *obj);
2144 EAPI Elm_Tab_Item *elm_tab_last_item_get(Evas_Object *obj);
2145 EAPI Eina_List *elm_tab_items_get(Evas_Object *obj);
2146 EAPI Elm_Tab_Item *elm_tab_item_prev(Elm_Tab_Item *item);
2147 EAPI Elm_Tab_Item *elm_tab_item_next(Elm_Tab_Item *item);
2148 EAPI void elm_tab_move(Evas_Object *obj, int direction);
2149 EAPI void elm_tab_edit_disable_set(Evas_Object *obj, Eina_Bool disable);
2150 EAPI Eina_Bool elm_tab_edit_disable_get(Evas_Object *obj);
2153 typedef struct _transit Elm_Transit;
2154 typedef struct _effect Elm_Effect;
2156 EAPI Elm_Transit *elm_transit_add(Evas_Object *parent);
2157 EAPI void elm_transit_del(Elm_Transit *transit);
2158 EAPI void elm_transit_run(Elm_Transit *transit, double duration);
2159 EAPI void elm_transit_stop(Elm_Transit *transit);
2160 EAPI void elm_transit_completion_callback_set(Elm_Transit *transit, void (*op)(void *data,Elm_Transit* transit), void *data);
2161 EAPI void elm_transit_repeat_set(Elm_Transit *transit, unsigned int repeat);
2162 EAPI void elm_transit_auto_reverse_set(Elm_Transit *transit, Eina_Bool reverse);
2163 EAPI void elm_transit_curve_style_set(Elm_Transit *transit, Elm_Animator_Curve_Style cs);
2164 EAPI void elm_transit_event_block_disabled_set(Elm_Transit *transit, Eina_Bool disabled);
2165 EAPI Eina_Bool elm_transit_fx_insert(Elm_Transit *transit, Elm_Effect *effect);
2166 EAPI void elm_transit_fx_clear(Elm_Transit *transit);
2167 EAPI Eina_Bool elm_transit_event_block_disabled_get(Elm_Transit *transit);
2168 EAPI void elm_transit_pause(Elm_Transit *transit);
2169 EAPI void elm_transit_resume(Elm_Transit *transit);
2171 /* Translation FX */
2172 EAPI Elm_Effect *elm_fx_translation_add(Evas_Object *obj, Evas_Coord from_x, Evas_Coord from_y, Evas_Coord to_x, Evas_Coord to_y);
2175 EAPI Elm_Effect *elm_fx_resizing_add(Evas_Object *obj, Evas_Coord from_w, Evas_Coord from_h, Evas_Coord to_w, Evas_Coord to_h);
2178 EAPI Elm_Effect *elm_fx_zoom_add(Evas_Object *obj, float from_rate, float to_rate);
2186 EAPI Elm_Effect *elm_fx_flip_add( Evas_Object *front, Evas_Object *back, Elm_Fx_Flip_Axis axis, Eina_Bool cw);
2189 EAPI Elm_Effect *elm_fx_blend_add(Evas_Object *before, Evas_Object *after);
2192 EAPI Elm_Effect *elm_fx_fade_add(Evas_Object *before, Evas_Object *after);
2195 EAPI Elm_Effect *elm_fx_rotation_add(Evas_Object *obj, float from_degree, float to_degree, Eina_Bool cw);
2198 EAPI Elm_Effect *elm_fx_color_add(Evas_Object *obj, unsigned int from_r, unsigned int from_g, unsigned int from_b, unsigned int from_a, unsigned int to_r, unsigned int to_g, unsigned int to_b, unsigned int to_a);
2204 ELM_FX_WIPE_DIR_LEFT,
2205 ELM_FX_WIPE_DIR_RIGHT,
2206 ELM_FX_WIPE_DIR_DOWN
2211 ELM_FX_WIPE_TYPE_HIDE,
2212 ELM_FX_WIPE_TYPE_SHOW
2214 EAPI Elm_Effect *elm_fx_wipe_add(Evas_Object *obj, Elm_Fx_Wipe_Type type, Elm_Fx_Wipe_Dir dir);
2216 /* ResizableFlip Fx */
2217 EAPI Elm_Effect *elm_fx_resizable_flip_add(Evas_Object *front, Evas_Object *back, Elm_Fx_Flip_Axis axis, Eina_Bool cw);
2219 /* ImageAnimation Fx */
2220 EAPI Elm_Effect *elm_fx_image_animation_add(Evas_Object *icon, const char** images, unsigned int img_cnt);
2225 ELM_NAVIGATIONBAR_FUNCTION_BUTTON1,
2226 ELM_NAVIGATIONBAR_FUNCTION_BUTTON2,
2227 ELM_NAVIGATIONBAR_FUNCTION_BUTTON3,
2228 ELM_NAVIGATIONBAR_BACK_BUTTON
2229 } Elm_Navi_Button_Type;
2231 EAPI Evas_Object *elm_navigationbar_add(Evas_Object *parent);
2232 EAPI void elm_navigationbar_push(Evas_Object *obj, const char *title, Evas_Object *fn_btn1, Evas_Object *fn_btn2, Evas_Object *fn_btn3, Evas_Object *content);
2233 EAPI void elm_navigationbar_pop(Evas_Object *obj);
2234 EAPI void elm_navigationbar_to_content_pop(Evas_Object *obj, Evas_Object *content);
2235 EAPI void elm_navigationbar_title_label_set(Evas_Object *obj, Evas_Object *content, const char *title);
2236 EAPI const char *elm_navigationbar_title_label_get(Evas_Object *obj, Evas_Object *content);
2237 EAPI void elm_navigationbar_title_object_add(Evas_Object *obj, Evas_Object *content, Evas_Object *title_obj);
2238 EAPI Eina_List *elm_navigationbar_title_object_list_get(Evas_Object *obj, Evas_Object *content);
2239 EAPI Evas_Object *elm_navigationbar_content_top_get(Evas_Object *obj);
2240 EAPI Evas_Object *elm_navigationbar_content_bottom_get(Evas_Object *obj);
2241 EAPI void elm_navigationbar_hidden_set(Evas_Object *obj, Eina_Bool hidden);
2242 EAPI void elm_navigationbar_title_button_set(Evas_Object *obj, Evas_Object *content, Evas_Object *button, Elm_Navi_Button_Type button_type);
2243 EAPI Evas_Object *elm_navigationbar_title_button_get(Evas_Object *obj, Evas_Object *content, Elm_Navi_Button_Type button_type);
2244 EAPI const char *elm_navigationbar_subtitle_label_get(Evas_Object *obj, Evas_Object *content);
2245 EAPI void elm_navigationbar_subtitle_label_set(Evas_Object *obj, Evas_Object *content, const char *subtitle);
2246 EAPI void elm_navigationbar_title_object_list_unset(Evas_Object *obj, Evas_Object *content, Eina_List **list);
2251 ELM_NAVIGATIONBAR_EX_BACK_BUTTON,
2252 ELM_NAVIGATIONBAR_EX_FUNCTION_BUTTON1,
2253 ELM_NAVIGATIONBAR_EX_FUNCTION_BUTTON2,
2254 ELM_NAVIGATIONBAR_EX_FUNCTION_BUTTON3,
2255 ELM_NAVIGATIONBAR_EX_MAX
2256 } Elm_Navi_ex_Button_Type;
2257 typedef struct _Elm_Navigationbar_ex_Item Elm_Navigationbar_ex_Item;
2259 EAPI Evas_Object *elm_navigationbar_ex_add(Evas_Object *parent);
2260 EAPI Elm_Navigationbar_ex_Item *elm_navigationbar_ex_item_push(Evas_Object *obj, Evas_Object *content, const char *item_style);
2261 EAPI void elm_navigationbar_ex_item_pop(Evas_Object *obj);
2262 EAPI void elm_navigationbar_ex_item_promote(Elm_Navigationbar_ex_Item* item);
2263 EAPI void elm_navigationbar_ex_to_item_pop(Elm_Navigationbar_ex_Item* item);
2264 EAPI void elm_navigationbar_ex_item_title_label_set(Elm_Navigationbar_ex_Item *item, const char *title);
2265 EAPI const char *elm_navigationbar_ex_item_title_label_get(Elm_Navigationbar_ex_Item* item);
2266 EAPI Elm_Navigationbar_ex_Item *elm_navigationbar_ex_item_top_get(const Evas_Object *obj);
2267 EAPI Elm_Navigationbar_ex_Item *elm_navigationbar_ex_item_bottom_get(const Evas_Object *obj);
2268 EAPI void elm_navigationbar_ex_item_title_button_set(Elm_Navigationbar_ex_Item* item, char *btn_label, Evas_Object *icon, int button_type, Evas_Smart_Cb func, const void *data);
2269 EAPI Evas_Object *elm_navigationbar_ex_item_title_button_get(Elm_Navigationbar_ex_Item* item, int button_type);
2270 EAPI void elm_navigationbar_ex_item_title_object_set(Elm_Navigationbar_ex_Item* item, Evas_Object *title_obj);
2271 EAPI Evas_Object *elm_navigationbar_ex_item_title_object_unset(Elm_Navigationbar_ex_Item* item);
2272 EAPI void elm_navigationbar_ex_item_title_hidden_set(Elm_Navigationbar_ex_Item* item, Eina_Bool hidden);
2273 EAPI Evas_Object *elm_navigationbar_ex_item_title_object_get(Elm_Navigationbar_ex_Item* item);
2274 EAPI const char *elm_navigationbar_ex_item_subtitle_label_get(Elm_Navigationbar_ex_Item* item);
2275 EAPI void elm_navigationbar_ex_item_subtitle_label_set( Elm_Navigationbar_ex_Item* item, const char *subtitle);
2276 EAPI void elm_navigationbar_ex_item_style_set(Elm_Navigationbar_ex_Item* item, const char* item_style);
2277 EAPI const char *elm_navigationbar_ex_item_style_get(Elm_Navigationbar_ex_Item* item);
2278 EAPI Evas_Object *elm_navigationbar_ex_item_content_unset(Elm_Navigationbar_ex_Item* item);
2279 EAPI Evas_Object *elm_navigationbar_ex_item_content_get(Elm_Navigationbar_ex_Item* item);
2280 EAPI void elm_navigationbar_ex_delete_on_pop_set(Evas_Object *obj, Eina_Bool del_on_pop);
2281 EAPI Evas_Object *elm_navigationbar_ex_item_icon_get(Elm_Navigationbar_ex_Item* item);
2282 EAPI void elm_navigationbar_ex_item_icon_set(Elm_Navigationbar_ex_Item* item, Evas_Object *icon);
2286 #define TAB_BAR_SYSTEM_ICON_CONTACT "elm/icon/tabbar_contact/default"
2287 #define TAB_BAR_SYSTEM_ICON_GROUP "elm/icon/tabbar_group/default"
2288 #define TAB_BAR_SYSTEM_ICON_SONG "elm/icon/tabbar_song/default"
2289 #define TAB_BAR_SYSTEM_ICON_FAVORITES "elm/icon/tabbar_favorites/default"
2290 #define TAB_BAR_SYSTEM_ICON_SEARCH "elm/icon/tabbar_search/default"
2291 #define TAB_BAR_SYSTEM_ICON_MESSAGE "elm/icon/tabbar_message/default"
2292 #define TAB_BAR_SYSTEM_ICON_SETTING "elm/icon/tabbar_setting/default"
2294 EAPI Evas_Object *elm_tabbar_add(Evas_Object *parent);
2295 EAPI Elm_Tab_Item *elm_tabbar_item_add(Evas_Object *obj, const char *icon_path, const char *label, Evas_Object *view);
2296 EAPI Evas_Object *elm_tabbar_item_icon_get(Elm_Tab_Item *it);
2297 EAPI const char *elm_tabbar_item_label_get(Elm_Tab_Item *it);
2298 EAPI void elm_tabbar_item_label_set(Elm_Tab_Item *it, const char *label);
2299 EAPI void elm_tabbar_item_select(Elm_Tab_Item *it);
2300 EAPI void elm_tabbar_edit_start(Evas_Object *obj);
2301 EAPI void elm_tabbar_item_visible_set(Elm_Tab_Item *it, Eina_Bool bar);
2303 /* smart callbacks called:
2304 * "clicked" - when item clicked
2308 #define CONTROLBAR_SYSTEM_ICON_ALBUMS "controlbar_albums"
2309 #define CONTROLBAR_SYSTEM_ICON_ARTISTS "controlbar_artists"
2310 #define CONTROLBAR_SYSTEM_ICON_SONGS "controlbar_songs"
2311 #define CONTROLBAR_SYSTEM_ICON_PLAYLIST "controlbar_playlist"
2312 #define CONTROLBAR_SYSTEM_ICON_MORE "controlbar_more"
2313 #define CONTROLBAR_SYSTEM_ICON_CONTACTS "controlbar_contacts"
2314 #define CONTROLBAR_SYSTEM_ICON_DIALER "controlbar_dialer"
2315 #define CONTROLBAR_SYSTEM_ICON_FAVORITES "controlbar_favorites"
2316 #define CONTROLBAR_SYSTEM_ICON_LOGS "controlbar_logs"
2318 typedef enum _Elm_Controlbar_Mode_Type
2320 ELM_CONTROLBAR_MODE_DEFAULT = 0,
2321 ELM_CONTROLBAR_MODE_TRANSLUCENCE,
2322 ELM_CONTROLBAR_MODE_TRANSPARENCY,
2323 ELM_CONTROLBAR_MODE_LARGE,
2324 ELM_CONTROLBAR_MODE_SMALL
2325 } Elm_Controlbar_Mode_Type;
2327 typedef struct _Elm_Controlbar_Item Elm_Controlbar_Item;
2329 EAPI Evas_Object *elm_controlbar_add(Evas_Object *parent);
2330 EAPI Elm_Controlbar_Item *elm_controlbar_tab_item_append(Evas_Object *obj, const char *icon_path, const char *label, Evas_Object *view);
2331 EAPI Elm_Controlbar_Item *elm_controlbar_tab_item_prepend(Evas_Object *obj, const char *icon_path, const char *label, Evas_Object *view);
2332 EAPI Elm_Controlbar_Item *elm_controlbar_tab_item_insert_before(Evas_Object *obj, Elm_Controlbar_Item *before, const char *icon_path, const char *label, Evas_Object *view);
2333 EAPI Elm_Controlbar_Item *elm_controlbar_tab_item_insert_after(Evas_Object *obj, Elm_Controlbar_Item *after, const char *icon_path, const char *label, Evas_Object *view);
2334 EAPI Elm_Controlbar_Item *elm_controlbar_tool_item_append(Evas_Object *obj, const char *icon_path, const char *label, void (*func) (void *data, Evas_Object *obj, void *event_info), void *data);
2335 EAPI Elm_Controlbar_Item *elm_controlbar_tool_item_prepend(Evas_Object *obj, const char *icon_path, const char *label, void (*func) (void *data, Evas_Object *obj, void *event_info), void *data);
2336 EAPI Elm_Controlbar_Item *elm_controlbar_tool_item_insert_before(Evas_Object *obj, Elm_Controlbar_Item *before, const char *icon_path, const char *label, void (*func) (void *data, Evas_Object *obj, void *event_info), void *data);
2337 EAPI Elm_Controlbar_Item *elm_controlbar_tool_item_insert_after(Evas_Object *obj, Elm_Controlbar_Item *after, const char *icon_path, const char *label, void (*func) (void *data, Evas_Object *obj, void *event_info), void *data);
2338 EAPI Elm_Controlbar_Item *elm_controlbar_object_item_append(Evas_Object *obj, Evas_Object *obj_item, const int sel);
2339 EAPI Elm_Controlbar_Item *elm_controlbar_object_item_prepend(Evas_Object *obj, Evas_Object *obj_item, const int sel);
2340 EAPI Elm_Controlbar_Item *elm_controlbar_object_item_insert_before(Evas_Object *obj, Elm_Controlbar_Item *before, Evas_Object *obj_item, const int sel);
2341 EAPI Elm_Controlbar_Item *elm_controlbar_object_item_insert_after(Evas_Object *obj, Elm_Controlbar_Item *after, Evas_Object *obj_item, const int sel);
2342 EAPI void elm_controlbar_item_del(Elm_Controlbar_Item *it);
2343 EAPI void elm_controlbar_item_select(Elm_Controlbar_Item *it);
2344 EAPI void elm_controlbar_item_visible_set(Elm_Controlbar_Item *it, Eina_Bool bar);
2345 EAPI Eina_Bool elm_controlbar_item_visible_get(Elm_Controlbar_Item * it);
2346 EAPI void elm_controlbar_item_disable_set(Elm_Controlbar_Item * it, Eina_Bool disable);
2347 EAPI void elm_controlbar_item_icon_set(Elm_Controlbar_Item *it, const char *icon_path);
2348 EAPI Evas_Object *elm_controlbar_item_icon_get(Elm_Controlbar_Item *it);
2349 EAPI void elm_controlbar_item_label_set(Elm_Controlbar_Item *it, const char *label);
2350 EAPI const char *elm_controlbar_item_label_get(Elm_Controlbar_Item *it);
2351 EAPI Elm_Controlbar_Item *elm_controlbar_selected_item_get(Evas_Object *obj);
2352 EAPI Elm_Controlbar_Item *elm_controlbar_first_item_get(Evas_Object *obj);
2353 EAPI Elm_Controlbar_Item *elm_controlbar_last_item_get(Evas_Object *obj);
2354 EAPI Eina_List *elm_controlbar_items_get(Evas_Object *obj);
2355 EAPI Elm_Controlbar_Item *elm_controlbar_item_prev(Elm_Controlbar_Item *it);
2356 EAPI Elm_Controlbar_Item *elm_controlbar_item_next(Elm_Controlbar_Item *it);
2357 EAPI void elm_controlbar_item_view_set(Elm_Controlbar_Item *it, Evas_Object * view);
2358 EAPI void elm_controlbar_mode_set(Evas_Object *obj, int mode);
2359 EAPI void elm_controlbar_alpha_set(Evas_Object *obj, int alpha);
2360 EAPI void elm_controlbar_item_auto_align_set(Evas_Object *obj, Eina_Bool auto_align);
2361 /*======= Please don't use this APIs =======*/
2362 EAPI void elm_controlbar_edit_start(Evas_Object *obj);
2363 EAPI void elm_controlbar_item_editable_set(Elm_Controlbar_Item *it, Eina_Bool editable);
2364 EAPI void elm_controlbar_view_set(Evas_Object *obj, Evas_Object *view);
2365 EAPI void elm_controlbar_animation_set(Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, void *event_info), void *data);
2366 EAPI void elm_controlbar_item_animation_set(Evas_Object *obj, Eina_Bool auto_animation, Eina_Bool selected_animation);
2367 /*======= Just for test =======*/
2370 /* diskcontroller */
2371 typedef struct _Elm_Diskcontroller_Item Elm_Diskcontroller_Item;
2373 EAPI Evas_Object *elm_diskcontroller_add(Evas_Object *parent);
2374 EAPI void elm_diskcontroller_round_set(Evas_Object *obj, Eina_Bool round);
2375 EAPI Elm_Diskcontroller_Item *elm_diskcontroller_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, void (*func) (void *data, Evas_Object *obj, void *event_info), const void *data);
2376 EAPI void elm_diskcontroller_item_del(Elm_Diskcontroller_Item *it);
2377 EAPI const char *elm_diskcontroller_item_label_get(Elm_Diskcontroller_Item *it);
2378 EAPI void elm_diskcontroller_item_label_set(Elm_Diskcontroller_Item *it, const char *label);
2379 EAPI void elm_diskcontroller_item_focus_set(Elm_Diskcontroller_Item *it);
2380 /* smart callbacks called:
2381 * "stop" - when scroller stop
2385 EAPI Evas_Object *elm_searchbar_add(Evas_Object *parent);
2386 EAPI void elm_searchbar_text_set(Evas_Object *obj, const char *entry);
2387 EAPI const char *elm_searchbar_text_get(Evas_Object *obj);
2388 EAPI Evas_Object *elm_searchbar_entry_get(Evas_Object *obj);
2389 EAPI void elm_searchbar_cancel_button_animation_set(Evas_Object *obj, Eina_Bool cancel_btn_ani_flag);
2390 EAPI void elm_searchbar_cancel_button_set(Evas_Object *obj, Eina_Bool visible);
2391 EAPI void elm_searchbar_clear(Evas_Object *obj);
2392 EAPI void elm_searchbar_boundary_rect_set(Evas_Object *obj, Eina_Bool boundary);
2395 typedef enum _Elm_Actionsheet_Button_Type
2397 ELM_ACTIONSHEET_BT_NORMAL = 0,
2398 ELM_ACTIONSHEET_BT_CANCEL,
2399 ELM_ACTIONSHEET_BT_DESTRUCTIVE
2400 } Elm_Actionsheet_Button_Type;
2402 EAPI Evas_Object *elm_actionsheet_add(Evas_Object *parent);
2403 EAPI void elm_actionsheet_title_set(Evas_Object *obj, const char *title);
2404 EAPI void elm_actionsheet_button_add(Evas_Object *obj, const Elm_Actionsheet_Button_Type type, const char *title, void (*button_clicked_cb) (void *data, Evas_Object *obj, void *event_info), void *event_info);
2405 EAPI int elm_actionsheet_button_title_get(Evas_Object *obj, const int index, char **title);
2408 typedef struct _Elm_Toolbar2_Item Elm_Toolbar2_Item;
2409 EINA_DEPRECATED EAPI Evas_Object *elm_toolbar2_add(Evas_Object *parent);
2410 EINA_DEPRECATED EAPI void elm_toolbar2_icon_size_set(Evas_Object *obj, int icon_size);
2411 EINA_DEPRECATED EAPI int elm_toolbar2_icon_size_get(Evas_Object *obj);
2412 EINA_DEPRECATED EAPI Elm_Toolbar2_Item *elm_toolbar2_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, void (*func) (void *data, Evas_Object *obj, void *event_info), const void *data);
2413 EINA_DEPRECATED EAPI Evas_Object *elm_toolbar2_item_icon_get(Elm_Toolbar2_Item *item);
2414 EINA_DEPRECATED EAPI void elm_toolbar2_item_del(Elm_Toolbar2_Item *it);
2415 EINA_DEPRECATED EAPI void elm_toolbar2_item_del_cb_set(Elm_Toolbar2_Item *it, void (*func)(void *data, Evas_Object *obj, void *event_info));
2416 EINA_DEPRECATED EAPI void elm_toolbar2_scrollable_set(Evas_Object *obj, Eina_Bool scrollable);
2417 EINA_DEPRECATED EAPI void elm_toolbar2_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
2418 EINA_DEPRECATED EAPI void elm_toolbar2_align_set(Evas_Object *obj, double align);
2421 EAPI Evas_Object *elm_colorpicker_add(Evas_Object *parent);
2422 EAPI void elm_colorpicker_color_set(Evas_Object *obj, int r, int g , int b);
2423 EAPI void elm_colorpicker_color_get(Evas_Object *obj, int *r, int *g , int *b);
2424 /* smart callbacks called:
2425 * "changed" - when color is changed
2430 typedef struct _Colorpalette_Color Elm_Colorpalette_Color;
2432 struct _Colorpalette_Color
2434 unsigned int r, g, b;
2437 EAPI Evas_Object *elm_colorpalette_add(Evas_Object *parent);
2438 EAPI void elm_colorpalette_color_set(Evas_Object *obj, int color_num, Elm_Colorpalette_Color *color);
2439 EAPI void elm_colorpalette_row_column_set(Evas_Object *obj, int row, int col);
2440 /* smart callbacks called:
2441 * "clicked" - when image clicked
2445 EAPI Evas_Object *elm_editfield_add(Evas_Object *parent);
2446 EAPI void elm_editfield_label_set(Evas_Object *obj, const char *label);
2447 EAPI const char *elm_editfield_label_get(Evas_Object *obj);
2448 EAPI void elm_editfield_guide_text_set(Evas_Object *obj, const char *text);
2449 EAPI const char *elm_editfield_guide_text_get(Evas_Object *obj);
2450 EAPI Evas_Object *elm_editfield_entry_get(Evas_Object *obj);
2451 // EAPI Evas_Object *elm_editfield_clear_button_show(Evas_Object *obj, Eina_Bool show);
2452 EAPI void elm_editfield_right_icon_set(Evas_Object *obj, Evas_Object *icon);
2453 EAPI Evas_Object *elm_editfield_right_icon_get(Evas_Object *obj);
2454 EAPI void elm_editfield_left_icon_set(Evas_Object *obj, Evas_Object *icon);
2455 EAPI Evas_Object *elm_editfield_left_icon_get(Evas_Object *obj);
2456 EAPI void elm_editfield_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
2457 EAPI Eina_Bool elm_editfield_entry_single_line_get(Evas_Object *obj);
2458 EAPI void elm_editfield_eraser_set(Evas_Object *obj, Eina_Bool visible);
2459 EAPI Eina_Bool elm_editfield_eraser_get(Evas_Object *obj);
2460 /* smart callbacks called:
2461 * "clicked" - when an editfield is clicked
2462 * "unfocused" - when an editfield is unfocused
2475 typedef struct _Elm_Softkey_Item Elm_Softkey_Item;
2476 EAPI Evas_Object *elm_softkey_add(Evas_Object *parent);
2477 EAPI Elm_Softkey_Item *elm_softkey_button_add(Evas_Object *obj, Elm_Softkey_Type type, Evas_Object *icon, const char *label, void (*func)(void *data, Evas_Object *obj, void *event_info), const void *data);
2478 EAPI void elm_softkey_button_del(Evas_Object *obj, Elm_Softkey_Type type);
2479 EAPI void elm_softkey_button_show(Evas_Object *obj, Elm_Softkey_Type type);
2480 EAPI void elm_softkey_button_hide(Evas_Object *obj, Elm_Softkey_Type type);
2482 EAPI Elm_Softkey_Item *elm_softkey_panel_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, void (*func)(void *data, Evas_Object *obj, void *event_info), const void *data);
2483 EAPI int elm_softkey_panel_del(Evas_Object *obj);
2484 EAPI int elm_softkey_panel_close(Evas_Object *obj);
2485 EAPI int elm_softkey_panel_open(Evas_Object *obj);
2487 EAPI void elm_softkey_item_icon_set(Elm_Softkey_Item *item, Evas_Object *icon);
2488 EAPI Evas_Object *elm_softkey_item_icon_get(Elm_Softkey_Item * item);
2489 EAPI void elm_softkey_item_label_set(Elm_Softkey_Item *item, const char *label);
2490 EAPI const char *elm_softkey_item_label_get(Elm_Softkey_Item * item);
2491 EAPI Eina_Bool elm_softkey_item_disabled_get(Elm_Softkey_Item *item);
2492 EAPI void elm_softkey_item_disabled_set(Elm_Softkey_Item *item, Eina_Bool disabled);
2493 EAPI void elm_softkey_item_callback_set(Elm_Softkey_Item* item, void (*func)(void *data, Evas_Object *obj, void *event_info), const void *data );
2494 /* smart callback called:
2495 * "clicked" - the user clicked the button, event_info: Softkey item
2496 * "press" - the user press the button, event_info: Softkey item
2497 * "panel,show" - when the panel is shown
2498 * "panel,hide" - when the panel is hidden
2502 EAPI Evas_Object *elm_gridbox_add(Evas_Object *parent);
2503 EAPI void elm_gridbox_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical);
2504 EAPI void elm_gridbox_item_size_set(Evas_Object *obj, Evas_Coord h_itemsize, Evas_Coord v_itemsize);
2505 EAPI void elm_gridbox_pack(Evas_Object *obj, Evas_Object *subobj);
2506 EAPI Eina_Bool elm_gridbox_unpack(Evas_Object *obj, Evas_Object *subobj);
2507 EAPI Eina_List *elm_gridbox_children_get(Evas_Object *obj);
2508 EAPI void elm_gridbox_homogenous_padding_set(Evas_Object *obj, Eina_Bool homogenous);
2511 typedef enum _Elm_Actionslider_Indicator_Pos
2513 ELM_ACTIONSLIDER_INDICATOR_LEFT,
2514 ELM_ACTIONSLIDER_INDICATOR_RIGHT,
2515 ELM_ACTIONSLIDER_INDICATOR_CENTER
2516 } Elm_Actionslider_Indicator_Pos;
2518 typedef enum _Elm_Actionslider_Magnet_Pos
2520 ELM_ACTIONSLIDER_MAGNET_LEFT,
2521 ELM_ACTIONSLIDER_MAGNET_RIGHT,
2522 ELM_ACTIONSLIDER_MAGNET_BOTH,
2523 ELM_ACTIONSLIDER_MAGNET_CENTER
2524 } Elm_Actionslider_Magnet_Pos;
2526 typedef enum _Elm_Actionslider_Label_Pos
2528 ELM_ACTIONSLIDER_LABEL_LEFT,
2529 ELM_ACTIONSLIDER_LABEL_RIGHT,
2530 ELM_ACTIONSLIDER_LABEL_CENTER,
2531 ELM_ACTIONSLIDER_LABEL_BUTTON
2532 } Elm_Actionslider_Label_Pos;
2534 EAPI Evas_Object *elm_actionslider_add(Evas_Object *parent);
2535 EAPI void elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Indicator_Pos pos);
2536 EAPI void elm_actionslider_magnet_pos_set(Evas_Object *obj, Elm_Actionslider_Magnet_Pos pos);
2537 EAPI void elm_actionslider_label_set(Evas_Object *obj, Elm_Actionslider_Label_Pos pos, const char *label);
2538 EAPI void elm_actionslider_hold(Evas_Object *obj, Eina_Bool flag);
2539 /* smart callbacks called:
2540 * "indicator,position" - when a button reaches to the special position like "left", "right" and "center".
2544 EINA_DEPRECATED EAPI Evas_Object *elm_zoomcontrols_add(Evas_Object *parent);
2545 EINA_DEPRECATED EAPI void elm_zoomcontrols_range_set(Evas_Object *obj, int range);
2546 /* smart callbacks called:
2547 * "up_clicked" - when up button of zoomcontrols is clicked
2548 * "down_clicked" - when down button of zoomcontrols is clicked
2552 typedef enum _Elm_Viewflipper_Policy
2554 ERROR_0 = -1, //can not find wanted value
2557 ERROR_1 =1001, //confrim parameter is layout or not
2558 ERROR_2 , //confrim memory check
2559 ERROR_3 , //data is empty
2560 ERROR_4 , //check the range
2561 ERROR_5 , //Non need operation
2562 ERROR_6 , //waiting gui
2563 ERROR_7 , //timer second is not setup or can not time setup
2567 } Elm_Viewflipper_Policy;
2568 EINA_DEPRECATED EAPI int elm_viewflipper_isFlipbutton();
2569 EINA_DEPRECATED EAPI int elm_viewflipper_isAutoStart();
2570 EINA_DEPRECATED EAPI int elm_viewflipper_isValidPos(int pos);
2571 EINA_DEPRECATED EAPI int elm_viewflipper_addChild(Evas_Object * child_layout);
2572 EINA_DEPRECATED EAPI int elm_viewflipper_removeChild(Evas_Object * child_layout);
2573 EINA_DEPRECATED EAPI int elm_viewflipper_removeChildAt(int pos);
2574 EINA_DEPRECATED EAPI int elm_viewflipper_getPositionChild(Evas_Object * child_layout);
2575 EINA_DEPRECATED EAPI Evas_Object *elm_viewflipper_getChildAt(int pos);
2576 EINA_DEPRECATED EAPI int elm_viewflipper_getCountChild();
2577 EINA_DEPRECATED EAPI int elm_viewflipper_setDisplayedChild(int pos);
2578 EINA_DEPRECATED EAPI int elm_viewflipper_setNowView();
2579 EINA_DEPRECATED EAPI int elm_viewflipper_setNextView();
2580 EINA_DEPRECATED EAPI int elm_viewflipper_setPreviousView();
2581 EINA_DEPRECATED EAPI int elm_viewflipper_setFlipInterval(int milliseconds);
2582 EINA_DEPRECATED EAPI int elm_viewflipper_setFlipbutton(int showbutton);
2583 EINA_DEPRECATED EAPI int elm_viewflipper_startAutoFlippingWithOption(int drection,int pos);
2584 EINA_DEPRECATED EAPI int elm_viewflipper_startAutoFlipping();
2585 EINA_DEPRECATED EAPI int elm_viewflipper_stopAutoFlipping();
2588 struct _Elm_Gallery_Item
2590 Evas_Object *parent;
2595 Evas_Coord x, y, w, h;
2597 Eina_Bool on_hold : 1;
2598 Eina_Bool on_show : 1;
2599 Eina_Bool on_highquality : 1;
2601 typedef struct _Elm_Gallery_Item Elm_Gallery_Item;
2602 EAPI Evas_Object *elm_gallery_add(Evas_Object *parent);
2603 EAPI Eina_Bool elm_gallery_data_set(Evas_Object *obj, Eina_List *list);
2604 EAPI Elm_Gallery_Item *elm_gallery_item_append(Evas_Object *obj, const char *photo_file);
2605 EAPI Elm_Gallery_Item *elm_gallery_item_prepend(Evas_Object *obj, const char *photo_file);
2606 EAPI void elm_gallery_item_del(Elm_Gallery_Item *it);
2607 EAPI const char *elm_gallery_item_file_get(Elm_Gallery_Item *it);
2608 EAPI void elm_gallery_item_show(Elm_Gallery_Item *it);
2609 EAPI Eina_List *elm_gallery_item_list_get(Evas_Object *obj);
2610 EAPI void elm_gallery_set_type(Evas_Object *obj,int type);
2611 EAPI void elm_gallery_set_max_count(Evas_Object *obj,int max_value);
2613 /* Sliding Drawer */
2614 typedef enum _Elm_SlidingDrawer_Pos
2616 ELM_SLIDINGDRAWER_BOTTOM,
2617 ELM_SLIDINGDRAWER_LEFT,
2618 ELM_SLIDINGDRAWER_RIGHT,
2619 ELM_SLIDINGDRAWER_TOP
2620 } Elm_SlidingDrawer_Pos;
2622 typedef struct _Elm_SlidingDrawer_Drag_Value
2625 } Elm_SlidingDrawer_Drag_Value;
2627 EAPI Evas_Object *elm_slidingdrawer_add(Evas_Object *parent);
2628 EAPI void elm_slidingdrawer_content_set (Evas_Object *obj, Evas_Object *content);
2629 EAPI Evas_Object *elm_slidingdrawer_content_unset(Evas_Object *obj);
2630 EAPI void elm_slidingdrawer_pos_set(Evas_Object *obj, Elm_SlidingDrawer_Pos pos);
2631 EAPI void elm_slidingdrawer_max_drag_value_set(Evas_Object *obj, double dw, double dh);
2632 EAPI void elm_slidingdrawer_drag_value_set(Evas_Object *obj, double dx, double dy);
2635 EINA_DEPRECATED EAPI Evas_Object *elm_wipercontrol_add(Evas_Object *parent);
2636 EINA_DEPRECATED EAPI void elm_wipercontrol_below_content_set (Evas_Object *obj, Evas_Object *content);
2637 EINA_DEPRECATED EAPI void elm_wipercontrol_above_content_set (Evas_Object *obj, Evas_Object *content);
2640 EINA_DEPRECATED EAPI Evas_Object *elm_analogclock_add(Evas_Object *parent);
2643 EINA_DEPRECATED EAPI Evas_Object *elm_ratingbar_add(Evas_Object *parent);
2644 EINA_DEPRECATED EAPI void elm_ratingbar_rating_set(Evas_Object *obj, int rating);
2645 EINA_DEPRECATED EAPI int elm_ratingbar_rating_get(Evas_Object *obj);
2646 /* smart callback called:
2647 * "changed" - when a rating is changed
2649 /* available styles:
2653 /* multibuttonentry */
2654 typedef struct _Multibuttonentry_Item Elm_Multibuttonentry_Item;
2655 EAPI Evas_Object *elm_multibuttonentry_add(Evas_Object *parent);
2656 EAPI const char *elm_multibuttonentry_label_get(Evas_Object *obj);
2657 EAPI void elm_multibuttonentry_label_set(Evas_Object *obj, const char *label);
2658 EAPI Evas_Object *elm_multibuttonentry_entry_get(Evas_Object *obj);
2659 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_start(Evas_Object *obj, const char *label, void *data);
2660 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_end(Evas_Object *obj, const char *label, void *data);
2661 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_before(Evas_Object *obj, const char *label, Elm_Multibuttonentry_Item *before, void *data);
2662 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_after(Evas_Object *obj, const char *label, Elm_Multibuttonentry_Item *after, void *data);
2663 EAPI const Eina_List *elm_multibuttonentry_items_get(Evas_Object *obj);
2664 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_first_get(Evas_Object *obj);
2665 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_last_get(Evas_Object *obj);
2666 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_selected_get(Evas_Object *obj);
2667 EAPI void elm_multibuttonentry_item_selected_set(Elm_Multibuttonentry_Item *item);
2668 EAPI void elm_multibuttonentry_item_unselect_all(Evas_Object *obj);
2669 EAPI void elm_multibuttonentry_item_del(Elm_Multibuttonentry_Item *item);
2670 EAPI void elm_multibuttonentry_items_del(Evas_Object *obj);
2671 EAPI const char *elm_multibuttonentry_item_label_get(Elm_Multibuttonentry_Item *item);
2672 EAPI void elm_multibuttonentry_item_label_set(Elm_Multibuttonentry_Item *item, const char *str);
2673 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_prev(Elm_Multibuttonentry_Item *item);
2674 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_next(Elm_Multibuttonentry_Item *item);
2675 EAPI void *elm_multibuttonentry_item_data_get(Elm_Multibuttonentry_Item *item);
2676 EAPI void elm_multibuttonentry_item_data_set(Elm_Multibuttonentry_Item *item, void *data);
2677 /* smart callback called:
2678 * "selected" - when the selected item of multibuttonentry is changed.
2679 * "added" - when the new item of multibuttonentry is added.
2680 * "deleted" - when an item of multibuttonentry is deleted.
2681 * "expanded" - when the multibuttonentry is expanded.
2682 * "contracted" - when the multibuttonentry is contracted.
2684 /* available styles:
2689 typedef struct _Stackedicon_Item Elm_Stackedicon_Item;
2690 EAPI Evas_Object *elm_stackedicon_add(Evas_Object *parent);
2691 EAPI Elm_Stackedicon_Item *elm_stackedicon_item_append(Evas_Object *obj, const char *path);
2692 EAPI Elm_Stackedicon_Item *elm_stackedicon_item_prepend(Evas_Object *obj, const char *path);
2693 EAPI void elm_stackedicon_item_del(Elm_Stackedicon_Item *it);
2694 EAPI Eina_List *elm_stackedicon_item_list_get(Evas_Object *obj);
2695 /* smart callback called:
2697 /* available styles:
2702 EINA_DEPRECATED EAPI Evas_Object *elm_chronometer_add(Evas_Object *parent);
2703 EINA_DEPRECATED EAPI void elm_chronometer_start(Evas_Object *obj);
2704 EINA_DEPRECATED EAPI void elm_chronometer_stop(Evas_Object *obj);
2705 EINA_DEPRECATED EAPI void elm_chronometer_time_set(Evas_Object *obj, int hrs, int min, int sec);
2706 EINA_DEPRECATED EAPI void elm_chronometer_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec);
2707 EINA_DEPRECATED EAPI void elm_chronometer_format_set(Evas_Object *obj, Eina_Bool format);
2708 EINA_DEPRECATED EAPI void elm_chronometer_format_get(Evas_Object *obj, Eina_Bool *format);
2711 typedef struct _Dialogue_Item Dialogue_Item;
2713 typedef enum _Elm_Dialoguegourp_Item_Style
2715 ELM_DIALOGUEGROUP_ITEM_STYLE_DEFAULT = 0,
2716 ELM_DIALOGUEGROUP_ITEM_STYLE_EDITFIELD = (1 << 0),
2717 ELM_DIALOGUEGROUP_ITEM_STYLE_EDITFIELD_WITH_TITLE = (1 << 1),
2718 ELM_DIALOGUEGROUP_ITEM_STYLE_EDIT_TITLE = (1 << 2),
2719 ELM_DIALOGUEGROUP_ITEM_STYLE_HIDDEN = (1 << 3),
2720 ELM_DIALOGUEGROUP_ITEM_STYLE_DATAVIEW = (1 << 4),
2721 ELM_DIALOGUEGROUP_ITEM_STYLE_LAST = (1 << 5)
2722 } Elm_Dialoguegroup_Item_Style;
2724 EAPI Evas_Object *elm_dialoguegroup_add(Evas_Object *parent);
2725 EAPI Dialogue_Item *elm_dialoguegroup_append(Evas_Object *obj, Evas_Object *subobj, Elm_Dialoguegroup_Item_Style style);
2726 EAPI Dialogue_Item *elm_dialoguegroup_prepend(Evas_Object *obj, Evas_Object *subobj, Elm_Dialoguegroup_Item_Style style);
2727 EAPI Dialogue_Item *elm_dialoguegroup_insert_after(Evas_Object *obj, Evas_Object *subobj, Dialogue_Item *after, Elm_Dialoguegroup_Item_Style style);
2728 EAPI Dialogue_Item *elm_dialoguegroup_insert_before(Evas_Object *obj, Evas_Object *subobj, Dialogue_Item *before, Elm_Dialoguegroup_Item_Style style);
2729 EAPI void elm_dialoguegroup_remove(Dialogue_Item *item);
2730 EAPI void elm_dialoguegroup_remove_all(Evas_Object *obj);
2731 EAPI void elm_dialoguegroup_title_set(Evas_Object *obj, const char *title);
2732 EAPI const char *elm_dialoguegroup_title_get(Evas_Object *obj);
2733 EAPI void elm_dialoguegroup_press_effect_set(Dialogue_Item *item, Eina_Bool press);
2734 EAPI Eina_Bool elm_dialoguegroup_press_effect_get(Dialogue_Item *item);
2735 EAPI Evas_Object *elm_dialoguegroup_item_content_get(Dialogue_Item *item);
2736 EAPI void elm_dialoguegroup_item_style_set(Dialogue_Item *item, Elm_Dialoguegroup_Item_Style style);
2737 EAPI Elm_Dialoguegroup_Item_Style elm_dialoguegroup_item_style_get(Dialogue_Item *item);
2741 /* AutoCompleteView */
2742 typedef Eina_Bool (*elmautocompleteview_matchfunction) (Evas_Object *obj, char *text, Evas_Object *list, void *data);
2743 EAPI Evas_Object *elm_autocompleteview_add(Evas_Object *parent);
2744 EAPI Evas_Object *elm_autocompleteview_entry_get(Evas_Object *obj);
2745 EAPI Evas_Object *elm_autocompleteview_editfield_get(Evas_Object *obj);
2746 EAPI void elm_autocompleteview_threshold_set(Evas_Object *obj, int threshold);
2747 EAPI int elm_autocompleteview_threshold_get(Evas_Object *obj);
2748 EAPI void elm_autocompleteview_data_set(Evas_Object *obj, Eina_List *data_list);
2749 EAPI void elm_autocompleteview_match_func_set(Evas_Object *obj, elmautocompleteview_matchfunction func, void *data);
2750 EAPI void elm_autocompleteview_text_update(Evas_Object *obj, char *text);
2753 typedef struct _Coverflow_Item Elm_Coverflow_Item;
2754 typedef struct _Coverflow_Item_Class
2756 void (*CoverflowItemGenFunc)(void* data, Evas_Object* obj);
2757 void (*CoverflowItemDelFunc)(void* data, Evas_Object* obj);
2758 } Elm_Coverflow_Item_Class;
2760 EINA_DEPRECATED EAPI Evas_Object *elm_coverflow_add( Evas_Object* parent );
2761 EINA_DEPRECATED EAPI Elm_Coverflow_Item* elm_coverflow_item_append( Evas_Object* obj, Elm_Coverflow_Item_Class* cic, void* data, void (*func)(void* data, Evas_Object* obj, void* event_info ), void* func_data );
2762 EINA_DEPRECATED EAPI void elm_coverflow_clear( Evas_Object* obj );
2765 typedef struct _Cabinet_Item Elm_Cabinet_Item;
2766 EINA_DEPRECATED EAPI Evas_Object *elm_cabinet_add(Evas_Object *parent);
2767 EINA_DEPRECATED EAPI void elm_cabinet_next(Evas_Object *obj);
2768 EINA_DEPRECATED EAPI void elm_cabinet_prev(Evas_Object *obj);
2769 EINA_DEPRECATED EAPI Eina_Bool elm_cabinet_bounce_get(Evas_Object *obj);
2770 EINA_DEPRECATED EAPI void elm_cabinet_bounce_set(Evas_Object *obj, Eina_Bool bounce);
2771 EINA_DEPRECATED EAPI Elm_Cabinet_Item *elm_cabinet_item_append(Evas_Object *obj, const char *label, void (*func)(void *data, Evas_Object *obj, void *event_info), void *data);
2772 EINA_DEPRECATED EAPI Elm_Cabinet_Item *elm_cabinet_item_prepend(Evas_Object *obj, const char *label, void (*func)(void *data, Evas_Object *obj, void *event_info), void *data);
2773 EINA_DEPRECATED EAPI const Eina_List *elm_cabinet_items_get(Evas_Object *obj);
2774 EINA_DEPRECATED EAPI Elm_Cabinet_Item *elm_cabinet_first_item_get(Evas_Object *obj);
2775 EINA_DEPRECATED EAPI Elm_Cabinet_Item *elm_cabinet_last_item_get(Evas_Object *obj);
2776 EINA_DEPRECATED EAPI Elm_Cabinet_Item *elm_cabinet_selected_item_get(Evas_Object *obj);
2777 EINA_DEPRECATED EAPI void elm_cabinet_item_selected_set(Elm_Cabinet_Item *item);
2778 EINA_DEPRECATED EAPI void elm_cabinet_item_del(Elm_Cabinet_Item *item);
2779 EINA_DEPRECATED EAPI const char *elm_cabinet_item_label_get(Elm_Cabinet_Item *item);
2780 EINA_DEPRECATED EAPI void elm_cabinet_item_label_set(Elm_Cabinet_Item *item, const char *label);
2781 EINA_DEPRECATED EAPI const char *elm_cabinet_item_sub_info_get(Elm_Cabinet_Item *item);
2782 EINA_DEPRECATED EAPI void elm_cabinet_item_sub_info_set(Elm_Cabinet_Item *item, const char *sub_info);
2783 EINA_DEPRECATED EAPI Elm_Cabinet_Item *elm_cabinet_item_prev(Elm_Cabinet_Item *item);
2784 EINA_DEPRECATED EAPI Elm_Cabinet_Item *elm_cabinet_item_next(Elm_Cabinet_Item *item);
2785 EINA_DEPRECATED EAPI void *elm_cabinet_item_data_get(Elm_Cabinet_Item *item);
2786 EINA_DEPRECATED EAPI void elm_cabinet_item_data_set(Elm_Cabinet_Item *item, void *data);
2787 EINA_DEPRECATED EAPI Eina_Bool elm_cabinet_item_del_btn_disabled_get(Elm_Cabinet_Item *item);
2788 EINA_DEPRECATED EAPI void elm_cabinet_item_del_btn_disabled_set(Elm_Cabinet_Item *item, Eina_Bool disabled);
2789 EINA_DEPRECATED EAPI Eina_Bool elm_cabinet_item_sub_info_disabled_get(Elm_Cabinet_Item *item);
2790 EINA_DEPRECATED EAPI void elm_cabinet_item_sub_info_disabled_set(Elm_Cabinet_Item *item, Eina_Bool disabled);
2795 ELM_DAYSELECTOR_SUN,
2796 ELM_DAYSELECTOR_MON,
2797 ELM_DAYSELECTOR_TUE,
2798 ELM_DAYSELECTOR_WED,
2799 ELM_DAYSELECTOR_THU,
2800 ELM_DAYSELECTOR_FRI,
2802 } Elm_DaySelector_Day;
2804 EAPI Evas_Object *elm_dayselector_add(Evas_Object *parent);
2805 EAPI Eina_Bool elm_dayselector_check_state_get(Evas_Object *obj, Elm_DaySelector_Day day);
2806 EAPI void elm_dayselector_check_state_set(Evas_Object *obj, Elm_DaySelector_Day day, Eina_Bool checked);
2809 EAPI Evas_Object *elm_nocontents_add(Evas_Object *parent);
2810 EAPI void elm_nocontents_label_set(Evas_Object *obj, const char *label);
2811 EAPI const char *elm_nocontents_label_get(const Evas_Object *obj);
2812 EAPI void elm_nocontents_custom_set(const Evas_Object *obj, Evas_Object *custom);
2813 EAPI Evas_Object *elm_nocontents_custom_get(const Evas_Object *obj);
2818 ELM_TICKERNOTI_DEFAULT,
2819 ELM_TICKERNOTI_DETAILVIEW
2820 } Elm_Tickernoti_Mode;
2822 EAPI Evas_Object *elm_tickernoti_add (Evas_Object *parent);
2823 EAPI void elm_tickernoti_icon_set (const Evas_Object *obj, Evas_Object *icon);
2824 EAPI Evas_Object *elm_tickernoti_icon_get (const Evas_Object *obj);
2825 EAPI void elm_tickernoti_label_set (Evas_Object *obj, const char *label);
2826 EAPI const char *elm_tickernoti_label_get (const Evas_Object *obj);
2827 EAPI void elm_tickernoti_detailview_label_set (Evas_Object *obj, const char *label);
2828 EAPI const char *elm_tickernoti_detailview_label_get (const Evas_Object *obj);
2829 EAPI void elm_tickernoti_detailview_button_set (const Evas_Object *obj, Evas_Object *button);
2830 EAPI Evas_Object *elm_tickernoti_detailview_button_get (const Evas_Object *obj);
2831 EAPI void elm_tickernoti_detailview_icon_set (const Evas_Object *obj, Evas_Object *icon);
2832 EAPI Evas_Object *elm_tickernoti_detailview_icon_get (const Evas_Object *obj);
2833 EAPI Evas_Object *elm_tickernoti_detailview_get (const Evas_Object *obj);
2834 EAPI int elm_tickernoti_rotation_get (const Evas_Object *obj);
2835 EAPI void elm_tickernoti_rotation_set (const Evas_Object *obj, int angle);
2836 EAPI void elm_tickernoti_mode_set (const Evas_Object *obj, Elm_Tickernoti_Mode mode);
2837 EAPI Elm_Tickernoti_Mode elm_tickernoti_mode_get (const Evas_Object *obj);
2840 typedef struct _Imageslider_Item Elm_Imageslider_Item;
2841 typedef void (*Elm_Imageslider_Cb)(void *data, Evas_Object *obj, void *event_info);
2842 EAPI Evas_Object *elm_imageslider_add(Evas_Object *parent);
2843 EAPI Elm_Imageslider_Item *elm_imageslider_item_append(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, void *data);
2844 EAPI Elm_Imageslider_Item *elm_imageslider_item_append_relative(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, unsigned int n, void *data);
2845 EAPI Elm_Imageslider_Item *elm_imageslider_item_prepend(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, void *data);
2846 EAPI void elm_imageslider_item_del(Elm_Imageslider_Item *it);
2847 EAPI Elm_Imageslider_Item *elm_imageslider_selected_item_get(Evas_Object *obj);
2848 EAPI Eina_Bool elm_imageslider_item_selected_get(Elm_Imageslider_Item *it);
2849 EAPI void elm_imageslider_item_selected_set(Elm_Imageslider_Item *it);
2850 EAPI const char *elm_imageslider_item_photo_file_get(Elm_Imageslider_Item *it);
2851 EAPI Elm_Imageslider_Item *elm_imageslider_item_prev(Elm_Imageslider_Item *it);
2852 EAPI Elm_Imageslider_Item *elm_imageslider_item_next(Elm_Imageslider_Item *it);
2853 EAPI void elm_imageslider_prev(Evas_Object *obj);
2854 EAPI void elm_imageslider_next(Evas_Object *obj);
2856 /* Selection Info */
2857 EAPI Evas_Object *elm_selectioninfo_add(Evas_Object *parent);
2858 EAPI void elm_selectioninfo_content_set(Evas_Object *obj, Evas_Object *content);
2859 EAPI void elm_selectioninfo_parent_set(Evas_Object *obj, Evas_Object *parent);
2860 EAPI void elm_selectioninfo_timeout_set(Evas_Object *obj, int timeout);
2861 EAPI void elm_selectioninfo_timer_init(Evas_Object *obj);
2862 EAPI void elm_selectioninfo_check_state_set(Evas_Object *obj, Eina_Bool *state, int count);
2863 EAPI int elm_selectioninfo_checked_count_get(Evas_Object *obj);
2864 EAPI void elm_selectioninfo_label_set(Evas_Object *obj, char* text);
2866 /* smart callback called:
2867 * "selectioninfo,timeout" - when time out
2871 typedef struct _Elm_Xml_Animator Elm_Xml_Animator;
2873 EAPI Eina_Bool elm_xml_animator_file_set(Elm_Xml_Animator *xa, const char *file);
2874 EAPI Eina_Bool elm_xml_animator_object_add(Elm_Xml_Animator *xa, Evas_Object *obj, const char *title, void (*end_func)(void *data, Evas_Object *obj), void *data);
2875 EAPI void elm_xml_animator_object_del(Elm_Xml_Animator *xa, Evas_Object *obj);
2876 EAPI void elm_xml_animator_del(Elm_Xml_Animator *xa);
2877 EAPI void elm_xml_animator_run(Elm_Xml_Animator *xa);