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 const char *elm_object_widget_type_get(const Evas_Object *obj);
272 EAPI double elm_scale_get(void);
273 EAPI void elm_scale_set(double scale);
274 EAPI void elm_scale_all_set(double scale);
275 EAPI Evas_Coord elm_finger_size_get(void);
276 EAPI void elm_finger_size_set(Evas_Coord size);
277 EAPI void elm_finger_size_all_set(Evas_Coord size);
279 EAPI Eina_Bool elm_object_focus_get(Evas_Object *obj);
280 EAPI void elm_object_focus(Evas_Object *obj);
281 EAPI void elm_object_unfocus(Evas_Object *obj);
282 EAPI void elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable);
283 EAPI Eina_Bool elm_object_focus_allow_get(const Evas_Object *obj);
285 EAPI void elm_object_scroll_hold_push(Evas_Object *obj);
286 EAPI void elm_object_scroll_hold_pop(Evas_Object *obj);
287 EAPI void elm_object_scroll_freeze_push(Evas_Object *obj);
288 EAPI void elm_object_scroll_freeze_pop(Evas_Object *obj);
289 EAPI void elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock);
290 EAPI void elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock);
291 EAPI Eina_Bool elm_object_scroll_lock_x_get(const Evas_Object *obj);
292 EAPI Eina_Bool elm_object_scroll_lock_y_get(const Evas_Object *obj);
294 EAPI void elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h);
296 EAPI Elm_Theme *elm_theme_new(void);
297 EAPI void elm_theme_free(Elm_Theme *th);
298 EAPI void elm_theme_overlay_add(Elm_Theme *th, const char *item);
299 EAPI void elm_theme_overlay_del(Elm_Theme *th, const char *item);
300 EAPI void elm_theme_extension_add(Elm_Theme *th, const char *item);
301 EAPI void elm_theme_extension_del(Elm_Theme *th, const char *item);
302 EAPI void elm_theme_set(Elm_Theme *th, const char *theme);
303 EAPI const char *elm_theme_get(Elm_Theme *th);
304 EAPI void elm_theme_flush(Elm_Theme *th);
305 EAPI void elm_theme_full_flush(void);
307 EAPI void elm_theme_all_set(const char *theme);
309 EAPI void elm_object_theme_set(Evas_Object *obj, Elm_Theme *th);
310 EAPI Elm_Theme *elm_object_theme_get(Evas_Object *obj);
312 EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type);
313 EAPI void elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj);
314 EAPI void elm_win_resize_object_del(Evas_Object *obj, Evas_Object *subobj);
315 EAPI void elm_win_title_set(Evas_Object *obj, const char *title);
316 EAPI void elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel);
317 EAPI void elm_win_activate(Evas_Object *obj);
318 EAPI void elm_win_lower(Evas_Object *obj);
319 EAPI void elm_win_raise(Evas_Object *obj);
320 EAPI void elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless);
321 EAPI Eina_Bool elm_win_borderless_get(const Evas_Object *obj);
322 EAPI void elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped);
323 EAPI Eina_Bool elm_win_shaped_get(const Evas_Object *obj);
324 EAPI void elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha);
325 EAPI Eina_Bool elm_win_transparent_get(const Evas_Object *obj);
326 EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent);
327 EAPI Eina_Bool elm_win_alpha_get(const Evas_Object *obj);
328 EAPI void elm_win_override_set(Evas_Object *obj, Eina_Bool override);
329 EAPI Eina_Bool elm_win_override_get(const Evas_Object *obj);
330 EAPI void elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen);
331 EAPI Eina_Bool elm_win_fullscreen_get(const Evas_Object *obj);
332 EAPI void elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized);
333 EAPI Eina_Bool elm_win_maximized_get(const Evas_Object *obj);
334 EAPI void elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified);
335 EAPI Eina_Bool elm_win_iconified_get(const Evas_Object *obj);
336 EAPI void elm_win_layer_set(Evas_Object *obj, int layer);
337 EAPI int elm_win_layer_get(const Evas_Object *obj);
338 EAPI void elm_win_rotation_set(Evas_Object *obj, int rotation);
339 EAPI void elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation);
340 EAPI int elm_win_rotation_get(const Evas_Object *obj);
341 EAPI void elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky);
342 EAPI Eina_Bool elm_win_sticky_get(const Evas_Object *obj);
343 EAPI void elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant);
344 EAPI Eina_Bool elm_win_conformant_get(const Evas_Object *obj);
345 EAPI void elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel);
346 EAPI Eina_Bool elm_win_quickpanel_get(const Evas_Object *obj);
347 EAPI void elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority);
348 EAPI int elm_win_quickpanel_priority_major_get(const Evas_Object *obj);
349 EAPI void elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority);
350 EAPI int elm_win_quickpanel_priority_minor_get(const Evas_Object *obj);
351 EAPI void elm_win_quickpanel_zone_set(Evas_Object *obj, int zone);
352 EAPI void elm_win_indicator_state_set(Evas_Object *obj, int show_state);
353 EAPI int elm_win_indicator_state_get(Evas_Object *obj);
356 * ecore_x_icccm_hints_set -> accepts_focus (add to ecore_evas)
357 * ecore_x_icccm_hints_set -> window_group (add to ecore_evas)
358 * ecore_x_icccm_size_pos_hints_set -> request_pos (add to ecore_evas)
359 * ecore_x_icccm_client_leader_set -> l (add to ecore_evas)
360 * ecore_x_icccm_window_role_set -> role (add to ecore_evas)
361 * ecore_x_icccm_transient_for_set -> forwin (add to ecore_evas)
362 * ecore_x_netwm_window_type_set -> type (add to ecore_evas)
364 * (add to ecore_x) set netwm argb icon! (add to ecore_evas)
365 * (blank mouse, private mouse obj, defaultmouse)
368 EAPI void elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode);
369 EAPI void elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard);
371 EAPI void elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y);
373 EAPI Evas_Object *elm_win_inwin_add(Evas_Object *obj);
374 EAPI void elm_win_inwin_activate(Evas_Object *obj);
375 EAPI void elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content);
382 /* X specific calls - won't work on non-x engines (return 0) */
383 EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj);
384 /* smart callbacks called:
385 * "delete,request" - the user requested to delete the window
386 * "focus,in" - window got focus
387 * "focus,out" - window lost focus
388 * "moved" - window that holds the canvas was moved
391 EAPI Evas_Object *elm_bg_add(Evas_Object *parent);
392 EAPI void elm_bg_file_set(Evas_Object *obj, const char *file, const char *group);
393 /* smart callbacks called:
396 EAPI Evas_Object *elm_icon_add(Evas_Object *parent);
397 EAPI Eina_Bool elm_icon_file_set(Evas_Object *obj, const char *file, const char *group);
398 EAPI Eina_Bool elm_icon_standard_set(Evas_Object *obj, const char *name);
399 EAPI void elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth);
400 EAPI void elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale);
401 EAPI void elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down);
402 EAPI void elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside);
403 EAPI void elm_icon_prescale_set(Evas_Object *obj, int size);
404 /* smart callbacks called:
405 * "clicked" - the user clicked the icon
408 typedef enum _Elm_Image_Orient
410 ELM_IMAGE_ORIENT_NONE,
411 ELM_IMAGE_ROTATE_90_CW,
412 ELM_IMAGE_ROTATE_180_CW,
413 ELM_IMAGE_ROTATE_90_CCW,
414 ELM_IMAGE_FLIP_HORIZONTAL,
415 ELM_IMAGE_FLIP_VERTICAL,
416 ELM_IMAGE_FLIP_TRANSPOSE,
417 ELM_IMAGE_FLIP_TRANSVERSE
420 EAPI Evas_Object *elm_image_add(Evas_Object *parent);
421 EAPI Eina_Bool elm_image_file_set(Evas_Object *obj, const char *file, const char *group);
422 EAPI void elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth);
423 EAPI void elm_image_object_size_get(const Evas_Object *obj, int *w, int *h);
424 EAPI void elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale);
425 EAPI void elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down);
426 EAPI void elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside);
427 EAPI void elm_image_prescale_set(Evas_Object *obj, int size);
428 EAPI void elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient);
429 /* smart callbacks called:
430 * "clicked" - the user clicked the image
433 EAPI Evas_Object *elm_box_add(Evas_Object *parent);
434 EAPI void elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
435 EAPI void elm_box_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
436 EAPI void elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj);
437 EAPI void elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj);
438 EAPI void elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before);
439 EAPI void elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after);
440 EAPI void elm_box_clear(Evas_Object *obj);
441 EAPI void elm_box_unpack(Evas_Object *obj, Evas_Object *subobj);
442 EAPI void elm_box_unpack_all(Evas_Object *obj);
443 /* smart callbacks called:
447 UIControlStateDefault,
448 UIControlStateHighlighted,
449 UIControlStateDisabled,
450 UIControlStateFocused,
451 UIControlStateReserved
454 EAPI Evas_Object *elm_button_add(Evas_Object *parent);
455 EAPI void elm_button_label_set(Evas_Object *obj, const char *label);
456 EAPI void elm_button_label_set_for_state(Evas_Object *obj, const char *label, UIControlState state);
457 EAPI const char *elm_button_label_get(const Evas_Object *obj);
458 EAPI const char *elm_button_label_get_for_state(const Evas_Object *obj, UIControlState state);
459 EAPI void elm_button_icon_set(Evas_Object *obj, Evas_Object *icon);
460 EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj);
461 EAPI void elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on);
462 EAPI void elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t);
463 EAPI void elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t);
465 EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent);
466 EAPI void elm_fileselector_button_label_set(Evas_Object *obj, const char *label);
467 EAPI const char *elm_fileselector_button_label_get(const Evas_Object *obj);
468 EAPI void elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon);
469 EAPI Evas_Object *elm_fileselector_button_icon_get(const Evas_Object *obj);
470 EAPI void elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title);
471 EAPI const char *elm_fileselector_button_window_title_get(const Evas_Object *obj);
472 EAPI void elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height);
473 EAPI void elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height);
474 EAPI void elm_fileselector_button_path_set(Evas_Object *obj, const char *path);
475 EAPI const char *elm_fileselector_button_path_get(const Evas_Object *obj);
476 EAPI void elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value);
477 EAPI Eina_Bool elm_fileselector_button_expandable_get(const Evas_Object *obj);
478 EAPI void elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value);
479 EAPI Eina_Bool elm_fileselector_button_folder_only_get(const Evas_Object *obj);
480 EAPI void elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value);
481 EAPI Eina_Bool elm_fileselector_button_is_save_get(const Evas_Object *obj);
482 EAPI void elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value);
483 EAPI Eina_Bool elm_fileselector_button_inwin_mode_get(const Evas_Object *obj);
484 EAPI void elm_fileselector_button_selected_set(Evas_Object *obj, const char *path);
485 EAPI const char *elm_fileselector_button_selected_get(const Evas_Object *obj);
491 * hoversel_vertical_entry
493 /* smart callbacks called:
494 * "clicked" - the user clicked the button
495 * "repeated" - the user pressed the button without releasing it
496 * "unpressed" - when the button is unpressed (released)
499 typedef enum _Elm_Scroller_Policy
501 ELM_SCROLLER_POLICY_AUTO = 0,
502 ELM_SCROLLER_POLICY_ON,
503 ELM_SCROLLER_POLICY_OFF,
504 ELM_SCROLLER_POLICY_LAST
508 EAPI Evas_Object *elm_scroller_add(Evas_Object *parent);
509 EAPI void elm_scroller_content_set(Evas_Object *obj, Evas_Object *child);
510 EAPI void elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base);
511 EAPI void elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h);
512 EAPI void elm_scroller_region_show(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
513 EAPI void elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
514 EAPI void elm_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v);
515 EAPI void elm_scroller_region_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
516 EAPI void elm_scroller_child_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
517 EAPI void elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
518 EAPI void elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel);
519 EAPI void elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize);
520 EAPI void elm_scroller_region_bring_in(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
521 EAPI void elm_scroller_page_move_set(Evas_Object *obj, Eina_Bool set);
522 EAPI void elm_scroller_propagate_events_set(Evas_Object *obj, Eina_Bool set);
524 /* smart callbacks called:
530 * "scroll,anim,start"
532 * "scroll,drag,start"
536 EAPI Evas_Object *elm_label_add(Evas_Object *parent);
537 EAPI void elm_label_label_set(Evas_Object *obj, const char *label);
538 EAPI const char *elm_label_label_get(const Evas_Object *obj);
539 EAPI void elm_label_line_wrap_set(Evas_Object *obj, Eina_Bool wrap);
540 EAPI Eina_Bool elm_label_line_wrap_get(const Evas_Object *obj);
541 EAPI void elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w);
542 EAPI Evas_Coord elm_label_wrap_width_get(const Evas_Object *obj);
543 EAPI void elm_label_wrap_height_set(Evas_Object *obj, Evas_Coord h);
544 EAPI Evas_Coord elm_label_wrap_height_get(const Evas_Object *obj);
545 EAPI void elm_label_fontsize_set(Evas_Object *obj, int fontsize);
546 EAPI void elm_label_text_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
547 EAPI void elm_label_text_align_set(Evas_Object *obj, const char *alignmode);
548 EAPI void elm_label_background_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
549 EAPI void elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis);
554 /* smart callbacks called:
557 EAPI Evas_Object *elm_toggle_add(Evas_Object *parent);
558 EAPI void elm_toggle_label_set(Evas_Object *obj, const char *label);
559 EAPI const char *elm_toggle_label_get(const Evas_Object *obj);
560 EAPI void elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon);
561 EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj);
562 EAPI void elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel);
563 EAPI void elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel);
564 EAPI void elm_toggle_state_set(Evas_Object *obj, Eina_Bool state);
565 EAPI Eina_Bool elm_toggle_state_get(const Evas_Object *obj);
566 EAPI void elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep);
567 /* smart callbacks called:
568 * "changed" - the user toggled the state
571 EAPI Evas_Object *elm_frame_add(Evas_Object *parent);
572 EAPI void elm_frame_label_set(Evas_Object *obj, const char *label);
573 EAPI const char *elm_frame_label_get(const Evas_Object *obj);
574 EAPI void elm_frame_content_set(Evas_Object *obj, Evas_Object *content);
584 /* smart callbacks called:
587 EAPI Evas_Object *elm_table_add(Evas_Object *parent);
588 EAPI void elm_table_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
589 EAPI void elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical);
590 EAPI void elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h);
591 EAPI void elm_table_unpack(Evas_Object *obj, Evas_Object *subobj);
592 EAPI void elm_table_clear(Evas_Object *obj, Eina_Bool clear);
594 typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class;
595 typedef struct _Elm_Gengrid_Item_Class_Func Elm_Gengrid_Item_Class_Func;
596 typedef struct _Elm_Gengrid_Item Elm_Gengrid_Item;
597 typedef char *(*GridItemLabelGetFunc) (const void *data, Evas_Object *obj, const char *part);
598 typedef Evas_Object *(*GridItemIconGetFunc) (const void *data, Evas_Object *obj, const char *part);
599 typedef Eina_Bool (*GridItemStateGetFunc) (const void *data, Evas_Object *obj, const char *part);
600 typedef void (*GridItemDelFunc) (const void *data, Evas_Object *obj);
602 struct _Elm_Gengrid_Item_Class
604 const char *item_style;
605 struct _Elm_Gengrid_Item_Class_Func
607 GridItemLabelGetFunc label_get;
608 GridItemIconGetFunc icon_get;
609 GridItemStateGetFunc state_get;
614 EAPI Evas_Object *elm_gengrid_add(Evas_Object *parent);
615 EAPI void elm_gengrid_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h);
616 EAPI void elm_gengrid_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
617 EAPI void elm_gengrid_align_set(Evas_Object *obj, double align_x, double align_y);
618 EAPI void elm_gengrid_align_get(const Evas_Object *obj, double *align_x, double *align_y);
619 EAPI void elm_gengrid_item_del(Elm_Gengrid_Item *item);
620 EAPI void elm_gengrid_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
621 EAPI Eina_Bool elm_gengrid_always_select_mode_get(const Evas_Object *obj);
622 EAPI void elm_gengrid_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
623 EAPI Eina_Bool elm_gengrid_no_select_mode_get(const Evas_Object *obj);
624 EAPI void elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi);
625 EAPI Eina_Bool elm_gengrid_multi_select_get(const Evas_Object *obj);
626 EAPI void elm_gengrid_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
627 EAPI void elm_gengrid_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
628 EAPI void elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool setting);
629 EAPI void elm_gengrid_clear(Evas_Object *obj);
630 EAPI void *elm_gengrid_item_data_get(Elm_Gengrid_Item *item);
631 EAPI void elm_gengrid_item_pos_get(const Elm_Gengrid_Item *item, unsigned int *x, unsigned int *y);
632 EAPI void elm_gengrid_item_selected_set(Elm_Gengrid_Item *item, Eina_Bool selected);
633 EAPI Eina_Bool elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item);
634 EAPI const Evas_Object *elm_gengrid_item_object_get(Elm_Gengrid_Item *item);
635 EAPI const Eina_List *elm_gengrid_selected_items_get(const Evas_Object *obj);
636 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);
637 /* smart callbacks called:
639 * selected - User has selected a item.
640 * unselected - User has unselected a item.
641 * clicked - User has double-clicked a item.
642 * realized - An evas object for a item was built.
643 * scroll - the content has been scrolled (moved).
644 * "scroll,drag,start" - dragging the contents around has started.
645 * "scroll,drat,stop" - dragging the contents around has stopped.
646 * drag - Gengrid is being dragged.
647 * "drag,start,up" - Gengrid has been dragged (not scrolled) up.
648 * "drag,start,down" - Gengrid has been dragged (not scrolled) down.
649 * "drag,start,left" - Gengrid has been dragged (not scrolled) left.
650 * "drag,start,rigth" - Gengrid has been dragged (nto scrolled) right.
651 * "drag,stop" - Gengrid is not being dragged.
654 EAPI Evas_Object *elm_clock_add(Evas_Object *parent);
655 EAPI void elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec);
656 EAPI void elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec);
657 EAPI void elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit);
658 EAPI Eina_Bool elm_clock_edit_get(const Evas_Object *obj);
659 EAPI void elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit);
660 EAPI Elm_Clock_Digedit elm_clock_digit_edit_get(const Evas_Object *obj);
661 EAPI void elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm);
662 EAPI Eina_Bool elm_clock_show_am_pm_get(const Evas_Object *obj);
663 EAPI void elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds);
664 EAPI Eina_Bool elm_clock_show_seconds_get(const Evas_Object *obj);
665 /* smart callbacks called:
666 * "changed" - the user changed the time
669 EAPI Evas_Object *elm_layout_add(Evas_Object *parent);
670 EAPI Eina_Bool elm_layout_file_set(Evas_Object *obj, const char *file, const char *group);
671 EAPI Eina_Bool elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style);
672 EAPI void elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
673 EAPI Evas_Object *elm_layout_content_unset(Evas_Object *obj, const char *swallow);
674 EAPI Evas_Object *elm_layout_edje_get(const Evas_Object *obj);
675 EAPI void elm_layout_sizing_eval(Evas_Object *obj);
676 /* smart callbacks called:
679 typedef enum _Elm_Notify_Orient
681 ELM_NOTIFY_ORIENT_TOP,
682 ELM_NOTIFY_ORIENT_CENTER,
683 ELM_NOTIFY_ORIENT_BOTTOM,
684 ELM_NOTIFY_ORIENT_LEFT,
685 ELM_NOTIFY_ORIENT_RIGHT,
686 ELM_NOTIFY_ORIENT_TOP_LEFT,
687 ELM_NOTIFY_ORIENT_TOP_RIGHT,
688 ELM_NOTIFY_ORIENT_BOTTOM_LEFT,
689 ELM_NOTIFY_ORIENT_BOTTOM_RIGHT
691 EAPI Evas_Object *elm_notify_add(Evas_Object *parent);
692 EAPI void elm_notify_content_set(Evas_Object *obj, Evas_Object *content);
693 EAPI void elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent);
694 EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient);
695 EAPI void elm_notify_timeout_set(Evas_Object *obj, int timeout);
696 EAPI void elm_notify_timer_init(Evas_Object *obj);
697 EAPI void elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat);
698 /* smart callbacks called:
701 EAPI Evas_Object *elm_selectioninfo_add(Evas_Object *parent);
702 EAPI void elm_selectioninfo_content_set(Evas_Object *obj, Evas_Object *content);
703 EAPI void elm_selectioninfo_parent_set(Evas_Object *obj, Evas_Object *parent);
704 EAPI void elm_selectioninfo_check_state_set(Evas_Object *obj, Eina_Bool *state, int count);
705 EAPI int elm_selectioninfo_checked_count_get(Evas_Object *obj);
706 EAPI void elm_selectioninfo_label_set(Evas_Object *obj, char* text);
707 /* smart callbacks called:
710 typedef enum _Elm_Hover_Axis
713 ELM_HOVER_AXIS_HORIZONTAL,
714 ELM_HOVER_AXIS_VERTICAL,
717 EAPI Evas_Object *elm_hover_add(Evas_Object *parent);
718 EAPI void elm_hover_target_set(Evas_Object *obj, Evas_Object *target);
719 EAPI Evas_Object *elm_hover_target_get(Evas_Object *obj);
720 EAPI void elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
721 EAPI Evas_Object *elm_hover_parent_get(Evas_Object *obj);
722 EAPI void elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
723 EAPI const char *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis);
730 /* smart callbacks called:
731 * "clicked" - the user clicked the empty space in the hover to dismiss
734 typedef struct _Elm_Entry_Anchor_Info Elm_Entry_Anchor_Info;
735 struct _Elm_Entry_Anchor_Info
739 Evas_Coord x, y, w, h;
741 typedef enum _Elm_Icon_Type
747 typedef struct _Elm_Hoversel_Item Elm_Hoversel_Item;
749 typedef enum _Elm_Input_Panel_Layout
751 ELM_INPUT_PANEL_LAYOUT_NORMAL, /**< Default 4x4 layout */
752 ELM_INPUT_PANEL_LAYOUT_NUMBER, /**< Number layout */
753 ELM_INPUT_PANEL_LAYOUT_EMAIL, /**< Email layout */
754 ELM_INPUT_PANEL_LAYOUT_URL, /**< URL layout */
755 ELM_INPUT_PANEL_LAYOUT_PHONENUMBER, /**< Phone Number layout */
756 ELM_INPUT_PANEL_LAYOUT_IP, /**< IP layout */
757 ELM_INPUT_PANEL_LAYOUT_MONTH, /**< Month layout */
758 ELM_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */
759 ELM_INPUT_PANEL_LAYOUT_CUSTOM_1 = 100, /* Reserved for future use */
760 ELM_INPUT_PANEL_LAYOUT_CUSTOM_2,
761 ELM_INPUT_PANEL_LAYOUT_CUSTOM_3,
762 ELM_INPUT_PANEL_LAYOUT_CUSTOM_4,
763 ELM_INPUT_PANEL_LAYOUT_CUSTOM_5,
764 ELM_INPUT_PANEL_LAYOUT_CUSTOM_6,
765 ELM_INPUT_PANEL_LAYOUT_CUSTOM_7,
766 ELM_INPUT_PANEL_LAYOUT_CUSTOM_8,
767 ELM_INPUT_PANEL_LAYOUT_CUSTOM_9,
768 ELM_INPUT_PANEL_LAYOUT_CUSTOM_10
769 } Elm_Input_Panel_Layout;
771 EAPI Evas_Object *elm_entry_add(Evas_Object *parent);
772 EAPI void elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
773 EAPI Eina_Bool elm_entry_single_line_get(const Evas_Object *obj);
774 EAPI void elm_entry_password_set(Evas_Object *obj, Eina_Bool password);
775 EAPI Eina_Bool elm_entry_password_get(const Evas_Object *obj);
776 EAPI void elm_entry_password_show_last_character_set(Evas_Object *obj, Eina_Bool show_last_character);
778 EAPI void elm_entry_entry_set(Evas_Object *obj, const char *entry);
779 EAPI const char *elm_entry_entry_get(const Evas_Object *obj);
780 EAPI const char *elm_entry_selection_get(const Evas_Object *obj);
781 EAPI void elm_entry_entry_insert(Evas_Object *obj, const char *entry);
782 EAPI void elm_entry_line_wrap_set(Evas_Object *obj, Eina_Bool wrap);
783 EAPI void elm_entry_line_char_wrap_set(Evas_Object *obj, Eina_Bool wrap);
784 EAPI void elm_entry_wrap_width_set(Evas_Object *obj, Evas_Coord w);
785 EAPI Evas_Coord elm_entry_wrap_width_get(const Evas_Object *obj);
786 EAPI void elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
787 EAPI Eina_Bool elm_entry_editable_get(const Evas_Object *obj);
788 EAPI void elm_entry_select_none(Evas_Object *obj);
789 EAPI void elm_entry_select_all(Evas_Object *obj);
790 EAPI Eina_Bool elm_entry_cursor_next(Evas_Object *obj);
791 EAPI Eina_Bool elm_entry_cursor_prev(Evas_Object *obj);
792 EAPI Eina_Bool elm_entry_cursor_up(Evas_Object *obj);
793 EAPI Eina_Bool elm_entry_cursor_down(Evas_Object *obj);
794 EAPI void elm_entry_cursor_begin_set(Evas_Object *obj);
795 EAPI void elm_entry_cursor_end_set(Evas_Object *obj);
796 EAPI void elm_entry_cursor_line_begin_set(Evas_Object *obj);
797 EAPI void elm_entry_cursor_line_end_set(Evas_Object *obj);
798 EAPI void elm_entry_cursor_selection_begin(Evas_Object *obj);
799 EAPI void elm_entry_cursor_selection_end(Evas_Object *obj);
800 EAPI Eina_Bool elm_entry_cursor_is_format_get(const Evas_Object *obj);
801 EAPI Eina_Bool elm_entry_cursor_is_visible_format_get(const Evas_Object *obj);
802 EAPI const char *elm_entry_cursor_content_get(const Evas_Object *obj);
803 EAPI void elm_entry_selection_cut(Evas_Object *obj);
804 EAPI void elm_entry_selection_copy(Evas_Object *obj);
805 EAPI void elm_entry_selection_paste(Evas_Object *obj);
806 EAPI void elm_entry_context_menu_clear(Evas_Object *obj);
807 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);
808 EAPI void elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
809 EAPI Eina_Bool elm_entry_context_menu_disabled_get(const Evas_Object *obj);
810 EAPI void elm_entry_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data);
811 EAPI void elm_entry_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data);
812 EAPI void elm_entry_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data);
813 EAPI char *elm_entry_markup_to_utf8(const char *s);
814 EAPI char *elm_entry_utf8_to_markup(const char *s);
815 EAPI void elm_entry_fontsize_set(Evas_Object *obj, int fontsize);
816 EAPI void elm_entry_text_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
817 EAPI void elm_entry_text_align_set(Evas_Object *obj, const char *alignmode);
818 EAPI void elm_entry_background_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
819 EAPI void elm_entry_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis);
821 EAPI void elm_entry_autocapitalization_set(Evas_Object *obj, Eina_Bool on);
822 EAPI void elm_entry_autoenable_returnkey_set(Evas_Object *obj, Eina_Bool on);
823 EAPI void elm_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled);
824 EAPI void elm_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout);
825 EAPI Ecore_IMF_Context *elm_entry_imf_context_get(Evas_Object *obj);
826 EAPI void elm_entry_maximum_bytes_set(Evas_Object *obj, int max_no_of_bytes);
828 /* smart callbacks called:
829 * "changed" - the text content changed
830 * "selection,start" - the user started selecting text
831 * "selection,changed" - the user modified the selection size/location
832 * "selection,cleared" - the user cleared the selection
833 * "selection,paste" - the user requested a paste of text
834 * "selection,copy" - the user copied the text
835 * "selection,cut" - the user cut the text
836 * "cursor,changed" - the cursor changed position
837 * "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchor_Info
838 * "activated" - when the enter key is pressed (useful for single line)
839 * "press" - when finger/mouse is pressed down
840 * "clicked" - when finger/mouse is pressed and released (without a drag etc.)
841 * "clicked,double" - when finger/mouse is double-pressed
842 * "longpressed" - the entry has been longpressed
843 * "focused" - the entry has received keyboard focus
844 * "unfocused" - keyboard focus is gone
847 /* composite widgets - these basically put together basic widgets above
848 * in convenient packages that do more than basic stuff */
849 typedef enum _Elm_Text_Format
851 ELM_TEXT_FORMAT_PLAIN_UTF8,
852 ELM_TEXT_FORMAT_MARKUP_UTF8
854 EAPI Evas_Object *elm_notepad_add(Evas_Object *parent);
855 EAPI void elm_notepad_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format);
856 EAPI void elm_notepad_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
857 /* smart callbacks called:
860 typedef struct _Elm_Entry_Anchorview_Info Elm_Entry_Anchorview_Info;
861 struct _Elm_Entry_Anchorview_Info
868 Evas_Coord x, y, w, h;
869 } anchor, hover_parent;
870 Eina_Bool hover_left : 1;
871 Eina_Bool hover_right : 1;
872 Eina_Bool hover_top : 1;
873 Eina_Bool hover_bottom : 1;
875 EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent);
876 EAPI void elm_anchorview_text_set(Evas_Object *obj, const char *text);
877 EAPI const char *elm_anchorview_text_get(const Evas_Object *obj);
879 EAPI void elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
880 EAPI void elm_anchorview_hover_style_set(Evas_Object *obj, const char *style);
881 EAPI void elm_anchorview_hover_end(Evas_Object *obj);
882 EAPI void elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
883 EAPI void elm_anchorview_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorview, const char *item), void *data);
884 EAPI void elm_anchorview_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorview, const char *item), void *data);
885 EAPI void elm_anchorview_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorview, const char *item), void *data);
886 /* smart callbacks called:
887 * "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchorview_Info
890 typedef struct _Elm_Entry_Anchorblock_Info Elm_Entry_Anchorblock_Info;
891 struct _Elm_Entry_Anchorblock_Info
898 Evas_Coord x, y, w, h;
899 } anchor, hover_parent;
900 Eina_Bool hover_left : 1;
901 Eina_Bool hover_right : 1;
902 Eina_Bool hover_top : 1;
903 Eina_Bool hover_bottom : 1;
905 EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent);
906 EAPI void elm_anchorblock_text_set(Evas_Object *obj, const char *text);
907 EAPI const char *elm_anchorblock_text_get(const Evas_Object *obj);
908 EAPI void elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
909 EAPI void elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style);
910 EAPI void elm_anchorblock_hover_end(Evas_Object *obj);
911 EAPI void elm_anchorblock_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data);
912 EAPI void elm_anchorblock_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data);
913 EAPI void elm_anchorblock_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data);
914 /* smart callbacks called:
915 * "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchorblock_Info
918 EAPI Evas_Object *elm_bubble_add(Evas_Object *parent);
919 EAPI void elm_bubble_label_set(Evas_Object *obj, const char *label);
920 EAPI const char *elm_bubble_label_get(const Evas_Object *obj);
921 EAPI void elm_bubble_info_set(Evas_Object *obj, const char *info);
922 EAPI const char *elm_bubble_info_get(const Evas_Object *obj);
924 EAPI void elm_bubble_content_set(Evas_Object *obj, Evas_Object *content);
925 EAPI void elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon);
926 EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj);
927 EAPI void elm_bubble_corner_set(Evas_Object *obj, const char *corner);
928 /* smart callbacks called:
931 EAPI Evas_Object *elm_photo_add(Evas_Object *parent);
932 EAPI Eina_Bool elm_photo_file_set(Evas_Object *obj, const char *file);
933 EAPI void elm_photo_size_set(Evas_Object *obj, int size);
934 /* smart callbacks called:
935 * "clicked" - the user clicked the icon
938 EAPI Evas_Object *elm_thumb_add(Evas_Object *parent);
939 EAPI void elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key);
940 EAPI void elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key);
941 EAPI void elm_thumb_path_get(const Evas_Object *obj, const char **file, const char **key);
942 EAPI void elm_thumb_keep_aspect_set(Evas_Object *obj, Eina_Bool setting);
943 EAPI Eina_Bool elm_thumb_keep_aspect_get(const Evas_Object *obj);
944 EAPI void elm_thumb_align_set(Evas_Object *obj, float x_align, float y_align);
945 EAPI void elm_thumb_align_get(const Evas_Object *obj, float *x, float *y);
946 EAPI void elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s);
947 EAPI Elm_Thumb_Animation_Setting elm_thumb_animate_get(const Evas_Object *obj);
948 EAPI Eina_Bool elm_thumb_ethumb_client_connected(void);
950 EAPI Ethumb_Client *elm_thumb_ethumb_client_get(void);
952 EAPI void *elm_thumb_ethumb_client_get(void);
954 /* smart callbacks called:
955 * "clicked" - the user clicked the thumb
956 * "clicked,double" - the user double clicked the thumb
957 * "press" - the user pressed the thumb
958 * "generate,start" - the thumbnail generation started
959 * "generate,stop" - the thumbnail generation stopped
960 * "generate,error" - the thumbnail generation failed
961 * "load,error" - the thumbnail image loading failed
964 EAPI Evas_Object *elm_hoversel_add(Evas_Object *parent);
965 EAPI void elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
966 EAPI Eina_Bool elm_hoversel_horizontal_get(const Evas_Object *obj);
967 EAPI void elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
968 EAPI void elm_hoversel_label_set(Evas_Object *obj, const char *label);
969 EAPI const char *elm_hoversel_label_get(const Evas_Object *obj);
970 EAPI void elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon);
971 EAPI Evas_Object *elm_hoversel_icon_get(const Evas_Object *obj);
972 EAPI void elm_hoversel_hover_begin(Evas_Object *obj);
973 EAPI void elm_hoversel_hover_end(Evas_Object *obj);
974 EAPI Eina_Bool elm_hoversel_expanded_get(Evas_Object *obj);
975 EAPI void elm_hoversel_clear(Evas_Object *obj);
976 EAPI const Eina_List * elm_hoversel_items_get(const Evas_Object *obj);
977 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);
978 EAPI void elm_hoversel_item_del(Elm_Hoversel_Item *item);
979 EAPI void elm_hoversel_item_del_cb_set(Elm_Hoversel_Item *it, Evas_Smart_Cb func);
980 EAPI void *elm_hoversel_item_data_get(Elm_Hoversel_Item *it);
981 EAPI const char *elm_hoversel_item_label_get(Elm_Hoversel_Item *it);
982 EAPI void elm_hoversel_item_icon_set(Elm_Hoversel_Item *it, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type);
983 EAPI void elm_hoversel_item_icon_get(Elm_Hoversel_Item *it, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type);
984 /* smart callbacks called:
985 * "clicked" - the user clicked the hoversel button and popped up the sel
986 * "selected" - an item in the hoversel list is selected
987 * "dismissed" - the hover is dismissed
990 typedef struct _Elm_Toolbar_Item Elm_Toolbar_Item;
991 EAPI Evas_Object *elm_toolbar_add(Evas_Object *parent);
992 EAPI void elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size);
993 EAPI int elm_toolbar_icon_size_get(const Evas_Object *obj);
994 EAPI Elm_Toolbar_Item *elm_toolbar_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, Evas_Smart_Cb func, const void *data);
995 EAPI Evas_Object *elm_toolbar_item_icon_get(Elm_Toolbar_Item *item);
996 EAPI const char *elm_toolbar_item_label_get(const Elm_Toolbar_Item *item);
997 EAPI Eina_Bool elm_toolbar_item_selected_get(const Elm_Toolbar_Item *item);
998 EAPI void elm_toolbar_item_label_set(Elm_Toolbar_Item *item, const char *label);
999 EAPI void elm_toolbar_item_del(Elm_Toolbar_Item *item);
1000 EAPI void elm_toolbar_item_del_cb_set(Elm_Toolbar_Item *it, Evas_Smart_Cb func);
1001 EAPI void elm_toolbar_item_select(Elm_Toolbar_Item *item);
1002 EAPI Eina_Bool elm_toolbar_item_disabled_get(Elm_Toolbar_Item *item);
1003 EAPI void elm_toolbar_item_disabled_set(Elm_Toolbar_Item *item, Eina_Bool disabled);
1004 EAPI void elm_toolbar_item_separator_set(Elm_Toolbar_Item *item, Eina_Bool separator);
1005 EAPI Eina_Bool elm_toolbar_item_separator_get(Elm_Toolbar_Item *item);
1006 EAPI Eina_List *elm_toolbar_item_get_all(Evas_Object *obj);
1007 EAPI Elm_Toolbar_Item *elm_toolbar_item_get_first(Evas_Object *obj);
1008 EAPI Elm_Toolbar_Item *elm_toolbar_item_get_last(Evas_Object *obj);
1009 EAPI Elm_Toolbar_Item *elm_toolbar_item_get_next(Evas_Object *obj);
1010 EAPI Elm_Toolbar_Item *elm_toolbar_item_select_next(Evas_Object *obj);
1011 EAPI Elm_Toolbar_Item *elm_toolbar_item_select_first(Evas_Object *obj);
1012 EAPI Elm_Toolbar_Item *elm_toolbar_item_select_last(Evas_Object *obj);
1013 EAPI Elm_Toolbar_Item *elm_toolbar_item_find_by_label(Evas_Object *obj, const char *label);
1014 EAPI void elm_toolbar_scrollable_set(Evas_Object *obj, Eina_Bool scrollable);
1015 EAPI Eina_Bool elm_toolbar_scrollable_get(Evas_Object *obj);
1016 EAPI void elm_toolbar_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
1017 EAPI Eina_Bool elm_toolbar_homogenous_get(Evas_Object *obj);
1018 EAPI void elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent);
1019 EAPI Evas_Object *elm_toolbar_menu_parent_get(Evas_Object *obj);
1020 EAPI void elm_toolbar_item_unselect_all(Evas_Object *obj);
1021 EAPI void elm_toolbar_align_set(Evas_Object *obj, double align);
1022 EAPI double elm_toolbar_align_get(const Evas_Object *obj);
1023 EAPI void elm_toolbar_item_menu_set(Elm_Toolbar_Item *item, Eina_Bool menu);
1024 EAPI Evas_Object *elm_toolbar_item_menu_get(Elm_Toolbar_Item *item);
1025 /* smart callbacks called:
1026 * "clicked" - when the user clicks on a toolbar item and becomes selected
1029 typedef struct _Menu_Item Elm_Menu_Item;
1030 EAPI Evas_Object *elm_menu_add(Evas_Object *parent);
1031 EAPI void elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent);
1032 EAPI void elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y);
1033 EAPI Evas_Object *elm_menu_object_get(const Elm_Menu_Item *it);
1034 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);
1035 EAPI void elm_menu_item_label_set(Elm_Menu_Item *item, const char *label);
1036 EAPI const char *elm_menu_item_label_get(Elm_Menu_Item *item);
1037 EAPI void elm_menu_item_icon_set(Elm_Menu_Item *item, Evas_Object *icon);
1038 EAPI Evas_Object *elm_menu_item_icon_get(Elm_Menu_Item *item);
1039 EAPI void elm_menu_item_disabled_set(Elm_Menu_Item *item, Eina_Bool disabled);
1040 EAPI Eina_Bool elm_menu_item_disabled_get(Elm_Menu_Item *item);
1041 EAPI Elm_Menu_Item *elm_menu_item_separator_add(Evas_Object *obj, Elm_Menu_Item *parent);
1042 EAPI Eina_Bool elm_menu_item_is_separator(Elm_Menu_Item *item);
1043 EAPI void elm_menu_item_del(Elm_Menu_Item *item);
1044 EAPI void elm_menu_item_del_cb_set(Elm_Menu_Item *it, Evas_Smart_Cb func);
1045 EAPI void *elm_menu_item_data_get(const Elm_Menu_Item *it);
1046 EAPI void elm_menu_item_data_set(Elm_Menu_Item *item, const void *data);
1047 EAPI const Eina_List *elm_menu_item_subitems_get(Elm_Menu_Item *item);
1048 /* smart callbacks called:
1049 * "clicked" - the user clicked the empty space in the menu to dismiss. event_info is NULL.
1052 typedef enum _Elm_List_Mode
1054 ELM_LIST_COMPRESS = 0,
1059 typedef struct _Elm_List_Item Elm_List_Item;
1060 EAPI Evas_Object *elm_list_add(Evas_Object *parent);
1061 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);
1062 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);
1063 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);
1064 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);
1065 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);
1066 EAPI void elm_list_clear(Evas_Object *obj);
1067 EAPI void elm_list_go(Evas_Object *obj);
1068 EAPI void elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi);
1069 EAPI Eina_Bool elm_list_multi_select_get(const Evas_Object *obj);
1070 EAPI void elm_list_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode);
1071 EAPI Elm_List_Mode elm_list_horizontal_mode_get(const Evas_Object *obj);
1072 EAPI void elm_list_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
1073 EAPI Eina_Bool elm_list_always_select_mode_get(const Evas_Object *obj);
1074 EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj);
1075 EAPI Elm_List_Item *elm_list_selected_item_get(const Evas_Object *obj);
1076 EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj);
1077 EAPI void elm_list_item_selected_set(Elm_List_Item *item, Eina_Bool selected);
1078 EAPI Eina_Bool elm_list_item_selected_get(Elm_List_Item *item);
1079 EAPI void elm_list_item_show(Elm_List_Item *item);
1080 EAPI void elm_list_item_del(Elm_List_Item *item);
1081 EAPI void elm_list_item_del_cb_set(Elm_List_Item *item, Evas_Smart_Cb func);
1082 EAPI void *elm_list_item_data_get(const Elm_List_Item *item);
1083 EAPI Evas_Object *elm_list_item_icon_get(const Elm_List_Item *item);
1084 EAPI void elm_list_item_icon_set(Elm_List_Item *item, Evas_Object *icon);
1085 EAPI Evas_Object *elm_list_item_end_get(const Elm_List_Item *item);
1086 EAPI void elm_list_item_end_set(Elm_List_Item *item, Evas_Object *end);
1087 EAPI Evas_Object *elm_list_item_base_get(const Elm_List_Item *item);
1088 EAPI const char *elm_list_item_label_get(const Elm_List_Item *item);
1089 EAPI void elm_list_item_label_set(Elm_List_Item *item, const char *text);
1090 EAPI Elm_List_Item *elm_list_item_prev(const Elm_List_Item *it);
1091 EAPI Elm_List_Item *elm_list_item_next(const Elm_List_Item *it);
1092 EAPI void elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
1093 EAPI void elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
1094 EAPI void elm_list_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v);
1096 /* smart callbacks called:
1097 * "clicked" - when the user double-clicked an item
1098 * "selected" - when the user selected an item
1099 * "unselected" - when the user selected an item
1100 * "longpressed" - an item in the hoversel list is long-pressed
1103 // FIXME: incomplete - carousel. don't use this until this comment is removed
1104 typedef struct _Elm_Carousel_Item Elm_Carousel_Item;
1105 EAPI Evas_Object *elm_carousel_add(Evas_Object *parent);
1106 EAPI Elm_Carousel_Item *elm_carousel_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, Evas_Smart_Cb func, const void *data);
1107 EAPI void elm_carousel_item_del(Elm_Carousel_Item *item);
1108 EAPI void elm_carousel_item_select(Elm_Carousel_Item *item);
1109 /* smart callbacks called:
1110 * "clicked" - when the user clicks on a carousel item and becomes selected
1113 EAPI Evas_Object *elm_slider_add(Evas_Object *parent);
1114 EAPI void elm_slider_label_set(Evas_Object *obj, const char *label);
1115 EAPI const char *elm_slider_label_get(const Evas_Object *obj);
1116 EAPI void elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon);
1117 EAPI Evas_Object *elm_slider_icon_get(const Evas_Object *obj);
1118 EAPI void elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size);
1119 EAPI Evas_Coord elm_slider_span_size_get(const Evas_Object *obj);
1120 EAPI void elm_slider_unit_format_set(Evas_Object *obj, const char *format);
1121 EAPI const char *elm_slider_unit_format_get(const Evas_Object *obj);
1122 EAPI void elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator);
1123 EAPI const char *elm_slider_indicator_format_get(const Evas_Object *obj);
1124 EAPI void elm_slider_indicator_format_function_set(Evas_Object *obj, const char *(*func)(double val));
1125 EAPI void elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
1126 EAPI Eina_Bool elm_slider_horizontal_get(const Evas_Object *obj);
1127 EAPI void elm_slider_min_max_set(Evas_Object *obj, double min, double max);
1128 EAPI void elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max);
1129 EAPI void elm_slider_value_set(Evas_Object *obj, double val);
1130 EAPI double elm_slider_value_get(const Evas_Object *obj);
1131 EAPI void elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted);
1132 EAPI Eina_Bool elm_slider_inverted_get(const Evas_Object *obj);
1134 // added for supporting aqua feature
1135 EAPI Eina_Bool elm_slider_end_icon_set(Evas_Object *obj, Evas_Object *icon);
1136 EAPI Evas_Object *elm_slider_end_icon_get(Evas_Object *obj);
1137 EAPI void elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show);
1138 EAPI void elm_slider_value_animated_set(Evas_Object *obj, double val);
1139 EAPI void elm_slider_end_label_set(Evas_Object *obj, const char *label);
1140 EAPI const char *elm_slider_end_label_get(const Evas_Object *obj);
1142 typedef enum _Elm_Genlist_Item_Flags
1144 ELM_GENLIST_ITEM_NONE = 0,
1145 ELM_GENLIST_ITEM_SUBITEMS = (1 << 0)
1146 } Elm_Genlist_Item_Flags;
1147 typedef enum _Elm_Genlist_Edit_Mode
1149 ELM_GENLIST_EDIT_MODE_NONE = 0,
1150 ELM_GENLIST_EDIT_MODE_REORDER = (1 << 0),
1151 ELM_GENLIST_EDIT_MODE_INSERT = (1 << 1),
1152 ELM_GENLIST_EDIT_MODE_DELETE = (1 << 2)
1153 }Elm_Genlist_Edit_Mode;
1154 typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class;
1155 typedef struct _Elm_Genlist_Item Elm_Genlist_Item;
1156 typedef struct _Elm_Genlist_GroupItem Elm_Genlist_GroupItem;
1157 typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func;
1158 typedef struct _Elm_Genlist_Edit_Class Elm_Genlist_Edit_Class;
1159 typedef char *(*GenlistItemLabelGetFunc) (const void *data, Evas_Object *obj, const char *part);
1160 typedef Evas_Object *(*GenlistItemIconGetFunc) (const void *data, Evas_Object *obj, const char *part);
1161 typedef Eina_Bool (*GenlistItemStateGetFunc) (const void *data, Evas_Object *obj, const char *part);
1162 typedef void (*GenlistItemDelFunc) (const void *data, Evas_Object *obj);
1163 typedef int (*GenlistItemEditModeGetFunc) (const void *data, Evas_Object *obj, const int enabled_edit_modes);
1164 typedef void (*GenlistInsertNewFunc) (Evas_Object *genlist, Elm_Genlist_Item *rel_item);
1165 typedef Eina_Bool (*GenlistMoveFunc) ( Evas_Object *genlist, Elm_Genlist_Item *item, Elm_Genlist_Item *rel_item, Eina_Bool move_after);
1166 typedef Eina_Bool (*GenlistRemoveItemFunc) (Evas_Object *genlist, Elm_Genlist_Item *rel_item);
1168 struct _Elm_Genlist_Item_Class
1170 const char *item_style;
1171 struct _Elm_Genlist_Item_Class_Func
1173 GenlistItemLabelGetFunc label_get;
1174 GenlistItemIconGetFunc icon_get;
1175 GenlistItemStateGetFunc state_get;
1176 GenlistItemDelFunc del;
1177 GenlistItemEditModeGetFunc editmode_get;
1181 struct _Elm_Genlist_Edit_Class
1183 GenlistRemoveItemFunc remove;
1184 GenlistInsertNewFunc insert_new;
1185 GenlistMoveFunc move;
1187 EAPI Evas_Object *elm_genlist_add(Evas_Object *parent);
1188 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, void (*func) (void *data, Evas_Object *obj, void *event_info), const void *func_data);
1189 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);
1190 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, void (*func) (void *data, Evas_Object *obj, void *event_info), const void *func_data);
1191 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, void (*func) (void *data, Evas_Object *obj, void *event_info), const void *func_data);
1192 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, void (*func) (void *data, Evas_Object *obj, void *event_info), const void *func_data);
1193 EAPI void elm_genlist_item_move_after(Elm_Genlist_Item *it, Elm_Genlist_Item *after );
1194 EAPI void elm_genlist_clear(Evas_Object *obj);
1195 EAPI Elm_Genlist_GroupItem *elm_genlist_groupitem_add(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data);
1196 EAPI void elm_genlist_groupitem_del( Elm_Genlist_GroupItem *git);
1197 EAPI void elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi);
1199 EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj);
1200 EAPI const Eina_List *elm_genlist_selected_items_get(const Evas_Object *obj);
1201 EAPI Eina_List *elm_genlist_realized_items_get(const Evas_Object *obj);
1202 EAPI Elm_Genlist_Item *elm_genlist_at_xy_item_get(const Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *posret);
1203 EAPI Elm_Genlist_Item *elm_genlist_first_item_get(const Evas_Object *obj);
1204 EAPI Elm_Genlist_Item *elm_genlist_last_item_get(const Evas_Object *obj);
1205 /* available item styles:
1207 * default_style - The text part is a textblock
1209 * icon_top_text_bottom
1212 /* Genlist Item operation */
1213 EAPI Elm_Genlist_Item *elm_genlist_item_next_get(const Elm_Genlist_Item *item);
1214 EAPI Elm_Genlist_Item *elm_genlist_item_prev_get(const Elm_Genlist_Item *item);
1215 EAPI Evas_Object *elm_genlist_item_genlist_get(const Elm_Genlist_Item *item);
1216 EAPI Elm_Genlist_Item *elm_genlist_item_parent_get(const Elm_Genlist_Item *it);
1217 EAPI void elm_genlist_item_subitems_clear(Elm_Genlist_Item *item);
1218 EAPI void elm_genlist_item_selected_set(Elm_Genlist_Item *item, Eina_Bool selected);
1219 EAPI Eina_Bool elm_genlist_item_selected_get(const Elm_Genlist_Item *item);
1220 EAPI void elm_genlist_item_expanded_set(Elm_Genlist_Item *item, Eina_Bool expanded);
1221 EAPI Eina_Bool elm_genlist_item_expanded_get(const Elm_Genlist_Item *item);
1222 EAPI void elm_genlist_item_disabled_set(Elm_Genlist_Item *item, Eina_Bool disabled);
1223 EAPI Eina_Bool elm_genlist_item_disabled_get(const Elm_Genlist_Item *item);
1224 EAPI void elm_genlist_item_display_only_set(Elm_Genlist_Item *it, Eina_Bool display_only);
1225 EAPI Eina_Bool elm_genlist_item_display_only_get(const Elm_Genlist_Item *it);
1227 EAPI void elm_genlist_item_show(Elm_Genlist_Item *item);
1228 EAPI void elm_genlist_item_bring_in(Elm_Genlist_Item *item);
1229 EAPI void elm_genlist_item_top_show(Elm_Genlist_Item *item);
1230 EAPI void elm_genlist_item_top_bring_in(Elm_Genlist_Item *item);
1231 EAPI void elm_genlist_item_middle_show(Elm_Genlist_Item *it);
1232 EAPI void elm_genlist_item_middle_bring_in(Elm_Genlist_Item *it);
1233 EAPI void elm_genlist_item_del(Elm_Genlist_Item *item);
1234 EAPI const void *elm_genlist_item_data_get(const Elm_Genlist_Item *item);
1235 EAPI void elm_genlist_item_data_set(Elm_Genlist_Item *it, const void *data);
1236 EAPI const Evas_Object *elm_genlist_item_object_get(const Elm_Genlist_Item *it);
1237 EAPI void elm_genlist_item_update(Elm_Genlist_Item *item);
1238 EAPI void elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode);
1239 EAPI void elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
1240 EAPI void elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
1241 EAPI void elm_genlist_compress_mode_set(Evas_Object *obj, Eina_Bool compress);
1242 EAPI void elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
1243 EAPI void elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous);
1244 EAPI void elm_genlist_block_count_set(Evas_Object *obj, int n);
1245 EAPI void elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
1246 EAPI void elm_genlist_set_edit_mode(Evas_Object *obj, int emode, Elm_Genlist_Edit_Class *ec) __attribute__((deprecated));
1247 EAPI void elm_genlist_edit_mode_set(Evas_Object *obj, int emode, Elm_Genlist_Edit_Class *ec);
1248 EAPI int elm_genlist_item_expanded_depth_get(Elm_Genlist_Item *it);
1249 EAPI void elm_genlist_selected_items_del(Evas_Object *obj);
1251 EAPI Evas_Object *elm_check_add(Evas_Object *parent);
1252 EAPI void elm_check_label_set(Evas_Object *obj, const char *label);
1253 EAPI const char *elm_check_label_get(const Evas_Object *obj);
1254 EAPI void elm_check_icon_set(Evas_Object *obj, Evas_Object *icon);
1255 EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj);
1256 EAPI void elm_check_state_set(Evas_Object *obj, Eina_Bool state);
1257 EAPI Eina_Bool elm_check_state_get(const Evas_Object *obj);
1258 EAPI void elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep);
1260 EAPI Evas_Object *elm_radio_add(Evas_Object *parent);
1261 EAPI void elm_radio_label_set(Evas_Object *obj, const char *label);
1262 EAPI const char *elm_radio_label_get(const Evas_Object *obj);
1263 EAPI void elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon);
1264 EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj);
1265 EAPI void elm_radio_group_add(Evas_Object *obj, Evas_Object *group);
1266 EAPI void elm_radio_state_value_set(Evas_Object *obj, int value);
1267 EAPI void elm_radio_value_set(Evas_Object *obj, int value);
1268 EAPI int elm_radio_value_get(const Evas_Object *obj);
1269 EAPI void elm_radio_value_pointer_set(Evas_Object *obj, int *valuep);
1271 typedef struct _Elm_Segment_Item Elm_Segment_Item;
1272 EAPI Evas_Object *elm_segment_control_add(Evas_Object *parent);
1273 EAPI Elm_Segment_Item * elm_segment_control_add_segment(Evas_Object *obj, Evas_Object *icon, const char *label, Eina_Bool animate);
1274 EAPI void elm_segment_control_insert_segment_at(Evas_Object *obj, Evas_Object *icon, const char *label, unsigned int index, Eina_Bool animate);
1275 EAPI Evas_Object *elm_segment_control_get_segment_at(Evas_Object *obj, unsigned int index);
1276 EAPI void elm_segment_control_delete_segment(Evas_Object *obj, Elm_Segment_Item *item, Eina_Bool animate);
1277 EAPI void elm_segment_control_delete_segment_at(Evas_Object *obj, unsigned int index, Eina_Bool animate);
1278 EAPI const char *elm_segment_control_get_segment_label_at(Evas_Object *obj, unsigned int index);
1279 EAPI Evas_Object *elm_segment_control_get_segment_icon_at(Evas_Object *obj, unsigned int index);
1280 EAPI Elm_Segment_Item *elm_segment_control_selected_segment_get(const Evas_Object *obj, int *value);
1281 EAPI int elm_segment_control_get_segment_count(Evas_Object *obj);
1283 EAPI Evas_Object *elm_page_control_add(Evas_Object *parent);
1284 EAPI void elm_page_control_page_count_set(Evas_Object *obj, unsigned int page_count);
1285 EAPI void elm_page_control_page_id_set(Evas_Object *obj, unsigned int page_id);
1286 EAPI unsigned int elm_page_control_page_id_get(Evas_Object *obj);
1287 EAPI Evas_Object *elm_pager_add(Evas_Object *parent);
1288 EAPI void elm_pager_content_push(Evas_Object *obj, Evas_Object *content);
1289 EAPI void elm_pager_content_pop(Evas_Object *obj);
1290 EAPI void elm_pager_to_content_pop(Evas_Object *obj, Evas_Object *content);
1291 EAPI void elm_pager_content_promote(Evas_Object *obj, Evas_Object *content);
1292 EAPI Evas_Object *elm_pager_content_bottom_get(const Evas_Object *obj);
1293 EAPI Evas_Object *elm_pager_content_top_get(const Evas_Object *obj);
1295 /* available item styles:
1301 typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class;
1302 typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func;
1303 typedef struct _Elm_Slideshow_Item Elm_Slideshow_Item;
1304 typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj);
1305 typedef void (*SlideshowItemDelFunc) (void *data, Evas_Object *obj);
1307 struct _Elm_Slideshow_Item_Class
1309 struct _Elm_Slideshow_Item_Class_Func {
1310 SlideshowItemGetFunc get;
1311 SlideshowItemDelFunc del;
1315 EAPI Evas_Object *elm_slideshow_add(Evas_Object *parent);
1316 EAPI Elm_Slideshow_Item* elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data);
1317 EAPI void elm_slideshow_show(Elm_Slideshow_Item *item);
1318 EAPI void elm_slideshow_next(Evas_Object *obj);
1319 EAPI void elm_slideshow_previous(Evas_Object *obj);
1320 EAPI const Eina_List *elm_slideshow_transitions_get(const Evas_Object *obj);
1321 EAPI void elm_slideshow_transition_set(Evas_Object *obj, const char *);
1322 EAPI const char *elm_slideshow_transition_get(const Evas_Object *obj);
1323 EAPI void elm_slideshow_timeout_set(Evas_Object *obj ,int timeout);
1324 EAPI int elm_slideshow_timeout_get(const Evas_Object *obj);
1325 EAPI void elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop);
1326 EAPI Eina_Bool elm_slideshow_loop_get(const Evas_Object *obj);
1327 EAPI void elm_slideshow_clear(Evas_Object *obj);
1328 EAPI const Eina_List *elm_slideshow_items_get(const Evas_Object *obj);
1329 EAPI void elm_slideshow_item_del(Elm_Slideshow_Item *item);
1330 EAPI void * elm_slideshow_item_data_get(Elm_Slideshow_Item *item);
1331 EAPI Elm_Slideshow_Item* elm_slideshow_item_current_get(const Evas_Object *obj);
1332 EAPI Evas_Object* elm_slideshow_item_object_get(Elm_Slideshow_Item* item);
1335 EAPI Evas_Object *elm_fileselector_add(Evas_Object *parent);
1336 EAPI void elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save);
1337 EAPI Eina_Bool elm_fileselector_is_save_get(const Evas_Object *obj);
1338 EAPI void elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only);
1339 EAPI Eina_Bool elm_fileselector_folder_only_get(const Evas_Object *obj);
1340 EAPI void elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons);
1341 EAPI Eina_Bool elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj);
1342 EAPI Eina_Bool elm_fileselector_expandable_get(const Evas_Object *obj);
1343 EAPI void elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand);
1344 EAPI void elm_fileselector_path_set(Evas_Object *obj, const char *path);
1345 EAPI const char *elm_fileselector_path_get(const Evas_Object *obj);
1346 EAPI const char *elm_fileselector_selected_get(const Evas_Object *obj);
1347 EAPI Eina_Bool elm_fileselector_selected_set(Evas_Object *obj, const char *path);
1349 /* smart callbacks called:
1350 * "selected" - the user click on a file
1351 * "directory,open" - the list is populate with a new content. event_info is a directory.
1352 * "done" - the user click on the ok or cancel buttons
1355 EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent);
1356 EAPI void elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse);
1357 EAPI Eina_Bool elm_progressbar_pulse_get(const Evas_Object *obj);
1358 EAPI void elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state);
1359 EAPI void elm_progressbar_value_set(Evas_Object *obj, double val);
1360 EAPI double elm_progressbar_value_get(const Evas_Object *obj);
1361 EAPI void elm_progressbar_label_set(Evas_Object *obj, const char *label);
1362 EAPI const char *elm_progressbar_label_get(const Evas_Object *obj);
1363 EAPI void elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon);
1364 EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj);
1365 EAPI void elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size);
1366 EAPI Evas_Coord elm_progressbar_span_size_get(const Evas_Object *obj);
1367 EAPI void elm_progressbar_unit_format_set(Evas_Object *obj, const char *format);
1368 EAPI const char *elm_progressbar_unit_format_get(const Evas_Object *obj);
1369 EAPI void elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
1370 EAPI Eina_Bool elm_progressbar_horizontal_get(const Evas_Object *obj);
1371 EAPI void elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted);
1372 EAPI Eina_Bool elm_progressbar_inverted_get(const Evas_Object *obj);
1373 /* smart callbacks called:
1375 /* available item styles:
1377 * wheel (simple style, no text, no progression, only pulse is available)
1380 EAPI Evas_Object *elm_separator_add(Evas_Object *parent);
1381 EAPI void elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
1382 EAPI Eina_Bool elm_separator_horizontal_get(const Evas_Object *obj);
1383 /* smart callbacks called:
1386 EAPI Evas_Object *elm_spinner_add(Evas_Object *parent);
1387 EAPI void elm_spinner_label_format_set(Evas_Object *obj, const char *fmt);
1388 EAPI const char *elm_spinner_label_format_get(const Evas_Object *obj);
1389 EAPI void elm_spinner_min_max_set(Evas_Object *obj, double min, double max);
1390 EAPI void elm_spinner_min_max_get(const Evas_Object *obj, double *min, double *max);
1391 EAPI void elm_spinner_step_set(Evas_Object *obj, double step);
1392 EAPI double elm_spinner_step_get(const Evas_Object *obj);
1393 EAPI void elm_spinner_value_set(Evas_Object *obj, double val);
1394 EAPI double elm_spinner_value_get(const Evas_Object *obj);
1395 EAPI void elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap);
1396 EAPI Eina_Bool elm_spinner_wrap_get(const Evas_Object *obj);
1397 EAPI void elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable);
1398 EAPI Eina_Bool elm_spinner_editable_get(const Evas_Object *obj);
1399 EAPI void elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label);
1400 /* smart callbacks called:
1401 * "changed" - when the spinner value changes
1402 * "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).
1404 /* available item styles:
1406 * vertical (two up/down buttons at the right side and text left aligned)
1409 typedef struct _Elm_Index_Item Elm_Index_Item;
1410 EAPI Evas_Object *elm_index_add(Evas_Object *parent);
1411 EAPI void elm_index_active_set(Evas_Object *obj, Eina_Bool active);
1412 EAPI void elm_index_item_level_set(Evas_Object *obj, int level);
1413 EAPI int elm_index_item_level_get(const Evas_Object *obj);
1414 EAPI const void *elm_index_item_selected_get(const Evas_Object *obj, int level);
1415 EAPI void elm_index_item_append(Evas_Object *obj, const char *letter, const void *item);
1416 EAPI void elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *item);
1417 EAPI void elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative);
1418 EAPI void elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative);
1419 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);
1420 EAPI void elm_index_item_del(Evas_Object *obj, const void *item);
1421 EAPI Elm_Index_Item *elm_index_item_find(Evas_Object *obj, const void *item);
1422 EAPI void elm_index_item_clear(Evas_Object *obj);
1423 EAPI void elm_index_item_go(Evas_Object *obj, int level);
1424 EAPI void *elm_index_item_data_get(const Elm_Index_Item *item);
1425 EAPI void elm_index_item_data_set(Elm_Index_Item *it, const void *data);
1426 EAPI const char *elm_index_item_letter_get(const Elm_Index_Item *item);
1427 /* smart callbacks called:
1428 * "changed" - when the selected index item changes
1429 * "delay,changed" - when the selected index item changes, but after some small idle period
1430 * "selected" - when the user releases heir finger and selects an item
1433 typedef enum _Elm_Photocam_Zoom_Mode
1435 ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0,
1436 ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT,
1437 ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL,
1438 ELM_PHOTOCAM_ZOOM_MODE_LAST
1439 } Elm_Photocam_Zoom_Mode;
1440 EAPI Evas_Object *elm_photocam_add(Evas_Object *parent);
1441 EAPI int elm_photocam_file_set(Evas_Object *obj, const char *file);
1442 EAPI const char * elm_photocam_file_get(const Evas_Object *obj);
1443 EAPI void elm_photocam_zoom_set(Evas_Object *obj, double zoom);
1444 EAPI double elm_photocam_zoom_get(const Evas_Object *obj);
1445 EAPI void elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode);
1446 EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj);
1447 EAPI void elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h);
1448 EAPI void elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h);
1449 EAPI void elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h);
1450 EAPI void elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h);
1451 EAPI void elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused);
1452 EAPI Eina_Bool elm_photocam_paused_get(const Evas_Object *obj);
1453 EAPI Evas_Object *elm_photocam_internal_image_get(const Evas_Object *obj);
1455 /* smart callbacks called:
1456 * "clicked" - when image clicked
1457 * "press" - when mouse/finger held down initially on image
1458 * "longpressed" - when mouse/finger held for long time on image
1459 * "clicked,double" - when mouse/finger double-clicked
1460 * "load" - when photo load begins
1461 * "loaded" - when photo load done
1462 * "load,details" - when detailed image load begins
1463 * "loaded,details" - when detailed image load done
1464 * "zoom,start" - when zooming started
1465 * "zoom,stop" - when zooming stopped
1466 * "zoom,change" - when auto zoom mode changed zoom level
1467 * "scroll - the content has been scrolled (moved)
1468 * "scroll,anim,start" - scrolling animation has started
1469 * "scroll,anim,stop" - scrolling animation has stopped
1470 * "scroll,drag,start" - dragging the contents around has started
1471 * "scroll,drag,stop" - dragging the contents around has stopped
1474 typedef enum _Elm_Map_Zoom_Mode
1476 ELM_MAP_ZOOM_MODE_MANUAL,
1477 ELM_MAP_ZOOM_MODE_AUTO_FIT,
1478 ELM_MAP_ZOOM_MODE_AUTO_FILL,
1479 ELM_MAP_ZOOM_MODE_LAST
1480 } Elm_Map_Zoom_Mode;
1482 typedef enum _Elm_Map_Sources
1484 ELM_MAP_SOURCE_MAPNIK,
1485 ELM_MAP_SOURCE_OSMARENDER,
1486 ELM_MAP_SOURCE_CYCLEMAP,
1487 ELM_MAP_SOURCE_MAPLINT,
1488 ELM_MAP_SOURCE_CUSTOM_1,
1489 ELM_MAP_SOURCE_CUSTOM_2,
1490 ELM_MAP_SOURCE_CUSTOM_3,
1491 ELM_MAP_SOURCE_CUSTOM_4,
1492 ELM_MAP_SOURCE_CUSTOM_5,
1493 ELM_MAP_SOURCE_CUSTOM_6,
1494 ELM_MAP_SOURCE_CUSTOM_7,
1498 typedef struct _Elm_Map_Marker Elm_Map_Marker;
1499 typedef struct _Elm_Map_Marker_Class Elm_Map_Marker_Class;
1500 typedef struct _Elm_Map_Group_Class Elm_Map_Group_Class;
1501 typedef Evas_Object *(*ElmMapMarkerGetFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data);
1502 typedef void (*ElmMapMarkerDelFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o);
1503 typedef Evas_Object *(*ElmMapMarkerIconGetFunc) (Evas_Object *obj, Elm_Map_Marker *marker, void *data);
1504 typedef Evas_Object *(*ElmMapGroupIconGetFunc) (Evas_Object *obj, void *data);
1505 typedef char *(*ElmMapSourceURLFunc) (int x, int y, int zoom);
1507 EAPI Evas_Object *elm_map_add(Evas_Object *parent);
1508 EAPI void elm_map_zoom_set(Evas_Object *obj, int zoom);
1509 EAPI double elm_map_zoom_get(const Evas_Object *obj);
1510 EAPI void elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode);
1511 EAPI Elm_Map_Zoom_Mode elm_map_zoom_mode_get(const Evas_Object *obj);
1512 EAPI void elm_map_geo_region_get(const Evas_Object *obj, double *lon, double *lat);
1513 EAPI void elm_map_geo_region_bring_in(Evas_Object *obj, double lon, double lat);
1514 EAPI void elm_map_geo_region_show(Evas_Object *obj, double lon, double lat);
1515 EAPI void elm_map_paused_set(Evas_Object *obj, Eina_Bool paused);
1516 EAPI Eina_Bool elm_map_paused_get(const Evas_Object *obj);
1517 EAPI void elm_map_paused_markers_set(Evas_Object *obj, Eina_Bool paused);
1518 EAPI Eina_Bool elm_map_paused_markers_get(const Evas_Object *obj);
1519 EAPI void elm_map_utils_convert_coord_into_geo(int x, int y, int size, double *lon, double *lat);
1520 EAPI void elm_map_utils_convert_geo_into_coord(double lon, double lat, int size, int *x, int *y);
1521 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);
1522 EAPI void elm_map_max_marker_per_group_set(Evas_Object *obj, int max);
1523 EAPI void elm_map_marker_remove(Elm_Map_Marker *marker);
1524 EAPI void elm_map_marker_bring_in(Elm_Map_Marker *marker);
1525 EAPI void elm_map_marker_show(Elm_Map_Marker *marker);
1526 EAPI void elm_map_markers_list_show(Eina_List *markers);
1527 EAPI Evas_Object *elm_map_marker_object_get(Elm_Map_Marker *marker);
1528 EAPI void elm_map_marker_update(Elm_Map_Marker *marker);
1529 EAPI void elm_map_bubbles_close(Evas_Object *obj);
1531 EAPI Elm_Map_Group_Class * elm_map_group_class_new(Evas_Object *obj);
1532 EAPI void elm_map_group_class_style_set(Elm_Map_Group_Class *clas, const char *style);
1533 EAPI void elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, ElmMapGroupIconGetFunc icon_get);
1534 EAPI void elm_map_group_class_data_set(Elm_Map_Group_Class *clas, void *data);
1535 EAPI void elm_map_group_class_zoom_displayed_set(Elm_Map_Group_Class *clas, int zoom);
1536 EAPI void elm_map_group_class_zoom_grouped_set(Elm_Map_Group_Class *clas, int zoom);
1537 EAPI void elm_map_group_class_hide_set(Evas_Object *obj, Elm_Map_Group_Class *clas, Eina_Bool hide);
1539 EAPI Elm_Map_Marker_Class * elm_map_marker_class_new(Evas_Object *obj);
1540 EAPI void elm_map_marker_class_style_set(Elm_Map_Marker_Class *clas, const char *style);
1541 EAPI void elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerIconGetFunc icon_get);
1542 EAPI void elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerGetFunc get);
1543 EAPI void elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerDelFunc del);
1545 EAPI void elm_map_source_set(Evas_Object *obj, Elm_Map_Sources source);
1546 EAPI Elm_Map_Sources elm_map_source_get(const Evas_Object *obj);
1547 EAPI void elm_map_source_custom_api_set(Elm_Map_Sources source, const char *label,
1548 int zoom_min, int zoom_max, ElmMapSourceURLFunc url_cb);
1549 EAPI int elm_map_source_zoom_min_get(Elm_Map_Sources source);
1550 EAPI int elm_map_source_zoom_max_get(Elm_Map_Sources source);
1551 EAPI const char * elm_map_source_name_get(Elm_Map_Sources source);
1552 /* smart callbacks called:
1553 * "clicked" - when image clicked
1554 * "press" - when mouse/finger held down initially on image
1555 * "longpressed" - when mouse/finger held for long time on image
1556 * "clicked,double" - when mouse/finger double-clicked
1557 * "load,details" - when detailed image load begins
1558 * "loaded,details" - when detailed image load done
1559 * "zoom,start" - when zooming started
1560 * "zoom,stop" - when zooming stopped
1561 * "zoom,change" - when auto zoom mode changed zoom level
1562 * "scroll - the content has been scrolled (moved)
1563 * "scroll,anim,start" - scrolling animation has started
1564 * "scroll,anim,stop" - scrolling animation has stopped
1565 * "scroll,drag,start" - dragging the contents around has started
1566 * "scroll,drag,stop" - dragging the contents around has stopped
1569 typedef enum _Elm_Panel_Orient
1571 ELM_PANEL_ORIENT_TOP,
1572 ELM_PANEL_ORIENT_BOTTOM,
1573 ELM_PANEL_ORIENT_LEFT,
1574 ELM_PANEL_ORIENT_RIGHT,
1576 EAPI Evas_Object *elm_panel_add(Evas_Object *parent);
1577 EAPI void elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient);
1578 EAPI Elm_Panel_Orient elm_panel_orient_get(Evas_Object *obj);
1579 EAPI void elm_panel_content_set(Evas_Object *obj, Evas_Object *content);
1580 EAPI void elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden);
1581 EAPI Eina_Bool elm_panel_hidden_get(Evas_Object *obj);
1582 EAPI void elm_panel_toggle(Evas_Object *obj);
1584 typedef enum _Elm_Flip_Mode
1586 ELM_FLIP_ROTATE_Y_CENTER_AXIS,
1587 ELM_FLIP_ROTATE_X_CENTER_AXIS,
1588 ELM_FLIP_ROTATE_XZ_CENTER_AXIS,
1589 ELM_FLIP_ROTATE_YZ_CENTER_AXIS
1592 EAPI Evas_Object *elm_flip_add(Evas_Object *parent);
1593 EAPI void elm_flip_content_front_set(Evas_Object *obj, Evas_Object *content);
1594 EAPI void elm_flip_content_back_set(Evas_Object *obj, Evas_Object *content);
1595 EAPI Evas_Object *elm_flip_content_front_get(const Evas_Object *obj);
1596 EAPI Evas_Object *elm_flip_content_back_get(const Evas_Object *obj);
1597 EAPI Eina_Bool elm_flip_front_get(const Evas_Object *obj);
1598 EAPI void elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y);
1599 EAPI void elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode);
1600 /* smart callbacks called:
1601 * "animate,done" - when a flip animation is finished
1604 EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent);
1605 EAPI void elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
1606 EAPI Eina_Bool elm_scrolled_entry_single_line_get(const Evas_Object *obj);
1607 EAPI void elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password);
1608 EAPI Eina_Bool elm_scrolled_entry_password_get(const Evas_Object *obj);
1609 EAPI void elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry);
1610 EAPI const char *elm_scrolled_entry_entry_get(const Evas_Object *obj);
1611 EAPI const char *elm_scrolled_entry_selection_get(const Evas_Object *obj);
1612 EAPI void elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry);
1613 EAPI void elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Eina_Bool wrap);
1614 EAPI void elm_scrolled_entry_line_char_wrap_set(Evas_Object *obj, Eina_Bool wrap);
1615 EAPI void elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable);
1616 EAPI Eina_Bool elm_scrolled_entry_editable_get(const Evas_Object *obj);
1617 EAPI void elm_scrolled_entry_select_none(Evas_Object *obj);
1618 EAPI void elm_scrolled_entry_select_all(Evas_Object *obj);
1619 EAPI Eina_Bool elm_scrolled_entry_cursor_next(Evas_Object *obj);
1620 EAPI Eina_Bool elm_scrolled_entry_cursor_prev(Evas_Object *obj);
1621 EAPI Eina_Bool elm_scrolled_entry_cursor_up(Evas_Object *obj);
1622 EAPI Eina_Bool elm_scrolled_entry_cursor_down(Evas_Object *obj);
1623 EAPI void elm_scrolled_entry_cursor_begin_set(Evas_Object *obj);
1624 EAPI void elm_scrolled_entry_cursor_end_set(Evas_Object *obj);
1625 EAPI void elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj);
1626 EAPI void elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj);
1627 EAPI void elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj);
1628 EAPI void elm_scrolled_entry_cursor_selection_end(Evas_Object *obj);
1629 EAPI Eina_Bool elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj);
1630 EAPI Eina_Bool elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj);
1631 EAPI const char *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj);
1632 EAPI void elm_scrolled_entry_selection_cut(Evas_Object *obj);
1633 EAPI void elm_scrolled_entry_selection_copy(Evas_Object *obj);
1634 EAPI void elm_scrolled_entry_selection_paste(Evas_Object *obj);
1635 EAPI void elm_scrolled_entry_context_menu_clear(Evas_Object *obj);
1636 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);
1637 EAPI void elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled);
1638 EAPI Eina_Bool elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj);
1639 EAPI void elm_scrolled_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
1640 EAPI void elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
1641 EAPI void elm_scrolled_entry_maximum_bytes_set(Evas_Object *obj, int max_no_of_bytes);
1642 EAPI void elm_scrolled_entry_password_show_last_character_set(Evas_Object *obj, Eina_Bool show_last_character);
1644 EAPI void elm_scrolled_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled);
1645 EAPI void elm_scrolled_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout);
1646 EAPI Ecore_IMF_Context *elm_scrolled_entry_imf_context_get(Evas_Object *obj);
1648 EAPI Evas_Object *elm_conformant_add(Evas_Object *parent);
1649 EAPI void elm_conformant_content_set(Evas_Object *obj, Evas_Object *content);
1651 EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent);
1652 EAPI void elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content);
1653 EAPI void elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled);
1654 EAPI Eina_Bool elm_mapbuf_enabled_get(const Evas_Object *obj);
1655 EAPI void elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth);
1656 EAPI Eina_Bool elm_mapbuf_smooth_get(const Evas_Object *obj);
1657 EAPI void elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha);
1658 EAPI Eina_Bool elm_mapbuf_alpha_get(const Evas_Object *obj);
1660 typedef struct _Picker_Item Elm_Picker_Item;
1661 EAPI Evas_Object *elm_picker_add(Evas_Object *parent);
1662 EAPI void elm_picker_next(Evas_Object *obj);
1663 EAPI void elm_picker_prev(Evas_Object *obj);
1664 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);
1665 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);
1666 EAPI const Eina_List *elm_picker_items_get(Evas_Object *obj);
1667 EAPI Elm_Picker_Item *elm_picker_first_item_get(Evas_Object *obj);
1668 EAPI Elm_Picker_Item *elm_picker_last_item_get(Evas_Object *obj);
1669 EAPI Elm_Picker_Item *elm_picker_selected_item_get(Evas_Object *obj);
1670 EAPI void elm_picker_item_selected_set(Elm_Picker_Item *item);
1671 EAPI void elm_picker_item_del(Elm_Picker_Item *item);
1672 EAPI const char *elm_picker_item_label_get(Elm_Picker_Item *item);
1673 EAPI void elm_picker_item_label_set(Elm_Picker_Item *item, const char *label);
1674 EAPI Elm_Picker_Item *elm_picker_item_prev(Elm_Picker_Item *item);
1675 EAPI Elm_Picker_Item *elm_picker_item_next(Elm_Picker_Item *item);
1676 /* smart callback called:
1677 * "changed" - when picker selected item is changed
1678 * "overflowed" - when picker item is changed to first item from last item
1679 * "underflowed" - when picker item is changed to last item from first item.
1681 /* available styles:
1687 typedef struct _Discpicker_Item Elm_Discpicker_Item;
1688 EAPI Evas_Object *elm_discpicker_add(Evas_Object *parent);
1689 EAPI void elm_discpicker_row_height_set(Evas_Object *obj, unsigned int row_height);
1690 EAPI void elm_discpicker_next(Evas_Object *obj);
1691 EAPI void elm_discpicker_prev(Evas_Object *obj);
1692 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);
1693 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);
1694 EAPI const Eina_List *elm_discpicker_items_get(Evas_Object *obj);
1695 EAPI Elm_Discpicker_Item *elm_discpicker_first_item_get(Evas_Object *obj);
1696 EAPI Elm_Discpicker_Item *elm_discpicker_last_item_get(Evas_Object *obj);
1697 EAPI Elm_Discpicker_Item *elm_discpicker_selected_item_get(Evas_Object *obj);
1698 EAPI void elm_discpicker_item_selected_set(Elm_Discpicker_Item *item);
1699 EAPI void elm_discpicker_item_del(Elm_Discpicker_Item *item);
1700 EAPI const char *elm_discpicker_item_label_get(Elm_Discpicker_Item *item);
1701 EAPI void elm_discpicker_item_label_set(Elm_Discpicker_Item *item, const char *label);
1702 EAPI Elm_Discpicker_Item *elm_discpicker_item_prev(Elm_Discpicker_Item *item);
1703 EAPI Elm_Discpicker_Item *elm_discpicker_item_next(Elm_Discpicker_Item *item);
1704 EAPI void *elm_discpicker_item_data_get(Elm_Discpicker_Item *item);
1705 EAPI void elm_discpicker_item_data_set(Elm_Discpicker_Item *item, void *data);
1706 EAPI Eina_Bool elm_discpicker_item_disabled_get(Elm_Discpicker_Item *item);
1707 EAPI void elm_discpicker_item_disabled_set(Elm_Discpicker_Item *item, Eina_Bool disabled);
1708 /* smart callback called:
1709 * "selected" - when discpicker selected item is changed
1710 * "overflowed" - when discpicker item is changed to first item from last item
1711 * "underflowed" - when discpicker item is changed to last item from first item.
1713 /* available styles:
1717 typedef struct _Buttonpicker_Item Elm_Buttonpicker_Item;
1718 EAPI Evas_Object *elm_buttonpicker_add(Evas_Object *parent);
1719 EAPI void elm_buttonpicker_next(Evas_Object *obj);
1720 EAPI void elm_buttonpicker_prev(Evas_Object *obj);
1721 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);
1722 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);
1723 EAPI const Eina_List *elm_buttonpicker_items_get(Evas_Object *obj);
1724 EAPI Elm_Buttonpicker_Item *elm_buttonpicker_first_item_get(Evas_Object *obj);
1725 EAPI Elm_Buttonpicker_Item *elm_buttonpicker_last_item_get(Evas_Object *obj);
1726 EAPI Elm_Buttonpicker_Item *elm_buttonpicker_selected_item_get(Evas_Object *obj);
1727 EAPI void elm_buttonpicker_item_selected_set(Elm_Buttonpicker_Item *item);
1728 EAPI void elm_buttonpicker_item_del(Elm_Buttonpicker_Item *item);
1729 EAPI const char *elm_buttonpicker_item_label_get(Elm_Buttonpicker_Item *item);
1730 EAPI void elm_buttonpicker_item_label_set(Elm_Buttonpicker_Item *item, const char *label);
1731 EAPI Elm_Buttonpicker_Item *elm_buttonpicker_item_prev(Elm_Buttonpicker_Item *item);
1732 EAPI Elm_Buttonpicker_Item *elm_buttonpicker_item_next(Elm_Buttonpicker_Item *item);
1733 /* smart callback called:
1734 * "changed" - when buttonpicker selected item is changed
1735 * "overflowed" - when buttonpicker item is changed to first item from last item
1736 * "underflowed" - when buttonpicker item is changed to last item from first item.
1738 /* available styles:
1742 EAPI Evas_Object *elm_timepicker_add(Evas_Object *parent);
1743 EAPI void elm_timepicker_time_set(Evas_Object *obj, int hrs, int min, int sec);
1744 EAPI void elm_timepicker_time_get(Evas_Object *obj, int *hrs, int *min, int *sec);
1745 EAPI void elm_timepicker_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm);
1746 EAPI void elm_timepicker_show_seconds_set(Evas_Object *obj, Eina_Bool seconds);
1747 /* smart callback called:
1748 * "changed" - when timepicker selected item is changed
1750 /* available styles:
1754 EAPI Evas_Object *elm_timepicker3_add(Evas_Object *parent);
1755 EAPI void elm_timepicker3_time_set(Evas_Object *obj, int hrs, int min, int sec);
1756 EAPI void elm_timepicker3_time_get(Evas_Object *obj, int *hrs, int *min, int *sec);
1757 EAPI void elm_timepicker3_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm);
1758 EAPI void elm_timepicker3_show_seconds_set(Evas_Object *obj, Eina_Bool seconds);
1759 /* smart callback called:
1760 * "changed" - when timepicker3 selected item is changed
1762 /* available styles:
1766 EAPI Evas_Object *elm_datepicker_add(Evas_Object *parent);
1767 EAPI void elm_datepicker_date_set(Evas_Object *obj, int year, int month, int day);
1768 EAPI void elm_datepicker_date_get(Evas_Object *obj, int *year, int *month, int *day);
1769 EAPI void elm_datepicker_date_min_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1770 EAPI void elm_datepicker_date_min_get(Evas_Object *obj, int *year, int *month, int *day);
1771 EAPI void elm_datepicker_date_max_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1772 EAPI void elm_datepicker_date_max_get(Evas_Object *obj, int *year, int *month, int *day);
1773 EAPI void elm_datepicker_date_format_set(Evas_Object *obj, const char *fmt);
1774 EAPI const char *elm_datepicker_date_format_get(Evas_Object *obj);
1775 /* smart callback called:
1776 * "changed" - when datepicker selected item is changed
1778 /* available styles:
1782 EAPI Evas_Object *elm_datepicker2_add(Evas_Object *parent);
1783 EAPI void elm_datepicker2_date_set(Evas_Object *obj, int year, int month, int day);
1784 EAPI void elm_datepicker2_date_get(Evas_Object *obj, int *year, int *month, int *day);
1785 EAPI void elm_datepicker2_date_min_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1786 EAPI void elm_datepicker2_date_min_get(Evas_Object *obj, int *year, int *month, int *day);
1787 EAPI void elm_datepicker2_date_max_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1788 EAPI void elm_datepicker2_date_max_get(Evas_Object *obj, int *year, int *month, int *day);
1789 EAPI void elm_datepicker2_date_format_set(Evas_Object *obj, const char *fmt);
1790 EAPI const char *elm_datepicker2_date_format_get(Evas_Object *obj);
1791 /* smart callback called:
1792 * "changed" - when datepicker selected item is changed
1794 /* available styles:
1798 EAPI Evas_Object *elm_datepicker3_add(Evas_Object *parent);
1799 EAPI void elm_datepicker3_date_set(Evas_Object *obj, int year, int month, int day);
1800 EAPI void elm_datepicker3_date_get(Evas_Object *obj, int *year, int *month, int *day);
1801 EAPI void elm_datepicker3_date_min_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1802 EAPI void elm_datepicker3_date_min_get(Evas_Object *obj, int *year, int *month, int *day);
1803 EAPI void elm_datepicker3_date_max_set(Evas_Object *obj, int year, int month, int day); // Not implemented
1804 EAPI void elm_datepicker3_date_max_get(Evas_Object *obj, int *year, int *month, int *day);
1805 EAPI void elm_datepicker3_date_format_set(Evas_Object *obj, const char *fmt);
1806 EAPI const char *elm_datepicker3_date_format_get(Evas_Object *obj);
1807 /* smart callback called:
1808 * "changed" - when datepicker3 selected item is changed
1810 /* available styles:
1815 typedef enum _Elm_Datefield_Layout
1817 ELM_DATEFIELD_LAYOUT_TIME,
1818 ELM_DATEFIELD_LAYOUT_DATE,
1819 ELM_DATEFIELD_LAYOUT_DATEANDTIME
1820 } Elm_Datefield_Layout;
1822 EAPI Evas_Object *elm_datefield_add(Evas_Object *parent);
1823 EAPI void elm_datefield_layout_set(Evas_Object *obj, Elm_Datefield_Layout layout);
1824 EAPI void elm_datefield_date_set(Evas_Object *obj, int year, int month, int day, int hour, int min);
1825 EAPI void elm_datefield_date_get(Evas_Object *obj, int *year, int *month, int *day, int *hour, int *min);
1826 EAPI void elm_datefield_time_mode_set(Evas_Object *obj, Eina_Bool mode);
1829 EAPI Evas_Object *elm_calendar_add(Evas_Object *parent);
1830 EAPI void elm_calendar_return_callback_set(Evas_Object* obj, void* return_cb, void* cb_data);
1831 EAPI void elm_calendar_show(Evas_Object *obj);
1832 EAPI void elm_calendar_hide(Evas_Object *obj);
1836 EAPI Evas_Object *elm_titlebar_add(Evas_Object *parent);
1837 EAPI void elm_titlebar_label_set(Evas_Object *obj, const char *label);
1838 EAPI const char *elm_titlebar_label_get(Evas_Object *obj);
1839 EAPI void elm_titlebar_icon_set(Evas_Object *obj, Evas_Object *icon);
1840 EAPI Evas_Object *elm_titlebar_icon_get(Evas_Object *obj);
1841 EAPI void elm_titlebar_end_set(Evas_Object *obj, Evas_Object *end);
1842 EAPI Evas_Object *elm_titlebar_end_get(Evas_Object *obj);
1845 typedef enum _Elm_Popup_Response
1847 ELM_POPUP_RESPONSE_NONE = -1,
1848 ELM_POPUP_RESPONSE_TIMEOUT = -2,
1849 ELM_POPUP_RESPONSE_OK = -3,
1850 ELM_POPUP_RESPONSE_CANCEL = -4,
1851 ELM_POPUP_RESPONSE_CLOSE = -5
1852 } Elm_Popup_Response;
1854 typedef enum _Elm_Popup_Mode
1856 ELM_POPUP_TYPE_NONE = 0,
1857 ELM_POPUP_TYPE_ALERT = (1 << 0)
1860 typedef enum _Elm_Popup_Orient
1862 ELM_POPUP_ORIENT_TOP,
1863 ELM_POPUP_ORIENT_CENTER,
1864 ELM_POPUP_ORIENT_BOTTOM,
1865 ELM_POPUP_ORIENT_LEFT,
1866 ELM_POPUP_ORIENT_RIGHT,
1867 ELM_POPUP_ORIENT_TOP_LEFT,
1868 ELM_POPUP_ORIENT_TOP_RIGHT,
1869 ELM_POPUP_ORIENT_BOTTOM_LEFT,
1870 ELM_POPUP_ORIENT_BOTTOM_RIGHT
1873 /* smart callbacks called:
1874 * "response" - when ever popup is closed, this signal is sent with appropriate response id.".
1877 EAPI Evas_Object *elm_popup_add(Evas_Object *parent);
1878 EAPI void elm_popup_desc_set(Evas_Object *obj, const char *text);
1879 EAPI const char *elm_popup_desc_get(Evas_Object *obj);
1880 EAPI void elm_popup_title_label_set(Evas_Object *obj, const char *text);
1881 EAPI const char *elm_popup_title_label_get(Evas_Object *obj);
1882 EAPI void elm_popup_title_icon_set(Evas_Object *obj, Evas_Object *icon);
1883 EAPI void elm_popup_content_set(Evas_Object *obj, Evas_Object *content);
1884 EAPI Evas_Object* elm_popup_content_get(Evas_Object *obj);
1885 EAPI void elm_popup_buttons_add(Evas_Object *obj,int no_of_buttons, char *first_button_text, ...);
1886 Evas_Object* elm_popup_add_with_buttons(Evas_Object *parent, char *title, char *desc_text,int no_of_buttons, char *first_button_text, ... );
1887 EAPI void elm_popup_timeout_set(Evas_Object *obj, int timeout);
1888 EAPI void elm_popup_mode_set(Evas_Object *obj, Elm_Popup_Mode mode);
1889 EAPI void elm_popup_response(Evas_Object *obj, int response_id);
1890 EAPI void elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient);
1891 EAPI void elm_popup_rotation_set(Evas_Object *obj, int rot_angle);
1892 EAPI int elm_popup_run(Evas_Object *obj);
1893 /* Contextual Popup */
1894 typedef struct _Ctxpopup_Item Elm_Ctxpopup_Item;
1896 typedef enum _Ctxpopup_Arrow_Direction
1898 ELM_CTXPOPUP_ARROW_DOWN,
1899 ELM_CTXPOPUP_ARROW_RIGHT,
1900 ELM_CTXPOPUP_ARROW_LEFT,
1901 ELM_CTXPOPUP_ARROW_UP,
1902 } Elm_Ctxpopup_Arrow;
1904 EAPI Evas_Object *elm_ctxpopup_add(Evas_Object *parent);
1905 EAPI void elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
1906 EAPI Eina_Bool elm_ctxpopup_horizontal_get(Evas_Object *obj);
1907 EAPI void elm_ctxpopup_item_icon_set(Elm_Ctxpopup_Item *item, Evas_Object *icon);
1908 EAPI void elm_ctxpopup_item_label_set(Elm_Ctxpopup_Item *item, const char *label);
1909 EAPI Elm_Ctxpopup_Item *elm_ctxpopup_label_add(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) __attribute__((deprecated));
1910 EAPI Elm_Ctxpopup_Item *elm_ctxpopup_icon_add(Evas_Object *obj, Evas_Object *icon, Evas_Smart_Cb func, void *data) __attribute__((deprecated));
1911 EAPI Elm_Ctxpopup_Item *elm_ctxpopup_item_add(Evas_Object *obj, Evas_Object *icon, const char* label, Evas_Smart_Cb func, void *data);
1912 EAPI void elm_ctxpopup_item_del(Elm_Ctxpopup_Item *item);
1913 EAPI void elm_ctxpopup_item_disabled_set(Elm_Ctxpopup_Item *item, Eina_Bool disabled);
1914 EAPI void elm_ctxpopup_clear(Evas_Object *obj);
1915 EAPI const char *elm_ctxpopup_item_label_get(Elm_Ctxpopup_Item *item);
1916 EAPI Evas_Object *elm_ctxpopup_item_icon_get(Elm_Ctxpopup_Item *item);
1917 EAPI void elm_ctxpopup_scroller_disabled_set(Evas_Object *obj, Eina_Bool disabled);
1918 EAPI void elm_ctxpopup_screen_dimmed_disabled_set(Evas_Object *obj, Eina_Bool disabled);
1919 EAPI void elm_ctxpopup_button_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, const void *data);
1920 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);
1921 EAPI void elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content);
1922 EAPI Evas_Object *elm_ctxpopup_content_unset(Evas_Object *obj);
1923 EAPI void elm_ctxpopup_position_forced_set(Evas_Object *obj, Eina_Bool forced);
1924 EAPI Eina_Bool elm_ctxpopup_position_forced_get(Evas_Object *obj);
1926 /* QuickContactBadge */
1927 typedef struct _Quickcontactbadge_Item Elm_Quickcontactbadge_Item;
1929 EAPI Evas_Object *elm_quickcontactbadge_add(Evas_Object* parent);
1930 EAPI void elm_quickcontactbadge_item_icon_set(Elm_Quickcontactbadge_Item* item, Evas_Object* icon);
1931 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 );
1932 EAPI void elm_quickcontactbadge_item_del(Elm_Quickcontactbadge_Item* item);
1933 EAPI void elm_quickcontactbadge_clear(Evas_Object* obj);
1934 EAPI void elm_quickcontactbadge_horizontal_set( Evas_Object* obj, Eina_Bool horizontal );
1935 EAPI Evas_Object *elm_quickcontactbadge_item_icon_get( Elm_Quickcontactbadge_Item* item );
1938 typedef enum _Elm_Tab_Move_Type
1940 ELM_TAB_MOVE_LEFT = 0,
1941 ELM_TAB_MOVE_RIGHT = 1
1942 } Elm_Tab_Move_Type;
1944 typedef enum _Elm_Tab_Mode_Type
1946 ELM_TAB_PORTRAIT_2 = 2,
1947 ELM_TAB_PORTRAIT_3 = 3,
1948 ELM_TAB_PORTRAIT_4 = 4,
1949 ELM_TAB_LANDSCAPE_2 = 12,
1950 ELM_TAB_LANDSCAPE_3 = 13,
1951 ELM_TAB_LANDSCAPE_4 = 14,
1952 ELM_TAB_LANDSCAPE_5 = 15,
1953 } Elm_Tab_Mode_Type;
1955 typedef struct _Elm_Tab_Item Elm_Tab_Item;
1957 EAPI Evas_Object *elm_tab_add(Evas_Object *parent);
1958 EAPI void elm_tab_set(Evas_Object *obj, int mode);
1959 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);
1960 EAPI void elm_tab_item_del(Elm_Tab_Item *item);
1961 EAPI void elm_tab_item_select(Elm_Tab_Item *item);
1962 EAPI Evas_Object *elm_tab_item_icon_get(Elm_Tab_Item *item);
1963 EAPI const char *elm_tab_item_label_get(Elm_Tab_Item *item);
1964 EAPI void elm_tab_item_label_set(Elm_Tab_Item *item, const char *label);
1965 EAPI void elm_tab_item_badge_set(Elm_Tab_Item *item, const int badge);
1966 EAPI Elm_Tab_Item *elm_tab_selected_item_get(Evas_Object *obj);
1967 EAPI Elm_Tab_Item *elm_tab_first_item_get(Evas_Object *obj);
1968 EAPI Elm_Tab_Item *elm_tab_last_item_get(Evas_Object *obj);
1969 EAPI Eina_List *elm_tab_items_get(Evas_Object *obj);
1970 EAPI Elm_Tab_Item *elm_tab_item_prev(Elm_Tab_Item *item);
1971 EAPI Elm_Tab_Item *elm_tab_item_next(Elm_Tab_Item *item);
1972 EAPI void elm_tab_move(Evas_Object *obj, int direction);
1973 EAPI void elm_tab_edit_disable_set(Evas_Object *obj, Eina_Bool disable);
1974 EAPI Eina_Bool elm_tab_edit_disable_get(Evas_Object *obj);
1978 typedef struct _Animator Elm_Animator;
1982 ELM_ANIMATOR_CURVE_LINEAR,
1983 ELM_ANIMATOR_CURVE_IN_OUT,
1984 ELM_ANIMATOR_CURVE_IN,
1985 ELM_ANIMATOR_CURVE_OUT
1986 } Elm_Animator_Curve_Style;
1988 EAPI Elm_Animator* elm_animator_add(Evas_Object *parent);
1989 EAPI void elm_animator_del(Elm_Animator *animator);
1990 EAPI void elm_animator_duration_set(Elm_Animator *animator, double duration);
1991 EAPI void elm_animator_operation_callback_set(Elm_Animator *animator, void (*func)(void *data, Elm_Animator *animator, double frame), void *data);
1992 EAPI void elm_animator_completion_callback_set(Elm_Animator *animator, void (*func)(void *data), void *data);
1993 EAPI void elm_animator_stop(Elm_Animator *animator);
1994 EAPI void elm_animator_repeat_set(Elm_Animator *animator, unsigned int repeat_cnt);
1995 EAPI void elm_animator_animate(Elm_Animator *animator);
1996 EAPI void elm_animator_curve_style_set(Elm_Animator *animator, Elm_Animator_Curve_Style cs);
1997 EAPI void elm_animator_auto_reverse_set(Elm_Animator *animator, Eina_Bool reverse);
1998 EAPI Eina_Bool elm_animator_auto_reverse_get(Elm_Animator *animator);
1999 EAPI Eina_Bool elm_animator_operating_get(Elm_Animator *animator);
2000 EAPI unsigned int elm_animator_repeat_get(Elm_Animator *animator);
2001 EAPI void elm_animator_pause(Elm_Animator *animator);
2002 EAPI void elm_animator_resume(Elm_Animator *animator);
2006 typedef struct _transit Elm_Transit;
2007 typedef struct _effect Elm_Effect;
2009 EAPI Elm_Transit *elm_transit_add(Evas_Object *parent);
2010 EAPI void elm_transit_del(Elm_Transit *transit);
2011 EAPI void elm_transit_run(Elm_Transit *transit, double duration);
2012 EAPI void elm_transit_stop(Elm_Transit *transit);
2013 EAPI void elm_transit_completion_callback_set(Elm_Transit *transit, void (*op)(void *data,Elm_Transit* transit), void *data);
2014 EAPI void elm_transit_repeat_set(Elm_Transit *transit, unsigned int repeat);
2015 EAPI void elm_transit_auto_reverse_set(Elm_Transit *transit, Eina_Bool reverse);
2016 EAPI void elm_transit_curve_style_set(Elm_Transit *transit, Elm_Animator_Curve_Style cs);
2017 EAPI void elm_transit_event_block_disabled_set(Elm_Transit *transit, Eina_Bool disabled);
2018 EAPI Eina_Bool elm_transit_fx_insert(Elm_Transit *transit, Elm_Effect *effect);
2019 EAPI void elm_transit_fx_clear(Elm_Transit *transit);
2020 EAPI Eina_Bool elm_transit_event_block_disabled_get(Elm_Transit *transit);
2021 EAPI void elm_transit_pause(Elm_Transit *transit);
2022 EAPI void elm_transit_resume(Elm_Transit *transit);
2024 /* Translation FX */
2025 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);
2028 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);
2031 EAPI Elm_Effect *elm_fx_zoom_add(Evas_Object *obj, float from_rate, float to_rate);
2034 typedef enum {ELM_FX_FLIP_AXIS_X, ELM_FX_FLIP_AXIS_Y} Elm_Fx_Flip_Axis;
2035 EAPI Elm_Effect *elm_fx_flip_add( Evas_Object *front, Evas_Object *back, Elm_Fx_Flip_Axis axis, Eina_Bool cw);
2038 EAPI Elm_Effect *elm_fx_blend_add(Evas_Object *before, Evas_Object *after);
2041 EAPI Elm_Effect *elm_fx_fade_add(Evas_Object *before, Evas_Object *after);
2044 EAPI Elm_Effect *elm_fx_rotation_add(Evas_Object *obj, float from_degree, float to_degree, Eina_Bool cw);
2047 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);
2053 ELM_FX_WIPE_DIR_LEFT,
2054 ELM_FX_WIPE_DIR_RIGHT,
2055 ELM_FX_WIPE_DIR_DOWN
2060 ELM_FX_WIPE_TYPE_HIDE,
2061 ELM_FX_WIPE_TYPE_SHOW
2063 EAPI Elm_Effect *elm_fx_wipe_add(Evas_Object *obj, Elm_Fx_Wipe_Type type, Elm_Fx_Wipe_Dir dir);
2065 /* ResizableFlip Fx */
2066 EAPI Elm_Effect *elm_fx_resizable_flip_add(Evas_Object *front, Evas_Object *back, Elm_Fx_Flip_Axis axis, Eina_Bool cw);
2068 /* ImageAnimation Fx */
2069 EAPI Elm_Effect *elm_fx_image_animation_add(Evas_Object *icon, const char** images, unsigned int img_cnt);
2074 ELM_NAVIGATIONBAR_FUNCTION_BUTTON1,
2075 ELM_NAVIGATIONBAR_FUNCTION_BUTTON2,
2076 ELM_NAVIGATIONBAR_FUNCTION_BUTTON3,
2077 ELM_NAVIGATIONBAR_BACK_BUTTON
2078 } Elm_Navi_Button_Type;
2080 EAPI Evas_Object *elm_navigationbar_add(Evas_Object *parent);
2081 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);
2082 EAPI void elm_navigationbar_pop(Evas_Object *obj);
2083 EAPI void elm_navigationbar_to_content_pop(Evas_Object *obj, Evas_Object *content);
2084 EAPI void elm_navigationbar_title_label_set(Evas_Object *obj, Evas_Object *content, const char *title);
2085 EAPI const char *elm_navigationbar_title_label_get(Evas_Object *obj, Evas_Object *content);
2086 EAPI void elm_navigationbar_title_object_add(Evas_Object *obj, Evas_Object *content, Evas_Object *title_obj);
2087 EAPI Eina_List *elm_navigationbar_title_object_list_get(Evas_Object *obj, Evas_Object *content);
2088 EAPI Evas_Object *elm_navigationbar_content_top_get(Evas_Object *obj);
2089 EAPI Evas_Object *elm_navigationbar_content_bottom_get(Evas_Object *obj);
2090 EAPI void elm_navigationbar_hidden_set(Evas_Object *obj, Eina_Bool hidden);
2091 EAPI void elm_navigationbar_title_button_set(Evas_Object *obj, Evas_Object *content, Evas_Object *button, Elm_Navi_Button_Type button_type);
2092 EAPI Evas_Object *elm_navigationbar_title_button_get(Evas_Object *obj, Evas_Object *content, Elm_Navi_Button_Type button_type);
2093 EAPI const char * elm_navigationbar_subtitle_label_get(Evas_Object *obj, Evas_Object *content);
2094 EAPI Evas_Object *elm_navigationbar_subtitle_label_set(Evas_Object *obj, Evas_Object *content, const char *subtitle);
2097 #define TAB_BAR_SYSTEM_ICON_CONTACT "elm/icon/tabbar_contact/default"
2098 #define TAB_BAR_SYSTEM_ICON_GROUP "elm/icon/tabbar_group/default"
2099 #define TAB_BAR_SYSTEM_ICON_SONG "elm/icon/tabbar_song/default"
2100 #define TAB_BAR_SYSTEM_ICON_FAVORITES "elm/icon/tabbar_favorites/default"
2101 #define TAB_BAR_SYSTEM_ICON_SEARCH "elm/icon/tabbar_search/default"
2102 #define TAB_BAR_SYSTEM_ICON_MESSAGE "elm/icon/tabbar_message/default"
2103 #define TAB_BAR_SYSTEM_ICON_SETTING "elm/icon/tabbar_setting/default"
2105 EAPI Evas_Object *elm_tabbar_add(Evas_Object *parent);
2106 EAPI Elm_Tab_Item *elm_tabbar_item_add(Evas_Object *obj, const char *icon_path, const char *label, Evas_Object *view);
2107 EAPI Evas_Object *elm_tabbar_item_icon_get(Elm_Tab_Item *it);
2108 EAPI const char *elm_tabbar_item_label_get(Elm_Tab_Item *it);
2109 EAPI void elm_tabbar_item_label_set(Elm_Tab_Item *it, const char *label);
2110 EAPI void elm_tabbar_item_select(Elm_Tab_Item *it);
2111 EAPI void elm_tabbar_edit_start(Evas_Object *obj);
2112 EAPI void elm_tabbar_item_visible_set(Elm_Tab_Item *it, Eina_Bool bar);
2114 /* smart callbacks called:
2115 * "clicked" - when item clicked
2119 #define CONTROLBAR_SYSTEM_ICON_ALBUMS "controlbar_albums"
2120 #define CONTROLBAR_SYSTEM_ICON_ARTISTS "controlbar_artists"
2121 #define CONTROLBAR_SYSTEM_ICON_SONGS "controlbar_songs"
2122 #define CONTROLBAR_SYSTEM_ICON_PLAYLIST "controlbar_playlist"
2123 #define CONTROLBAR_SYSTEM_ICON_MORE "controlbar_more"
2124 #define CONTROLBAR_SYSTEM_ICON_CONTACTS "controlbar_contacts"
2125 #define CONTROLBAR_SYSTEM_ICON_DIALER "controlbar_dialer"
2126 #define CONTROLBAR_SYSTEM_ICON_FAVORITES "controlbar_favorites"
2127 #define CONTROLBAR_SYSTEM_ICON_LOGS "controlbar_logs"
2129 typedef enum _Elm_Controlbar_Mode_Type{
2130 ELM_CONTROLBAR_MODE_DEFAULT = 0,
2131 ELM_CONTROLBAR_MODE_TRANSLUCENCE,
2132 ELM_CONTROLBAR_MODE_TRANSPARENCY,
2133 ELM_CONTROLBAR_MODE_LARGE,
2134 ELM_CONTROLBAR_MODE_SMALL
2135 } Elm_Controlbar_Mode_Type;
2137 typedef struct _Elm_Controlbar_Item Elm_Controlbar_Item;
2139 EAPI Evas_Object *elm_controlbar_add(Evas_Object *parent);
2140 EAPI Elm_Controlbar_Item *elm_controlbar_tab_item_append(Evas_Object *obj, const char *icon_path, const char *label, Evas_Object *view);
2141 EAPI Elm_Controlbar_Item *elm_controlbar_tab_item_prepend(Evas_Object *obj, const char *icon_path, const char *label, Evas_Object *view);
2142 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);
2143 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);
2144 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);
2145 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);
2146 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);
2147 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);
2148 EAPI Elm_Controlbar_Item *elm_controlbar_object_item_append(Evas_Object *obj, Evas_Object *obj_item, const int sel);
2149 EAPI Elm_Controlbar_Item *elm_controlbar_object_item_prepend(Evas_Object *obj, Evas_Object *obj_item, const int sel);
2150 EAPI Elm_Controlbar_Item *elm_controlbar_object_item_insert_before(Evas_Object *obj, Elm_Controlbar_Item *before, Evas_Object *obj_item, const int sel);
2151 EAPI Elm_Controlbar_Item *elm_controlbar_object_item_insert_after(Evas_Object *obj, Elm_Controlbar_Item *after, Evas_Object *obj_item, const int sel);
2152 EAPI void elm_controlbar_item_del(Elm_Controlbar_Item *it);
2153 EAPI void elm_controlbar_item_select(Elm_Controlbar_Item *it);
2154 EAPI void elm_controlbar_item_visible_set(Elm_Controlbar_Item *it, Eina_Bool bar);
2155 EAPI void elm_controlbar_item_editable_set(Elm_Controlbar_Item *it, Eina_Bool editable);
2156 EAPI Evas_Object *elm_controlbar_item_icon_get(Elm_Controlbar_Item *it);
2157 EAPI const char *elm_controlbar_item_label_get(Elm_Controlbar_Item *it);
2158 EAPI void elm_controlbar_item_label_set(Elm_Controlbar_Item *it, const char *label);
2159 EAPI Elm_Controlbar_Item *elm_controlbar_selected_item_get(Evas_Object *obj);
2160 EAPI Elm_Controlbar_Item *elm_controlbar_first_item_get(Evas_Object *obj);
2161 EAPI Elm_Controlbar_Item *elm_controlbar_last_item_get(Evas_Object *obj);
2162 EAPI Eina_List *elm_controlbar_items_get(Evas_Object *obj);
2163 EAPI Elm_Controlbar_Item *elm_controlbar_item_prev(Elm_Controlbar_Item *it);
2164 EAPI Elm_Controlbar_Item *elm_controlbar_item_next(Elm_Controlbar_Item *it);
2165 EAPI void elm_controlbar_item_view_set(Elm_Controlbar_Item *it, Evas_Object * view);
2166 EAPI void elm_controlbar_mode_set(Evas_Object *obj, int mode);
2167 /*======= Please don't use this APIs =======*/
2168 EAPI void elm_controlbar_edit_start(Evas_Object *obj);
2169 EAPI void elm_controlbar_view_set(Evas_Object *obj, Evas_Object *view);
2170 EAPI void elm_controlbar_animation_set(Evas_Object *obj, void (*func) (void *data, Evas_Object *obj, void *event_info), void *data);
2171 EAPI void elm_controlbar_item_animation_set(Evas_Object *obj, Eina_Bool auto_animation, Eina_Bool selected_animation);
2172 /*======= Just for test =======*/
2175 /* diskcontroller */
2176 typedef struct _Elm_Diskcontroller_Item Elm_Diskcontroller_Item;
2178 EAPI Evas_Object *elm_diskcontroller_add(Evas_Object *parent);
2179 EAPI void elm_diskcontroller_round_set(Evas_Object *obj, Eina_Bool round);
2180 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);
2181 EAPI void elm_diskcontroller_item_del(Elm_Diskcontroller_Item *it);
2182 EAPI const char *elm_diskcontroller_item_label_get(Elm_Diskcontroller_Item *it);
2183 EAPI void elm_diskcontroller_item_label_set(Elm_Diskcontroller_Item *it, const char *label);
2184 EAPI void elm_diskcontroller_item_focus_set(Elm_Diskcontroller_Item *it);
2185 /* smart callbacks called:
2186 * "stop" - when scroller stop
2190 EAPI Evas_Object *elm_searchbar_add(Evas_Object *parent);
2191 EAPI void elm_searchbar_text_set(Evas_Object *obj, const char *entry);
2192 EAPI const char *elm_searchbar_text_get(Evas_Object *obj);
2193 EAPI Evas_Object *elm_searchbar_entry_get(Evas_Object *obj);
2194 EAPI void elm_searchbar_cancel_button_animation_set(Evas_Object *obj, Eina_Bool cancel_btn_ani_flag);
2197 typedef enum _Elm_Actionsheet_Button_Type
2199 ELM_ACTIONSHEET_BT_NORMAL = 0,
2200 ELM_ACTIONSHEET_BT_CANCEL,
2201 ELM_ACTIONSHEET_BT_DESTRUCTIVE
2202 } Elm_Actionsheet_Button_Type;
2204 EAPI Evas_Object *elm_actionsheet_add(Evas_Object *parent);
2205 EAPI void elm_actionsheet_title_set(Evas_Object *obj, const char *title);
2206 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);
2207 EAPI int elm_actionsheet_button_title_get(Evas_Object *obj, const int index, char **title);
2210 typedef struct _Elm_Toolbar2_Item Elm_Toolbar2_Item;
2211 EAPI Evas_Object *elm_toolbar2_add(Evas_Object *parent);
2212 EAPI void elm_toolbar2_icon_size_set(Evas_Object *obj, int icon_size);
2213 EAPI int elm_toolbar2_icon_size_get(Evas_Object *obj);
2214 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);
2215 EAPI Evas_Object *elm_toolbar2_item_icon_get(Elm_Toolbar2_Item *item);
2216 EAPI void elm_toolbar2_item_del(Elm_Toolbar2_Item *it);
2217 EAPI void elm_toolbar2_item_del_cb_set(Elm_Toolbar2_Item *it, void (*func)(void *data, Evas_Object *obj, void *event_info));
2218 EAPI void elm_toolbar2_scrollable_set(Evas_Object *obj, Eina_Bool scrollable);
2219 EAPI void elm_toolbar2_homogenous_set(Evas_Object *obj, Eina_Bool homogenous);
2220 EAPI void elm_toolbar2_align_set(Evas_Object *obj, double align);
2223 EAPI Evas_Object *elm_colorpicker_add(Evas_Object *parent);
2224 EAPI void elm_colorpicker_color_set(Evas_Object *obj, int r, int g , int b);
2225 EAPI void elm_colorpicker_color_get(Evas_Object *obj, int *r, int *g , int *b);
2226 /* smart callbacks called:
2227 * "changed" - when color is changed
2232 typedef struct _Colorpalette_Color Elm_Colorpalette_Color;
2234 struct _Colorpalette_Color
2236 unsigned int r, g, b;
2239 EAPI Evas_Object *elm_colorpalette_add(Evas_Object *parent);
2240 EAPI void elm_colorpalette_color_set(Evas_Object *obj, int color_num, Elm_Colorpalette_Color *color);
2241 EAPI void elm_colorpalette_row_column_set(Evas_Object *obj, int row, int col);
2242 /* smart callbacks called:
2243 * "clicked" - when image clicked
2247 EAPI Evas_Object *elm_editfield_add(Evas_Object *parent);
2248 EAPI void elm_editfield_label_set(Evas_Object *obj, const char *label);
2249 EAPI const char *elm_editfield_label_get(Evas_Object *obj);
2250 EAPI void elm_editfield_guide_text_set(Evas_Object *obj, const char *text);
2251 EAPI const char *elm_editfield_guide_text_get(Evas_Object *obj);
2252 EAPI Evas_Object *elm_editfield_entry_get(Evas_Object *obj);
2253 // EAPI Evas_Object *elm_editfield_clear_button_show(Evas_Object *obj, Eina_Bool show);
2254 EAPI Eina_Bool elm_editfield_right_icon_set(Evas_Object *obj, Evas_Object *icon);
2255 EAPI Evas_Object *elm_editfield_right_icon_get(Evas_Object *obj);
2256 EAPI Eina_Bool elm_editfield_left_icon_set(Evas_Object *obj, Evas_Object *icon);
2257 EAPI Evas_Object *elm_editfield_lett_icon_get(Evas_Object *obj);
2258 EAPI void elm_editfield_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
2259 EAPI Eina_Bool elm_editfield_entry_single_line_get(Evas_Object *obj);
2260 EAPI void elm_editfield_eraser_set(Evas_Object *obj, Eina_Bool visible);
2261 EAPI Eina_Bool elm_editfield_eraser_get(Evas_Object *obj);
2272 typedef struct _Elm_Softkey_Item Elm_Softkey_Item;
2273 EAPI Evas_Object *elm_softkey_add(Evas_Object *parent);
2274 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);
2275 EAPI void elm_softkey_button_del(Evas_Object *obj, Elm_Softkey_Type type);
2276 EAPI void elm_softkey_button_show(Evas_Object *obj, Elm_Softkey_Type type);
2277 EAPI void elm_softkey_button_hide(Evas_Object *obj, Elm_Softkey_Type type);
2279 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);
2280 EAPI int elm_softkey_panel_del(Evas_Object *obj);
2281 EAPI int elm_softkey_panel_close(Evas_Object *obj);
2282 EAPI int elm_softkey_panel_open(Evas_Object *obj);
2284 EAPI void elm_softkey_item_icon_set(Elm_Softkey_Item *item, Evas_Object *icon);
2285 EAPI Evas_Object *elm_softkey_item_icon_get(Elm_Softkey_Item * item);
2286 EAPI void elm_softkey_item_label_set(Elm_Softkey_Item *item, const char *label);
2287 EAPI const char *elm_softkey_item_label_get(Elm_Softkey_Item * item);
2288 EAPI Eina_Bool elm_softkey_item_disabled_get(Elm_Softkey_Item *item);
2289 EAPI void elm_softkey_item_disabled_set(Elm_Softkey_Item *item, Eina_Bool disabled);
2290 EAPI void elm_softkey_item_callback_set(Elm_Softkey_Item* item, void (*func)(void *data, Evas_Object *obj, void *event_info), const void *data );
2291 /* smart callback called:
2292 * "clicked" - the user clicked the button, event_info: Softkey item
2293 * "press" - the user press the button, event_info: Softkey item
2294 * "panel,show" - when the panel is shown
2295 * "panel,hide" - when the panel is hidden
2299 EAPI Evas_Object *elm_gridbox_add(Evas_Object *parent);
2300 EAPI void elm_gridbox_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical);
2301 EAPI void elm_gridbox_item_size_set(Evas_Object *obj, Evas_Coord h_itemsize, Evas_Coord v_itemsize);
2302 EAPI void elm_gridbox_pack(Evas_Object *obj, Evas_Object *subobj);
2303 EAPI Eina_Bool elm_gridbox_unpack(Evas_Object *obj, Evas_Object *subobj);
2304 EAPI Eina_List *elm_gridbox_children_get(Evas_Object *obj);
2305 EAPI void elm_gridbox_homogenous_padding_set(Evas_Object *obj, Eina_Bool homogenous);
2308 typedef enum _Elm_Actionslider_Indicator_Pos
2310 ELM_ACTIONSLIDER_INDICATOR_LEFT,
2311 ELM_ACTIONSLIDER_INDICATOR_RIGHT,
2312 ELM_ACTIONSLIDER_INDICATOR_CENTER
2313 } Elm_Actionslider_Indicator_Pos;
2315 typedef enum _Elm_Actionslider_Magnet_Pos
2317 ELM_ACTIONSLIDER_MAGNET_LEFT,
2318 ELM_ACTIONSLIDER_MAGNET_RIGHT,
2319 ELM_ACTIONSLIDER_MAGNET_BOTH,
2320 ELM_ACTIONSLIDER_MAGNET_CENTER
2321 } Elm_Actionslider_Magnet_Pos;
2323 typedef enum _Elm_Actionslider_Label_Pos
2325 ELM_ACTIONSLIDER_LABEL_LEFT,
2326 ELM_ACTIONSLIDER_LABEL_RIGHT,
2327 ELM_ACTIONSLIDER_LABEL_CENTER,
2328 ELM_ACTIONSLIDER_LABEL_BUTTON
2329 } Elm_Actionslider_Label_Pos;
2331 EAPI Evas_Object *elm_actionslider_add(Evas_Object *parent);
2332 EAPI void elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Indicator_Pos pos);
2333 EAPI void elm_actionslider_magnet_pos_set(Evas_Object *obj, Elm_Actionslider_Magnet_Pos pos);
2334 EAPI int elm_actionslider_label_set(Evas_Object *obj, Elm_Actionslider_Label_Pos pos, const char *label);
2335 EAPI int elm_actionslider_hold(Evas_Object *obj, Eina_Bool flag);
2336 /* smart callbacks called:
2337 * "indicator,position" - when a button reaches to the special position like "left", "right" and "center".
2341 EAPI Evas_Object *elm_zoomcontrols_add(Evas_Object *parent);
2342 EAPI void elm_zoomcontrols_range_set(Evas_Object *obj, int range);
2343 /* smart callbacks called:
2344 * "up_clicked" - when up button of zoomcontrols is clicked
2345 * "down_clicked" - when down button of zoomcontrols is clicked
2349 typedef enum _Elm_Viewflipper_Policy
2351 ERROR_0 = -1, //can not find wanted value
2354 ERROR_1 =1001, //confrim parameter is layout or not
2355 ERROR_2 , //confrim memory check
2356 ERROR_3 , //data is empty
2357 ERROR_4 , //check the range
2358 ERROR_5 , //Non need operation
2359 ERROR_6 , //waiting gui
2360 ERROR_7 , //timer second is not setup or can not time setup
2364 } Elm_Viewflipper_Policy;
2365 EAPI Evas_Object *elm_viewflipper_add(Evas_Object * parent);
2366 EAPI int elm_viewflipper_isFlipbutton();
2367 EAPI int elm_viewflipper_isAutoStart();
2368 EAPI int elm_viewflipper_isValidPos(int pos);
2369 EAPI int elm_viewflipper_addChild(Evas_Object * child_layout);
2370 EAPI int elm_viewflipper_removeChild(Evas_Object * child_layout);
2371 EAPI int elm_viewflipper_removeChildAt(int pos);
2372 EAPI int elm_viewflipper_getPositionChild(Evas_Object * child_layout);
2373 EAPI Evas_Object *elm_viewflipper_getChildAt(int pos);
2374 EAPI int elm_viewflipper_getCountChild();
2375 EAPI int elm_viewflipper_setDisplayedChild(int pos);
2376 EAPI int elm_viewflipper_setNowView();
2377 EAPI int elm_viewflipper_setNextView();
2378 EAPI int elm_viewflipper_setPreviousView();
2379 EAPI int elm_viewflipper_setFlipInterval(int milliseconds);
2380 EAPI int elm_viewflipper_setFlipbutton(int showbutton);
2381 EAPI int elm_viewflipper_startAutoFlippingWithOption(int drection,int pos);
2382 EAPI int elm_viewflipper_startAutoFlipping();
2383 EAPI int elm_viewflipper_stopAutoFlipping();
2386 struct _Elm_Gallery_Item
2388 Evas_Object *parent;
2393 Evas_Coord x, y, w, h;
2395 Eina_Bool on_hold : 1;
2396 Eina_Bool on_show : 1;
2397 Eina_Bool on_highquality : 1;
2399 typedef struct _Elm_Gallery_Item Elm_Gallery_Item;
2400 EAPI Evas_Object *elm_gallery_add(Evas_Object *parent);
2401 EAPI Eina_Bool elm_gallery_data_set(Evas_Object *obj, Eina_List *list);
2402 EAPI Elm_Gallery_Item *elm_gallery_item_append(Evas_Object *obj, const char *photo_file);
2403 EAPI Elm_Gallery_Item *elm_gallery_item_prepend(Evas_Object *obj, const char *photo_file);
2404 EAPI void elm_gallery_item_del(Elm_Gallery_Item *it);
2405 EAPI const char *elm_gallery_item_file_get(Elm_Gallery_Item *it);
2406 EAPI void elm_gallery_item_show(Elm_Gallery_Item *it);
2407 EAPI Eina_List *elm_gallery_item_list_get(Evas_Object *obj);
2408 EAPI void elm_gallery_set_type(Evas_Object *obj,int type);
2409 EAPI void elm_gallery_set_max_count(Evas_Object *obj,int max_value);
2411 /* Sliding Drawer */
2412 EAPI Evas_Object *elm_slidingdrawer_add(Evas_Object *parent);
2413 EAPI void elm_slidingdrawer_content_set (Evas_Object *obj, Evas_Object *content);
2416 EAPI Evas_Object *elm_wipercontrol_add(Evas_Object *parent);
2417 EAPI void elm_wipercontrol_below_content_set (Evas_Object *obj, Evas_Object *content);
2418 EAPI void elm_wipercontrol_above_content_set (Evas_Object *obj, Evas_Object *content);
2421 EAPI Evas_Object *elm_analogclock_add(Evas_Object *parent);
2424 EAPI Evas_Object *elm_ratingbar_add(Evas_Object *parent);
2425 EAPI void elm_ratingbar_rating_set(Evas_Object *obj, int rating);
2426 EAPI int elm_ratingbar_rating_get(Evas_Object *obj);
2427 /* smart callback called:
2428 * "changed" - when a rating is changed
2430 /* available styles:
2434 /* multibuttonentry */
2435 typedef struct _Multibuttonentry_Item Elm_Multibuttonentry_Item;
2436 EAPI Evas_Object *elm_multibuttonentry_add(Evas_Object *parent);
2437 EAPI const char *elm_multibuttonentry_label_get(Evas_Object *obj);
2438 EAPI void elm_multibuttonentry_label_set(Evas_Object *obj, const char *label);
2439 EAPI Evas_Object *elm_multibuttonentry_entry_get(Evas_Object *obj);
2440 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_start(Evas_Object *obj, const char *label, void *data);
2441 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_end(Evas_Object *obj, const char *label, void *data);
2442 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_before(Evas_Object *obj, const char *label, Elm_Multibuttonentry_Item *before, void *data);
2443 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_after(Evas_Object *obj, const char *label, Elm_Multibuttonentry_Item *after, void *data);
2444 EAPI const Eina_List * elm_multibuttonentry_items_get(Evas_Object *obj);
2445 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_first_get(Evas_Object *obj);
2446 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_last_get(Evas_Object *obj);
2447 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_selected_get(Evas_Object *obj);
2448 EAPI void elm_multibuttonentry_item_selected_set(Elm_Multibuttonentry_Item *item);
2449 EAPI void elm_multibuttonentry_item_del(Elm_Multibuttonentry_Item *item);
2450 EAPI void elm_multibuttonentry_items_del(Evas_Object *obj);
2451 EAPI const char *elm_multibuttonentry_item_label_get(Elm_Multibuttonentry_Item *item);
2452 EAPI void elm_multibuttonentry_item_label_set(Elm_Multibuttonentry_Item *item, const char *str);
2453 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_prev(Elm_Multibuttonentry_Item *item);
2454 EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_next(Elm_Multibuttonentry_Item *item);
2455 EAPI void *elm_multibuttonentry_item_data_get(Elm_Multibuttonentry_Item *item);
2456 EAPI void elm_multibuttonentry_item_data_set(Elm_Multibuttonentry_Item *item, void *data);
2457 /* smart callback called:
2461 /* available styles:
2466 EAPI Evas_Object *elm_chronometer_add(Evas_Object *parent);
2467 EAPI void elm_chronometer_start(Evas_Object *obj);
2468 EAPI void elm_chronometer_stop(Evas_Object *obj);
2469 EAPI void elm_chronometer_time_set(Evas_Object *obj, int hrs, int min, int sec);
2470 EAPI void elm_chronometer_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec);
2471 EAPI void elm_chronometer_format_set(Evas_Object *obj, Eina_Bool format);
2472 EAPI void elm_chronometer_format_get(Evas_Object *obj, Eina_Bool *format);
2475 typedef struct _Dialogue_Item Dialogue_Item;
2477 typedef enum _Elm_Dialoguegourp_Item_Style
2479 ELM_DIALOGUEGROUP_ITEM_STYLE_DEFAULT = 0,
2480 ELM_DIALOGUEGROUP_ITEM_STYLE_EDITFIELD = (1 << 0),
2481 ELM_DIALOGUEGROUP_ITEM_STYLE_EDITFIELD_WITH_TITLE = (1 << 1),
2482 ELM_DIALOGUEGROUP_ITEM_STYLE_EDIT_TITLE = (1 << 2)
2483 } Elm_Dialoguegroup_Item_Style;
2485 EAPI Evas_Object *elm_dialoguegroup_add(Evas_Object *parent);
2486 EAPI Dialogue_Item *elm_dialoguegroup_append(Evas_Object *obj, Evas_Object *subobj, Elm_Dialoguegroup_Item_Style style);
2487 EAPI Dialogue_Item *elm_dialoguegroup_prepend(Evas_Object *obj, Evas_Object *subobj, Elm_Dialoguegroup_Item_Style style);
2488 EAPI Dialogue_Item *elm_dialoguegroup_insert_after(Evas_Object *obj, Evas_Object *subobj, Dialogue_Item *after, Elm_Dialoguegroup_Item_Style style);
2489 EAPI Dialogue_Item *elm_dialoguegroup_insert_before(Evas_Object *obj, Evas_Object *subobj, Dialogue_Item *before, Elm_Dialoguegroup_Item_Style style);
2490 EAPI void elm_dialoguegroup_remove(Dialogue_Item *item);
2491 EAPI void elm_dialoguegroup_remove_all(Evas_Object *obj);
2492 EAPI void elm_dialoguegroup_title_set(Evas_Object *obj, const char *title);
2493 EAPI const char *elm_dialoguegroup_title_get(Evas_Object *obj);
2494 EAPI void elm_dialoguegroup_press_effect_set(Dialogue_Item *item, Eina_Bool press);
2495 EAPI Eina_Bool elm_dialoguegroup_press_effect_get(Dialogue_Item *item);
2496 EAPI Evas_Object *elm_dialoguegroup_item_content_get(Dialogue_Item *item);
2498 /* AutoCompleteView */
2499 typedef Eina_Bool (*elmautocompleteview_matchfunction) (Evas_Object *obj,char *text,Evas_Object *list,void *data);
2500 EAPI Evas_Object *elm_autocompleteview_add(Evas_Object *parent);
2501 EAPI Evas_Object *elm_autocompleteview_entry_get(Evas_Object *obj);
2502 EAPI Evas_Object *elm_autocompleteview_editfield_get(Evas_Object *obj);
2503 EAPI void elm_autocompleteview_threshold_set(Evas_Object *obj, int threshold);
2504 EAPI int elm_autocompleteview_threshold_get(Evas_Object *obj);
2505 EAPI void elm_autocompleteview_data_set(Evas_Object *obj, Eina_List *data_list);
2506 EAPI void elm_autocompleteview_match_func_set(Evas_Object *obj, elmautocompleteview_matchfunction func,void *data);
2507 EAPI void elm_autocompleteview_text_update(Evas_Object *obj, char *text);
2510 /* EAPI Evas_Object *elm_animatedicon_add(Evas_Object *parent);
2511 EAPI void elm_animatedicon_file_set(Evas_Object *obj, const char **images, const int item_num);
2512 EAPI void elm_animatedicon_duration_set(Evas_Object *obj, const double duration);
2513 EAPI void elm_animatedicon_animation_start(Evas_Object *obj);
2514 EAPI void elm_animatedicon_repeat_set(Evas_Object *obj, const unsigned int repeat, const double interval);
2518 typedef struct _Coverflow_Item Elm_Coverflow_Item;
2519 typedef struct _Coverflow_Item_Class
2521 void (*CoverflowItemGenFunc)(void* data, Evas_Object* obj );
2522 void (*CoverflowItemDelFunc)(void* data, Evas_Object* obj );
2523 } Elm_Coverflow_Item_Class;
2525 EAPI Evas_Object *elm_coverflow_add( Evas_Object* parent );
2526 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 );
2527 EAPI void elm_coverflow_clear( Evas_Object* obj );
2530 typedef struct _Cabinet_Item Elm_Cabinet_Item;
2531 EAPI Evas_Object *elm_cabinet_add(Evas_Object *parent);
2532 EAPI void elm_cabinet_next(Evas_Object *obj);
2533 EAPI void elm_cabinet_prev(Evas_Object *obj);
2534 EAPI Eina_Bool elm_cabinet_bounce_get(Evas_Object *obj);
2535 EAPI void elm_cabinet_bounce_set(Evas_Object *obj, Eina_Bool bounce);
2536 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);
2537 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);
2538 EAPI const Eina_List *elm_cabinet_items_get(Evas_Object *obj);
2539 EAPI Elm_Cabinet_Item *elm_cabinet_first_item_get(Evas_Object *obj);
2540 EAPI Elm_Cabinet_Item *elm_cabinet_last_item_get(Evas_Object *obj);
2541 EAPI Elm_Cabinet_Item *elm_cabinet_selected_item_get(Evas_Object *obj);
2542 EAPI void elm_cabinet_item_selected_set(Elm_Cabinet_Item *item);
2543 EAPI void elm_cabinet_item_del(Elm_Cabinet_Item *item);
2544 EAPI const char *elm_cabinet_item_label_get(Elm_Cabinet_Item *item);
2545 EAPI void elm_cabinet_item_label_set(Elm_Cabinet_Item *item, const char *label);
2546 EAPI const char *elm_cabinet_item_sub_info_get(Elm_Cabinet_Item *item);
2547 EAPI void elm_cabinet_item_sub_info_set(Elm_Cabinet_Item *item, const char *sub_info);
2548 EAPI Elm_Cabinet_Item *elm_cabinet_item_prev(Elm_Cabinet_Item *item);
2549 EAPI Elm_Cabinet_Item *elm_cabinet_item_next(Elm_Cabinet_Item *item);
2550 EAPI void *elm_cabinet_item_data_get(Elm_Cabinet_Item *item);
2551 EAPI void elm_cabinet_item_data_set(Elm_Cabinet_Item *item, void *data);
2552 EAPI Eina_Bool elm_cabinet_item_del_btn_disabled_get(Elm_Cabinet_Item *item);
2553 EAPI void elm_cabinet_item_del_btn_disabled_set(Elm_Cabinet_Item *item, Eina_Bool disabled);
2554 EAPI Eina_Bool elm_cabinet_item_sub_info_disabled_get(Elm_Cabinet_Item *item);
2555 EAPI void elm_cabinet_item_sub_info_disabled_set(Elm_Cabinet_Item *item, Eina_Bool disabled);
2560 ELM_DAYSELECTOR_SUN,
2561 ELM_DAYSELECTOR_MON,
2562 ELM_DAYSELECTOR_TUE,
2563 ELM_DAYSELECTOR_WED,
2564 ELM_DAYSELECTOR_THU,
2565 ELM_DAYSELECTOR_FRI,
2567 } Elm_DaySelector_Day;
2569 EAPI Evas_Object *elm_dayselector_add(Evas_Object *parent);
2570 EAPI Eina_Bool elm_dayselector_check_state_get(Evas_Object *obj, Elm_DaySelector_Day day);
2573 typedef void (*Elm_WebView_Mime_Cb)(Evas_Object *obj);
2574 EAPI Evas_Object *elm_webview_add(Evas_Object *parent, Eina_Bool tiled);
2575 EAPI Evas_Object *elm_webview_webkit_get(Evas_Object *obj);
2576 EAPI void elm_webview_events_feed_set(Evas_Object *obj, Eina_Bool feed);
2577 EAPI Eina_Bool elm_webview_events_feed_get(Evas_Object *obj);
2578 EAPI void elm_webview_auto_fitting_set(Evas_Object *obj, Eina_Bool enable);
2579 EAPI Eina_Bool elm_webview_auto_fitting_get(Evas_Object *obj);
2580 EAPI Evas_Object *elm_webview_minimap_get(Evas_Object *obj);
2581 EAPI void elm_webview_uri_set(Evas_Object *obj, const char *uri);
2582 EAPI void elm_webview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
2583 EAPI void elm_webview_mime_callback_set(Evas_Object *obj, const char *mime, Elm_WebView_Mime_Cb func);
2586 EAPI Evas_Object *elm_nocontents_add(Evas_Object *parent);
2587 EAPI void elm_nocontents_label_set(Evas_Object *obj, const char *label);
2588 EAPI const char *elm_nocontents_label_get(const Evas_Object *obj);
2589 EAPI void elm_nocontents_custom_set(const Evas_Object *obj, Evas_Object *custom);
2590 EAPI Evas_Object *elm_nocontents_custom_get(const Evas_Object *obj);
2593 typedef struct _Imageslider_Item Elm_Imageslider_Item;
2594 typedef void (*Elm_Imageslider_Cb)(void *data, Evas_Object *obj, void *event_info);
2595 EAPI Evas_Object *elm_imageslider_add(Evas_Object *parent);
2596 EAPI Elm_Imageslider_Item *elm_imageslider_item_append(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, void *data);
2597 EAPI Elm_Imageslider_Item *elm_imageslider_item_prepend(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, void *data);
2598 EAPI void elm_imageslider_item_del(Elm_Imageslider_Item *it);
2599 EAPI Elm_Imageslider_Item *elm_imageslider_selected_item_get(Evas_Object *obj);
2600 EAPI Eina_Bool elm_imageslider_item_selected_get(Elm_Imageslider_Item *it);
2601 EAPI void elm_imageslider_item_selected_set(Elm_Imageslider_Item *it);
2602 EAPI const char *elm_imageslider_item_photo_file_get(Elm_Imageslider_Item *it);
2603 EAPI Elm_Imageslider_Item *elm_imageslider_item_prev(Elm_Imageslider_Item *it);
2604 EAPI Elm_Imageslider_Item *elm_imageslider_item_next(Elm_Imageslider_Item *it);
2605 EAPI void elm_imageslider_prev(Evas_Object *obj);
2606 EAPI void elm_imageslider_next(Evas_Object *obj);