Elementary: elm_frame documentation.
[framework/uifw/elementary.git] / src / lib / Elementary.h.in
1 /*
2  *
3  * vim:ts=8:sw=3:sts=3:expandtab:cino=>5n-3f0^-2{2(0W1st0
4  */
5
6 /**
7 @file Elementary.h.in
8 @brief Elementary Widget Library
9 */
10
11 /**
12 @mainpage Elementary
13 @image html  elementary.png
14 @version @PACKAGE_VERSION@
15 @author Carsten Haitzler <raster@@rasterman.com>
16 @author Gustavo Sverzut Barbieri <barbieri@@profusion.mobi>
17 @author Cedric Bail <cedric.bail@@free.fr>
18 @author Vincent Torri <vtorri@@univ-evry.fr>
19 @author Daniel Kolesa <quaker66@@gmail.com>
20 @author Jaime Thomas <avi.thomas@@gmail.com>
21 @author Swisscom - http://www.swisscom.ch/
22 @author Christopher Michael <devilhorns@@comcast.net>
23 @author Marco Trevisan (Treviño) <mail@@3v1n0.net>
24 @author Michael Bouchaud <michael.bouchaud@@gmail.com>
25 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
26 @author Brian Wang <brian.wang.0721@@gmail.com>
27 @author Mike Blumenkrantz (zmike) <mike@@zentific.com>
28 @author Samsung Electronics <tbd>
29 @author Samsung SAIT <tbd>
30 @author Brett Nash <nash@@nash.id.au>
31 @author Bruno Dilly <bdilly@@profusion.mobi>
32 @author Rafael Fonseca <rfonseca@@profusion.mobi>
33 @author Chuneon Park <hermet@@hermet.pe.kr>
34 @author Woohyun Jung <wh0705.jung@@samsung.com>
35 @author Jaehwan Kim <jae.hwan.kim@@samsung.com>
36 @author Wonguk Jeong <wonguk.jeong@@samsung.com>
37 @author Leandro A. F. Pereira <leandro@@profusion.mobi>
38 @author Helen Fornazier <helen.fornazier@@profusion.mobi>
39 @author Gustavo Lima Chaves <glima@@profusion.mobi>
40 @author Fabiano Fidêncio <fidencio@@profusion.mobi>
41 @author Tiago Falcão <tiago@@profusion.mobi>
42 @author Otavio Pontes <otavio@@profusion.mobi>
43 @author Viktor Kojouharov <vkojouharov@@gmail.com>
44 @author Daniel Juyung Seo (SeoZ) <juyung.seo@@samsung.com> <seojuyung2@@gmail.com>
45 @author Sangho Park <sangho.g.park@@samsung.com> <gouache95@@gmail.com>
46 @author Rajeev Ranjan (Rajeev) <rajeev.r@@samsung.com> <rajeev.jnnce@@gmail.com>
47 @author Seunggyun Kim <sgyun.kim@@samsung.com> <tmdrbs@@gmail.com>
48 @author Sohyun Kim <anna1014.kim@@samsung.com> <sohyun.anna@@gmail.com>
49 @author Jihoon Kim <jihoon48.kim@@samsung.com>
50 @author Jeonghyun Yun (arosis) <jh0506.yun@@samsung.com>
51 @author Tom Hacohen <tom@@stosb.com>
52 @author Aharon Hillel <a.hillel@@partner.samsung.com>
53 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
54 @author Shinwoo Kim <kimcinoo@@gmail.com>
55 @author Govindaraju SM <govi.sm@@samsung.com> <govism@@gmail.com>
56 @author Prince Kumar Dubey <prince.dubey@@samsung.com> <prince.dubey@@gmail.com>
57 @date 2008-2011
58
59 @section intro What is Elementary?
60
61 This is a VERY SIMPLE toolkit. It is not meant for writing extensive desktop
62 applications (yet). Small simple ones with simple needs.
63
64 It is meant to make the programmers work almost brainless but give them lots
65 of flexibility.
66
67 License: LGPL v2 (see COPYING in the base of Elementary's source). This
68 applies to all files in the source here.
69
70 Acknowledgements: There is a lot that goes into making a widget set, and
71 they don't happen out of nothing. It's like trying to make everyone
72 everywhere happy, regardless of age, gender, race or nationality - and
73 that is really tough. So thanks to people and organisations behind this,
74 aslisted in the Authors section above.
75
76 @verbatim
77 Pants
78 @endverbatim
79 */
80
81 #ifndef ELEMENTARY_H
82 #define ELEMENTARY_H
83
84 /**
85  * @file Elementary.h
86  * @brief Elementary's API
87  *
88  * Elementary API.
89  */
90
91 @ELM_UNIX_DEF@ ELM_UNIX
92 @ELM_WIN32_DEF@ ELM_WIN32
93 @ELM_WINCE_DEF@ ELM_WINCE
94 @ELM_EDBUS_DEF@ ELM_EDBUS
95 @ELM_EFREET_DEF@ ELM_EFREET
96 @ELM_ETHUMB_DEF@ ELM_ETHUMB
97 @ELM_EMAP_DEF@ ELM_EMAP
98 @ELM_DEBUG_DEF@ ELM_DEBUG
99 @ELM_ALLOCA_H_DEF@ ELM_ALLOCA_H
100 @ELM_LIBINTL_H_DEF@ ELM_LIBINTL_H
101
102 /* Standard headers for standard system calls etc. */
103 #include <stdio.h>
104 #include <stdlib.h>
105 #include <unistd.h>
106 #include <string.h>
107 #include <sys/types.h>
108 #include <sys/stat.h>
109 #include <sys/time.h>
110 #include <sys/param.h>
111 #include <dlfcn.h>
112 #include <math.h>
113 #include <fnmatch.h>
114 #include <limits.h>
115 #include <ctype.h>
116 #include <time.h>
117 #include <dirent.h>
118 #include <pwd.h>
119 #include <errno.h>
120
121 #ifdef ELM_UNIX
122 # include <locale.h>
123 # ifdef ELM_LIBINTL_H
124 #  include <libintl.h>
125 # endif
126 # include <signal.h>
127 # include <grp.h>
128 # include <glob.h>
129 #endif
130
131 #ifdef ELM_ALLOCA_H
132 # include <alloca.h>
133 #endif
134
135 #if defined (ELM_WIN32) || defined (ELM_WINCE)
136 # include <malloc.h>
137 # ifndef alloca
138 #  define alloca _alloca
139 # endif
140 #endif
141
142
143 /* EFL headers */
144 #include <Eina.h>
145 #include <Eet.h>
146 #include <Evas.h>
147 #include <Evas_GL.h>
148 #include <Ecore.h>
149 #include <Ecore_Evas.h>
150 #include <Ecore_File.h>
151 #include <Ecore_IMF.h>
152 #include <Edje.h>
153
154 #ifdef ELM_EDBUS
155 # include <E_DBus.h>
156 #endif
157
158 #ifdef ELM_EFREET
159 # include <Efreet.h>
160 # include <Efreet_Mime.h>
161 # include <Efreet_Trash.h>
162 #endif
163
164 #ifdef ELM_ETHUMB
165 # include <Ethumb_Client.h>
166 #endif
167
168 #ifdef ELM_EMAP
169 # include <EMap.h>
170 #endif
171
172 #ifdef EAPI
173 # undef EAPI
174 #endif
175
176 #ifdef _WIN32
177 # ifdef ELEMENTARY_BUILD
178 #  ifdef DLL_EXPORT
179 #   define EAPI __declspec(dllexport)
180 #  else
181 #   define EAPI
182 #  endif /* ! DLL_EXPORT */
183 # else
184 #  define EAPI __declspec(dllimport)
185 # endif /* ! EFL_EVAS_BUILD */
186 #else
187 # ifdef __GNUC__
188 #  if __GNUC__ >= 4
189 #   define EAPI __attribute__ ((visibility("default")))
190 #  else
191 #   define EAPI
192 #  endif
193 # else
194 #  define EAPI
195 # endif
196 #endif /* ! _WIN32 */
197
198
199 /* allow usage from c++ */
200 #ifdef __cplusplus
201 extern "C" {
202 #endif
203
204 #define ELM_VERSION_MAJOR @VMAJ@
205 #define ELM_VERSION_MINOR @VMIN@
206
207    typedef struct _Elm_Version
208      {
209         int major;
210         int minor;
211         int micro;
212         int revision;
213      } Elm_Version;
214
215    EAPI extern Elm_Version *elm_version;
216
217 /* handy macros */
218 #define ELM_RECTS_INTERSECT(x, y, w, h, xx, yy, ww, hh) (((x) < ((xx) + (ww))) && ((y) < ((yy) + (hh))) && (((x) + (w)) > (xx)) && (((y) + (h)) > (yy)))
219 #define ELM_PI 3.14159265358979323846
220
221    /**
222     * @defgroup General General
223     *
224     * @brief General Elementary API. Functions that don't relate to
225     * Elementary objects specifically.
226     *
227     * Here are documented functions which init/shutdown the library,
228     * that apply to generic Elementary objects, that deal with
229     * configuration, et cetera.
230     *
231     * @ref general_functions_example_page "This" example contemplates
232     * some of these functions.
233     */
234
235    /**
236     * @addtogroup General
237     * @{
238     */
239
240   /**
241    * Defines couple of standard Evas_Object layers to be used
242    * with evas_object_layer_set().
243    *
244    * @note whenever extending with new values, try to keep some padding
245    *       to siblings so there is room for further extensions.
246    */
247   typedef enum _Elm_Object_Layer
248     {
249        ELM_OBJECT_LAYER_BACKGROUND = EVAS_LAYER_MIN + 64, /**< where to place backgrounds */
250        ELM_OBJECT_LAYER_DEFAULT = 0, /**< Evas_Object default layer (and thus for Elementary) */
251        ELM_OBJECT_LAYER_FOCUS = EVAS_LAYER_MAX - 128, /**< where focus object visualization is */
252        ELM_OBJECT_LAYER_TOOLTIP = EVAS_LAYER_MAX - 64, /**< where to show tooltips */
253        ELM_OBJECT_LAYER_CURSOR = EVAS_LAYER_MAX - 32, /**< where to show cursors */
254        ELM_OBJECT_LAYER_LAST /**< last layer known by Elementary */
255     } Elm_Object_Layer;
256
257 /**************************************************************************/
258    EAPI extern int ELM_ECORE_EVENT_ETHUMB_CONNECT;
259
260    /**
261     * Emitted when any Elementary's policy value is changed.
262     */
263    EAPI extern int ELM_EVENT_POLICY_CHANGED;
264
265    /**
266     * @typedef Elm_Event_Policy_Changed
267     *
268     * Data on the event when an Elementary policy has changed
269     */
270     typedef struct _Elm_Event_Policy_Changed Elm_Event_Policy_Changed;
271
272    /**
273     * @struct _Elm_Event_Policy_Changed
274     *
275     * Data on the event when an Elementary policy has changed
276     */
277     struct _Elm_Event_Policy_Changed
278      {
279         unsigned int policy; /**< the policy identifier */
280         int          new_value; /**< value the policy had before the change */
281         int          old_value; /**< new value the policy got */
282     };
283
284    /**
285     * Policy identifiers.
286     */
287     typedef enum _Elm_Policy
288     {
289         ELM_POLICY_QUIT, /**< under which circunstances the application
290                           * should quit automatically. @see
291                           * Elm_Policy_Quit.
292                           */
293         ELM_POLICY_LAST
294     } Elm_Policy; /**< Elementary policy identifiers/groups enumeration.  @see elm_policy_set()
295  */
296
297    typedef enum _Elm_Policy_Quit
298      {
299         ELM_POLICY_QUIT_NONE = 0, /**< never quit the application
300                                    * automatically */
301         ELM_POLICY_QUIT_LAST_WINDOW_CLOSED /**< quit when the
302                                             * application's last
303                                             * window is closed */
304      } Elm_Policy_Quit; /**< Possible values for the #ELM_POLICY_QUIT policy */
305
306    typedef enum _Elm_Focus_Direction
307      {
308         ELM_FOCUS_PREVIOUS,
309         ELM_FOCUS_NEXT
310      } Elm_Focus_Direction;
311
312    typedef enum _Elm_Text_Format
313      {
314         ELM_TEXT_FORMAT_PLAIN_UTF8,
315         ELM_TEXT_FORMAT_MARKUP_UTF8
316      } Elm_Text_Format;
317
318    /**
319     * Line wrapping types.
320     */
321    typedef enum _Elm_Wrap_Type
322      {
323         ELM_WRAP_NONE = 0, /**< No wrap - value is zero */
324         ELM_WRAP_CHAR, /**< Char wrap - wrap between graphmes */
325         ELM_WRAP_WORD, /**< Word wrap - wrap in allowed wrapping points (as defined in the unicode standard) */
326         ELM_WRAP_MIXED, /**< Mixed wrap - Word wrap, and if that fails, char wrap. */
327         ELM_WRAP_LAST
328      } Elm_Wrap_Type;
329
330
331    /**
332     * Called back when a widget's tooltip is activated and needs content.
333     * @param data user-data given to elm_object_tooltip_content_cb_set()
334     * @param obj owner widget.
335     */
336    typedef Evas_Object *(*Elm_Tooltip_Content_Cb) (void *data, Evas_Object *obj);
337
338    /**
339     * Called back when a widget's item tooltip is activated and needs content.
340     * @param data user-data given to elm_object_tooltip_content_cb_set()
341     * @param obj owner widget.
342     * @param item context dependent item. As an example, if tooltip was
343     *        set on Elm_List_Item, then it is of this type.
344     */
345    typedef Evas_Object *(*Elm_Tooltip_Item_Content_Cb) (void *data, Evas_Object *obj, void *item);
346
347    typedef Eina_Bool (*Elm_Event_Cb) (void *data, Evas_Object *obj, Evas_Object *src, Evas_Callback_Type type, void *event_info);
348
349 #ifndef ELM_LIB_QUICKLAUNCH
350 #define ELM_MAIN() int main(int argc, char **argv) {elm_init(argc, argv); return elm_main(argc, argv);} /**< macro to be used after the elm_main() function */
351 #else
352 #define ELM_MAIN() int main(int argc, char **argv) {return elm_quicklaunch_fallback(argc, argv);} /**< macro to be used after the elm_main() function */
353 #endif
354
355 /**************************************************************************/
356    /* General calls */
357
358    /**
359     * Initialize Elementary
360     *
361     * @param[in] argc System's argument count value
362     * @param[in] argv System's pointer to array of argument strings
363     * @return The init counter value.
364     *
365     * This function initializes Elementary and increments a counter of
366     * the number of calls to it. It returs the new counter's value.
367     *
368     * @warning This call is exported only for use by the @c ELM_MAIN()
369     * macro. There is no need to use this if you use this macro (which
370     * is highly advisable). An elm_main() should contain the entry
371     * point code for your application, having the same prototype as
372     * elm_init(), and @b not being static (putting the @c EAPI symbol
373     * in front of its type declaration is advisable). The @c
374     * ELM_MAIN() call should be placed just after it.
375     *
376     * Example:
377     * @dontinclude bg_example_01.c
378     * @skip static void
379     * @until ELM_MAIN
380     *
381     * See the full @ref bg_example_01_c "example".
382     *
383     * @see elm_shutdown().
384     * @ingroup General
385     */
386    EAPI int          elm_init(int argc, char **argv);
387
388    /**
389     * Shut down Elementary
390     *
391     * @return The init counter value.
392     *
393     * This should be called at the end of your application, just
394     * before it ceases to do any more processing. This will clean up
395     * any permanent resources your application may have allocated via
396     * Elementary that would otherwise persist.
397     *
398     * @see elm_init() for an example
399     *
400     * @ingroup General
401     */
402    EAPI int          elm_shutdown(void);
403
404    /**
405     * Run Elementary's main loop
406     *
407     * This call should be issued just after all initialization is
408     * completed. This function will not return until elm_exit() is
409     * called. It will keep looping, running the main
410     * (event/processing) loop for Elementary.
411     *
412     * @see elm_init() for an example
413     *
414     * @ingroup General
415     */
416    EAPI void         elm_run(void);
417
418    /**
419     * Exit Elementary's main loop
420     *
421     * If this call is issued, it will flag the main loop to cease
422     * processing and return back to its parent function (usually your
423     * elm_main() function).
424     *
425     * @see elm_init() for an example. There, just after a request to
426     * close the window comes, the main loop will be left.
427     *
428     * @note By using the #ELM_POLICY_QUIT on your Elementary
429     * applications, you'll this function called automatically for you.
430     *
431     * @ingroup General
432     */
433    EAPI void         elm_exit(void);
434
435    /**
436     * Provide information in order to make Elementary determine the @b
437     * run time location of the software in question, so other data files
438     * such as images, sound files, executable utilities, libraries,
439     * modules and locale files can be found.
440     *
441     * @param mainfunc This is your application's main function name,
442     *        whose binary's location is to be found. Providing @c NULL
443     *        will make Elementary not to use it
444     * @param dom This will be used as the application's "domain", in the
445     *        form of a prefix to any environment variables that may
446     *        override prefix detection and the directory name, inside the
447     *        standard share or data directories, where the software's
448     *        data files will be looked for.
449     * @param checkfile This is an (optional) magic file's path to check
450     *        for existence (and it must be located in the data directory,
451     *        under the share directory provided above). Its presence will
452     *        help determine the prefix found was correct. Pass @c NULL if
453     *        the check is not to be done.
454     *
455     * This function allows one to re-locate the application somewhere
456     * else after compilation, if the developer wishes for easier
457     * distribution of pre-compiled binaries.
458     *
459     * The prefix system is designed to locate where the given software is
460     * installed (under a common path prefix) at run time and then report
461     * specific locations of this prefix and common directories inside
462     * this prefix like the binary, library, data and locale directories,
463     * through the @c elm_app_*_get() family of functions.
464     *
465     * Call elm_app_info_set() early on before you change working
466     * directory or anything about @c argv[0], so it gets accurate
467     * information.
468     *
469     * It will then try and trace back which file @p mainfunc comes from,
470     * if provided, to determine the application's prefix directory.
471     *
472     * The @p dom parameter provides a string prefix to prepend before
473     * environment variables, allowing a fallback to @b specific
474     * environment variables to locate the software. You would most
475     * probably provide a lowercase string there, because it will also
476     * serve as directory domain, explained next. For environment
477     * variables purposes, this string is made uppercase. For example if
478     * @c "myapp" is provided as the prefix, then the program would expect
479     * @c "MYAPP_PREFIX" as a master environment variable to specify the
480     * exact install prefix for the software, or more specific environment
481     * variables like @c "MYAPP_BIN_DIR", @c "MYAPP_LIB_DIR", @c
482     * "MYAPP_DATA_DIR" and @c "MYAPP_LOCALE_DIR", which could be set by
483     * the user or scripts before launching. If not provided (@c NULL),
484     * environment variables will not be used to override compiled-in
485     * defaults or auto detections.
486     *
487     * The @p dom string also provides a subdirectory inside the system
488     * shared data directory for data files. For example, if the system
489     * directory is @c /usr/local/share, then this directory name is
490     * appended, creating @c /usr/local/share/myapp, if it @p was @c
491     * "myapp". It is expected the application installs data files in
492     * this directory.
493     *
494     * The @p checkfile is a file name or path of something inside the
495     * share or data directory to be used to test that the prefix
496     * detection worked. For example, your app will install a wallpaper
497     * image as @c /usr/local/share/myapp/images/wallpaper.jpg and so to
498     * check that this worked, provide @c "images/wallpaper.jpg" as the @p
499     * checkfile string.
500     *
501     * @see elm_app_compile_bin_dir_set()
502     * @see elm_app_compile_lib_dir_set()
503     * @see elm_app_compile_data_dir_set()
504     * @see elm_app_compile_locale_set()
505     * @see elm_app_prefix_dir_get()
506     * @see elm_app_bin_dir_get()
507     * @see elm_app_lib_dir_get()
508     * @see elm_app_data_dir_get()
509     * @see elm_app_locale_dir_get()
510     */
511    EAPI void         elm_app_info_set(void *mainfunc, const char *dom, const char *checkfile);
512
513    /**
514     * Provide information on the @b fallback application's binaries
515     * directory, on scenarios where they get overriden by
516     * elm_app_info_set().
517     *
518     * @param dir The path to the default binaries directory (compile time
519     * one)
520     *
521     * @note Elementary will as well use this path to determine actual
522     * names of binaries' directory paths, maybe changing it to be @c
523     * something/local/bin instead of @c something/bin, only, for
524     * example.
525     *
526     * @warning You should call this function @b before
527     * elm_app_info_set().
528     */
529    EAPI void         elm_app_compile_bin_dir_set(const char *dir);
530
531    /**
532     * Provide information on the @b fallback application's libraries
533     * directory, on scenarios where they get overriden by
534     * elm_app_info_set().
535     *
536     * @param dir The path to the default libraries directory (compile
537     * time one)
538     *
539     * @note Elementary will as well use this path to determine actual
540     * names of libraries' directory paths, maybe changing it to be @c
541     * something/lib32 or @c something/lib64 instead of @c something/lib,
542     * only, for example.
543     *
544     * @warning You should call this function @b before
545     * elm_app_info_set().
546     */
547    EAPI void         elm_app_compile_lib_dir_set(const char *dir);
548
549    /**
550     * Provide information on the @b fallback application's data
551     * directory, on scenarios where they get overriden by
552     * elm_app_info_set().
553     *
554     * @param dir The path to the default data directory (compile time
555     * one)
556     *
557     * @note Elementary will as well use this path to determine actual
558     * names of data directory paths, maybe changing it to be @c
559     * something/local/share instead of @c something/share, only, for
560     * example.
561     *
562     * @warning You should call this function @b before
563     * elm_app_info_set().
564     */
565    EAPI void         elm_app_compile_data_dir_set(const char *dir);
566
567    /**
568     * Provide information on the @b fallback application's locale
569     * directory, on scenarios where they get overriden by
570     * elm_app_info_set().
571     *
572     * @param dir The path to the default locale directory (compile time
573     * one)
574     *
575     * @warning You should call this function @b before
576     * elm_app_info_set().
577     */
578    EAPI void         elm_app_compile_locale_set(const char *dir);
579
580    /**
581     * Retrieve the application's run time prefix directory, as set by
582     * elm_app_info_set() and the way (environment) the application was
583     * run from.
584     *
585     * @return The directory prefix the application is actually using
586     */
587    EAPI const char  *elm_app_prefix_dir_get(void);
588
589    /**
590     * Retrieve the application's run time binaries prefix directory, as
591     * set by elm_app_info_set() and the way (environment) the application
592     * was run from.
593     *
594     * @return The binaries directory prefix the application is actually
595     * using
596     */
597    EAPI const char  *elm_app_bin_dir_get(void);
598
599    /**
600     * Retrieve the application's run time libraries prefix directory, as
601     * set by elm_app_info_set() and the way (environment) the application
602     * was run from.
603     *
604     * @return The libraries directory prefix the application is actually
605     * using
606     */
607    EAPI const char  *elm_app_lib_dir_get(void);
608
609    /**
610     * Retrieve the application's run time data prefix directory, as
611     * set by elm_app_info_set() and the way (environment) the application
612     * was run from.
613     *
614     * @return The data directory prefix the application is actually
615     * using
616     */
617    EAPI const char  *elm_app_data_dir_get(void);
618
619    /**
620     * Retrieve the application's run time locale prefix directory, as
621     * set by elm_app_info_set() and the way (environment) the application
622     * was run from.
623     *
624     * @return The locale directory prefix the application is actually
625     * using
626     */
627    EAPI const char  *elm_app_locale_dir_get(void);
628
629    EAPI void         elm_quicklaunch_mode_set(Eina_Bool ql_on);
630    EAPI Eina_Bool    elm_quicklaunch_mode_get(void);
631    EAPI int          elm_quicklaunch_init(int argc, char **argv);
632    EAPI int          elm_quicklaunch_sub_init(int argc, char **argv);
633    EAPI int          elm_quicklaunch_sub_shutdown(void);
634    EAPI int          elm_quicklaunch_shutdown(void);
635    EAPI void         elm_quicklaunch_seed(void);
636    EAPI Eina_Bool    elm_quicklaunch_prepare(int argc, char **argv);
637    EAPI Eina_Bool    elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (postfork_func) (void *data), void *postfork_data);
638    EAPI void         elm_quicklaunch_cleanup(void);
639    EAPI int          elm_quicklaunch_fallback(int argc, char **argv);
640    EAPI char        *elm_quicklaunch_exe_path_get(const char *exe);
641
642    EAPI Eina_Bool    elm_need_efreet(void);
643    EAPI Eina_Bool    elm_need_e_dbus(void);
644    EAPI Eina_Bool    elm_need_ethumb(void);
645
646    /**
647     * Set a new policy's value (for a given policy group/identifier).
648     *
649     * @param policy policy identifier, as in @ref Elm_Policy.
650     * @param value policy value, which depends on the identifier
651     *
652     * @return @c EINA_TRUE on success or @c EINA_FALSE, on error.
653     *
654     * Elementary policies define applications' behavior,
655     * somehow. These behaviors are divided in policy groups (see
656     * #Elm_Policy enumeration). This call will emit the Ecore event
657     * #ELM_EVENT_POLICY_CHANGED, which can be hooked at with
658     * handlers. An #Elm_Event_Policy_Changed struct will be passed,
659     * then.
660     *
661     * @note Currently, we have only one policy identifier/group
662     * (#ELM_POLICY_QUIT), which has two possible values.
663     *
664     * @ingroup General
665     */
666    EAPI Eina_Bool    elm_policy_set(unsigned int policy, int value);
667
668    /**
669     * Gets the policy value set for given policy identifier.
670     *
671     * @param policy policy identifier, as in #Elm_Policy.
672     * @return The currently set policy value, for that
673     * identifier. Will be @c 0 if @p policy passed is invalid.
674     *
675     * @ingroup General
676     */
677    EAPI int          elm_policy_get(unsigned int policy);
678
679    /**
680     * Set a label of an object
681     *
682     * @param obj The Elementary object
683     * @param item The label id to set (NULL for the default label)
684     * @param label The new text of the label
685     *
686     * @note Elementary objects may have many labels (e.g. Action Slider)
687     *
688     * @ingroup General
689     */
690    EAPI void         elm_object_text_part_set(Evas_Object *obj, const char *item, const char *label);
691
692 #define elm_object_text_set(obj, label) elm_object_text_part_set((obj), NULL, (label))
693
694    /**
695     * Get a label of an object
696     *
697     * @param obj The Elementary object
698     * @param item The label id to get (NULL for the default label)
699     * @return text of the label or
700     *         NULL for any error
701     *
702     * @note Elementary objects may have many labels (e.g. Action Slider)
703     *
704     * @ingroup General
705     */
706    EAPI const char  *elm_object_text_part_get(const Evas_Object *obj, const char *item);
707
708 #define elm_object_text_get(obj) elm_object_text_part_get((obj), NULL)
709
710    /**
711     * @}
712     */
713
714    EAPI void         elm_all_flush(void);
715    EAPI int          elm_cache_flush_interval_get(void);
716    EAPI void         elm_cache_flush_interval_set(int size);
717    EAPI void         elm_cache_flush_interval_all_set(int size);
718    EAPI Eina_Bool    elm_cache_flush_enabled_get(void);
719    EAPI void         elm_cache_flush_enabled_set(Eina_Bool enabled);
720    EAPI void         elm_cache_flush_enabled_all_set(Eina_Bool enabled);
721    EAPI int          elm_font_cache_get(void);
722    EAPI void         elm_font_cache_set(int size);
723    EAPI void         elm_font_cache_all_set(int size);
724    EAPI int          elm_image_cache_get(void);
725    EAPI void         elm_image_cache_set(int size);
726    EAPI void         elm_image_cache_all_set(int size);
727    EAPI int          elm_edje_file_cache_get(void);
728    EAPI void         elm_edje_file_cache_set(int size);
729    EAPI void         elm_edje_file_cache_all_set(int size);
730    EAPI int          elm_edje_collection_cache_get(void);
731    EAPI void         elm_edje_collection_cache_set(int size);
732    EAPI void         elm_edje_collection_cache_all_set(int size);
733
734    /**
735     * @defgroup Scaling Selective Widget Scaling
736     *
737     * Different widgets can be scaled independently. These functions
738     * allow you to manipulate this scaling on a per-widget basis. The
739     * object and all its children get their scaling factors multiplied
740     * by the scale factor set. This is multiplicative, in that if a
741     * child also has a scale size set it is in turn multiplied by its
742     * parent's scale size. @c 1.0 means “don't scale”, @c 2.0 is
743     * double size, @c 0.5 is half, etc.
744     *
745     * @ref general_functions_example_page "This" example contemplates
746     * some of these functions.
747     */
748
749    /**
750     * Set the scaling factor for a given Elementary object
751     *
752     * @param obj The Elementary to operate on
753     * @param scale Scale factor (from @c 0.0 up, with @c 1.0 meaning
754     * no scaling)
755     *
756     * @ingroup Scaling
757     */
758    EAPI void         elm_object_scale_set(Evas_Object *obj, double scale) EINA_ARG_NONNULL(1);
759
760    /**
761     * Get the scaling factor for a given Elementary object
762     *
763     * @param obj The object
764     * @return The scaling factor set by elm_object_scale_set()
765     *
766     * @ingroup Scaling
767     */
768    EAPI double       elm_object_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
769    EAPI Eina_Bool    elm_object_mirrored_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
770    EAPI void         elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored) EINA_ARG_NONNULL(1);
771    EAPI Eina_Bool    elm_object_mirrored_automatic_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
772    EAPI void         elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic) EINA_ARG_NONNULL(1);
773    /**
774     * Set the style to use by a widget
775     *
776     * Sets the style name that will define the appearance of a widget. Styles
777     * vary from widget to widget and may also be defined by other themes
778     * by means of extensions and overlays.
779     *
780     * @param obj The Elementary widget to style
781     * @param style The style name to use
782     *
783     * @see elm_theme_extension_add()
784     * @see elm_theme_overlay_add()
785     *
786     * @ingroup Theme
787     */
788    EAPI void         elm_object_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
789    /**
790     * Get the style used by the widget
791     *
792     * This gets the style being used for that widget. Note that the string
793     * pointer is only valid as longas the object is valid and the style doesn't
794     * change.
795     *
796     * @param obj The Elementary widget to query for its style
797     * @return The style name used
798     *
799     * @see elm_object_style_set()
800     *
801     * @ingroup Theme
802     */
803    EAPI const char  *elm_object_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
804
805    /**
806     * @defgroup Styles Styles
807     *
808     * Widgets can have different styles of look. These generic API's
809     * set styles of widgets, if they support them (and if the theme(s)
810     * do).
811     *
812     * @ref general_functions_example_page "This" example contemplates
813     * some of these functions.
814     */
815
816    /**
817     * Set the disabled state of an Elementary object.
818     *
819     * @param obj The Elementary object to operate on
820     * @param disabled The state to put in in: @c EINA_TRUE for
821     *        disabled, @c EINA_FALSE for enabled
822     *
823     * Elementary objects can be @b disabled, in which state they won't
824     * receive input and, in general, will be themed differently from
825     * their normal state, usually greyed out. Useful for contexts
826     * where you don't want your users to interact with some of the
827     * parts of you interface.
828     *
829     * This sets the state for the widget, either disabling it or
830     * enabling it back.
831     *
832     * @ingroup Styles
833     */
834    EAPI void         elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
835
836    /**
837     * Get the disabled state of an Elementary object.
838     *
839     * @param obj The Elementary object to operate on
840     * @return @c EINA_TRUE, if the widget is disabled, @c EINA_FALSE
841     *            if it's enabled (or on errors)
842     *
843     * This gets the state of the widget, which might be enabled or disabled.
844     *
845     * @ingroup Styles
846     */
847    EAPI Eina_Bool    elm_object_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
848
849    /**
850     * @defgroup WidgetNavigation Widget Tree Navigation.
851     *
852     * How to check if an Evas Object is an Elementary widget? How to
853     * get the first elementary widget that is parent of the given
854     * object?  These are all covered in widget tree navigation.
855     *
856     * @ref general_functions_example_page "This" example contemplates
857     * some of these functions.
858     */
859
860    EAPI Eina_Bool    elm_object_widget_check(const Evas_Object *obj) EINA_ARG_NONNULL(1);
861
862    /**
863     * Get the first parent of the given object that is an Elementary
864     * widget.
865     *
866     * @param obj the Elementary object to query parent from.
867     * @return the parent object that is an Elementary widget, or @c
868     *         NULL, if it was not found.
869     *
870     * Use this to query for an object's parent widget.
871     *
872     * @note Most of Elementary users wouldn't be mixing non-Elementary
873     * smart objects in the objects tree of an application, as this is
874     * an advanced usage of Elementary with Evas. So, except for the
875     * application's window, which is the root of that tree, all other
876     * objects would have valid Elementary widget parents.
877     *
878     * @ingroup WidgetNavigation
879     */
880    EAPI Evas_Object *elm_object_parent_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
881    EAPI Evas_Object *elm_object_top_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
882    EAPI const char  *elm_object_widget_type_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
883
884    EAPI double       elm_scale_get(void);
885    EAPI void         elm_scale_set(double scale);
886    EAPI void         elm_scale_all_set(double scale);
887
888    EAPI Eina_Bool    elm_mirrored_get(void);
889    EAPI void         elm_mirrored_set(Eina_Bool mirrored);
890
891    EAPI Eina_Bool    elm_config_save(void);
892    EAPI void         elm_config_reload(void);
893
894    EAPI const char  *elm_profile_current_get(void);
895    EAPI const char  *elm_profile_dir_get(const char *profile, Eina_Bool is_user);
896    EAPI void         elm_profile_dir_free(const char *p_dir);
897    EAPI Eina_List   *elm_profile_list_get(void);
898    EAPI void         elm_profile_list_free(Eina_List *l);
899    EAPI void         elm_profile_set(const char *profile);
900    EAPI void         elm_profile_all_set(const char *profile);
901
902    EAPI const char  *elm_engine_current_get(void);
903    EAPI void         elm_engine_set(const char *engine);
904
905   typedef struct _Elm_Text_Class
906     {
907        const char *name;
908        const char *desc;
909     } Elm_Text_Class;
910
911   typedef struct _Elm_Font_Overlay
912     {
913        const char     *text_class;
914        const char     *font;
915        Evas_Font_Size  size;
916     } Elm_Font_Overlay;
917
918   typedef struct _Elm_Font_Properties
919     {
920        const char *name;
921        Eina_List  *styles;
922     } Elm_Font_Properties;
923
924    EAPI const Eina_List     *elm_text_classes_list_get(void);
925    EAPI void                 elm_text_classes_list_free(const Eina_List *list);
926
927    EAPI const Eina_List     *elm_font_overlay_list_get(void);
928    EAPI void                 elm_font_overlay_set(const char *text_class, const char *font, Evas_Font_Size size);
929    EAPI void                 elm_font_overlay_unset(const char *text_class);
930    EAPI void                 elm_font_overlay_apply(void);
931    EAPI void                 elm_font_overlay_all_apply(void);
932
933    EAPI Elm_Font_Properties *elm_font_properties_get(const char *font) EINA_ARG_NONNULL(1);
934    EAPI void                 elm_font_properties_free(Elm_Font_Properties *efp) EINA_ARG_NONNULL(1);
935    EAPI const char          *elm_font_fontconfig_name_get(const char *name, const char *style) EINA_ARG_NONNULL(1);
936    EAPI void                 elm_font_fontconfig_name_free(const char *name) EINA_ARG_NONNULL(1);
937    EAPI Eina_Hash           *elm_font_available_hash_add(Eina_List *list);
938    EAPI void                 elm_font_available_hash_del(Eina_Hash *hash);
939
940    /**
941     * @defgroup Fingers Fingers
942     *
943     * Elementary is designed to be finger-friendly for touchscreens,
944     * and so in addition to scaling for display resolution, it can
945     * also scale based on finger "resolution" (or size). You can then
946     * customize the granularity of the areas meant to receive clicks
947     * on touchscreens.
948     *
949     * Different profiles may have pre-set values for finger sizes.
950     *
951     * @ref general_functions_example_page "This" example contemplates
952     * some of these functions.
953     */
954
955    /**
956     * Get the configured "finger size"
957     *
958     * @return The finger size
959     *
960     * This gets the globally configured finger size, <b>in pixels</b>
961     *
962     * @ingroup Fingers
963     */
964    EAPI Evas_Coord       elm_finger_size_get(void);
965    EAPI void             elm_finger_size_set(Evas_Coord size);
966    EAPI void             elm_finger_size_all_set(Evas_Coord size);
967
968    /**
969     * @defgroup Focus Focus
970     *
971     * An Elementary application has, at all times, one (and only one)
972     * @b focused object. This is what determines where the input
973     * events go to within the application's window. Also, focused
974     * objects can be decorated differently, in order to signal to the
975     * user where the input is, at a given moment.
976     *
977     * Elementary applications also have the concept of <b>focus
978     * chain</b>: one can cycle through all the windows' focusable
979     * objects by input (tab key) or programmatically. The default
980     * focus chain for an application is the one define by the order in
981     * which the widgets where added in code. One will cycle through
982     * top level widgets, and, for each one containg sub-objects, cycle
983     * through them all, before returning to the level
984     * above. Elementary also allows one to set @b custom focus chains
985     * for their applications.
986     *
987     * Besides the focused decoration a widget may exhibit, when it
988     * gets focus, Elementary has a @b global focus highlight object
989     * that can be enabled for a window. If one chooses to do so, this
990     * extra highlight effect will surround the current focused object,
991     * too.
992     *
993     * @note Some Elementary widgets are @b unfocusable, after
994     * creation, by their very nature: they are not meant to be
995     * interacted with input events, but are there just for visual
996     * purposes.
997     *
998     * @ref general_functions_example_page "This" example contemplates
999     * some of these functions.
1000     */
1001
1002    EAPI Eina_Bool        elm_focus_highlight_enabled_get(void);
1003    EAPI void             elm_focus_highlight_enabled_set(Eina_Bool enable);
1004    EAPI Eina_Bool        elm_focus_highlight_animate_get(void);
1005    EAPI void             elm_focus_highlight_animate_set(Eina_Bool animate);
1006
1007    /**
1008     * Get the whether an Elementary object has the focus or not.
1009     *
1010     * @param obj The Elementary object to get the information from
1011     * @return @c EINA_TRUE, if the object is focused, @c EINA_FALSE if
1012     *            not (and on errors).
1013     *
1014     * @see elm_object_focus()
1015     *
1016     * @ingroup Focus
1017     */
1018    EAPI Eina_Bool        elm_object_focus_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1019
1020    /**
1021     * Make a given Elementary object the focused one.
1022     *
1023     * @param obj The Elementary object to make focused.
1024     *
1025     * @note This object, if it can handle focus, will take the focus
1026     * away from the one who had it previously and will, for now on, be
1027     * the one receiving input events.
1028     *
1029     * @see elm_object_focus_get()
1030     *
1031     * @ingroup Focus
1032     */
1033    EAPI void             elm_object_focus(Evas_Object *obj) EINA_ARG_NONNULL(1);
1034
1035    /**
1036     * Remove the focus from an Elementary object
1037     *
1038     * @param obj The Elementary to take focus from
1039     *
1040     * This removes the focus from @p obj, passing it back to the
1041     * previous element in the focus chain list.
1042     *
1043     * @see elm_object_focus() and elm_object_focus_custom_chain_get()
1044     *
1045     * @ingroup Focus
1046     */
1047    EAPI void             elm_object_unfocus(Evas_Object *obj) EINA_ARG_NONNULL(1);
1048
1049    /**
1050     * Set the ability for an Element object to be focused
1051     *
1052     * @param obj The Elementary object to operate on
1053     * @param enable @c EINA_TRUE if the object can be focused, @c
1054     *        EINA_FALSE if not (and on errors)
1055     *
1056     * This sets whether the object @p obj is able to take focus or
1057     * not. Unfocusable objects do nothing when programmatically
1058     * focused, being the nearest focusable parent object the one
1059     * really getting focus. Also, when they receive mouse input, they
1060     * will get the event, but not take away the focus from where it
1061     * was previously.
1062     *
1063     * @ingroup Focus
1064     */
1065    EAPI void             elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable) EINA_ARG_NONNULL(1);
1066
1067    /**
1068     * Get whether an Elementary object is focusable or not
1069     *
1070     * @param obj The Elementary object to operate on
1071     * @return @c EINA_TRUE if the object is allowed to be focused, @c
1072     *             EINA_FALSE if not (and on errors)
1073     *
1074     * @note Objects which are meant to be interacted with by input
1075     * events are created able to be focused, by default. All the
1076     * others are not.
1077     *
1078     * @ingroup Focus
1079     */
1080    EAPI Eina_Bool        elm_object_focus_allow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1081
1082    EAPI void             elm_object_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs) EINA_ARG_NONNULL(1);
1083    EAPI void             elm_object_focus_custom_chain_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
1084    EAPI const Eina_List *elm_object_focus_custom_chain_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1085    EAPI void             elm_object_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
1086    EAPI void             elm_object_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
1087    EAPI void             elm_object_focus_cycle(Evas_Object *obj, Elm_Focus_Direction dir) EINA_ARG_NONNULL(1);
1088    EAPI void             elm_object_focus_direction_go(Evas_Object *obj, int x, int y) EINA_ARG_NONNULL(1);
1089
1090    EAPI Eina_Bool        elm_scroll_bounce_enabled_get(void);
1091    EAPI void             elm_scroll_bounce_enabled_set(Eina_Bool enabled);
1092    EAPI void             elm_scroll_bounce_enabled_all_set(Eina_Bool enabled);
1093    EAPI double           elm_scroll_bounce_friction_get(void);
1094    EAPI void             elm_scroll_bounce_friction_set(double friction);
1095    EAPI void             elm_scroll_bounce_friction_all_set(double friction);
1096    EAPI double           elm_scroll_page_scroll_friction_get(void);
1097    EAPI void             elm_scroll_page_scroll_friction_set(double friction);
1098    EAPI void             elm_scroll_page_scroll_friction_all_set(double friction);
1099    EAPI double           elm_scroll_bring_in_scroll_friction_get(void);
1100    EAPI void             elm_scroll_bring_in_scroll_friction_set(double friction);
1101    EAPI void             elm_scroll_bring_in_scroll_friction_all_set(double friction);
1102    EAPI double           elm_scroll_zoom_friction_get(void);
1103    EAPI void             elm_scroll_zoom_friction_set(double friction);
1104    EAPI void             elm_scroll_zoom_friction_all_set(double friction);
1105    EAPI Eina_Bool        elm_scroll_thumbscroll_enabled_get(void);
1106    EAPI void             elm_scroll_thumbscroll_enabled_set(Eina_Bool enabled);
1107    EAPI void             elm_scroll_thumbscroll_enabled_all_set(Eina_Bool enabled);
1108    EAPI unsigned int     elm_scroll_thumbscroll_threshold_get(void);
1109    EAPI void             elm_scroll_thumbscroll_threshold_set(unsigned int threshold);
1110    EAPI void             elm_scroll_thumbscroll_threshold_all_set(unsigned int threshold);
1111    EAPI double           elm_scroll_thumbscroll_momentum_threshold_get(void);
1112    EAPI void             elm_scroll_thumbscroll_momentum_threshold_set(double threshold);
1113    EAPI void             elm_scroll_thumbscroll_momentum_threshold_all_set(double threshold);
1114    EAPI double           elm_scroll_thumbscroll_friction_get(void);
1115    EAPI void             elm_scroll_thumbscroll_friction_set(double friction);
1116    EAPI void             elm_scroll_thumbscroll_friction_all_set(double friction);
1117    EAPI double           elm_scroll_thumbscroll_border_friction_get(void);
1118    EAPI void             elm_scroll_thumbscroll_border_friction_set(double friction);
1119    EAPI void             elm_scroll_thumbscroll_border_friction_all_set(double friction);
1120
1121    EAPI void             elm_object_scroll_hold_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
1122    EAPI void             elm_object_scroll_hold_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
1123    EAPI void             elm_object_scroll_freeze_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
1124    EAPI void             elm_object_scroll_freeze_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
1125    EAPI void             elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
1126    EAPI void             elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
1127    EAPI Eina_Bool        elm_object_scroll_lock_x_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1128    EAPI Eina_Bool        elm_object_scroll_lock_y_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1129
1130    EAPI void             elm_object_signal_emit(Evas_Object *obj, const char *emission, const char *source) EINA_ARG_NONNULL(1);
1131    EAPI void             elm_object_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, void (*func) (void *data, Evas_Object *o, const char *emission, const char *source), void *data) EINA_ARG_NONNULL(1, 4);
1132    EAPI void            *elm_object_signal_callback_del(Evas_Object *obj, const char *emission, const char *source, void (*func) (void *data, Evas_Object *o, const char *emission, const char *source)) EINA_ARG_NONNULL(1, 4);
1133
1134    EAPI void             elm_object_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
1135    EAPI void            *elm_object_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
1136
1137    /**
1138     * Adjust size of an element for finger usage.
1139     *
1140     * @param times_w How many fingers should fit horizontally
1141     * @param w Pointer to the width size to adjust
1142     * @param times_h How many fingers should fit vertically
1143     * @param h Pointer to the height size to adjust
1144     *
1145     * This takes width and height sizes (in pixels) as input and a
1146     * size multiple (which is how many fingers you want to place
1147     * within the area, being "finger" the size set by
1148     * elm_finger_size_set()), and adjusts the size to be large enough
1149     * to accommodate the resulting size -- if it doesn't already
1150     * accommodate it. On return the @p w and @p h sizes pointed to by
1151     * these parameters will be modified, on those conditions.
1152     *
1153     * @note This is kind of a low level Elementary call, most useful
1154     * on size evaluation times for widgets. An external user wouldn't
1155     * be calling, most of the time.
1156     *
1157     * @ingroup Fingers
1158     */
1159    EAPI void             elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h);
1160
1161    EAPI double           elm_longpress_timeout_get(void);
1162    EAPI void             elm_longpress_timeout_set(double longpress_timeout);
1163
1164    /* debug
1165     * don't use it unless you are sure
1166     */
1167    EAPI void             elm_object_tree_dump(const Evas_Object *top);
1168    EAPI void             elm_object_tree_dot_dump(const Evas_Object *top, const char *file);
1169
1170
1171    /* theme */
1172    /**
1173     * @defgroup Theme Theme
1174     *
1175     * Elementary uses Edje to theme its widgets, naturally. But for the most
1176     * part this is hidden behind a simpler interface that lets the user set
1177     * extensions and choose the style of widgets in a much easier way.
1178     *
1179     * Instead of thinking in terms of paths to Edje files and their groups
1180     * each time you want to change the appearance of a widget, Elementary
1181     * works so you can add any theme file with extensions or replace the
1182     * main theme at one point in the application, and then just set the style
1183     * of widgets with elm_object_style_set() and related functions. Elementary
1184     * will then look in its list of themes for a matching group and apply it,
1185     * and when the theme changes midway through the application, all widgets
1186     * will be updated accordingly.
1187     *
1188     * There are three concepts you need to know to understand how Elementary
1189     * theming works: default theme, extensions and overlays.
1190     *
1191     * Default theme, obviously enough, is the one that provides the default
1192     * look of all widgets. End users can change the theme used by Elementary
1193     * by setting the @c ELM_THEME environment variable before running an
1194     * application, or globally for all programs using the @c elementary_config
1195     * utility. Applications can change the default theme using elm_theme_set(),
1196     * but this can go against the user wishes, so it's not an adviced practice.
1197     *
1198     * Ideally, applications should find everything they need in the already
1199     * provided theme, but there may be occasions when that's not enough and
1200     * custom styles are required to correctly express the idea. For this
1201     * cases, Elementary has extensions.
1202     *
1203     * Extensions allow the application developer to write styles of its own
1204     * to apply to some widgets. This requires knowledge of how each widget
1205     * is themed, as extensions will always replace the entire group used by
1206     * the widget, so important signals and parts need to be there for the
1207     * object to behave properly (see documentation of Edje for details).
1208     * Once the theme for the extension is done, the application needs to add
1209     * it to the list of themes Elementary will look into, using
1210     * elm_theme_extension_add(), and set the style of the desired widgets as
1211     * he would normally with elm_object_style_set().
1212     *
1213     * Overlays, on the other hand, can replace the look of all widgets by
1214     * overriding the default style. Like extensions, it's up to the application
1215     * developer to write the theme for the widgets it wants, the difference
1216     * being that when looking for the theme, Elementary will check first the
1217     * list of overlays, then the set theme and lastly the list of extensions,
1218     * so with overlays it's possible to replace the default view and every
1219     * widget will be affected. This is very much alike to setting the whole
1220     * theme for the application and will probably clash with the end user
1221     * options, not to mention the risk of ending up with not matching styles
1222     * across the program. Unless there's a very special reason to use them,
1223     * overlays should be avoided for the resons exposed before.
1224     *
1225     * All these theme lists are handled by ::Elm_Theme instances. Elementary
1226     * keeps one default internally and every function that receives one of
1227     * these can be called with NULL to refer to this default (except for
1228     * elm_theme_free()). It's possible to create a new instance of a
1229     * ::Elm_Theme to set other theme for a specific widget (and all of its
1230     * children), but this is as discouraged, if not even more so, than using
1231     * overlays. Don't use this unless you really know what you are doing.
1232     *
1233     * But to be less negative about things, you can look at the following
1234     * examples:
1235     * @li @ref theme_example_01 "Using extensions"
1236     * @li @ref theme_example_02 "Using overlays"
1237     *
1238     * @{
1239     */
1240    /**
1241     * @typedef Elm_Theme
1242     *
1243     * Opaque handler for the list of themes Elementary looks for when
1244     * rendering widgets.
1245     *
1246     * Stay out of this unless you really know what you are doing. For most
1247     * cases, sticking to the default is all a developer needs.
1248     */
1249    typedef struct _Elm_Theme Elm_Theme;
1250
1251    /**
1252     * Create a new specific theme
1253     *
1254     * This creates an empty specific theme that only uses the default theme. A
1255     * specific theme has its own private set of extensions and overlays too
1256     * (which are empty by default). Specific themes do not fall back to themes
1257     * of parent objects. They are not intended for this use. Use styles, overlays
1258     * and extensions when needed, but avoid specific themes unless there is no
1259     * other way (example: you want to have a preview of a new theme you are
1260     * selecting in a "theme selector" window. The preview is inside a scroller
1261     * and should display what the theme you selected will look like, but not
1262     * actually apply it yet. The child of the scroller will have a specific
1263     * theme set to show this preview before the user decides to apply it to all
1264     * applications).
1265     */
1266    EAPI Elm_Theme       *elm_theme_new(void);
1267    /**
1268     * Free a specific theme
1269     *
1270     * @param th The theme to free
1271     *
1272     * This frees a theme created with elm_theme_new().
1273     */
1274    EAPI void             elm_theme_free(Elm_Theme *th);
1275    /**
1276     * Copy the theme fom the source to the destination theme
1277     *
1278     * @param th The source theme to copy from
1279     * @param thdst The destination theme to copy data to
1280     *
1281     * This makes a one-time static copy of all the theme config, extensions
1282     * and overlays from @p th to @p thdst. If @p th references a theme, then
1283     * @p thdst is also set to reference it, with all the theme settings,
1284     * overlays and extensions that @p th had.
1285     */
1286    EAPI void             elm_theme_copy(Elm_Theme *th, Elm_Theme *thdst);
1287    /**
1288     * Tell the source theme to reference the ref theme
1289     *
1290     * @param th The theme that will do the referencing
1291     * @param thref The theme that is the reference source
1292     *
1293     * This clears @p th to be empty and then sets it to refer to @p thref
1294     * so @p th acts as an override to @p thref, but where its overrides
1295     * don't apply, it will fall through to @pthref for configuration.
1296     */
1297    EAPI void             elm_theme_ref_set(Elm_Theme *th, Elm_Theme *thref);
1298    /**
1299     * Return the theme referred to
1300     *
1301     * @param th The theme to get the reference from
1302     * @return The referenced theme handle
1303     *
1304     * This gets the theme set as the reference theme by elm_theme_ref_set().
1305     * If no theme is set as a reference, NULL is returned.
1306     */
1307    EAPI Elm_Theme       *elm_theme_ref_get(Elm_Theme *th);
1308    /**
1309     * Return the default theme
1310     *
1311     * @return The default theme handle
1312     *
1313     * This returns the internal default theme setup handle that all widgets
1314     * use implicitly unless a specific theme is set. This is also often use
1315     * as a shorthand of NULL.
1316     */
1317    EAPI Elm_Theme       *elm_theme_default_get(void);
1318    /**
1319     * Prepends a theme overlay to the list of overlays
1320     *
1321     * @param th The theme to add to, or if NULL, the default theme
1322     * @param item The Edje file path to be used
1323     *
1324     * Use this if your application needs to provide some custom overlay theme
1325     * (An Edje file that replaces some default styles of widgets) where adding
1326     * new styles, or changing system theme configuration is not possible. Do
1327     * NOT use this instead of a proper system theme configuration. Use proper
1328     * configuration files, profiles, environment variables etc. to set a theme
1329     * so that the theme can be altered by simple confiugration by a user. Using
1330     * this call to achieve that effect is abusing the API and will create lots
1331     * of trouble.
1332     *
1333     * @see elm_theme_extension_add()
1334     */
1335    EAPI void             elm_theme_overlay_add(Elm_Theme *th, const char *item);
1336    /**
1337     * Delete a theme overlay from the list of overlays
1338     *
1339     * @param th The theme to delete from, or if NULL, the default theme
1340     * @param item The name of the theme overlay
1341     *
1342     * @see elm_theme_overlay_add()
1343     */
1344    EAPI void             elm_theme_overlay_del(Elm_Theme *th, const char *item);
1345    /**
1346     * Appends a theme extension to the list of extensions.
1347     *
1348     * @param th The theme to add to, or if NULL, the default theme
1349     * @param item The Edje file path to be used
1350     *
1351     * This is intended when an application needs more styles of widgets or new
1352     * widget themes that the default does not provide (or may not provide). The
1353     * application has "extended" usage by coming up with new custom style names
1354     * for widgets for specific uses, but as these are not "standard", they are
1355     * not guaranteed to be provided by a default theme. This means the
1356     * application is required to provide these extra elements itself in specific
1357     * Edje files. This call adds one of those Edje files to the theme search
1358     * path to be search after the default theme. The use of this call is
1359     * encouraged when default styles do not meet the needs of the application.
1360     * Use this call instead of elm_theme_overlay_add() for almost all cases.
1361     *
1362     * @see elm_object_style_set()
1363     */
1364    EAPI void             elm_theme_extension_add(Elm_Theme *th, const char *item);
1365    /**
1366     * Deletes a theme extension from the list of extensions.
1367     *
1368     * @param th The theme to delete from, or if NULL, the default theme
1369     * @param item The name of the theme extension
1370     *
1371     * @see elm_theme_extension_add()
1372     */
1373    EAPI void             elm_theme_extension_del(Elm_Theme *th, const char *item);
1374    /**
1375     * Set the theme search order for the given theme
1376     *
1377     * @param th The theme to set the search order, or if NULL, the default theme
1378     * @param theme Theme search string
1379     *
1380     * This sets the search string for the theme in path-notation from first
1381     * theme to search, to last, delimited by the : character. Example:
1382     *
1383     * "shiny:/path/to/file.edj:default"
1384     *
1385     * See the ELM_THEME environment variable for more information.
1386     *
1387     * @see elm_theme_get()
1388     * @see elm_theme_list_get()
1389     */
1390    EAPI void             elm_theme_set(Elm_Theme *th, const char *theme);
1391    /**
1392     * Return the theme search order
1393     *
1394     * @param th The theme to get the search order, or if NULL, the default theme
1395     * @return The internal search order path
1396     *
1397     * This function returns a colon separated string of theme elements as
1398     * returned by elm_theme_list_get().
1399     *
1400     * @see elm_theme_set()
1401     * @see elm_theme_list_get()
1402     */
1403    EAPI const char      *elm_theme_get(Elm_Theme *th);
1404    /**
1405     * Return a list of theme elements to be used in a theme.
1406     *
1407     * @param th Theme to get the list of theme elements from.
1408     * @return The internal list of theme elements
1409     *
1410     * This returns the internal list of theme elements (will only be valid as
1411     * long as the theme is not modified by elm_theme_set() or theme is not
1412     * freed by elm_theme_free(). This is a list of strings which must not be
1413     * altered as they are also internal. If @p th is NULL, then the default
1414     * theme element list is returned.
1415     *
1416     * A theme element can consist of a full or relative path to a .edj file,
1417     * or a name, without extension, for a theme to be searched in the known
1418     * theme paths for Elemementary.
1419     *
1420     * @see elm_theme_set()
1421     * @see elm_theme_get()
1422     */
1423    EAPI const Eina_List *elm_theme_list_get(const Elm_Theme *th);
1424    /**
1425     * Return the full patrh for a theme element
1426     *
1427     * @param f The theme element name
1428     * @param in_search_path Pointer to a boolean to indicate if item is in the search path or not
1429     * @return The full path to the file found.
1430     *
1431     * This returns a string you should free with free() on success, NULL on
1432     * failure. This will search for the given theme element, and if it is a
1433     * full or relative path element or a simple searchable name. The returned
1434     * path is the full path to the file, if searched, and the file exists, or it
1435     * is simply the full path given in the element or a resolved path if
1436     * relative to home. The @p in_search_path boolean pointed to is set to
1437     * EINA_TRUE if the file was a searchable file andis in the search path,
1438     * and EINA_FALSE otherwise.
1439     */
1440    EAPI char            *elm_theme_list_item_path_get(const char *f, Eina_Bool *in_search_path);
1441    /**
1442     * Flush the current theme.
1443     *
1444     * @param th Theme to flush
1445     *
1446     * This flushes caches that let elementary know where to find theme elements
1447     * in the given theme. If @p th is NULL, then the default theme is flushed.
1448     * Call this function if source theme data has changed in such a way as to
1449     * make any caches Elementary kept invalid.
1450     */
1451    EAPI void             elm_theme_flush(Elm_Theme *th);
1452    /**
1453     * This flushes all themes (default and specific ones).
1454     *
1455     * This will flush all themes in the current application context, by calling
1456     * elm_theme_flush() on each of them.
1457     */
1458    EAPI void             elm_theme_full_flush(void);
1459    /**
1460     * Set the theme for all elementary using applications on the current display
1461     *
1462     * @param theme The name of the theme to use. Format same as the ELM_THEME
1463     * environment variable.
1464     */
1465    EAPI void             elm_theme_all_set(const char *theme);
1466    /**
1467     * Return a list of theme elements in the theme search path
1468     *
1469     * @return A list of strings that are the theme element names.
1470     *
1471     * This lists all available theme files in the standard Elementary search path
1472     * for theme elements, and returns them in alphabetical order as theme
1473     * element names in a list of strings. Free this with
1474     * elm_theme_name_available_list_free() when you are done with the list.
1475     */
1476    EAPI Eina_List       *elm_theme_name_available_list_new(void);
1477    /**
1478     * Free the list returned by elm_theme_name_available_list_new()
1479     *
1480     * This frees the list of themes returned by
1481     * elm_theme_name_available_list_new(). Once freed the list should no longer
1482     * be used. a new list mys be created.
1483     */
1484    EAPI void             elm_theme_name_available_list_free(Eina_List *list);
1485    /**
1486     * Set a specific theme to be used for this object and its children
1487     *
1488     * @param obj The object to set the theme on
1489     * @param th The theme to set
1490     *
1491     * This sets a specific theme that will be used for the given object and any
1492     * child objects it has. If @p th is NULL then the theme to be used is
1493     * cleared and the object will inherit its theme from its parent (which
1494     * ultimately will use the default theme if no specific themes are set).
1495     *
1496     * Use special themes with great care as this will annoy users and make
1497     * configuration difficult. Avoid any custom themes at all if it can be
1498     * helped.
1499     */
1500    EAPI void             elm_object_theme_set(Evas_Object *obj, Elm_Theme *th) EINA_ARG_NONNULL(1);
1501    /**
1502     * Get the specific theme to be used
1503     *
1504     * @param obj The object to get the specific theme from
1505     * @return The specifc theme set.
1506     *
1507     * This will return a specific theme set, or NULL if no specific theme is
1508     * set on that object. It will not return inherited themes from parents, only
1509     * the specific theme set for that specific object. See elm_object_theme_set()
1510     * for more information.
1511     */
1512    EAPI Elm_Theme       *elm_object_theme_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1513    /**
1514     * @}
1515     */
1516
1517    /* win */
1518    typedef enum _Elm_Win_Type
1519      {
1520         ELM_WIN_BASIC,
1521         ELM_WIN_DIALOG_BASIC,
1522         ELM_WIN_DESKTOP,
1523         ELM_WIN_DOCK,
1524         ELM_WIN_TOOLBAR,
1525         ELM_WIN_MENU,
1526         ELM_WIN_UTILITY,
1527         ELM_WIN_SPLASH,
1528         ELM_WIN_DROPDOWN_MENU,
1529         ELM_WIN_POPUP_MENU,
1530         ELM_WIN_TOOLTIP,
1531         ELM_WIN_NOTIFICATION,
1532         ELM_WIN_COMBO,
1533         ELM_WIN_DND,
1534         ELM_WIN_INLINED_IMAGE,
1535      } Elm_Win_Type;
1536
1537    typedef enum _Elm_Win_Keyboard_Mode
1538      {
1539         ELM_WIN_KEYBOARD_UNKNOWN,
1540         ELM_WIN_KEYBOARD_OFF,
1541         ELM_WIN_KEYBOARD_ON,
1542         ELM_WIN_KEYBOARD_ALPHA,
1543         ELM_WIN_KEYBOARD_NUMERIC,
1544         ELM_WIN_KEYBOARD_PIN,
1545         ELM_WIN_KEYBOARD_PHONE_NUMBER,
1546         ELM_WIN_KEYBOARD_HEX,
1547         ELM_WIN_KEYBOARD_TERMINAL,
1548         ELM_WIN_KEYBOARD_PASSWORD,
1549         ELM_WIN_KEYBOARD_IP,
1550         ELM_WIN_KEYBOARD_HOST,
1551         ELM_WIN_KEYBOARD_FILE,
1552         ELM_WIN_KEYBOARD_URL,
1553         ELM_WIN_KEYBOARD_KEYPAD,
1554         ELM_WIN_KEYBOARD_J2ME
1555      } Elm_Win_Keyboard_Mode;
1556
1557    typedef enum _Elm_Illume_Command
1558      {
1559         ELM_ILLUME_COMMAND_FOCUS_BACK,
1560         ELM_ILLUME_COMMAND_FOCUS_FORWARD,
1561         ELM_ILLUME_COMMAND_FOCUS_HOME,
1562         ELM_ILLUME_COMMAND_CLOSE
1563      } Elm_Illume_Command;
1564
1565    EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type);
1566    EAPI void         elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
1567    EAPI void         elm_win_resize_object_del(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
1568    EAPI void         elm_win_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
1569    EAPI const char  *elm_win_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1570    EAPI void         elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel) EINA_ARG_NONNULL(1);
1571    EAPI Eina_Bool    elm_win_autodel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1572    EAPI void         elm_win_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
1573    EAPI void         elm_win_lower(Evas_Object *obj) EINA_ARG_NONNULL(1);
1574    EAPI void         elm_win_raise(Evas_Object *obj) EINA_ARG_NONNULL(1);
1575    EAPI void         elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless) EINA_ARG_NONNULL(1);
1576    EAPI Eina_Bool    elm_win_borderless_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1577    EAPI void         elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped) EINA_ARG_NONNULL(1);
1578    EAPI Eina_Bool    elm_win_shaped_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1579    EAPI void         elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
1580    EAPI Eina_Bool    elm_win_transparent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1581    EAPI void         elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent) EINA_ARG_NONNULL(1);
1582    EAPI Eina_Bool    elm_win_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1583    EAPI void         elm_win_override_set(Evas_Object *obj, Eina_Bool override) EINA_ARG_NONNULL(1);
1584    EAPI Eina_Bool    elm_win_override_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1585    EAPI void         elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen) EINA_ARG_NONNULL(1);
1586    EAPI Eina_Bool    elm_win_fullscreen_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1587    EAPI void         elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized) EINA_ARG_NONNULL(1);
1588    EAPI Eina_Bool    elm_win_maximized_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1589    EAPI void         elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified) EINA_ARG_NONNULL(1);
1590    EAPI Eina_Bool    elm_win_iconified_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1591    EAPI void         elm_win_layer_set(Evas_Object *obj, int layer) EINA_ARG_NONNULL(1);
1592    EAPI int          elm_win_layer_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1593    EAPI void         elm_win_rotation_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
1594    EAPI void         elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
1595    EAPI int          elm_win_rotation_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1596    EAPI void         elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky) EINA_ARG_NONNULL(1);
1597    EAPI Eina_Bool    elm_win_sticky_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1598    EAPI void         elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant) EINA_ARG_NONNULL(1);
1599    EAPI Eina_Bool    elm_win_conformant_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1600    EAPI void         elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel) EINA_ARG_NONNULL(1);
1601    EAPI Eina_Bool    elm_win_quickpanel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1602    EAPI void         elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
1603    EAPI int          elm_win_quickpanel_priority_major_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1604    EAPI void         elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
1605    EAPI int          elm_win_quickpanel_priority_minor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1606    EAPI void         elm_win_quickpanel_zone_set(Evas_Object *obj, int zone) EINA_ARG_NONNULL(1);
1607    EAPI int          elm_win_quickpanel_zone_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1608    EAPI void         elm_win_prop_focus_skip_set(Evas_Object *obj, Eina_Bool skip) EINA_ARG_NONNULL(1);
1609    EAPI void         elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, void *params) EINA_ARG_NONNULL(1);
1610    EAPI Evas_Object *elm_win_inlined_image_object_get(Evas_Object *obj);
1611    EAPI void         elm_win_focus_highlight_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
1612    EAPI Eina_Bool    elm_win_focus_highlight_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1613    EAPI void         elm_win_focus_highlight_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
1614    EAPI const char  *elm_win_focus_highlight_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1615    /*...
1616     * ecore_x_icccm_hints_set -> accepts_focus (add to ecore_evas)
1617     * ecore_x_icccm_hints_set -> window_group (add to ecore_evas)
1618     * ecore_x_icccm_size_pos_hints_set -> request_pos (add to ecore_evas)
1619     * ecore_x_icccm_client_leader_set -> l (add to ecore_evas)
1620     * ecore_x_icccm_window_role_set -> role (add to ecore_evas)
1621     * ecore_x_icccm_transient_for_set -> forwin (add to ecore_evas)
1622     * ecore_x_netwm_window_type_set -> type (add to ecore_evas)
1623     *
1624     * (add to ecore_x) set netwm argb icon! (add to ecore_evas)
1625     * (blank mouse, private mouse obj, defaultmouse)
1626     *
1627     */
1628    EAPI void                  elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode) EINA_ARG_NONNULL(1);
1629    EAPI Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1630    EAPI void                  elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard) EINA_ARG_NONNULL(1);
1631    EAPI Eina_Bool             elm_win_keyboard_win_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1632
1633    EAPI void                  elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y) EINA_ARG_NONNULL(1);
1634
1635    EAPI Evas_Object          *elm_win_inwin_add(Evas_Object *obj) EINA_ARG_NONNULL(1);
1636    EAPI void                  elm_win_inwin_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
1637    EAPI void                  elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
1638    EAPI Evas_Object          *elm_win_inwin_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1639    EAPI Evas_Object          *elm_win_inwin_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
1640    /* available styles:
1641     * default
1642     * minimal
1643     * minimal_vertical
1644     */
1645    /* X specific calls - won't work on non-x engines (return 0) */
1646    EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1647    /* smart callbacks called:
1648     * "delete,request" - the user requested to delete the window
1649     * "focus,in" - window got focus
1650     * "focus,out" - window lost focus
1651     * "moved" - window that holds the canvas was moved
1652     */
1653
1654    /**
1655     * @defgroup Bg Bg
1656     *
1657     * @brief Background object, used for setting a solid color, image or Edje
1658     * group as background to a window or any container object.
1659     *
1660     * The bg object is used for setting a solid background to a window or
1661     * packing into any container object. It works just like an image, but has
1662     * some properties useful to a background, like setting it to tiled,
1663     * centered, scaled or stretched.
1664     *
1665     * Here is some sample code using it:
1666     * @li @ref bg_01_example_page
1667     * @li @ref bg_02_example_page
1668     * @li @ref bg_03_example_page
1669     */
1670
1671    /* bg */
1672    typedef enum _Elm_Bg_Option
1673      {
1674         ELM_BG_OPTION_CENTER,  /**< center the background */
1675         ELM_BG_OPTION_SCALE,   /**< scale the background retaining aspect ratio */
1676         ELM_BG_OPTION_STRETCH, /**< stretch the background to fill */
1677         ELM_BG_OPTION_TILE     /**< tile background at its original size */
1678      } Elm_Bg_Option;
1679
1680    /**
1681     * Add a new background to the parent
1682     *
1683     * @param parent The parent object
1684     * @return The new object or NULL if it cannot be created
1685     *
1686     * @ingroup Bg
1687     */
1688    EAPI Evas_Object  *elm_bg_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
1689
1690    /**
1691     * Set the file (image or edje) used for the background
1692     *
1693     * @param obj The bg object
1694     * @param file The file path
1695     * @param group Optional key (group in Edje) within the file
1696     *
1697     * This sets the image file used in the background object. The image (or edje)
1698     * will be stretched (retaining aspect if its an image file) to completely fill
1699     * the bg object. This may mean some parts are not visible.
1700     *
1701     * @note  Once the image of @p obj is set, a previously set one will be deleted,
1702     * even if @p file is NULL.
1703     *
1704     * @ingroup Bg
1705     */
1706    EAPI void          elm_bg_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
1707
1708    /**
1709     * Get the file (image or edje) used for the background
1710     *
1711     * @param obj The bg object
1712     * @param file The file path
1713     * @param group Optional key (group in Edje) within the file
1714     *
1715     * @ingroup Bg
1716     */
1717    EAPI void          elm_bg_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
1718
1719    /**
1720     * Set the option used for the background image
1721     *
1722     * @param obj The bg object
1723     * @param option The desired background option (TILE, SCALE)
1724     *
1725     * This sets the option used for manipulating the display of the background
1726     * image. The image can be tiled or scaled.
1727     *
1728     * @ingroup Bg
1729     */
1730    EAPI void          elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option) EINA_ARG_NONNULL(1);
1731
1732    /**
1733     * Get the option used for the background image
1734     *
1735     * @param obj The bg object
1736     * @return The desired background option (CENTER, SCALE, STRETCH or TILE)
1737     *
1738     * @ingroup Bg
1739     */
1740    EAPI Elm_Bg_Option elm_bg_option_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1741    /**
1742     * Set the option used for the background color
1743     *
1744     * @param obj The bg object
1745     * @param r
1746     * @param g
1747     * @param b
1748     *
1749     * This sets the color used for the background rectangle. Its range goes
1750     * from 0 to 255.
1751     *
1752     * @ingroup Bg
1753     */
1754    EAPI void          elm_bg_color_set(Evas_Object *obj, int r, int g, int b) EINA_ARG_NONNULL(1);
1755    /**
1756     * Get the option used for the background color
1757     *
1758     * @param obj The bg object
1759     * @param r
1760     * @param g
1761     * @param b
1762     *
1763     * @ingroup Bg
1764     */
1765    EAPI void          elm_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b) EINA_ARG_NONNULL(1);
1766
1767    /**
1768     * Set the overlay object used for the background object.
1769     *
1770     * @param obj The bg object
1771     * @param overlay The overlay object
1772     *
1773     * This provides a way for elm_bg to have an 'overlay' that will be on top
1774     * of the bg. Once the over object is set, a previously set one will be
1775     * deleted, even if you set the new one to NULL. If you want to keep that
1776     * old content object, use the elm_bg_overlay_unset() function.
1777     *
1778     * @ingroup Bg
1779     */
1780
1781    EAPI void          elm_bg_overlay_set(Evas_Object *obj, Evas_Object *overlay) EINA_ARG_NONNULL(1);
1782
1783    /**
1784     * Get the overlay object used for the background object.
1785     *
1786     * @param obj The bg object
1787     * @return The content that is being used
1788     *
1789     * Return the content object which is set for this widget
1790     *
1791     * @ingroup Bg
1792     */
1793    EAPI Evas_Object  *elm_bg_overlay_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1794
1795    /**
1796     * Get the overlay object used for the background object.
1797     *
1798     * @param obj The bg object
1799     * @return The content that was being used
1800     *
1801     * Unparent and return the overlay object which was set for this widget
1802     *
1803     * @ingroup Bg
1804     */
1805    EAPI Evas_Object  *elm_bg_overlay_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
1806
1807    /**
1808     * Set the size of the pixmap representation of the image.
1809     *
1810     * This option just makes sense if an image is going to be set in the bg.
1811     *
1812     * @param obj The bg object
1813     * @param w The new width of the image pixmap representation.
1814     * @param h The new height of the image pixmap representation.
1815     *
1816     * This function sets a new size for pixmap representation of the given bg
1817     * image. It allows the image to be loaded already in the specified size,
1818     * reducing the memory usage and load time when loading a big image with load
1819     * size set to a smaller size.
1820     *
1821     * NOTE: this is just a hint, the real size of the pixmap may differ
1822     * depending on the type of image being loaded, being bigger than requested.
1823     *
1824     * @ingroup Bg
1825     */
1826    EAPI void          elm_bg_load_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
1827    /* smart callbacks called:
1828     */
1829
1830    /* icon */
1831    typedef enum _Elm_Icon_Lookup_Order
1832      {
1833         ELM_ICON_LOOKUP_FDO_THEME, /**< icon look up order: freedesktop, theme */
1834         ELM_ICON_LOOKUP_THEME_FDO, /**< icon look up order: theme, freedesktop */
1835         ELM_ICON_LOOKUP_FDO,       /**< icon look up order: freedesktop */
1836         ELM_ICON_LOOKUP_THEME      /**< icon look up order: theme */
1837      } Elm_Icon_Lookup_Order;
1838
1839    EAPI Evas_Object          *elm_icon_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
1840    EAPI Eina_Bool             elm_icon_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
1841    EAPI void                  elm_icon_thumb_set(const Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
1842    EAPI void                  elm_icon_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
1843    EAPI Eina_Bool             elm_icon_standard_set(Evas_Object *obj, const char *name) EINA_ARG_NONNULL(1);
1844    EAPI const char           *elm_icon_standard_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1845    EAPI void                  elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
1846    EAPI Eina_Bool             elm_icon_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1847    EAPI void                  elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
1848    EAPI Eina_Bool             elm_icon_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1849    EAPI void                  elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
1850    EAPI void                  elm_icon_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
1851    EAPI void                  elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
1852    EAPI Eina_Bool             elm_icon_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1853    EAPI void                  elm_icon_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
1854    EAPI int                   elm_icon_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1855    EAPI void                  elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
1856    EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1857    /* smart callbacks called:
1858     * "clicked" - the user clicked the icon
1859     */
1860
1861    /* image */
1862    typedef enum _Elm_Image_Orient
1863      {
1864         ELM_IMAGE_ORIENT_NONE,
1865         ELM_IMAGE_ROTATE_90_CW,
1866         ELM_IMAGE_ROTATE_180_CW,
1867         ELM_IMAGE_ROTATE_90_CCW,
1868         ELM_IMAGE_FLIP_HORIZONTAL,
1869         ELM_IMAGE_FLIP_VERTICAL,
1870         ELM_IMAGE_FLIP_TRANSPOSE,
1871         ELM_IMAGE_FLIP_TRANSVERSE
1872      } Elm_Image_Orient;
1873    EAPI Evas_Object     *elm_image_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
1874    EAPI Eina_Bool        elm_image_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
1875    EAPI void             elm_image_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
1876    EAPI void             elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
1877    EAPI Eina_Bool        elm_image_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1878    EAPI void             elm_image_object_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
1879    EAPI void             elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
1880    EAPI Eina_Bool        elm_image_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1881    EAPI void             elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
1882    EAPI void             elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
1883    EAPI void             elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
1884    EAPI Eina_Bool        elm_image_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1885    EAPI void             elm_image_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
1886    EAPI int              elm_image_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1887    EAPI void             elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient) EINA_ARG_NONNULL(1);
1888    EAPI Elm_Image_Orient elm_image_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1889    EAPI void             elm_image_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
1890    EAPI Eina_Bool        elm_image_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1891    EAPI Evas_Object     *elm_image_object_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1892    EAPI void             elm_image_aspect_ratio_retained_set(Evas_Object *obj, Eina_Bool retained) EINA_ARG_NONNULL(1);
1893    EAPI Eina_Bool        elm_image_aspect_ratio_retained_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1894
1895    /* smart callbacks called:
1896     * "clicked" - the user clicked the image
1897     */
1898
1899    /* glview */
1900    typedef void (*Elm_GLView_Func)(Evas_Object *obj);
1901
1902    typedef enum _Elm_GLView_Mode
1903      {
1904         ELM_GLVIEW_ALPHA   = 1,
1905         ELM_GLVIEW_DEPTH   = 2,
1906         ELM_GLVIEW_STENCIL = 4
1907      } Elm_GLView_Mode;
1908
1909    /**
1910     * Defines a policy for the glview resizing.
1911     *
1912     * @note Default is ELM_GLVIEW_RESIZE_POLICY_RECREATE
1913     */
1914    typedef enum _Elm_GLView_Resize_Policy
1915      {
1916         ELM_GLVIEW_RESIZE_POLICY_RECREATE = 1,      /**< Resize the internal surface along with the image */
1917         ELM_GLVIEW_RESIZE_POLICY_SCALE    = 2       /**< Only reize the internal image and not the surface */
1918      } Elm_GLView_Resize_Policy;
1919
1920    typedef enum _Elm_GLView_Render_Policy
1921      {
1922         ELM_GLVIEW_RENDER_POLICY_ON_DEMAND = 1,     /**< Render only when there is a need for redrawing */
1923         ELM_GLVIEW_RENDER_POLICY_ALWAYS    = 2      /**< Render always even when it is not visible */
1924      } Elm_GLView_Render_Policy;
1925
1926
1927    EAPI Evas_Object     *elm_glview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
1928    EAPI void             elm_glview_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
1929    EAPI void             elm_glview_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
1930    EAPI Evas_GL_API     *elm_glview_gl_api_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1931    EAPI Eina_Bool        elm_glview_mode_set(Evas_Object *obj, Elm_GLView_Mode mode) EINA_ARG_NONNULL(1);
1932    EAPI Eina_Bool        elm_glview_resize_policy_set(Evas_Object *obj, Elm_GLView_Resize_Policy policy) EINA_ARG_NONNULL(1);
1933    EAPI Eina_Bool        elm_glview_render_policy_set(Evas_Object *obj, Elm_GLView_Render_Policy policy) EINA_ARG_NONNULL(1);
1934    EAPI void             elm_glview_init_func_set(Evas_Object *obj, Elm_GLView_Func func) EINA_ARG_NONNULL(1);
1935    EAPI void             elm_glview_del_func_set(Evas_Object *obj, Elm_GLView_Func func) EINA_ARG_NONNULL(1);
1936    EAPI void             elm_glview_resize_func_set(Evas_Object *obj, Elm_GLView_Func func) EINA_ARG_NONNULL(1);
1937    EAPI void             elm_glview_render_func_set(Evas_Object *obj, Elm_GLView_Func func) EINA_ARG_NONNULL(1);
1938    EAPI void             elm_glview_changed_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
1939
1940    /* box */
1941    /**
1942     * @defgroup Box Box
1943     *
1944     * A box arranges objects in a linear fashion, governed by a layout function
1945     * that defines the details of this arrangement.
1946     *
1947     * By default, the box will use an internal function to set the layout to
1948     * a single row, either vertical or horizontal. This layout is affected
1949     * by a number of parameters, such as the homogeneous flag set by
1950     * elm_box_homogeneous_set(), the values given by elm_box_padding_set() and
1951     * elm_box_align_set() and the hints set to each object in the box.
1952     *
1953     * For this default layout, it's possible to change the orientation with
1954     * elm_box_horizontal_set(). The box will start in the vertical orientation,
1955     * placing its elements ordered from top to bottom. When horizontal is set,
1956     * the order will go from left to right. If the box is set to be
1957     * homogeneous, every object in it will be assigned the same space, that
1958     * of the largest object. Padding can be used to set some spacing between
1959     * the cell given to each object. The alignment of the box, set with
1960     * elm_box_align_set(), determines how the bounding box of all the elements
1961     * will be placed within the space given to the box widget itself.
1962     *
1963     * The size hints of each object also affect how they are placed and sized
1964     * within the box. evas_object_size_hint_min_set() will give the minimum
1965     * size the object can have, and the box will use it as the basis for all
1966     * latter calculations. Elementary widgets set their own minimum size as
1967     * needed, so there's rarely any need to use it manually.
1968     *
1969     * evas_object_size_hint_weight_set(), when not in homogeneous mode, is
1970     * used to tell whether the object will be allocated the minimum size it
1971     * needs or if the space given to it should be expanded. It's important
1972     * to realize that expanding the size given to the object is not the same
1973     * thing as resizing the object. It could very well end being a small
1974     * widget floating in a much larger empty space. If not set, the weight
1975     * for objects will normally be 0.0 for both axis, meaning the widget will
1976     * not be expanded. To take as much space possible, set the weight to
1977     * EVAS_HINT_EXPAND (defined to 1.0) for the desired axis to expand.
1978     *
1979     * Besides how much space each object is allocated, it's possible to control
1980     * how the widget will be placed within that space using
1981     * evas_object_size_hint_align_set(). By default, this value will be 0.5
1982     * for both axis, meaning the object will be centered, but any value from
1983     * 0.0 (left or top, for the @c x and @c y axis, respectively) to 1.0
1984     * (right or bottom) can be used. The special value EVAS_HINT_FILL, which
1985     * is -1.0, means the object will be resized to fill the entire space it
1986     * was allocated.
1987     *
1988     * In addition, customized functions to define the layout can be set, which
1989     * allow the application developer to organize the objects within the box
1990     * in any number of ways.
1991     *
1992     * The special elm_box_layout_transition() function can be used
1993     * to switch from one layout to another, animating the motion of the
1994     * children of the box.
1995     *
1996     * @note Objects should not be added to box objects using _add() calls.
1997     *
1998     * Some examples on how to use boxes follow:
1999     * @li @ref box_example_01
2000     * @li @ref box_example_02
2001     *
2002     * @{
2003     */
2004    /**
2005     * @typedef Elm_Box_Transition
2006     *
2007     * Opaque handler containing the parameters to perform an animated
2008     * transition of the layout the box uses.
2009     *
2010     * @see elm_box_transition_new()
2011     * @see elm_box_layout_set()
2012     * @see elm_box_layout_transition()
2013     */
2014    typedef struct _Elm_Box_Transition Elm_Box_Transition;
2015
2016    /**
2017     * Add a new box to the parent
2018     *
2019     * By default, the box will be in vertical mode and non-homogeneous.
2020     *
2021     * @param parent The parent object
2022     * @return The new object or NULL if it cannot be created
2023     */
2024    EAPI Evas_Object        *elm_box_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2025    /**
2026     * Set the horizontal orientation
2027     *
2028     * By default, box object arranges their contents vertically from top to
2029     * bottom.
2030     * By calling this function with @p horizontal as EINA_TRUE, the box will
2031     * become horizontal, arranging contents from left to right.
2032     *
2033     * @note This flag is ignored if a custom layout function is set.
2034     *
2035     * @param obj The box object
2036     * @param horizontal The horizontal flag (EINA_TRUE = horizontal,
2037     * EINA_FALSE = vertical)
2038     */
2039    EAPI void                elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
2040    /**
2041     * Get the horizontal orientation
2042     *
2043     * @param obj The box object
2044     * @return EINA_TRUE if the box is set to horizintal mode, EINA_FALSE otherwise
2045     */
2046    EAPI Eina_Bool           elm_box_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2047    /**
2048     * Set the box to arrange its children homogeneously
2049     *
2050     * If enabled, homogeneous layout makes all items the same size, according
2051     * to the size of the largest of its children.
2052     *
2053     * @note This flag is ignored if a custom layout function is set.
2054     *
2055     * @param obj The box object
2056     * @param homogeneous The homogeneous flag
2057     */
2058    EAPI void                elm_box_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
2059    /**
2060     * Get whether the box is using homogeneous mode or not
2061     *
2062     * @param obj The box object
2063     * @return EINA_TRUE if it's homogeneous, EINA_FALSE otherwise
2064     */
2065    EAPI Eina_Bool           elm_box_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2066    EINA_DEPRECATED EAPI void elm_box_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
2067    EINA_DEPRECATED EAPI Eina_Bool elm_box_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2068    /**
2069     * Add an object to the beginning of the pack list
2070     *
2071     * Pack @p subobj into the box @p obj, placing it first in the list of
2072     * children objects. The actual position the object will get on screen
2073     * depends on the layout used. If no custom layout is set, it will be at
2074     * the top or left, depending if the box is vertical or horizontal,
2075     * respectively.
2076     *
2077     * @param obj The box object
2078     * @param subobj The object to add to the box
2079     *
2080     * @see elm_box_pack_end()
2081     * @see elm_box_pack_before()
2082     * @see elm_box_pack_after()
2083     * @see elm_box_unpack()
2084     * @see elm_box_unpack_all()
2085     * @see elm_box_clear()
2086     */
2087    EAPI void                elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
2088    /**
2089     * Add an object at the end of the pack list
2090     *
2091     * Pack @p subobj into the box @p obj, placing it last in the list of
2092     * children objects. The actual position the object will get on screen
2093     * depends on the layout used. If no custom layout is set, it will be at
2094     * the bottom or right, depending if the box is vertical or horizontal,
2095     * respectively.
2096     *
2097     * @param obj The box object
2098     * @param subobj The object to add to the box
2099     *
2100     * @see elm_box_pack_start()
2101     * @see elm_box_pack_before()
2102     * @see elm_box_pack_after()
2103     * @see elm_box_unpack()
2104     * @see elm_box_unpack_all()
2105     * @see elm_box_clear()
2106     */
2107    EAPI void                elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
2108    /**
2109     * Adds an object to the box before the indicated object
2110     *
2111     * This will add the @p subobj to the box indicated before the object
2112     * indicated with @p before. If @p before is not already in the box, results
2113     * are undefined. Before means either to the left of the indicated object or
2114     * above it depending on orientation.
2115     *
2116     * @param obj The box object
2117     * @param subobj The object to add to the box
2118     * @param before The object before which to add it
2119     *
2120     * @see elm_box_pack_start()
2121     * @see elm_box_pack_end()
2122     * @see elm_box_pack_after()
2123     * @see elm_box_unpack()
2124     * @see elm_box_unpack_all()
2125     * @see elm_box_clear()
2126     */
2127    EAPI void                elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before) EINA_ARG_NONNULL(1);
2128    /**
2129     * Adds an object to the box after the indicated object
2130     *
2131     * This will add the @p subobj to the box indicated after the object
2132     * indicated with @p after. If @p after is not already in the box, results
2133     * are undefined. After means either to the right of the indicated object or
2134     * below it depending on orientation.
2135     *
2136     * @param obj The box object
2137     * @param subobj The object to add to the box
2138     * @param after The object after which to add it
2139     *
2140     * @see elm_box_pack_start()
2141     * @see elm_box_pack_end()
2142     * @see elm_box_pack_before()
2143     * @see elm_box_unpack()
2144     * @see elm_box_unpack_all()
2145     * @see elm_box_clear()
2146     */
2147    EAPI void                elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after) EINA_ARG_NONNULL(1);
2148    /**
2149     * Clear the box of all children
2150     *
2151     * Remove all the elements contained by the box, deleting the respective
2152     * objects.
2153     *
2154     * @param obj The box object
2155     *
2156     * @see elm_box_unpack()
2157     * @see elm_box_unpack_all()
2158     */
2159    EAPI void                elm_box_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
2160    /**
2161     * Unpack a box item
2162     *
2163     * Remove the object given by @p subobj from the box @p obj without
2164     * deleting it.
2165     *
2166     * @param obj The box object
2167     *
2168     * @see elm_box_unpack_all()
2169     * @see elm_box_clear()
2170     */
2171    EAPI void                elm_box_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
2172    /**
2173     * Remove all items from the box, without deleting them
2174     *
2175     * Clear the box from all children, but don't delete the respective objects.
2176     * If no other references of the box children exist, the objects will never
2177     * be deleted, and thus the application will leak the memory. Make sure
2178     * when using this function that you hold a reference to all the objects
2179     * in the box @p obj.
2180     *
2181     * @param obj The box object
2182     *
2183     * @see elm_box_clear()
2184     * @see elm_box_unpack()
2185     */
2186    EAPI void                elm_box_unpack_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
2187    /**
2188     * Retrieve a list of the objects packed into the box
2189     *
2190     * Returns a new @c Eina_List with a pointer to @c Evas_Object in its nodes.
2191     * The order of the list corresponds to the packing order the box uses.
2192     *
2193     * You must free this list with eina_list_free() once you are done with it.
2194     *
2195     * @param obj The box object
2196     */
2197    EAPI const Eina_List    *elm_box_children_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2198    /**
2199     * Set the space (padding) between the box's elements.
2200     *
2201     * Extra space in pixels that will be added between a box child and its
2202     * neighbors after its containing cell has been calculated. This padding
2203     * is set for all elements in the box, besides any possible padding that
2204     * individual elements may have through their size hints.
2205     *
2206     * @param obj The box object
2207     * @param horizontal The horizontal space between elements
2208     * @param vertical The vertical space between elements
2209     */
2210    EAPI void                elm_box_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
2211    /**
2212     * Get the space (padding) between the box's elements.
2213     *
2214     * @param obj The box object
2215     * @param horizontal The horizontal space between elements
2216     * @param vertical The vertical space between elements
2217     *
2218     * @see elm_box_padding_set()
2219     */
2220    EAPI void                elm_box_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
2221    /**
2222     * Set the alignment of the whole bouding box of contents.
2223     *
2224     * Sets how the bounding box containing all the elements of the box, after
2225     * their sizes and position has been calculated, will be aligned within
2226     * the space given for the whole box widget.
2227     *
2228     * @param obj The box object
2229     * @param horizontal The horizontal alignment of elements
2230     * @param vertical The vertical alignment of elements
2231     */
2232    EAPI void                elm_box_align_set(Evas_Object *obj, double horizontal, double vertical) EINA_ARG_NONNULL(1);
2233    /**
2234     * Get the alignment of the whole bouding box of contents.
2235     *
2236     * @param obj The box object
2237     * @param horizontal The horizontal alignment of elements
2238     * @param vertical The vertical alignment of elements
2239     *
2240     * @see elm_box_align_set()
2241     */
2242    EAPI void                elm_box_align_get(const Evas_Object *obj, double *horizontal, double *vertical) EINA_ARG_NONNULL(1);
2243
2244    /**
2245     * Set the layout defining function to be used by the box
2246     *
2247     * Whenever anything changes that requires the box in @p obj to recalculate
2248     * the size and position of its elements, the function @p cb will be called
2249     * to determine what the layout of the children will be.
2250     *
2251     * Once a custom function is set, everything about the children layout
2252     * is defined by it. The flags set by elm_box_horizontal_set() and
2253     * elm_box_homogeneous_set() no longer have any meaning, and the values
2254     * given by elm_box_padding_set() and elm_box_align_set() are up to this
2255     * layout function to decide if they are used and how. These last two
2256     * will be found in the @c priv parameter, of type @c Evas_Object_Box_Data,
2257     * passed to @p cb. The @c Evas_Object the function receives is not the
2258     * Elementary widget, but the internal Evas Box it uses, so none of the
2259     * functions described here can be used on it.
2260     *
2261     * Any of the layout functions in @c Evas can be used here, as well as the
2262     * special elm_box_layout_transition().
2263     *
2264     * The final @p data argument received by @p cb is the same @p data passed
2265     * here, and the @p free_data function will be called to free it
2266     * whenever the box is destroyed or another layout function is set.
2267     *
2268     * Setting @p cb to NULL will revert back to the default layout function.
2269     *
2270     * @param obj The box object
2271     * @param cb The callback function used for layout
2272     * @param data Data that will be passed to layout function
2273     * @param free_data Function called to free @p data
2274     *
2275     * @see elm_box_layout_transition()
2276     */
2277    EAPI void                elm_box_layout_set(Evas_Object *obj, Evas_Object_Box_Layout cb, const void *data, void (*free_data)(void *data)) EINA_ARG_NONNULL(1);
2278    /**
2279     * Special layout function that animates the transition from one layout to another
2280     *
2281     * Normally, when switching the layout function for a box, this will be
2282     * reflected immediately on screen on the next render, but it's also
2283     * possible to do this through an animated transition.
2284     *
2285     * This is done by creating an ::Elm_Box_Transition and setting the box
2286     * layout to this function.
2287     *
2288     * For example:
2289     * @code
2290     * Elm_Box_Transition *t = elm_box_transition_new(1.0,
2291     *                            evas_object_box_layout_vertical, // start
2292     *                            NULL, // data for initial layout
2293     *                            NULL, // free function for initial data
2294     *                            evas_object_box_layout_horizontal, // end
2295     *                            NULL, // data for final layout
2296     *                            NULL, // free function for final data
2297     *                            anim_end, // will be called when animation ends
2298     *                            NULL); // data for anim_end function\
2299     * elm_box_layout_set(box, elm_box_layout_transition, t,
2300     *                    elm_box_transition_free);
2301     * @endcode
2302     *
2303     * @note This function can only be used with elm_box_layout_set(). Calling
2304     * it directly will not have the expected results.
2305     *
2306     * @see elm_box_transition_new
2307     * @see elm_box_transition_free
2308     * @see elm_box_layout_set
2309     */
2310    EAPI void                elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data);
2311    /**
2312     * Create a new ::Elm_Box_Transition to animate the switch of layouts
2313     *
2314     * If you want to animate the change from one layout to another, you need
2315     * to set the layout function of the box to elm_box_layout_transition(),
2316     * passing as user data to it an instance of ::Elm_Box_Transition with the
2317     * necessary information to perform this animation. The free function to
2318     * set for the layout is elm_box_transition_free().
2319     *
2320     * The parameters to create an ::Elm_Box_Transition sum up to how long
2321     * will it be, in seconds, a layout function to describe the initial point,
2322     * another for the final position of the children and one function to be
2323     * called when the whole animation ends. This last function is useful to
2324     * set the definitive layout for the box, usually the same as the end
2325     * layout for the animation, but could be used to start another transition.
2326     *
2327     * @param start_layout The layout function that will be used to start the animation
2328     * @param start_layout_data The data to be passed the @p start_layout function
2329     * @param start_layout_free_data Function to free @p start_layout_data
2330     * @param end_layout The layout function that will be used to end the animation
2331     * @param end_layout_free_data The data to be passed the @p end_layout function
2332     * @param end_layout_free_data Function to free @p end_layout_data
2333     * @param transition_end_cb Callback function called when animation ends
2334     * @param transition_end_data Data to be passed to @p transition_end_cb
2335     * @return An instance of ::Elm_Box_Transition
2336     *
2337     * @see elm_box_transition_new
2338     * @see elm_box_layout_transition
2339     */
2340    EAPI Elm_Box_Transition *elm_box_transition_new(const double duration, Evas_Object_Box_Layout start_layout, void *start_layout_data, void(*start_layout_free_data)(void *data), Evas_Object_Box_Layout end_layout, void *end_layout_data, void(*end_layout_free_data)(void *data), void(*transition_end_cb)(void *data), void *transition_end_data) EINA_ARG_NONNULL(2, 5);
2341    /**
2342     * Free a Elm_Box_Transition instance created with elm_box_transition_new().
2343     *
2344     * This function is mostly useful as the @c free_data parameter in
2345     * elm_box_layout_set() when elm_box_layout_transition().
2346     *
2347     * @param data The Elm_Box_Transition instance to be freed.
2348     *
2349     * @see elm_box_transition_new
2350     * @see elm_box_layout_transition
2351     */
2352    EAPI void                elm_box_transition_free(void *data);
2353    /**
2354     * @}
2355     */
2356
2357    /* button */
2358    /**
2359     * @defgroup Button Button
2360     *
2361     * @image html  widget/button/preview-00.png
2362     * @image html  widget/button/preview-01.png
2363     * @image html  widget/button/preview-02.png
2364     *
2365     * This is a push-button. Press it and run some function. It can contain
2366     * a simple label and icon object and it also has an autorepeat feature.
2367     *
2368     * This widgets emits the following signals:
2369     * @li "clicked": the user clicked the button (press/release).
2370     * @li "repeated": the user pressed the button without releasing it.
2371     * @li "pressed": button was pressed.
2372     * @li "unpressed": button was released after being pressed.
2373     * In all three cases, the @c event parameter of the callback will be
2374     * @c NULL.
2375     *
2376     * Also, defined in the default theme, the button has the following styles
2377     * available:
2378     * @li default: a normal button.
2379     * @li anchor: Like default, but the button fades away when the mouse is not
2380     * over it, leaving only the text or icon.
2381     * @li hoversel_vertical: Internally used by @ref Hoversel to give a
2382     * continuous look across its options.
2383     * @li hoversel_vertical_entry: Another internal for @ref Hoversel.
2384     *
2385     * Follow through a complete example @ref button_example_01 "here".
2386     * @{
2387     */
2388    /**
2389     * Add a new button to the parent's canvas
2390     *
2391     * @param parent The parent object
2392     * @return The new object or NULL if it cannot be created
2393     */
2394    EAPI Evas_Object *elm_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2395    /**
2396     * Set the label used in the button
2397     *
2398     * The passed @p label can be NULL to clean any existing text in it and
2399     * leave the button as an icon only object.
2400     *
2401     * @param obj The button object
2402     * @param label The text will be written on the button
2403     * @deprecated use elm_object_text_set() instead.
2404     */
2405    EINA_DEPRECATED EAPI void         elm_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
2406    /**
2407     * Get the label set for the button
2408     *
2409     * The string returned is an internal pointer and should not be freed or
2410     * altered. It will also become invalid when the button is destroyed.
2411     * The string returned, if not NULL, is a stringshare, so if you need to
2412     * keep it around even after the button is destroyed, you can use
2413     * eina_stringshare_ref().
2414     *
2415     * @param obj The button object
2416     * @return The text set to the label, or NULL if nothing is set
2417     * @deprecated use elm_object_text_set() instead.
2418     */
2419    EINA_DEPRECATED EAPI const char  *elm_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2420    /**
2421     * Set the icon used for the button
2422     *
2423     * Setting a new icon will delete any other that was previously set, making
2424     * any reference to them invalid. If you need to maintain the previous
2425     * object alive, unset it first with elm_button_icon_unset().
2426     *
2427     * @param obj The button object
2428     * @param icon The icon object for the button
2429     */
2430    EAPI void         elm_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
2431    /**
2432     * Get the icon used for the button
2433     *
2434     * Return the icon object which is set for this widget. If the button is
2435     * destroyed or another icon is set, the returned object will be deleted
2436     * and any reference to it will be invalid.
2437     *
2438     * @param obj The button object
2439     * @return The icon object that is being used
2440     *
2441     * @see elm_button_icon_unset()
2442     */
2443    EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2444    /**
2445     * Remove the icon set without deleting it and return the object
2446     *
2447     * This function drops the reference the button holds of the icon object
2448     * and returns this last object. It is used in case you want to remove any
2449     * icon, or set another one, without deleting the actual object. The button
2450     * will be left without an icon set.
2451     *
2452     * @param obj The button object
2453     * @return The icon object that was being used
2454     */
2455    EAPI Evas_Object *elm_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
2456    /**
2457     * Turn on/off the autorepeat event generated when the button is kept pressed
2458     *
2459     * When off, no autorepeat is performed and buttons emit a normal @c clicked
2460     * signal when they are clicked.
2461     *
2462     * When on, keeping a button pressed will continuously emit a @c repeated
2463     * signal until the button is released. The time it takes until it starts
2464     * emitting the signal is given by
2465     * elm_button_autorepeat_initial_timeout_set(), and the time between each
2466     * new emission by elm_button_autorepeat_gap_timeout_set().
2467     *
2468     * @param obj The button object
2469     * @param on  A bool to turn on/off the event
2470     */
2471    EAPI void         elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on) EINA_ARG_NONNULL(1);
2472    /**
2473     * Get whether the autorepeat feature is enabled
2474     *
2475     * @param obj The button object
2476     * @return EINA_TRUE if autorepeat is on, EINA_FALSE otherwise
2477     *
2478     * @see elm_button_autorepeat_set()
2479     */
2480    EAPI Eina_Bool    elm_button_autorepeat_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2481    /**
2482     * Set the initial timeout before the autorepeat event is generated
2483     *
2484     * Sets the timeout, in seconds, since the button is pressed until the
2485     * first @c repeated signal is emitted. If @p t is 0.0 or less, there
2486     * won't be any delay and the even will be fired the moment the button is
2487     * pressed.
2488     *
2489     * @param obj The button object
2490     * @param t   Timeout in seconds
2491     *
2492     * @see elm_button_autorepeat_set()
2493     * @see elm_button_autorepeat_gap_timeout_set()
2494     */
2495    EAPI void         elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
2496    /**
2497     * Get the initial timeout before the autorepeat event is generated
2498     *
2499     * @param obj The button object
2500     * @return Timeout in seconds
2501     *
2502     * @see elm_button_autorepeat_initial_timeout_set()
2503     */
2504    EAPI double       elm_button_autorepeat_initial_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2505    /**
2506     * Set the interval between each generated autorepeat event
2507     *
2508     * After the first @c repeated event is fired, all subsequent ones will
2509     * follow after a delay of @p t seconds for each.
2510     *
2511     * @param obj The button object
2512     * @param t   Interval in seconds
2513     *
2514     * @see elm_button_autorepeat_initial_timeout_set()
2515     */
2516    EAPI void         elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
2517    /**
2518     * Get the interval between each generated autorepeat event
2519     *
2520     * @param obj The button object
2521     * @return Interval in seconds
2522     */
2523    EAPI double       elm_button_autorepeat_gap_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2524    /**
2525     * @}
2526     */
2527
2528    /* fileselector */
2529    EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2530    EINA_DEPRECATED EAPI void         elm_fileselector_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
2531    EINA_DEPRECATED EAPI const char  *elm_fileselector_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2532    EAPI void         elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
2533    EAPI Evas_Object *elm_fileselector_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2534    EAPI Evas_Object *elm_fileselector_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
2535    EAPI void         elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
2536    EAPI const char  *elm_fileselector_button_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2537    EAPI void         elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
2538    EAPI void         elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
2539    EAPI void         elm_fileselector_button_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
2540    EAPI const char  *elm_fileselector_button_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2541    EAPI void         elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
2542    EAPI Eina_Bool    elm_fileselector_button_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2543    EAPI void         elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
2544    EAPI Eina_Bool    elm_fileselector_button_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2545    EAPI void         elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
2546    EAPI Eina_Bool    elm_fileselector_button_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2547    EAPI void         elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
2548    EAPI Eina_Bool    elm_fileselector_button_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2549    /* available styles:
2550     * default
2551     * anchor
2552     * hoversel_vertical
2553     * hoversel_vertical_entry
2554     */
2555    /* smart callbacks called:
2556     * "file,chosen" - the user has selected a path, whose string pointer comes
2557                       as event info
2558     */
2559
2560    EAPI Evas_Object *elm_fileselector_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2561    EINA_DEPRECATED EAPI void         elm_fileselector_entry_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
2562    EINA_DEPRECATED EAPI const char  *elm_fileselector_entry_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2563    EAPI void         elm_fileselector_entry_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
2564    EAPI Evas_Object *elm_fileselector_entry_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2565    EAPI Evas_Object *elm_fileselector_entry_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
2566    EAPI void         elm_fileselector_entry_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
2567    EAPI const char  *elm_fileselector_entry_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2568    EAPI void         elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
2569    EAPI void         elm_fileselector_entry_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
2570    EAPI void         elm_fileselector_entry_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
2571    EAPI const char  *elm_fileselector_entry_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2572    EAPI void         elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
2573    EAPI Eina_Bool    elm_fileselector_entry_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2574    EAPI void         elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
2575    EAPI Eina_Bool    elm_fileselector_entry_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2576    EAPI void         elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
2577    EAPI Eina_Bool    elm_fileselector_entry_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2578    EAPI void         elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
2579    EAPI Eina_Bool    elm_fileselector_entry_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2580    EAPI void         elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
2581    EAPI const char  *elm_fileselector_entry_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2582
2583    /* scroller policy */
2584    typedef enum _Elm_Scroller_Policy
2585      {
2586         ELM_SCROLLER_POLICY_AUTO = 0,
2587         ELM_SCROLLER_POLICY_ON,
2588         ELM_SCROLLER_POLICY_OFF,
2589         ELM_SCROLLER_POLICY_LAST
2590      } Elm_Scroller_Policy;
2591
2592    EAPI Evas_Object *elm_scroller_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2593    EAPI void         elm_scroller_content_set(Evas_Object *obj, Evas_Object *child) EINA_ARG_NONNULL(1);
2594    EAPI Evas_Object *elm_scroller_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2595    EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
2596    EAPI void         elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base) EINA_ARG_NONNULL(1, 2, 3);
2597    EAPI void         elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h) EINA_ARG_NONNULL(1);
2598    EAPI void         elm_scroller_region_show(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
2599    EAPI void         elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
2600    EAPI void         elm_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) EINA_ARG_NONNULL(1);
2601    EAPI void         elm_scroller_region_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
2602    EAPI void         elm_scroller_child_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
2603    EAPI void         elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
2604    EAPI void         elm_scroller_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
2605    EAPI void         elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
2606    EAPI void         elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
2607    EAPI void         elm_scroller_region_bring_in(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
2608    EAPI void         elm_scroller_propagate_events_set(Evas_Object *obj, Eina_Bool propagation);
2609    EAPI Eina_Bool    elm_scroller_propagate_events_get(const Evas_Object *obj);
2610    /* smart callbacks called:
2611     * "edge,left" - the left edge of the content has been reached
2612     * "edge,right" - the right edge of the content has been reached
2613     * "edge,top" - the top edge of the content has been reached
2614     * "edge,bottom" - the bottom edge of the content has been reached
2615     * "scroll" - the content has been scrolled (moved)
2616     * "scroll,anim,start" - scrolling animation has started
2617     * "scroll,anim,stop" - scrolling animation has stopped
2618     * "scroll,drag,start" - dragging the contents around has started
2619     * "scroll,drag,stop" - dragging the contents around has stopped
2620     */
2621
2622    /* label */
2623    EAPI Evas_Object *elm_label_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2624    EINA_DEPRECATED EAPI void elm_label_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1); /* deprecated, use elm_object_text_set instead */
2625    EINA_DEPRECATED EAPI const char *elm_label_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); /* deprecated, use elm_object_text_get instead */
2626    EAPI void         elm_label_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
2627    EAPI Elm_Wrap_Type elm_label_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2628    EAPI void         elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w) EINA_ARG_NONNULL(1);
2629    EAPI Evas_Coord   elm_label_wrap_width_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2630    EAPI void         elm_label_wrap_height_set(Evas_Object *obj, Evas_Coord h) EINA_ARG_NONNULL(1);
2631    EAPI Evas_Coord   elm_label_wrap_height_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2632    EAPI void         elm_label_fontsize_set(Evas_Object *obj, int fontsize) EINA_ARG_NONNULL(1);
2633    EAPI void         elm_label_text_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a) EINA_ARG_NONNULL(1);
2634    EAPI void         elm_label_text_align_set(Evas_Object *obj, const char *alignmode) EINA_ARG_NONNULL(1);
2635    EAPI void         elm_label_background_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a) EINA_ARG_NONNULL(1);
2636    EAPI void         elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis) EINA_ARG_NONNULL(1);
2637    EAPI void         elm_label_slide_set(Evas_Object *obj, Eina_Bool slide) EINA_ARG_NONNULL(1);
2638    EAPI Eina_Bool    elm_label_slide_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
2639    EAPI void         elm_label_slide_duration_set(Evas_Object *obj, double duration) EINA_ARG_NONNULL(1);
2640    EAPI double       elm_label_slide_duration_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
2641    /* available styles:
2642     * default
2643     * marker
2644     */
2645    /* smart callbacks called:
2646     */
2647
2648    /* toggle */
2649    EAPI Evas_Object *elm_toggle_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2650    EINA_DEPRECATED EAPI void         elm_toggle_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
2651    EINA_DEPRECATED EAPI const char  *elm_toggle_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2652    EAPI void         elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
2653    EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2654    EAPI Evas_Object *elm_toggle_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
2655    EAPI void         elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel) EINA_ARG_NONNULL(1);
2656    EAPI void         elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel) EINA_ARG_NONNULL(1);
2657    EAPI void         elm_toggle_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
2658    EAPI Eina_Bool    elm_toggle_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2659    EAPI void         elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
2660    /* smart callbacks called:
2661     * "changed" - Whenever the toggle value has been changed.  Is not called
2662     *             until the toggle is released by the cursor (assuming it has been triggered
2663     *             by the cursor in the first place).
2664     */
2665
2666    /**
2667     * @page tutorial_frame Frame example
2668     * @dontinclude frame_example_01.c
2669     *
2670     * In this example we are going to create 4 Frames with different styles and
2671     * add a rectangle of different color in each.
2672     *
2673     * We start we the usual setup code:
2674     * @until show(bg)
2675     *
2676     * And then create one rectangle:
2677     * @until show
2678     *
2679     * To add it in our first frame, which since it doesn't have it's style
2680     * specifically set uses the default style:
2681     * @until show
2682     *
2683     * And then create another rectangle:
2684     * @until show
2685     *
2686     * To add it in our second frame, which uses the "pad_small" style, note that
2687     * even tough we are setting a text for this frame it won't be show, only the
2688     * default style shows the Frame's title:
2689     * @until show
2690     * @note The "pad_small", "pad_medium", "pad_large" and "pad_huge" styles are
2691     * very similar, their only difference is the size of the empty area around
2692     * the content of the frame.
2693     *
2694     * And then create yet another rectangle:
2695     * @until show
2696     *
2697     * To add it in our third frame, which uses the "outdent_top" style, note
2698     * that even tough we are setting a text for this frame it won't be show,
2699     * only the default style shows the Frame's title:
2700     * @until show
2701     *
2702     * And then create one last rectangle:
2703     * @until show
2704     *
2705     * To add it in our fourth and final frame, which uses the "outdent_bottom"
2706     * style, note that even tough we are setting a text for this frame it won't
2707     * be show, only the default style shows the Frame's title:
2708     * @until show
2709     *
2710     * And now we are left with just some more setup code:
2711     * @until ELM_MAIN()
2712     *
2713     * Our example will look like this:
2714     * @image html screenshots/frame_example_01.png
2715     * @image latex screenshots/frame_example_01.eps
2716     *
2717     * @example frame_example_01.c
2718     */
2719    /**
2720     * @defgroup Frame Frame
2721     *
2722     * @brief Frame is a widget that holds some content and has a title.
2723     *
2724     * The default look is a frame with a title, but Frame supports multple
2725     * styles:
2726     * @li default
2727     * @li pad_small
2728     * @li pad_medium
2729     * @li pad_large
2730     * @li pad_huge
2731     * @li outdent_top
2732     * @li outdent_bottom
2733     *
2734     * Of all this styles only default shows the title. Frame emits no signals.
2735     *
2736     * For a detailed example see the @ref tutorial_frame.
2737     *
2738     * @{
2739     */
2740    /**
2741     * @brief Add a new frame to the parent
2742     *
2743     * @param parent The parent object
2744     * @return The new object or NULL if it cannot be created
2745     */
2746    EAPI Evas_Object *elm_frame_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2747    /**
2748     * @brief Set the frame label
2749     *
2750     * @param obj The frame object
2751     * @param label The label of this frame object
2752     *
2753     * @deprecated use elm_object_text_set() instead.
2754     */
2755    EINA_DEPRECATED EAPI void         elm_frame_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
2756    /**
2757     * @brief Get the frame label
2758     *
2759     * @param obj The frame object
2760     *
2761     * @return The label of this frame objet or NULL if unable to get frame
2762     *
2763     * @deprecated use elm_object_text_get() instead.
2764     */
2765    EINA_DEPRECATED EAPI const char  *elm_frame_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2766    /**
2767     * @brief Set the content of the frame widget
2768     *
2769     * Once the content object is set, a previously set one will be deleted.
2770     * If you want to keep that old content object, use the
2771     * elm_frame_content_unset() function.
2772     *
2773     * @param obj The frame object
2774     * @param content The content will be filled in this frame object
2775     */
2776    EAPI void         elm_frame_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
2777    /**
2778     * @brief Get the content of the frame widget
2779     *
2780     * Return the content object which is set for this widget
2781     *
2782     * @param obj The frame object
2783     * @return The content that is being used
2784     */
2785    EAPI Evas_Object *elm_frame_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2786    /**
2787     * @brief Unset the content of the frame widget
2788     *
2789     * Unparent and return the content object which was set for this widget
2790     *
2791     * @param obj The frame object
2792     * @return The content that was being used
2793     */
2794    EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
2795    /**
2796     * @}
2797     */
2798
2799    /* table */
2800    EAPI Evas_Object *elm_table_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2801    EAPI void         elm_table_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
2802    EAPI Eina_Bool    elm_table_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2803    EINA_DEPRECATED EAPI void elm_table_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
2804    EINA_DEPRECATED EAPI Eina_Bool elm_table_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2805    EAPI void         elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
2806    EAPI void         elm_table_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
2807    EAPI void         elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
2808    EAPI void         elm_table_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
2809    EAPI void         elm_table_clear(Evas_Object *obj, Eina_Bool clear) EINA_ARG_NONNULL(1);
2810    EAPI void         elm_table_pack_set(Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
2811    EAPI void         elm_table_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
2812
2813    /* gengrid */
2814    typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class;
2815    typedef struct _Elm_Gengrid_Item_Class_Func Elm_Gengrid_Item_Class_Func;
2816    typedef struct _Elm_Gengrid_Item Elm_Gengrid_Item; /**< Item of Elm_Gengrid. Sub-type of Elm_Widget_Item */
2817    typedef char        *(*GridItemLabelGetFunc) (void *data, Evas_Object *obj, const char *part);
2818    typedef Evas_Object *(*GridItemIconGetFunc)  (void *data, Evas_Object *obj, const char *part);
2819    typedef Eina_Bool    (*GridItemStateGetFunc) (void *data, Evas_Object *obj, const char *part);
2820    typedef void         (*GridItemDelFunc)      (void *data, Evas_Object *obj);
2821
2822    struct _Elm_Gengrid_Item_Class
2823      {
2824         const char             *item_style;
2825         struct _Elm_Gengrid_Item_Class_Func
2826           {
2827              GridItemLabelGetFunc  label_get;
2828              GridItemIconGetFunc   icon_get;
2829              GridItemStateGetFunc  state_get;
2830              GridItemDelFunc       del;
2831           } func;
2832      };
2833
2834    EAPI Evas_Object       *elm_gengrid_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2835    EAPI void               elm_gengrid_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
2836    EAPI void               elm_gengrid_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
2837    EAPI void               elm_gengrid_align_set(Evas_Object *obj, double align_x, double align_y) EINA_ARG_NONNULL(1);
2838    EAPI void               elm_gengrid_align_get(const Evas_Object *obj, double *align_x, double *align_y) EINA_ARG_NONNULL(1);
2839
2840    EAPI void               elm_gengrid_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
2841    EAPI Eina_Bool          elm_gengrid_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2842    EAPI void               elm_gengrid_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
2843    EAPI Eina_Bool          elm_gengrid_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2844    EAPI void               elm_gengrid_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
2845    EAPI Eina_Bool          elm_gengrid_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2846    EAPI void               elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
2847    EAPI Eina_Bool          elm_gengrid_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2848    EAPI void               elm_gengrid_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
2849    EAPI void               elm_gengrid_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
2850    EAPI void               elm_gengrid_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
2851    EAPI void               elm_gengrid_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel) EINA_ARG_NONNULL(1);
2852    EAPI void               elm_gengrid_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
2853    EAPI void               elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
2854    EAPI Eina_Bool          elm_gengrid_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2855
2856    EAPI Elm_Gengrid_Item  *elm_gengrid_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2857    EAPI Elm_Gengrid_Item  *elm_gengrid_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2858
2859    EAPI Elm_Gengrid_Item  *elm_gengrid_item_next_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2860    EAPI Elm_Gengrid_Item  *elm_gengrid_item_prev_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2861    EAPI Evas_Object       *elm_gengrid_item_gengrid_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2862    EAPI void               elm_gengrid_item_del(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2863    EAPI void               elm_gengrid_item_update(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2864    EAPI const Elm_Gengrid_Item_Class *elm_gengrid_item_item_class_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2865    EAPI void               elm_gengrid_item_item_class_set(Elm_Gengrid_Item *item, const Elm_Gengrid_Item_Class *gic) EINA_ARG_NONNULL(1, 2);
2866    EAPI void              *elm_gengrid_item_data_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2867    EAPI void               elm_gengrid_item_data_set(Elm_Gengrid_Item *item, const void *data) EINA_ARG_NONNULL(1);
2868    EAPI void               elm_gengrid_item_pos_get(const Elm_Gengrid_Item *item, unsigned int *x, unsigned int *y) EINA_ARG_NONNULL(1);
2869    EAPI void               elm_gengrid_item_selected_set(Elm_Gengrid_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
2870    EAPI Eina_Bool          elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2871    EAPI const Evas_Object *elm_gengrid_item_object_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2872    EAPI void               elm_gengrid_item_show(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2873    EAPI void               elm_gengrid_item_bring_in(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2874    EAPI void               elm_gengrid_item_disabled_set(Elm_Gengrid_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
2875    EAPI Eina_Bool          elm_gengrid_item_disabled_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2876
2877    EAPI void               elm_gengrid_item_tooltip_text_set(Elm_Gengrid_Item *item, const char *text) EINA_ARG_NONNULL(1);
2878    EAPI void               elm_gengrid_item_tooltip_content_cb_set(Elm_Gengrid_Item *item, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb) EINA_ARG_NONNULL(1);
2879    EAPI void               elm_gengrid_item_tooltip_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2880    EAPI void               elm_gengrid_item_tooltip_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
2881    EAPI const char        *elm_gengrid_item_tooltip_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2882    EAPI void               elm_gengrid_item_cursor_set(Elm_Gengrid_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
2883    EAPI const char        *elm_gengrid_item_cursor_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2884    EAPI void               elm_gengrid_item_cursor_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2885    EAPI void               elm_gengrid_item_cursor_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
2886    EAPI const char        *elm_gengrid_item_cursor_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2887    EAPI void               elm_gengrid_item_cursor_engine_only_set(Elm_Gengrid_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
2888    EAPI Eina_Bool          elm_gengrid_item_cursor_engine_only_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
2889
2890    EAPI void               elm_gengrid_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
2891    EAPI Elm_Gengrid_Item  *elm_gengrid_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2892    EAPI const Eina_List   *elm_gengrid_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2893
2894    EAPI Elm_Gengrid_Item  *elm_gengrid_item_append(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic,  const void *data, Evas_Smart_Cb func, const void *func_data) EINA_ARG_NONNULL(1);
2895    EAPI Elm_Gengrid_Item  *elm_gengrid_item_prepend(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Evas_Smart_Cb func, const void *func_data) EINA_ARG_NONNULL(1);
2896    EAPI Elm_Gengrid_Item  *elm_gengrid_item_insert_before(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Elm_Gengrid_Item *relative, Evas_Smart_Cb func, const void *func_data) EINA_ARG_NONNULL(1);
2897    EAPI Elm_Gengrid_Item  *elm_gengrid_item_insert_after(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Elm_Gengrid_Item *relative, Evas_Smart_Cb func, const void *func_data) EINA_ARG_NONNULL(1);
2898    EAPI Elm_Gengrid_Item  *elm_gengrid_item_sorted_insert(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data) EINA_ARG_NONNULL(1);
2899    EAPI Elm_Gengrid_Item  *elm_gengrid_item_direct_sorted_insert(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data);
2900    /* smart callbacks called:
2901     *
2902     * selected - User has selected an item.
2903     * unselected - User has unselected an item.
2904     * clicked,double - User has double-clicked or pressed enter on an item.
2905     * realized - An evas object for an item was built.
2906     * unrealized - An evas object for an item was deleted.
2907     * changed - An item has been added, removed, resized or moved,
2908     * or gengrid has been resized or horizontal property has been changed.
2909     * scroll - the content has been scrolled (moved).
2910     * "scroll,drag,start" - dragging the contents around has started.
2911     * "scroll,drat,stop" - dragging the contents around has stopped.
2912     * drag - Gengrid is being dragged.
2913     * "drag,start,up" - Gengrid has been dragged (not scrolled) up.
2914     * "drag,start,down" - Gengrid has been dragged (not scrolled) down.
2915     * "drag,start,left" - Gengrid has been dragged (not scrolled) left.
2916     * "drag,start,rigth" - Gengrid has been dragged (nto scrolled) right.
2917     * "drag,stop" - Gengrid is not being dragged.
2918     */
2919
2920    /* clock */
2921    typedef enum _Elm_Clock_Digedit
2922      {
2923         ELM_CLOCK_NONE         = 0,
2924         ELM_CLOCK_HOUR_DECIMAL = 1 << 0,
2925         ELM_CLOCK_HOUR_UNIT    = 1 << 1,
2926         ELM_CLOCK_MIN_DECIMAL  = 1 << 2,
2927         ELM_CLOCK_MIN_UNIT     = 1 << 3,
2928         ELM_CLOCK_SEC_DECIMAL  = 1 << 4,
2929         ELM_CLOCK_SEC_UNIT     = 1 << 5,
2930         ELM_CLOCK_ALL          = (1 << 6) - 1
2931      } Elm_Clock_Digedit;
2932
2933    EAPI Evas_Object      *elm_clock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2934    EAPI void              elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec) EINA_ARG_NONNULL(1);
2935    EAPI void              elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec) EINA_ARG_NONNULL(1);
2936    EAPI void              elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
2937    EAPI Eina_Bool         elm_clock_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2938    EAPI void              elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit) EINA_ARG_NONNULL(1);
2939    EAPI Elm_Clock_Digedit elm_clock_digit_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2940    EAPI void              elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm) EINA_ARG_NONNULL(1);
2941    EAPI Eina_Bool         elm_clock_show_am_pm_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2942    EAPI void              elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds) EINA_ARG_NONNULL(1);
2943    EAPI Eina_Bool         elm_clock_show_seconds_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2944    EAPI void              elm_clock_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
2945    EAPI double            elm_clock_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2946    /* smart callbacks called:
2947     * "changed" - the user changed the time
2948     */
2949
2950    /* layout */
2951    EAPI Evas_Object       *elm_layout_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2952    EAPI Eina_Bool          elm_layout_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
2953    EAPI Eina_Bool          elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style) EINA_ARG_NONNULL(1);
2954    EAPI void               elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
2955    EAPI Evas_Object       *elm_layout_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
2956    EAPI Evas_Object       *elm_layout_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
2957    EINA_DEPRECATED EAPI void               elm_layout_text_set(Evas_Object *obj, const char *part, const char *text) EINA_ARG_NONNULL(1);
2958    EINA_DEPRECATED EAPI const char        *elm_layout_text_get(const Evas_Object *obj, const char *part) EINA_ARG_NONNULL(1);
2959    EAPI void               elm_layout_box_append(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
2960    EAPI void               elm_layout_box_prepend(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
2961    EAPI void               elm_layout_box_insert_before(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference) EINA_ARG_NONNULL(1);
2962    EAPI void               elm_layout_box_insert_at(Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos) EINA_ARG_NONNULL(1);
2963    EAPI Evas_Object       *elm_layout_box_remove(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1, 2, 3);
2964    EAPI void               elm_layout_box_remove_all(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
2965    EAPI void               elm_layout_table_pack(Evas_Object *obj, const char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan) EINA_ARG_NONNULL(1);
2966    EAPI Evas_Object       *elm_layout_table_unpack(Evas_Object *obj, const char *part, Evas_Object *child_obj) EINA_ARG_NONNULL(1, 2, 3);
2967    EAPI void               elm_layout_table_clear(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
2968    EAPI Evas_Object       *elm_layout_edje_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2969    EAPI const char        *elm_layout_data_get(const Evas_Object *obj, const char *key) EINA_ARG_NONNULL(1, 2);
2970    EAPI void               elm_layout_sizing_eval(Evas_Object *obj) EINA_ARG_NONNULL(1);
2971    EAPI Eina_Bool          elm_layout_part_cursor_set(Evas_Object *obj, const char *part_name, const char *cursor) EINA_ARG_NONNULL(1, 2);
2972    EAPI const char        *elm_layout_part_cursor_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
2973    EAPI void               elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
2974    EAPI Eina_Bool          elm_layout_part_cursor_style_set(Evas_Object *obj, const char *part_name, const char *style) EINA_ARG_NONNULL(1, 2);
2975    EAPI const char        *elm_layout_part_cursor_style_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
2976    EAPI Eina_Bool          elm_layout_part_cursor_engine_only_set(Evas_Object *obj, const char *part_name, Eina_Bool engine_only) EINA_ARG_NONNULL(1, 2);
2977    EAPI Eina_Bool          elm_layout_part_cursor_engine_only_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
2978 /**
2979  * @def elm_layout_icon_set
2980  * Convienience macro to set the icon object in a layout that follows the
2981  * Elementary naming convention for its parts.
2982  *
2983  * @ingroup Layout
2984  */
2985 #define elm_layout_icon_set(_ly, _obj) \
2986   do { \
2987     const char *sig; \
2988     elm_layout_content_set((_ly), "elm.swallow.icon", (_obj)); \
2989     if ((_obj)) sig = "elm,state,icon,visible"; \
2990     else sig = "elm,state,icon,hidden"; \
2991     elm_object_signal_emit((_ly), sig, "elm"); \
2992   } while (0)
2993
2994 /**
2995  * @def elm_layout_icon_get
2996  * Convienience macro to get the icon object from a layout that follows the
2997  * Elementary naming convention for its parts.
2998  *
2999  * @ingroup Layout
3000  */
3001 #define elm_layout_icon_get(_ly) \
3002   elm_layout_content_get((_ly), "elm.swallow.icon")
3003
3004 /**
3005  * @def elm_layout_end_set
3006  * Convienience macro to set the end object in a layout that follows the
3007  * Elementary naming convention for its parts.
3008  *
3009  * @ingroup Layout
3010  */
3011 #define elm_layout_end_set(_ly, _obj) \
3012   do { \
3013     const char *sig; \
3014     elm_layout_content_set((_ly), "elm.swallow.end", (_obj)); \
3015     if ((_obj)) sig = "elm,state,end,visible"; \
3016     else sig = "elm,state,end,hidden"; \
3017     elm_object_signal_emit((_ly), sig, "elm"); \
3018   } while (0)
3019
3020 /**
3021  * @def elm_layout_end_get
3022  * Convienience macro to get the end object in a layout that follows the
3023  * Elementary naming convention for its parts.
3024  *
3025  * @ingroup Layout
3026  */
3027 #define elm_layout_end_get(_ly) \
3028   elm_layout_content_get((_ly), "elm.swallow.end")
3029
3030 /**
3031  * @def elm_layout_label_set
3032  * Convienience macro to set the label in a layout that follows the
3033  * Elementary naming convention for its parts.
3034  *
3035  * @ingroup Layout
3036  * @deprecate use elm_object_text_* instead.
3037  */
3038 #define elm_layout_label_set(_ly, _txt) \
3039   elm_layout_text_set((_ly), "elm.text", (_txt))
3040
3041 /**
3042  * @def elm_layout_label_get
3043  * Convienience macro to get the label in a layout that follows the
3044  * Elementary naming convention for its parts.
3045  *
3046  * @ingroup Layout
3047  * @deprecate use elm_object_text_* instead.
3048  */
3049 #define elm_layout_label_get(_ly) \
3050   elm_layout_text_get((_ly), "elm.text")
3051
3052    /* smart callbacks called:
3053     */
3054
3055    /* notify */
3056    typedef enum _Elm_Notify_Orient
3057      {
3058         ELM_NOTIFY_ORIENT_TOP,
3059         ELM_NOTIFY_ORIENT_CENTER,
3060         ELM_NOTIFY_ORIENT_BOTTOM,
3061         ELM_NOTIFY_ORIENT_LEFT,
3062         ELM_NOTIFY_ORIENT_RIGHT,
3063         ELM_NOTIFY_ORIENT_TOP_LEFT,
3064         ELM_NOTIFY_ORIENT_TOP_RIGHT,
3065         ELM_NOTIFY_ORIENT_BOTTOM_LEFT,
3066         ELM_NOTIFY_ORIENT_BOTTOM_RIGHT,
3067         ELM_NOTIFY_ORIENT_LAST
3068      } Elm_Notify_Orient;
3069    EAPI Evas_Object      *elm_notify_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
3070    EAPI void              elm_notify_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
3071    EAPI Evas_Object      *elm_notify_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
3072    EAPI Evas_Object      *elm_notify_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3073    EAPI void              elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
3074    EAPI Evas_Object      *elm_notify_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3075    EAPI void              elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient) EINA_ARG_NONNULL(1);
3076    EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3077    EAPI void              elm_notify_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
3078    EAPI double            elm_notify_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3079    EAPI void              elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat) EINA_ARG_NONNULL(1);
3080    EAPI Eina_Bool         elm_notify_repeat_events_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3081    /* smart callbacks called:
3082     * "timeout" - when timeout happens on notify and it's hidden
3083     * "block,clicked" - when it's hidden by a click outside of the notify's view
3084     */
3085
3086    /* hover */
3087    typedef enum _Elm_Hover_Axis
3088      {
3089         ELM_HOVER_AXIS_NONE,
3090         ELM_HOVER_AXIS_HORIZONTAL,
3091         ELM_HOVER_AXIS_VERTICAL,
3092         ELM_HOVER_AXIS_BOTH
3093      } Elm_Hover_Axis;
3094    EAPI Evas_Object *elm_hover_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
3095    EAPI void         elm_hover_target_set(Evas_Object *obj, Evas_Object *target) EINA_ARG_NONNULL(1);
3096    EAPI Evas_Object *elm_hover_target_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3097    EAPI void         elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
3098    EAPI Evas_Object *elm_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3099    EAPI void         elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
3100    EAPI Evas_Object *elm_hover_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
3101    EAPI Evas_Object *elm_hover_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
3102    EAPI const char  *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis) EINA_ARG_NONNULL(1);
3103    /* available styles:
3104     * default
3105     * popout
3106     * menu
3107     * hoversel_vertical
3108     */
3109    /* smart callbacks called:
3110     * "clicked" - the user clicked the empty space in the hover to dismiss
3111     * "smart,changed" - a content object placed under the "smart"
3112     *                   policy was replaced to a new slot direction.
3113     */
3114
3115    /* entry */
3116    typedef struct _Elm_Entry_Anchor_Info Elm_Entry_Anchor_Info;
3117    struct _Elm_Entry_Anchor_Info
3118      {
3119         const char *name;
3120         int         button;
3121         Evas_Coord  x, y, w, h;
3122      };
3123    typedef enum _Elm_Icon_Type
3124      {
3125         ELM_ICON_NONE,
3126         ELM_ICON_FILE,
3127         ELM_ICON_STANDARD
3128      } Elm_Icon_Type;
3129    typedef struct _Elm_Hoversel_Item Elm_Hoversel_Item; /**< Item of Elm_Hoversel. Sub-type of Elm_Widget_Item */
3130
3131    EAPI Evas_Object *elm_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
3132    EAPI void         elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
3133    EAPI Eina_Bool    elm_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3134    EAPI void         elm_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
3135    EAPI Eina_Bool    elm_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3136    EAPI void         elm_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
3137    EAPI const char  *elm_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3138    EAPI void         elm_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
3139    EAPI Eina_Bool    elm_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3140    EAPI const char  *elm_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3141    EAPI void         elm_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
3142    EAPI void         elm_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
3143    EAPI Elm_Wrap_Type elm_entry_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3144    EAPI void         elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
3145    EAPI Eina_Bool    elm_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3146    EAPI void         elm_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
3147    EAPI void         elm_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
3148    EAPI Eina_Bool    elm_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
3149    EAPI Eina_Bool    elm_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
3150    EAPI Eina_Bool    elm_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
3151    EAPI Eina_Bool    elm_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
3152    EAPI void         elm_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
3153    EAPI void         elm_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
3154    EAPI void         elm_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
3155    EAPI void         elm_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
3156    EAPI void         elm_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
3157    EAPI void         elm_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
3158    EAPI Eina_Bool    elm_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3159    EAPI Eina_Bool    elm_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3160    EAPI const char  *elm_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3161    EAPI Eina_Bool    elm_entry_cursor_geometry_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
3162    EAPI void         elm_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
3163    EAPI int          elm_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3164    EAPI void         elm_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
3165    EAPI void         elm_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
3166    EAPI void         elm_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
3167    EAPI void         elm_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
3168    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) EINA_ARG_NONNULL(1);
3169    EAPI void         elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
3170    EAPI Eina_Bool    elm_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3171    EAPI void         elm_entry_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data) EINA_ARG_NONNULL(1, 2);
3172    EAPI void         elm_entry_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data) EINA_ARG_NONNULL(1, 2);
3173    EAPI void         elm_entry_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data) EINA_ARG_NONNULL(1, 2);
3174    EAPI void         elm_entry_text_filter_append(Evas_Object *obj, void (*func) (void *data, Evas_Object *entry, char **text), void *data) EINA_ARG_NONNULL(1, 2);
3175    EAPI void         elm_entry_text_filter_prepend(Evas_Object *obj, void (*func) (void *data, Evas_Object *entry, char **text), void *data) EINA_ARG_NONNULL(1, 2);
3176    EAPI void         elm_entry_text_filter_remove(Evas_Object *obj, void (*func) (void *data, Evas_Object *entry, char **text), void *data) EINA_ARG_NONNULL(1, 2);
3177    EAPI char        *elm_entry_markup_to_utf8(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
3178    EAPI char        *elm_entry_utf8_to_markup(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
3179    EAPI void         elm_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
3180    EAPI void         elm_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
3181    EAPI void         elm_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
3182    EAPI void         elm_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
3183    EAPI Eina_Bool    elm_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3184    EAPI void         elm_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
3185    EAPI Eina_Bool    elm_entry_cnp_textonly_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3186    EAPI void         elm_entry_scrollable_set(Evas_Object *obj, Eina_Bool scroll);
3187    EAPI Eina_Bool    elm_entry_scrollable_get(const Evas_Object *obj);
3188    EAPI void         elm_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
3189    EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *obj);
3190    EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj);
3191    EAPI void         elm_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
3192    EAPI void         elm_entry_end_set(Evas_Object *obj, Evas_Object *end);
3193    EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj);
3194    EAPI Evas_Object *elm_entry_end_unset(Evas_Object *obj);
3195    EAPI void         elm_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
3196    EAPI void         elm_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
3197    EAPI void         elm_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
3198    EAPI void         elm_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
3199
3200    /* pre-made filters for entries */
3201    typedef struct _Elm_Entry_Filter_Limit_Size Elm_Entry_Filter_Limit_Size;
3202    struct _Elm_Entry_Filter_Limit_Size
3203      {
3204         int max_char_count;
3205         int max_byte_count;
3206      };
3207    EAPI void         elm_entry_filter_limit_size(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 2, 3);
3208    typedef struct _Elm_Entry_Filter_Accept_Set Elm_Entry_Filter_Accept_Set;
3209    struct _Elm_Entry_Filter_Accept_Set
3210      {
3211         const char *accepted;
3212         const char *rejected;
3213      };
3214    EAPI void         elm_entry_filter_accept_set(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 3);
3215    /* smart callbacks called:
3216     * "changed" - the text content changed
3217     * "selection,start" - the user started selecting text
3218     * "selection,changed" - the user modified the selection size/location
3219     * "selection,cleared" - the user cleared the selection
3220     * "selection,paste" - the user requested a paste of text
3221     * "selection,copy" - the user copied the text
3222     * "selection,cut" - the user cut the text
3223     * "cursor,changed" - the cursor changed position
3224     * "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchor_Info
3225     * "activated" - when the enter key is pressed (useful for single line)
3226     * "press" - when finger/mouse is pressed down
3227     * "clicked" - when finger/mouse is pressed and released (without a drag etc.)
3228     * "clicked,double" - when finger/mouse is double-pressed
3229     * "longpressed" - the entry has been longpressed
3230     * "focused" - the entry has received keyboard focus
3231     * "unfocused" - keyboard focus is gone
3232     */
3233
3234    /* composite widgets - these basically put together basic widgets above
3235     * in convenient packages that do more than basic stuff */
3236
3237    /* anchorview */
3238    /**
3239     * @defgroup Anchorview Anchorview
3240     *
3241     * Anchorview is for displaying text that contains markup with anchors
3242     * like <c>\<a href=1234\>something\</\></c> in it.
3243     *
3244     * Besides being styled differently, the anchorview widget provides the
3245     * necessary functionality so that clicking on these anchors brings up a
3246     * popup with user defined content such as "call", "add to contacts" or
3247     * "open web page". This popup is provided using the @ref Hover widget.
3248     *
3249     * This widget is very similar to @ref Anchorblock, so refer to that
3250     * widget for an example. The only difference Anchorview has is that the
3251     * widget is already provided with scrolling functionality, so if the
3252     * text set to it is too large to fit in the given space, it will scroll,
3253     * whereas the @ref Anchorblock widget will keep growing to ensure all the
3254     * text can be displayed.
3255     *
3256     * This widget emits the following signals:
3257     * @li "anchor,clicked": will be called when an anchor is clicked. The
3258     * @p event_info parameter on the callback will be a pointer of type
3259     * ::Elm_Entry_Anchorview_Info.
3260     *
3261     * See @ref Anchorblock for an example on how to use both of them.
3262     *
3263     * @see Anchorblock
3264     * @see Entry
3265     * @see Hover
3266     *
3267     * @{
3268     */
3269    /**
3270     * @typedef Elm_Entry_Anchorview_Info
3271     *
3272     * The info sent in the callback for "anchor,clicked" signals emitted by
3273     * the Anchorview widget.
3274     */
3275    typedef struct _Elm_Entry_Anchorview_Info Elm_Entry_Anchorview_Info;
3276    /**
3277     * @struct _Elm_Entry_Anchorview_Info
3278     *
3279     * The info sent in the callback for "anchor,clicked" signals emitted by
3280     * the Anchorview widget.
3281     */
3282    struct _Elm_Entry_Anchorview_Info
3283      {
3284         const char     *name; /**< Name of the anchor, as indicated in its href
3285                                    attribute */
3286         int             button; /**< The mouse button used to click on it */
3287         Evas_Object    *hover; /**< The hover object to use for the popup */
3288         struct {
3289              Evas_Coord    x, y, w, h;
3290         } anchor, /**< Geometry selection of text used as anchor */
3291           hover_parent; /**< Geometry of the object used as parent by the
3292                              hover */
3293         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
3294                                              for content on the left side of
3295                                              the hover. Before calling the
3296                                              callback, the widget will make the
3297                                              necessary calculations to check
3298                                              which sides are fit to be set with
3299                                              content, based on the position the
3300                                              hover is activated and its distance
3301                                              to the edges of its parent object
3302                                              */
3303         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
3304                                               the right side of the hover.
3305                                               See @ref hover_left */
3306         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
3307                                             of the hover. See @ref hover_left */
3308         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
3309                                                below the hover. See @ref
3310                                                hover_left */
3311      };
3312    /**
3313     * Add a new Anchorview object
3314     *
3315     * @param parent The parent object
3316     * @return The new object or NULL if it cannot be created
3317     */
3318    EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
3319    /**
3320     * Set the text to show in the anchorview
3321     *
3322     * Sets the text of the anchorview to @p text. This text can include markup
3323     * format tags, including <c>\<a href=anchorname\></c> to begin a segment of
3324     * text that will be specially styled and react to click events, ended with
3325     * either of \</a\> or \</\>. When clicked, the anchor will emit an
3326     * "anchor,clicked" signal that you can attach a callback to with
3327     * evas_object_smart_callback_add(). The name of the anchor given in the
3328     * event info struct will be the one set in the href attribute, in this
3329     * case, anchorname.
3330     *
3331     * Other markup can be used to style the text in different ways, but it's
3332     * up to the style defined in the theme which tags do what.
3333     * @deprecated use elm_object_text_set() instead.
3334     */
3335    EINA_DEPRECATED EAPI void         elm_anchorview_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
3336    /**
3337     * Get the markup text set for the anchorview
3338     *
3339     * Retrieves the text set on the anchorview, with markup tags included.
3340     *
3341     * @param obj The anchorview object
3342     * @return The markup text set or @c NULL if nothing was set or an error
3343     * occurred
3344     * @deprecated use elm_object_text_set() instead.
3345     */
3346    EINA_DEPRECATED EAPI const char  *elm_anchorview_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3347    /**
3348     * Set the parent of the hover popup
3349     *
3350     * Sets the parent object to use by the hover created by the anchorview
3351     * when an anchor is clicked. See @ref Hover for more details on this.
3352     * If no parent is set, the same anchorview object will be used.
3353     *
3354     * @param obj The anchorview object
3355     * @param parent The object to use as parent for the hover
3356     */
3357    EAPI void         elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
3358    /**
3359     * Get the parent of the hover popup
3360     *
3361     * Get the object used as parent for the hover created by the anchorview
3362     * widget. See @ref Hover for more details on this.
3363     *
3364     * @param obj The anchorview object
3365     * @return The object used as parent for the hover, NULL if none is set.
3366     */
3367    EAPI Evas_Object *elm_anchorview_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3368    /**
3369     * Set the style that the hover should use
3370     *
3371     * When creating the popup hover, anchorview will request that it's
3372     * themed according to @p style.
3373     *
3374     * @param obj The anchorview object
3375     * @param style The style to use for the underlying hover
3376     *
3377     * @see elm_object_style_set()
3378     */
3379    EAPI void         elm_anchorview_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
3380    /**
3381     * Get the style that the hover should use
3382     *
3383     * Get the style the hover created by anchorview will use.
3384     *
3385     * @param obj The anchorview object
3386     * @return The style to use by the hover. NULL means the default is used.
3387     *
3388     * @see elm_object_style_set()
3389     */
3390    EAPI const char  *elm_anchorview_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3391    /**
3392     * Ends the hover popup in the anchorview
3393     *
3394     * When an anchor is clicked, the anchorview widget will create a hover
3395     * object to use as a popup with user provided content. This function
3396     * terminates this popup, returning the anchorview to its normal state.
3397     *
3398     * @param obj The anchorview object
3399     */
3400    EAPI void         elm_anchorview_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
3401    /**
3402     * Set bouncing behaviour when the scrolled content reaches an edge
3403     *
3404     * Tell the internal scroller object whether it should bounce or not
3405     * when it reaches the respective edges for each axis.
3406     *
3407     * @param obj The anchorview object
3408     * @param h_bounce Whether to bounce or not in the horizontal axis
3409     * @param v_bounce Whether to bounce or not in the vertical axis
3410     *
3411     * @see elm_scroller_bounce_set()
3412     */
3413    EAPI void         elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
3414    /**
3415     * Get the set bouncing behaviour of the internal scroller
3416     *
3417     * Get whether the internal scroller should bounce when the edge of each
3418     * axis is reached scrolling.
3419     *
3420     * @param obj The anchorview object
3421     * @param h_bounce Pointer where to store the bounce state of the horizontal
3422     *                 axis
3423     * @param v_bounce Pointer where to store the bounce state of the vertical
3424     *                 axis
3425     *
3426     * @see elm_scroller_bounce_get()
3427     */
3428    EAPI void         elm_anchorview_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
3429    /**
3430     * Appends a custom item provider to the given anchorview
3431     *
3432     * Appends the given function to the list of items providers. This list is
3433     * called, one function at a time, with the given @p data pointer, the
3434     * anchorview object and, in the @p item parameter, the item name as
3435     * referenced in its href string. Following functions in the list will be
3436     * called in order until one of them returns something different to NULL,
3437     * which should be an Evas_Object which will be used in place of the item
3438     * element.
3439     *
3440     * Items in the markup text take the form \<item relsize=16x16 vsize=full
3441     * href=item/name\>\</item\>
3442     *
3443     * @param obj The anchorview object
3444     * @param func The function to add to the list of providers
3445     * @param data User data that will be passed to the callback function
3446     *
3447     * @see elm_entry_item_provider_append()
3448     */
3449    EAPI void         elm_anchorview_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorview, const char *item), void *data) EINA_ARG_NONNULL(1, 2);
3450    /**
3451     * Prepend a custom item provider to the given anchorview
3452     *
3453     * Like elm_anchorview_item_provider_append(), but it adds the function
3454     * @p func to the beginning of the list, instead of the end.
3455     *
3456     * @param obj The anchorview object
3457     * @param func The function to add to the list of providers
3458     * @param data User data that will be passed to the callback function
3459     */
3460    EAPI void         elm_anchorview_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorview, const char *item), void *data) EINA_ARG_NONNULL(1, 2);
3461    /**
3462     * Remove a custom item provider from the list of the given anchorview
3463     *
3464     * Removes the function and data pairing that matches @p func and @p data.
3465     * That is, unless the same function and same user data are given, the
3466     * function will not be removed from the list. This allows us to add the
3467     * same callback several times, with different @p data pointers and be
3468     * able to remove them later without conflicts.
3469     *
3470     * @param obj The anchorview object
3471     * @param func The function to remove from the list
3472     * @param data The data matching the function to remove from the list
3473     */
3474    EAPI void         elm_anchorview_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorview, const char *item), void *data) EINA_ARG_NONNULL(1, 2);
3475    /**
3476     * @}
3477     */
3478
3479    /* anchorblock */
3480    /**
3481     * @defgroup Anchorblock Anchorblock
3482     *
3483     * Anchorblock is for displaying text that contains markup with anchors
3484     * like <c>\<a href=1234\>something\</\></c> in it.
3485     *
3486     * Besides being styled differently, the anchorblock widget provides the
3487     * necessary functionality so that clicking on these anchors brings up a
3488     * popup with user defined content such as "call", "add to contacts" or
3489     * "open web page". This popup is provided using the @ref Hover widget.
3490     *
3491     * This widget emits the following signals:
3492     * @li "anchor,clicked": will be called when an anchor is clicked. The
3493     * @p event_info parameter on the callback will be a pointer of type
3494     * ::Elm_Entry_Anchorblock_Info.
3495     *
3496     * @see Anchorview
3497     * @see Entry
3498     * @see Hover
3499     *
3500     * Since examples are usually better than plain words, we might as well
3501     * try @ref tutorial_anchorblock_example "one".
3502     */
3503    /**
3504     * @page tutorial_anchorblock_example Anchorblock/Anchorview example
3505     * This exampel will show both Anchorblock and @ref Anchorview,
3506     * since both are very similar and it's easier to show them once and side
3507     * by side, so the difference is more clear.
3508     *
3509     * We'll show the relevant snippets of the code here, but the full example
3510     * can be found here... sorry, @ref anchorblock_example_01.c "here".
3511     *
3512     * As for the actual example, it's just a simple window with an anchorblock
3513     * and an anchorview, both containing the same text. After including
3514     * Elementary.h and declaring some functions we'll need, we jump to our
3515     * elm_main (see ELM_MAIN) and create our window.
3516     * @dontinclude anchorblock_example_01.c
3517     * @skip int
3518     * @until const char
3519     * @until ;
3520     *
3521     * With the needed variables declared, we'll create the window and a box to
3522     * hold our widgets, but we don't need to go through that here.
3523     *
3524     * In order to make clear where the anchorblock ends and the anchorview
3525     * begins, they'll be each inside a @ref Frame. After creating the frame,
3526     * the anchorblock follows.
3527     * @skip elm_frame_add
3528     * @until elm_frame_content_set
3529     *
3530     * Nothing out of the ordinary there. What's worth mentioning is the call
3531     * to elm_anchorblock_hover_parent_set(). We are telling our widget that
3532     * when an anchor is clicked, the hover for the popup will cover the entire
3533     * window. This affects the area that will be obscured by the hover and
3534     * where clicking will dismiss it, as well as the calculations it does to
3535     * inform the best locations where to insert the popups content.
3536     * Other than that, the code is pretty standard. We also need to set our
3537     * callback for when an anchor is clicked, since it's our task to populate
3538     * the popup. There's no default for it.
3539     *
3540     * The anchorview is no different, we only change a few things so it looks
3541     * different.
3542     * @until elm_frame_content_set
3543     *
3544     * Then we run, so stuff works and close our main function in the usual way.
3545     * @until ELM_MAIN
3546     *
3547     * Now, a little note. Normally you would use either one of anchorblock or
3548     * anchorview, set your one callback to clicks and do your stuff in there.
3549     * In this example, however, there are a few tricks to make it easier to
3550     * show both widgets in one go (and to save me some typing). So we have
3551     * two callbacks, one per widget, that will call a common function to do
3552     * the rest. The trick is using ::Elm_Entry_Anchorblock_Info for the
3553     * anchorview too, since both are equal, and passing a callback to use
3554     * for our buttons to end the hover, because each widget has a different
3555     * function for it.
3556     * @until _anchorview_clicked_cb
3557     * @until }
3558     *
3559     * The meat of our popup is in the following function. We check what kind
3560     * of menu we need to show, based on the name set to the anchor in the
3561     * markup text. If there's no type (something went wrong, no valid contact
3562     * in the address list) we are just putting a button that does nothing, but
3563     * it's perfectly reasonable to just end the hover and call it quits.
3564     *
3565     * Our popup will consist of one main button in the middle of our hover,
3566     * and possibly a secondary button and a list of other options. We'll create
3567     * first our main button and check what kind of popup we need afterwards.
3568     * @skip static void
3569     * @skip static void
3570     * @until eina_stringshare_add
3571     * @until }
3572     *
3573     * Each button has two callbacks, one is our hack to close the hover
3574     * properly based on which widget it belongs to, the other a simple
3575     * printf that will show the action with the anchors own data. This is
3576     * not how you would usually do it. Instead, the common case is to have
3577     * one callback for the button that will know which function to call to end
3578     * things, but since we are doing it this way it's worth noting that
3579     * smart callbacks will be called in reverse in respect to the order they
3580     * were added, and since our @c btn_end_cb will close the hover, and thus
3581     * delete our buttons, the other callback wouldn't be called if we had
3582     * added it before.
3583     *
3584     * After our telephone popup, there are a few others that are practically
3585     * the same, so they won't be shown here.
3586     *
3587     * Once we are done with that, it's time to place our actions into our
3588     * hover. Main button goes in the middle without much questioning, and then
3589     * we see if we have a secondary button and a box of extra options.
3590     * Because I said so, secondary button goes on either side and box of
3591     * options either on top or below the main one, but to choose which
3592     * exactly, we use the hints our callback info has, which saves us from
3593     * having to do the math and see which side has more space available, with
3594     * a little special case where we delete our extra stuff if there's nowhere
3595     * to place it.
3596     * @skip url:
3597     * @skip }
3598     * @skip evas_object_smart
3599     * @until evas_object_del(box)
3600     * @until }
3601     * @until }
3602     *
3603     * The example will look like this:
3604     * @image html screenshots/anchorblock_01.png
3605     * @image latex screenshots/anchorblock_01.eps
3606     *
3607     * @example anchorblock_example_01.c
3608     */
3609    /**
3610     * @addtogroup Anchorblock
3611     * @{
3612     */
3613    /**
3614     * @typedef Elm_Entry_Anchorblock_Info
3615     *
3616     * The info sent in the callback for "anchor,clicked" signals emitted by
3617     * the Anchorblock widget.
3618     */
3619    typedef struct _Elm_Entry_Anchorblock_Info Elm_Entry_Anchorblock_Info;
3620    /**
3621     * @struct _Elm_Entry_Anchorblock_Info
3622     *
3623     * The info sent in the callback for "anchor,clicked" signals emitted by
3624     * the Anchorblock widget.
3625     */
3626    struct _Elm_Entry_Anchorblock_Info
3627      {
3628         const char     *name; /**< Name of the anchor, as indicated in its href
3629                                    attribute */
3630         int             button; /**< The mouse button used to click on it */
3631         Evas_Object    *hover; /**< The hover object to use for the popup */
3632         struct {
3633              Evas_Coord    x, y, w, h;
3634         } anchor, /**< Geometry selection of text used as anchor */
3635           hover_parent; /**< Geometry of the object used as parent by the
3636                              hover */
3637         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
3638                                              for content on the left side of
3639                                              the hover. Before calling the
3640                                              callback, the widget will make the
3641                                              necessary calculations to check
3642                                              which sides are fit to be set with
3643                                              content, based on the position the
3644                                              hover is activated and its distance
3645                                              to the edges of its parent object
3646                                              */
3647         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
3648                                               the right side of the hover.
3649                                               See @ref hover_left */
3650         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
3651                                             of the hover. See @ref hover_left */
3652         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
3653                                                below the hover. See @ref
3654                                                hover_left */
3655      };
3656    /**
3657     * Add a new Anchorblock object
3658     *
3659     * @param parent The parent object
3660     * @return The new object or NULL if it cannot be created
3661     */
3662    EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
3663    /**
3664     * Set the text to show in the anchorblock
3665     *
3666     * Sets the text of the anchorblock to @p text. This text can include markup
3667     * format tags, including <c>\<a href=anchorname\></a></c> to begin a segment
3668     * of text that will be specially styled and react to click events, ended
3669     * with either of \</a\> or \</\>. When clicked, the anchor will emit an
3670     * "anchor,clicked" signal that you can attach a callback to with
3671     * evas_object_smart_callback_add(). The name of the anchor given in the
3672     * event info struct will be the one set in the href attribute, in this
3673     * case, anchorname.
3674     *
3675     * Other markup can be used to style the text in different ways, but it's
3676     * up to the style defined in the theme which tags do what.
3677     * @deprecated use elm_object_text_set() instead.
3678     */
3679    EINA_DEPRECATED EAPI void         elm_anchorblock_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
3680    /**
3681     * Get the markup text set for the anchorblock
3682     *
3683     * Retrieves the text set on the anchorblock, with markup tags included.
3684     *
3685     * @param obj The anchorblock object
3686     * @return The markup text set or @c NULL if nothing was set or an error
3687     * occurred
3688     * @deprecated use elm_object_text_set() instead.
3689     */
3690    EINA_DEPRECATED EAPI const char  *elm_anchorblock_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3691    /**
3692     * Set the parent of the hover popup
3693     *
3694     * Sets the parent object to use by the hover created by the anchorblock
3695     * when an anchor is clicked. See @ref Hover for more details on this.
3696     *
3697     * @param obj The anchorblock object
3698     * @param parent The object to use as parent for the hover
3699     */
3700    EAPI void         elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
3701    /**
3702     * Get the parent of the hover popup
3703     *
3704     * Get the object used as parent for the hover created by the anchorblock
3705     * widget. See @ref Hover for more details on this.
3706     * If no parent is set, the same anchorblock object will be used.
3707     *
3708     * @param obj The anchorblock object
3709     * @return The object used as parent for the hover, NULL if none is set.
3710     */
3711    EAPI Evas_Object *elm_anchorblock_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3712    /**
3713     * Set the style that the hover should use
3714     *
3715     * When creating the popup hover, anchorblock will request that it's
3716     * themed according to @p style.
3717     *
3718     * @param obj The anchorblock object
3719     * @param style The style to use for the underlying hover
3720     *
3721     * @see elm_object_style_set()
3722     */
3723    EAPI void         elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
3724    /**
3725     * Get the style that the hover should use
3726     *
3727     * Get the style the hover created by anchorblock will use.
3728     *
3729     * @param obj The anchorblock object
3730     * @return The style to use by the hover. NULL means the default is used.
3731     *
3732     * @see elm_object_style_set()
3733     */
3734    EAPI const char  *elm_anchorblock_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3735    /**
3736     * Ends the hover popup in the anchorblock
3737     *
3738     * When an anchor is clicked, the anchorblock widget will create a hover
3739     * object to use as a popup with user provided content. This function
3740     * terminates this popup, returning the anchorblock to its normal state.
3741     *
3742     * @param obj The anchorblock object
3743     */
3744    EAPI void         elm_anchorblock_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
3745    /**
3746     * Appends a custom item provider to the given anchorblock
3747     *
3748     * Appends the given function to the list of items providers. This list is
3749     * called, one function at a time, with the given @p data pointer, the
3750     * anchorblock object and, in the @p item parameter, the item name as
3751     * referenced in its href string. Following functions in the list will be
3752     * called in order until one of them returns something different to NULL,
3753     * which should be an Evas_Object which will be used in place of the item
3754     * element.
3755     *
3756     * Items in the markup text take the form \<item relsize=16x16 vsize=full
3757     * href=item/name\>\</item\>
3758     *
3759     * @param obj The anchorblock object
3760     * @param func The function to add to the list of providers
3761     * @param data User data that will be passed to the callback function
3762     *
3763     * @see elm_entry_item_provider_append()
3764     */
3765    EAPI void         elm_anchorblock_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data) EINA_ARG_NONNULL(1, 2);
3766    /**
3767     * Prepend a custom item provider to the given anchorblock
3768     *
3769     * Like elm_anchorblock_item_provider_append(), but it adds the function
3770     * @p func to the beginning of the list, instead of the end.
3771     *
3772     * @param obj The anchorblock object
3773     * @param func The function to add to the list of providers
3774     * @param data User data that will be passed to the callback function
3775     */
3776    EAPI void         elm_anchorblock_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data) EINA_ARG_NONNULL(1, 2);
3777    /**
3778     * Remove a custom item provider from the list of the given anchorblock
3779     *
3780     * Removes the function and data pairing that matches @p func and @p data.
3781     * That is, unless the same function and same user data are given, the
3782     * function will not be removed from the list. This allows us to add the
3783     * same callback several times, with different @p data pointers and be
3784     * able to remove them later without conflicts.
3785     *
3786     * @param obj The anchorblock object
3787     * @param func The function to remove from the list
3788     * @param data The data matching the function to remove from the list
3789     */
3790    EAPI void         elm_anchorblock_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *anchorblock, const char *item), void *data) EINA_ARG_NONNULL(1, 2);
3791    /**
3792     * @}
3793     */
3794
3795    /**
3796     * @defgroup Bubble Bubble
3797     *
3798     * @brief The Bubble is a widget to show text similarly to how speech is
3799     * represented in comics.
3800     *
3801     * The bubble widget contains 5 important visual elements:
3802     * @li The frame is a rectangle with rounded rectangles and an "arrow".
3803     * @li The @p icon is an image to which the frame's arrow points to.
3804     * @li The @p label is a text which appears to the right of the icon if the
3805     * corner is "top_left" or "bottom_left" and is right aligned to the frame
3806     * otherwise.
3807     * @li The @p info is a text which appears to the right of the label. Info's
3808     * font is of a ligther color than label.
3809     * @li The @p content is an evas object that is shown inside the frame.
3810     *
3811     * The position of the arrow, icon, label and info depends on which corner is
3812     * selected. The four available corners are:
3813     * @li "top_left" - Default
3814     * @li "top_right"
3815     * @li "bottom_left"
3816     * @li "bottom_right"
3817     *
3818     * Signals that you can add callbacks for are:
3819     * @li "clicked" - This is called when a user has clicked the bubble.
3820     *
3821     * For an example of using a buble see @ref bubble_01_example_page "this".
3822     *
3823     * @{
3824     */
3825    /**
3826     * Add a new bubble to the parent
3827     *
3828     * @param parent The parent object
3829     * @return The new object or NULL if it cannot be created
3830     *
3831     * This function adds a text bubble to the given parent evas object.
3832     */
3833    EAPI Evas_Object *elm_bubble_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
3834    /**
3835     * Set the label of the bubble
3836     *
3837     * @param obj The bubble object
3838     * @param label The string to set in the label
3839     *
3840     * This function sets the title of the bubble. Where this appears depends on
3841     * the selected corner.
3842     * @deprecated use elm_object_text_set() instead.
3843     */
3844    EINA_DEPRECATED EAPI void         elm_bubble_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
3845    /**
3846     * Get the label of the bubble
3847     *
3848     * @param obj The bubble object
3849     * @return The string of set in the label
3850     *
3851     * This function gets the title of the bubble.
3852     * @deprecated use elm_object_text_set() instead.
3853     */
3854    EINA_DEPRECATED EAPI const char  *elm_bubble_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3855    /**
3856     * Set the info of the bubble
3857     *
3858     * @param obj The bubble object
3859     * @param info The given info about the bubble
3860     *
3861     * This function sets the info of the bubble. Where this appears depends on
3862     * the selected corner.
3863     * @deprecated use elm_object_text_set() instead.
3864     */
3865    EINA_DEPRECATED EAPI void         elm_bubble_info_set(Evas_Object *obj, const char *info) EINA_ARG_NONNULL(1);
3866    /**
3867     * Get the info of the bubble
3868     *
3869     * @param obj The bubble object
3870     *
3871     * @return The "info" string of the bubble
3872     *
3873     * This function gets the info text.
3874     * @deprecated use elm_object_text_set() instead.
3875     */
3876    EINA_DEPRECATED EAPI const char  *elm_bubble_info_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3877    /**
3878     * Set the content to be shown in the bubble
3879     *
3880     * Once the content object is set, a previously set one will be deleted.
3881     * If you want to keep the old content object, use the
3882     * elm_bubble_content_unset() function.
3883     *
3884     * @param obj The bubble object
3885     * @param content The given content of the bubble
3886     *
3887     * This function sets the content shown on the middle of the bubble.
3888     */
3889    EAPI void         elm_bubble_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
3890    /**
3891     * Get the content shown in the bubble
3892     *
3893     * Return the content object which is set for this widget.
3894     *
3895     * @param obj The bubble object
3896     * @return The content that is being used
3897     */
3898    EAPI Evas_Object *elm_bubble_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3899    /**
3900     * Unset the content shown in the bubble
3901     *
3902     * Unparent and return the content object which was set for this widget.
3903     *
3904     * @param obj The bubble object
3905     * @return The content that was being used
3906     */
3907    EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
3908    /**
3909     * Set the icon of the bubble
3910     *
3911     * Once the icon object is set, a previously set one will be deleted.
3912     * If you want to keep the old content object, use the
3913     * elm_icon_content_unset() function.
3914     *
3915     * @param obj The bubble object
3916     * @param icon The given icon for the bubble
3917     */
3918    EAPI void         elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
3919    /**
3920     * Get the icon of the bubble
3921     *
3922     * @param obj The bubble object
3923     * @return The icon for the bubble
3924     *
3925     * This function gets the icon shown on the top left of bubble.
3926     */
3927    EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3928    /**
3929     * Unset the icon of the bubble
3930     *
3931     * Unparent and return the icon object which was set for this widget.
3932     *
3933     * @param obj The bubble object
3934     * @return The icon that was being used
3935     */
3936    EAPI Evas_Object *elm_bubble_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
3937    /**
3938     * Set the corner of the bubble
3939     *
3940     * @param obj The bubble object.
3941     * @param corner The given corner for the bubble.
3942     *
3943     * This function sets the corner of the bubble. The corner will be used to
3944     * determine where the arrow in the frame points to and where label, icon and
3945     * info arre shown.
3946     *
3947     * Possible values for corner are:
3948     * @li "top_left" - Default
3949     * @li "top_right"
3950     * @li "bottom_left"
3951     * @li "bottom_right"
3952     */
3953    EAPI void         elm_bubble_corner_set(Evas_Object *obj, const char *corner) EINA_ARG_NONNULL(1, 2);
3954    /**
3955     * Get the corner of the bubble
3956     *
3957     * @param obj The bubble object.
3958     * @return The given corner for the bubble.
3959     *
3960     * This function gets the selected corner of the bubble.
3961     */
3962    EAPI const char  *elm_bubble_corner_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3963    /**
3964     * @}
3965     */
3966
3967    /* photo */
3968    EAPI Evas_Object *elm_photo_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
3969    EAPI Eina_Bool    elm_photo_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
3970    EAPI void         elm_photo_size_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
3971    EAPI void         elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill) EINA_ARG_NONNULL(1);
3972    EAPI void         elm_photo_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
3973    /* smart callbacks called:
3974     * "clicked" - the user clicked the icon
3975     * "drag,start" - Someone started dragging the image out of the object
3976     * "drag,end" - Dragged item was dropped (somewhere)
3977     */
3978
3979    /* gesture layer */
3980    /** @defgroup Elm_Gesture_Layer Gesture Layer */
3981    /**
3982     * @enum _Elm_Gesture_Types
3983     * Emum of supported gesture types.
3984     * @ingroup Elm_Gesture_Layer
3985     */
3986    enum _Elm_Gesture_Types
3987      {
3988         ELM_GESTURE_FIRST = 0,
3989
3990         ELM_GESTURE_N_TAPS, /**< N fingers single taps */
3991         ELM_GESTURE_N_DOUBLE_TAPS, /**< N fingers double-single taps */
3992         ELM_GESTURE_N_TRIPLE_TAPS, /**< N fingers triple-single taps */
3993
3994         ELM_GESTURE_MOMENTUM, /**< Reports momentum in the dircetion of move */
3995
3996         ELM_GESTURE_N_LINES, /**< N fingers line gesture */
3997         ELM_GESTURE_N_FLICKS, /**< N fingers flick gesture */
3998
3999         ELM_GESTURE_ZOOM, /**< Zoom */
4000         ELM_GESTURE_ROTATE, /**< Rotate */
4001
4002         ELM_GESTURE_LAST
4003      };
4004
4005    /**
4006     * @typedef Elm_Gesture_Types
4007     * Type for Emum of supported gesture types.
4008     * @ingroup Elm_Gesture_Layer
4009     */
4010    typedef enum _Elm_Gesture_Types Elm_Gesture_Types;
4011
4012    /**
4013     * @enum _Elm_Gesture_State
4014     * Emum of gesture states.
4015     * @ingroup Elm_Gesture_Layer
4016     */
4017    enum _Elm_Gesture_State
4018      {
4019         ELM_GESTURE_STATE_UNDEFINED = -1, /**< Gesture not STARTed */
4020         ELM_GESTURE_STATE_START,          /**< Gesture STARTed     */
4021         ELM_GESTURE_STATE_MOVE,           /**< Gesture is ongoing  */
4022         ELM_GESTURE_STATE_END,            /**< Gesture completed   */
4023         ELM_GESTURE_STATE_ABORT    /**< Onging gesture was ABORTed */
4024      };
4025    /**
4026     * @typedef Elm_Gesture_State
4027     * gesture states.
4028     * @ingroup Elm_Gesture_Layer
4029     */
4030    typedef enum _Elm_Gesture_State Elm_Gesture_State;
4031
4032    /**
4033     * @struct _Elm_Gesture_Taps_Info
4034     * Struct holds taps info for user
4035     * @ingroup Elm_Gesture_Layer
4036     */
4037    struct _Elm_Gesture_Taps_Info
4038      {
4039         Evas_Coord x, y;         /**< Holds center point between fingers */
4040         unsigned int n;          /**< Number of fingers tapped           */
4041         unsigned int timestamp;  /**< event timestamp       */
4042      };
4043
4044    /**
4045     * @typedef Elm_Gesture_Taps_Info
4046     * holds taps info for user
4047     * @ingroup Elm_Gesture_Layer
4048     */
4049    typedef struct _Elm_Gesture_Taps_Info Elm_Gesture_Taps_Info;
4050
4051    /**
4052     * @struct _Elm_Gesture_Momentum_Info
4053     * Struct holds momentum info for user
4054     * x1 and y1 are not necessarily in sync
4055     * x1 holds x value of x direction starting point
4056     * and same holds for y1.
4057     * This is noticeable when doing V-shape movement
4058     * @ingroup Elm_Gesture_Layer
4059     */
4060    struct _Elm_Gesture_Momentum_Info
4061      {  /* Report line ends, timestamps, and momentum computed        */
4062         Evas_Coord x1; /**< Final-swipe direction starting point on X */
4063         Evas_Coord y1; /**< Final-swipe direction starting point on Y */
4064         Evas_Coord x2; /**< Final-swipe direction ending point on X   */
4065         Evas_Coord y2; /**< Final-swipe direction ending point on Y   */
4066
4067         unsigned int tx; /**< Timestamp of start of final x-swipe */
4068         unsigned int ty; /**< Timestamp of start of final y-swipe */
4069
4070         Evas_Coord mx; /**< Momentum on X */
4071         Evas_Coord my; /**< Momentum on Y */
4072      };
4073
4074    /**
4075     * @typedef Elm_Gesture_Momentum_Info
4076     * holds momentum info for user
4077     * @ingroup Elm_Gesture_Layer
4078     */
4079     typedef struct _Elm_Gesture_Momentum_Info Elm_Gesture_Momentum_Info;
4080
4081    /**
4082     * @struct _Elm_Gesture_Line_Info
4083     * Struct holds line info for user
4084     * @ingroup Elm_Gesture_Layer
4085     */
4086    struct _Elm_Gesture_Line_Info
4087      {  /* Report line ends, timestamps, and momentum computed      */
4088         Elm_Gesture_Momentum_Info momentum; /**< Line momentum info */
4089         unsigned int n;            /**< Number of fingers (lines)   */
4090         /* FIXME should be radians, bot degrees */
4091         double angle;              /**< Angle (direction) of lines  */
4092      };
4093
4094    /**
4095     * @typedef _Elm_Gesture_Line_Info
4096     * Holds line info for user
4097     * @ingroup Elm_Gesture_Layer
4098     */
4099     typedef struct  _Elm_Gesture_Line_Info Elm_Gesture_Line_Info;
4100
4101    /**
4102     * @struct _Elm_Gesture_Zoom_Info
4103     * Struct holds zoom info for user
4104     * @ingroup Elm_Gesture_Layer
4105     */
4106    struct _Elm_Gesture_Zoom_Info
4107      {
4108         Evas_Coord x, y;       /**< Holds zoom center point reported to user  */
4109         Evas_Coord radius; /**< Holds radius between fingers reported to user */
4110         float zoom;            /**< Zoom value: 1.0 means no zoom             */
4111         float momentum;        /**< Zoom momentum: zoom growth per second (NOT YET SUPPORTED) */
4112      };
4113
4114    /**
4115     * @typedef Elm_Gesture_Zoom_Info
4116     * Holds zoom info for user
4117     * @ingroup Elm_Gesture_Layer
4118     */
4119    typedef struct _Elm_Gesture_Zoom_Info Elm_Gesture_Zoom_Info;
4120
4121    /**
4122     * @struct _Elm_Gesture_Rotate_Info
4123     * Struct holds rotation info for user
4124     * @ingroup Elm_Gesture_Layer
4125     */
4126    struct _Elm_Gesture_Rotate_Info
4127      {
4128         Evas_Coord x, y;   /**< Holds zoom center point reported to user      */
4129         Evas_Coord radius; /**< Holds radius between fingers reported to user */
4130         double base_angle; /**< Holds start-angle */
4131         double angle;      /**< Rotation value: 0.0 means no rotation         */
4132         double momentum;   /**< Rotation momentum: rotation done per second (NOT YET SUPPORTED) */
4133      };
4134
4135    /**
4136     * @typedef Elm_Gesture_Rotate_Info
4137     * Holds rotation info for user
4138     * @ingroup Elm_Gesture_Layer
4139     */
4140    typedef struct _Elm_Gesture_Rotate_Info Elm_Gesture_Rotate_Info;
4141
4142    /**
4143     * @typedef Elm_Gesture_Event_Cb
4144     * User callback used to stream gesture info from gesture layer
4145     * @param data user data
4146     * @param event_info gesture report info
4147     * Returns a flag field to be applied on the causing event.
4148     * You should probably return EVAS_EVENT_FLAG_ON_HOLD if your widget acted
4149     * upon the event, in an irreversible way.
4150     *
4151     * @ingroup Elm_Gesture_Layer
4152     */
4153    typedef Evas_Event_Flags (*Elm_Gesture_Event_Cb) (void *data, void *event_info);
4154
4155    /**
4156     * Use function to set callbacks to be notified about
4157     * change of state of gesture.
4158     * When a user registers a callback with this function
4159     * this means this gesture has to be tested.
4160     *
4161     * When ALL callbacks for a gesture are set to NULL
4162     * it means user isn't interested in gesture-state
4163     * and it will not be tested.
4164     *
4165     * @param obj Pointer to gesture-layer.
4166     * @param idx The gesture you would like to track its state.
4167     * @param cb callback function pointer.
4168     * @param cb_type what event this callback tracks: START, MOVE, END, ABORT.
4169     * @param data user info to be sent to callback (usually, Smart Data)
4170     *
4171     * @ingroup Elm_Gesture_Layer
4172     */
4173    EAPI void elm_gesture_layer_cb_set(Evas_Object *obj, Elm_Gesture_Types idx, Elm_Gesture_State cb_type, Elm_Gesture_Event_Cb cb, void *data) EINA_ARG_NONNULL(1);
4174
4175    /**
4176     * Call this function to get repeat-events settings.
4177     *
4178     * @param obj Pointer to gesture-layer.
4179     *
4180     * @return repeat events settings.
4181     * @see elm_gesture_layer_hold_events_set()
4182     * @ingroup Elm_Gesture_Layer
4183     */
4184    EAPI Eina_Bool elm_gesture_layer_hold_events_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
4185
4186    /**
4187     * This function called in order to make gesture-layer repeat events.
4188     * Set this of you like to get the raw events only if gestures were not detected.
4189     * Clear this if you like gesture layer to fwd events as testing gestures.
4190     *
4191     * @param obj Pointer to gesture-layer.
4192     * @param r Repeat: TRUE/FALSE
4193     *
4194     * @ingroup Elm_Gesture_Layer
4195     */
4196    EAPI void elm_gesture_layer_hold_events_set(Evas_Object *obj, Eina_Bool r) EINA_ARG_NONNULL(1);
4197
4198    /**
4199     * This function sets step-value for zoom action.
4200     * Set step to any positive value.
4201     * Cancel step setting by setting to 0.0
4202     *
4203     * @param obj Pointer to gesture-layer.
4204     * @param s new zoom step value.
4205     *
4206     * @ingroup Elm_Gesture_Layer
4207     */
4208    EAPI void elm_gesture_layer_zoom_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
4209
4210    /**
4211     * This function sets step-value for rotate action.
4212     * Set step to any positive value.
4213     * Cancel step setting by setting to 0.0
4214     *
4215     * @param obj Pointer to gesture-layer.
4216     * @param s new roatate step value.
4217     *
4218     * @ingroup Elm_Gesture_Layer
4219     */
4220    EAPI void elm_gesture_layer_rotate_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
4221
4222    /**
4223     * This function called to attach gesture-layer to an Evas_Object.
4224     * @param obj Pointer to gesture-layer.
4225     * @param t Pointer to underlying object (AKA Target)
4226     *
4227     * @return TRUE, FALSE on success, failure.
4228     *
4229     * @ingroup Elm_Gesture_Layer
4230     */
4231    EAPI Eina_Bool elm_gesture_layer_attach(Evas_Object *obj, Evas_Object *t) EINA_ARG_NONNULL(1, 2);
4232
4233    /**
4234     * Call this function to construct a new gesture-layer object.
4235     * This does not activate the gesture layer. You have to
4236     * call elm_gesture_layer_attach in order to 'activate' gesture-layer.
4237     *
4238     * @param parent the parent object.
4239     *
4240     * @return Pointer to new gesture-layer object.
4241     *
4242     * @ingroup Elm_Gesture_Layer
4243     */
4244    EAPI Evas_Object *elm_gesture_layer_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4245
4246    /* thumb */
4247    typedef enum _Elm_Thumb_Animation_Setting
4248      {
4249         ELM_THUMB_ANIMATION_START = 0, /* Play animation once */
4250         ELM_THUMB_ANIMATION_LOOP,      /* Keep playing animation until stop is requested */
4251         ELM_THUMB_ANIMATION_STOP,
4252         ELM_THUMB_ANIMATION_LAST
4253      } Elm_Thumb_Animation_Setting;
4254
4255    EAPI Evas_Object                 *elm_thumb_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4256    EAPI void                         elm_thumb_reload(Evas_Object *obj) EINA_ARG_NONNULL(1);
4257    EAPI void                         elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key) EINA_ARG_NONNULL(1);
4258    EAPI void                         elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
4259    EAPI void                         elm_thumb_path_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
4260    EAPI void                         elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s) EINA_ARG_NONNULL(1);
4261    EAPI Elm_Thumb_Animation_Setting  elm_thumb_animate_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4262    EAPI void                        *elm_thumb_ethumb_client_get(void);
4263    EAPI Eina_Bool                    elm_thumb_ethumb_client_connected(void);
4264    EAPI Eina_Bool                    elm_thumb_editable_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
4265    EAPI Eina_Bool                    elm_thumb_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4266    /* available styles:
4267     * default
4268     * noframe
4269     */
4270    /* smart callbacks called:
4271     * "clicked" - This is called when a user has clicked the thumb without dragging around.
4272     * "clicked,double" - This is called when a user has double-clicked the thumb.
4273     * "press" - This is called when a user has pressed down the thumb.
4274     * "generate,start" - The thumbnail generation started.
4275     * "generate,stop" - The generation process stopped.
4276     * "generate,error" - The generation failed.
4277     * "load,error" - The thumbnail image loading failed.
4278     */
4279
4280    /* hoversel */
4281    EAPI Evas_Object       *elm_hoversel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4282    EAPI void               elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
4283    EAPI Eina_Bool          elm_hoversel_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4284    EAPI void               elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
4285    EAPI Evas_Object       *elm_hoversel_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4286    EINA_DEPRECATED EAPI void               elm_hoversel_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
4287    EINA_DEPRECATED EAPI const char        *elm_hoversel_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4288    EAPI void               elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
4289    EAPI Evas_Object       *elm_hoversel_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4290    EAPI Evas_Object       *elm_hoversel_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4291    EAPI void               elm_hoversel_hover_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
4292    EAPI void               elm_hoversel_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
4293    EAPI Eina_Bool          elm_hoversel_expanded_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4294    EAPI void               elm_hoversel_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
4295    EAPI const Eina_List   *elm_hoversel_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4296    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) EINA_ARG_NONNULL(1);
4297    EAPI void               elm_hoversel_item_del(Elm_Hoversel_Item *item) EINA_ARG_NONNULL(1);
4298    EAPI void               elm_hoversel_item_del_cb_set(Elm_Hoversel_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
4299    EAPI void              *elm_hoversel_item_data_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
4300    EAPI const char        *elm_hoversel_item_label_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
4301    EAPI void               elm_hoversel_item_icon_set(Elm_Hoversel_Item *it, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type) EINA_ARG_NONNULL(1);
4302    EAPI void               elm_hoversel_item_icon_get(const Elm_Hoversel_Item *it, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type) EINA_ARG_NONNULL(1);
4303    /* smart callbacks called:
4304     * "clicked" - the user clicked the hoversel button and popped up the sel
4305     * "selected" - an item in the hoversel list is selected
4306     * "dismissed" - the hover is dismissed
4307     */
4308
4309    /* toolbar */
4310    typedef enum _Elm_Toolbar_Shrink_Mode
4311      {
4312         ELM_TOOLBAR_SHRINK_NONE,   /**< set toolbar minimun size to fit all the items */
4313         ELM_TOOLBAR_SHRINK_HIDE,   /**< hide excess items */
4314         ELM_TOOLBAR_SHRINK_SCROLL, /**< allow accessing excess items through a scroller */
4315         ELM_TOOLBAR_SHRINK_MENU    /**< inserts a button to pop up a menu with excess items */
4316      } Elm_Toolbar_Shrink_Mode;
4317
4318    typedef struct _Elm_Toolbar_Item Elm_Toolbar_Item; /**< Item of Elm_Toolbar. Sub-type of Elm_Widget_Item */
4319    typedef struct _Elm_Toolbar_Item_State Elm_Toolbar_Item_State; /** State of a Elm_Toolbar_Item */
4320
4321    EAPI Evas_Object            *elm_toolbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4322    EAPI void                    elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size) EINA_ARG_NONNULL(1);
4323    EAPI int                     elm_toolbar_icon_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4324    EAPI void                    elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
4325    EAPI Elm_Icon_Lookup_Order   elm_toolbar_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4326    EAPI void                    elm_toolbar_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
4327    EAPI Eina_Bool               elm_toolbar_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4328    EAPI Elm_Toolbar_Item       *elm_toolbar_item_append(Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
4329    EAPI Elm_Toolbar_Item       *elm_toolbar_item_prepend(Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
4330    EAPI Elm_Toolbar_Item       *elm_toolbar_item_insert_before(Evas_Object *obj, Elm_Toolbar_Item *before, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
4331    EAPI Elm_Toolbar_Item       *elm_toolbar_item_insert_after(Evas_Object *obj, Elm_Toolbar_Item *after, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
4332    EAPI Elm_Toolbar_Item       *elm_toolbar_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4333    EAPI Elm_Toolbar_Item       *elm_toolbar_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4334    EAPI Elm_Toolbar_Item       *elm_toolbar_item_next_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4335    EAPI Elm_Toolbar_Item       *elm_toolbar_item_prev_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4336    EAPI Evas_Object            *elm_toolbar_item_toolbar_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4337    EAPI void                    elm_toolbar_item_priority_set(Elm_Toolbar_Item *item, int priority) EINA_ARG_NONNULL(1);
4338    EAPI int                     elm_toolbar_item_priority_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4339    EAPI const char             *elm_toolbar_item_icon_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4340    EAPI const char             *elm_toolbar_item_label_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4341    EAPI void                    elm_toolbar_item_label_set(Elm_Toolbar_Item *item, const char *label) EINA_ARG_NONNULL(1);
4342    EAPI void                   *elm_toolbar_item_data_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4343    EAPI void                    elm_toolbar_item_data_set(Elm_Toolbar_Item *item, const void *data) EINA_ARG_NONNULL(1);
4344    EAPI Elm_Toolbar_Item       *elm_toolbar_item_find_by_label(const Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
4345    EAPI Eina_Bool               elm_toolbar_item_selected_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4346    EAPI void                    elm_toolbar_item_selected_set(Elm_Toolbar_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
4347    EAPI Elm_Toolbar_Item       *elm_toolbar_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4348    EAPI void                    elm_toolbar_item_icon_set(Elm_Toolbar_Item *item, const char *icon) EINA_ARG_NONNULL(1);
4349    EAPI void                    elm_toolbar_item_del(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4350    EAPI void                    elm_toolbar_item_del_cb_set(Elm_Toolbar_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
4351    EAPI Eina_Bool               elm_toolbar_item_disabled_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4352    EAPI void                    elm_toolbar_item_disabled_set(Elm_Toolbar_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
4353    EAPI void                    elm_toolbar_item_separator_set(Elm_Toolbar_Item *item, Eina_Bool separator) EINA_ARG_NONNULL(1);
4354    EAPI Eina_Bool               elm_toolbar_item_separator_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4355    EAPI void                    elm_toolbar_mode_shrink_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode) EINA_ARG_NONNULL(1);
4356    EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_mode_shrink_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4357    EAPI void                    elm_toolbar_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
4358    EAPI Eina_Bool               elm_toolbar_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4359    EINA_DEPRECATED EAPI void    elm_toolbar_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
4360    EINA_DEPRECATED EAPI Eina_Bool elm_toolbar_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4361    EAPI void                    elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
4362    EAPI Evas_Object            *elm_toolbar_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4363    EAPI void                    elm_toolbar_align_set(Evas_Object *obj, double align) EINA_ARG_NONNULL(1);
4364    EAPI double                  elm_toolbar_align_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4365    EAPI void                    elm_toolbar_item_menu_set(Elm_Toolbar_Item *item, Eina_Bool menu) EINA_ARG_NONNULL(1);
4366    EAPI Evas_Object            *elm_toolbar_item_menu_get(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4367    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_add(Elm_Toolbar_Item *item, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
4368    EAPI Eina_Bool               elm_toolbar_item_state_del(Elm_Toolbar_Item *item, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
4369    EAPI Eina_Bool               elm_toolbar_item_state_set(Elm_Toolbar_Item *it, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
4370    EAPI void                    elm_toolbar_item_state_unset(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
4371    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_get(const Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
4372    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_next(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
4373    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_prev(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
4374    EAPI void                    elm_toolbar_item_tooltip_text_set(Elm_Toolbar_Item *item, const char *text) EINA_ARG_NONNULL(1);
4375    EAPI void                    elm_toolbar_item_tooltip_content_cb_set(Elm_Toolbar_Item *item, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb) EINA_ARG_NONNULL(1);
4376    EAPI void                    elm_toolbar_item_tooltip_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4377    EAPI void                    elm_toolbar_item_tooltip_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
4378    EAPI const char             *elm_toolbar_item_tooltip_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4379    EAPI void                    elm_toolbar_item_cursor_set(Elm_Toolbar_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
4380    EAPI const char             *elm_toolbar_item_cursor_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4381    EAPI void                    elm_toolbar_item_cursor_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4382    EAPI void                    elm_toolbar_item_cursor_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
4383    EAPI const char             *elm_toolbar_item_cursor_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4384    EAPI void                    elm_toolbar_item_cursor_engine_only_set(Elm_Toolbar_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
4385    EAPI Eina_Bool               elm_toolbar_item_cursor_engine_only_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
4386    /* smart callbacks called:
4387     * "clicked" - when the user clicks on a toolbar item and becomes selected
4388     */
4389    /* available styles:
4390     * default
4391     * transparent (no background or shadow, just show the provided content)
4392     */
4393
4394    /* tooltip */
4395    EAPI double       elm_tooltip_delay_get(void);
4396    EAPI Eina_Bool    elm_tooltip_delay_set(double delay);
4397    EAPI void         elm_object_tooltip_show(Evas_Object *obj) EINA_ARG_NONNULL(1);
4398    EAPI void         elm_object_tooltip_hide(Evas_Object *obj) EINA_ARG_NONNULL(1);
4399    EAPI void         elm_object_tooltip_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1, 2);
4400    EAPI void         elm_object_tooltip_content_cb_set(Evas_Object *obj, Elm_Tooltip_Content_Cb func, const void *data, Evas_Smart_Cb del_cb) EINA_ARG_NONNULL(1);
4401    EAPI void         elm_object_tooltip_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4402    EAPI void         elm_object_tooltip_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
4403    EAPI const char  *elm_object_tooltip_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4404    EAPI void         elm_object_cursor_set(Evas_Object *obj, const char *cursor) EINA_ARG_NONNULL(1);
4405    EAPI const char  *elm_object_cursor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4406    EAPI void         elm_object_cursor_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4407    EAPI void         elm_object_cursor_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
4408    EAPI const char  *elm_object_cursor_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4409    EAPI void         elm_object_cursor_engine_only_set(Evas_Object *obj, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
4410    EAPI Eina_Bool    elm_object_cursor_engine_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4411
4412    /* cursors */
4413    EAPI int          elm_cursor_engine_only_get(void);
4414    EAPI Eina_Bool    elm_cursor_engine_only_set(int engine_only);
4415
4416    /* menu */
4417    typedef struct _Elm_Menu_Item Elm_Menu_Item; /**< Item of Elm_Menu. Sub-type of Elm_Widget_Item */
4418    EAPI Evas_Object       *elm_menu_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4419    EAPI void               elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
4420    EAPI Evas_Object       *elm_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4421    EAPI void               elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
4422    EAPI void               elm_menu_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
4423    EAPI const Eina_List   *elm_menu_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4424    EAPI Evas_Object       *elm_menu_item_object_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
4425    EAPI Elm_Menu_Item     *elm_menu_item_add(Evas_Object *obj, Elm_Menu_Item *parent, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
4426    EAPI void               elm_menu_item_label_set(Elm_Menu_Item *item, const char *label) EINA_ARG_NONNULL(1);
4427    EAPI const char        *elm_menu_item_label_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
4428    EAPI void               elm_menu_item_icon_set(Elm_Menu_Item *item, const char *icon) EINA_ARG_NONNULL(1, 2);
4429    EAPI const char        *elm_menu_item_icon_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
4430    EAPI const Evas_Object *elm_menu_item_object_icon_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
4431    EAPI void               elm_menu_item_selected_set(Elm_Menu_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
4432    EAPI Eina_Bool          elm_menu_item_selected_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
4433    EAPI void               elm_menu_item_disabled_set(Elm_Menu_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
4434    EAPI Eina_Bool          elm_menu_item_disabled_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
4435    EAPI Elm_Menu_Item     *elm_menu_item_separator_add(Evas_Object *obj, Elm_Menu_Item *parent) EINA_ARG_NONNULL(1);
4436    EAPI Eina_Bool          elm_menu_item_is_separator(Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
4437    EAPI void               elm_menu_item_del(Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
4438    EAPI void               elm_menu_item_del_cb_set(Elm_Menu_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
4439    EAPI void              *elm_menu_item_data_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
4440    EAPI void               elm_menu_item_data_set(Elm_Menu_Item *item, const void *data) EINA_ARG_NONNULL(1);
4441    EAPI const Eina_List   *elm_menu_item_subitems_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
4442    EAPI const Elm_Menu_Item *elm_menu_selected_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
4443    EAPI const Elm_Menu_Item *elm_menu_last_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
4444    EAPI const Elm_Menu_Item *elm_menu_first_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
4445    EAPI const Elm_Menu_Item *elm_menu_item_next_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
4446    EAPI const Elm_Menu_Item *elm_menu_item_prev_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
4447
4448    /* smart callbacks called:
4449     * "clicked" - the user clicked the empty space in the menu to dismiss. event_info is NULL.
4450     */
4451
4452    /* list */
4453    typedef enum _Elm_List_Mode
4454      {
4455         ELM_LIST_COMPRESS = 0,
4456         ELM_LIST_SCROLL,
4457         ELM_LIST_LIMIT,
4458         ELM_LIST_EXPAND,
4459         ELM_LIST_LAST
4460      } Elm_List_Mode;
4461    typedef struct _Elm_List_Item Elm_List_Item; /**< Item of Elm_List. Sub-type of Elm_Widget_Item */
4462    EAPI Evas_Object     *elm_list_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4463    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) EINA_ARG_NONNULL(1);
4464    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) EINA_ARG_NONNULL(1);
4465    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) EINA_ARG_NONNULL(1, 2);
4466    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) EINA_ARG_NONNULL(1, 2);
4467    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) EINA_ARG_NONNULL(1);
4468    EAPI void             elm_list_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
4469    EAPI void             elm_list_go(Evas_Object *obj) EINA_ARG_NONNULL(1);
4470    EAPI void             elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
4471    EAPI Eina_Bool        elm_list_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4472    EAPI void             elm_list_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
4473    EAPI Elm_List_Mode    elm_list_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4474    EAPI void             elm_list_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
4475    EAPI Eina_Bool        elm_list_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4476    EAPI void             elm_list_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
4477    EAPI Eina_Bool        elm_list_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4478    EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4479    EAPI Elm_List_Item   *elm_list_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4480    EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4481    EAPI void             elm_list_item_separator_set(Elm_List_Item *it, Eina_Bool setting) EINA_ARG_NONNULL(1);
4482    EAPI Eina_Bool        elm_list_item_separator_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
4483    EAPI void             elm_list_item_selected_set(Elm_List_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
4484    EAPI Eina_Bool        elm_list_item_selected_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
4485    EAPI void             elm_list_item_show(Elm_List_Item *item) EINA_ARG_NONNULL(1);
4486    EAPI void             elm_list_item_bring_in(Elm_List_Item *item) EINA_ARG_NONNULL(1);
4487    EAPI void             elm_list_item_del(Elm_List_Item *item) EINA_ARG_NONNULL(1);
4488    EAPI void             elm_list_item_del_cb_set(Elm_List_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
4489    EAPI void            *elm_list_item_data_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
4490    EAPI Evas_Object     *elm_list_item_icon_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
4491    EAPI void             elm_list_item_icon_set(Elm_List_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
4492    EAPI Evas_Object     *elm_list_item_end_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
4493    EAPI void             elm_list_item_end_set(Elm_List_Item *item, Evas_Object *end) EINA_ARG_NONNULL(1);
4494    EAPI Evas_Object     *elm_list_item_base_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
4495    EAPI const char      *elm_list_item_label_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
4496    EAPI void             elm_list_item_label_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
4497    EAPI Elm_List_Item   *elm_list_item_prev(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
4498    EAPI Elm_List_Item   *elm_list_item_next(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
4499    EAPI void             elm_list_item_tooltip_text_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
4500    EAPI void             elm_list_item_tooltip_content_cb_set(Elm_List_Item *item, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb) EINA_ARG_NONNULL(1);
4501    EAPI void             elm_list_item_tooltip_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
4502    EAPI void             elm_list_item_tooltip_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
4503    EAPI const char      *elm_list_item_tooltip_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
4504    EAPI void             elm_list_item_cursor_set(Elm_List_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
4505    EAPI const char      *elm_list_item_cursor_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
4506    EAPI void             elm_list_item_cursor_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
4507    EAPI void             elm_list_item_cursor_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
4508    EAPI const char      *elm_list_item_cursor_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
4509    EAPI void             elm_list_item_cursor_engine_only_set(Elm_List_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
4510    EAPI Eina_Bool        elm_list_item_cursor_engine_only_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
4511    EAPI void             elm_list_item_disabled_set(Elm_List_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
4512    EAPI Eina_Bool        elm_list_item_disabled_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
4513    EAPI void             elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
4514    EAPI void             elm_list_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
4515    EAPI void             elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
4516    EAPI void             elm_list_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) EINA_ARG_NONNULL(1);
4517    /* smart callbacks called:
4518     * "clicked,double" - when the user double-clicked an item
4519     * "selected" - when the user selected an item
4520     * "unselected" - when the user selected an item
4521     * "longpressed" - an item in the hoversel list is long-pressed
4522     * "scroll,edge,top" - the list is scrolled until the top edge
4523     * "scroll,edge,bottom" - the list is scrolled until the bottom edge
4524     * "scroll,edge,left" - the list is scrolled until the left edge
4525     * "scroll,edge,right" - the list is scrolled until the right edge
4526     */
4527
4528    /* slider */
4529    EAPI Evas_Object       *elm_slider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4530    EINA_DEPRECATED EAPI void               elm_slider_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
4531    EINA_DEPRECATED EAPI const char        *elm_slider_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4532    EAPI void               elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
4533    EAPI Evas_Object       *elm_slider_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4534    EAPI Evas_Object       *elm_slider_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4535    EAPI void               elm_slider_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1);
4536    EAPI Evas_Object       *elm_slider_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4537    EAPI Evas_Object       *elm_slider_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4538    EAPI void               elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
4539    EAPI Evas_Coord         elm_slider_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4540    EAPI void               elm_slider_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
4541    EAPI const char        *elm_slider_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4542    EAPI void               elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator) EINA_ARG_NONNULL(1);
4543    EAPI const char        *elm_slider_indicator_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4544   EAPI void                elm_slider_indicator_format_function_set(Evas_Object *obj, const char *(*func)(double val), void (*free_func)(const char *str)) EINA_ARG_NONNULL(1);
4545   EAPI void                elm_slider_units_format_function_set(Evas_Object *obj, const char *(*func)(double val), void (*free_func)(const char *str)) EINA_ARG_NONNULL(1);
4546    EAPI void               elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
4547    EAPI Eina_Bool          elm_slider_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4548    EAPI void               elm_slider_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
4549    EAPI void               elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
4550    EAPI void               elm_slider_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
4551    EAPI double             elm_slider_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4552    EAPI void               elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
4553    EAPI Eina_Bool          elm_slider_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4554    EAPI void               elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show) EINA_ARG_NONNULL(1);
4555    EAPI Eina_Bool          elm_slider_indicator_show_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4556    /* smart callbacks called:
4557     * "changed" - Whenever the slider value is changed by the user.
4558     * "slider,drag,start" - dragging the slider indicator around has started
4559     * "slider,drag,stop" - dragging the slider indicator around has stopped
4560     * "delay,changed" - A short time after the value is changed by the user.
4561     *                   This will be called only when the user stops dragging for a very short
4562     *                   period or when they release their finger/mouse, so it avoids possibly
4563     *                   expensive reactions to the value change.
4564     */
4565
4566    /**
4567     * @addtogroup Actionslider Actionslider
4568     *
4569     * A actionslider is a switcher for 2 or 3 labels with customizable magnet
4570     * properties. The indicator is the element the user drags to choose a label.
4571     * When the position is set with magnet, when released the indicator will be
4572     * moved to it if it's nearest the magnetized position.
4573     *
4574     * @note By default all positions are set as enabled.
4575     *
4576     * Signals that you can add callbacks for are:
4577     *
4578     * "selected" - when user selects an enabled position (the label is passed
4579     *              as event info)".
4580     * @n
4581     * "pos_changed" - when the indicator reaches any of the positions("left",
4582     *                 "right" or "center").
4583     *
4584     * See an example of actionslider usage @ref actionslider_example_page "here"
4585     * @{
4586     */
4587    typedef enum _Elm_Actionslider_Pos
4588      {
4589         ELM_ACTIONSLIDER_NONE = 0,
4590         ELM_ACTIONSLIDER_LEFT = 1 << 0,
4591         ELM_ACTIONSLIDER_CENTER = 1 << 1,
4592         ELM_ACTIONSLIDER_RIGHT = 1 << 2,
4593         ELM_ACTIONSLIDER_ALL = (1 << 3) -1
4594      } Elm_Actionslider_Pos;
4595
4596    /**
4597     * Add a new actionslider to the parent.
4598     *
4599     * @param parent The parent object
4600     * @return The new actionslider object or NULL if it cannot be created
4601     */
4602    EAPI Evas_Object          *elm_actionslider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4603    /**
4604     * Set actionslider labels.
4605     *
4606     * @param obj The actionslider object
4607     * @param left_label The label to be set on the left.
4608     * @param center_label The label to be set on the center.
4609     * @param right_label The label to be set on the right.
4610     * @deprecated use elm_object_text_set() instead.
4611     */
4612    EINA_DEPRECATED EAPI void                  elm_actionslider_labels_set(Evas_Object *obj, const char *left_label, const char *center_label, const char *right_label) EINA_ARG_NONNULL(1);
4613    /**
4614     * Get actionslider labels.
4615     *
4616     * @param obj The actionslider object
4617     * @param left_label A char** to place the left_label of @p obj into.
4618     * @param center_label A char** to place the center_label of @p obj into.
4619     * @param right_label A char** to place the right_label of @p obj into.
4620     * @deprecated use elm_object_text_set() instead.
4621     */
4622    EINA_DEPRECATED EAPI void                  elm_actionslider_labels_get(const Evas_Object *obj, const char **left_label, const char **center_label, const char **right_label) EINA_ARG_NONNULL(1);
4623    /**
4624     * Get actionslider selected label.
4625     *
4626     * @param obj The actionslider object
4627     * @return The selected label
4628     */
4629    EAPI const char           *elm_actionslider_selected_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4630    /**
4631     * Set actionslider indicator position.
4632     *
4633     * @param obj The actionslider object.
4634     * @param pos The position of the indicator.
4635     */
4636    EAPI void                  elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
4637    /**
4638     * Get actionslider indicator position.
4639     *
4640     * @param obj The actionslider object.
4641     * @return The position of the indicator.
4642     */
4643    EAPI Elm_Actionslider_Pos  elm_actionslider_indicator_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4644    /**
4645     * Set actionslider magnet position. To make multiple positions magnets @c or
4646     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT)
4647     *
4648     * @param obj The actionslider object.
4649     * @param pos Bit mask indicating the magnet positions.
4650     */
4651    EAPI void                  elm_actionslider_magnet_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
4652    /**
4653     * Get actionslider magnet position.
4654     *
4655     * @param obj The actionslider object.
4656     * @return The positions with magnet property.
4657     */
4658    EAPI Elm_Actionslider_Pos  elm_actionslider_magnet_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4659    /**
4660     * Set actionslider enabled position. To set multiple positions as enabled @c or
4661     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT).
4662     *
4663     * @note All the positions are enabled by default.
4664     *
4665     * @param obj The actionslider object.
4666     * @param pos Bit mask indicating the enabled positions.
4667     */
4668    EAPI void                  elm_actionslider_enabled_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
4669    /**
4670     * Get actionslider enabled position.
4671     *
4672     * @param obj The actionslider object.
4673     * @return The enabled positions.
4674     */
4675    EAPI Elm_Actionslider_Pos  elm_actionslider_enabled_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4676    /**
4677     * Set the label used on the indicator.
4678     *
4679     * @param obj The actionslider object
4680     * @param label The label to be set on the indicator.
4681     * @deprecated use elm_object_text_set() instead.
4682     */
4683    EINA_DEPRECATED EAPI void                  elm_actionslider_indicator_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
4684    /**
4685     * Get the label used on the indicator object.
4686     *
4687     * @param obj The actionslider object
4688     * @return The indicator label
4689     * @deprecated use elm_object_text_set() instead.
4690     */
4691    EINA_DEPRECATED EAPI const char           *elm_actionslider_indicator_label_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
4692    /**
4693     * @}
4694     */
4695
4696    /* genlist */
4697    typedef enum _Elm_Genlist_Item_Flags
4698      {
4699         ELM_GENLIST_ITEM_NONE = 0,
4700         ELM_GENLIST_ITEM_SUBITEMS = (1 << 0),
4701         ELM_GENLIST_ITEM_GROUP = (1 << 1)
4702      } Elm_Genlist_Item_Flags;
4703    typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class;
4704    typedef struct _Elm_Genlist_Item       Elm_Genlist_Item; /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
4705    typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func;
4706    typedef char        *(*GenlistItemLabelGetFunc) (void *data, Evas_Object *obj, const char *part);
4707    typedef Evas_Object *(*GenlistItemIconGetFunc)  (void *data, Evas_Object *obj, const char *part);
4708    typedef Eina_Bool    (*GenlistItemStateGetFunc) (void *data, Evas_Object *obj, const char *part);
4709    typedef void         (*GenlistItemDelFunc)      (void *data, Evas_Object *obj);
4710    typedef void         (*GenlistItemMovedFunc)    (Evas_Object *obj, Elm_Genlist_Item *item, Elm_Genlist_Item *rel_item, Eina_Bool move_after);
4711
4712    struct _Elm_Genlist_Item_Class
4713      {
4714         const char                *item_style;
4715         struct
4716           {
4717              GenlistItemLabelGetFunc  label_get;
4718              GenlistItemIconGetFunc   icon_get;
4719              GenlistItemStateGetFunc  state_get;
4720              GenlistItemDelFunc       del;
4721              GenlistItemMovedFunc     moved; // TODO: do not use this. change this to smart callback.
4722           } func;
4723         const char                *mode_item_style;
4724      };
4725
4726    EAPI Evas_Object      *elm_genlist_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4727    EAPI void              elm_genlist_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
4728    EAPI void              elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
4729    EAPI Eina_Bool         elm_genlist_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4730    EAPI void              elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
4731    EAPI Elm_List_Mode     elm_genlist_horizontal_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4732    EAPI void              elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
4733    EAPI Eina_Bool         elm_genlist_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4734    EAPI void              elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
4735    EAPI Eina_Bool         elm_genlist_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4736    EAPI void              elm_genlist_compress_mode_set(Evas_Object *obj, Eina_Bool compress) EINA_ARG_NONNULL(1);
4737    EAPI Eina_Bool         elm_genlist_compress_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4738    EAPI void              elm_genlist_height_for_width_mode_set(Evas_Object *obj, Eina_Bool height_for_width) EINA_ARG_NONNULL(1);
4739    EAPI Eina_Bool         elm_genlist_height_for_width_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4740    EAPI void              elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
4741    EAPI void              elm_genlist_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
4742    EAPI void              elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
4743    EAPI Eina_Bool         elm_genlist_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4744    EAPI void              elm_genlist_block_count_set(Evas_Object *obj, int n) EINA_ARG_NONNULL(1);
4745    EAPI int               elm_genlist_block_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4746    EAPI void              elm_genlist_longpress_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
4747    EAPI double            elm_genlist_longpress_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4748    /* operations to add items */
4749    EAPI Elm_Genlist_Item *elm_genlist_item_append(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data) EINA_ARG_NONNULL(1);
4750    EAPI Elm_Genlist_Item *elm_genlist_item_prepend(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data) EINA_ARG_NONNULL(1);
4751    EAPI Elm_Genlist_Item *elm_genlist_item_insert_before(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item *before, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data) EINA_ARG_NONNULL(1, 5);
4752    EAPI Elm_Genlist_Item *elm_genlist_item_insert_after(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item *after, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data) EINA_ARG_NONNULL(1, 5);
4753    EAPI Elm_Genlist_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item_Flags flags, Eina_Compare_Cb comp, Evas_Smart_Cb func,const void *func_data);
4754    EAPI Elm_Genlist_Item *elm_genlist_item_direct_sorted_insert(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Genlist_Item *parent, Elm_Genlist_Item_Flags flags, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data);
4755    /* operations to retrieve existing items */
4756    EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4757    EAPI const Eina_List  *elm_genlist_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4758    EAPI Eina_List        *elm_genlist_realized_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4759    EAPI Elm_Genlist_Item *elm_genlist_at_xy_item_get(const Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *posret) EINA_ARG_NONNULL(1);
4760    EAPI Elm_Genlist_Item *elm_genlist_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4761    EAPI Elm_Genlist_Item *elm_genlist_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4762    EAPI void              elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
4763    EAPI void              elm_genlist_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) EINA_ARG_NONNULL(1);
4764    /* available item styles:
4765     * default
4766     * default_style - The text part is a textblock
4767     * double_label
4768     * icon_top_text_bottom
4769     */
4770    /* Genlist Item operation */
4771    EAPI Elm_Genlist_Item  *elm_genlist_item_next_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4772    EAPI Elm_Genlist_Item  *elm_genlist_item_prev_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4773    EAPI Evas_Object       *elm_genlist_item_genlist_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4774    EAPI Elm_Genlist_Item  *elm_genlist_item_parent_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
4775    EAPI void               elm_genlist_item_subitems_clear(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4776    EAPI void               elm_genlist_item_selected_set(Elm_Genlist_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
4777    EAPI Eina_Bool          elm_genlist_item_selected_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4778    EAPI void               elm_genlist_item_expanded_set(Elm_Genlist_Item *item, Eina_Bool expanded) EINA_ARG_NONNULL(1);
4779    EAPI Eina_Bool          elm_genlist_item_expanded_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4780    EAPI int                elm_genlist_item_expanded_depth_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
4781    EAPI void               elm_genlist_item_disabled_set(Elm_Genlist_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
4782    EAPI Eina_Bool          elm_genlist_item_disabled_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4783    EAPI void               elm_genlist_item_display_only_set(Elm_Genlist_Item *it, Eina_Bool display_only) EINA_ARG_NONNULL(1);
4784    EAPI Eina_Bool          elm_genlist_item_display_only_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
4785    EAPI void               elm_genlist_item_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4786    EAPI void               elm_genlist_item_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4787    EAPI void               elm_genlist_item_top_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4788    EAPI void               elm_genlist_item_top_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4789    EAPI void               elm_genlist_item_middle_show(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
4790    EAPI void               elm_genlist_item_middle_bring_in(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
4791    EAPI void               elm_genlist_item_del(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4792    EAPI void              *elm_genlist_item_data_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4793    EAPI void               elm_genlist_item_data_set(Elm_Genlist_Item *it, const void *data) EINA_ARG_NONNULL(1);
4794    EAPI void               elm_genlist_item_icons_orphan(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
4795    EAPI const Evas_Object *elm_genlist_item_object_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
4796    EAPI void               elm_genlist_item_update(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4797    EAPI void               elm_genlist_item_item_class_update(Elm_Genlist_Item *it, const Elm_Genlist_Item_Class *itc) EINA_ARG_NONNULL(1, 2);
4798    EAPI const Elm_Genlist_Item_Class *elm_genlist_item_item_class_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
4799    EAPI void               elm_genlist_item_tooltip_text_set(Elm_Genlist_Item *item, const char *text) EINA_ARG_NONNULL(1);
4800    EAPI void               elm_genlist_item_tooltip_content_cb_set(Elm_Genlist_Item *item, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb) EINA_ARG_NONNULL(1);
4801    EAPI void               elm_genlist_item_tooltip_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4802    EAPI void               elm_genlist_item_tooltip_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
4803    EAPI const char        *elm_genlist_item_tooltip_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4804    EAPI void               elm_genlist_item_cursor_set(Elm_Genlist_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
4805    EAPI const char        *elm_genlist_item_cursor_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4806    EAPI void               elm_genlist_item_cursor_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4807    EAPI void               elm_genlist_item_cursor_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
4808    EAPI const char        *elm_genlist_item_cursor_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4809    EAPI void               elm_genlist_item_cursor_engine_only_set(Elm_Genlist_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
4810    EAPI Eina_Bool          elm_genlist_item_cursor_engine_only_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
4811    EAPI void               elm_genlist_realized_items_update(Evas_Object *obj) EINA_ARG_NONNULL(1);
4812    EAPI void               elm_genlist_item_mode_set(Elm_Genlist_Item *it, const char *mode_type, Eina_Bool mode_set) EINA_ARG_NONNULL(1, 2);
4813    EAPI const char        *elm_genlist_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4814    EAPI const Elm_Genlist_Item *elm_genlist_mode_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4815    EAPI void               elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
4816    EAPI Eina_Bool          elm_genlist_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4817    /** Signals that you can add callbacks for are:
4818     * "clicked,double" - This is called when a user has double-clicked an item.
4819     *                    The event_info parameter is the genlist item that was
4820     *                    double-clicked.
4821     * "selected" - This is called when a user has made an item selected. The
4822     *              event_info parameter is the genlist item that was selected.
4823     * "unselected" - This is called when a user has made an item unselected. The
4824     *                 event_info parameter is the genlist item that was
4825     *                 unselected.
4826     * "expanded" - This is called when elm_genlist_item_expanded_set() is called
4827     *              and the item is now meant to be expanded. The event_info
4828     *              parameter is the genlist item that was indicated to expand.
4829     *              It is the job of this callback to then fill in the child
4830     *              items.
4831     * "contracted" - This is called when elm_genlist_item_expanded_set() is
4832     *                called and the item is now meant to be contracted. The
4833     *                event_info parameter is the genlist item that was indicated
4834     *                to contract. It is the job of this callback to then delete
4835     *                the child items.
4836     * "expand,request" - This is called when a user has indicated they want to
4837     *                    expand a tree branch item. The callback should decide
4838     *                    if the item can expand (has any children) and then call
4839     *                    elm_genlist_item_expanded_set() appropriately to set
4840     *                    the state. The event_info parameter is the genlist item
4841     *                    that was indicated to expand.
4842     * "contract,request" - This is called when a user has indicated they want to
4843     *                      contract a tree branch item. The callback should
4844     *                      decide if the item can contract (has any children)
4845     *                      and then call elm_genlist_item_expanded_set()
4846     *                      appropriately to set the state. The event_info
4847     *                      parameter is the genlist item that was indicated to
4848     *                      contract.
4849     * "realized" - This is called when the item in the list is created as a real
4850     *              evas object. event_info parameter is the genlist item that
4851     *              was created. The object may be deleted at any time, so it is
4852     *              up to the caller to not use the object pointer from
4853     *              elm_genlist_item_object_get() in a way where it may point to
4854     *              freed objects.
4855     * "unrealized" - This is called just before an item is unrealized. After
4856     *                this call icon objects provided will be deleted and the
4857     *                item object itself delete or be put into a floating cache.
4858     * "drag,start,up" - This is called when the item in the list has been
4859     *                   dragged (not scrolled) up.
4860     * "drag,start,down" - This is called when the item in the list has been
4861     *                     dragged (not scrolled) down.
4862     * "drag,start,left" - This is called when the item in the list has been
4863     *                     dragged (not scrolled) left.
4864     * "drag,start,right" - This is called when the item in the list has been
4865     *                      dragged (not scrolled) right.
4866     * "drag,stop" - This is called when the item in the list has stopped being
4867     *               dragged.
4868     * "drag" - This is called when the item in the list is being dragged.
4869     * "longpressed" - This is called when the item is pressed for a certain
4870     *                 amount of time. By default it's 1 second.
4871     * "scroll,edge,top" - This is called when the genlist is scrolled until the
4872     *                     top edge.
4873     * "scroll,edge,bottom" - This is called when the genlist is scrolled until
4874     *                        the bottom edge.
4875     * "scroll,edge,left" - This is called when the genlist is scrolled until the
4876     *                      left edge.
4877     * "scroll,edge,right" - This is called when the genlist is scrolled until
4878     *                       the right edge.
4879     * "multi,swipe,left" - This is called when the genlist is multi-touch swiped
4880     *                       left.
4881     * "multi,swipe,right" - This is called when the genlist is multi-touch
4882     *                       swiped right.
4883     * "multi,swipe,up" - This is called when the genlist is multi-touch swiped
4884     *                    up.
4885     * "multi,swipe,down" - This is called when the genlist is multi-touch swiped
4886     *                      down.
4887     * "multi,pinch,out" - This is called when the genlist is multi-touch pinched
4888     *                     out.
4889     * "multi,pinch,in" - This is called when the genlist is multi-touch pinched
4890     *                    in.
4891     * "swipe" - This is called when the genlist is swiped.
4892     */
4893
4894    /* check */
4895    EAPI Evas_Object *elm_check_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4896    EINA_DEPRECATED EAPI void         elm_check_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
4897    EINA_DEPRECATED EAPI const char  *elm_check_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4898    EAPI void         elm_check_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
4899    EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4900    EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4901    EAPI void         elm_check_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
4902    EAPI Eina_Bool    elm_check_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4903    EAPI void         elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
4904    /* smart callbacks called:
4905     * "changed" - This is called whenever the user changes the state of one of the check object.
4906     */
4907
4908    /* radio */
4909    EAPI Evas_Object *elm_radio_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4910    EINA_DEPRECATED EAPI void         elm_radio_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
4911    EINA_DEPRECATED EAPI const char  *elm_radio_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4912    EAPI void         elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
4913    EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4914    EAPI Evas_Object *elm_radio_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4915    EAPI void         elm_radio_group_add(Evas_Object *obj, Evas_Object *group) EINA_ARG_NONNULL(1);
4916    EAPI void         elm_radio_state_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
4917    EAPI int          elm_radio_state_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4918    EAPI void         elm_radio_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
4919    EAPI int          elm_radio_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4920    EAPI void         elm_radio_value_pointer_set(Evas_Object *obj, int *valuep) EINA_ARG_NONNULL(1);
4921    /* smart callbacks called:
4922     * "changed" - when the radio status is changed
4923     */
4924
4925    /* pager */
4926    EAPI Evas_Object *elm_pager_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4927    EAPI void         elm_pager_content_push(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
4928    EAPI void         elm_pager_content_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
4929    EAPI void         elm_pager_content_promote(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
4930    EAPI Evas_Object *elm_pager_content_bottom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4931    EAPI Evas_Object *elm_pager_content_top_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4932    /* available item styles:
4933     * default
4934     * fade
4935     * fade_translucide
4936     * fade_invisible
4937     */
4938    /* smart callbacks called:
4939     * "hide,finished" - when the previous page is hided
4940     */
4941
4942    typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class;
4943    typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func;
4944    typedef struct _Elm_Slideshow_Item       Elm_Slideshow_Item; /**< Item of Elm_Slideshow. Sub-type of Elm_Widget_Item */
4945    typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj);
4946    typedef void         (*SlideshowItemDelFunc) (void *data, Evas_Object *obj);
4947
4948    struct _Elm_Slideshow_Item_Class
4949      {
4950         struct _Elm_Slideshow_Item_Class_Func
4951           {
4952              SlideshowItemGetFunc get;
4953              SlideshowItemDelFunc del;
4954           } func;
4955      };
4956
4957    EAPI Evas_Object        *elm_slideshow_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4958    EAPI Elm_Slideshow_Item *elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data) EINA_ARG_NONNULL(1);
4959    EAPI Elm_Slideshow_Item *elm_slideshow_item_sorted_insert(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data, Eina_Compare_Cb func) EINA_ARG_NONNULL(1);
4960    EAPI void                elm_slideshow_show(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
4961    EAPI void                elm_slideshow_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
4962    EAPI void                elm_slideshow_previous(Evas_Object *obj) EINA_ARG_NONNULL(1);
4963    EAPI const Eina_List    *elm_slideshow_transitions_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4964    EAPI void                elm_slideshow_transition_set(Evas_Object *obj, const char *transition) EINA_ARG_NONNULL(1);
4965    EAPI const char         *elm_slideshow_transition_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4966    EAPI void                elm_slideshow_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
4967    EAPI double              elm_slideshow_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4968    EAPI void                elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop) EINA_ARG_NONNULL(1);
4969    EAPI Eina_Bool           elm_slideshow_loop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4970    EAPI void                elm_slideshow_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
4971    EAPI const Eina_List    *elm_slideshow_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4972    EAPI void                elm_slideshow_item_del(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
4973    EAPI void               *elm_slideshow_item_data_get(const Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
4974    EAPI Elm_Slideshow_Item *elm_slideshow_item_current_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4975    EAPI Evas_Object*        elm_slideshow_item_object_get(const Elm_Slideshow_Item* item) EINA_ARG_NONNULL(1);
4976    EAPI Elm_Slideshow_Item *elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth) EINA_ARG_NONNULL(1);
4977    EAPI const char         *elm_slideshow_layout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4978    EAPI void                elm_slideshow_layout_set(Evas_Object *obj, const char *layout) EINA_ARG_NONNULL(1);
4979    EAPI const Eina_List    *elm_slideshow_layouts_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4980    EAPI void                elm_slideshow_cache_before_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
4981    EAPI int                 elm_slideshow_cache_before_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4982    EAPI void                elm_slideshow_cache_after_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
4983    EAPI int                 elm_slideshow_cache_after_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4984    EAPI unsigned int        elm_slideshow_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4985    /* smart callbacks called:
4986     * "changed" - when the slideshow switch to another item
4987     */
4988
4989    /* file selector */
4990    typedef enum _Elm_Fileselector_Mode
4991      {
4992         ELM_FILESELECTOR_LIST = 0,
4993         ELM_FILESELECTOR_GRID,
4994         ELM_FILESELECTOR_LAST
4995      } Elm_Fileselector_Mode;
4996
4997    EAPI Evas_Object          *elm_fileselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4998    EAPI void                  elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save) EINA_ARG_NONNULL(1);
4999    EAPI Eina_Bool             elm_fileselector_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5000    EAPI void                  elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only) EINA_ARG_NONNULL(1);
5001    EAPI Eina_Bool             elm_fileselector_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5002    EAPI void                  elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons) EINA_ARG_NONNULL(1);
5003    EAPI Eina_Bool             elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5004    EAPI Eina_Bool             elm_fileselector_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5005    EAPI void                  elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand) EINA_ARG_NONNULL(1);
5006    EAPI void                  elm_fileselector_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
5007    EAPI const char           *elm_fileselector_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5008    EAPI const char           *elm_fileselector_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5009    EAPI Eina_Bool             elm_fileselector_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
5010    EAPI void                  elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode) EINA_ARG_NONNULL(1);
5011    EAPI Elm_Fileselector_Mode elm_fileselector_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5012    /* smart callbacks called:
5013     * "selected" - the user click on a file
5014     * "directory,open" - the list is populate with a new content. event_info is a directory.
5015     * "done" - the user click on the ok or cancel buttons
5016     */
5017
5018    /* progressbar */
5019    EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5020    EAPI void         elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse) EINA_ARG_NONNULL(1);
5021    EAPI Eina_Bool    elm_progressbar_pulse_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5022    EAPI void         elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
5023    EAPI void         elm_progressbar_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
5024    EAPI double       elm_progressbar_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5025    EINA_DEPRECATED EAPI void         elm_progressbar_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
5026    EINA_DEPRECATED EAPI const char  *elm_progressbar_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5027    EAPI void         elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
5028    EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5029    EAPI Evas_Object *elm_progressbar_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
5030    EAPI void         elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
5031    EAPI Evas_Coord   elm_progressbar_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5032    EAPI void         elm_progressbar_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
5033    EAPI const char  *elm_progressbar_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5034    EAPI void         elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
5035    EAPI Eina_Bool    elm_progressbar_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5036    EAPI void         elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
5037    EAPI Eina_Bool    elm_progressbar_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5038    /* smart callbacks called:
5039     */
5040    /* available item styles:
5041     * default
5042     * wheel (simple style, no text, no progression, only pulse is available)
5043     */
5044
5045    /* separator */
5046    EAPI Evas_Object *elm_separator_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5047    EAPI void         elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
5048    EAPI Eina_Bool    elm_separator_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5049    /* smart callbacks called:
5050     */
5051
5052    /* spinner */
5053    EAPI Evas_Object *elm_spinner_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5054    EAPI void         elm_spinner_label_format_set(Evas_Object *obj, const char *fmt) EINA_ARG_NONNULL(1);
5055    EAPI const char  *elm_spinner_label_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5056    EAPI void         elm_spinner_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
5057    EAPI void         elm_spinner_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
5058    EAPI void         elm_spinner_step_set(Evas_Object *obj, double step) EINA_ARG_NONNULL(1);
5059    EAPI double       elm_spinner_step_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5060    EAPI void         elm_spinner_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
5061    EAPI double       elm_spinner_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5062    EAPI void         elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap) EINA_ARG_NONNULL(1);
5063    EAPI Eina_Bool    elm_spinner_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5064    EAPI void         elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
5065    EAPI Eina_Bool    elm_spinner_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5066    EAPI void         elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label) EINA_ARG_NONNULL(1);
5067    EAPI void         elm_spinner_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
5068    EAPI double       elm_spinner_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5069    /* smart callbacks called:
5070     * "changed" - when the spinner value changes
5071     * "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).
5072     */
5073    /* available item styles:
5074     * default
5075     * vertical (two up/down buttons at the right side and text left aligned)
5076     */
5077
5078    /* index */
5079    typedef struct _Elm_Index_Item Elm_Index_Item; /**< Item of Elm_Index. Sub-type of Elm_Widget_Item */
5080
5081    EAPI Evas_Object    *elm_index_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5082    EAPI void            elm_index_active_set(Evas_Object *obj, Eina_Bool active) EINA_ARG_NONNULL(1);
5083    EAPI Eina_Bool       elm_index_active_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5084    EAPI void            elm_index_item_level_set(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
5085    EAPI int             elm_index_item_level_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5086    EAPI void           *elm_index_item_selected_get(const Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
5087    EAPI void            elm_index_item_append(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
5088    EAPI void            elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
5089    EAPI void            elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
5090    EAPI void            elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
5091    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) EINA_ARG_NONNULL(1);
5092    EAPI void            elm_index_item_del(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
5093    EAPI Elm_Index_Item *elm_index_item_find(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
5094    EAPI void            elm_index_item_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
5095    EAPI void            elm_index_item_go(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
5096    EAPI void           *elm_index_item_data_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
5097    EAPI void            elm_index_item_data_set(Elm_Index_Item *it, const void *data) EINA_ARG_NONNULL(1);
5098    EAPI void            elm_index_item_del_cb_set(Elm_Index_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
5099    EAPI const char     *elm_index_item_letter_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
5100    /* smart callbacks called:
5101     * "changed" - when the selected index item changes
5102     * "delay,changed" - when the selected index item changes, but after some small idle period
5103     * "selected" - when the user releases a finger and selects an item
5104     * "level,up" - when the user moves a finger from the first level to the second level
5105     * "level,down" - when the user moves a finger from the second level to the first level
5106     */
5107
5108    /* photocam */
5109    typedef enum _Elm_Photocam_Zoom_Mode
5110      {
5111         ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0,
5112         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT,
5113         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL,
5114         ELM_PHOTOCAM_ZOOM_MODE_LAST
5115      } Elm_Photocam_Zoom_Mode;
5116
5117    EAPI Evas_Object           *elm_photocam_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5118    EAPI Evas_Load_Error        elm_photocam_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
5119    EAPI const char            *elm_photocam_file_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5120    EAPI void                   elm_photocam_zoom_set(Evas_Object *obj, double zoom) EINA_ARG_NONNULL(1);
5121    EAPI double                 elm_photocam_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5122    EAPI void                   elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode) EINA_ARG_NONNULL(1);
5123    EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5124    EAPI void                   elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
5125    EAPI void                   elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
5126    EAPI void                   elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
5127    EAPI void                   elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
5128    EAPI void                   elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
5129    EAPI Eina_Bool              elm_photocam_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5130    EAPI Evas_Object           *elm_photocam_internal_image_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5131    EAPI void                   elm_photocam_bounce_set(Evas_Object *obj,  Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
5132    EAPI void                   elm_photocam_bounce_get(const Evas_Object *obj,  Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
5133    /* smart callbacks called:
5134     * "clicked" - when image clicked
5135     * "press" - when mouse/finger held down initially on image
5136     * "longpressed" - when mouse/finger held for long time on image
5137     * "clicked,double" - when mouse/finger double-clicked
5138     * "load" - when photo load begins
5139     * "loaded" - when photo load done
5140     * "load,detail" - when detailed image load begins
5141     * "loaded,detail" - when detailed image load done
5142     * "zoom,start" - when zooming started
5143     * "zoom,stop" - when zooming stopped
5144     * "zoom,change" - when auto zoom mode changed zoom level
5145     * "scroll - the content has been scrolled (moved)
5146     * "scroll,anim,start" - scrolling animation has started
5147     * "scroll,anim,stop" - scrolling animation has stopped
5148     * "scroll,drag,start" - dragging the contents around has started
5149     * "scroll,drag,stop" - dragging the contents around has stopped
5150     */
5151
5152    /* map */
5153    typedef enum _Elm_Map_Zoom_Mode
5154      {
5155         ELM_MAP_ZOOM_MODE_MANUAL,
5156         ELM_MAP_ZOOM_MODE_AUTO_FIT,
5157         ELM_MAP_ZOOM_MODE_AUTO_FILL,
5158         ELM_MAP_ZOOM_MODE_LAST
5159      } Elm_Map_Zoom_Mode;
5160
5161    typedef enum _Elm_Map_Route_Sources
5162      {
5163         ELM_MAP_ROUTE_SOURCE_YOURS,
5164         ELM_MAP_ROUTE_SOURCE_MONAV,
5165         ELM_MAP_ROUTE_SOURCE_ORS,
5166         ELM_MAP_ROUTE_SOURCE_LAST
5167      } Elm_Map_Route_Sources;
5168
5169    typedef enum _Elm_Map_Name_Sources
5170      {
5171         ELM_MAP_NAME_SOURCE_NOMINATIM,
5172         ELM_MAP_NAME_SOURCE_LAST
5173      } Elm_Map_Name_Sources;
5174
5175    typedef enum _Elm_Map_Route_Type
5176      {
5177         ELM_MAP_ROUTE_TYPE_MOTOCAR,
5178         ELM_MAP_ROUTE_TYPE_BICYCLE,
5179         ELM_MAP_ROUTE_TYPE_FOOT,
5180         ELM_MAP_ROUTE_TYPE_LAST
5181      } Elm_Map_Route_Type;
5182
5183    typedef enum _Elm_Map_Route_Method
5184      {
5185         ELM_MAP_ROUTE_METHOD_FASTEST,
5186         ELM_MAP_ROUTE_METHOD_SHORTEST,
5187         ELM_MAP_ROUTE_METHOD_LAST
5188      } Elm_Map_Route_Method;
5189
5190    typedef enum _Elm_Map_Name_Method
5191      {
5192         ELM_MAP_NAME_METHOD_SEARCH,
5193         ELM_MAP_NAME_METHOD_REVERSE,
5194         ELM_MAP_NAME_METHOD_LAST
5195      } Elm_Map_Name_Method;
5196
5197    typedef struct _Elm_Map_Marker          Elm_Map_Marker;
5198    typedef struct _Elm_Map_Marker_Class    Elm_Map_Marker_Class;
5199    typedef struct _Elm_Map_Group_Class     Elm_Map_Group_Class;
5200    typedef struct _Elm_Map_Route           Elm_Map_Route;
5201    typedef struct _Elm_Map_Name            Elm_Map_Name;
5202    typedef struct _Elm_Map_Track           Elm_Map_Track;
5203
5204    typedef Evas_Object *(*ElmMapMarkerGetFunc)      (Evas_Object *obj, Elm_Map_Marker *marker, void *data);
5205    typedef void         (*ElmMapMarkerDelFunc)      (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o);
5206    typedef Evas_Object *(*ElmMapMarkerIconGetFunc)  (Evas_Object *obj, Elm_Map_Marker *marker, void *data);
5207    typedef Evas_Object *(*ElmMapGroupIconGetFunc)   (Evas_Object *obj, void *data);
5208
5209    typedef char        *(*ElmMapModuleSourceFunc) (void);
5210    typedef int          (*ElmMapModuleZoomMinFunc) (void);
5211    typedef int          (*ElmMapModuleZoomMaxFunc) (void);
5212    typedef char        *(*ElmMapModuleUrlFunc) (Evas_Object *obj, int x, int y, int zoom);
5213    typedef int          (*ElmMapModuleRouteSourceFunc) (void);
5214    typedef char        *(*ElmMapModuleRouteUrlFunc) (Evas_Object *obj, char *type_name, int method, double flon, double flat, double tlon, double tlat);
5215    typedef char        *(*ElmMapModuleNameUrlFunc) (Evas_Object *obj, int method, char *name, double lon, double lat);
5216    typedef Eina_Bool    (*ElmMapModuleGeoIntoCoordFunc) (const Evas_Object *obj, int zoom, double lon, double lat, int size, int *x, int *y);
5217    typedef Eina_Bool    (*ElmMapModuleCoordIntoGeoFunc) (const Evas_Object *obj, int zoom, int x, int y, int size, double *lon, double *lat);
5218
5219    EAPI Evas_Object          *elm_map_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5220    EAPI void                  elm_map_zoom_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
5221    EAPI int                   elm_map_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5222    EAPI void                  elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode) EINA_ARG_NONNULL(1);
5223    EAPI Elm_Map_Zoom_Mode     elm_map_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5224    EAPI void                  elm_map_geo_region_get(const Evas_Object *obj, double *lon, double *lat) EINA_ARG_NONNULL(1);
5225    EAPI void                  elm_map_geo_region_bring_in(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
5226    EAPI void                  elm_map_geo_region_show(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
5227    EAPI void                  elm_map_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
5228    EAPI Eina_Bool             elm_map_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5229    EAPI void                  elm_map_paused_markers_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
5230    EAPI Eina_Bool             elm_map_paused_markers_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5231    EAPI void                  elm_map_utils_downloading_status_get(const Evas_Object *obj, int *try_num, int *finish_num) EINA_ARG_NONNULL(1, 2, 3);
5232    EAPI void                  elm_map_utils_convert_coord_into_geo(const Evas_Object *obj, int x, int y, int size, double *lon, double *lat) EINA_ARG_NONNULL(1, 5, 6);
5233    EAPI void                  elm_map_utils_convert_geo_into_coord(const Evas_Object *obj, double lon, double lat, int size, int *x, int *y) EINA_ARG_NONNULL(1, 5, 6);
5234    EAPI Elm_Map_Name         *elm_map_utils_convert_coord_into_name(const Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
5235    EAPI Elm_Map_Name         *elm_map_utils_convert_name_into_coord(const Evas_Object *obj, char *address) EINA_ARG_NONNULL(1, 2);
5236    EAPI void                  elm_map_utils_rotate_coord(const Evas_Object *obj, const Evas_Coord x, const Evas_Coord y, const Evas_Coord cx, const Evas_Coord cy, const double degree, Evas_Coord *xx, Evas_Coord *yy) EINA_ARG_NONNULL(1);
5237    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) EINA_ARG_NONNULL(1, 4, 5);
5238    EAPI void                  elm_map_max_marker_per_group_set(Evas_Object *obj, int max) EINA_ARG_NONNULL(1);
5239    EAPI void                  elm_map_marker_remove(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
5240    EAPI void                  elm_map_marker_region_get(const Elm_Map_Marker *marker, double *lon, double *lat) EINA_ARG_NONNULL(1);
5241    EAPI void                  elm_map_marker_bring_in(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
5242    EAPI void                  elm_map_marker_show(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
5243    EAPI void                  elm_map_markers_list_show(Eina_List *markers) EINA_ARG_NONNULL(1);
5244    EAPI Evas_Object          *elm_map_marker_object_get(const Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
5245    EAPI void                  elm_map_marker_update(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
5246    EAPI void                  elm_map_bubbles_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
5247    EAPI Elm_Map_Group_Class  *elm_map_group_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
5248    EAPI void                  elm_map_group_class_style_set(Elm_Map_Group_Class *clas, const char *style) EINA_ARG_NONNULL(1);
5249    EAPI void                  elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, ElmMapGroupIconGetFunc icon_get) EINA_ARG_NONNULL(1);
5250    EAPI void                  elm_map_group_class_data_set(Elm_Map_Group_Class *clas, void *data) EINA_ARG_NONNULL(1);
5251    EAPI void                  elm_map_group_class_zoom_displayed_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
5252    EAPI void                  elm_map_group_class_zoom_grouped_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
5253    EAPI void                  elm_map_group_class_hide_set(Evas_Object *obj, Elm_Map_Group_Class *clas, Eina_Bool hide) EINA_ARG_NONNULL(1, 2);
5254    EAPI Elm_Map_Marker_Class *elm_map_marker_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
5255    EAPI void                  elm_map_marker_class_style_set(Elm_Map_Marker_Class *clas, const char *style) EINA_ARG_NONNULL(1);
5256    EAPI void                  elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerIconGetFunc icon_get) EINA_ARG_NONNULL(1);
5257    EAPI void                  elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerGetFunc get) EINA_ARG_NONNULL(1);
5258    EAPI void                  elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerDelFunc del) EINA_ARG_NONNULL(1);
5259    EAPI const char          **elm_map_source_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5260    EAPI void                  elm_map_source_name_set(Evas_Object *obj, const char *source_name) EINA_ARG_NONNULL(1);
5261    EAPI const char           *elm_map_source_name_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5262    EAPI void                  elm_map_route_source_set(Evas_Object *obj, Elm_Map_Route_Sources source) EINA_ARG_NONNULL(1);
5263    EAPI Elm_Map_Route_Sources elm_map_route_source_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5264    EAPI void                  elm_map_source_zoom_min_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
5265    EAPI int                   elm_map_source_zoom_min_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5266    EAPI void                  elm_map_source_zoom_max_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
5267    EAPI int                   elm_map_source_zoom_max_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5268    EAPI void                  elm_map_user_agent_set(Evas_Object *obj, const char *user_agent) EINA_ARG_NONNULL(1, 2);
5269    EAPI const char           *elm_map_user_agent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5270    EAPI Elm_Map_Route        *elm_map_route_add(Evas_Object *obj, Elm_Map_Route_Type type, Elm_Map_Route_Method method, double flon, double flat, double tlon, double tlat) EINA_ARG_NONNULL(1);
5271    EAPI void                  elm_map_route_remove(Elm_Map_Route *route) EINA_ARG_NONNULL(1);
5272    EAPI void                  elm_map_route_color_set(Elm_Map_Route *route, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
5273    EAPI void                  elm_map_route_color_get(const Elm_Map_Route *route, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
5274    EAPI double                elm_map_route_distance_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
5275    EAPI const char           *elm_map_route_node_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
5276    EAPI const char           *elm_map_route_waypoint_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
5277    EAPI const char           *elm_map_name_address_get(const Elm_Map_Name *name) EINA_ARG_NONNULL(1);
5278    EAPI void                  elm_map_name_region_get(const Elm_Map_Name *name, double *lon, double *lat) EINA_ARG_NONNULL(1);
5279    EAPI void                  elm_map_name_remove(Elm_Map_Name *name) EINA_ARG_NONNULL(1);
5280    EAPI void                  elm_map_rotate_set(Evas_Object *obj, double degree, Evas_Coord cx, Evas_Coord cy) EINA_ARG_NONNULL(1);
5281    EAPI void                  elm_map_rotate_get(const Evas_Object *obj, double *degree, Evas_Coord *cx, Evas_Coord *cy) EINA_ARG_NONNULL(1, 2, 3, 4);
5282    EAPI void                  elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
5283    EAPI Eina_Bool             elm_map_wheel_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5284 #ifdef ELM_EMAP
5285    EAPI Evas_Object          *elm_map_track_add(Evas_Object *obj, EMap_Route *emap) EINA_ARG_NONNULL(1);
5286 #endif
5287    EAPI void                  elm_map_track_remove(Evas_Object *obj, Evas_Object *route) EINA_ARG_NONNULL(1);
5288
5289    /* smart callbacks called:
5290     * "clicked" - when image clicked
5291     * "press" - when mouse/finger held down initially on image
5292     * "longpressed" - when mouse/finger held for long time on image
5293     * "clicked,double" - when mouse/finger double-clicked
5294     * "load,details" - when detailed image load begins
5295     * "loaded,details" - when detailed image load done
5296     * "zoom,start" - when zooming started
5297     * "zoom,stop" - when zooming stopped
5298     * "zoom,change" - when auto zoom mode changed zoom level
5299     * "scroll - the content has been scrolled (moved)
5300     * "scroll,anim,start" - scrolling animation has started
5301     * "scroll,anim,stop" - scrolling animation has stopped
5302     * "scroll,drag,start" - dragging the contents around has started
5303     * "scroll,drag,stop" - dragging the contents around has stopped
5304     */
5305
5306    /* Route */
5307    EAPI Evas_Object *elm_route_add(Evas_Object *parent);
5308 #ifdef ELM_EMAP
5309    EAPI void elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
5310 #endif
5311    EAPI double elm_route_lon_min_get(Evas_Object *obj);
5312    EAPI double elm_route_lat_min_get(Evas_Object *obj);
5313    EAPI double elm_route_lon_max_get(Evas_Object *obj);
5314    EAPI double elm_route_lat_max_get(Evas_Object *obj);
5315
5316
5317    /* panel */
5318    typedef enum _Elm_Panel_Orient
5319      {
5320         ELM_PANEL_ORIENT_TOP,
5321         ELM_PANEL_ORIENT_BOTTOM,
5322         ELM_PANEL_ORIENT_LEFT,
5323         ELM_PANEL_ORIENT_RIGHT,
5324      } Elm_Panel_Orient;
5325
5326    EAPI Evas_Object          *elm_panel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5327    EAPI void                  elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient) EINA_ARG_NONNULL(1);
5328    EAPI Elm_Panel_Orient      elm_panel_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5329    EAPI void                  elm_panel_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
5330    EAPI Evas_Object          *elm_panel_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5331    EAPI Evas_Object          *elm_panel_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
5332    EAPI void                  elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden) EINA_ARG_NONNULL(1);
5333    EAPI Eina_Bool             elm_panel_hidden_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5334    EAPI void                  elm_panel_toggle(Evas_Object *obj) EINA_ARG_NONNULL(1);
5335
5336    /* panes */
5337    /**
5338     * TODO
5339     *
5340     * Update the minimun height of the bar in the theme. No minimun should be set in the vertical theme
5341     * Add events (move, start ...)
5342     */
5343    EAPI Evas_Object          *elm_panes_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5344    EAPI void                  elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
5345    EAPI void                  elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
5346    EAPI Evas_Object          *elm_panes_content_left_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5347    EAPI Evas_Object          *elm_panes_content_right_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5348    EAPI Evas_Object          *elm_panes_content_left_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
5349    EAPI Evas_Object          *elm_panes_content_right_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
5350    EAPI double                elm_panes_content_left_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5351    EAPI void                  elm_panes_content_left_size_set(Evas_Object *obj, double size) EINA_ARG_NONNULL(1);
5352    EAPI void                  elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
5353    EAPI Eina_Bool             elm_panes_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5354
5355    /* flip */
5356    typedef enum _Elm_Flip_Mode
5357      {
5358         ELM_FLIP_ROTATE_Y_CENTER_AXIS,
5359         ELM_FLIP_ROTATE_X_CENTER_AXIS,
5360         ELM_FLIP_ROTATE_XZ_CENTER_AXIS,
5361         ELM_FLIP_ROTATE_YZ_CENTER_AXIS,
5362         ELM_FLIP_CUBE_LEFT,
5363         ELM_FLIP_CUBE_RIGHT,
5364         ELM_FLIP_CUBE_UP,
5365         ELM_FLIP_CUBE_DOWN,
5366         ELM_FLIP_PAGE_LEFT,
5367         ELM_FLIP_PAGE_RIGHT,
5368         ELM_FLIP_PAGE_UP,
5369         ELM_FLIP_PAGE_DOWN
5370      } Elm_Flip_Mode;
5371    typedef enum _Elm_Flip_Interaction
5372      {
5373         ELM_FLIP_INTERACTION_NONE,
5374         ELM_FLIP_INTERACTION_ROTATE,
5375         ELM_FLIP_INTERACTION_CUBE,
5376         ELM_FLIP_INTERACTION_PAGE
5377      } Elm_Flip_Interaction;
5378    typedef enum _Elm_Flip_Direction
5379      {
5380         ELM_FLIP_DIRECTION_UP,
5381         ELM_FLIP_DIRECTION_DOWN,
5382         ELM_FLIP_DIRECTION_LEFT,
5383         ELM_FLIP_DIRECTION_RIGHT
5384      } Elm_Flip_Direction;
5385
5386    EAPI Evas_Object *elm_flip_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5387    EAPI void         elm_flip_content_front_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
5388    EAPI void         elm_flip_content_back_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
5389    EAPI Evas_Object *elm_flip_content_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5390    EAPI Evas_Object *elm_flip_content_back_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5391    EAPI Evas_Object *elm_flip_content_front_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
5392    EAPI Evas_Object *elm_flip_content_back_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
5393    EAPI Eina_Bool    elm_flip_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5394    EAPI void         elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
5395    EAPI void         elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode) EINA_ARG_NONNULL(1);
5396    EAPI void         elm_flip_interaction_set(Evas_Object *obj, Elm_Flip_Interaction mode);
5397    EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Evas_Object *obj);
5398    EAPI void         elm_flip_interacton_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled);
5399    EAPI Eina_Bool    elm_flip_interacton_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir);
5400    EAPI void         elm_flip_interacton_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize);
5401    EAPI double       elm_flip_interacton_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir);
5402    /* smart callbacks called:
5403     * "animate,begin" - when a flip animation was started
5404     * "animate,done" - when a flip animation is finished
5405     */
5406
5407    /* scrolledentry */
5408    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5409    EINA_DEPRECATED EAPI void         elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
5410    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5411    EINA_DEPRECATED EAPI void         elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
5412    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5413    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
5414    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5415    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
5416    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5417    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5418    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
5419    EINA_DEPRECATED EAPI void         elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
5420    EINA_DEPRECATED EAPI void         elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
5421    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5422    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
5423    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
5424    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
5425    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
5426    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
5427    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
5428    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
5429    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
5430    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
5431    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
5432    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
5433    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
5434    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5435    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5436    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5437    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
5438    EINA_DEPRECATED EAPI int          elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5439    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
5440    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
5441    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
5442    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
5443    EINA_DEPRECATED 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) EINA_ARG_NONNULL(1);
5444    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
5445    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5446    EINA_DEPRECATED EAPI void         elm_scrolled_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v) EINA_ARG_NONNULL(1);
5447    EINA_DEPRECATED EAPI void         elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
5448    EINA_DEPRECATED EAPI void         elm_scrolled_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
5449    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1, 2);
5450    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5451    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
5452    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
5453    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1, 2);
5454    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5455    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
5456    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
5457    EINA_DEPRECATED EAPI void         elm_scrolled_entry_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data) EINA_ARG_NONNULL(1, 2);
5458    EINA_DEPRECATED EAPI void         elm_scrolled_entry_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data) EINA_ARG_NONNULL(1, 2);
5459    EINA_DEPRECATED EAPI void         elm_scrolled_entry_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data) EINA_ARG_NONNULL(1, 2);
5460    EINA_DEPRECATED EAPI void         elm_scrolled_entry_text_filter_append(Evas_Object *obj, void (*func) (void *data, Evas_Object *entry, char **text), void *data) EINA_ARG_NONNULL(1, 2);
5461    EINA_DEPRECATED EAPI void         elm_scrolled_entry_text_filter_prepend(Evas_Object *obj, void (*func) (void *data, Evas_Object *entry, char **text), void *data) EINA_ARG_NONNULL(1, 2);
5462    EINA_DEPRECATED EAPI void         elm_scrolled_entry_text_filter_remove(Evas_Object *obj, void (*func) (void *data, Evas_Object *entry, char **text), void *data) EINA_ARG_NONNULL(1, 2);
5463    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
5464    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
5465    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
5466    EINA_DEPRECATED EAPI void         elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
5467    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5468    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
5469    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
5470
5471    /* conformant */
5472    EAPI Evas_Object *elm_conformant_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5473    EAPI void         elm_conformant_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
5474    EAPI Evas_Object *elm_conformant_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5475    EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
5476    EAPI Evas_Object *elm_conformant_content_area_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5477
5478    /* mapbuf */
5479    EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5480    EAPI void         elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
5481    EAPI Evas_Object *elm_mapbuf_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5482    EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
5483    EAPI void         elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
5484    EAPI Eina_Bool    elm_mapbuf_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5485    EAPI void         elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
5486    EAPI Eina_Bool    elm_mapbuf_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5487    EAPI void         elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
5488    EAPI Eina_Bool    elm_mapbuf_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5489
5490    /* flipselector */
5491    typedef struct _Elm_Flipselector_Item Elm_Flipselector_Item;
5492
5493    EAPI Evas_Object               *elm_flipselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5494    EAPI void                       elm_flipselector_flip_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
5495    EAPI void                       elm_flipselector_flip_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
5496    EAPI Elm_Flipselector_Item     *elm_flipselector_item_append(Evas_Object *obj, const char *label, void (*func)(void *data, Evas_Object *obj, void *event_info), void *data) EINA_ARG_NONNULL(1);
5497    EAPI Elm_Flipselector_Item     *elm_flipselector_item_prepend(Evas_Object *obj, const char *label, void (*func)(void *data, Evas_Object *obj, void *event_info), void *data) EINA_ARG_NONNULL(1);
5498    EAPI const Eina_List           *elm_flipselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5499    EAPI Elm_Flipselector_Item     *elm_flipselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5500    EAPI Elm_Flipselector_Item     *elm_flipselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5501    EAPI Elm_Flipselector_Item     *elm_flipselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5502    EAPI void                       elm_flipselector_item_selected_set(Elm_Flipselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
5503    EAPI Eina_Bool                  elm_flipselector_item_selected_get(const Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
5504    EAPI void                       elm_flipselector_item_del(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
5505    EAPI const char                *elm_flipselector_item_label_get(const Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
5506    EAPI void                       elm_flipselector_item_label_set(Elm_Flipselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
5507    EAPI Elm_Flipselector_Item     *elm_flipselector_item_prev_get(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
5508    EAPI Elm_Flipselector_Item     *elm_flipselector_item_next_get(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
5509    EAPI void                       elm_flipselector_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
5510    EAPI double                     elm_flipselector_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5511    /* smart callbacks called:
5512     * "selected" - when flipselector selected item is changed
5513     * "overflowed" - when flipselector item is changed to first item
5514     *                from last item
5515     * "underflowed" - when flipselector item is changed to last item
5516     *                 from first item.
5517     */
5518    /* available styles:
5519     * default
5520     */
5521
5522    /**
5523     * @addtogroup Animator Animator
5524     * @ingroup Elementary
5525     *
5526     * @brief Functions to ease creation of animations.
5527     *
5528     * elm_animator is designed to provide an easy way to create animations.
5529     * Creating an animation with elm_animator is as simple as setting a
5530     * duration, an operating callback and telling it to run the animation.
5531     * However that is not the full extent of elm_animator's ability, animations
5532     * can be paused and resumed, reversed and the animation need not be linear.
5533     *
5534     * To run an animation you must specify at least a duration and operation
5535     * callback, not setting any other properties will create a linear animation
5536     * that runs once and is not reversed.
5537     *
5538     * @ref elm_animator_example_page_01 "This" example should make all of that
5539     * very clear.
5540     *
5541     * @warning elm_animator is @b not a widget.
5542     * @{
5543     */
5544    /**
5545     * @brief Type of curve desired for animation.
5546     *
5547     * The speed in which an animation happens doesn't have to be linear, some
5548     * animations will look better if they're accelerating or decelerating, so
5549     * elm_animator provides four options in this regard:
5550     * @image html elm_animator_curve_style.png
5551     * @image latex elm_animator_curve_style.eps width=\textwidth
5552     * As can be seen in the image the speed of the animation will be:
5553     * @li ELM_ANIMATOR_CURVE_LINEAR constant
5554     * @li ELM_ANIMATOR_CURVE_IN_OUT start slow, speed up and then slow down
5555     * @li ELM_ANIMATOR_CURVE_IN start slow and then speed up
5556     * @li ELM_ANIMATOR_CURVE_OUT start fast and then slow down
5557     */
5558    typedef enum
5559      {
5560         ELM_ANIMATOR_CURVE_LINEAR,
5561         ELM_ANIMATOR_CURVE_IN_OUT,
5562         ELM_ANIMATOR_CURVE_IN,
5563         ELM_ANIMATOR_CURVE_OUT
5564      } Elm_Animator_Curve_Style;
5565    typedef struct _Elm_Animator Elm_Animator;
5566   /**
5567    * Called back per loop of an elementary animators cycle
5568    * @param data user-data given to elm_animator_operation_callback_set()
5569    * @param animator the animator being run
5570    * @param double the position in the animation
5571    */
5572    typedef void (*Elm_Animator_Operation_Cb) (void *data, Elm_Animator *animator, double frame);
5573   /**
5574    * Called back when an elementary animator finishes
5575    * @param data user-data given to elm_animator_completion_callback_set()
5576    */
5577    typedef void (*Elm_Animator_Completion_Cb) (void *data);
5578
5579    /**
5580     * @brief Create a new animator.
5581     *
5582     * @param[in] parent Parent object
5583     *
5584     * The @a parent argument can be set to NULL for no parent. If a parent is set
5585     * there is no need to call elm_animator_del(), when the parent is deleted it
5586     * will delete the animator.
5587     * @deprecated Use @ref Transit instead.
5588     */
5589    EINA_DEPRECATED EAPI Elm_Animator*            elm_animator_add(Evas_Object *parent);
5590    /**
5591     * Deletes the animator freeing any resources it used. If the animator was
5592     * created with a NULL parent this must be called, otherwise it will be
5593     * automatically called when the parent is deleted.
5594     *
5595     * @param[in] animator Animator object
5596     * @deprecated Use @ref Transit instead.
5597     */
5598    EINA_DEPRECATED EAPI void                     elm_animator_del(Elm_Animator *animator) EINA_ARG_NONNULL(1);
5599    /**
5600     * Set the duration of the animation.
5601     *
5602     * @param[in] animator Animator object
5603     * @param[in] duration Duration in second
5604     * @deprecated Use @ref Transit instead.
5605     */
5606    EINA_DEPRECATED EAPI void                     elm_animator_duration_set(Elm_Animator *animator, double duration) EINA_ARG_NONNULL(1);
5607    /**
5608     * @brief Set the callback function for animator operation.
5609     *
5610     * @param[in] animator Animator object
5611     * @param[in] func @ref Elm_Animator_Operation_Cb "Callback" function pointer
5612     * @param[in] data Callback function user argument
5613     *
5614     * The @p func callback will be called with a frame value in range [0, 1] which
5615     * indicates how far along the animation should be. It is the job of @p func to
5616     * actually change the state of any object(or objects) that are being animated.
5617     * @deprecated Use @ref Transit instead.
5618     */
5619    EINA_DEPRECATED EAPI void                     elm_animator_operation_callback_set(Elm_Animator *animator, Elm_Animator_Operation_Cb func, void *data) EINA_ARG_NONNULL(1);
5620    /**
5621     * Set the callback function for the when the animation ends.
5622     *
5623     * @param[in]  animator Animator object
5624     * @param[in]  func   Callback function pointe
5625     * @param[in]  data Callback function user argument
5626     *
5627     * @warning @a func will not be executed if elm_animator_stop() is called.
5628     * @deprecated Use @ref Transit instead.
5629     */
5630    EINA_DEPRECATED EAPI void                     elm_animator_completion_callback_set(Elm_Animator *animator, Elm_Animator_Completion_Cb func, void *data) EINA_ARG_NONNULL(1);
5631    /**
5632     * @brief Stop animator.
5633     *
5634     * @param[in] animator Animator object
5635     *
5636     * If called before elm_animator_animate() it does nothing. If there is an
5637     * animation in progress the animation will be stopped(the operation callback
5638     * will not be executed again) and it can't be restarted using
5639     * elm_animator_resume().
5640     * @deprecated Use @ref Transit instead.
5641     */
5642    EINA_DEPRECATED EAPI void                     elm_animator_stop(Elm_Animator *animator) EINA_ARG_NONNULL(1);
5643    /**
5644     * Set the animator repeat count.
5645     *
5646     * @param[in]  animator Animator object
5647     * @param[in]  repeat_cnt Repeat count
5648     * @deprecated Use @ref Transit instead.
5649     */
5650    EINA_DEPRECATED EAPI void                     elm_animator_repeat_set(Elm_Animator *animator, unsigned int repeat_cnt) EINA_ARG_NONNULL(1);
5651    /**
5652     * @brief Start animation.
5653     *
5654     * @param[in] animator Animator object
5655     *
5656     * This function starts the animation if the nescessary properties(duration
5657     * and operation callback) have been set. Once started the animation will
5658     * run until complete or elm_animator_stop() is called.
5659     * @deprecated Use @ref Transit instead.
5660     */
5661    EINA_DEPRECATED EAPI void                     elm_animator_animate(Elm_Animator *animator) EINA_ARG_NONNULL(1);
5662    /**
5663     * Sets the animation @ref Elm_Animator_Curve_Style "acceleration style".
5664     *
5665     * @param[in] animator Animator object
5666     * @param[in] cs Curve style. Default is ELM_ANIMATOR_CURVE_LINEAR
5667     * @deprecated Use @ref Transit instead.
5668     */
5669    EINA_DEPRECATED EAPI void                     elm_animator_curve_style_set(Elm_Animator *animator, Elm_Animator_Curve_Style cs) EINA_ARG_NONNULL(1);
5670    /**
5671     * Gets the animation @ref Elm_Animator_Curve_Style "acceleration style".
5672     *
5673     * @param[in] animator Animator object
5674     * @param[in] cs Curve style. Default is ELM_ANIMATOR_CURVE_LINEAR
5675     * @deprecated Use @ref Transit instead.
5676     */
5677    EINA_DEPRECATED EAPI Elm_Animator_Curve_Style elm_animator_curve_style_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1);
5678    /**
5679     * @brief Sets wether the animation should be automatically reversed.
5680     *
5681     * @param[in] animator Animator object
5682     * @param[in] reverse Reverse or not
5683     *
5684     * This controls wether the animation will be run on reverse imediately after
5685     * running forward. When this is set together with repetition the animation
5686     * will run in reverse once for each time it ran forward.@n
5687     * Runnin an animation in reverse is accomplished by calling the operation
5688     * callback with a frame value starting at 1 and diminshing until 0.
5689     * @deprecated Use @ref Transit instead.
5690     */
5691    EINA_DEPRECATED EAPI void                     elm_animator_auto_reverse_set(Elm_Animator *animator, Eina_Bool reverse) EINA_ARG_NONNULL(1);
5692    /**
5693     * Gets wether the animation will automatically reversed
5694     *
5695     * @param[in] animator Animator object
5696     * @deprecated Use @ref Transit instead.
5697     */
5698    EINA_DEPRECATED EAPI Eina_Bool                elm_animator_auto_reverse_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1);
5699    /**
5700     * Gets the status for the animator operation. The status of the animator @b
5701     * doesn't take in to account elm_animator_pause() or elm_animator_resume(), it
5702     * only informs if the animation was started and has not ended(either normally
5703     * or through elm_animator_stop()).
5704     *
5705     * @param[in] animator Animator object
5706     * @deprecated Use @ref Transit instead.
5707     */
5708    EINA_DEPRECATED EAPI Eina_Bool                elm_animator_operating_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1);
5709    /**
5710     * Gets how many times the animation will be repeated
5711     *
5712     * @param[in] animator Animator object
5713     * @deprecated Use @ref Transit instead.
5714     */
5715    EINA_DEPRECATED EAPI unsigned int             elm_animator_repeat_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1);
5716    /**
5717     * Pause the animator.
5718     *
5719     * @param[in]  animator Animator object
5720     *
5721     * This causes the animation to be temporarily stopped(the operation callback
5722     * will not be called). If the animation is not yet running this is a no-op.
5723     * Once an animation has been paused with this function it can be resumed
5724     * using elm_animator_resume().
5725     * @deprecated Use @ref Transit instead.
5726     */
5727    EINA_DEPRECATED EAPI void                     elm_animator_pause(Elm_Animator *animator) EINA_ARG_NONNULL(1);
5728    /**
5729     * @brief Resumes the animator.
5730     *
5731     * @param[in]  animator Animator object
5732     *
5733     * Resumes an animation that was paused using elm_animator_pause(), after
5734     * calling this function calls to the operation callback will happen
5735     * normally. If an animation is stopped by means of elm_animator_stop it
5736     * @b can't be restarted with this function.@n
5737     *
5738     * @warning When an animation is resumed it doesn't start from where it was paused, it
5739     * will go to where it would have been if it had not been paused. If an
5740     * animation with a duration of 3 seconds is paused after 1 second for 1 second
5741     * it will resume as if it had ben animating for 2 seconds, the operating
5742     * callback will be called with a frame value of aproximately 2/3.
5743     * @deprecated Use @ref Transit instead.
5744     */
5745    EINA_DEPRECATED EAPI void                     elm_animator_resume(Elm_Animator *animator) EINA_ARG_NONNULL(1);
5746    /**
5747     * @}
5748     */
5749
5750    /* calendar */
5751    typedef enum
5752      {
5753         ELM_CALENDAR_UNIQUE,
5754         ELM_CALENDAR_DAILY,
5755         ELM_CALENDAR_WEEKLY,
5756         ELM_CALENDAR_MONTHLY,
5757         ELM_CALENDAR_ANNUALLY
5758      } Elm_Calendar_Mark_Repeat;
5759    typedef struct _Elm_Calendar_Mark Elm_Calendar_Mark;
5760
5761    EAPI Evas_Object       *elm_calendar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5762    EAPI const char       **elm_calendar_weekdays_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5763    EAPI void               elm_calendar_weekdays_names_set(Evas_Object *obj, const char *weekdays[]) EINA_ARG_NONNULL(1, 2);
5764    EAPI double             elm_calendar_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5765    EAPI void               elm_calendar_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
5766    EAPI void               elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max) EINA_ARG_NONNULL(1);
5767    EAPI void               elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max) EINA_ARG_NONNULL(1);
5768    EAPI Eina_Bool          elm_calendar_day_selection_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5769    EAPI void               elm_calendar_day_selection_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
5770    EAPI Eina_Bool          elm_calendar_selected_time_get(const Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1, 2);
5771    EAPI void               elm_calendar_selected_time_set(Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1);
5772    EAPI void               elm_calendar_format_function_set(Evas_Object *obj, char * (*format_function) (struct tm *stime)) EINA_ARG_NONNULL(1);
5773    EAPI Elm_Calendar_Mark *elm_calendar_mark_add(Evas_Object *obj, const char *mark_type, struct tm *mark_time, Elm_Calendar_Mark_Repeat repeat) EINA_ARG_NONNULL(1);
5774    EAPI void               elm_calendar_mark_del(Elm_Calendar_Mark *mark) EINA_ARG_NONNULL(1);
5775    EAPI void               elm_calendar_marks_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
5776    EAPI const Eina_List   *elm_calendar_marks_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5777    EAPI void               elm_calendar_marks_draw(Evas_Object *obj) EINA_ARG_NONNULL(1);
5778    EINA_DEPRECATED EAPI void               elm_calendar_text_saturday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
5779    EINA_DEPRECATED EAPI void               elm_calendar_text_sunday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
5780    EINA_DEPRECATED EAPI void               elm_calendar_text_weekday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
5781    /* smart callbacks called:
5782     * changed - emitted when the user select a day or change the displayed
5783     * month.
5784     */
5785
5786    /* diskselector */
5787    typedef struct _Elm_Diskselector_Item Elm_Diskselector_Item;
5788
5789    EAPI Evas_Object           *elm_diskselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5790    EAPI Eina_Bool              elm_diskselector_round_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5791    EAPI void                   elm_diskselector_round_set(Evas_Object *obj, Eina_Bool round) EINA_ARG_NONNULL(1);
5792    EINA_DEPRECATED EAPI int    elm_diskselector_side_label_lenght_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5793    EINA_DEPRECATED EAPI void   elm_diskselector_side_label_lenght_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
5794    EAPI int                    elm_diskselector_side_label_length_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5795    EAPI void                   elm_diskselector_side_label_length_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
5796    EAPI void                   elm_diskselector_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
5797    EAPI void                   elm_diskselector_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
5798    EAPI void                   elm_diskselector_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) EINA_ARG_NONNULL(1);
5799    EAPI void                   elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
5800    EAPI void                   elm_diskselector_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
5801    EAPI const Eina_List       *elm_diskselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5802    EAPI Elm_Diskselector_Item *elm_diskselector_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
5803    EAPI void                   elm_diskselector_item_del(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
5804    EAPI void                   elm_diskselector_item_del_cb_set(Elm_Diskselector_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
5805    EAPI void                  *elm_diskselector_item_data_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
5806    EAPI Evas_Object           *elm_diskselector_item_icon_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
5807    EAPI void                   elm_diskselector_item_icon_set(Elm_Diskselector_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
5808    EAPI const char            *elm_diskselector_item_label_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
5809    EAPI void                   elm_diskselector_item_label_set(Elm_Diskselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
5810    EAPI Elm_Diskselector_Item *elm_diskselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5811    EAPI void                   elm_diskselector_item_selected_set(Elm_Diskselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
5812    EAPI Eina_Bool              elm_diskselector_item_selected_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
5813    EAPI Elm_Diskselector_Item *elm_diskselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5814    EAPI Elm_Diskselector_Item *elm_diskselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5815    EAPI Elm_Diskselector_Item *elm_diskselector_item_prev_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
5816    EAPI Elm_Diskselector_Item *elm_diskselector_item_next_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
5817    EAPI void                   elm_diskselector_item_tooltip_text_set(Elm_Diskselector_Item *item, const char *text) EINA_ARG_NONNULL(1);
5818    EAPI void                   elm_diskselector_item_tooltip_content_cb_set(Elm_Diskselector_Item *item, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb) EINA_ARG_NONNULL(1);
5819    EAPI void                   elm_diskselector_item_tooltip_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
5820    EAPI void                   elm_diskselector_item_tooltip_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
5821    EAPI const char            *elm_diskselector_item_tooltip_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
5822    EAPI void                   elm_diskselector_item_cursor_set(Elm_Diskselector_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
5823    EAPI const char            *elm_diskselector_item_cursor_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
5824    EAPI void                   elm_diskselector_item_cursor_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
5825    EAPI void                   elm_diskselector_item_cursor_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
5826    EAPI const char            *elm_diskselector_item_cursor_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
5827    EAPI void                   elm_diskselector_item_cursor_engine_only_set(Elm_Diskselector_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
5828    EAPI Eina_Bool              elm_diskselector_item_cursor_engine_only_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
5829    EAPI void                   elm_diskselector_display_item_num_set(Evas_Object *obj, int num) EINA_ARG_NONNULL(1);
5830    /* smart callbacks called:
5831     * "selected" - when item is selected (scroller stops)
5832     */
5833
5834    /**
5835     * @page tutorial_colorselector Color selector example
5836     * @dontinclude colorselector_example_01.c
5837     *
5838     * This example shows how to change the color of a rectangle using a color
5839     * selector. We aren't going to explain a lot of the code since it's the
5840     * usual setup code:
5841     * @until show(rect)
5842     *
5843     * Now that we have a window with background and a rectangle we can create
5844     * our color_selector and set it's initial color to fully opaque blue:
5845     * @until show
5846     *
5847     * Next we tell ask to be notified whenever the color changes:
5848     * @until changed
5849     *
5850     * We follow that we some more run of the mill setup code:
5851     * @until ELM_MAIN()
5852     *
5853     * And now get to the callback that sets the color of the rectangle:
5854     * @until }
5855     *
5856     * This example will look like this:
5857     * @image html screenshots/colorselector_example_01.png
5858     * @image latex screenshots/colorselector_example_01.eps
5859     *
5860     * @example colorselector_example_01.c
5861     */
5862    /**
5863     * @defgroup Colorselector Colorselector
5864     *
5865     * @{
5866     *
5867     * @brief Widget for user to select a color.
5868     *
5869     * Signals that you can add callbacks for are:
5870     * "changed" - When the color value changes(event_info is NULL).
5871     *
5872     * See @ref tutorial_colorselector.
5873     */
5874    /**
5875     * @brief Add a new colorselector to the parent
5876     *
5877     * @param parent The parent object
5878     * @return The new object or NULL if it cannot be created
5879     *
5880     * @ingroup Colorselector
5881     */
5882    EAPI Evas_Object *elm_colorselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5883    /**
5884     * Set a color for the colorselector
5885     *
5886     * @param obj   Colorselector object
5887     * @param r     r-value of color
5888     * @param g     g-value of color
5889     * @param b     b-value of color
5890     * @param a     a-value of color
5891     *
5892     * @ingroup Colorselector
5893     */
5894    EAPI void         elm_colorselector_color_set(Evas_Object *obj, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
5895    /**
5896     * Get a color from the colorselector
5897     *
5898     * @param obj   Colorselector object
5899     * @param r     integer pointer for r-value of color
5900     * @param g     integer pointer for g-value of color
5901     * @param b     integer pointer for b-value of color
5902     * @param a     integer pointer for a-value of color
5903     *
5904     * @ingroup Colorselector
5905     */
5906    EAPI void         elm_colorselector_color_get(const Evas_Object *obj, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
5907    /**
5908     * @}
5909     */
5910
5911    /* Contextual Popup */
5912    typedef struct _Elm_Ctxpopup_Item Elm_Ctxpopup_Item;
5913
5914    typedef enum _Elm_Ctxpopup_Direction
5915      {
5916         ELM_CTXPOPUP_DIRECTION_DOWN,
5917         ELM_CTXPOPUP_DIRECTION_RIGHT,
5918         ELM_CTXPOPUP_DIRECTION_LEFT,
5919         ELM_CTXPOPUP_DIRECTION_UP,
5920      } Elm_Ctxpopup_Direction;
5921
5922    EAPI Evas_Object  *elm_ctxpopup_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5923    EAPI Evas_Object  *elm_ctxpopup_item_icon_get(const Elm_Ctxpopup_Item *item) EINA_ARG_NONNULL(1);
5924    EAPI void          elm_ctxpopup_item_icon_set(Elm_Ctxpopup_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
5925    EAPI const char   *elm_ctxpopup_item_label_get(const Elm_Ctxpopup_Item *item) EINA_ARG_NONNULL(1);
5926    EAPI void          elm_ctxpopup_item_label_set(Elm_Ctxpopup_Item *item, const char *label) EINA_ARG_NONNULL(1);
5927    EAPI void          elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1, 2);
5928    EAPI Evas_Object  *elm_ctxpopup_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5929    EAPI void          elm_ctxpopup_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
5930    EAPI void          elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
5931    EAPI Eina_Bool     elm_ctxpopup_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5932    Elm_Ctxpopup_Item *elm_ctxpopup_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
5933    EAPI void          elm_ctxpopup_item_del(Elm_Ctxpopup_Item *item) EINA_ARG_NONNULL(1);
5934    EAPI void          elm_ctxpopup_item_disabled_set(Elm_Ctxpopup_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
5935    EAPI Eina_Bool     elm_ctxpopup_item_disabled_get(const Elm_Ctxpopup_Item *item) EINA_ARG_NONNULL(1);
5936    EAPI void          elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1, 2);
5937    EAPI Evas_Object  *elm_ctxpopup_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
5938    EAPI void          elm_ctxpopup_direction_priority_set(Evas_Object *obj, Elm_Ctxpopup_Direction first, Elm_Ctxpopup_Direction second, Elm_Ctxpopup_Direction third, Elm_Ctxpopup_Direction fourth) EINA_ARG_NONNULL(1);
5939    EAPI void          elm_ctxpopup_direction_priority_get(Evas_Object *obj, Elm_Ctxpopup_Direction *first, Elm_Ctxpopup_Direction *second, Elm_Ctxpopup_Direction *third, Elm_Ctxpopup_Direction *fourth) EINA_ARG_NONNULL(1);
5940    /* smart callbacks called:
5941     * "dismissed" - the ctxpopup was dismissed
5942     */
5943
5944    /* transit */
5945    /**
5946     *
5947     * @defgroup Transit Transit
5948     * @ingroup Elementary
5949     *
5950     * Transit is designed to apply various animated transition effects to @c
5951     * Evas_Object, such like translation, rotation, etc. For using these
5952     * effects, create an @ref Elm_Transit and add the desired transition effects.
5953     *
5954     * Once the effects are added into transit, they will be automatically
5955     * managed (their callback will be called until the duration is ended, and
5956     * they will be deleted on completion).
5957     *
5958     * Example:
5959     * @code
5960     * Elm_Transit *trans = elm_transit_add();
5961     * elm_transit_object_add(trans, obj);
5962     * elm_transit_effect_translation_add(trans, 0, 0, 280, 280
5963     * elm_transit_duration_set(transit, 1);
5964     * elm_transit_auto_reverse_set(transit, EINA_TRUE);
5965     * elm_transit_tween_mode_set(transit, ELM_TRANSIT_TWEEN_MODE_DECELERATE);
5966     * elm_transit_repeat_times_set(transit, 3);
5967     * @endcode
5968     *
5969     * Some transition effects are used to change the properties of objects. They
5970     * are:
5971     * @li @ref elm_transit_effect_translation_add
5972     * @li @ref elm_transit_effect_color_add
5973     * @li @ref elm_transit_effect_rotation_add
5974     * @li @ref elm_transit_effect_wipe_add
5975     * @li @ref elm_transit_effect_zoom_add
5976     * @li @ref elm_transit_effect_resizing_add
5977     *
5978     * Other transition effects are used to make one object disappear and another
5979     * object appear on its old place. These effects are:
5980     *
5981     * @li @ref elm_transit_effect_flip_add
5982     * @li @ref elm_transit_effect_resizable_flip_add
5983     * @li @ref elm_transit_effect_fade_add
5984     * @li @ref elm_transit_effect_blend_add
5985     *
5986     * It's also possible to make a transition chain with @ref
5987     * elm_transit_chain_transit_add.
5988     *
5989     * @warning We strongly recommend to use elm_transit just when edje can not do
5990     * the trick. Edje has more advantage than Elm_Transit, it has more flexibility and
5991     * animations can be manipulated inside the theme.
5992     *
5993     * List of examples:
5994     * @li @ref transit_example_01_explained
5995     * @li @ref transit_example_02_explained
5996     * @li @ref transit_example_03_c
5997     * @li @ref transit_example_04_c
5998     *
5999     * @{
6000     */
6001
6002    /**
6003     * @enum Elm_Transit_Tween_Mode
6004     *
6005     * The type of acceleration used in the transition.
6006     */
6007    typedef enum
6008      {
6009         ELM_TRANSIT_TWEEN_MODE_LINEAR, /**< Constant speed */
6010         ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL, /**< Starts slow, increase speed
6011                                              over time, then decrease again
6012                                              and stop slowly */
6013         ELM_TRANSIT_TWEEN_MODE_DECELERATE, /**< Starts fast and decrease
6014                                              speed over time */
6015         ELM_TRANSIT_TWEEN_MODE_ACCELERATE /**< Starts slow and increase speed
6016                                             over time */
6017      } Elm_Transit_Tween_Mode;
6018
6019    /**
6020     * @enum Elm_Transit_Effect_Flip_Axis
6021     *
6022     * The axis where flip effect should be applied.
6023     */
6024    typedef enum
6025      {
6026         ELM_TRANSIT_EFFECT_FLIP_AXIS_X, /**< Flip on X axis */
6027         ELM_TRANSIT_EFFECT_FLIP_AXIS_Y /**< Flip on Y axis */
6028      } Elm_Transit_Effect_Flip_Axis;
6029    /**
6030     * @enum Elm_Transit_Effect_Wipe_Dir
6031     *
6032     * The direction where the wipe effect should occur.
6033     */
6034    typedef enum
6035      {
6036         ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT, /**< Wipe to the left */
6037         ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT, /**< Wipe to the right */
6038         ELM_TRANSIT_EFFECT_WIPE_DIR_UP, /**< Wipe up */
6039         ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN /**< Wipe down */
6040      } Elm_Transit_Effect_Wipe_Dir;
6041    /** @enum Elm_Transit_Effect_Wipe_Type
6042     *
6043     * Whether the wipe effect should show or hide the object.
6044     */
6045    typedef enum
6046      {
6047         ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE, /**< Hide the object during the
6048                                              animation */
6049         ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW /**< Show the object during the
6050                                             animation */
6051      } Elm_Transit_Effect_Wipe_Type;
6052
6053    /**
6054     * @typedef Elm_Transit
6055     *
6056     * The Transit created with elm_transit_add(). This type has the information
6057     * about the objects which the transition will be applied, and the
6058     * transition effects that will be used. It also contains info about
6059     * duration, number of repetitions, auto-reverse, etc.
6060     */
6061    typedef struct _Elm_Transit Elm_Transit;
6062    typedef void Elm_Transit_Effect;
6063    /**
6064     * @typedef Elm_Transit_Effect_Transition_Cb
6065     *
6066     * Transition callback called for this effect on each transition iteration.
6067     */
6068    typedef void (*Elm_Transit_Effect_Transition_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit, double progress);
6069    /**
6070     * Elm_Transit_Effect_End_Cb
6071     *
6072     * Transition callback called for this effect when the transition is over.
6073     */
6074    typedef void (*Elm_Transit_Effect_End_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit);
6075
6076    /**
6077     * Add new transit.
6078     *
6079     * @note Is not necessary to delete the transit object, it will be deleted at
6080     * the end of its operation.
6081     * @note The transit will start playing when the program enter in the main loop, is not
6082     * necessary to give a start to the transit.
6083     *
6084     * @return The transit object.
6085     *
6086     * @ingroup Transit
6087     */
6088    EAPI Elm_Transit                *elm_transit_add(void);
6089
6090    /**
6091     * Stops the animation and delete the @p transit object.
6092     *
6093     * Call this function if you wants to stop the animation before the duration
6094     * time. Make sure the @p transit object is still alive with
6095     * elm_transit_del_cb_set() function.
6096     * All added effects will be deleted, calling its repective data_free_cb
6097     * functions. The function setted by elm_transit_del_cb_set() will be called.
6098     *
6099     * @see elm_transit_del_cb_set()
6100     *
6101     * @param transit The transit object to be deleted.
6102     *
6103     * @ingroup Transit
6104     * @warning Just call this function if you are sure the transit is alive.
6105     */
6106    EAPI void                        elm_transit_del(Elm_Transit *transit) EINA_ARG_NONNULL(1);
6107
6108    /**
6109     * Add a new effect to the transit.
6110     *
6111     * @note The cb function and the data are the key to the effect. If you try to
6112     * add an already added effect, nothing is done.
6113     * @note After the first addition of an effect in @p transit, if its
6114     * effect list become empty again, the @p transit will be killed by
6115     * elm_transit_del(transit) function.
6116     *
6117     * Exemple:
6118     * @code
6119     * Elm_Transit *transit = elm_transit_add();
6120     * elm_transit_effect_add(transit,
6121     *                        elm_transit_effect_blend_op,
6122     *                        elm_transit_effect_blend_context_new(),
6123     *                        elm_transit_effect_blend_context_free);
6124     * @endcode
6125     *
6126     * @param transit The transit object.
6127     * @param transition_cb The operation function. It is called when the
6128     * animation begins, it is the function that actually performs the animation.
6129     * It is called with the @p data, @p transit and the time progression of the
6130     * animation (a double value between 0.0 and 1.0).
6131     * @param effect The context data of the effect.
6132     * @param end_cb The function to free the context data, it will be called
6133     * at the end of the effect, it must finalize the animation and free the
6134     * @p data.
6135     *
6136     * @ingroup Transit
6137     * @warning The transit free the context data at the and of the transition with
6138     * the data_free_cb function, do not use the context data in another transit.
6139     */
6140    EAPI void                        elm_transit_effect_add(Elm_Transit *transit, Elm_Transit_Effect_Transition_Cb transition_cb, Elm_Transit_Effect *effect, Elm_Transit_Effect_End_Cb end_cb) EINA_ARG_NONNULL(1, 2);
6141
6142    /**
6143     * Delete an added effect.
6144     *
6145     * This function will remove the effect from the @p transit, calling the
6146     * data_free_cb to free the @p data.
6147     *
6148     * @see elm_transit_effect_add()
6149     *
6150     * @note If the effect is not found, nothing is done.
6151     * @note If the effect list become empty, this function will call
6152     * elm_transit_del(transit), that is, it will kill the @p transit.
6153     *
6154     * @param transit The transit object.
6155     * @param transition_cb The operation function.
6156     * @param effect The context data of the effect.
6157     *
6158     * @ingroup Transit
6159     */
6160    EAPI void                        elm_transit_effect_del(Elm_Transit *transit, Elm_Transit_Effect_Transition_Cb transition_cb, Elm_Transit_Effect *effect) EINA_ARG_NONNULL(1, 2);
6161
6162    /**
6163     * Add new object to apply the effects.
6164     *
6165     * @note After the first addition of an object in @p transit, if its
6166     * object list become empty again, the @p transit will be killed by
6167     * elm_transit_del(transit) function.
6168     * @note If the @p obj belongs to another transit, the @p obj will be
6169     * removed from it and it will only belong to the @p transit. If the old
6170     * transit stays without objects, it will die.
6171     * @note When you add an object into the @p transit, its state from
6172     * evas_object_pass_events_get(obj) is saved, and it is applied when the
6173     * transit ends, if you change this state whith evas_object_pass_events_set()
6174     * after add the object, this state will change again when @p transit stops to
6175     * run.
6176     *
6177     * @param transit The transit object.
6178     * @param obj Object to be animated.
6179     *
6180     * @ingroup Transit
6181     * @warning It is not allowed to add a new object after transit begins to go.
6182     */
6183    EAPI void                        elm_transit_object_add(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
6184
6185    /**
6186     * Removes an added object from the transit.
6187     *
6188     * @note If the @p obj is not in the @p transit, nothing is done.
6189     * @note If the list become empty, this function will call
6190     * elm_transit_del(transit), that is, it will kill the @p transit.
6191     *
6192     * @param transit The transit object.
6193     * @param obj Object to be removed from @p transit.
6194     *
6195     * @ingroup Transit
6196     * @warning It is not allowed to remove objects after transit begins to go.
6197     */
6198    EAPI void                        elm_transit_object_remove(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
6199
6200    /**
6201     * Get the objects of the transit.
6202     *
6203     * @param transit The transit object.
6204     * @return a Eina_List with the objects from the transit.
6205     *
6206     * @ingroup Transit
6207     */
6208    EAPI const Eina_List            *elm_transit_objects_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
6209
6210    /**
6211     * Enable/disable keeping up the objects states.
6212     * If it is not kept, the objects states will be reset when transition ends.
6213     *
6214     * @note @p transit can not be NULL.
6215     * @note One state includes geometry, color, map data.
6216     *
6217     * @param transit The transit object.
6218     * @param state_keep Keeping or Non Keeping.
6219     *
6220     * @ingroup Transit
6221     */
6222    EAPI void                        elm_transit_objects_final_state_keep_set(Elm_Transit *transit, Eina_Bool state_keep) EINA_ARG_NONNULL(1);
6223
6224    /**
6225     * Get a value whether the objects states will be reset or not.
6226     *
6227     * @note @p transit can not be NULL
6228     *
6229     * @see elm_transit_objects_final_state_keep_set()
6230     *
6231     * @param transit The transit object.
6232     * @return EINA_TRUE means the states of the objects will be reset.
6233     * If @p transit is NULL, EINA_FALSE is returned
6234     *
6235     * @ingroup Transit
6236     */
6237    EAPI Eina_Bool                   elm_transit_objects_final_state_keep_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
6238
6239    /**
6240     * Set the event enabled when transit is operating.
6241     *
6242     * If @p enabled is EINA_TRUE, the objects of the transit will receives
6243     * events from mouse and keyboard during the animation.
6244     * @note When you add an object with elm_transit_object_add(), its state from
6245     * evas_object_pass_events_get(obj) is saved, and it is applied when the
6246     * transit ends, if you change this state with evas_object_pass_events_set()
6247     * after adding the object, this state will change again when @p transit stops
6248     * to run.
6249     *
6250     * @param transit The transit object.
6251     * @param enabled Events are received when enabled is @c EINA_TRUE, and
6252     * ignored otherwise.
6253     *
6254     * @ingroup Transit
6255     */
6256    EAPI void                        elm_transit_event_enabled_set(Elm_Transit *transit, Eina_Bool enabled) EINA_ARG_NONNULL(1);
6257
6258    /**
6259     * Get the value of event enabled status.
6260     *
6261     * @see elm_transit_event_enabled_set()
6262     *
6263     * @param transit The Transit object
6264     * @return EINA_TRUE, when event is enabled. If @p transit is NULL
6265     * EINA_FALSE is returned
6266     *
6267     * @ingroup Transit
6268     */
6269    EAPI Eina_Bool                   elm_transit_event_enabled_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
6270
6271    /**
6272     * Set the user-callback function when the transit is deleted.
6273     *
6274     * @note Using this function twice will overwrite the first function setted.
6275     * @note the @p transit object will be deleted after call @p cb function.
6276     *
6277     * @param transit The transit object.
6278     * @param cb Callback function pointer. This function will be called before
6279     * the deletion of the transit.
6280     * @param data Callback funtion user data. It is the @p op parameter.
6281     *
6282     * @ingroup Transit
6283     */
6284    EAPI void                        elm_transit_del_cb_set(Elm_Transit *transit, void (*cb)(void *data, Elm_Transit* transit), void *data) EINA_ARG_NONNULL(1);
6285
6286    /**
6287     * Set reverse effect automatically.
6288     *
6289     * If auto reverse is setted, after running the effects with the progress
6290     * parameter from 0 to 1, it will call the effecs again with the progress
6291     * from 1 to 0. The transit will last for a time iqual to (2 * duration * repeat),
6292     * where the duration was setted with the function elm_transit_add and
6293     * the repeat with the function elm_transit_repeat_times_set().
6294     *
6295     * @param transit The transit object.
6296     * @param reverse EINA_TRUE means the auto_reverse is on.
6297     *
6298     * @ingroup Transit
6299     */
6300    EAPI void                        elm_transit_auto_reverse_set(Elm_Transit *transit, Eina_Bool reverse) EINA_ARG_NONNULL(1);
6301
6302    /**
6303     * Get if the auto reverse is on.
6304     *
6305     * @see elm_transit_auto_reverse_set()
6306     *
6307     * @param transit The transit object.
6308     * @return EINA_TRUE means auto reverse is on. If @p transit is NULL
6309     * EINA_FALSE is returned
6310     *
6311     * @ingroup Transit
6312     */
6313    EAPI Eina_Bool                   elm_transit_auto_reverse_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
6314
6315    /**
6316     * Set the transit repeat count. Effect will be repeated by repeat count.
6317     *
6318     * This function sets the number of repetition the transit will run after
6319     * the first one, that is, if @p repeat is 1, the transit will run 2 times.
6320     * If the @p repeat is a negative number, it will repeat infinite times.
6321     *
6322     * @note If this function is called during the transit execution, the transit
6323     * will run @p repeat times, ignoring the times it already performed.
6324     *
6325     * @param transit The transit object
6326     * @param repeat Repeat count
6327     *
6328     * @ingroup Transit
6329     */
6330    EAPI void                        elm_transit_repeat_times_set(Elm_Transit *transit, int repeat) EINA_ARG_NONNULL(1);
6331
6332    /**
6333     * Get the transit repeat count.
6334     *
6335     * @see elm_transit_repeat_times_set()
6336     *
6337     * @param transit The Transit object.
6338     * @return The repeat count. If @p transit is NULL
6339     * 0 is returned
6340     *
6341     * @ingroup Transit
6342     */
6343    EAPI int                         elm_transit_repeat_times_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
6344
6345    /**
6346     * Set the transit animation acceleration type.
6347     *
6348     * This function sets the tween mode of the transit that can be:
6349     * ELM_TRANSIT_TWEEN_MODE_LINEAR - The default mode.
6350     * ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL - Starts in accelerate mode and ends decelerating.
6351     * ELM_TRANSIT_TWEEN_MODE_DECELERATE - The animation will be slowed over time.
6352     * ELM_TRANSIT_TWEEN_MODE_ACCELERATE - The animation will accelerate over time.
6353     *
6354     * @param transit The transit object.
6355     * @param tween_mode The tween type.
6356     *
6357     * @ingroup Transit
6358     */
6359    EAPI void                        elm_transit_tween_mode_set(Elm_Transit *transit, Elm_Transit_Tween_Mode tween_mode) EINA_ARG_NONNULL(1);
6360
6361    /**
6362     * Get the transit animation acceleration type.
6363     *
6364     * @note @p transit can not be NULL
6365     *
6366     * @param transit The transit object.
6367     * @return The tween type. If @p transit is NULL
6368     * ELM_TRANSIT_TWEEN_MODE_LINEAR is returned.
6369     *
6370     * @ingroup Transit
6371     */
6372    EAPI Elm_Transit_Tween_Mode      elm_transit_tween_mode_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
6373
6374    /**
6375     * Set the transit animation time
6376     *
6377     * @note @p transit can not be NULL
6378     *
6379     * @param transit The transit object.
6380     * @param duration The animation time.
6381     *
6382     * @ingroup Transit
6383     */
6384    EAPI void                        elm_transit_duration_set(Elm_Transit *transit, double duration) EINA_ARG_NONNULL(1);
6385
6386    /**
6387     * Get the transit animation time
6388     *
6389     * @note @p transit can not be NULL
6390     *
6391     * @param transit The transit object.
6392     *
6393     * @return The transit animation time.
6394     *
6395     * @ingroup Transit
6396     */
6397    EAPI double                      elm_transit_duration_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
6398
6399    /**
6400     * Starts the transition.
6401     * Once this API is called, the transit begins to measure the time.
6402     *
6403     * @note @p transit can not be NULL
6404     *
6405     * @param transit The transit object.
6406     *
6407     * @ingroup Transit
6408     */
6409    EAPI void                        elm_transit_go(Elm_Transit *transit) EINA_ARG_NONNULL(1);
6410
6411    /**
6412     * Pause/Resume the transition.
6413     *
6414     * If you call elm_transit_go again, the transit will be started from the
6415     * beginning, and will be unpaused.
6416     *
6417     * @note @p transit can not be NULL
6418     *
6419     * @param transit The transit object.
6420     * @param paused Whether the transition should be paused or not.
6421     *
6422     * @ingroup Transit
6423     */
6424    EAPI void                        elm_transit_paused_set(Elm_Transit *transit, Eina_Bool paused) EINA_ARG_NONNULL(1);
6425
6426    /**
6427     * Get the value of paused status.
6428     *
6429     * @see elm_transit_paused_set()
6430     *
6431     * @note @p transit can not be NULL
6432     *
6433     * @param transit The transit object.
6434     * @return EINA_TRUE means transition is paused. If @p transit is NULL
6435     * EINA_FALSE is returned
6436     *
6437     * @ingroup Transit
6438     */
6439    EAPI Eina_Bool                   elm_transit_paused_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
6440
6441    /**
6442     * Get the time progression of the animation (a double value between 0.0 and 1.0).
6443     *
6444     * The value returned is a fraction (current time / total time). It
6445     * represents the progression position relative to the total.
6446     *
6447     * @note @p transit can not be NULL
6448     *
6449     * @param transit The transit object.
6450     *
6451     * @return The time progression value. If @p transit is NULL
6452     * 0 is returned
6453     *
6454     * @ingroup Transit
6455     */
6456    EAPI double                      elm_transit_progress_value_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
6457
6458    /**
6459     * Makes the chain relationship between two transits.
6460     *
6461     * @note @p transit can not be NULL. Transit would have multiple chain transits.
6462     * @note @p chain_transit can not be NULL. Chain transits could be chained to the only one transit.
6463     *
6464     * @param transit The transit object.
6465     * @param chain_transit The chain transit object. This transit will be operated
6466     *        after transit is done.
6467     *
6468     * This function adds @p chain_transit transition to a chain after the @p
6469     * transit, and will be started as soon as @p transit ends. See @ref
6470     * transit_example_02_explained for a full example.
6471     *
6472     * @ingroup Transit
6473     */
6474    EAPI void                        elm_transit_chain_transit_add(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1, 2);
6475
6476    /**
6477     * Get the current chain transit list.
6478     *
6479     * @note @p transit can not be NULL.
6480     *
6481     * @param transit The transit object.
6482     * @return chain transit list.
6483     *
6484     * @ingroup Transit
6485     */
6486    EAPI Eina_List                  *elm_transit_chain_transits_get(const Elm_Transit *transit);
6487
6488    /**
6489     * Add the Resizing Effect to Elm_Transit.
6490     *
6491     * @note This API is one of the facades. It creates resizing effect context
6492     * and add it's required APIs to elm_transit_effect_add.
6493     *
6494     * @see elm_transit_effect_add()
6495     *
6496     * @param transit Transit object.
6497     * @param from_w Object width size when effect begins.
6498     * @param from_h Object height size when effect begins.
6499     * @param to_w Object width size when effect ends.
6500     * @param to_h Object height size when effect ends.
6501     * @return Resizing effect context data.
6502     *
6503     * @ingroup Transit
6504     */
6505    EAPI Elm_Transit_Effect *elm_transit_effect_resizing_add(Elm_Transit* transit, Evas_Coord from_w, Evas_Coord from_h, Evas_Coord to_w, Evas_Coord to_h);
6506
6507    /**
6508     * Add the Translation Effect to Elm_Transit.
6509     *
6510     * @note This API is one of the facades. It creates translation effect context
6511     * and add it's required APIs to elm_transit_effect_add.
6512     *
6513     * @see elm_transit_effect_add()
6514     *
6515     * @param transit Transit object.
6516     * @param from_dx X Position variation when effect begins.
6517     * @param from_dy Y Position variation when effect begins.
6518     * @param to_dx X Position variation when effect ends.
6519     * @param to_dy Y Position variation when effect ends.
6520     * @return Translation effect context data.
6521     *
6522     * @ingroup Transit
6523     * @warning It is highly recommended just create a transit with this effect when
6524     * the window that the objects of the transit belongs has already been created.
6525     * This is because this effect needs the geometry information about the objects,
6526     * and if the window was not created yet, it can get a wrong information.
6527     */
6528    EAPI Elm_Transit_Effect *elm_transit_effect_translation_add(Elm_Transit* transit, Evas_Coord from_dx, Evas_Coord from_dy, Evas_Coord to_dx, Evas_Coord to_dy);
6529
6530    /**
6531     * Add the Zoom Effect to Elm_Transit.
6532     *
6533     * @note This API is one of the facades. It creates zoom effect context
6534     * and add it's required APIs to elm_transit_effect_add.
6535     *
6536     * @see elm_transit_effect_add()
6537     *
6538     * @param transit Transit object.
6539     * @param from_rate Scale rate when effect begins (1 is current rate).
6540     * @param to_rate Scale rate when effect ends.
6541     * @return Zoom effect context data.
6542     *
6543     * @ingroup Transit
6544     * @warning It is highly recommended just create a transit with this effect when
6545     * the window that the objects of the transit belongs has already been created.
6546     * This is because this effect needs the geometry information about the objects,
6547     * and if the window was not created yet, it can get a wrong information.
6548     */
6549    EAPI Elm_Transit_Effect *elm_transit_effect_zoom_add(Elm_Transit *transit, float from_rate, float to_rate);
6550
6551    /**
6552     * Add the Flip Effect to Elm_Transit.
6553     *
6554     * @note This API is one of the facades. It creates flip effect context
6555     * and add it's required APIs to elm_transit_effect_add.
6556     * @note This effect is applied to each pair of objects in the order they are listed
6557     * in the transit list of objects. The first object in the pair will be the
6558     * "front" object and the second will be the "back" object.
6559     *
6560     * @see elm_transit_effect_add()
6561     *
6562     * @param transit Transit object.
6563     * @param axis Flipping Axis(X or Y).
6564     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
6565     * @return Flip effect context data.
6566     *
6567     * @ingroup Transit
6568     * @warning It is highly recommended just create a transit with this effect when
6569     * the window that the objects of the transit belongs has already been created.
6570     * This is because this effect needs the geometry information about the objects,
6571     * and if the window was not created yet, it can get a wrong information.
6572     */
6573    EAPI Elm_Transit_Effect *elm_transit_effect_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
6574
6575    /**
6576     * Add the Resizable Flip Effect to Elm_Transit.
6577     *
6578     * @note This API is one of the facades. It creates resizable flip effect context
6579     * and add it's required APIs to elm_transit_effect_add.
6580     * @note This effect is applied to each pair of objects in the order they are listed
6581     * in the transit list of objects. The first object in the pair will be the
6582     * "front" object and the second will be the "back" object.
6583     *
6584     * @see elm_transit_effect_add()
6585     *
6586     * @param transit Transit object.
6587     * @param axis Flipping Axis(X or Y).
6588     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
6589     * @return Resizable flip effect context data.
6590     *
6591     * @ingroup Transit
6592     * @warning It is highly recommended just create a transit with this effect when
6593     * the window that the objects of the transit belongs has already been created.
6594     * This is because this effect needs the geometry information about the objects,
6595     * and if the window was not created yet, it can get a wrong information.
6596     */
6597    EAPI Elm_Transit_Effect *elm_transit_effect_resizable_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
6598
6599    /**
6600     * Add the Wipe Effect to Elm_Transit.
6601     *
6602     * @note This API is one of the facades. It creates wipe effect context
6603     * and add it's required APIs to elm_transit_effect_add.
6604     *
6605     * @see elm_transit_effect_add()
6606     *
6607     * @param transit Transit object.
6608     * @param type Wipe type. Hide or show.
6609     * @param dir Wipe Direction.
6610     * @return Wipe effect context data.
6611     *
6612     * @ingroup Transit
6613     * @warning It is highly recommended just create a transit with this effect when
6614     * the window that the objects of the transit belongs has already been created.
6615     * This is because this effect needs the geometry information about the objects,
6616     * and if the window was not created yet, it can get a wrong information.
6617     */
6618    EAPI Elm_Transit_Effect *elm_transit_effect_wipe_add(Elm_Transit *transit, Elm_Transit_Effect_Wipe_Type type, Elm_Transit_Effect_Wipe_Dir dir);
6619
6620    /**
6621     * Add the Color Effect to Elm_Transit.
6622     *
6623     * @note This API is one of the facades. It creates color effect context
6624     * and add it's required APIs to elm_transit_effect_add.
6625     *
6626     * @see elm_transit_effect_add()
6627     *
6628     * @param transit        Transit object.
6629     * @param  from_r        RGB R when effect begins.
6630     * @param  from_g        RGB G when effect begins.
6631     * @param  from_b        RGB B when effect begins.
6632     * @param  from_a        RGB A when effect begins.
6633     * @param  to_r          RGB R when effect ends.
6634     * @param  to_g          RGB G when effect ends.
6635     * @param  to_b          RGB B when effect ends.
6636     * @param  to_a          RGB A when effect ends.
6637     * @return               Color effect context data.
6638     *
6639     * @ingroup Transit
6640     */
6641    EAPI Elm_Transit_Effect *elm_transit_effect_color_add(Elm_Transit *transit, 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);
6642
6643    /**
6644     * Add the Fade Effect to Elm_Transit.
6645     *
6646     * @note This API is one of the facades. It creates fade effect context
6647     * and add it's required APIs to elm_transit_effect_add.
6648     * @note This effect is applied to each pair of objects in the order they are listed
6649     * in the transit list of objects. The first object in the pair will be the
6650     * "before" object and the second will be the "after" object.
6651     *
6652     * @see elm_transit_effect_add()
6653     *
6654     * @param transit Transit object.
6655     * @return Fade effect context data.
6656     *
6657     * @ingroup Transit
6658     * @warning It is highly recommended just create a transit with this effect when
6659     * the window that the objects of the transit belongs has already been created.
6660     * This is because this effect needs the color information about the objects,
6661     * and if the window was not created yet, it can get a wrong information.
6662     */
6663    EAPI Elm_Transit_Effect *elm_transit_effect_fade_add(Elm_Transit *transit);
6664
6665    /**
6666     * Add the Blend Effect to Elm_Transit.
6667     *
6668     * @note This API is one of the facades. It creates blend effect context
6669     * and add it's required APIs to elm_transit_effect_add.
6670     * @note This effect is applied to each pair of objects in the order they are listed
6671     * in the transit list of objects. The first object in the pair will be the
6672     * "before" object and the second will be the "after" object.
6673     *
6674     * @see elm_transit_effect_add()
6675     *
6676     * @param transit Transit object.
6677     * @return Blend effect context data.
6678     *
6679     * @ingroup Transit
6680     * @warning It is highly recommended just create a transit with this effect when
6681     * the window that the objects of the transit belongs has already been created.
6682     * This is because this effect needs the color information about the objects,
6683     * and if the window was not created yet, it can get a wrong information.
6684     */
6685    EAPI Elm_Transit_Effect *elm_transit_effect_blend_add(Elm_Transit *transit);
6686
6687    /**
6688     * Add the Rotation Effect to Elm_Transit.
6689     *
6690     * @note This API is one of the facades. It creates rotation effect context
6691     * and add it's required APIs to elm_transit_effect_add.
6692     *
6693     * @see elm_transit_effect_add()
6694     *
6695     * @param transit Transit object.
6696     * @param from_degree Degree when effect begins.
6697     * @param to_degree Degree when effect is ends.
6698     * @return Rotation effect context data.
6699     *
6700     * @ingroup Transit
6701     * @warning It is highly recommended just create a transit with this effect when
6702     * the window that the objects of the transit belongs has already been created.
6703     * This is because this effect needs the geometry information about the objects,
6704     * and if the window was not created yet, it can get a wrong information.
6705     */
6706    EAPI Elm_Transit_Effect *elm_transit_effect_rotation_add(Elm_Transit *transit, float from_degree, float to_degree);
6707
6708    /**
6709     * Add the ImageAnimation Effect to Elm_Transit.
6710     *
6711     * @note This API is one of the facades. It creates image animation effect context
6712     * and add it's required APIs to elm_transit_effect_add.
6713     * The @p images parameter is a list images paths. This list and
6714     * its contents will be deleted at the end of the effect by
6715     * elm_transit_effect_image_animation_context_free() function.
6716     *
6717     * Example:
6718     * @code
6719     * char buf[PATH_MAX];
6720     * Eina_List *images = NULL;
6721     * Elm_Transit *transi = elm_transit_add();
6722     *
6723     * snprintf(buf, sizeof(buf), "%s/images/icon_11.png", PACKAGE_DATA_DIR);
6724     * images = eina_list_append(images, eina_stringshare_add(buf));
6725     *
6726     * snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
6727     * images = eina_list_append(images, eina_stringshare_add(buf));
6728     * elm_transit_effect_image_animation_add(transi, images);
6729     *
6730     * @endcode
6731     *
6732     * @see elm_transit_effect_add()
6733     *
6734     * @param transit Transit object.
6735     * @param images Eina_List of images file paths. This list and
6736     * its contents will be deleted at the end of the effect by
6737     * elm_transit_effect_image_animation_context_free() function.
6738     * @return Image Animation effect context data.
6739     *
6740     * @ingroup Transit
6741     */
6742    EAPI Elm_Transit_Effect *elm_transit_effect_image_animation_add(Elm_Transit *transit, Eina_List *images);
6743    /**
6744     * @}
6745     */
6746
6747   typedef struct _Elm_Store                      Elm_Store;
6748   typedef struct _Elm_Store_Filesystem           Elm_Store_Filesystem;
6749   typedef struct _Elm_Store_Item                 Elm_Store_Item;
6750   typedef struct _Elm_Store_Item_Filesystem      Elm_Store_Item_Filesystem;
6751   typedef struct _Elm_Store_Item_Info            Elm_Store_Item_Info;
6752   typedef struct _Elm_Store_Item_Info_Filesystem Elm_Store_Item_Info_Filesystem;
6753   typedef struct _Elm_Store_Item_Mapping         Elm_Store_Item_Mapping;
6754   typedef struct _Elm_Store_Item_Mapping_Empty   Elm_Store_Item_Mapping_Empty;
6755   typedef struct _Elm_Store_Item_Mapping_Icon    Elm_Store_Item_Mapping_Icon;
6756   typedef struct _Elm_Store_Item_Mapping_Photo   Elm_Store_Item_Mapping_Photo;
6757   typedef struct _Elm_Store_Item_Mapping_Custom  Elm_Store_Item_Mapping_Custom;
6758
6759   typedef Eina_Bool (*Elm_Store_Item_List_Cb) (void *data, Elm_Store_Item_Info *info);
6760   typedef void      (*Elm_Store_Item_Fetch_Cb) (void *data, Elm_Store_Item *sti);
6761   typedef void      (*Elm_Store_Item_Unfetch_Cb) (void *data, Elm_Store_Item *sti);
6762   typedef void     *(*Elm_Store_Item_Mapping_Cb) (void *data, Elm_Store_Item *sti, const char *part);
6763
6764   typedef enum
6765     {
6766        ELM_STORE_ITEM_MAPPING_NONE = 0,
6767        ELM_STORE_ITEM_MAPPING_LABEL, // const char * -> label
6768        ELM_STORE_ITEM_MAPPING_STATE, // Eina_Bool -> state
6769        ELM_STORE_ITEM_MAPPING_ICON, // char * -> icon path
6770        ELM_STORE_ITEM_MAPPING_PHOTO, // char * -> photo path
6771        ELM_STORE_ITEM_MAPPING_CUSTOM, // item->custom(it->data, it, part) -> void * (-> any)
6772        // can add more here as needed by common apps
6773        ELM_STORE_ITEM_MAPPING_LAST
6774     } Elm_Store_Item_Mapping_Type;
6775
6776   struct _Elm_Store_Item_Mapping_Icon
6777     {
6778        // FIXME: allow edje file icons
6779        int                   w, h;
6780        Elm_Icon_Lookup_Order lookup_order;
6781        Eina_Bool             standard_name : 1;
6782        Eina_Bool             no_scale : 1;
6783        Eina_Bool             smooth : 1;
6784        Eina_Bool             scale_up : 1;
6785        Eina_Bool             scale_down : 1;
6786     };
6787
6788   struct _Elm_Store_Item_Mapping_Empty
6789     {
6790        Eina_Bool             dummy;
6791     };
6792
6793   struct _Elm_Store_Item_Mapping_Photo
6794     {
6795        int                   size;
6796     };
6797
6798   struct _Elm_Store_Item_Mapping_Custom
6799     {
6800        Elm_Store_Item_Mapping_Cb func;
6801     };
6802
6803   struct _Elm_Store_Item_Mapping
6804     {
6805        Elm_Store_Item_Mapping_Type     type;
6806        const char                     *part;
6807        int                             offset;
6808        union
6809          {
6810             Elm_Store_Item_Mapping_Empty  empty;
6811             Elm_Store_Item_Mapping_Icon   icon;
6812             Elm_Store_Item_Mapping_Photo  photo;
6813             Elm_Store_Item_Mapping_Custom custom;
6814             // add more types here
6815          } details;
6816     };
6817
6818   struct _Elm_Store_Item_Info
6819     {
6820       Elm_Genlist_Item_Class       *item_class;
6821       const Elm_Store_Item_Mapping *mapping;
6822       void                         *data;
6823       char                         *sort_id;
6824     };
6825
6826   struct _Elm_Store_Item_Info_Filesystem
6827     {
6828       Elm_Store_Item_Info  base;
6829       char                *path;
6830     };
6831
6832 #define ELM_STORE_ITEM_MAPPING_END { ELM_STORE_ITEM_MAPPING_NONE, NULL, 0, { .empty = { EINA_TRUE } } }
6833 #define ELM_STORE_ITEM_MAPPING_OFFSET(st, it) offsetof(st, it)
6834
6835   EAPI void                    elm_store_free(Elm_Store *st);
6836
6837   EAPI Elm_Store              *elm_store_filesystem_new(void);
6838   EAPI void                    elm_store_filesystem_directory_set(Elm_Store *st, const char *dir) EINA_ARG_NONNULL(1);
6839   EAPI const char             *elm_store_filesystem_directory_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
6840   EAPI const char             *elm_store_item_filesystem_path_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
6841
6842   EAPI void                    elm_store_target_genlist_set(Elm_Store *st, Evas_Object *obj) EINA_ARG_NONNULL(1);
6843
6844   EAPI void                    elm_store_cache_set(Elm_Store *st, int max) EINA_ARG_NONNULL(1);
6845   EAPI int                     elm_store_cache_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
6846   EAPI void                    elm_store_list_func_set(Elm_Store *st, Elm_Store_Item_List_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
6847   EAPI void                    elm_store_fetch_func_set(Elm_Store *st, Elm_Store_Item_Fetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
6848   EAPI void                    elm_store_fetch_thread_set(Elm_Store *st, Eina_Bool use_thread) EINA_ARG_NONNULL(1);
6849   EAPI Eina_Bool               elm_store_fetch_thread_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
6850
6851   EAPI void                    elm_store_unfetch_func_set(Elm_Store *st, Elm_Store_Item_Unfetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
6852   EAPI void                    elm_store_sorted_set(Elm_Store *st, Eina_Bool sorted) EINA_ARG_NONNULL(1);
6853   EAPI Eina_Bool               elm_store_sorted_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
6854   EAPI void                    elm_store_item_data_set(Elm_Store_Item *sti, void *data) EINA_ARG_NONNULL(1);
6855   EAPI void                   *elm_store_item_data_get(Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
6856   EAPI const Elm_Store        *elm_store_item_store_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
6857   EAPI const Elm_Genlist_Item *elm_store_item_genlist_item_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
6858
6859    /* SegmentControl */
6860    typedef struct _Elm_Segment_Item Elm_Segment_Item;
6861    EAPI Evas_Object      *elm_segment_control_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6862    EAPI Elm_Segment_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const char *label) EINA_ARG_NONNULL(1);
6863    EAPI Elm_Segment_Item *elm_segment_control_item_insert_at(Evas_Object *obj, Evas_Object *icon, const char *label, int index) EINA_ARG_NONNULL(1);
6864    EAPI void              elm_segment_control_item_del(Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
6865    EAPI void              elm_segment_control_item_del_at(Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
6866    EAPI int               elm_segment_control_item_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6867    EAPI Elm_Segment_Item *elm_segment_control_item_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
6868    EAPI const char       *elm_segment_control_item_label_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
6869    EAPI void              elm_segment_control_item_label_set(Elm_Segment_Item* it, const char* label) EINA_ARG_NONNULL(1);
6870    EAPI Evas_Object      *elm_segment_control_item_icon_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
6871    EAPI void              elm_segment_control_item_icon_set(Elm_Segment_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
6872    EAPI int               elm_segment_control_item_index_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
6873    EAPI Evas_Object      *elm_segment_control_item_object_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
6874    EAPI Elm_Segment_Item *elm_segment_control_item_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6875    EAPI void              elm_segment_control_item_selected_set(Elm_Segment_Item *it, Eina_Bool select) EINA_ARG_NONNULL(1);
6876    /* smart callbacks called:
6877     * "changed" -when the user clicks on a segment item which is not previously
6878     *            selected and get selected. The event_info parameter is the
6879     *            segment item index.
6880     */
6881
6882    EAPI Evas_Object *elm_grid_add(Evas_Object *parent);
6883    EAPI void         elm_grid_size_set(Evas_Object *obj, int w, int h);
6884    EAPI void         elm_grid_size_get(Evas_Object *obj, int *w, int *h);
6885    EAPI void         elm_grid_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h);
6886    EAPI void         elm_grid_unpack(Evas_Object *obj, Evas_Object *subobj);
6887    EAPI void         elm_grid_clear(Evas_Object *obj, Eina_Bool clear);
6888    EAPI void         elm_grid_pack_set(Evas_Object *subobj, int x, int y, int w, int h);
6889    EAPI void         elm_grid_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h);
6890
6891    EAPI Evas_Object *elm_genscroller_add(Evas_Object *parent);
6892    EAPI void         elm_genscroller_world_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h);
6893
6894    EAPI Evas_Object *elm_video_add(Evas_Object *parent);
6895    EAPI void elm_video_file_set(Evas_Object *video, const char *filename);
6896    EAPI void elm_video_uri_set(Evas_Object *video, const char *uri);
6897    EAPI Evas_Object *elm_video_emotion_get(Evas_Object *video);
6898    EAPI void elm_video_play(Evas_Object *video);
6899    EAPI void elm_video_pause(Evas_Object *video);
6900    EAPI void elm_video_stop(Evas_Object *video);
6901    EAPI Eina_Bool elm_video_is_playing(Evas_Object *video);
6902    EAPI Eina_Bool elm_video_is_seekable(Evas_Object *video);
6903    EAPI Eina_Bool elm_video_audio_mute_get(Evas_Object *video);
6904    EAPI void elm_video_audio_mute_set(Evas_Object *video, Eina_Bool mute);
6905    EAPI double elm_video_audio_level_get(Evas_Object *video);
6906    EAPI void elm_video_audio_level_set(Evas_Object *video, double volume);
6907    EAPI double elm_video_play_position_get(Evas_Object *video);
6908    EAPI void elm_video_play_position_set(Evas_Object *video, double position);
6909    EAPI double elm_video_play_length_get(Evas_Object *video);
6910    EAPI void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember);
6911    EAPI Eina_Bool elm_video_remember_position_get(Evas_Object *video);
6912    EAPI const char *elm_video_title_get(Evas_Object *video);
6913
6914    EAPI Evas_Object *elm_player_add(Evas_Object *parent);
6915    EAPI void elm_player_video_set(Evas_Object *player, Evas_Object *video);
6916
6917 #ifdef __cplusplus
6918 }
6919 #endif
6920
6921 #endif