3 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
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_EWEBKIT_DEF@ ELM_EWEBKIT
22 @ELM_ALLOCA_H_DEF@ ELM_ALLOCA_H
23 @ELM_LIBINTL_H_DEF@ ELM_LIBINTL_H
25 /* Standard headers for standard system calls etc. */
30 #include <sys/types.h>
33 #include <sys/param.h>
58 #if defined (ELM_WIN32) || defined (ELM_WINCE)
61 # define alloca _alloca
71 #include <Ecore_Evas.h>
72 #include <Ecore_File.h>
73 #include <Ecore_IMF.h>
83 # include <Efreet_Mime.h>
84 # include <Efreet_Trash.h>
88 # include <Ethumb_Client.h>
96 # ifdef ELEMENTARY_BUILD
98 # define EAPI __declspec(dllexport)
101 # endif /* ! DLL_EXPORT */
103 # define EAPI __declspec(dllimport)
104 # endif /* ! EFL_EVAS_BUILD */
108 # define EAPI __attribute__ ((visibility("default")))
115 #endif /* ! _WIN32 */
118 /* allow usage from c++ */
123 #define ELM_VERSION_MAJOR @VMAJ@
124 #define ELM_VERSION_MINOR @VMIN@
126 typedef struct _Elm_Version
134 EAPI extern Elm_Version *elm_version;
137 #define ELM_RECTS_INTERSECT(x, y, w, h, xx, yy, ww, hh) (((x) < ((xx) + (ww))) && ((y) < ((yy) + (hh))) && (((x) + (w)) > (xx)) && (((y) + (h)) > (yy)))
138 #define ELM_PI 3.14159265358979323846
140 /**************************************************************************/
141 EAPI extern int ELM_ECORE_EVENT_ETHUMB_CONNECT;
144 typedef enum _Elm_Win_Type
147 ELM_WIN_DIALOG_BASIC,
156 typedef enum _Elm_Win_Keyboard_Mode
158 ELM_WIN_KEYBOARD_UNKNOWN,
159 ELM_WIN_KEYBOARD_OFF,
161 ELM_WIN_KEYBOARD_ALPHA,
162 ELM_WIN_KEYBOARD_NUMERIC,
163 ELM_WIN_KEYBOARD_PIN,
164 ELM_WIN_KEYBOARD_PHONE_NUMBER,
165 ELM_WIN_KEYBOARD_HEX,
166 ELM_WIN_KEYBOARD_TERMINAL,
167 ELM_WIN_KEYBOARD_PASSWORD,
169 ELM_WIN_KEYBOARD_HOST,
170 ELM_WIN_KEYBOARD_FILE,
171 ELM_WIN_KEYBOARD_URL,
172 ELM_WIN_KEYBOARD_KEYPAD,
173 ELM_WIN_KEYBOARD_J2ME
174 } Elm_Win_Keyboard_Mode;
177 * Emitted when policy value changed.
179 EAPI extern int ELM_EVENT_POLICY_CHANGED;
180 typedef struct _Elm_Event_Policy_Changed
185 } Elm_Event_Policy_Changed;
188 * Policy identifiers.
190 * @see elm_policy_set()
192 typedef enum _Elm_Policy
194 ELM_POLICY_QUIT, /**< when should quit application automatically.
195 * @see Elm_Policy_Quit.
200 typedef enum _Elm_Policy_Quit
202 ELM_POLICY_QUIT_NONE = 0, /**< never quit application automatically */
203 ELM_POLICY_QUIT_LAST_WINDOW_CLOSED /**< quit when last window is closed */
206 typedef enum _Elm_Thumb_Animation_Setting
208 ELM_THUMB_ANIMATION_START = 0, /* Play animation once */
209 ELM_THUMB_ANIMATION_LOOP, /* Keep playing animation until stop is requested */
210 ELM_THUMB_ANIMATION_STOP,
211 ELM_THUMB_ANIMATION_LAST
212 } Elm_Thumb_Animation_Setting;
214 typedef struct _Elm_Theme Elm_Theme;
216 typedef enum _Elm_Clock_Digedit
219 ELM_CLOCK_HOUR_DECIMAL = 1 << 0,
220 ELM_CLOCK_HOUR_UNIT = 1 << 1,
221 ELM_CLOCK_MIN_DECIMAL = 1 << 2,
222 ELM_CLOCK_MIN_UNIT = 1 << 3,
223 ELM_CLOCK_SEC_DECIMAL = 1 << 4,
224 ELM_CLOCK_SEC_UNIT = 1 << 5,
225 ELM_CLOCK_ALL = (1 << 6) - 1
228 #ifndef ELM_LIB_QUICKLAUNCH
229 #define ELM_MAIN() int main(int argc, char **argv) {elm_init(argc, argv); return elm_main(argc, argv);}
231 #define ELM_MAIN() int main(int argc, char **argv) {return elm_quicklaunch_fallback(argc, argv);}
234 /**************************************************************************/
236 EAPI void elm_init(int argc, char **argv);
237 EAPI void elm_shutdown(void);
238 EAPI void elm_run(void);
239 EAPI void elm_exit(void);
241 EAPI void elm_quicklaunch_init(int argc, char **argv);
242 EAPI void elm_quicklaunch_sub_init(int argc, char **argv);
243 EAPI void elm_quicklaunch_sub_shutdown(void);
244 EAPI void elm_quicklaunch_shutdown(void);
245 EAPI void elm_quicklaunch_seed(void);
246 EAPI Eina_Bool elm_quicklaunch_prepare(int argc, char **argv);
247 EAPI Eina_Bool elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (postfork_func) (void *data), void *postfork_data);
248 EAPI void elm_quicklaunch_cleanup(void);
249 EAPI int elm_quicklaunch_fallback(int argc, char **argv);
250 EAPI char *elm_quicklaunch_exe_path_get(const char *exe);
252 EAPI void elm_need_efreet(void);
253 EAPI void elm_need_e_dbus(void);
254 EAPI void elm_need_ethumb(void);
256 EAPI Eina_Bool elm_policy_set(unsigned int policy, int value);
257 EAPI int elm_policy_get(unsigned int policy);
259 EAPI void elm_all_flush(void);
261 EAPI void elm_object_scale_set(Evas_Object *obj, double scale);
262 EAPI double elm_object_scale_get(const Evas_Object *obj);
263 EAPI void elm_object_style_set(Evas_Object *obj, const char *style);
264 EAPI const char *elm_object_style_get(const Evas_Object *obj);
265 EAPI void elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled);
266 EAPI Eina_Bool elm_object_disabled_get(const Evas_Object *obj);
268 EAPI Eina_Bool elm_object_widget_check(const Evas_Object *obj);
269 EAPI Evas_Object *elm_object_parent_widget_get(const Evas_Object *obj);
270 EAPI Evas_Object *elm_object_top_widget_get(const Evas_Object *obj);
271 EAPI const char *elm_object_widget_type_get(const Evas_Object *obj);
273 EAPI double elm_scale_get(void);
274 EAPI void elm_scale_set(double scale);
275 EAPI void elm_scale_all_set(double scale);
276 EAPI Evas_Coord elm_finger_size_get(void);
277 EAPI void elm_finger_size_set(Evas_Coord size);
278 EAPI void elm_finger_size_all_set(Evas_Coord size);
280 EAPI Eina_Bool elm_object_focus_get(Evas_Object *obj);
281 EAPI void elm_object_focus(Evas_Object *obj);
282 EAPI void elm_object_unfocus(Evas_Object *obj);
283 EAPI void elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable);
284 EAPI Eina_Bool elm_object_focus_allow_get(const Evas_Object *obj);
286 EAPI void elm_object_scroll_hold_push(Evas_Object *obj);
287 EAPI void elm_object_scroll_hold_pop(Evas_Object *obj);
288 EAPI void elm_object_scroll_freeze_push(Evas_Object *obj);
289 EAPI void elm_object_scroll_freeze_pop(Evas_Object *obj);
290 EAPI void elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock);
291 EAPI void elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock);
292 EAPI Eina_Bool elm_object_scroll_lock_x_get(const Evas_Object *obj);
293 EAPI Eina_Bool elm_object_scroll_lock_y_get(const Evas_Object *obj);
295 EAPI void elm_object_signal_emit(Evas_Object *obj, const char *emission, const char *source);
296 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);
297 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));
299 EAPI void elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h);
301 EAPI Elm_Theme *elm_theme_new(void);
302 EAPI void elm_theme_free(Elm_Theme *th);
303 EAPI void elm_theme_overlay_add(Elm_Theme *th, const char *item);
304 EAPI void elm_theme_overlay_del(Elm_Theme *th, const char *item);
305 EAPI void elm_theme_extension_add(Elm_Theme *th, const char *item);
306 EAPI void elm_theme_extension_del(Elm_Theme *th, const char *item);
307 EAPI void elm_theme_set(Elm_Theme *th, const char *theme);
308 EAPI const char *elm_theme_get(Elm_Theme *th);
309 EAPI void elm_theme_flush(Elm_Theme *th);
310 EAPI void elm_theme_full_flush(void);
312 EAPI void elm_theme_all_set(const char *theme);
314 EAPI void elm_object_theme_set(Evas_Object *obj, Elm_Theme *th);
315 EAPI Elm_Theme *elm_object_theme_get(Evas_Object *obj);
317 EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type);
318 EAPI void elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj);
319 EAPI void elm_win_resize_object_del(Evas_Object *obj, Evas_Object *subobj);
320 EAPI void elm_win_title_set(Evas_Object *obj, const char *title);
321 EAPI void elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel);
322 EAPI void elm_win_activate(Evas_Object *obj);
323 EAPI void elm_win_lower(Evas_Object *obj);
324 EAPI void elm_win_raise(Evas_Object *obj);
325 EAPI void elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless);
326 EAPI Eina_Bool elm_win_borderless_get(const Evas_Object *obj);
327 EAPI void elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped);
328 EAPI Eina_Bool elm_win_shaped_get(const Evas_Object *obj);
329 EAPI void elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha);
330 EAPI Eina_Bool elm_win_transparent_get(const Evas_Object *obj);
331 EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent);
332 EAPI Eina_Bool elm_win_alpha_get(const Evas_Object *obj);
333 EAPI void elm_win_override_set(Evas_Object *obj, Eina_Bool override);
334 EAPI Eina_Bool elm_win_override_get(const Evas_Object *obj);
335 EAPI void elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen);
336 EAPI Eina_Bool elm_win_fullscreen_get(const Evas_Object *obj);
337 EAPI void elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized);
338 EAPI Eina_Bool elm_win_maximized_get(const Evas_Object *obj);
339 EAPI void elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified);
340 EAPI Eina_Bool elm_win_iconified_get(const Evas_Object *obj);
341 EAPI void elm_win_layer_set(Evas_Object *obj, int layer);
342 EAPI int elm_win_layer_get(const Evas_Object *obj);
343 EAPI void elm_win_rotation_set(Evas_Object *obj, int rotation);
344 EAPI void elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation);
345 EAPI int elm_win_rotation_get(const Evas_Object *obj);
346 EAPI void elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky);
347 EAPI Eina_Bool elm_win_sticky_get(const Evas_Object *obj);
348 EAPI void elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant);
349 EAPI Eina_Bool elm_win_conformant_get(const Evas_Object *obj);
350 EAPI void elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel);
351 EAPI Eina_Bool elm_win_quickpanel_get(const Evas_Object *obj);
352 EAPI void elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority);
353 EAPI int elm_win_quickpanel_priority_major_get(const Evas_Object *obj);
354 EAPI void elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority);
355 EAPI int elm_win_quickpanel_priority_minor_get(const Evas_Object *obj);
356 EAPI void elm_win_quickpanel_zone_set(Evas_Object *obj, int zone);
357 EAPI void elm_win_indicator_state_set(Evas_Object *obj, int show_state);
358 EAPI int elm_win_indicator_state_get(Evas_Object *obj);
361 * ecore_x_icccm_hints_set -> accepts_focus (add to ecore_evas)
362 * ecore_x_icccm_hints_set -> window_group (add to ecore_evas)
363 * ecore_x_icccm_size_pos_hints_set -> request_pos (add to ecore_evas)
364 * ecore_x_icccm_client_leader_set -> l (add to ecore_evas)
365 * ecore_x_icccm_window_role_set -> role (add to ecore_evas)
366 * ecore_x_icccm_transient_for_set -> forwin (add to ecore_evas)
367 * ecore_x_netwm_window_type_set -> type (add to ecore_evas)
369 * (add to ecore_x) set netwm argb icon! (add to ecore_evas)
370 * (blank mouse, private mouse obj, defaultmouse)
373 EAPI void elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode);
374 EAPI void elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard);
376 EAPI void elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y);
378 EAPI Evas_Object *elm_win_inwin_add(Evas_Object *obj);
379 EAPI void elm_win_inwin_activate(Evas_Object *obj);
380 EAPI void elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content);
381 EAPI Evas_Object *elm_win_inwin_content_unset(Evas_Object *obj);
388 /* X specific calls - won't work on non-x engines (return 0) */
389 EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj);
390 /* smart callbacks called:
391 * "delete,request" - the user requested to delete the window
392 * "focus,in" - window got focus
393 * "focus,out" - window lost focus
394 * "moved" - window that holds the canvas was moved
397 EAPI Evas_Object *elm_bg_add(Evas_Object *parent);
398 EAPI void elm_bg_file_set(Evas_Object *obj, const char *file, const char *group);
399 /* smart callbacks called:
402 EAPI Evas_Object *elm_icon_add(Evas_Object *parent);
403 EAPI Eina_Bool elm_icon_file_set(Evas_Object *obj, const char *file, const char *group);
404 EAPI Eina_Bool elm_icon_standard_set(Evas_Object *obj, const char *name);
405 EAPI void elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth);
406 EAPI void elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale);
407 EAPI void elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down);
408 EAPI void elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside);
409 EAPI void elm_icon_prescale_set(Evas_Object *obj, int size);
410 /* smart callbacks called:
411 * "clicked" - the user clicked the icon
414 typedef enum _Elm_Image_Orient
416 ELM_IMAGE_ORIENT_NONE,
417 ELM_IMAGE_ROTATE_90_CW,
418 ELM_IMAGE_ROTATE_180_CW,
419 ELM_IMAGE_ROTATE_90_CCW,
420 ELM_IMAGE_FLIP_HORIZONTAL,
421 ELM_IMAGE_FLIP_VERTICAL,
422 ELM_IMAGE_FLIP_TRANSPOSE,
423 ELM_IMAGE_FLIP_TRANSVERSE
426 EAPI Evas_Object *elm_image_add(Evas_Object *parent);
427 EAPI Eina_Bool elm_image_file_set(Evas_Object *obj, const char *file, const char *group);
428 EAPI void elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth);
429 EAPI void elm_image_object_size_get(const Evas_Object *obj, int *w, int *h);
430 EAPI void elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale);
431 EAPI void elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down);
432 EAPI void elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside);
433 EAPI void elm_image_prescale_set(Evas_Object *obj, int size);
434 EAPI void elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient);
435 /* smart callbacks called:
436 * "clicked" - the user clicked the image
439 EAPI Evas_Object *elm_box_add(Evas_Object *parent);
440 EAPI void elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
441 EAPI void elm_box_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
442 EAPI void elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj);
443 EAPI void elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj);
444 EAPI void elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before);
445 EAPI void elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after);
446 EAPI void elm_box_clear(Evas_Object *obj);
447 EAPI void elm_box_unpack(Evas_Object *obj, Evas_Object *subobj);
448 EAPI void elm_box_unpack_all(Evas_Object *obj);
449 /* smart callbacks called:
453 UIControlStateDefault,
454 UIControlStateHighlighted,
455 UIControlStateDisabled,
456 UIControlStateFocused,
457 UIControlStateReserved
460 EAPI Evas_Object *elm_button_add(Evas_Object *parent);
461 EAPI void elm_button_label_set(Evas_Object *obj, const char *label);
462 EAPI void elm_button_label_set_for_state(Evas_Object *obj, const char *label, UIControlState state);
463 EAPI const char *elm_button_label_get(const Evas_Object *obj);
464 EAPI const char *elm_button_label_get_for_state(const Evas_Object *obj, UIControlState state);
465 EAPI void elm_button_icon_set(Evas_Object *obj, Evas_Object *icon);
466 EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj);
467 EAPI void elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on);
468 EAPI void elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t);
469 EAPI void elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t);
471 EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent);
472 EAPI void elm_fileselector_button_label_set(Evas_Object *obj, const char *label);
473 EAPI const char *elm_fileselector_button_label_get(const Evas_Object *obj);
474 EAPI void elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon);
475 EAPI Evas_Object *elm_fileselector_button_icon_get(const Evas_Object *obj);
476 EAPI void elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title);
477 EAPI const char *elm_fileselector_button_window_title_get(const Evas_Object *obj);
478 EAPI void elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height);
479 EAPI void elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height);
480 EAPI void elm_fileselector_button_path_set(Evas_Object *obj, const char *path);
481 EAPI const char *elm_fileselector_button_path_get(const Evas_Object *obj);
482 EAPI void elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value);
483 EAPI Eina_Bool elm_fileselector_button_expandable_get(const Evas_Object *obj);
484 EAPI void elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value);
485 EAPI Eina_Bool elm_fileselector_button_folder_only_get(const Evas_Object *obj);
486 EAPI void elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value);
487 EAPI Eina_Bool elm_fileselector_button_is_save_get(const Evas_Object *obj);
488 EAPI void elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value);
489 EAPI Eina_Bool elm_fileselector_button_inwin_mode_get(const Evas_Object *obj);
490 EAPI void elm_fileselector_button_selected_set(Evas_Object *obj, const char *path);
491 EAPI const char *elm_fileselector_button_selected_get(const Evas_Object *obj);
497 * hoversel_vertical_entry
499 /* smart callbacks called:
500 * "clicked" - the user clicked the button
501 * "repeated" - the user pressed the button without releasing it
502 * "unpressed" - when the button is unpressed (released)
505 typedef enum _Elm_Scroller_Policy
507 ELM_SCROLLER_POLICY_AUTO = 0,
508 ELM_SCROLLER_POLICY_ON,
509 ELM_SCROLLER_POLICY_OFF,
510 ELM_SCROLLER_POLICY_LAST
514 EAPI Evas_Object *elm_scroller_add(Evas_Object *parent);
515 EAPI void elm_scroller_content_set(Evas_Object *obj, Evas_Object *child);
516 EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj);
517 EAPI void elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base);
518 EAPI void elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h);
519 EAPI void elm_scroller_region_show(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
520 EAPI void elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
521 EAPI void elm_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v);
522 EAPI void elm_scroller_region_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
523 EAPI void elm_scroller_child_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
524 EAPI void elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
525 EAPI void elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel);
526 EAPI void elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize);
527 EAPI void elm_scroller_region_bring_in(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
528 EAPI void elm_scroller_page_move_set(Evas_Object *obj, Eina_Bool set);
529 EAPI void elm_scroller_propagate_events_set(Evas_Object *obj, Eina_Bool set);
531 /* smart callbacks called:
537 * "scroll,anim,start"
539 * "scroll,drag,start"
543 EAPI Evas_Object *elm_label_add(Evas_Object *parent);
544 EAPI void elm_label_label_set(Evas_Object *obj, const char *label);
545 EAPI const char *elm_label_label_get(const Evas_Object *obj);
546 EAPI void elm_label_line_wrap_set(Evas_Object *obj, Eina_Bool wrap);
547 EAPI Eina_Bool elm_label_line_wrap_get(const Evas_Object *obj);
548 EAPI void elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w);
549 EAPI Evas_Coord elm_label_wrap_width_get(const Evas_Object *obj);
550 EAPI void elm_label_wrap_height_set(Evas_Object *obj, Evas_Coord h);
551 EAPI Evas_Coord elm_label_wrap_height_get(const Evas_Object *obj);
552 EAPI void elm_label_fontsize_set(Evas_Object *obj, int fontsize);
553 EAPI void elm_label_text_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
554 EAPI void elm_label_text_align_set(Evas_Object *obj, const char *alignmode);
555 EAPI void elm_label_background_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
556 EAPI void elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis);
561 /* smart callbacks called:
564 EAPI Evas_Object *elm_toggle_add(Evas_Object *parent);
565 EAPI void elm_toggle_label_set(Evas_Object *obj, const char *label);
566 EAPI const char *elm_toggle_label_get(const Evas_Object *obj);
567 EAPI void elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon);
568 EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj);
569 EAPI void elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel);
570 EAPI void elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel);
571 EAPI void elm_toggle_state_set(Evas_Object *obj, Eina_Bool state);
572 EAPI Eina_Bool elm_toggle_state_get(const Evas_Object *obj);
573 EAPI void elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep);
574 /* smart callbacks called:
575 * "changed" - the user toggled the state
578 EAPI Evas_Object *elm_frame_add(Evas_Object *parent);
579 EAPI void elm_frame_label_set(Evas_Object *obj, const char *label);
580 EAPI const char *elm_frame_label_get(const Evas_Object *obj);
581 EAPI void elm_frame_content_set(Evas_Object *obj, Evas_Object *content);
582 EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj);
592 /* smart callbacks called:
595 EAPI Evas_Object *elm_table_add(Evas_Object *parent);
596 EAPI void elm_table_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
597 EAPI void elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical);
598 EAPI void elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h);
599 EAPI void elm_table_unpack(Evas_Object *obj, Evas_Object *subobj);
600 EAPI void elm_table_clear(Evas_Object *obj, Eina_Bool clear);
602 typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class;
603 typedef struct _Elm_Gengrid_Item_Class_Func Elm_Gengrid_Item_Class_Func;
604 typedef struct _Elm_Gengrid_Item Elm_Gengrid_Item;
605 typedef char *(*GridItemLabelGetFunc) (const void *data, Evas_Object *obj, const char *part);
606 typedef Evas_Object *(*GridItemIconGetFunc) (const void *data, Evas_Object *obj, const char *part);
607 typedef Eina_Bool (*GridItemStateGetFunc) (const void *data, Evas_Object *obj, const char *part);
608 typedef void (*GridItemDelFunc) (const void *data, Evas_Object *obj);
610 struct _Elm_Gengrid_Item_Class
612 const char *item_style;
613 struct _Elm_Gengrid_Item_Class_Func
615 GridItemLabelGetFunc label_get;
616 GridItemIconGetFunc icon_get;
617 GridItemStateGetFunc state_get;
622 EAPI Evas_Object *elm_gengrid_add(Evas_Object *parent);
623 EAPI void elm_gengrid_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h);
624 EAPI void elm_gengrid_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
625 EAPI void elm_gengrid_align_set(Evas_Object *obj, double align_x, double align_y);
626 EAPI void elm_gengrid_align_get(const Evas_Object *obj, double *align_x, double *align_y);
627 EAPI void elm_gengrid_item_del(Elm_Gengrid_Item *item);
628 EAPI void elm_gengrid_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
629 EAPI Eina_Bool elm_gengrid_always_select_mode_get(const Evas_Object *obj);
630 EAPI void elm_gengrid_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
631 EAPI Eina_Bool elm_gengrid_no_select_mode_get(const Evas_Object *obj);
632 EAPI void elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi);
633 EAPI Eina_Bool elm_gengrid_multi_select_get(const Evas_Object *obj);
634 EAPI void elm_gengrid_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
635 EAPI void elm_gengrid_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
636 EAPI void elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool setting);
637 EAPI void elm_gengrid_clear(Evas_Object *obj);
638 EAPI void *elm_gengrid_item_data_get(Elm_Gengrid_Item *item);
639 EAPI void elm_gengrid_item_pos_get(const Elm_Gengrid_Item *item, unsigned int *x, unsigned int *y);
640 EAPI void elm_gengrid_item_selected_set(Elm_Gengrid_Item *item, Eina_Bool selected);
641 EAPI Eina_Bool elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item);
642 EAPI const Evas_Object *elm_gengrid_item_object_get(Elm_Gengrid_Item *item);
643 EAPI Elm_Gengrid_Item *elm_gengrid_selected_item_get(const Evas_Object *obj);
644 EAPI const Eina_List *elm_gengrid_selected_items_get(const Evas_Object *obj);
645 EAPI const Eina_List *elm_gengrid_items_get(const Evas_Object *obj);
646 EAPI void elm_gengrid_item_disabled_set(Elm_Gengrid_Item *item, Eina_Bool disabled);
647 EAPI Eina_Bool elm_gengrid_item_disabled_get(const Elm_Gengrid_Item *item);
648 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);
649 /* smart callbacks called:
651 * selected - User has selected a item.
652 * unselected - User has unselected a item.
653 * clicked - User has double-clicked a item.
654 * realized - An evas object for a item was built.
655 * scroll - the content has been scrolled (moved).
656 * "scroll,drag,start" - dragging the contents around has started.
657 * "scroll,drat,stop" - dragging the contents around has stopped.
658 * drag - Gengrid is being dragged.
659 * "drag,start,up" - Gengrid has been dragged (not scrolled) up.
660 * "drag,start,down" - Gengrid has been dragged (not scrolled) down.
661 * "drag,start,left" - Gengrid has been dragged (not scrolled) left.
662 * "drag,start,rigth" - Gengrid has been dragged (nto scrolled) right.
663 * "drag,stop" - Gengrid is not being dragged.
666 EAPI Evas_Object *elm_clock_add(Evas_Object *parent);
667 EAPI void elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec);
668 EAPI void elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec);
669 EAPI void elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit);
670 EAPI Eina_Bool elm_clock_edit_get(const Evas_Object *obj);
671 EAPI void elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit);
672 EAPI Elm_Clock_Digedit elm_clock_digit_edit_get(const Evas_Object *obj);
673 EAPI void elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm);
674 EAPI Eina_Bool elm_clock_show_am_pm_get(const Evas_Object *obj);
675 EAPI void elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds);
676 EAPI Eina_Bool elm_clock_show_seconds_get(const Evas_Object *obj);
677 EAPI void elm_clock_interval_set(Evas_Object *obj, double interval);
678 EAPI double elm_clock_interval_get(const Evas_Object *obj);
679 /* smart callbacks called:
680 * "changed" - the user changed the time
683 EAPI Evas_Object *elm_layout_add(Evas_Object *parent);
684 EAPI Eina_Bool elm_layout_file_set(Evas_Object *obj, const char *file, const char *group);
685 EAPI Eina_Bool elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style);
686 EAPI void elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
687 EAPI Evas_Object *elm_layout_content_unset(Evas_Object *obj, const char *swallow);
688 EAPI Evas_Object *elm_layout_edje_get(const Evas_Object *obj);
689 EAPI void elm_layout_sizing_eval(Evas_Object *obj);
690 /* smart callbacks called:
693 typedef enum _Elm_Notify_Orient
695 ELM_NOTIFY_ORIENT_TOP,
696 ELM_NOTIFY_ORIENT_CENTER,
697 ELM_NOTIFY_ORIENT_BOTTOM,
698 ELM_NOTIFY_ORIENT_LEFT,
699 ELM_NOTIFY_ORIENT_RIGHT,
700 ELM_NOTIFY_ORIENT_TOP_LEFT,
701 ELM_NOTIFY_ORIENT_TOP_RIGHT,
702 ELM_NOTIFY_ORIENT_BOTTOM_LEFT,
703 ELM_NOTIFY_ORIENT_BOTTOM_RIGHT,
704 ELM_NOTIFY_ORIENT_LAST
706 EAPI Evas_Object *elm_notify_add(Evas_Object *parent);
707 EAPI void elm_notify_content_set(Evas_Object *obj, Evas_Object *content);
708 EAPI Evas_Object *elm_notify_content_unset(Evas_Object *obj);
709 EAPI Evas_Object *elm_notify_content_get(const Evas_Object *obj);
710 EAPI void elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent);
711 EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient);
712 EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj);
713 EAPI void elm_notify_timeout_set(Evas_Object *obj, int timeout);
714 EAPI int elm_notify_timeout_get(const Evas_Object *obj);
715 EAPI void elm_notify_timer_init(Evas_Object *obj);
716 EAPI void elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat);
717 EAPI Eina_Bool elm_notify_repeat_events_get(const Evas_Object *obj);
718 /* smart callbacks called:
721 typedef enum _Elm_Hover_Axis
724 ELM_HOVER_AXIS_HORIZONTAL,
725 ELM_HOVER_AXIS_VERTICAL,
728 EAPI Evas_Object *elm_hover_add(Evas_Object *parent);
729 EAPI void elm_hover_target_set(Evas_Object *obj, Evas_Object *target);
730 EAPI Evas_Object *elm_hover_target_get(Evas_Object *obj);
731 EAPI void elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
732 EAPI Evas_Object *elm_hover_parent_get(Evas_Object *obj);
733 EAPI void elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
734 EAPI Evas_Object *elm_hover_content_unset(Evas_Object *obj, const char *swallow);
735 EAPI const char *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis);
742 /* smart callbacks called:
743 * "clicked" - the user clicked the empty space in the hover to dismiss
746 typedef struct _Elm_Entry_Anchor_Info Elm_Entry_Anchor_Info;
747 struct _Elm_Entry_Anchor_Info
751 Evas_Coord x, y, w, h;
753 typedef enum _Elm_Icon_Type
759 typedef struct _Elm_Hoversel_Item Elm_Hoversel_Item;
761 typedef enum _Elm_Input_Panel_Layout
763 ELM_INPUT_PANEL_LAYOUT_NORMAL, /**< Default 4x4 layout */
764 ELM_INPUT_PANEL_LAYOUT_NUMBER, /**< Number layout */
765 ELM_INPUT_PANEL_LAYOUT_EMAIL, /**< Email layout */
766 ELM_INPUT_PANEL_LAYOUT_URL, /**< URL layout */
767 ELM_INPUT_PANEL_LAYOUT_PHONENUMBER, /**< Phone Number layout */
768 ELM_INPUT_PANEL_LAYOUT_IP, /**< IP layout */
769 ELM_INPUT_PANEL_LAYOUT_MONTH, /**< Month layout */
770 ELM_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */
771 ELM_INPUT_PANEL_LAYOUT_CUSTOM_1 = 100, /* Reserved for future use */
772 ELM_INPUT_PANEL_LAYOUT_CUSTOM_2,
773 ELM_INPUT_PANEL_LAYOUT_CUSTOM_3,
774 ELM_INPUT_PANEL_LAYOUT_CUSTOM_4,
775 ELM_INPUT_PANEL_LAYOUT_CUSTOM_5,
776 ELM_INPUT_PANEL_LAYOUT_CUSTOM_6,
777 ELM_INPUT_PANEL_LAYOUT_CUSTOM_7,
778 ELM_INPUT_PANEL_LAYOUT_CUSTOM_8,
779 ELM_INPUT_PANEL_LAYOUT_CUSTOM_9,
780 ELM_INPUT_PANEL_LAYOUT_CUSTOM_10
781 } Elm_Input_Panel_Layout;
783 EAPI Evas_Object *elm_entry_add(Evas_Object *parent);
784 EAPI void elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
785 EAPI Eina_Bool elm_entry_single_line_get(const Evas_Object *obj);
786 EAPI void elm_entry_password_set(Evas_Object *obj, Eina_Bool password);
787 EAPI Eina_Bool elm_entry_password_get(const Evas_Object *obj);
788 EAPI void elm_entry_password_show_last_character_set(Evas_Object *obj, Eina_Bool show_last_character);
790 EAPI void elm_entry_entry_set(Evas_Object *obj, const char *entry);
791 EAPI const char *elm_entry_entry_get(const Evas_Object *obj);
792 EAPI const char *elm_entry_selection_get(const Evas_Object *obj);
793 EAPI void elm_entry_entry_insert(Evas_Object *obj, const char *entry);
794 EAPI void elm_entry_line_wrap_set(Evas_Object *obj, Eina_Bool wrap);
795 EAPI void elm_entry_line_char_wrap_set(Evas_Object *obj, Eina_Bool wrap);
796 EAPI void elm_entry_wrap_width_set(Evas_Object *obj, Evas_Coord w);
797 EAPI Evas_Coord elm_entry_wrap_width_get(const Evas_Object *obj);
798 EAPI void elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
799 EAPI Eina_Bool elm_entry_editable_get(const Evas_Object *obj);
800 EAPI void elm_entry_select_none(Evas_Object *obj);
801 EAPI void elm_entry_select_all(Evas_Object *obj);
802 EAPI Eina_Bool elm_entry_cursor_next(Evas_Object *obj);
803 EAPI Eina_Bool elm_entry_cursor_prev(Evas_Object *obj);
804 EAPI Eina_Bool elm_entry_cursor_up(Evas_Object *obj);
805 EAPI Eina_Bool elm_entry_cursor_down(Evas_Object *obj);
806 EAPI void elm_entry_cursor_begin_set(Evas_Object *obj);
807 EAPI void elm_entry_cursor_end_set(Evas_Object *obj);
808 EAPI void elm_entry_cursor_line_begin_set(Evas_Object *obj);
809 EAPI void elm_entry_cursor_line_end_set(Evas_Object *obj);
810 EAPI void elm_entry_cursor_selection_begin(Evas_Object *obj);
811 EAPI void elm_entry_cursor_selection_end(Evas_Object *obj);
812 EAPI Eina_Bool elm_entry_cursor_is_format_get(const Evas_Object *obj);
813 EAPI Eina_Bool elm_entry_cursor_is_visible_format_get(const Evas_Object *obj);
814 EAPI const char *elm_entry_cursor_content_get(const Evas_Object *obj);
815 EAPI void elm_entry_selection_cut(Evas_Object *obj);
816 EAPI void elm_entry_selection_copy(Evas_Object *obj);
817 EAPI void elm_entry_selection_paste(Evas_Object *obj);
818 EAPI void elm_entry_context_menu_clear(Evas_Object *obj);
819 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);
820 EAPI void elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
821 EAPI Eina_Bool elm_entry_context_menu_disabled_get(const Evas_Object *obj);
822 EAPI void elm_entry_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data);
823 EAPI void elm_entry_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data);
824 EAPI void elm_entry_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data);
825 EAPI char *elm_entry_markup_to_utf8(const char *s);
826 EAPI char *elm_entry_utf8_to_markup(const char *s);
827 EAPI void elm_entry_fontsize_set(Evas_Object *obj, int fontsize);
828 EAPI void elm_entry_text_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
829 EAPI void elm_entry_text_align_set(Evas_Object *obj, const char *alignmode);
830 EAPI void elm_entry_background_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
831 EAPI void elm_entry_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis);
833 EAPI void elm_entry_autocapitalization_set(Evas_Object *obj, Eina_Bool autocap);
834 EAPI void elm_entry_autoperiod_set(Evas_Object *obj, Eina_Bool autoperiod);
835 EAPI void elm_entry_autoenable_returnkey_set(Evas_Object *obj, Eina_Bool on);
836 EAPI void elm_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled);
837 EAPI void elm_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout);
838 EAPI Ecore_IMF_Context *elm_entry_imf_context_get(Evas_Object *obj);
839 EAPI void elm_entry_maximum_bytes_set(Evas_Object *obj, int max_no_of_bytes);
841 /* smart callbacks called:
842 * "changed" - the text content changed
843 * "selection,start" - the user started selecting text
844 * "selection,changed" - the user modified the selection size/location
845 * "selection,cleared" - the user cleared the selection
846 * "selection,paste" - the user requested a paste of text
847 * "selection,copy" - the user copied the text
848 * "selection,cut" - the user cut the text
849 * "cursor,changed" - the cursor changed position
850 * "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchor_Info
851 * "activated" - when the enter key is pressed (useful for single line)
852 * "press" - when finger/mouse is pressed down
853 * "clicked" - when finger/mouse is pressed and released (without a drag etc.)
854 * "clicked,double" - when finger/mouse is double-pressed
855 * "longpressed" - the entry has been longpressed
856 * "focused" - the entry has received keyboard focus
857 * "unfocused" - keyboard focus is gone
860 /* composite widgets - these basically put together basic widgets above
861 * in convenient packages that do more than basic stuff */
862 typedef enum _Elm_Text_Format
864 ELM_TEXT_FORMAT_PLAIN_UTF8,
865 ELM_TEXT_FORMAT_MARKUP_UTF8
867 EAPI Evas_Object *elm_notepad_add(Evas_Object *parent);
868 EAPI void elm_notepad_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format);
869 EAPI void elm_notepad_file_save(Evas_Object *obj, const char *file, Elm_Text_Format format);
870 EAPI void elm_notepad_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
871 EAPI void elm_notepad_autosave_set(Evas_Object *obj, Eina_Bool autosave);
873 /* smart callbacks called:
876 typedef struct _Elm_Entry_Anchorview_Info Elm_Entry_Anchorview_Info;
877 struct _Elm_Entry_Anchorview_Info
884 Evas_Coord x, y, w, h;
885 } anchor, hover_parent;
886 Eina_Bool hover_left : 1;
887 Eina_Bool hover_right : 1;
888 Eina_Bool hover_top : 1;
889 Eina_Bool hover_bottom : 1;
891 EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent);
892 EAPI void elm_anchorview_text_set(Evas_Object *obj, const char *text);
893 EAPI const char *elm_anchorview_text_get(const Evas_Object *obj);
895 EAPI void elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
896 EAPI void elm_anchorview_hover_style_set(Evas_Object *obj, const char *style);
897 EAPI void elm_anchorview_hover_end(Evas_Object *obj);
898 EAPI void elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
899 EAPI void elm_anchorview_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorview, const char *item), void *data);
900 EAPI void elm_anchorview_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorview, const char *item), void *data);
901 EAPI void elm_anchorview_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorview, const char *item), void *data);
902 /* smart callbacks called:
903 * "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchorview_Info
906 typedef struct _Elm_Entry_Anchorblock_Info Elm_Entry_Anchorblock_Info;
907 struct _Elm_Entry_Anchorblock_Info
914 Evas_Coord x, y, w, h;
915 } anchor, hover_parent;
916 Eina_Bool hover_left : 1;
917 Eina_Bool hover_right : 1;
918 Eina_Bool hover_top : 1;
919 Eina_Bool hover_bottom : 1;
921 EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent);
922 EAPI void elm_anchorblock_text_set(Evas_Object *obj, const char *text);
923 EAPI const char *elm_anchorblock_text_get(const Evas_Object *obj);
924 EAPI void elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
925 EAPI void elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style);
926 EAPI void elm_anchorblock_hover_end(Evas_Object *obj);
927 EAPI void elm_anchorblock_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data);
928 EAPI void elm_anchorblock_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data);
929 EAPI void elm_anchorblock_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data);
930 /* smart callbacks called:
931 * "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchorblock_Info
934 EAPI Evas_Object *elm_bubble_add(Evas_Object *parent);
935 EAPI void elm_bubble_label_set(Evas_Object *obj, const char *label);
936 EAPI const char *elm_bubble_label_get(const Evas_Object *obj);
937 EAPI void elm_bubble_info_set(Evas_Object *obj, const char *info);
938 EAPI const char *elm_bubble_info_get(const Evas_Object *obj);
940 EAPI void elm_bubble_content_set(Evas_Object *obj, Evas_Object *content);
941 EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj);
942 EAPI void elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon);
943 EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj);
944 EAPI void elm_bubble_corner_set(Evas_Object *obj, const char *corner);
945 /* smart callbacks called:
948 EAPI Evas_Object *elm_photo_add(Evas_Object *parent);
949 EAPI Eina_Bool elm_photo_file_set(Evas_Object *obj, const char *file);
950 EAPI void elm_photo_size_set(Evas_Object *obj, int size);
951 EAPI void elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill);
952 /* smart callbacks called:
953 * "clicked" - the user clicked the icon
956 EAPI Evas_Object *elm_thumb_add(Evas_Object *parent);
957 EAPI void elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key);
958 EAPI void elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key);
959 EAPI void elm_thumb_path_get(const Evas_Object *obj, const char **file, const char **key);
960 EAPI void elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s);
961 EAPI Elm_Thumb_Animation_Setting elm_thumb_animate_get(const Evas_Object *obj);
962 EAPI Eina_Bool elm_thumb_ethumb_client_connected(void);
964 EAPI Ethumb_Client *elm_thumb_ethumb_client_get(void);
966 EAPI void *elm_thumb_ethumb_client_get(void);
968 /* smart callbacks called:
969 * "clicked" - the user clicked the thumb
970 * "clicked,double" - the user double clicked the thumb
971 * "press" - the user pressed the thumb
972 * "generate,start" - the thumbnail generation started
973 * "generate,stop" - the thumbnail generation stopped
974 * "generate,error" - the thumbnail generation failed
975 * "load,error" - the thumbnail image loading failed
978 EAPI Evas_Object *elm_hoversel_add(Evas_Object *parent);
979 EAPI void elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
980 EAPI Eina_Bool elm_hoversel_horizontal_get(const Evas_Object *obj);
981 EAPI void elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
982 EAPI void elm_hoversel_label_set(Evas_Object *obj, const char *label);
983 EAPI const char *elm_hoversel_label_get(const Evas_Object *obj);
984 EAPI void elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon);
985 EAPI Evas_Object *elm_hoversel_icon_get(const Evas_Object *obj);
986 EAPI void elm_hoversel_hover_begin(Evas_Object *obj);
987 EAPI void elm_hoversel_hover_end(Evas_Object *obj);
988 EAPI Eina_Bool elm_hoversel_expanded_get(Evas_Object *obj);
989 EAPI void elm_hoversel_clear(Evas_Object *obj);
990 EAPI const Eina_List * elm_hoversel_items_get(const Evas_Object *obj);
991 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);
992 EAPI void elm_hoversel_item_del(Elm_Hoversel_Item *item);
993 EAPI void elm_hoversel_item_del_cb_set(Elm_Hoversel_Item *it, Evas_Smart_Cb func);
994 EAPI void *elm_hoversel_item_data_get(Elm_Hoversel_Item *it);
995 EAPI const char *elm_hoversel_item_label_get(Elm_Hoversel_Item *it);
996 EAPI void elm_hoversel_item_icon_set(Elm_Hoversel_Item *it, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type);
997 EAPI void elm_hoversel_item_icon_get(Elm_Hoversel_Item *it, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type);
998 /* smart callbacks called:
999 * "clicked" - the user clicked the hoversel button and popped up the sel
1000 * "selected" - an item in the hoversel list is selected
1001 * "dismissed" - the hover is dismissed
1004 typedef struct _Elm_Toolbar_Item Elm_Toolbar_Item;
1005 EAPI Evas_Object *elm_toolbar_add(Evas_Object *parent);
1006 EAPI void elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size);
1007 EAPI int elm_toolbar_icon_size_get(const Evas_Object *obj);
1008 EAPI Elm_Toolbar_Item *elm_toolbar_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, Evas_Smart_Cb func, const void *data);
1009 EAPI Evas_Object *elm_toolbar_item_icon_get(Elm_Toolbar_Item *item);
1010 EAPI const char *elm_toolbar_item_label_get(const Elm_Toolbar_Item *item);
1011 EAPI Eina_Bool elm_toolbar_item_selected_get(const Elm_Toolbar_Item *item);
1012 EAPI void elm_toolbar_item_label_set(Elm_Toolbar_Item *item, const char *label);
1013 EAPI void elm_toolbar_item_del(Elm_Toolbar_Item *item);
1014 EAPI void elm_toolbar_item_del_cb_set(Elm_Toolbar_Item *it, Evas_Smart_Cb func);
1015 EAPI void elm_toolbar_item_select(Elm_Toolbar_Item *item);
1016 EAPI Eina_Bool elm_toolbar_item_disabled_get(Elm_Toolbar_Item *item);
1017 EAPI void elm_toolbar_item_disabled_set(Elm_Toolbar_Item *item, Eina_Bool disabled);
1018 EAPI void elm_toolbar_item_separator_set(Elm_Toolbar_Item *item, Eina_Bool separator);
1019 EAPI Eina_Bool elm_toolbar_item_separator_get(Elm_Toolbar_Item *item);
1020 EAPI Eina_List *elm_toolbar_item_get_all(Evas_Object *obj);
1021 EAPI Elm_Toolbar_Item *elm_toolbar_item_get_first(Evas_Object *obj);
1022 EAPI Elm_Toolbar_Item *elm_toolbar_item_get_last(Evas_Object *obj);
1023 EAPI Elm_Toolbar_Item *elm_toolbar_item_get_next(Evas_Object *obj);
1024 EAPI Elm_Toolbar_Item *elm_toolbar_item_select_next(Evas_Object *obj);
1025 EAPI Elm_Toolbar_Item *elm_toolbar_item_select_first(Evas_Object *obj);
1026 EAPI Elm_Toolbar_Item *elm_toolbar_item_select_last(Evas_Object *obj);
1027 EAPI Elm_Toolbar_Item *elm_toolbar_item_find_by_label(Evas_Object *obj, const char *label);
1028 EAPI void elm_toolbar_scrollable_set(Evas_Object *obj, Eina_Bool scrollable);
1029 EAPI Eina_Bool elm_toolbar_scrollable_get(Evas_Object *obj);
1030 EAPI void elm_toolbar_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
1031 EAPI Eina_Bool elm_toolbar_homogenous_get(Evas_Object *obj);
1032 EAPI void elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent);
1033 EAPI Evas_Object *elm_toolbar_menu_parent_get(Evas_Object *obj);
1034 EAPI void elm_toolbar_item_unselect_all(Evas_Object *obj);
1035 EAPI void elm_toolbar_align_set(Evas_Object *obj, double align);
1036 EAPI double elm_toolbar_align_get(const Evas_Object *obj);
1037 EAPI void elm_toolbar_item_menu_set(Elm_Toolbar_Item *item, Eina_Bool menu);
1038 EAPI Evas_Object *elm_toolbar_item_menu_get(Elm_Toolbar_Item *item);
1039 /* smart callbacks called:
1040 * "clicked" - when the user clicks on a toolbar item and becomes selected
1043 typedef struct _Menu_Item Elm_Menu_Item;
1044 EAPI Evas_Object *elm_menu_add(Evas_Object *parent);
1045 EAPI void elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent);
1046 EAPI void elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y);
1047 EAPI Evas_Object *elm_menu_object_get(const Elm_Menu_Item *it);
1048 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);
1049 EAPI void elm_menu_item_label_set(Elm_Menu_Item *item, const char *label);
1050 EAPI const char *elm_menu_item_label_get(Elm_Menu_Item *item);
1051 EAPI void elm_menu_item_icon_set(Elm_Menu_Item *item, Evas_Object *icon);
1052 EAPI Evas_Object *elm_menu_item_icon_get(Elm_Menu_Item *item);
1053 EAPI void elm_menu_item_disabled_set(Elm_Menu_Item *item, Eina_Bool disabled);
1054 EAPI Eina_Bool elm_menu_item_disabled_get(Elm_Menu_Item *item);
1055 EAPI Elm_Menu_Item *elm_menu_item_separator_add(Evas_Object *obj, Elm_Menu_Item *parent);
1056 EAPI Eina_Bool elm_menu_item_is_separator(Elm_Menu_Item *item);
1057 EAPI void elm_menu_item_del(Elm_Menu_Item *item);
1058 EAPI void elm_menu_item_del_cb_set(Elm_Menu_Item *it, Evas_Smart_Cb func);
1059 EAPI void *elm_menu_item_data_get(const Elm_Menu_Item *it);
1060 EAPI void elm_menu_item_data_set(Elm_Menu_Item *item, const void *data);
1061 EAPI const Eina_List *elm_menu_item_subitems_get(Elm_Menu_Item *item);
1062 /* smart callbacks called:
1063 * "clicked" - the user clicked the empty space in the menu to dismiss. event_info is NULL.
1066 typedef enum _Elm_List_Mode
1068 ELM_LIST_COMPRESS = 0,
1073 typedef struct _Elm_List_Item Elm_List_Item;
1074 EAPI Evas_Object *elm_list_add(Evas_Object *parent);
1075 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);
1076 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);
1077 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);
1078 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);
1079 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);
1080 EAPI void elm_list_clear(Evas_Object *obj);
1081 EAPI void elm_list_go(Evas_Object *obj);
1082 EAPI void elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi);
1083 EAPI Eina_Bool elm_list_multi_select_get(const Evas_Object *obj);
1084 EAPI void elm_list_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode);
1085 EAPI Elm_List_Mode elm_list_horizontal_mode_get(const Evas_Object *obj);
1086 EAPI void elm_list_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
1087 EAPI Eina_Bool elm_list_always_select_mode_get(const Evas_Object *obj);
1088 EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj);
1089 EAPI Elm_List_Item *elm_list_selected_item_get(const Evas_Object *obj);
1090 EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj);
1092 EAPI void elm_list_item_separator_set(Elm_List_Item *it, Eina_Bool setting);
1093 EAPI Eina_Bool elm_list_item_separator_get(const Elm_List_Item *it);
1095 EAPI void elm_list_item_selected_set(Elm_List_Item *item, Eina_Bool selected);
1096 EAPI Eina_Bool elm_list_item_selected_get(Elm_List_Item *item);
1097 EAPI void elm_list_item_show(Elm_List_Item *item);
1098 EAPI void elm_list_item_del(Elm_List_Item *item);
1099 EAPI void elm_list_item_del_cb_set(Elm_List_Item *item, Evas_Smart_Cb func);
1100 EAPI void *elm_list_item_data_get(const Elm_List_Item *item);
1101 EAPI Evas_Object *elm_list_item_icon_get(const Elm_List_Item *item);
1102 EAPI void elm_list_item_icon_set(Elm_List_Item *item, Evas_Object *icon);
1103 EAPI Evas_Object *elm_list_item_end_get(const Elm_List_Item *item);
1104 EAPI void elm_list_item_end_set(Elm_List_Item *item, Evas_Object *end);
1105 EAPI Evas_Object *elm_list_item_base_get(const Elm_List_Item *item);
1106 EAPI const char *elm_list_item_label_get(const Elm_List_Item *item);
1107 EAPI void elm_list_item_label_set(Elm_List_Item *item, const char *text);
1108 EAPI Elm_List_Item *elm_list_item_prev(const Elm_List_Item *it);
1109 EAPI Elm_List_Item *elm_list_item_next(const Elm_List_Item *it);
1110 EAPI void elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
1111 EAPI void elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
1112 EAPI void elm_list_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v);
1114 /* smart callbacks called:
1115 * "clicked" - when the user double-clicked an item
1116 * "selected" - when the user selected an item
1117 * "unselected" - when the user selected an item
1118 * "longpressed" - an item in the hoversel list is long-pressed
1121 // FIXME: incomplete - carousel. don't use this until this comment is removed
1122 typedef struct _Elm_Carousel_Item Elm_Carousel_Item;
1123 EAPI Evas_Object *elm_carousel_add(Evas_Object *parent);
1124 EAPI Elm_Carousel_Item *elm_carousel_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, Evas_Smart_Cb func, const void *data);
1125 EAPI void elm_carousel_item_del(Elm_Carousel_Item *item);
1126 EAPI void elm_carousel_item_select(Elm_Carousel_Item *item);
1127 /* smart callbacks called:
1128 * "clicked" - when the user clicks on a carousel item and becomes selected
1131 EAPI Evas_Object *elm_slider_add(Evas_Object *parent);
1132 EAPI void elm_slider_label_set(Evas_Object *obj, const char *label);
1133 EAPI const char *elm_slider_label_get(const Evas_Object *obj);
1134 EAPI void elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon);
1135 EAPI Evas_Object *elm_slider_icon_get(const Evas_Object *obj);
1136 EAPI void elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size);
1137 EAPI Evas_Coord elm_slider_span_size_get(const Evas_Object *obj);
1138 EAPI void elm_slider_unit_format_set(Evas_Object *obj, const char *format);
1139 EAPI const char *elm_slider_unit_format_get(const Evas_Object *obj);
1140 EAPI void elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator);
1141 EAPI const char *elm_slider_indicator_format_get(const Evas_Object *obj);
1142 EAPI void elm_slider_indicator_format_function_set(Evas_Object *obj, const char *(*func)(double val));
1143 EAPI void elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
1144 EAPI Eina_Bool elm_slider_horizontal_get(const Evas_Object *obj);
1145 EAPI void elm_slider_min_max_set(Evas_Object *obj, double min, double max);
1146 EAPI void elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max);
1147 EAPI void elm_slider_value_set(Evas_Object *obj, double val);
1148 EAPI double elm_slider_value_get(const Evas_Object *obj);
1149 EAPI void elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted);
1150 EAPI Eina_Bool elm_slider_inverted_get(const Evas_Object *obj);
1151 EAPI Eina_Bool elm_slider_end_icon_set(Evas_Object *obj, Evas_Object *icon);
1152 EAPI Evas_Object *elm_slider_end_icon_get(Evas_Object *obj);
1153 EAPI void elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show);
1154 EAPI void elm_slider_value_animated_set(Evas_Object *obj, double val);
1155 EAPI void elm_slider_end_label_set(Evas_Object *obj, const char *label);
1156 EAPI const char *elm_slider_end_label_get(const Evas_Object *obj);
1157 /* smart callbacks called:
1158 * "clicked" - when the user clicks on a carousel item and becomes selected
1160 * "delay,changed" - A short time after the value is changed by the user.
1161 * This will be called only when the user stops dragging for a very short
1162 * period or when they release their finger/mouse, so it avoids possibly
1163 * expensive reactions to the value change.
1165 * "slider,drag,start" - dragging the slider indicator around has started
1167 * "slider,drag,stop" - dragging the slider indicator around has stopped
1171 typedef enum _Elm_Genlist_Item_Flags
1173 ELM_GENLIST_ITEM_NONE = 0,
1174 ELM_GENLIST_ITEM_SUBITEMS = (1 << 0)
1175 } Elm_Genlist_Item_Flags;
1176 typedef enum _Elm_Genlist_Edit_Mode
1178 ELM_GENLIST_EDIT_MODE_NONE = 0,
1179 ELM_GENLIST_EDIT_MODE_REORDER = (1 << 0),
1180 ELM_GENLIST_EDIT_MODE_INSERT = (1 << 1),
1181 ELM_GENLIST_EDIT_MODE_DELETE = (1 << 2),
1182 ELM_GENLIST_EDIT_MODE_SELECT = (1 << 3),
1183 ELM_GENLIST_EDIT_MODE_SELECTALL = (1 << 4)
1184 } Elm_Genlist_Edit_Mode;
1185 typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class;
1186 typedef struct _Elm_Genlist_Item Elm_Genlist_Item;
1187 typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func;
1188 typedef struct _Elm_Genlist_GroupItem Elm_Genlist_GroupItem;
1189 typedef struct _Elm_Genlist_Edit_Class Elm_Genlist_Edit_Class;
1190 typedef char *(*GenlistItemLabelGetFunc) (const void *data, Evas_Object *obj, const char *part);
1191 typedef char *(*GenlistItemLabelChangedFunc) (const void *data, Elm_Genlist_Item *it, const char *text, const int sub_text );
1192 typedef Evas_Object *(*GenlistItemIconGetFunc) (const void *data, Evas_Object *obj, const char *part);
1193 typedef Eina_Bool (*GenlistItemStateGetFunc) (const void *data, Evas_Object *obj, const char *part);
1194 typedef void (*GenlistItemDelFunc) (const void *data, Evas_Object *obj);
1195 typedef int (*GenlistItemEditModeGetFunc) (const void *data, Evas_Object *obj, const int enabled_edit_modes);
1196 typedef void (*GenlistInsertNewFunc) (Evas_Object *genlist, Elm_Genlist_Item *rel_item);
1197 typedef void (*GenlistItemSelectedFunc) (const void *data, Elm_Genlist_Item *it, Eina_Bool selected);
1198 typedef Eina_Bool (*GenlistMoveFunc) ( Evas_Object *genlist, Elm_Genlist_Item *item, Elm_Genlist_Item *rel_item, Eina_Bool move_after);
1199 typedef Eina_Bool (*GenlistRemoveItemFunc) (Evas_Object *genlist, Elm_Genlist_Item *rel_item);
1201 struct _Elm_Genlist_Item_Class
1203 const char *item_style;
1204 struct _Elm_Genlist_Item_Class_Func
1206 GenlistItemLabelGetFunc label_get;
1207 GenlistItemIconGetFunc icon_get;
1208 GenlistItemStateGetFunc state_get;
1209 GenlistItemDelFunc del;
1210 GenlistItemEditModeGetFunc editmode_get;
1211 GenlistItemLabelChangedFunc label_changed;
1215 struct _Elm_Genlist_Edit_Class
1217 GenlistRemoveItemFunc remove;
1218 GenlistInsertNewFunc insert_new;
1219 GenlistMoveFunc move;
1220 GenlistItemSelectedFunc item_selected;
1221 const char *item_style;
1222 const char *select_all_item_style;
1224 EAPI Evas_Object *elm_genlist_add(Evas_Object *parent);
1225 EAPI void elm_genlist_clear(Evas_Object *obj);
1226 EAPI void elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi);
1227 EAPI Eina_Bool elm_genlist_multi_select_get(const Evas_Object *obj);
1228 EAPI void elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode);
1229 EAPI Elm_List_Mode elm_genlist_horizontal_mode_get(const Evas_Object *obj);
1230 EAPI void elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
1231 EAPI Eina_Bool elm_genlist_always_select_mode_get(const Evas_Object *obj);
1232 EAPI void elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
1233 EAPI Eina_Bool elm_genlist_no_select_mode_get(const Evas_Object *obj);
1234 EAPI void elm_genlist_compress_mode_set(Evas_Object *obj, Eina_Bool compress);
1235 EAPI Eina_Bool elm_genlist_compress_mode_get(const Evas_Object *obj);
1236 EAPI void elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
1237 EAPI void elm_genlist_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
1238 EAPI void elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous);
1239 EAPI Eina_Bool elm_genlist_homogeneous_get(const Evas_Object *obj);
1240 EAPI void elm_genlist_block_count_set(Evas_Object *obj, int n);
1241 EAPI int elm_genlist_block_count_get(const Evas_Object *obj);
1242 EAPI void elm_genlist_longpress_timeout_set(const Evas_Object *obj, double timeout);
1243 EAPI double elm_genlist_longpress_timeout_get(const Evas_Object *obj);
1246 /* operations to add items */
1247 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);
1248 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);
1249 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);
1250 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);
1251 /* operations to retrieve existing items */
1252 EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj);
1253 EAPI const Eina_List *elm_genlist_selected_items_get(const Evas_Object *obj);
1254 EAPI Eina_List *elm_genlist_realized_items_get(const Evas_Object *obj);
1255 EAPI Elm_Genlist_Item *elm_genlist_at_xy_item_get(const Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *posret);
1256 EAPI Elm_Genlist_Item *elm_genlist_first_item_get(const Evas_Object *obj);
1257 EAPI Elm_Genlist_Item *elm_genlist_last_item_get(const Evas_Object *obj);
1258 /* available item styles:
1260 * default_style - The text part is a textblock
1262 * icon_top_text_bottom
1265 /* Genlist Item operation */
1266 EAPI Elm_Genlist_Item *elm_genlist_item_next_get(const Elm_Genlist_Item *item);
1267 EAPI Elm_Genlist_Item *elm_genlist_item_prev_get(const Elm_Genlist_Item *item);
1268 EAPI Evas_Object *elm_genlist_item_genlist_get(const Elm_Genlist_Item *item);
1269 EAPI Elm_Genlist_Item *elm_genlist_item_parent_get(const Elm_Genlist_Item *it);
1270 EAPI void elm_genlist_item_subitems_clear(Elm_Genlist_Item *item);
1271 EAPI void elm_genlist_item_selected_set(Elm_Genlist_Item *item, Eina_Bool selected);
1272 EAPI Eina_Bool elm_genlist_item_selected_get(const Elm_Genlist_Item *item);
1273 EAPI void elm_genlist_item_expanded_set(Elm_Genlist_Item *item, Eina_Bool expanded);
1274 EAPI Eina_Bool elm_genlist_item_expanded_get(const Elm_Genlist_Item *item);
1275 EAPI void elm_genlist_item_disabled_set(Elm_Genlist_Item *item, Eina_Bool disabled);
1276 EAPI Eina_Bool elm_genlist_item_disabled_get(const Elm_Genlist_Item *item);
1277 EAPI void elm_genlist_item_display_only_set(Elm_Genlist_Item *it, Eina_Bool display_only);
1278 EAPI Eina_Bool elm_genlist_item_display_only_get(const Elm_Genlist_Item *it);
1279 EAPI void elm_genlist_item_show(Elm_Genlist_Item *item);
1280 EAPI void elm_genlist_item_bring_in(Elm_Genlist_Item *item);
1281 EAPI void elm_genlist_item_top_show(Elm_Genlist_Item *item);
1282 EAPI void elm_genlist_item_top_bring_in(Elm_Genlist_Item *item);
1283 EAPI void elm_genlist_item_middle_show(Elm_Genlist_Item *it);
1284 EAPI void elm_genlist_item_middle_bring_in(Elm_Genlist_Item *it);
1285 EAPI void elm_genlist_item_del(Elm_Genlist_Item *item);
1286 EAPI const void *elm_genlist_item_data_get(const Elm_Genlist_Item *item);
1287 EAPI void elm_genlist_item_data_set(Elm_Genlist_Item *it, const void *data);
1288 EAPI const Evas_Object *elm_genlist_item_object_get(const Elm_Genlist_Item *it);
1289 EAPI void elm_genlist_item_update(Elm_Genlist_Item *item);
1290 EAPI void elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
1291 EINA_DEPRECATED EAPI void elm_genlist_set_edit_mode(Evas_Object *obj, int emode, Elm_Genlist_Edit_Class *ec);
1292 EAPI void elm_genlist_edit_mode_set(Evas_Object *obj, int emode, Elm_Genlist_Edit_Class *ec);
1293 EAPI int elm_genlist_item_expanded_depth_get(Elm_Genlist_Item *it);
1294 EAPI void elm_genlist_edit_selected_items_del(Evas_Object *obj);
1295 EINA_DEPRECATED EAPI void elm_genlist_selected_items_del(Evas_Object *obj);
1296 EAPI Eina_List * elm_genlist_edit_selected_items_get(const Evas_Object *obj);
1297 EAPI void elm_genlist_item_rename_mode_set(Elm_Genlist_Item *it, int emode);
1299 EAPI Elm_Genlist_GroupItem *elm_genlist_groupitem_add(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data);
1300 EAPI void elm_genlist_groupitem_del( Elm_Genlist_GroupItem *git);
1301 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);
1302 EAPI void elm_genlist_item_move_after(Elm_Genlist_Item *it, Elm_Genlist_Item *after );
1304 EAPI Evas_Object *elm_check_add(Evas_Object *parent);
1305 EAPI void elm_check_label_set(Evas_Object *obj, const char *label);
1306 EAPI const char *elm_check_label_get(const Evas_Object *obj);
1307 EAPI void elm_check_icon_set(Evas_Object *obj, Evas_Object *icon);
1308 EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj);
1309 EAPI void elm_check_state_set(Evas_Object *obj, Eina_Bool state);
1310 EAPI Eina_Bool elm_check_state_get(const Evas_Object *obj);
1311 EAPI void elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep);
1313 EAPI Evas_Object *elm_radio_add(Evas_Object *parent);
1314 EAPI void elm_radio_label_set(Evas_Object *obj, const char *label);
1315 EAPI const char *elm_radio_label_get(const Evas_Object *obj);
1316 EAPI void elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon);
1317 EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj);
1318 EAPI void elm_radio_group_add(Evas_Object *obj, Evas_Object *group);
1319 EAPI void elm_radio_state_value_set(Evas_Object *obj, int value);
1320 EAPI void elm_radio_value_set(Evas_Object *obj, int value);
1321 EAPI int elm_radio_value_get(const Evas_Object *obj);
1322 EAPI void elm_radio_value_pointer_set(Evas_Object *obj, int *valuep);
1324 typedef struct _Elm_Segment_Item Elm_Segment_Item;
1325 EAPI Evas_Object *elm_segment_control_add(Evas_Object *parent);
1326 EAPI Elm_Segment_Item * elm_segment_control_add_segment(Evas_Object *obj, Evas_Object *icon, const char *label, Eina_Bool animate);
1327 EAPI Elm_Segment_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, Eina_Bool animate);
1328 EAPI void elm_segment_control_insert_segment_at(Evas_Object *obj, Evas_Object *icon, const char *label, unsigned int index, Eina_Bool animate);
1329 EAPI Elm_Segment_Item *elm_segment_control_item_insert_at(Evas_Object *obj, Evas_Object *icon, const char *label, unsigned int index, Eina_Bool animate);
1330 EAPI Elm_Segment_Item *elm_segment_control_item_get_at(Evas_Object *obj, unsigned int index);
1331 EAPI void elm_segment_control_item_selected_set(Elm_Segment_Item *item, Eina_Bool select);
1332 EAPI void elm_segment_control_delete_segment(Evas_Object *obj, Elm_Segment_Item *item, Eina_Bool animate);
1333 EAPI void elm_segment_control_item_del(Evas_Object *obj, Elm_Segment_Item *item, Eina_Bool animate);
1334 EAPI void elm_segment_control_delete_segment_at(Evas_Object *obj, unsigned int index, Eina_Bool animate);
1335 EAPI void elm_segment_control_item_del_at(Evas_Object *obj, unsigned int index, Eina_Bool animate);
1336 EAPI const char *elm_segment_control_get_segment_label_at(Evas_Object *obj, unsigned int index);
1337 EAPI const char *elm_segment_control_item_label_get(Evas_Object *obj, unsigned int index);
1338 EAPI Evas_Object *elm_segment_control_get_segment_icon_at(Evas_Object *obj, unsigned int index);
1339 EAPI Evas_Object *elm_segment_control_item_icon_get(Evas_Object *obj, unsigned int index);
1340 EAPI Elm_Segment_Item *elm_segment_control_selected_segment_get(const Evas_Object *obj, int *value);
1341 EAPI Elm_Segment_Item *elm_segment_control_item_selected_get(const Evas_Object *obj);
1342 EAPI int elm_segment_control_get_segment_count(Evas_Object *obj);
1343 EAPI int elm_segment_control_item_count_get(Evas_Object *obj);
1344 EAPI int elm_segment_control_item_index_get(Elm_Segment_Item *item);
1345 EAPI Evas_Object *elm_segment_control_item_object_get(Elm_Segment_Item *it);
1347 EAPI Evas_Object *elm_page_control_add(Evas_Object *parent);
1348 EAPI void elm_page_control_page_count_set(Evas_Object *obj, unsigned int page_count);
1349 EAPI void elm_page_control_page_id_set(Evas_Object *obj, unsigned int page_id);
1350 EAPI unsigned int elm_page_control_page_id_get(Evas_Object *obj);
1351 EAPI Evas_Object *elm_pager_add(Evas_Object *parent);
1352 EAPI void elm_pager_content_push(Evas_Object *obj, Evas_Object *content);
1353 EAPI void elm_pager_content_pop(Evas_Object *obj);
1354 EAPI void elm_pager_to_content_pop(Evas_Object *obj, Evas_Object *content);
1355 EAPI void elm_pager_content_promote(Evas_Object *obj, Evas_Object *content);
1356 EAPI Evas_Object *elm_pager_content_bottom_get(const Evas_Object *obj);
1357 EAPI Evas_Object *elm_pager_content_top_get(const Evas_Object *obj);
1359 /* available item styles:
1366 typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class;
1367 typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func;
1368 typedef struct _Elm_Slideshow_Item Elm_Slideshow_Item;
1369 typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj);
1370 typedef void (*SlideshowItemDelFunc) (void *data, Evas_Object *obj);
1372 struct _Elm_Slideshow_Item_Class
1374 struct _Elm_Slideshow_Item_Class_Func {
1375 SlideshowItemGetFunc get;
1376 SlideshowItemDelFunc del;
1380 EAPI Evas_Object *elm_slideshow_add(Evas_Object *parent);
1381 EAPI Elm_Slideshow_Item *elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data);
1382 EAPI void elm_slideshow_show(Elm_Slideshow_Item *item);
1383 EAPI void elm_slideshow_next(Evas_Object *obj);
1384 EAPI void elm_slideshow_previous(Evas_Object *obj);
1385 EAPI const Eina_List *elm_slideshow_transitions_get(const Evas_Object *obj);
1386 EAPI void elm_slideshow_transition_set(Evas_Object *obj, const char *);
1387 EAPI const char *elm_slideshow_transition_get(const Evas_Object *obj);
1388 EAPI void elm_slideshow_timeout_set(Evas_Object *obj ,int timeout);
1389 EAPI int elm_slideshow_timeout_get(const Evas_Object *obj);
1390 EAPI void elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop);
1391 EAPI Eina_Bool elm_slideshow_loop_get(const Evas_Object *obj);
1392 EAPI void elm_slideshow_clear(Evas_Object *obj);
1393 EAPI const Eina_List *elm_slideshow_items_get(const Evas_Object *obj);
1394 EAPI void elm_slideshow_item_del(Elm_Slideshow_Item *item);
1395 EAPI void *elm_slideshow_item_data_get(Elm_Slideshow_Item *item);
1396 EAPI Elm_Slideshow_Item *elm_slideshow_item_current_get(const Evas_Object *obj);
1397 EAPI Evas_Object* elm_slideshow_item_object_get(Elm_Slideshow_Item* item);
1398 EAPI const char *elm_slideshow_layout_get(const Evas_Object *obj);
1399 EAPI void elm_slideshow_layout_set(Evas_Object *obj, const char *layout);
1400 EAPI const Eina_List *elm_slideshow_layouts_get(const Evas_Object *obj);
1402 EAPI Evas_Object *elm_fileselector_add(Evas_Object *parent);
1403 EAPI void elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save);
1404 EAPI Eina_Bool elm_fileselector_is_save_get(const Evas_Object *obj);
1405 EAPI void elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only);
1406 EAPI Eina_Bool elm_fileselector_folder_only_get(const Evas_Object *obj);
1407 EAPI void elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons);
1408 EAPI Eina_Bool elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj);
1409 EAPI Eina_Bool elm_fileselector_expandable_get(const Evas_Object *obj);
1410 EAPI void elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand);
1411 EAPI void elm_fileselector_path_set(Evas_Object *obj, const char *path);
1412 EAPI const char *elm_fileselector_path_get(const Evas_Object *obj);
1413 EAPI const char *elm_fileselector_selected_get(const Evas_Object *obj);
1414 EAPI Eina_Bool elm_fileselector_selected_set(Evas_Object *obj, const char *path);
1416 /* smart callbacks called:
1417 * "selected" - the user click on a file
1418 * "directory,open" - the list is populate with a new content. event_info is a directory.
1419 * "done" - the user click on the ok or cancel buttons
1422 EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent);
1423 EAPI void elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse);
1424 EAPI Eina_Bool elm_progressbar_pulse_get(const Evas_Object *obj);
1425 EAPI void elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state);
1426 EAPI void elm_progressbar_value_set(Evas_Object *obj, double val);
1427 EAPI double elm_progressbar_value_get(const Evas_Object *obj);
1428 EAPI void elm_progressbar_label_set(Evas_Object *obj, const char *label);
1429 EAPI const char *elm_progressbar_label_get(const Evas_Object *obj);
1430 EAPI void elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon);
1431 EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj);
1432 EAPI void elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size);
1433 EAPI Evas_Coord elm_progressbar_span_size_get(const Evas_Object *obj);
1434 EAPI void elm_progressbar_unit_format_set(Evas_Object *obj, const char *format);
1435 EAPI const char *elm_progressbar_unit_format_get(const Evas_Object *obj);
1436 EAPI void elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
1437 EAPI Eina_Bool elm_progressbar_horizontal_get(const Evas_Object *obj);
1438 EAPI void elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted);
1439 EAPI Eina_Bool elm_progressbar_inverted_get(const Evas_Object *obj);
1440 /* smart callbacks called:
1442 /* available item styles:
1444 * wheel (simple style, no text, no progression, only pulse is available)
1447 EAPI Evas_Object *elm_separator_add(Evas_Object *parent);
1448 EAPI void elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
1449 EAPI Eina_Bool elm_separator_horizontal_get(const Evas_Object *obj);
1450 /* smart callbacks called:
1453 EAPI Evas_Object *elm_spinner_add(Evas_Object *parent);
1454 EAPI void elm_spinner_label_format_set(Evas_Object *obj, const char *fmt);
1455 EAPI const char *elm_spinner_label_format_get(const Evas_Object *obj);
1456 EAPI void elm_spinner_min_max_set(Evas_Object *obj, double min, double max);
1457 EAPI void elm_spinner_min_max_get(const Evas_Object *obj, double *min, double *max);
1458 EAPI void elm_spinner_step_set(Evas_Object *obj, double step);
1459 EAPI double elm_spinner_step_get(const Evas_Object *obj);
1460 EAPI void elm_spinner_value_set(Evas_Object *obj, double val);
1461 EAPI double elm_spinner_value_get(const Evas_Object *obj);
1462 EAPI void elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap);
1463 EAPI Eina_Bool elm_spinner_wrap_get(const Evas_Object *obj);
1464 EAPI void elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable);
1465 EAPI Eina_Bool elm_spinner_editable_get(const Evas_Object *obj);
1466 EAPI void elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label);
1467 EAPI void elm_spinner_interval_set(Evas_Object *obj, double interval);
1468 EAPI double elm_spinner_interval_get(const Evas_Object *obj);
1469 /* smart callbacks called:
1470 * "changed" - when the spinner value changes
1471 * "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).
1473 /* available item styles:
1475 * vertical (two up/down buttons at the right side and text left aligned)
1478 typedef struct _Elm_Index_Item Elm_Index_Item;
1479 EAPI Evas_Object *elm_index_add(Evas_Object *parent);
1480 EAPI void elm_index_active_set(Evas_Object *obj, Eina_Bool active);
1481 EAPI void elm_index_item_level_set(Evas_Object *obj, int level);
1482 EAPI int elm_index_item_level_get(const Evas_Object *obj);
1483 EAPI const void *elm_index_item_selected_get(const Evas_Object *obj, int level);
1484 EAPI void elm_index_item_append(Evas_Object *obj, const char *letter, const void *item);
1485 EAPI void elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *item);
1486 EAPI void elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative);
1487 EAPI void elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative);
1488 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);
1489 EAPI void elm_index_item_del(Evas_Object *obj, const void *item);
1490 EAPI Elm_Index_Item *elm_index_item_find(Evas_Object *obj, const void *item);
1491 EAPI void elm_index_item_clear(Evas_Object *obj);
1492 EAPI void elm_index_item_go(Evas_Object *obj, int level);
1493 EAPI void *elm_index_item_data_get(const Elm_Index_Item *item);
1494 EAPI void elm_index_item_data_set(Elm_Index_Item *it, const void *data);
1495 EAPI const char *elm_index_item_letter_get(const Elm_Index_Item *item);
1496 /* smart callbacks called:
1497 * "changed" - when the selected index item changes
1498 * "delay,changed" - when the selected index item changes, but after some small idle period
1499 * "selected" - when the user releases heir finger and selects an item
1502 typedef enum _Elm_Photocam_Zoom_Mode
1504 ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0,
1505 ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT,
1506 ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL,
1507 ELM_PHOTOCAM_ZOOM_MODE_LAST
1508 } Elm_Photocam_Zoom_Mode;
1509 EAPI Evas_Object *elm_photocam_add(Evas_Object *parent);
1510 EAPI int elm_photocam_file_set(Evas_Object *obj, const char *file);
1511 EAPI const char * elm_photocam_file_get(const Evas_Object *obj);
1512 EAPI void elm_photocam_zoom_set(Evas_Object *obj, double zoom);
1513 EAPI double elm_photocam_zoom_get(const Evas_Object *obj);
1514 EAPI void elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode);
1515 EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj);
1516 EAPI void elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h);
1517 EAPI void elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h);
1518 EAPI void elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h);
1519 EAPI void elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h);
1520 EAPI void elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused);
1521 EAPI Eina_Bool elm_photocam_paused_get(const Evas_Object *obj);
1522 EAPI Evas_Object *elm_photocam_internal_image_get(const Evas_Object *obj);
1524 /* smart callbacks called:
1525 * "clicked" - when image clicked
1526 * "press" - when mouse/finger held down initially on image
1527 * "longpressed" - when mouse/finger held for long time on image
1528 * "clicked,double" - when mouse/finger double-clicked
1529 * "load" - when photo load begins
1530 * "loaded" - when photo load done
1531 * "load,details" - when detailed image load begins
1532 * "loaded,details" - when detailed image load done
1533 * "zoom,start" - when zooming started
1534 * "zoom,stop" - when zooming stopped
1535 * "zoom,change" - when auto zoom mode changed zoom level
1536 * "scroll - the content has been scrolled (moved)
1537 * "scroll,anim,start" - scrolling animation has started
1538 * "scroll,anim,stop" - scrolling animation has stopped
1539 * "scroll,drag,start" - dragging the contents around has started
1540 * "scroll,drag,stop" - dragging the contents around has stopped
1543 typedef enum _Elm_Map_Zoom_Mode
1545 ELM_MAP_ZOOM_MODE_MANUAL,
1546 ELM_MAP_ZOOM_MODE_AUTO_FIT,
1547 ELM_MAP_ZOOM_MODE_AUTO_FILL,
1548 ELM_MAP_ZOOM_MODE_LAST
1549 } Elm_Map_Zoom_Mode;
1551 typedef enum _Elm_Map_Sources
1553 ELM_MAP_SOURCE_MAPNIK,
1554 ELM_MAP_SOURCE_OSMARENDER,
1555 ELM_MAP_SOURCE_CYCLEMAP,
1556 ELM_MAP_SOURCE_MAPLINT,
1557 ELM_MAP_SOURCE_CUSTOM_1,
1558 ELM_MAP_SOURCE_CUSTOM_2,
1559 ELM_MAP_SOURCE_CUSTOM_3,
1560 ELM_MAP_SOURCE_CUSTOM_4,
1561 ELM_MAP_SOURCE_CUSTOM_5,
1562 ELM_MAP_SOURCE_CUSTOM_6,
1563 ELM_MAP_SOURCE_CUSTOM_7,
1567 typedef struct _Elm_Map_Marker Elm_Map_Marker;
1568 typedef struct _Elm_Map_Marker_Class Elm_Map_Marker_Class;
1569 typedef struct _Elm_Map_Group_Class Elm_Map_Group_Class;
1570 typedef Evas_Object *(*ElmMapMarkerGetFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data);
1571 typedef void (*ElmMapMarkerDelFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o);
1572 typedef Evas_Object *(*ElmMapMarkerIconGetFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data);
1573 typedef Evas_Object *(*ElmMapGroupIconGetFunc) (Evas_Object *obj, void *data);
1574 typedef char *(*ElmMapSourceURLFunc) (int x, int y, int zoom);
1576 EAPI Evas_Object *elm_map_add(Evas_Object *parent);
1577 EAPI void elm_map_zoom_set(Evas_Object *obj, int zoom);
1578 EAPI double elm_map_zoom_get(const Evas_Object *obj);
1579 EAPI void elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode);
1580 EAPI Elm_Map_Zoom_Mode elm_map_zoom_mode_get(const Evas_Object *obj);
1581 EAPI void elm_map_geo_region_get(const Evas_Object *obj, double *lon, double *lat);
1582 EAPI void elm_map_geo_region_bring_in(Evas_Object *obj, double lon, double lat);
1583 EAPI void elm_map_geo_region_show(Evas_Object *obj, double lon, double lat);
1584 EAPI void elm_map_paused_set(Evas_Object *obj, Eina_Bool paused);
1585 EAPI Eina_Bool elm_map_paused_get(const Evas_Object *obj);
1586 EAPI void elm_map_paused_markers_set(Evas_Object *obj, Eina_Bool paused);
1587 EAPI Eina_Bool elm_map_paused_markers_get(const Evas_Object *obj);
1588 EAPI void elm_map_utils_convert_coord_into_geo(int x, int y, int size, double *lon, double *lat);
1589 EAPI void elm_map_utils_convert_geo_into_coord(double lon, double lat, int size, int *x, int *y);
1590 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);
1591 EAPI void elm_map_max_marker_per_group_set(Evas_Object *obj, int max);
1592 EAPI void elm_map_marker_remove(Elm_Map_Marker *marker);
1593 EAPI void elm_map_marker_bring_in(Elm_Map_Marker *marker);
1594 EAPI void elm_map_marker_show(Elm_Map_Marker *marker);
1595 EAPI void elm_map_markers_list_show(Eina_List *markers);
1596 EAPI Evas_Object *elm_map_marker_object_get(Elm_Map_Marker *marker);
1597 EAPI void elm_map_marker_update(Elm_Map_Marker *marker);
1598 EAPI void elm_map_bubbles_close(Evas_Object *obj);
1600 EAPI Elm_Map_Group_Class * elm_map_group_class_new(Evas_Object *obj);
1601 EAPI void elm_map_group_class_style_set(Elm_Map_Group_Class *clas, const char *style);
1602 EAPI void elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, ElmMapGroupIconGetFunc icon_get);
1603 EAPI void elm_map_group_class_data_set(Elm_Map_Group_Class *clas, void *data);
1604 EAPI void elm_map_group_class_zoom_displayed_set(Elm_Map_Group_Class *clas, int zoom);
1605 EAPI void elm_map_group_class_zoom_grouped_set(Elm_Map_Group_Class *clas, int zoom);
1606 EAPI void elm_map_group_class_hide_set(Evas_Object *obj, Elm_Map_Group_Class *clas, Eina_Bool hide);
1608 EAPI Elm_Map_Marker_Class * elm_map_marker_class_new(Evas_Object *obj);
1609 EAPI void elm_map_marker_class_style_set(Elm_Map_Marker_Class *clas, const char *style);
1610 EAPI void elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerIconGetFunc icon_get);
1611 EAPI void elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerGetFunc get);
1612 EAPI void elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerDelFunc del);
1614 EAPI void elm_map_source_set(Evas_Object *obj, Elm_Map_Sources source);
1615 EAPI Elm_Map_Sources elm_map_source_get(const Evas_Object *obj);
1616 EAPI void elm_map_source_custom_api_set(Elm_Map_Sources source, const char *label,
1617 int zoom_min, int zoom_max, ElmMapSourceURLFunc url_cb);
1618 EAPI int elm_map_source_zoom_min_get(Elm_Map_Sources source);
1619 EAPI int elm_map_source_zoom_max_get(Elm_Map_Sources source);
1620 EAPI const char * elm_map_source_name_get(Elm_Map_Sources source);
1621 /* smart callbacks called:
1622 * "clicked" - when image clicked
1623 * "press" - when mouse/finger held down initially on image
1624 * "longpressed" - when mouse/finger held for long time on image
1625 * "clicked,double" - when mouse/finger double-clicked
1626 * "load,details" - when detailed image load begins
1627 * "loaded,details" - when detailed image load done
1628 * "zoom,start" - when zooming started
1629 * "zoom,stop" - when zooming stopped
1630 * "zoom,change" - when auto zoom mode changed zoom level
1631 * "scroll - the content has been scrolled (moved)
1632 * "scroll,anim,start" - scrolling animation has started
1633 * "scroll,anim,stop" - scrolling animation has stopped
1634 * "scroll,drag,start" - dragging the contents around has started
1635 * "scroll,drag,stop" - dragging the contents around has stopped
1638 typedef enum _Elm_Panel_Orient
1640 ELM_PANEL_ORIENT_TOP,
1641 ELM_PANEL_ORIENT_BOTTOM,
1642 ELM_PANEL_ORIENT_LEFT,
1643 ELM_PANEL_ORIENT_RIGHT,
1645 EAPI Evas_Object *elm_panel_add(Evas_Object *parent);
1646 EAPI void elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient);
1647 EAPI Elm_Panel_Orient elm_panel_orient_get(Evas_Object *obj);
1648 EAPI void elm_panel_content_set(Evas_Object *obj, Evas_Object *content);
1649 EAPI Evas_Object *elm_panel_content_unset(Evas_Object *obj);
1650 EAPI void elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden);
1651 EAPI Eina_Bool elm_panel_hidden_get(Evas_Object *obj);
1652 EAPI void elm_panel_toggle(Evas_Object *obj);
1658 * Update the minimun height of the bar in the theme. No minimun should be set in the vertical theme
1659 * Add events (move, start ...)
1661 EAPI Evas_Object *elm_panes_add(Evas_Object *parent);
1662 EAPI void elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content);
1663 EAPI void elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content);
1664 EAPI Evas_Object *elm_panes_content_left_get(const Evas_Object *obj);
1665 EAPI Evas_Object *elm_panes_content_right_get(const Evas_Object *obj);
1666 EAPI double elm_panes_content_left_size_get(const Evas_Object *obj);
1667 EAPI void elm_panes_content_left_size_set(Evas_Object *obj, double size);
1668 EAPI void elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
1669 EAPI Eina_Bool elm_panes_horizontal_is(const Evas_Object *obj);
1670 EAPI void elm_panes_fixed_set(Evas_Object *obj, Eina_Bool fixed);
1671 EAPI Eina_Bool elm_panes_fixed_is(const Evas_Object *obj);
1673 typedef enum _Elm_Flip_Mode
1675 ELM_FLIP_ROTATE_Y_CENTER_AXIS,
1676 ELM_FLIP_ROTATE_X_CENTER_AXIS,
1677 ELM_FLIP_ROTATE_XZ_CENTER_AXIS,
1678 ELM_FLIP_ROTATE_YZ_CENTER_AXIS,
1683 EAPI Evas_Object *elm_flip_add(Evas_Object *parent);
1684 EAPI void elm_flip_content_front_set(Evas_Object *obj, Evas_Object *content);
1685 EAPI void elm_flip_content_back_set(Evas_Object *obj, Evas_Object *content);
1686 EAPI Evas_Object *elm_flip_content_front_get(const Evas_Object *obj);
1687 EAPI Evas_Object *elm_flip_content_back_get(const Evas_Object *obj);
1688 EAPI Eina_Bool elm_flip_front_get(const Evas_Object *obj);
1689 EAPI void elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y);
1690 EAPI void elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode);
1691 /* smart callbacks called:
1692 * "animate,done" - when a flip animation is finished
1695 EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent);
1696 EAPI void elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
1697 EAPI Eina_Bool elm_scrolled_entry_single_line_get(const Evas_Object *obj);
1698 EAPI void elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password);
1699 EAPI Eina_Bool elm_scrolled_entry_password_get(const Evas_Object *obj);
1700 EAPI void elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry);
1701 EAPI const char *elm_scrolled_entry_entry_get(const Evas_Object *obj);
1702 EAPI const char *elm_scrolled_entry_selection_get(const Evas_Object *obj);
1703 EAPI void elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry);
1704 EAPI void elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Eina_Bool wrap);
1705 EAPI void elm_scrolled_entry_line_char_wrap_set(Evas_Object *obj, Eina_Bool wrap);
1706 EAPI void elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
1707 EAPI Eina_Bool elm_scrolled_entry_editable_get(const Evas_Object *obj);
1708 EAPI void elm_scrolled_entry_select_none(Evas_Object *obj);
1709 EAPI void elm_scrolled_entry_select_all(Evas_Object *obj);
1710 EAPI Eina_Bool elm_scrolled_entry_cursor_next(Evas_Object *obj);
1711 EAPI Eina_Bool elm_scrolled_entry_cursor_prev(Evas_Object *obj);
1712 EAPI Eina_Bool elm_scrolled_entry_cursor_up(Evas_Object *obj);
1713 EAPI Eina_Bool elm_scrolled_entry_cursor_down(Evas_Object *obj);
1714 EAPI void elm_scrolled_entry_cursor_begin_set(Evas_Object *obj);
1715 EAPI void elm_scrolled_entry_cursor_end_set(Evas_Object *obj);
1716 EAPI void elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj);
1717 EAPI void elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj);
1718 EAPI void elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj);
1719 EAPI void elm_scrolled_entry_cursor_selection_end(Evas_Object *obj);
1720 EAPI Eina_Bool elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj);
1721 EAPI Eina_Bool elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj);
1722 EAPI const char *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj);
1723 EAPI void elm_scrolled_entry_selection_cut(Evas_Object *obj);
1724 EAPI void elm_scrolled_entry_selection_copy(Evas_Object *obj);
1725 EAPI void elm_scrolled_entry_selection_paste(Evas_Object *obj);
1726 EAPI void elm_scrolled_entry_context_menu_clear(Evas_Object *obj);
1727 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);
1728 EAPI void elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
1729 EAPI Eina_Bool elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj);
1730 EAPI void elm_scrolled_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
1731 EAPI void elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
1732 EAPI void elm_scrolled_entry_maximum_bytes_set(Evas_Object *obj, int max_no_of_bytes);
1733 EAPI void elm_scrolled_entry_password_show_last_character_set(Evas_Object *obj, Eina_Bool show_last_character);
1735 EAPI void elm_scrolled_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled);
1736 EAPI void elm_scrolled_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout);
1737 EAPI Ecore_IMF_Context *elm_scrolled_entry_imf_context_get(Evas_Object *obj);
1738 EAPI void elm_scrolled_entry_autocapitalization_set(Evas_Object *obj, Eina_Bool autocap);
1739 EAPI void elm_scrolled_entry_autoperiod_set(Evas_Object *obj, Eina_Bool autoperiod);
1741 EAPI Evas_Object *elm_conformant_add(Evas_Object *parent);
1742 EAPI void elm_conformant_content_set(Evas_Object *obj, Evas_Object *content);
1743 EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj);
1746 EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent);
1747 EAPI void elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content);
1748 EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj);
1749 EAPI void elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled);
1750 EAPI Eina_Bool elm_mapbuf_enabled_get(const Evas_Object *obj);
1751 EAPI void elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth);
1752 EAPI Eina_Bool elm_mapbuf_smooth_get(const Evas_Object *obj);
1753 EAPI void elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha);
1754 EAPI Eina_Bool elm_mapbuf_alpha_get(const Evas_Object *obj);
1757 typedef struct _Animator Elm_Animator;
1759 typedef enum {ELM_ANIMATOR_CURVE_LINEAR, ELM_ANIMATOR_CURVE_IN_OUT, ELM_ANIMATOR_CURVE_IN, ELM_ANIMATOR_CURVE_OUT} Elm_Animator_Curve_Style;
1761 EAPI Elm_Animator* elm_animator_add(Evas_Object *parent);
1762 EAPI void elm_animator_del(Elm_Animator *animator);
1763 EAPI void elm_animator_duration_set(Elm_Animator *animator, double duration);
1764 EAPI void elm_animator_operation_callback_set(Elm_Animator *animator, void (*func)(void *data, Elm_Animator *animator, double frame), void *data);
1765 EAPI void elm_animator_completion_callback_set(Elm_Animator *animator, void (*func)(void *data), void *data);
1766 EAPI void elm_animator_stop(Elm_Animator *animator);
1767 EAPI void elm_animator_repeat_set(Elm_Animator *animator, unsigned int repeat_cnt);
1768 EAPI void elm_animator_animate(Elm_Animator *animator);
1769 EAPI void elm_animator_curve_style_set(Elm_Animator *animator, Elm_Animator_Curve_Style cs);
1770 EAPI void elm_animator_auto_reverse_set(Elm_Animator *animator, Eina_Bool reverse);
1771 EAPI Eina_Bool elm_animator_auto_reverse_get(Elm_Animator *animator);
1772 EAPI Eina_Bool elm_animator_operating_get(Elm_Animator *animator);
1773 EAPI unsigned int elm_animator_repeat_get(Elm_Animator *animator);
1776 typedef enum {ELM_CALENDAR_UNIQUE, ELM_CALENDAR_DAILY, ELM_CALENDAR_WEEKLY, ELM_CALENDAR_MONTHLY, ELM_CALENDAR_ANNUALLY} Elm_Calendar_Mark_Repeat;
1777 typedef struct _Elm_Calendar_Mark Elm_Calendar_Mark;
1779 EAPI Evas_Object *elm_calendar_add(Evas_Object *parent);
1780 EAPI const char **elm_calendar_weekdays_names_get(const Evas_Object *obj);
1781 EAPI void elm_calendar_weekdays_names_set(Evas_Object *obj, const char *weekdays[]);
1782 EAPI double elm_calendar_interval_get(const Evas_Object *obj);
1783 EAPI void elm_calendar_interval_set(Evas_Object *obj, double interval);
1784 EAPI void elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max);
1785 EAPI void elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max);
1786 EAPI Eina_Bool elm_calendar_day_selection_enabled_get(const Evas_Object *obj);
1787 EAPI void elm_calendar_day_selection_enabled_set(Evas_Object *obj, Eina_Bool enabled);
1788 EAPI Eina_Bool elm_calendar_selected_time_get(const Evas_Object *obj, struct tm *selected_time);
1789 EAPI void elm_calendar_selected_time_set(Evas_Object *obj, struct tm *selected_time);
1790 EAPI void elm_calendar_format_function_set(Evas_Object *obj, char * (*format_function) (struct tm *stime));
1791 EAPI Elm_Calendar_Mark *elm_calendar_mark_add(Evas_Object *obj, const char *mark_type, struct tm *mark_time, Elm_Calendar_Mark_Repeat repeat);
1792 EAPI void elm_calendar_mark_del(Elm_Calendar_Mark *mark);
1794 EAPI void elm_calendar_marks_clear(Evas_Object *obj);
1795 EAPI const Eina_List *elm_calendar_marks_get(const Evas_Object *obj);
1796 EAPI void elm_calendar_marks_draw(Evas_Object *obj);
1797 EAPI void elm_calendar_text_weekday_color_set(const Evas_Object *obj, int pos);
1798 EAPI void elm_calendar_text_saturday_color_set(const Evas_Object *obj, int pos);
1799 EAPI void elm_calendar_text_sunday_color_set(const Evas_Object *obj, int pos);
1801 typedef struct _Picker_Item Elm_Picker_Item;
1802 EAPI Evas_Object *elm_picker_add(Evas_Object *parent);
1803 EAPI void elm_picker_next(Evas_Object *obj);
1804 EAPI void elm_picker_prev(Evas_Object *obj);
1805 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);
1806 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);
1807 EAPI const Eina_List *elm_picker_items_get(Evas_Object *obj);
1808 EAPI Elm_Picker_Item *elm_picker_first_item_get(Evas_Object *obj);
1809 EAPI Elm_Picker_Item *elm_picker_last_item_get(Evas_Object *obj);
1810 EAPI Elm_Picker_Item *elm_picker_selected_item_get(Evas_Object *obj);
1811 EAPI void elm_picker_item_selected_set(Elm_Picker_Item *item);
1812 EAPI void elm_picker_item_del(Elm_Picker_Item *item);
1813 EAPI const char *elm_picker_item_label_get(Elm_Picker_Item *item);
1814 EAPI void elm_picker_item_label_set(Elm_Picker_Item *item, const char *label);
1815 EAPI Elm_Picker_Item *elm_picker_item_prev(Elm_Picker_Item *item);
1816 EAPI Elm_Picker_Item *elm_picker_item_next(Elm_Picker_Item *item);
1817 /* smart callback called:
1818 * "changed" - when picker selected item is changed
1819 * "overflowed" - when picker item is changed to first item from last item
1820 * "underflowed" - when picker item is changed to last item from first item.
1822 /* available styles:
1828 typedef struct _Discpicker_Item Elm_Discpicker_Item;
1829 EAPI Evas_Object *elm_discpicker_add(Evas_Object *parent);
1830 EAPI void elm_discpicker_row_height_set(Evas_Object *obj, unsigned int row_height);
1831 EAPI void elm_discpicker_next(Evas_Object *obj);
1832 EAPI void elm_discpicker_prev(Evas_Object *obj);
1833 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);
1834 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);
1835 EAPI const Eina_List *elm_discpicker_items_get(Evas_Object *obj);
1836 EAPI Elm_Discpicker_Item *elm_discpicker_first_item_get(Evas_Object *obj);
1837 EAPI Elm_Discpicker_Item *elm_discpicker_last_item_get(Evas_Object *obj);
1838 EAPI Elm_Discpicker_Item *elm_discpicker_selected_item_get(Evas_Object *obj);
1839 EAPI void elm_discpicker_item_selected_set(Elm_Discpicker_Item *item);
1840 EAPI void elm_discpicker_item_del(Elm_Discpicker_Item *item);
1841 EAPI const char *elm_discpicker_item_label_get(Elm_Discpicker_Item *item);
1842 EAPI void elm_discpicker_item_label_set(Elm_Discpicker_Item *item, const char *label);
1843 EAPI Elm_Discpicker_Item *elm_discpicker_item_prev(Elm_Discpicker_Item *item);
1844 EAPI Elm_Discpicker_Item *elm_discpicker_item_next(Elm_Discpicker_Item *item);
1845 EAPI void *elm_discpicker_item_data_get(Elm_Discpicker_Item *item);
1846 EAPI void elm_discpicker_item_data_set(Elm_Discpicker_Item *item, void *data);
1847 EAPI Eina_Bool elm_discpicker_item_disabled_get(Elm_Discpicker_Item *item);
1848 EAPI void elm_discpicker_item_disabled_set(Elm_Discpicker_Item *item, Eina_Bool disabled);
1849 /* smart callback called:
1850 * "selected" - when discpicker selected item is changed
1851 * "overflowed" - when discpicker item is changed to first item from last item
1852 * "underflowed" - when discpicker item is changed to last item from first item.
1854 /* available styles:
1858 typedef struct _Buttonpicker_Item Elm_Buttonpicker_Item;
1859 EINA_DEPRECATED EAPI Evas_Object *elm_buttonpicker_add(Evas_Object *parent);
1860 EINA_DEPRECATED EAPI void elm_buttonpicker_next(Evas_Object *obj);
1861 EINA_DEPRECATED EAPI void elm_buttonpicker_prev(Evas_Object *obj);
1862 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);
1863 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);
1864 EINA_DEPRECATED EAPI const Eina_List *elm_buttonpicker_items_get(Evas_Object *obj);
1865 EINA_DEPRECATED EAPI Elm_Buttonpicker_Item *elm_buttonpicker_first_item_get(Evas_Object *obj);
1866 EINA_DEPRECATED EAPI Elm_Buttonpicker_Item *elm_buttonpicker_last_item_get(Evas_Object *obj);
1867 EINA_DEPRECATED EAPI Elm_Buttonpicker_Item *elm_buttonpicker_selected_item_get(Evas_Object *obj);
1868 EINA_DEPRECATED EAPI void elm_buttonpicker_item_selected_set(Elm_Buttonpicker_Item *item);
1869 EINA_DEPRECATED EAPI void elm_buttonpicker_item_del(Elm_Buttonpicker_Item *item);
1870 EINA_DEPRECATED EAPI const char *elm_buttonpicker_item_label_get(Elm_Buttonpicker_Item *item);
1871 EINA_DEPRECATED EAPI void elm_buttonpicker_item_label_set(Elm_Buttonpicker_Item *item, const char *label);
1872 EINA_DEPRECATED EAPI Elm_Buttonpicker_Item *elm_buttonpicker_item_prev(Elm_Buttonpicker_Item *item);
1873 EINA_DEPRECATED EAPI Elm_Buttonpicker_Item *elm_buttonpicker_item_next(Elm_Buttonpicker_Item *item);
1874 /* smart callback called:
1875 * "changed" - when buttonpicker selected item is changed
1876 * "overflowed" - when buttonpicker item is changed to first item from last item
1877 * "underflowed" - when buttonpicker item is changed to last item from first item.
1879 /* available styles:
1883 EAPI Evas_Object *elm_timepicker_add(Evas_Object *parent);
1884 EAPI void elm_timepicker_time_set(Evas_Object *obj, int hrs, int min, int sec);
1885 EAPI void elm_timepicker_time_get(Evas_Object *obj, int *hrs, int *min, int *sec);
1886 EAPI void elm_timepicker_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm);
1887 EAPI void elm_timepicker_show_seconds_set(Evas_Object *obj, Eina_Bool seconds);
1888 /* smart callback called:
1889 * "changed" - when timepicker selected item is changed
1891 /* available styles:
1895 EINA_DEPRECATED EAPI Evas_Object *elm_timepicker3_add(Evas_Object *parent);
1896 EINA_DEPRECATED EAPI void elm_timepicker3_time_set(Evas_Object *obj, int hrs, int min, int sec);
1897 EINA_DEPRECATED EAPI void elm_timepicker3_time_get(Evas_Object *obj, int *hrs, int *min, int *sec);
1898 EINA_DEPRECATED EAPI void elm_timepicker3_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm);
1899 EINA_DEPRECATED EAPI void elm_timepicker3_show_seconds_set(Evas_Object *obj, Eina_Bool seconds);
1900 /* smart callback called:
1901 * "changed" - when timepicker3 selected item is changed
1903 /* available styles:
1907 EAPI Evas_Object *elm_datepicker_add(Evas_Object *parent);
1908 EAPI void elm_datepicker_date_set(Evas_Object *obj, int year, int month, int day);
1909 EAPI void elm_datepicker_date_get(Evas_Object *obj, int *year, int *month, int *day);
1910 EAPI void elm_datepicker_date_min_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1911 EAPI void elm_datepicker_date_min_get(Evas_Object *obj, int *year, int *month, int *day);
1912 EAPI void elm_datepicker_date_max_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1913 EAPI void elm_datepicker_date_max_get(Evas_Object *obj, int *year, int *month, int *day);
1914 EAPI void elm_datepicker_date_format_set(Evas_Object *obj, const char *fmt);
1915 EAPI const char *elm_datepicker_date_format_get(Evas_Object *obj);
1916 /* smart callback called:
1917 * "changed" - when datepicker selected item is changed
1919 /* available styles:
1923 EINA_DEPRECATED EAPI Evas_Object *elm_datepicker2_add(Evas_Object *parent);
1924 EINA_DEPRECATED EAPI void elm_datepicker2_date_set(Evas_Object *obj, int year, int month, int day);
1925 EINA_DEPRECATED EAPI void elm_datepicker2_date_get(Evas_Object *obj, int *year, int *month, int *day);
1926 EINA_DEPRECATED EAPI void elm_datepicker2_date_min_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1927 EINA_DEPRECATED EAPI void elm_datepicker2_date_min_get(Evas_Object *obj, int *year, int *month, int *day);
1928 EINA_DEPRECATED EAPI void elm_datepicker2_date_max_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1929 EINA_DEPRECATED EAPI void elm_datepicker2_date_max_get(Evas_Object *obj, int *year, int *month, int *day);
1930 EINA_DEPRECATED EAPI void elm_datepicker2_date_format_set(Evas_Object *obj, const char *fmt);
1931 EINA_DEPRECATED EAPI const char *elm_datepicker2_date_format_get(Evas_Object *obj);
1932 /* smart callback called:
1933 * "changed" - when datepicker selected item is changed
1935 /* available styles:
1939 EINA_DEPRECATED EAPI Evas_Object *elm_datepicker3_add(Evas_Object *parent);
1940 EINA_DEPRECATED EAPI void elm_datepicker3_date_set(Evas_Object *obj, int year, int month, int day);
1941 EINA_DEPRECATED EAPI void elm_datepicker3_date_get(Evas_Object *obj, int *year, int *month, int *day);
1942 EINA_DEPRECATED EAPI void elm_datepicker3_date_min_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1943 EINA_DEPRECATED EAPI void elm_datepicker3_date_min_get(Evas_Object *obj, int *year, int *month, int *day);
1944 EINA_DEPRECATED EAPI void elm_datepicker3_date_max_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1945 EINA_DEPRECATED EAPI void elm_datepicker3_date_max_get(Evas_Object *obj, int *year, int *month, int *day);
1946 EINA_DEPRECATED EAPI void elm_datepicker3_date_format_set(Evas_Object *obj, const char *fmt);
1947 EINA_DEPRECATED EAPI const char *elm_datepicker3_date_format_get(Evas_Object *obj);
1948 /* smart callback called:
1949 * "changed" - when datepicker3 selected item is changed
1951 /* available styles:
1956 typedef enum _Elm_Datefield_Layout
1958 ELM_DATEFIELD_LAYOUT_TIME,
1959 ELM_DATEFIELD_LAYOUT_DATE,
1960 ELM_DATEFIELD_LAYOUT_DATEANDTIME
1961 } Elm_Datefield_Layout;
1963 EAPI Evas_Object *elm_datefield_add(Evas_Object *parent);
1964 EAPI void elm_datefield_layout_set(Evas_Object *obj, Elm_Datefield_Layout layout);
1965 EAPI Elm_Datefield_Layout elm_datefield_layout_get(Evas_Object *obj);
1966 EAPI void elm_datefield_date_set(Evas_Object *obj, int year, int month, int day, int hour, int min);
1967 EAPI void elm_datefield_date_get(Evas_Object *obj, int *year, int *month, int *day, int *hour, int *min);
1968 EAPI void elm_datefield_time_mode_set(Evas_Object *obj, Eina_Bool mode);
1969 EAPI Eina_Bool elm_datefield_time_mode_get(Evas_Object *obj);
1970 EAPI void elm_datefield_date_format_set(Evas_Object *obj, const char *fmt);
1971 EAPI const char *elm_datefield_date_format_get(Evas_Object *obj);
1972 EAPI void elm_datefield_input_panel_state_callback_add(Evas_Object *obj, void (*pEventCallbackFunc) (void *data, Evas_Object *obj, int value), void *data);
1973 EAPI void elm_datefield_input_panel_state_callback_del(Evas_Object *obj, void (*pEventCallbackFunc) (void *data, Evas_Object *obj, int value));
1976 EAPI Evas_Object *elm_titlebar_add(Evas_Object *parent);
1977 EAPI void elm_titlebar_label_set(Evas_Object *obj, const char *label);
1978 EAPI const char *elm_titlebar_label_get(Evas_Object *obj);
1979 EAPI void elm_titlebar_icon_set(Evas_Object *obj, Evas_Object *icon);
1980 EAPI Evas_Object *elm_titlebar_icon_get(Evas_Object *obj);
1981 EAPI void elm_titlebar_end_set(Evas_Object *obj, Evas_Object *end);
1982 EAPI Evas_Object *elm_titlebar_end_get(Evas_Object *obj);
1985 typedef enum _Elm_Popup_Response
1987 ELM_POPUP_RESPONSE_NONE = -1,
1988 ELM_POPUP_RESPONSE_TIMEOUT = -2,
1989 ELM_POPUP_RESPONSE_OK = -3,
1990 ELM_POPUP_RESPONSE_CANCEL = -4,
1991 ELM_POPUP_RESPONSE_CLOSE = -5
1992 } Elm_Popup_Response;
1994 typedef enum _Elm_Popup_Mode
1996 ELM_POPUP_TYPE_NONE = 0,
1997 ELM_POPUP_TYPE_ALERT = (1 << 0)
2000 typedef enum _Elm_Popup_Orient
2002 ELM_POPUP_ORIENT_TOP,
2003 ELM_POPUP_ORIENT_CENTER,
2004 ELM_POPUP_ORIENT_BOTTOM,
2005 ELM_POPUP_ORIENT_LEFT,
2006 ELM_POPUP_ORIENT_RIGHT,
2007 ELM_POPUP_ORIENT_TOP_LEFT,
2008 ELM_POPUP_ORIENT_TOP_RIGHT,
2009 ELM_POPUP_ORIENT_BOTTOM_LEFT,
2010 ELM_POPUP_ORIENT_BOTTOM_RIGHT
2013 /* smart callbacks called:
2014 * "response" - when ever popup is closed, this signal is sent with appropriate response id.".
2017 EAPI Evas_Object *elm_popup_add(Evas_Object *parent);
2018 EAPI void elm_popup_desc_set(Evas_Object *obj, const char *text);
2019 EAPI const char *elm_popup_desc_get(Evas_Object *obj);
2020 EAPI void elm_popup_title_label_set(Evas_Object *obj, const char *text);
2021 EAPI const char *elm_popup_title_label_get(Evas_Object *obj);
2022 EAPI void elm_popup_title_icon_set(Evas_Object *obj, Evas_Object *icon);
2023 EAPI Evas_Object *elm_popup_title_icon_get(Evas_Object *obj);
2024 EAPI void elm_popup_content_set(Evas_Object *obj, Evas_Object *content);
2025 EAPI Evas_Object* elm_popup_content_get(Evas_Object *obj);
2026 EAPI void elm_popup_buttons_add(Evas_Object *obj,int no_of_buttons, char *first_button_text, ...);
2027 Evas_Object* elm_popup_with_buttons_add(Evas_Object *parent, char *title, char *desc_text,int no_of_buttons, char *first_button_text, ... );
2028 EINA_DEPRECATED Evas_Object* elm_popup_add_with_buttons(Evas_Object *parent, char *title, char *desc_text,int no_of_buttons, char *first_button_text, ... );
2029 EAPI void elm_popup_timeout_set(Evas_Object *obj, int timeout);
2030 EAPI void elm_popup_mode_set(Evas_Object *obj, Elm_Popup_Mode mode);
2031 EAPI void elm_popup_response(Evas_Object *obj, int response_id);
2032 EAPI void elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient);
2033 EAPI void elm_popup_rotation_set(Evas_Object *obj, int rot_angle);
2034 EAPI int elm_popup_run(Evas_Object *obj);
2035 /* Contextual Popup */
2036 typedef struct _Ctxpopup_Item Elm_Ctxpopup_Item;
2038 typedef enum _Ctxpopup_Arrow_Direction
2040 ELM_CTXPOPUP_ARROW_DOWN,
2041 ELM_CTXPOPUP_ARROW_RIGHT,
2042 ELM_CTXPOPUP_ARROW_LEFT,
2043 ELM_CTXPOPUP_ARROW_UP,
2044 } Elm_Ctxpopup_Arrow;
2046 EAPI Evas_Object *elm_ctxpopup_add(Evas_Object *parent);
2047 EAPI void elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
2048 EAPI Eina_Bool elm_ctxpopup_horizontal_get(Evas_Object *obj);
2049 EAPI void elm_ctxpopup_item_icon_set(Elm_Ctxpopup_Item *item, Evas_Object *icon);
2050 EAPI void elm_ctxpopup_item_label_set(Elm_Ctxpopup_Item *item, const char *label);
2051 EINA_DEPRECATED EAPI Elm_Ctxpopup_Item *elm_ctxpopup_label_add(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data);
2052 EINA_DEPRECATED EAPI Elm_Ctxpopup_Item *elm_ctxpopup_icon_add(Evas_Object *obj, Evas_Object *icon, Evas_Smart_Cb func, void *data);
2053 EAPI Elm_Ctxpopup_Item *elm_ctxpopup_item_add(Evas_Object *obj, Evas_Object *icon, const char* label, Evas_Smart_Cb func, void *data);
2054 EAPI void elm_ctxpopup_item_del(Elm_Ctxpopup_Item *item);
2055 EAPI void elm_ctxpopup_item_disabled_set(Elm_Ctxpopup_Item *item, Eina_Bool disabled);
2056 EAPI void elm_ctxpopup_clear(Evas_Object *obj);
2057 EAPI const char *elm_ctxpopup_item_label_get(Elm_Ctxpopup_Item *item);
2058 EAPI Evas_Object *elm_ctxpopup_item_icon_get(Elm_Ctxpopup_Item *item);
2059 EAPI void elm_ctxpopup_scroller_disabled_set(Evas_Object *obj, Eina_Bool disabled);
2060 EAPI void elm_ctxpopup_screen_dimmed_disabled_set(Evas_Object *obj, Eina_Bool disabled);
2061 EAPI void elm_ctxpopup_button_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, const void *data);
2062 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);
2063 EAPI void elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content);
2064 EAPI Evas_Object *elm_ctxpopup_content_unset(Evas_Object *obj);
2065 EAPI void elm_ctxpopup_position_forced_set(Evas_Object *obj, Eina_Bool forced);
2066 EAPI Eina_Bool elm_ctxpopup_position_forced_get(Evas_Object *obj);
2068 /* QuickContactBadge */
2069 typedef struct _Quickcontactbadge_Item Elm_Quickcontactbadge_Item;
2071 EAPI Evas_Object *elm_quickcontactbadge_add(Evas_Object* parent);
2072 EAPI void elm_quickcontactbadge_item_icon_set(Elm_Quickcontactbadge_Item* item, Evas_Object* icon);
2073 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 );
2074 EAPI void elm_quickcontactbadge_item_del(Elm_Quickcontactbadge_Item* item);
2075 EAPI void elm_quickcontactbadge_clear(Evas_Object* obj);
2076 EAPI void elm_quickcontactbadge_horizontal_set( Evas_Object* obj, Eina_Bool horizontal );
2077 EAPI Evas_Object *elm_quickcontactbadge_item_icon_get( Elm_Quickcontactbadge_Item* item );
2080 typedef enum _Elm_Tab_Move_Type
2082 ELM_TAB_MOVE_LEFT = 0,
2083 ELM_TAB_MOVE_RIGHT = 1
2084 } Elm_Tab_Move_Type;
2086 typedef enum _Elm_Tab_Mode_Type
2088 ELM_TAB_PORTRAIT_2 = 2,
2089 ELM_TAB_PORTRAIT_3 = 3,
2090 ELM_TAB_PORTRAIT_4 = 4,
2091 ELM_TAB_LANDSCAPE_2 = 12,
2092 ELM_TAB_LANDSCAPE_3 = 13,
2093 ELM_TAB_LANDSCAPE_4 = 14,
2094 ELM_TAB_LANDSCAPE_5 = 15,
2095 } Elm_Tab_Mode_Type;
2097 typedef struct _Elm_Tab_Item Elm_Tab_Item;
2099 EAPI Evas_Object *elm_tab_add(Evas_Object *parent);
2100 EAPI void elm_tab_set(Evas_Object *obj, int mode);
2101 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);
2102 EAPI void elm_tab_item_del(Elm_Tab_Item *item);
2103 EAPI void elm_tab_item_select(Elm_Tab_Item *item);
2104 EAPI Evas_Object *elm_tab_item_icon_get(Elm_Tab_Item *item);
2105 EAPI const char *elm_tab_item_label_get(Elm_Tab_Item *item);
2106 EAPI void elm_tab_item_label_set(Elm_Tab_Item *item, const char *label);
2107 EAPI void elm_tab_item_badge_set(Elm_Tab_Item *item, const int badge);
2108 EAPI Elm_Tab_Item *elm_tab_selected_item_get(Evas_Object *obj);
2109 EAPI Elm_Tab_Item *elm_tab_first_item_get(Evas_Object *obj);
2110 EAPI Elm_Tab_Item *elm_tab_last_item_get(Evas_Object *obj);
2111 EAPI Eina_List *elm_tab_items_get(Evas_Object *obj);
2112 EAPI Elm_Tab_Item *elm_tab_item_prev(Elm_Tab_Item *item);
2113 EAPI Elm_Tab_Item *elm_tab_item_next(Elm_Tab_Item *item);
2114 EAPI void elm_tab_move(Evas_Object *obj, int direction);
2115 EAPI void elm_tab_edit_disable_set(Evas_Object *obj, Eina_Bool disable);
2116 EAPI Eina_Bool elm_tab_edit_disable_get(Evas_Object *obj);
2119 typedef struct _transit Elm_Transit;
2120 typedef struct _effect Elm_Effect;
2122 EAPI Elm_Transit *elm_transit_add(Evas_Object *parent);
2123 EAPI void elm_transit_del(Elm_Transit *transit);
2124 EAPI void elm_transit_run(Elm_Transit *transit, double duration);
2125 EAPI void elm_transit_stop(Elm_Transit *transit);
2126 EAPI void elm_transit_completion_callback_set(Elm_Transit *transit, void (*op)(void *data,Elm_Transit* transit), void *data);
2127 EAPI void elm_transit_repeat_set(Elm_Transit *transit, unsigned int repeat);
2128 EAPI void elm_transit_auto_reverse_set(Elm_Transit *transit, Eina_Bool reverse);
2129 EAPI void elm_transit_curve_style_set(Elm_Transit *transit, Elm_Animator_Curve_Style cs);
2130 EAPI void elm_transit_event_block_disabled_set(Elm_Transit *transit, Eina_Bool disabled);
2131 EAPI Eina_Bool elm_transit_fx_insert(Elm_Transit *transit, Elm_Effect *effect);
2132 EAPI void elm_transit_fx_clear(Elm_Transit *transit);
2133 EAPI Eina_Bool elm_transit_event_block_disabled_get(Elm_Transit *transit);
2134 EAPI void elm_transit_pause(Elm_Transit *transit);
2135 EAPI void elm_transit_resume(Elm_Transit *transit);
2137 /* Translation FX */
2138 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);
2141 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);
2144 EAPI Elm_Effect *elm_fx_zoom_add(Evas_Object *obj, float from_rate, float to_rate);
2152 EAPI Elm_Effect *elm_fx_flip_add( Evas_Object *front, Evas_Object *back, Elm_Fx_Flip_Axis axis, Eina_Bool cw);
2155 EAPI Elm_Effect *elm_fx_blend_add(Evas_Object *before, Evas_Object *after);
2158 EAPI Elm_Effect *elm_fx_fade_add(Evas_Object *before, Evas_Object *after);
2161 EAPI Elm_Effect *elm_fx_rotation_add(Evas_Object *obj, float from_degree, float to_degree, Eina_Bool cw);
2164 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);
2170 ELM_FX_WIPE_DIR_LEFT,
2171 ELM_FX_WIPE_DIR_RIGHT,
2172 ELM_FX_WIPE_DIR_DOWN
2177 ELM_FX_WIPE_TYPE_HIDE,
2178 ELM_FX_WIPE_TYPE_SHOW
2180 EAPI Elm_Effect *elm_fx_wipe_add(Evas_Object *obj, Elm_Fx_Wipe_Type type, Elm_Fx_Wipe_Dir dir);
2182 /* ResizableFlip Fx */
2183 EAPI Elm_Effect *elm_fx_resizable_flip_add(Evas_Object *front, Evas_Object *back, Elm_Fx_Flip_Axis axis, Eina_Bool cw);
2185 /* ImageAnimation Fx */
2186 EAPI Elm_Effect *elm_fx_image_animation_add(Evas_Object *icon, const char** images, unsigned int img_cnt);
2191 ELM_NAVIGATIONBAR_FUNCTION_BUTTON1,
2192 ELM_NAVIGATIONBAR_FUNCTION_BUTTON2,
2193 ELM_NAVIGATIONBAR_FUNCTION_BUTTON3,
2194 ELM_NAVIGATIONBAR_BACK_BUTTON
2195 } Elm_Navi_Button_Type;
2197 EAPI Evas_Object *elm_navigationbar_add(Evas_Object *parent);
2198 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);
2199 EAPI void elm_navigationbar_pop(Evas_Object *obj);
2200 EAPI void elm_navigationbar_to_content_pop(Evas_Object *obj, Evas_Object *content);
2201 EAPI void elm_navigationbar_title_label_set(Evas_Object *obj, Evas_Object *content, const char *title);
2202 EAPI const char *elm_navigationbar_title_label_get(Evas_Object *obj, Evas_Object *content);
2203 EAPI void elm_navigationbar_title_object_add(Evas_Object *obj, Evas_Object *content, Evas_Object *title_obj);
2204 EAPI Eina_List *elm_navigationbar_title_object_list_get(Evas_Object *obj, Evas_Object *content);
2205 EAPI Evas_Object *elm_navigationbar_content_top_get(Evas_Object *obj);
2206 EAPI Evas_Object *elm_navigationbar_content_bottom_get(Evas_Object *obj);
2207 EAPI void elm_navigationbar_hidden_set(Evas_Object *obj, Eina_Bool hidden);
2208 EAPI void elm_navigationbar_title_button_set(Evas_Object *obj, Evas_Object *content, Evas_Object *button, Elm_Navi_Button_Type button_type);
2209 EAPI Evas_Object *elm_navigationbar_title_button_get(Evas_Object *obj, Evas_Object *content, Elm_Navi_Button_Type button_type);
2210 EAPI const char * elm_navigationbar_subtitle_label_get(Evas_Object *obj, Evas_Object *content);
2211 EAPI void elm_navigationbar_subtitle_label_set(Evas_Object *obj, Evas_Object *content, const char *subtitle);
2212 EAPI void elm_navigationbar_title_object_list_unset(Evas_Object *obj, Evas_Object *content, Eina_List **list);
2215 #define TAB_BAR_SYSTEM_ICON_CONTACT "elm/icon/tabbar_contact/default"
2216 #define TAB_BAR_SYSTEM_ICON_GROUP "elm/icon/tabbar_group/default"
2217 #define TAB_BAR_SYSTEM_ICON_SONG "elm/icon/tabbar_song/default"
2218 #define TAB_BAR_SYSTEM_ICON_FAVORITES "elm/icon/tabbar_favorites/default"
2219 #define TAB_BAR_SYSTEM_ICON_SEARCH "elm/icon/tabbar_search/default"
2220 #define TAB_BAR_SYSTEM_ICON_MESSAGE "elm/icon/tabbar_message/default"
2221 #define TAB_BAR_SYSTEM_ICON_SETTING "elm/icon/tabbar_setting/default"
2223 EAPI Evas_Object *elm_tabbar_add(Evas_Object *parent);
2224 EAPI Elm_Tab_Item *elm_tabbar_item_add(Evas_Object *obj, const char *icon_path, const char *label, Evas_Object *view);
2225 EAPI Evas_Object *elm_tabbar_item_icon_get(Elm_Tab_Item *it);
2226 EAPI const char *elm_tabbar_item_label_get(Elm_Tab_Item *it);
2227 EAPI void elm_tabbar_item_label_set(Elm_Tab_Item *it, const char *label);
2228 EAPI void elm_tabbar_item_select(Elm_Tab_Item *it);
2229 EAPI void elm_tabbar_edit_start(Evas_Object *obj);
2230 EAPI void elm_tabbar_item_visible_set(Elm_Tab_Item *it, Eina_Bool bar);
2232 /* smart callbacks called:
2233 * "clicked" - when item clicked
2237 #define CONTROLBAR_SYSTEM_ICON_ALBUMS "controlbar_albums"
2238 #define CONTROLBAR_SYSTEM_ICON_ARTISTS "controlbar_artists"
2239 #define CONTROLBAR_SYSTEM_ICON_SONGS "controlbar_songs"
2240 #define CONTROLBAR_SYSTEM_ICON_PLAYLIST "controlbar_playlist"
2241 #define CONTROLBAR_SYSTEM_ICON_MORE "controlbar_more"
2242 #define CONTROLBAR_SYSTEM_ICON_CONTACTS "controlbar_contacts"
2243 #define CONTROLBAR_SYSTEM_ICON_DIALER "controlbar_dialer"
2244 #define CONTROLBAR_SYSTEM_ICON_FAVORITES "controlbar_favorites"
2245 #define CONTROLBAR_SYSTEM_ICON_LOGS "controlbar_logs"
2247 typedef enum _Elm_Controlbar_Mode_Type
2249 ELM_CONTROLBAR_MODE_DEFAULT = 0,
2250 ELM_CONTROLBAR_MODE_TRANSLUCENCE,
2251 ELM_CONTROLBAR_MODE_TRANSPARENCY,
2252 ELM_CONTROLBAR_MODE_LARGE,
2253 ELM_CONTROLBAR_MODE_SMALL
2254 } Elm_Controlbar_Mode_Type;
2256 typedef struct _Elm_Controlbar_Item Elm_Controlbar_Item;
2258 EAPI Evas_Object *elm_controlbar_add(Evas_Object *parent);
2259 EAPI Elm_Controlbar_Item *elm_controlbar_tab_item_append(Evas_Object *obj, const char *icon_path, const char *label, Evas_Object *view);
2260 EAPI Elm_Controlbar_Item *elm_controlbar_tab_item_prepend(Evas_Object *obj, const char *icon_path, const char *label, Evas_Object *view);
2261 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);
2262 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);
2263 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);
2264 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);
2265 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);
2266 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);
2267 EAPI Elm_Controlbar_Item *elm_controlbar_object_item_append(Evas_Object *obj, Evas_Object *obj_item, const int sel);
2268 EAPI Elm_Controlbar_Item *elm_controlbar_object_item_prepend(Evas_Object *obj, Evas_Object *obj_item, const int sel);
2269 EAPI Elm_Controlbar_Item *elm_controlbar_object_item_insert_before(Evas_Object *obj, Elm_Controlbar_Item *before, Evas_Object *obj_item, const int sel);
2270 EAPI Elm_Controlbar_Item *elm_controlbar_object_item_insert_after(Evas_Object *obj, Elm_Controlbar_Item *after, Evas_Object *obj_item, const int sel);
2271 EAPI void elm_controlbar_item_del(Elm_Controlbar_Item *it);
2272 EAPI void elm_controlbar_item_select(Elm_Controlbar_Item *it);
2273 EAPI void elm_controlbar_item_visible_set(Elm_Controlbar_Item *it, Eina_Bool bar);
2274 EAPI Eina_Bool elm_controlbar_item_visible_get(Elm_Controlbar_Item * it);
2275 EAPI void elm_controlbar_item_editable_set(Elm_Controlbar_Item *it, Eina_Bool editable);
2276 EAPI void elm_controlbar_item_disable_set(Elm_Controlbar_Item * it, Eina_Bool disable);
2277 EAPI Evas_Object *elm_controlbar_item_icon_get(Elm_Controlbar_Item *it);
2278 EAPI const char *elm_controlbar_item_label_get(Elm_Controlbar_Item *it);
2279 EAPI void elm_controlbar_item_label_set(Elm_Controlbar_Item *it, const char *label);
2280 EAPI Elm_Controlbar_Item *elm_controlbar_selected_item_get(Evas_Object *obj);
2281 EAPI Elm_Controlbar_Item *elm_controlbar_first_item_get(Evas_Object *obj);
2282 EAPI Elm_Controlbar_Item *elm_controlbar_last_item_get(Evas_Object *obj);
2283 EAPI Eina_List *elm_controlbar_items_get(Evas_Object *obj);
2284 EAPI Elm_Controlbar_Item *elm_controlbar_item_prev(Elm_Controlbar_Item *it);
2285 EAPI Elm_Controlbar_Item *elm_controlbar_item_next(Elm_Controlbar_Item *it);
2286 EAPI void elm_controlbar_item_view_set(Elm_Controlbar_Item *it, Evas_Object * view);
2287 EAPI void elm_controlbar_mode_set(Evas_Object *obj, int mode);
2288 /*======= Please don't use this APIs =======*/
2289 EAPI void elm_controlbar_edit_start(Evas_Object *obj);
2290 EAPI void elm_controlbar_view_set(Evas_Object *obj, Evas_Object *view);
2291 EAPI void elm_controlbar_animation_set(Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, void *event_info), void *data);
2292 EAPI void elm_controlbar_item_animation_set(Evas_Object *obj, Eina_Bool auto_animation, Eina_Bool selected_animation);
2293 /*======= Just for test =======*/
2296 /* diskcontroller */
2297 typedef struct _Elm_Diskcontroller_Item Elm_Diskcontroller_Item;
2299 EAPI Evas_Object *elm_diskcontroller_add(Evas_Object *parent);
2300 EAPI void elm_diskcontroller_round_set(Evas_Object *obj, Eina_Bool round);
2301 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);
2302 EAPI void elm_diskcontroller_item_del(Elm_Diskcontroller_Item *it);
2303 EAPI const char *elm_diskcontroller_item_label_get(Elm_Diskcontroller_Item *it);
2304 EAPI void elm_diskcontroller_item_label_set(Elm_Diskcontroller_Item *it, const char *label);
2305 EAPI void elm_diskcontroller_item_focus_set(Elm_Diskcontroller_Item *it);
2306 /* smart callbacks called:
2307 * "stop" - when scroller stop
2311 EAPI Evas_Object *elm_searchbar_add(Evas_Object *parent);
2312 EAPI void elm_searchbar_text_set(Evas_Object *obj, const char *entry);
2313 EAPI const char *elm_searchbar_text_get(Evas_Object *obj);
2314 EAPI Evas_Object *elm_searchbar_entry_get(Evas_Object *obj);
2315 EAPI void elm_searchbar_cancel_button_animation_set(Evas_Object *obj, Eina_Bool cancel_btn_ani_flag);
2318 typedef enum _Elm_Actionsheet_Button_Type
2320 ELM_ACTIONSHEET_BT_NORMAL = 0,
2321 ELM_ACTIONSHEET_BT_CANCEL,
2322 ELM_ACTIONSHEET_BT_DESTRUCTIVE
2323 } Elm_Actionsheet_Button_Type;
2325 EAPI Evas_Object *elm_actionsheet_add(Evas_Object *parent);
2326 EAPI void elm_actionsheet_title_set(Evas_Object *obj, const char *title);
2327 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);
2328 EAPI int elm_actionsheet_button_title_get(Evas_Object *obj, const int index, char **title);
2331 typedef struct _Elm_Toolbar2_Item Elm_Toolbar2_Item;
2332 EINA_DEPRECATED EAPI Evas_Object *elm_toolbar2_add(Evas_Object *parent);
2333 EINA_DEPRECATED EAPI void elm_toolbar2_icon_size_set(Evas_Object *obj, int icon_size);
2334 EINA_DEPRECATED EAPI int elm_toolbar2_icon_size_get(Evas_Object *obj);
2335 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);
2336 EINA_DEPRECATED EAPI Evas_Object *elm_toolbar2_item_icon_get(Elm_Toolbar2_Item *item);
2337 EINA_DEPRECATED EAPI void elm_toolbar2_item_del(Elm_Toolbar2_Item *it);
2338 EINA_DEPRECATED EAPI void elm_toolbar2_item_del_cb_set(Elm_Toolbar2_Item *it, void (*func)(void *data, Evas_Object *obj, void *event_info));
2339 EINA_DEPRECATED EAPI void elm_toolbar2_scrollable_set(Evas_Object *obj, Eina_Bool scrollable);
2340 EINA_DEPRECATED EAPI void elm_toolbar2_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
2341 EINA_DEPRECATED EAPI void elm_toolbar2_align_set(Evas_Object *obj, double align);
2344 EAPI Evas_Object *elm_colorpicker_add(Evas_Object *parent);
2345 EAPI void elm_colorpicker_color_set(Evas_Object *obj, int r, int g , int b);
2346 EAPI void elm_colorpicker_color_get(Evas_Object *obj, int *r, int *g , int *b);
2347 /* smart callbacks called:
2348 * "changed" - when color is changed
2353 typedef struct _Colorpalette_Color Elm_Colorpalette_Color;
2355 struct _Colorpalette_Color
2357 unsigned int r, g, b;
2360 EAPI Evas_Object *elm_colorpalette_add(Evas_Object *parent);
2361 EAPI void elm_colorpalette_color_set(Evas_Object *obj, int color_num, Elm_Colorpalette_Color *color);
2362 EAPI void elm_colorpalette_row_column_set(Evas_Object *obj, int row, int col);
2363 /* smart callbacks called:
2364 * "clicked" - when image clicked
2368 EAPI Evas_Object *elm_editfield_add(Evas_Object *parent);
2369 EAPI void elm_editfield_label_set(Evas_Object *obj, const char *label);
2370 EAPI const char *elm_editfield_label_get(Evas_Object *obj);
2371 EAPI void elm_editfield_guide_text_set(Evas_Object *obj, const char *text);
2372 EAPI const char *elm_editfield_guide_text_get(Evas_Object *obj);
2373 EAPI Evas_Object *elm_editfield_entry_get(Evas_Object *obj);
2374 // EAPI Evas_Object *elm_editfield_clear_button_show(Evas_Object *obj, Eina_Bool show);
2375 EAPI Eina_Bool elm_editfield_right_icon_set(Evas_Object *obj, Evas_Object *icon);
2376 EAPI Evas_Object *elm_editfield_right_icon_get(Evas_Object *obj);
2377 EAPI Eina_Bool elm_editfield_left_icon_set(Evas_Object *obj, Evas_Object *icon);
2378 EAPI Evas_Object *elm_editfield_lett_icon_get(Evas_Object *obj);
2379 EAPI void elm_editfield_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
2380 EAPI Eina_Bool elm_editfield_entry_single_line_get(Evas_Object *obj);
2381 EAPI void elm_editfield_eraser_set(Evas_Object *obj, Eina_Bool visible);
2382 EAPI Eina_Bool elm_editfield_eraser_get(Evas_Object *obj);
2383 /* smart callbacks called:
2384 * "clicked" - when an editfield is clicked
2385 * "unfocused" - when an editfield is unfocused
2398 typedef struct _Elm_Softkey_Item Elm_Softkey_Item;
2399 EAPI Evas_Object *elm_softkey_add(Evas_Object *parent);
2400 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);
2401 EAPI void elm_softkey_button_del(Evas_Object *obj, Elm_Softkey_Type type);
2402 EAPI void elm_softkey_button_show(Evas_Object *obj, Elm_Softkey_Type type);
2403 EAPI void elm_softkey_button_hide(Evas_Object *obj, Elm_Softkey_Type type);
2405 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);
2406 EAPI int elm_softkey_panel_del(Evas_Object *obj);
2407 EAPI int elm_softkey_panel_close(Evas_Object *obj);
2408 EAPI int elm_softkey_panel_open(Evas_Object *obj);
2410 EAPI void elm_softkey_item_icon_set(Elm_Softkey_Item *item, Evas_Object *icon);
2411 EAPI Evas_Object *elm_softkey_item_icon_get(Elm_Softkey_Item * item);
2412 EAPI void elm_softkey_item_label_set(Elm_Softkey_Item *item, const char *label);
2413 EAPI const char *elm_softkey_item_label_get(Elm_Softkey_Item * item);
2414 EAPI Eina_Bool elm_softkey_item_disabled_get(Elm_Softkey_Item *item);
2415 EAPI void elm_softkey_item_disabled_set(Elm_Softkey_Item *item, Eina_Bool disabled);
2416 EAPI void elm_softkey_item_callback_set(Elm_Softkey_Item* item, void (*func)(void *data, Evas_Object *obj, void *event_info), const void *data );
2417 /* smart callback called:
2418 * "clicked" - the user clicked the button, event_info: Softkey item
2419 * "press" - the user press the button, event_info: Softkey item
2420 * "panel,show" - when the panel is shown
2421 * "panel,hide" - when the panel is hidden
2425 EAPI Evas_Object *elm_gridbox_add(Evas_Object *parent);
2426 EAPI void elm_gridbox_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical);
2427 EAPI void elm_gridbox_item_size_set(Evas_Object *obj, Evas_Coord h_itemsize, Evas_Coord v_itemsize);
2428 EAPI void elm_gridbox_pack(Evas_Object *obj, Evas_Object *subobj);
2429 EAPI Eina_Bool elm_gridbox_unpack(Evas_Object *obj, Evas_Object *subobj);
2430 EAPI Eina_List *elm_gridbox_children_get(Evas_Object *obj);
2431 EAPI void elm_gridbox_homogenous_padding_set(Evas_Object *obj, Eina_Bool homogenous);
2434 typedef enum _Elm_Actionslider_Indicator_Pos
2436 ELM_ACTIONSLIDER_INDICATOR_LEFT,
2437 ELM_ACTIONSLIDER_INDICATOR_RIGHT,
2438 ELM_ACTIONSLIDER_INDICATOR_CENTER
2439 } Elm_Actionslider_Indicator_Pos;
2441 typedef enum _Elm_Actionslider_Magnet_Pos
2443 ELM_ACTIONSLIDER_MAGNET_LEFT,
2444 ELM_ACTIONSLIDER_MAGNET_RIGHT,
2445 ELM_ACTIONSLIDER_MAGNET_BOTH,
2446 ELM_ACTIONSLIDER_MAGNET_CENTER
2447 } Elm_Actionslider_Magnet_Pos;
2449 typedef enum _Elm_Actionslider_Label_Pos
2451 ELM_ACTIONSLIDER_LABEL_LEFT,
2452 ELM_ACTIONSLIDER_LABEL_RIGHT,
2453 ELM_ACTIONSLIDER_LABEL_CENTER,
2454 ELM_ACTIONSLIDER_LABEL_BUTTON
2455 } Elm_Actionslider_Label_Pos;
2457 EAPI Evas_Object *elm_actionslider_add(Evas_Object *parent);
2458 EAPI void elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Indicator_Pos pos);
2459 EAPI void elm_actionslider_magnet_pos_set(Evas_Object *obj, Elm_Actionslider_Magnet_Pos pos);
2460 EAPI int elm_actionslider_label_set(Evas_Object *obj, Elm_Actionslider_Label_Pos pos, const char *label);
2461 EAPI int elm_actionslider_hold(Evas_Object *obj, Eina_Bool flag);
2462 /* smart callbacks called:
2463 * "indicator,position" - when a button reaches to the special position like "left", "right" and "center".
2467 EINA_DEPRECATED EAPI Evas_Object *elm_zoomcontrols_add(Evas_Object *parent);
2468 EINA_DEPRECATED EAPI void elm_zoomcontrols_range_set(Evas_Object *obj, int range);
2469 /* smart callbacks called:
2470 * "up_clicked" - when up button of zoomcontrols is clicked
2471 * "down_clicked" - when down button of zoomcontrols is clicked
2475 typedef enum _Elm_Viewflipper_Policy
2477 ERROR_0 = -1, //can not find wanted value
2480 ERROR_1 =1001, //confrim parameter is layout or not
2481 ERROR_2 , //confrim memory check
2482 ERROR_3 , //data is empty
2483 ERROR_4 , //check the range
2484 ERROR_5 , //Non need operation
2485 ERROR_6 , //waiting gui
2486 ERROR_7 , //timer second is not setup or can not time setup
2490 } Elm_Viewflipper_Policy;
2491 EINA_DEPRECATED EAPI int elm_viewflipper_isFlipbutton();
2492 EINA_DEPRECATED EAPI int elm_viewflipper_isAutoStart();
2493 EINA_DEPRECATED EAPI int elm_viewflipper_isValidPos(int pos);
2494 EINA_DEPRECATED EAPI int elm_viewflipper_addChild(Evas_Object * child_layout);
2495 EINA_DEPRECATED EAPI int elm_viewflipper_removeChild(Evas_Object * child_layout);
2496 EINA_DEPRECATED EAPI int elm_viewflipper_removeChildAt(int pos);
2497 EINA_DEPRECATED EAPI int elm_viewflipper_getPositionChild(Evas_Object * child_layout);
2498 EINA_DEPRECATED EAPI Evas_Object *elm_viewflipper_getChildAt(int pos);
2499 EINA_DEPRECATED EAPI int elm_viewflipper_getCountChild();
2500 EINA_DEPRECATED EAPI int elm_viewflipper_setDisplayedChild(int pos);
2501 EINA_DEPRECATED EAPI int elm_viewflipper_setNowView();
2502 EINA_DEPRECATED EAPI int elm_viewflipper_setNextView();
2503 EINA_DEPRECATED EAPI int elm_viewflipper_setPreviousView();
2504 EINA_DEPRECATED EAPI int elm_viewflipper_setFlipInterval(int milliseconds);
2505 EINA_DEPRECATED EAPI int elm_viewflipper_setFlipbutton(int showbutton);
2506 EINA_DEPRECATED EAPI int elm_viewflipper_startAutoFlippingWithOption(int drection,int pos);
2507 EINA_DEPRECATED EAPI int elm_viewflipper_startAutoFlipping();
2508 EINA_DEPRECATED EAPI int elm_viewflipper_stopAutoFlipping();
2511 struct _Elm_Gallery_Item
2513 Evas_Object *parent;
2518 Evas_Coord x, y, w, h;
2520 Eina_Bool on_hold : 1;
2521 Eina_Bool on_show : 1;
2522 Eina_Bool on_highquality : 1;
2524 typedef struct _Elm_Gallery_Item Elm_Gallery_Item;
2525 EAPI Evas_Object *elm_gallery_add(Evas_Object *parent);
2526 EAPI Eina_Bool elm_gallery_data_set(Evas_Object *obj, Eina_List *list);
2527 EAPI Elm_Gallery_Item *elm_gallery_item_append(Evas_Object *obj, const char *photo_file);
2528 EAPI Elm_Gallery_Item *elm_gallery_item_prepend(Evas_Object *obj, const char *photo_file);
2529 EAPI void elm_gallery_item_del(Elm_Gallery_Item *it);
2530 EAPI const char *elm_gallery_item_file_get(Elm_Gallery_Item *it);
2531 EAPI void elm_gallery_item_show(Elm_Gallery_Item *it);
2532 EAPI Eina_List *elm_gallery_item_list_get(Evas_Object *obj);
2533 EAPI void elm_gallery_set_type(Evas_Object *obj,int type);
2534 EAPI void elm_gallery_set_max_count(Evas_Object *obj,int max_value);
2536 /* Sliding Drawer */
2537 typedef enum _Elm_SlidingDrawer_Pos
2539 ELM_SLIDINGDRAWER_BOTTOM,
2540 ELM_SLIDINGDRAWER_LEFT,
2541 ELM_SLIDINGDRAWER_RIGHT,
2542 ELM_SLIDINGDRAWER_TOP
2543 } Elm_SlidingDrawer_Pos;
2545 typedef struct _Elm_SlidingDrawer_Drag_Value {
2547 }Elm_SlidingDrawer_Drag_Value;
2549 EAPI Evas_Object *elm_slidingdrawer_add(Evas_Object *parent);
2550 EAPI void elm_slidingdrawer_content_set (Evas_Object *obj, Evas_Object *content);
2551 EAPI Evas_Object *elm_slidingdrawer_content_unset(Evas_Object *obj);
2552 EAPI void elm_slidingdrawer_pos_set(Evas_Object *obj, Elm_SlidingDrawer_Pos pos);
2553 EAPI void elm_slidingdrawer_max_drag_value_set(Evas_Object *obj, double dw, double dh);
2554 EAPI void elm_slidingdrawer_drag_value_set(Evas_Object *obj, double dx, double dy);
2557 EINA_DEPRECATED EAPI Evas_Object *elm_wipercontrol_add(Evas_Object *parent);
2558 EINA_DEPRECATED EAPI void elm_wipercontrol_below_content_set (Evas_Object *obj, Evas_Object *content);
2559 EINA_DEPRECATED EAPI void elm_wipercontrol_above_content_set (Evas_Object *obj, Evas_Object *content);
2562 EINA_DEPRECATED EAPI Evas_Object *elm_analogclock_add(Evas_Object *parent);
2565 EINA_DEPRECATED EAPI Evas_Object *elm_ratingbar_add(Evas_Object *parent);
2566 EINA_DEPRECATED EAPI void elm_ratingbar_rating_set(Evas_Object *obj, int rating);
2567 EINA_DEPRECATED EAPI int elm_ratingbar_rating_get(Evas_Object *obj);
2568 /* smart callback called:
2569 * "changed" - when a rating is changed
2571 /* available styles:
2575 /* multibuttonentry */
2576 typedef struct _Multibuttonentry_Item Elm_Multibuttonentry_Item;
2577 EAPI Evas_Object *elm_multibuttonentry_add(Evas_Object *parent);
2578 EAPI const char *elm_multibuttonentry_label_get(Evas_Object *obj);
2579 EAPI void elm_multibuttonentry_label_set(Evas_Object *obj, const char *label);
2580 EAPI Evas_Object *elm_multibuttonentry_entry_get(Evas_Object *obj);
2581 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_start(Evas_Object *obj, const char *label, void *data);
2582 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_end(Evas_Object *obj, const char *label, void *data);
2583 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_before(Evas_Object *obj, const char *label, Elm_Multibuttonentry_Item *before, void *data);
2584 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_after(Evas_Object *obj, const char *label, Elm_Multibuttonentry_Item *after, void *data);
2585 EAPI const Eina_List *elm_multibuttonentry_items_get(Evas_Object *obj);
2586 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_first_get(Evas_Object *obj);
2587 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_last_get(Evas_Object *obj);
2588 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_selected_get(Evas_Object *obj);
2589 EAPI void elm_multibuttonentry_item_selected_set(Elm_Multibuttonentry_Item *item);
2590 EAPI void elm_multibuttonentry_item_del(Elm_Multibuttonentry_Item *item);
2591 EAPI void elm_multibuttonentry_items_del(Evas_Object *obj);
2592 EAPI const char *elm_multibuttonentry_item_label_get(Elm_Multibuttonentry_Item *item);
2593 EAPI void elm_multibuttonentry_item_label_set(Elm_Multibuttonentry_Item *item, const char *str);
2594 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_prev(Elm_Multibuttonentry_Item *item);
2595 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_next(Elm_Multibuttonentry_Item *item);
2596 EAPI void *elm_multibuttonentry_item_data_get(Elm_Multibuttonentry_Item *item);
2597 EAPI void elm_multibuttonentry_item_data_set(Elm_Multibuttonentry_Item *item, void *data);
2598 /* smart callback called:
2599 * "selected" - when the selected item of multibuttonentry is changed.
2600 * "added" - when the new item of multibuttonentry is added.
2601 * "deleted" - when an item of multibuttonentry is deleted.
2602 * "expanded" - when the multibuttonentry is expanded.
2603 * "contracted" - when the multibuttonentry is contracted.
2605 /* available styles:
2610 typedef struct _Stackedicon_Item Elm_Stackedicon_Item;
2611 EAPI Evas_Object *elm_stackedicon_add(Evas_Object *parent);
2612 EAPI Elm_Stackedicon_Item *elm_stackedicon_item_append(Evas_Object *obj, const char *path);
2613 EAPI Elm_Stackedicon_Item *elm_stackedicon_item_prepend(Evas_Object *obj, const char *path);
2614 EAPI void elm_stackedicon_item_del(Elm_Stackedicon_Item *it);
2615 EAPI Eina_List *elm_stackedicon_item_list_get(Evas_Object *obj);
2616 /* smart callback called:
2618 /* available styles:
2623 EINA_DEPRECATED EAPI Evas_Object *elm_chronometer_add(Evas_Object *parent);
2624 EINA_DEPRECATED EAPI void elm_chronometer_start(Evas_Object *obj);
2625 EINA_DEPRECATED EAPI void elm_chronometer_stop(Evas_Object *obj);
2626 EINA_DEPRECATED EAPI void elm_chronometer_time_set(Evas_Object *obj, int hrs, int min, int sec);
2627 EINA_DEPRECATED EAPI void elm_chronometer_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec);
2628 EINA_DEPRECATED EAPI void elm_chronometer_format_set(Evas_Object *obj, Eina_Bool format);
2629 EINA_DEPRECATED EAPI void elm_chronometer_format_get(Evas_Object *obj, Eina_Bool *format);
2632 typedef struct _Dialogue_Item Dialogue_Item;
2634 typedef enum _Elm_Dialoguegourp_Item_Style
2636 ELM_DIALOGUEGROUP_ITEM_STYLE_DEFAULT = 0,
2637 ELM_DIALOGUEGROUP_ITEM_STYLE_EDITFIELD = (1 << 0),
2638 ELM_DIALOGUEGROUP_ITEM_STYLE_EDITFIELD_WITH_TITLE = (1 << 1),
2639 ELM_DIALOGUEGROUP_ITEM_STYLE_EDIT_TITLE = (1 << 2),
2640 ELM_DIALOGUEGROUP_ITEM_STYLE_HIDDEN = (1 << 3),
2641 ELM_DIALOGUEGROUP_ITEM_STYLE_DATAVIEW = (1 << 4),
2642 ELM_DIALOGUEGROUP_ITEM_STYLE_LAST = (1 << 5)
2643 } Elm_Dialoguegroup_Item_Style;
2645 EAPI Evas_Object *elm_dialoguegroup_add(Evas_Object *parent);
2646 EAPI Dialogue_Item *elm_dialoguegroup_append(Evas_Object *obj, Evas_Object *subobj, Elm_Dialoguegroup_Item_Style style);
2647 EAPI Dialogue_Item *elm_dialoguegroup_prepend(Evas_Object *obj, Evas_Object *subobj, Elm_Dialoguegroup_Item_Style style);
2648 EAPI Dialogue_Item *elm_dialoguegroup_insert_after(Evas_Object *obj, Evas_Object *subobj, Dialogue_Item *after, Elm_Dialoguegroup_Item_Style style);
2649 EAPI Dialogue_Item *elm_dialoguegroup_insert_before(Evas_Object *obj, Evas_Object *subobj, Dialogue_Item *before, Elm_Dialoguegroup_Item_Style style);
2650 EAPI void elm_dialoguegroup_remove(Dialogue_Item *item);
2651 EAPI void elm_dialoguegroup_remove_all(Evas_Object *obj);
2652 EAPI void elm_dialoguegroup_title_set(Evas_Object *obj, const char *title);
2653 EAPI const char *elm_dialoguegroup_title_get(Evas_Object *obj);
2654 EAPI void elm_dialoguegroup_press_effect_set(Dialogue_Item *item, Eina_Bool press);
2655 EAPI Eina_Bool elm_dialoguegroup_press_effect_get(Dialogue_Item *item);
2656 EAPI Evas_Object *elm_dialoguegroup_item_content_get(Dialogue_Item *item);
2657 EAPI void elm_dialoguegroup_item_style_set(Dialogue_Item *item, Elm_Dialoguegroup_Item_Style style);
2658 EAPI Elm_Dialoguegroup_Item_Style elm_dialoguegroup_item_style_get(Dialogue_Item *item);
2662 /* AutoCompleteView */
2663 typedef Eina_Bool (*elmautocompleteview_matchfunction) (Evas_Object *obj,char *text,Evas_Object *list,void *data);
2664 EAPI Evas_Object *elm_autocompleteview_add(Evas_Object *parent);
2665 EAPI Evas_Object *elm_autocompleteview_entry_get(Evas_Object *obj);
2666 EAPI Evas_Object *elm_autocompleteview_editfield_get(Evas_Object *obj);
2667 EAPI void elm_autocompleteview_threshold_set(Evas_Object *obj, int threshold);
2668 EAPI int elm_autocompleteview_threshold_get(Evas_Object *obj);
2669 EAPI void elm_autocompleteview_data_set(Evas_Object *obj, Eina_List *data_list);
2670 EAPI void elm_autocompleteview_match_func_set(Evas_Object *obj, elmautocompleteview_matchfunction func,void *data);
2671 EAPI void elm_autocompleteview_text_update(Evas_Object *obj, char *text);
2674 typedef struct _Coverflow_Item Elm_Coverflow_Item;
2675 typedef struct _Coverflow_Item_Class
2677 void (*CoverflowItemGenFunc)(void* data, Evas_Object* obj);
2678 void (*CoverflowItemDelFunc)(void* data, Evas_Object* obj);
2679 } Elm_Coverflow_Item_Class;
2681 EINA_DEPRECATED EAPI Evas_Object *elm_coverflow_add( Evas_Object* parent );
2682 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 );
2683 EINA_DEPRECATED EAPI void elm_coverflow_clear( Evas_Object* obj );
2686 typedef struct _Cabinet_Item Elm_Cabinet_Item;
2687 EINA_DEPRECATED EAPI Evas_Object *elm_cabinet_add(Evas_Object *parent);
2688 EINA_DEPRECATED EAPI void elm_cabinet_next(Evas_Object *obj);
2689 EINA_DEPRECATED EAPI void elm_cabinet_prev(Evas_Object *obj);
2690 EINA_DEPRECATED EAPI Eina_Bool elm_cabinet_bounce_get(Evas_Object *obj);
2691 EINA_DEPRECATED EAPI void elm_cabinet_bounce_set(Evas_Object *obj, Eina_Bool bounce);
2692 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);
2693 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);
2694 EINA_DEPRECATED EAPI const Eina_List *elm_cabinet_items_get(Evas_Object *obj);
2695 EINA_DEPRECATED EAPI Elm_Cabinet_Item *elm_cabinet_first_item_get(Evas_Object *obj);
2696 EINA_DEPRECATED EAPI Elm_Cabinet_Item *elm_cabinet_last_item_get(Evas_Object *obj);
2697 EINA_DEPRECATED EAPI Elm_Cabinet_Item *elm_cabinet_selected_item_get(Evas_Object *obj);
2698 EINA_DEPRECATED EAPI void elm_cabinet_item_selected_set(Elm_Cabinet_Item *item);
2699 EINA_DEPRECATED EAPI void elm_cabinet_item_del(Elm_Cabinet_Item *item);
2700 EINA_DEPRECATED EAPI const char *elm_cabinet_item_label_get(Elm_Cabinet_Item *item);
2701 EINA_DEPRECATED EAPI void elm_cabinet_item_label_set(Elm_Cabinet_Item *item, const char *label);
2702 EINA_DEPRECATED EAPI const char *elm_cabinet_item_sub_info_get(Elm_Cabinet_Item *item);
2703 EINA_DEPRECATED EAPI void elm_cabinet_item_sub_info_set(Elm_Cabinet_Item *item, const char *sub_info);
2704 EINA_DEPRECATED EAPI Elm_Cabinet_Item *elm_cabinet_item_prev(Elm_Cabinet_Item *item);
2705 EINA_DEPRECATED EAPI Elm_Cabinet_Item *elm_cabinet_item_next(Elm_Cabinet_Item *item);
2706 EINA_DEPRECATED EAPI void *elm_cabinet_item_data_get(Elm_Cabinet_Item *item);
2707 EINA_DEPRECATED EAPI void elm_cabinet_item_data_set(Elm_Cabinet_Item *item, void *data);
2708 EINA_DEPRECATED EAPI Eina_Bool elm_cabinet_item_del_btn_disabled_get(Elm_Cabinet_Item *item);
2709 EINA_DEPRECATED EAPI void elm_cabinet_item_del_btn_disabled_set(Elm_Cabinet_Item *item, Eina_Bool disabled);
2710 EINA_DEPRECATED EAPI Eina_Bool elm_cabinet_item_sub_info_disabled_get(Elm_Cabinet_Item *item);
2711 EINA_DEPRECATED EAPI void elm_cabinet_item_sub_info_disabled_set(Elm_Cabinet_Item *item, Eina_Bool disabled);
2716 ELM_DAYSELECTOR_SUN,
2717 ELM_DAYSELECTOR_MON,
2718 ELM_DAYSELECTOR_TUE,
2719 ELM_DAYSELECTOR_WED,
2720 ELM_DAYSELECTOR_THU,
2721 ELM_DAYSELECTOR_FRI,
2723 } Elm_DaySelector_Day;
2725 EAPI Evas_Object *elm_dayselector_add(Evas_Object *parent);
2726 EAPI Eina_Bool elm_dayselector_check_state_get(Evas_Object *obj, Elm_DaySelector_Day day);
2727 EAPI void elm_dayselector_check_state_set(Evas_Object *obj, Elm_DaySelector_Day day, Eina_Bool checked);
2730 typedef Eina_Bool (*Elm_WebView_Mime_Cb)(Evas_Object *obj, const char *uri);
2731 EAPI Evas_Object *elm_webview_add(Evas_Object *parent, Eina_Bool tiled);
2732 EAPI Evas_Object *elm_webview_webkit_get(Evas_Object *obj);
2733 EAPI void elm_webview_events_feed_set(Evas_Object *obj, Eina_Bool feed);
2734 EAPI Eina_Bool elm_webview_events_feed_get(Evas_Object *obj);
2735 EAPI void elm_webview_auto_fitting_set(Evas_Object *obj, Eina_Bool enable);
2736 EAPI Eina_Bool elm_webview_auto_fitting_get(Evas_Object *obj);
2737 EAPI Evas_Object *elm_webview_minimap_get(Evas_Object *obj);
2738 EAPI void elm_webview_uri_set(Evas_Object *obj, const char *uri);
2739 EAPI void elm_webview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
2740 EAPI void elm_webview_scheme_callback_set(Evas_Object *obj, const char *scheme, Elm_WebView_Mime_Cb func);
2741 EAPI void elm_webview_default_layout_width_set(Evas_Object *obj, int width);
2744 EAPI Evas_Object *elm_nocontents_add(Evas_Object *parent);
2745 EAPI void elm_nocontents_label_set(Evas_Object *obj, const char *label);
2746 EAPI const char *elm_nocontents_label_get(const Evas_Object *obj);
2747 EAPI void elm_nocontents_custom_set(const Evas_Object *obj, Evas_Object *custom);
2748 EAPI Evas_Object *elm_nocontents_custom_get(const Evas_Object *obj);
2753 ELM_TICKERNOTI_DEFAULT,
2754 ELM_TICKERNOTI_DETAILVIEW
2755 } Elm_Tickernoti_Mode;
2757 EAPI Evas_Object *elm_tickernoti_add (Evas_Object *parent);
2758 EAPI void elm_tickernoti_icon_set (const Evas_Object *obj, Evas_Object *icon);
2759 EAPI Evas_Object *elm_tickernoti_icon_get (const Evas_Object *obj);
2760 EAPI void elm_tickernoti_label_set (Evas_Object *obj, const char *label);
2761 EAPI const char *elm_tickernoti_label_get (const Evas_Object *obj);
2762 EAPI void elm_tickernoti_detailview_label_set (Evas_Object *obj, const char *label);
2763 EAPI const char *elm_tickernoti_detailview_label_get (const Evas_Object *obj);
2764 EAPI void elm_tickernoti_detailview_button_set (const Evas_Object *obj, Evas_Object *button);
2765 EAPI Evas_Object *elm_tickernoti_detailview_button_get (const Evas_Object *obj);
2766 EAPI void elm_tickernoti_detailview_icon_set (const Evas_Object *obj, Evas_Object *icon);
2767 EAPI Evas_Object *elm_tickernoti_detailview_icon_get (const Evas_Object *obj);
2768 EAPI Evas_Object *elm_tickernoti_detailview_get (const Evas_Object *obj);
2769 EAPI int elm_tickernoti_rotation_get (const Evas_Object *obj);
2770 EAPI void elm_tickernoti_rotation_set (const Evas_Object *obj, int angle);
2771 EAPI void elm_tickernoti_mode_set (const Evas_Object *obj, Elm_Tickernoti_Mode mode);
2772 EAPI Elm_Tickernoti_Mode elm_tickernoti_mode_get (const Evas_Object *obj);
2775 typedef struct _Imageslider_Item Elm_Imageslider_Item;
2776 typedef void (*Elm_Imageslider_Cb)(void *data, Evas_Object *obj, void *event_info);
2777 EAPI Evas_Object *elm_imageslider_add(Evas_Object *parent);
2778 EAPI Elm_Imageslider_Item *elm_imageslider_item_append(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, void *data);
2779 EAPI Elm_Imageslider_Item *elm_imageslider_item_prepend(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, void *data);
2780 EAPI void elm_imageslider_item_del(Elm_Imageslider_Item *it);
2781 EAPI Elm_Imageslider_Item *elm_imageslider_selected_item_get(Evas_Object *obj);
2782 EAPI Eina_Bool elm_imageslider_item_selected_get(Elm_Imageslider_Item *it);
2783 EAPI void elm_imageslider_item_selected_set(Elm_Imageslider_Item *it);
2784 EAPI const char *elm_imageslider_item_photo_file_get(Elm_Imageslider_Item *it);
2785 EAPI Elm_Imageslider_Item *elm_imageslider_item_prev(Elm_Imageslider_Item *it);
2786 EAPI Elm_Imageslider_Item *elm_imageslider_item_next(Elm_Imageslider_Item *it);
2787 EAPI void elm_imageslider_prev(Evas_Object *obj);
2788 EAPI void elm_imageslider_next(Evas_Object *obj);
2790 /* Selection Info */
2791 EAPI Evas_Object *elm_selectioninfo_add(Evas_Object *parent);
2792 EAPI void elm_selectioninfo_content_set(Evas_Object *obj, Evas_Object *content);
2793 EAPI void elm_selectioninfo_parent_set(Evas_Object *obj, Evas_Object *parent);
2794 EAPI void elm_selectioninfo_timeout_set(Evas_Object *obj, int timeout);
2795 EAPI void elm_selectioninfo_timer_init(Evas_Object *obj);
2796 EAPI void elm_selectioninfo_check_state_set(Evas_Object *obj, Eina_Bool *state, int count);
2797 EAPI int elm_selectioninfo_checked_count_get(Evas_Object *obj);
2798 EAPI void elm_selectioninfo_label_set(Evas_Object *obj, char* text);
2800 /* smart callback called:
2801 * "selectioninfo,timeout" - when time out