Elementary: scroller 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 <Ecore_Con.h>
153 #include <Edje.h>
154
155 #ifdef ELM_EDBUS
156 # include <E_DBus.h>
157 #endif
158
159 #ifdef ELM_EFREET
160 # include <Efreet.h>
161 # include <Efreet_Mime.h>
162 # include <Efreet_Trash.h>
163 #endif
164
165 #ifdef ELM_ETHUMB
166 # include <Ethumb_Client.h>
167 #endif
168
169 #ifdef ELM_EMAP
170 # include <EMap.h>
171 #endif
172
173 #ifdef EAPI
174 # undef EAPI
175 #endif
176
177 #ifdef _WIN32
178 # ifdef ELEMENTARY_BUILD
179 #  ifdef DLL_EXPORT
180 #   define EAPI __declspec(dllexport)
181 #  else
182 #   define EAPI
183 #  endif /* ! DLL_EXPORT */
184 # else
185 #  define EAPI __declspec(dllimport)
186 # endif /* ! EFL_EVAS_BUILD */
187 #else
188 # ifdef __GNUC__
189 #  if __GNUC__ >= 4
190 #   define EAPI __attribute__ ((visibility("default")))
191 #  else
192 #   define EAPI
193 #  endif
194 # else
195 #  define EAPI
196 # endif
197 #endif /* ! _WIN32 */
198
199
200 /* allow usage from c++ */
201 #ifdef __cplusplus
202 extern "C" {
203 #endif
204
205 #define ELM_VERSION_MAJOR @VMAJ@
206 #define ELM_VERSION_MINOR @VMIN@
207
208    typedef struct _Elm_Version
209      {
210         int major;
211         int minor;
212         int micro;
213         int revision;
214      } Elm_Version;
215
216    EAPI extern Elm_Version *elm_version;
217
218 /* handy macros */
219 #define ELM_RECTS_INTERSECT(x, y, w, h, xx, yy, ww, hh) (((x) < ((xx) + (ww))) && ((y) < ((yy) + (hh))) && (((x) + (w)) > (xx)) && (((y) + (h)) > (yy)))
220 #define ELM_PI 3.14159265358979323846
221
222    /**
223     * @defgroup General General
224     *
225     * @brief General Elementary API. Functions that don't relate to
226     * Elementary objects specifically.
227     *
228     * Here are documented functions which init/shutdown the library,
229     * that apply to generic Elementary objects, that deal with
230     * configuration, et cetera.
231     *
232     * @ref general_functions_example_page "This" example contemplates
233     * some of these functions.
234     */
235
236    /**
237     * @addtogroup General
238     * @{
239     */
240
241   /**
242    * Defines couple of standard Evas_Object layers to be used
243    * with evas_object_layer_set().
244    *
245    * @note whenever extending with new values, try to keep some padding
246    *       to siblings so there is room for further extensions.
247    */
248   typedef enum _Elm_Object_Layer
249     {
250        ELM_OBJECT_LAYER_BACKGROUND = EVAS_LAYER_MIN + 64, /**< where to place backgrounds */
251        ELM_OBJECT_LAYER_DEFAULT = 0, /**< Evas_Object default layer (and thus for Elementary) */
252        ELM_OBJECT_LAYER_FOCUS = EVAS_LAYER_MAX - 128, /**< where focus object visualization is */
253        ELM_OBJECT_LAYER_TOOLTIP = EVAS_LAYER_MAX - 64, /**< where to show tooltips */
254        ELM_OBJECT_LAYER_CURSOR = EVAS_LAYER_MAX - 32, /**< where to show cursors */
255        ELM_OBJECT_LAYER_LAST /**< last layer known by Elementary */
256     } Elm_Object_Layer;
257
258 /**************************************************************************/
259    EAPI extern int ELM_ECORE_EVENT_ETHUMB_CONNECT;
260
261    /**
262     * Emitted when any Elementary's policy value is changed.
263     */
264    EAPI extern int ELM_EVENT_POLICY_CHANGED;
265
266    /**
267     * @typedef Elm_Event_Policy_Changed
268     *
269     * Data on the event when an Elementary policy has changed
270     */
271     typedef struct _Elm_Event_Policy_Changed Elm_Event_Policy_Changed;
272
273    /**
274     * @struct _Elm_Event_Policy_Changed
275     *
276     * Data on the event when an Elementary policy has changed
277     */
278     struct _Elm_Event_Policy_Changed
279      {
280         unsigned int policy; /**< the policy identifier */
281         int          new_value; /**< value the policy had before the change */
282         int          old_value; /**< new value the policy got */
283     };
284
285    /**
286     * Policy identifiers.
287     */
288     typedef enum _Elm_Policy
289     {
290         ELM_POLICY_QUIT, /**< under which circunstances the application
291                           * should quit automatically. @see
292                           * Elm_Policy_Quit.
293                           */
294         ELM_POLICY_LAST
295     } Elm_Policy; /**< Elementary policy identifiers/groups enumeration.  @see elm_policy_set()
296  */
297
298    typedef enum _Elm_Policy_Quit
299      {
300         ELM_POLICY_QUIT_NONE = 0, /**< never quit the application
301                                    * automatically */
302         ELM_POLICY_QUIT_LAST_WINDOW_CLOSED /**< quit when the
303                                             * application's last
304                                             * window is closed */
305      } Elm_Policy_Quit; /**< Possible values for the #ELM_POLICY_QUIT policy */
306
307    typedef enum _Elm_Focus_Direction
308      {
309         ELM_FOCUS_PREVIOUS,
310         ELM_FOCUS_NEXT
311      } Elm_Focus_Direction;
312
313    typedef enum _Elm_Text_Format
314      {
315         ELM_TEXT_FORMAT_PLAIN_UTF8,
316         ELM_TEXT_FORMAT_MARKUP_UTF8
317      } Elm_Text_Format;
318
319    /**
320     * Line wrapping types.
321     */
322    typedef enum _Elm_Wrap_Type
323      {
324         ELM_WRAP_NONE = 0, /**< No wrap - value is zero */
325         ELM_WRAP_CHAR, /**< Char wrap - wrap between characters */
326         ELM_WRAP_WORD, /**< Word wrap - wrap in allowed wrapping points (as defined in the unicode standard) */
327         ELM_WRAP_MIXED, /**< Mixed wrap - Word wrap, and if that fails, char wrap. */
328         ELM_WRAP_LAST
329      } Elm_Wrap_Type;
330
331
332    /**
333     * Called back when a widget's tooltip is activated and needs content.
334     * @param data user-data given to elm_object_tooltip_content_cb_set()
335     * @param obj owner widget.
336     * @param tooltip The tooltip object (affix content to this!)
337     */
338    typedef Evas_Object *(*Elm_Tooltip_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip);
339
340    /**
341     * Called back when a widget's item tooltip is activated and needs content.
342     * @param data user-data given to elm_object_tooltip_content_cb_set()
343     * @param obj owner widget.
344     * @param tooltip The tooltip object (affix content to this!)
345     * @param item context dependent item. As an example, if tooltip was
346     *        set on Elm_List_Item, then it is of this type.
347     */
348    typedef Evas_Object *(*Elm_Tooltip_Item_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip, void *item);
349
350    typedef Eina_Bool (*Elm_Event_Cb) (void *data, Evas_Object *obj, Evas_Object *src, Evas_Callback_Type type, void *event_info);
351
352 #ifndef ELM_LIB_QUICKLAUNCH
353 #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 */
354 #else
355 #define ELM_MAIN() int main(int argc, char **argv) {return elm_quicklaunch_fallback(argc, argv);} /**< macro to be used after the elm_main() function */
356 #endif
357
358 /**************************************************************************/
359    /* General calls */
360
361    /**
362     * Initialize Elementary
363     *
364     * @param[in] argc System's argument count value
365     * @param[in] argv System's pointer to array of argument strings
366     * @return The init counter value.
367     *
368     * This function initializes Elementary and increments a counter of
369     * the number of calls to it. It returs the new counter's value.
370     *
371     * @warning This call is exported only for use by the @c ELM_MAIN()
372     * macro. There is no need to use this if you use this macro (which
373     * is highly advisable). An elm_main() should contain the entry
374     * point code for your application, having the same prototype as
375     * elm_init(), and @b not being static (putting the @c EAPI symbol
376     * in front of its type declaration is advisable). The @c
377     * ELM_MAIN() call should be placed just after it.
378     *
379     * Example:
380     * @dontinclude bg_example_01.c
381     * @skip static void
382     * @until ELM_MAIN
383     *
384     * See the full @ref bg_example_01_c "example".
385     *
386     * @see elm_shutdown().
387     * @ingroup General
388     */
389    EAPI int          elm_init(int argc, char **argv);
390
391    /**
392     * Shut down Elementary
393     *
394     * @return The init counter value.
395     *
396     * This should be called at the end of your application, just
397     * before it ceases to do any more processing. This will clean up
398     * any permanent resources your application may have allocated via
399     * Elementary that would otherwise persist.
400     *
401     * @see elm_init() for an example
402     *
403     * @ingroup General
404     */
405    EAPI int          elm_shutdown(void);
406
407    /**
408     * Run Elementary's main loop
409     *
410     * This call should be issued just after all initialization is
411     * completed. This function will not return until elm_exit() is
412     * called. It will keep looping, running the main
413     * (event/processing) loop for Elementary.
414     *
415     * @see elm_init() for an example
416     *
417     * @ingroup General
418     */
419    EAPI void         elm_run(void);
420
421    /**
422     * Exit Elementary's main loop
423     *
424     * If this call is issued, it will flag the main loop to cease
425     * processing and return back to its parent function (usually your
426     * elm_main() function).
427     *
428     * @see elm_init() for an example. There, just after a request to
429     * close the window comes, the main loop will be left.
430     *
431     * @note By using the #ELM_POLICY_QUIT on your Elementary
432     * applications, you'll this function called automatically for you.
433     *
434     * @ingroup General
435     */
436    EAPI void         elm_exit(void);
437
438    /**
439     * Provide information in order to make Elementary determine the @b
440     * run time location of the software in question, so other data files
441     * such as images, sound files, executable utilities, libraries,
442     * modules and locale files can be found.
443     *
444     * @param mainfunc This is your application's main function name,
445     *        whose binary's location is to be found. Providing @c NULL
446     *        will make Elementary not to use it
447     * @param dom This will be used as the application's "domain", in the
448     *        form of a prefix to any environment variables that may
449     *        override prefix detection and the directory name, inside the
450     *        standard share or data directories, where the software's
451     *        data files will be looked for.
452     * @param checkfile This is an (optional) magic file's path to check
453     *        for existence (and it must be located in the data directory,
454     *        under the share directory provided above). Its presence will
455     *        help determine the prefix found was correct. Pass @c NULL if
456     *        the check is not to be done.
457     *
458     * This function allows one to re-locate the application somewhere
459     * else after compilation, if the developer wishes for easier
460     * distribution of pre-compiled binaries.
461     *
462     * The prefix system is designed to locate where the given software is
463     * installed (under a common path prefix) at run time and then report
464     * specific locations of this prefix and common directories inside
465     * this prefix like the binary, library, data and locale directories,
466     * through the @c elm_app_*_get() family of functions.
467     *
468     * Call elm_app_info_set() early on before you change working
469     * directory or anything about @c argv[0], so it gets accurate
470     * information.
471     *
472     * It will then try and trace back which file @p mainfunc comes from,
473     * if provided, to determine the application's prefix directory.
474     *
475     * The @p dom parameter provides a string prefix to prepend before
476     * environment variables, allowing a fallback to @b specific
477     * environment variables to locate the software. You would most
478     * probably provide a lowercase string there, because it will also
479     * serve as directory domain, explained next. For environment
480     * variables purposes, this string is made uppercase. For example if
481     * @c "myapp" is provided as the prefix, then the program would expect
482     * @c "MYAPP_PREFIX" as a master environment variable to specify the
483     * exact install prefix for the software, or more specific environment
484     * variables like @c "MYAPP_BIN_DIR", @c "MYAPP_LIB_DIR", @c
485     * "MYAPP_DATA_DIR" and @c "MYAPP_LOCALE_DIR", which could be set by
486     * the user or scripts before launching. If not provided (@c NULL),
487     * environment variables will not be used to override compiled-in
488     * defaults or auto detections.
489     *
490     * The @p dom string also provides a subdirectory inside the system
491     * shared data directory for data files. For example, if the system
492     * directory is @c /usr/local/share, then this directory name is
493     * appended, creating @c /usr/local/share/myapp, if it @p was @c
494     * "myapp". It is expected the application installs data files in
495     * this directory.
496     *
497     * The @p checkfile is a file name or path of something inside the
498     * share or data directory to be used to test that the prefix
499     * detection worked. For example, your app will install a wallpaper
500     * image as @c /usr/local/share/myapp/images/wallpaper.jpg and so to
501     * check that this worked, provide @c "images/wallpaper.jpg" as the @p
502     * checkfile string.
503     *
504     * @see elm_app_compile_bin_dir_set()
505     * @see elm_app_compile_lib_dir_set()
506     * @see elm_app_compile_data_dir_set()
507     * @see elm_app_compile_locale_set()
508     * @see elm_app_prefix_dir_get()
509     * @see elm_app_bin_dir_get()
510     * @see elm_app_lib_dir_get()
511     * @see elm_app_data_dir_get()
512     * @see elm_app_locale_dir_get()
513     */
514    EAPI void         elm_app_info_set(void *mainfunc, const char *dom, const char *checkfile);
515
516    /**
517     * Provide information on the @b fallback application's binaries
518     * directory, on scenarios where they get overriden by
519     * elm_app_info_set().
520     *
521     * @param dir The path to the default binaries directory (compile time
522     * one)
523     *
524     * @note Elementary will as well use this path to determine actual
525     * names of binaries' directory paths, maybe changing it to be @c
526     * something/local/bin instead of @c something/bin, only, for
527     * example.
528     *
529     * @warning You should call this function @b before
530     * elm_app_info_set().
531     */
532    EAPI void         elm_app_compile_bin_dir_set(const char *dir);
533
534    /**
535     * Provide information on the @b fallback application's libraries
536     * directory, on scenarios where they get overriden by
537     * elm_app_info_set().
538     *
539     * @param dir The path to the default libraries directory (compile
540     * time one)
541     *
542     * @note Elementary will as well use this path to determine actual
543     * names of libraries' directory paths, maybe changing it to be @c
544     * something/lib32 or @c something/lib64 instead of @c something/lib,
545     * only, for example.
546     *
547     * @warning You should call this function @b before
548     * elm_app_info_set().
549     */
550    EAPI void         elm_app_compile_lib_dir_set(const char *dir);
551
552    /**
553     * Provide information on the @b fallback application's data
554     * directory, on scenarios where they get overriden by
555     * elm_app_info_set().
556     *
557     * @param dir The path to the default data directory (compile time
558     * one)
559     *
560     * @note Elementary will as well use this path to determine actual
561     * names of data directory paths, maybe changing it to be @c
562     * something/local/share instead of @c something/share, only, for
563     * example.
564     *
565     * @warning You should call this function @b before
566     * elm_app_info_set().
567     */
568    EAPI void         elm_app_compile_data_dir_set(const char *dir);
569
570    /**
571     * Provide information on the @b fallback application's locale
572     * directory, on scenarios where they get overriden by
573     * elm_app_info_set().
574     *
575     * @param dir The path to the default locale directory (compile time
576     * one)
577     *
578     * @warning You should call this function @b before
579     * elm_app_info_set().
580     */
581    EAPI void         elm_app_compile_locale_set(const char *dir);
582
583    /**
584     * Retrieve the application's run time prefix directory, as set by
585     * elm_app_info_set() and the way (environment) the application was
586     * run from.
587     *
588     * @return The directory prefix the application is actually using
589     */
590    EAPI const char  *elm_app_prefix_dir_get(void);
591
592    /**
593     * Retrieve the application's run time binaries prefix directory, as
594     * set by elm_app_info_set() and the way (environment) the application
595     * was run from.
596     *
597     * @return The binaries directory prefix the application is actually
598     * using
599     */
600    EAPI const char  *elm_app_bin_dir_get(void);
601
602    /**
603     * Retrieve the application's run time libraries prefix directory, as
604     * set by elm_app_info_set() and the way (environment) the application
605     * was run from.
606     *
607     * @return The libraries directory prefix the application is actually
608     * using
609     */
610    EAPI const char  *elm_app_lib_dir_get(void);
611
612    /**
613     * Retrieve the application's run time data prefix directory, as
614     * set by elm_app_info_set() and the way (environment) the application
615     * was run from.
616     *
617     * @return The data directory prefix the application is actually
618     * using
619     */
620    EAPI const char  *elm_app_data_dir_get(void);
621
622    /**
623     * Retrieve the application's run time locale prefix directory, as
624     * set by elm_app_info_set() and the way (environment) the application
625     * was run from.
626     *
627     * @return The locale directory prefix the application is actually
628     * using
629     */
630    EAPI const char  *elm_app_locale_dir_get(void);
631
632    EAPI void         elm_quicklaunch_mode_set(Eina_Bool ql_on);
633    EAPI Eina_Bool    elm_quicklaunch_mode_get(void);
634    EAPI int          elm_quicklaunch_init(int argc, char **argv);
635    EAPI int          elm_quicklaunch_sub_init(int argc, char **argv);
636    EAPI int          elm_quicklaunch_sub_shutdown(void);
637    EAPI int          elm_quicklaunch_shutdown(void);
638    EAPI void         elm_quicklaunch_seed(void);
639    EAPI Eina_Bool    elm_quicklaunch_prepare(int argc, char **argv);
640    EAPI Eina_Bool    elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (postfork_func) (void *data), void *postfork_data);
641    EAPI void         elm_quicklaunch_cleanup(void);
642    EAPI int          elm_quicklaunch_fallback(int argc, char **argv);
643    EAPI char        *elm_quicklaunch_exe_path_get(const char *exe);
644
645    EAPI Eina_Bool    elm_need_efreet(void);
646    EAPI Eina_Bool    elm_need_e_dbus(void);
647    EAPI Eina_Bool    elm_need_ethumb(void);
648
649    /**
650     * Set a new policy's value (for a given policy group/identifier).
651     *
652     * @param policy policy identifier, as in @ref Elm_Policy.
653     * @param value policy value, which depends on the identifier
654     *
655     * @return @c EINA_TRUE on success or @c EINA_FALSE, on error.
656     *
657     * Elementary policies define applications' behavior,
658     * somehow. These behaviors are divided in policy groups (see
659     * #Elm_Policy enumeration). This call will emit the Ecore event
660     * #ELM_EVENT_POLICY_CHANGED, which can be hooked at with
661     * handlers. An #Elm_Event_Policy_Changed struct will be passed,
662     * then.
663     *
664     * @note Currently, we have only one policy identifier/group
665     * (#ELM_POLICY_QUIT), which has two possible values.
666     *
667     * @ingroup General
668     */
669    EAPI Eina_Bool    elm_policy_set(unsigned int policy, int value);
670
671    /**
672     * Gets the policy value set for given policy identifier.
673     *
674     * @param policy policy identifier, as in #Elm_Policy.
675     * @return The currently set policy value, for that
676     * identifier. Will be @c 0 if @p policy passed is invalid.
677     *
678     * @ingroup General
679     */
680    EAPI int          elm_policy_get(unsigned int policy);
681
682    /**
683     * Set a label of an object
684     *
685     * @param obj The Elementary object
686     * @param item The label id to set (NULL for the default label)
687     * @param label The new text of the label
688     *
689     * @note Elementary objects may have many labels (e.g. Action Slider)
690     *
691     * @ingroup General
692     */
693    EAPI void         elm_object_text_part_set(Evas_Object *obj, const char *item, const char *label);
694
695 #define elm_object_text_set(obj, label) elm_object_text_part_set((obj), NULL, (label))
696
697    /**
698     * Get a label of an object
699     *
700     * @param obj The Elementary object
701     * @param item The label id to get (NULL for the default label)
702     * @return text of the label or
703     *         NULL for any error
704     *
705     * @note Elementary objects may have many labels (e.g. Action Slider)
706     *
707     * @ingroup General
708     */
709    EAPI const char  *elm_object_text_part_get(const Evas_Object *obj, const char *item);
710
711 #define elm_object_text_get(obj) elm_object_text_part_get((obj), NULL)
712
713    /**
714     * Set a content of an object
715     *
716     * @param obj The Elementary object
717     * @param item The content id to set (NULL for the default content)
718     * @param content The new content of the object 
719     *
720     * @note Elementary objects may have many contents
721     *
722     * @ingroup General
723     */
724    EAPI void elm_object_content_part_set(Evas_Object *obj, const char *item, Evas_Object *content);
725
726 #define elm_object_content_set(obj, content) elm_object_content_part_set((obj), NULL, (content))
727
728    /**
729     * Get a content of an object
730     *
731     * @param obj The Elementary object
732     * @param item The content id to get (NULL for the default content)
733     * @return content of the object or
734     *         NULL for any error
735     *
736     * @note Elementary objects may have many contents
737     *
738     * @ingroup General
739     */
740    EAPI Evas_Object *elm_object_content_part_get(const Evas_Object *obj, const char *item);
741
742 #define elm_object_content_get(obj) elm_object_content_part_get((obj), NULL)
743
744    /**
745     * Unset a content of an object
746     *
747     * @param obj The Elementary object
748     * @param item The content id to unset (NULL for the default content)
749     *
750     * @note Elementary objects may have many contents
751     *
752     * @ingroup General
753     */
754    EAPI Evas_Object *elm_object_content_part_unset(Evas_Object *obj, const char *item);
755
756 #define elm_object_content_unset(obj) elm_object_content_part_unset((obj), NULL)
757
758    /**
759     * @}
760     */
761
762    EAPI void         elm_all_flush(void);
763    EAPI int          elm_cache_flush_interval_get(void);
764    EAPI void         elm_cache_flush_interval_set(int size);
765    EAPI void         elm_cache_flush_interval_all_set(int size);
766    EAPI Eina_Bool    elm_cache_flush_enabled_get(void);
767    EAPI void         elm_cache_flush_enabled_set(Eina_Bool enabled);
768    EAPI void         elm_cache_flush_enabled_all_set(Eina_Bool enabled);
769    EAPI int          elm_font_cache_get(void);
770    EAPI void         elm_font_cache_set(int size);
771    EAPI void         elm_font_cache_all_set(int size);
772    EAPI int          elm_image_cache_get(void);
773    EAPI void         elm_image_cache_set(int size);
774    EAPI void         elm_image_cache_all_set(int size);
775    EAPI int          elm_edje_file_cache_get(void);
776    EAPI void         elm_edje_file_cache_set(int size);
777    EAPI void         elm_edje_file_cache_all_set(int size);
778    EAPI int          elm_edje_collection_cache_get(void);
779    EAPI void         elm_edje_collection_cache_set(int size);
780    EAPI void         elm_edje_collection_cache_all_set(int size);
781
782    /**
783     * @defgroup Scaling Selective Widget Scaling
784     *
785     * Different widgets can be scaled independently. These functions
786     * allow you to manipulate this scaling on a per-widget basis. The
787     * object and all its children get their scaling factors multiplied
788     * by the scale factor set. This is multiplicative, in that if a
789     * child also has a scale size set it is in turn multiplied by its
790     * parent's scale size. @c 1.0 means “don't scale”, @c 2.0 is
791     * double size, @c 0.5 is half, etc.
792     *
793     * @ref general_functions_example_page "This" example contemplates
794     * some of these functions.
795     */
796
797    /**
798     * Set the scaling factor for a given Elementary object
799     *
800     * @param obj The Elementary to operate on
801     * @param scale Scale factor (from @c 0.0 up, with @c 1.0 meaning
802     * no scaling)
803     *
804     * @ingroup Scaling
805     */
806    EAPI void         elm_object_scale_set(Evas_Object *obj, double scale) EINA_ARG_NONNULL(1);
807
808    /**
809     * Get the scaling factor for a given Elementary object
810     *
811     * @param obj The object
812     * @return The scaling factor set by elm_object_scale_set()
813     *
814     * @ingroup Scaling
815     */
816    EAPI double       elm_object_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
817    EAPI Eina_Bool    elm_object_mirrored_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
818    EAPI void         elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored) EINA_ARG_NONNULL(1);
819    EAPI Eina_Bool    elm_object_mirrored_automatic_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
820    EAPI void         elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic) EINA_ARG_NONNULL(1);
821    /**
822     * Set the style to use by a widget
823     *
824     * Sets the style name that will define the appearance of a widget. Styles
825     * vary from widget to widget and may also be defined by other themes
826     * by means of extensions and overlays.
827     *
828     * @param obj The Elementary widget to style
829     * @param style The style name to use
830     *
831     * @see elm_theme_extension_add()
832     * @see elm_theme_overlay_add()
833     *
834     * @ingroup Theme
835     */
836    EAPI void         elm_object_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
837    /**
838     * Get the style used by the widget
839     *
840     * This gets the style being used for that widget. Note that the string
841     * pointer is only valid as longas the object is valid and the style doesn't
842     * change.
843     *
844     * @param obj The Elementary widget to query for its style
845     * @return The style name used
846     *
847     * @see elm_object_style_set()
848     *
849     * @ingroup Theme
850     */
851    EAPI const char  *elm_object_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
852
853    /**
854     * @defgroup Styles Styles
855     *
856     * Widgets can have different styles of look. These generic API's
857     * set styles of widgets, if they support them (and if the theme(s)
858     * do).
859     *
860     * @ref general_functions_example_page "This" example contemplates
861     * some of these functions.
862     */
863
864    /**
865     * Set the disabled state of an Elementary object.
866     *
867     * @param obj The Elementary object to operate on
868     * @param disabled The state to put in in: @c EINA_TRUE for
869     *        disabled, @c EINA_FALSE for enabled
870     *
871     * Elementary objects can be @b disabled, in which state they won't
872     * receive input and, in general, will be themed differently from
873     * their normal state, usually greyed out. Useful for contexts
874     * where you don't want your users to interact with some of the
875     * parts of you interface.
876     *
877     * This sets the state for the widget, either disabling it or
878     * enabling it back.
879     *
880     * @ingroup Styles
881     */
882    EAPI void         elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
883
884    /**
885     * Get the disabled state of an Elementary object.
886     *
887     * @param obj The Elementary object to operate on
888     * @return @c EINA_TRUE, if the widget is disabled, @c EINA_FALSE
889     *            if it's enabled (or on errors)
890     *
891     * This gets the state of the widget, which might be enabled or disabled.
892     *
893     * @ingroup Styles
894     */
895    EAPI Eina_Bool    elm_object_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
896
897    /**
898     * @defgroup WidgetNavigation Widget Tree Navigation.
899     *
900     * How to check if an Evas Object is an Elementary widget? How to
901     * get the first elementary widget that is parent of the given
902     * object?  These are all covered in widget tree navigation.
903     *
904     * @ref general_functions_example_page "This" example contemplates
905     * some of these functions.
906     */
907
908    EAPI Eina_Bool    elm_object_widget_check(const Evas_Object *obj) EINA_ARG_NONNULL(1);
909
910    /**
911     * Get the first parent of the given object that is an Elementary
912     * widget.
913     *
914     * @param obj the Elementary object to query parent from.
915     * @return the parent object that is an Elementary widget, or @c
916     *         NULL, if it was not found.
917     *
918     * Use this to query for an object's parent widget.
919     *
920     * @note Most of Elementary users wouldn't be mixing non-Elementary
921     * smart objects in the objects tree of an application, as this is
922     * an advanced usage of Elementary with Evas. So, except for the
923     * application's window, which is the root of that tree, all other
924     * objects would have valid Elementary widget parents.
925     *
926     * @ingroup WidgetNavigation
927     */
928    EAPI Evas_Object *elm_object_parent_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
929    EAPI Evas_Object *elm_object_top_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
930    EAPI const char  *elm_object_widget_type_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
931
932    EAPI double       elm_scale_get(void);
933    EAPI void         elm_scale_set(double scale);
934    EAPI void         elm_scale_all_set(double scale);
935
936    EAPI Eina_Bool    elm_mirrored_get(void);
937    EAPI void         elm_mirrored_set(Eina_Bool mirrored);
938
939    EAPI Eina_Bool    elm_config_save(void);
940    EAPI void         elm_config_reload(void);
941
942    EAPI const char  *elm_profile_current_get(void);
943    EAPI const char  *elm_profile_dir_get(const char *profile, Eina_Bool is_user);
944    EAPI void         elm_profile_dir_free(const char *p_dir);
945    EAPI Eina_List   *elm_profile_list_get(void);
946    EAPI void         elm_profile_list_free(Eina_List *l);
947    EAPI void         elm_profile_set(const char *profile);
948    EAPI void         elm_profile_all_set(const char *profile);
949
950    EAPI const char  *elm_engine_current_get(void);
951    EAPI void         elm_engine_set(const char *engine);
952
953   typedef struct _Elm_Text_Class
954     {
955        const char *name;
956        const char *desc;
957     } Elm_Text_Class;
958
959   typedef struct _Elm_Font_Overlay
960     {
961        const char     *text_class;
962        const char     *font;
963        Evas_Font_Size  size;
964     } Elm_Font_Overlay;
965
966   typedef struct _Elm_Font_Properties
967     {
968        const char *name;
969        Eina_List  *styles;
970     } Elm_Font_Properties;
971
972    EAPI const Eina_List     *elm_text_classes_list_get(void);
973    EAPI void                 elm_text_classes_list_free(const Eina_List *list);
974
975    EAPI const Eina_List     *elm_font_overlay_list_get(void);
976    EAPI void                 elm_font_overlay_set(const char *text_class, const char *font, Evas_Font_Size size);
977    EAPI void                 elm_font_overlay_unset(const char *text_class);
978    EAPI void                 elm_font_overlay_apply(void);
979    EAPI void                 elm_font_overlay_all_apply(void);
980
981    EAPI Elm_Font_Properties *elm_font_properties_get(const char *font) EINA_ARG_NONNULL(1);
982    EAPI void                 elm_font_properties_free(Elm_Font_Properties *efp) EINA_ARG_NONNULL(1);
983    EAPI const char          *elm_font_fontconfig_name_get(const char *name, const char *style) EINA_ARG_NONNULL(1);
984    EAPI void                 elm_font_fontconfig_name_free(const char *name) EINA_ARG_NONNULL(1);
985    EAPI Eina_Hash           *elm_font_available_hash_add(Eina_List *list);
986    EAPI void                 elm_font_available_hash_del(Eina_Hash *hash);
987
988    /**
989     * @defgroup Fingers Fingers
990     *
991     * Elementary is designed to be finger-friendly for touchscreens,
992     * and so in addition to scaling for display resolution, it can
993     * also scale based on finger "resolution" (or size). You can then
994     * customize the granularity of the areas meant to receive clicks
995     * on touchscreens.
996     *
997     * Different profiles may have pre-set values for finger sizes.
998     *
999     * @ref general_functions_example_page "This" example contemplates
1000     * some of these functions.
1001     */
1002
1003    /**
1004     * Get the configured "finger size"
1005     *
1006     * @return The finger size
1007     *
1008     * This gets the globally configured finger size, <b>in pixels</b>
1009     *
1010     * @ingroup Fingers
1011     */
1012    EAPI Evas_Coord       elm_finger_size_get(void);
1013    EAPI void             elm_finger_size_set(Evas_Coord size);
1014    EAPI void             elm_finger_size_all_set(Evas_Coord size);
1015
1016    /**
1017     * @defgroup Focus Focus
1018     *
1019     * An Elementary application has, at all times, one (and only one)
1020     * @b focused object. This is what determines where the input
1021     * events go to within the application's window. Also, focused
1022     * objects can be decorated differently, in order to signal to the
1023     * user where the input is, at a given moment.
1024     *
1025     * Elementary applications also have the concept of <b>focus
1026     * chain</b>: one can cycle through all the windows' focusable
1027     * objects by input (tab key) or programmatically. The default
1028     * focus chain for an application is the one define by the order in
1029     * which the widgets where added in code. One will cycle through
1030     * top level widgets, and, for each one containg sub-objects, cycle
1031     * through them all, before returning to the level
1032     * above. Elementary also allows one to set @b custom focus chains
1033     * for their applications.
1034     *
1035     * Besides the focused decoration a widget may exhibit, when it
1036     * gets focus, Elementary has a @b global focus highlight object
1037     * that can be enabled for a window. If one chooses to do so, this
1038     * extra highlight effect will surround the current focused object,
1039     * too.
1040     *
1041     * @note Some Elementary widgets are @b unfocusable, after
1042     * creation, by their very nature: they are not meant to be
1043     * interacted with input events, but are there just for visual
1044     * purposes.
1045     *
1046     * @ref general_functions_example_page "This" example contemplates
1047     * some of these functions.
1048     */
1049
1050    EAPI Eina_Bool        elm_focus_highlight_enabled_get(void);
1051    EAPI void             elm_focus_highlight_enabled_set(Eina_Bool enable);
1052    EAPI Eina_Bool        elm_focus_highlight_animate_get(void);
1053    EAPI void             elm_focus_highlight_animate_set(Eina_Bool animate);
1054
1055    /**
1056     * Get the whether an Elementary object has the focus or not.
1057     *
1058     * @param obj The Elementary object to get the information from
1059     * @return @c EINA_TRUE, if the object is focused, @c EINA_FALSE if
1060     *            not (and on errors).
1061     *
1062     * @see elm_object_focus()
1063     *
1064     * @ingroup Focus
1065     */
1066    EAPI Eina_Bool        elm_object_focus_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1067
1068    /**
1069     * Make a given Elementary object the focused one.
1070     *
1071     * @param obj The Elementary object to make focused.
1072     *
1073     * @note This object, if it can handle focus, will take the focus
1074     * away from the one who had it previously and will, for now on, be
1075     * the one receiving input events.
1076     *
1077     * @see elm_object_focus_get()
1078     *
1079     * @ingroup Focus
1080     */
1081    EAPI void             elm_object_focus(Evas_Object *obj) EINA_ARG_NONNULL(1);
1082
1083    /**
1084     * Remove the focus from an Elementary object
1085     *
1086     * @param obj The Elementary to take focus from
1087     *
1088     * This removes the focus from @p obj, passing it back to the
1089     * previous element in the focus chain list.
1090     *
1091     * @see elm_object_focus() and elm_object_focus_custom_chain_get()
1092     *
1093     * @ingroup Focus
1094     */
1095    EAPI void             elm_object_unfocus(Evas_Object *obj) EINA_ARG_NONNULL(1);
1096
1097    /**
1098     * Set the ability for an Element object to be focused
1099     *
1100     * @param obj The Elementary object to operate on
1101     * @param enable @c EINA_TRUE if the object can be focused, @c
1102     *        EINA_FALSE if not (and on errors)
1103     *
1104     * This sets whether the object @p obj is able to take focus or
1105     * not. Unfocusable objects do nothing when programmatically
1106     * focused, being the nearest focusable parent object the one
1107     * really getting focus. Also, when they receive mouse input, they
1108     * will get the event, but not take away the focus from where it
1109     * was previously.
1110     *
1111     * @ingroup Focus
1112     */
1113    EAPI void             elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable) EINA_ARG_NONNULL(1);
1114
1115    /**
1116     * Get whether an Elementary object is focusable or not
1117     *
1118     * @param obj The Elementary object to operate on
1119     * @return @c EINA_TRUE if the object is allowed to be focused, @c
1120     *             EINA_FALSE if not (and on errors)
1121     *
1122     * @note Objects which are meant to be interacted with by input
1123     * events are created able to be focused, by default. All the
1124     * others are not.
1125     *
1126     * @ingroup Focus
1127     */
1128    EAPI Eina_Bool        elm_object_focus_allow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1129
1130    EAPI void             elm_object_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs) EINA_ARG_NONNULL(1);
1131    EAPI void             elm_object_focus_custom_chain_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
1132    EAPI const Eina_List *elm_object_focus_custom_chain_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1133    EAPI void             elm_object_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
1134    EAPI void             elm_object_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
1135    EAPI void             elm_object_focus_cycle(Evas_Object *obj, Elm_Focus_Direction dir) EINA_ARG_NONNULL(1);
1136    EAPI void             elm_object_focus_direction_go(Evas_Object *obj, int x, int y) EINA_ARG_NONNULL(1);
1137
1138    /**
1139     * Make the elementary object and its children to be unfocusable (or focusable).
1140     *
1141     * @param obj The Elementary object to operate on
1142     * @param tree_unfocusable @c EINA_TRUE for unfocusable,
1143     *        @c EINA_FALSE for focusable.
1144     *
1145     * This sets whether the object @p obj and its children objects
1146     * are able to take focus or not. If the tree is set as unfocusable,
1147     * newest focused object which is not in this tree will get focus.
1148     * This API can be helpful for an object to be deleted.
1149     * When an object will be deleted soon, it and its children may not
1150     * want to get focus (by focus reverting or by other focus controls).
1151     * Then, just use this API before deleting.
1152     *
1153     * @see elm_object_tree_unfocusable_get()
1154     *
1155     * @ingroup Focus
1156     */
1157    EAPI void             elm_object_tree_unfocusable_set(Evas_Object *obj, Eina_Bool tree_unfocusable); EINA_ARG_NONNULL(1);
1158
1159    /**
1160     * Get whether an Elementary object and its children are unfocusable or not.
1161     *
1162     * @param obj The Elementary object to get the information from
1163     * @return @c EINA_TRUE, if the tree is unfocussable,
1164     *         @c EINA_FALSE if not (and on errors).
1165     *
1166     * @see elm_object_tree_unfocusable_set()
1167     *
1168     * @ingroup Focus
1169     */
1170    EAPI Eina_Bool        elm_object_tree_unfocusable_get(const Evas_Object *obj); EINA_ARG_NONNULL(1);
1171
1172    EAPI Eina_Bool        elm_scroll_bounce_enabled_get(void);
1173    EAPI void             elm_scroll_bounce_enabled_set(Eina_Bool enabled);
1174    EAPI void             elm_scroll_bounce_enabled_all_set(Eina_Bool enabled);
1175    EAPI double           elm_scroll_bounce_friction_get(void);
1176    EAPI void             elm_scroll_bounce_friction_set(double friction);
1177    EAPI void             elm_scroll_bounce_friction_all_set(double friction);
1178    EAPI double           elm_scroll_page_scroll_friction_get(void);
1179    EAPI void             elm_scroll_page_scroll_friction_set(double friction);
1180    EAPI void             elm_scroll_page_scroll_friction_all_set(double friction);
1181    EAPI double           elm_scroll_bring_in_scroll_friction_get(void);
1182    EAPI void             elm_scroll_bring_in_scroll_friction_set(double friction);
1183    EAPI void             elm_scroll_bring_in_scroll_friction_all_set(double friction);
1184    EAPI double           elm_scroll_zoom_friction_get(void);
1185    EAPI void             elm_scroll_zoom_friction_set(double friction);
1186    EAPI void             elm_scroll_zoom_friction_all_set(double friction);
1187    EAPI Eina_Bool        elm_scroll_thumbscroll_enabled_get(void);
1188    EAPI void             elm_scroll_thumbscroll_enabled_set(Eina_Bool enabled);
1189    EAPI void             elm_scroll_thumbscroll_enabled_all_set(Eina_Bool enabled);
1190    EAPI unsigned int     elm_scroll_thumbscroll_threshold_get(void);
1191    EAPI void             elm_scroll_thumbscroll_threshold_set(unsigned int threshold);
1192    EAPI void             elm_scroll_thumbscroll_threshold_all_set(unsigned int threshold);
1193    EAPI double           elm_scroll_thumbscroll_momentum_threshold_get(void);
1194    EAPI void             elm_scroll_thumbscroll_momentum_threshold_set(double threshold);
1195    EAPI void             elm_scroll_thumbscroll_momentum_threshold_all_set(double threshold);
1196    EAPI double           elm_scroll_thumbscroll_friction_get(void);
1197    EAPI void             elm_scroll_thumbscroll_friction_set(double friction);
1198    EAPI void             elm_scroll_thumbscroll_friction_all_set(double friction);
1199    EAPI double           elm_scroll_thumbscroll_border_friction_get(void);
1200    EAPI void             elm_scroll_thumbscroll_border_friction_set(double friction);
1201    EAPI void             elm_scroll_thumbscroll_border_friction_all_set(double friction);
1202
1203    EAPI void             elm_object_scroll_hold_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
1204    EAPI void             elm_object_scroll_hold_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
1205    EAPI void             elm_object_scroll_freeze_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
1206    EAPI void             elm_object_scroll_freeze_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
1207    EAPI void             elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
1208    EAPI void             elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
1209    EAPI Eina_Bool        elm_object_scroll_lock_x_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1210    EAPI Eina_Bool        elm_object_scroll_lock_y_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1211
1212    EAPI void             elm_object_signal_emit(Evas_Object *obj, const char *emission, const char *source) EINA_ARG_NONNULL(1);
1213    EAPI void             elm_object_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data) EINA_ARG_NONNULL(1, 4);
1214    EAPI void            *elm_object_signal_callback_del(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func) EINA_ARG_NONNULL(1, 4);
1215
1216    EAPI void             elm_object_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
1217    EAPI void            *elm_object_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
1218
1219    /**
1220     * Adjust size of an element for finger usage.
1221     *
1222     * @param times_w How many fingers should fit horizontally
1223     * @param w Pointer to the width size to adjust
1224     * @param times_h How many fingers should fit vertically
1225     * @param h Pointer to the height size to adjust
1226     *
1227     * This takes width and height sizes (in pixels) as input and a
1228     * size multiple (which is how many fingers you want to place
1229     * within the area, being "finger" the size set by
1230     * elm_finger_size_set()), and adjusts the size to be large enough
1231     * to accommodate the resulting size -- if it doesn't already
1232     * accommodate it. On return the @p w and @p h sizes pointed to by
1233     * these parameters will be modified, on those conditions.
1234     *
1235     * @note This is kind of a low level Elementary call, most useful
1236     * on size evaluation times for widgets. An external user wouldn't
1237     * be calling, most of the time.
1238     *
1239     * @ingroup Fingers
1240     */
1241    EAPI void             elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h);
1242
1243    EAPI double           elm_longpress_timeout_get(void);
1244    EAPI void             elm_longpress_timeout_set(double longpress_timeout);
1245
1246    /* debug
1247     * don't use it unless you are sure
1248     */
1249    EAPI void             elm_object_tree_dump(const Evas_Object *top);
1250    EAPI void             elm_object_tree_dot_dump(const Evas_Object *top, const char *file);
1251
1252
1253    /* theme */
1254    /**
1255     * @defgroup Theme Theme
1256     *
1257     * Elementary uses Edje to theme its widgets, naturally. But for the most
1258     * part this is hidden behind a simpler interface that lets the user set
1259     * extensions and choose the style of widgets in a much easier way.
1260     *
1261     * Instead of thinking in terms of paths to Edje files and their groups
1262     * each time you want to change the appearance of a widget, Elementary
1263     * works so you can add any theme file with extensions or replace the
1264     * main theme at one point in the application, and then just set the style
1265     * of widgets with elm_object_style_set() and related functions. Elementary
1266     * will then look in its list of themes for a matching group and apply it,
1267     * and when the theme changes midway through the application, all widgets
1268     * will be updated accordingly.
1269     *
1270     * There are three concepts you need to know to understand how Elementary
1271     * theming works: default theme, extensions and overlays.
1272     *
1273     * Default theme, obviously enough, is the one that provides the default
1274     * look of all widgets. End users can change the theme used by Elementary
1275     * by setting the @c ELM_THEME environment variable before running an
1276     * application, or globally for all programs using the @c elementary_config
1277     * utility. Applications can change the default theme using elm_theme_set(),
1278     * but this can go against the user wishes, so it's not an adviced practice.
1279     *
1280     * Ideally, applications should find everything they need in the already
1281     * provided theme, but there may be occasions when that's not enough and
1282     * custom styles are required to correctly express the idea. For this
1283     * cases, Elementary has extensions.
1284     *
1285     * Extensions allow the application developer to write styles of its own
1286     * to apply to some widgets. This requires knowledge of how each widget
1287     * is themed, as extensions will always replace the entire group used by
1288     * the widget, so important signals and parts need to be there for the
1289     * object to behave properly (see documentation of Edje for details).
1290     * Once the theme for the extension is done, the application needs to add
1291     * it to the list of themes Elementary will look into, using
1292     * elm_theme_extension_add(), and set the style of the desired widgets as
1293     * he would normally with elm_object_style_set().
1294     *
1295     * Overlays, on the other hand, can replace the look of all widgets by
1296     * overriding the default style. Like extensions, it's up to the application
1297     * developer to write the theme for the widgets it wants, the difference
1298     * being that when looking for the theme, Elementary will check first the
1299     * list of overlays, then the set theme and lastly the list of extensions,
1300     * so with overlays it's possible to replace the default view and every
1301     * widget will be affected. This is very much alike to setting the whole
1302     * theme for the application and will probably clash with the end user
1303     * options, not to mention the risk of ending up with not matching styles
1304     * across the program. Unless there's a very special reason to use them,
1305     * overlays should be avoided for the resons exposed before.
1306     *
1307     * All these theme lists are handled by ::Elm_Theme instances. Elementary
1308     * keeps one default internally and every function that receives one of
1309     * these can be called with NULL to refer to this default (except for
1310     * elm_theme_free()). It's possible to create a new instance of a
1311     * ::Elm_Theme to set other theme for a specific widget (and all of its
1312     * children), but this is as discouraged, if not even more so, than using
1313     * overlays. Don't use this unless you really know what you are doing.
1314     *
1315     * But to be less negative about things, you can look at the following
1316     * examples:
1317     * @li @ref theme_example_01 "Using extensions"
1318     * @li @ref theme_example_02 "Using overlays"
1319     *
1320     * @{
1321     */
1322    /**
1323     * @typedef Elm_Theme
1324     *
1325     * Opaque handler for the list of themes Elementary looks for when
1326     * rendering widgets.
1327     *
1328     * Stay out of this unless you really know what you are doing. For most
1329     * cases, sticking to the default is all a developer needs.
1330     */
1331    typedef struct _Elm_Theme Elm_Theme;
1332
1333    /**
1334     * Create a new specific theme
1335     *
1336     * This creates an empty specific theme that only uses the default theme. A
1337     * specific theme has its own private set of extensions and overlays too
1338     * (which are empty by default). Specific themes do not fall back to themes
1339     * of parent objects. They are not intended for this use. Use styles, overlays
1340     * and extensions when needed, but avoid specific themes unless there is no
1341     * other way (example: you want to have a preview of a new theme you are
1342     * selecting in a "theme selector" window. The preview is inside a scroller
1343     * and should display what the theme you selected will look like, but not
1344     * actually apply it yet. The child of the scroller will have a specific
1345     * theme set to show this preview before the user decides to apply it to all
1346     * applications).
1347     */
1348    EAPI Elm_Theme       *elm_theme_new(void);
1349    /**
1350     * Free a specific theme
1351     *
1352     * @param th The theme to free
1353     *
1354     * This frees a theme created with elm_theme_new().
1355     */
1356    EAPI void             elm_theme_free(Elm_Theme *th);
1357    /**
1358     * Copy the theme fom the source to the destination theme
1359     *
1360     * @param th The source theme to copy from
1361     * @param thdst The destination theme to copy data to
1362     *
1363     * This makes a one-time static copy of all the theme config, extensions
1364     * and overlays from @p th to @p thdst. If @p th references a theme, then
1365     * @p thdst is also set to reference it, with all the theme settings,
1366     * overlays and extensions that @p th had.
1367     */
1368    EAPI void             elm_theme_copy(Elm_Theme *th, Elm_Theme *thdst);
1369    /**
1370     * Tell the source theme to reference the ref theme
1371     *
1372     * @param th The theme that will do the referencing
1373     * @param thref The theme that is the reference source
1374     *
1375     * This clears @p th to be empty and then sets it to refer to @p thref
1376     * so @p th acts as an override to @p thref, but where its overrides
1377     * don't apply, it will fall through to @pthref for configuration.
1378     */
1379    EAPI void             elm_theme_ref_set(Elm_Theme *th, Elm_Theme *thref);
1380    /**
1381     * Return the theme referred to
1382     *
1383     * @param th The theme to get the reference from
1384     * @return The referenced theme handle
1385     *
1386     * This gets the theme set as the reference theme by elm_theme_ref_set().
1387     * If no theme is set as a reference, NULL is returned.
1388     */
1389    EAPI Elm_Theme       *elm_theme_ref_get(Elm_Theme *th);
1390    /**
1391     * Return the default theme
1392     *
1393     * @return The default theme handle
1394     *
1395     * This returns the internal default theme setup handle that all widgets
1396     * use implicitly unless a specific theme is set. This is also often use
1397     * as a shorthand of NULL.
1398     */
1399    EAPI Elm_Theme       *elm_theme_default_get(void);
1400    /**
1401     * Prepends a theme overlay to the list of overlays
1402     *
1403     * @param th The theme to add to, or if NULL, the default theme
1404     * @param item The Edje file path to be used
1405     *
1406     * Use this if your application needs to provide some custom overlay theme
1407     * (An Edje file that replaces some default styles of widgets) where adding
1408     * new styles, or changing system theme configuration is not possible. Do
1409     * NOT use this instead of a proper system theme configuration. Use proper
1410     * configuration files, profiles, environment variables etc. to set a theme
1411     * so that the theme can be altered by simple confiugration by a user. Using
1412     * this call to achieve that effect is abusing the API and will create lots
1413     * of trouble.
1414     *
1415     * @see elm_theme_extension_add()
1416     */
1417    EAPI void             elm_theme_overlay_add(Elm_Theme *th, const char *item);
1418    /**
1419     * Delete a theme overlay from the list of overlays
1420     *
1421     * @param th The theme to delete from, or if NULL, the default theme
1422     * @param item The name of the theme overlay
1423     *
1424     * @see elm_theme_overlay_add()
1425     */
1426    EAPI void             elm_theme_overlay_del(Elm_Theme *th, const char *item);
1427    /**
1428     * Appends a theme extension to the list of extensions.
1429     *
1430     * @param th The theme to add to, or if NULL, the default theme
1431     * @param item The Edje file path to be used
1432     *
1433     * This is intended when an application needs more styles of widgets or new
1434     * widget themes that the default does not provide (or may not provide). The
1435     * application has "extended" usage by coming up with new custom style names
1436     * for widgets for specific uses, but as these are not "standard", they are
1437     * not guaranteed to be provided by a default theme. This means the
1438     * application is required to provide these extra elements itself in specific
1439     * Edje files. This call adds one of those Edje files to the theme search
1440     * path to be search after the default theme. The use of this call is
1441     * encouraged when default styles do not meet the needs of the application.
1442     * Use this call instead of elm_theme_overlay_add() for almost all cases.
1443     *
1444     * @see elm_object_style_set()
1445     */
1446    EAPI void             elm_theme_extension_add(Elm_Theme *th, const char *item);
1447    /**
1448     * Deletes a theme extension from the list of extensions.
1449     *
1450     * @param th The theme to delete from, or if NULL, the default theme
1451     * @param item The name of the theme extension
1452     *
1453     * @see elm_theme_extension_add()
1454     */
1455    EAPI void             elm_theme_extension_del(Elm_Theme *th, const char *item);
1456    /**
1457     * Set the theme search order for the given theme
1458     *
1459     * @param th The theme to set the search order, or if NULL, the default theme
1460     * @param theme Theme search string
1461     *
1462     * This sets the search string for the theme in path-notation from first
1463     * theme to search, to last, delimited by the : character. Example:
1464     *
1465     * "shiny:/path/to/file.edj:default"
1466     *
1467     * See the ELM_THEME environment variable for more information.
1468     *
1469     * @see elm_theme_get()
1470     * @see elm_theme_list_get()
1471     */
1472    EAPI void             elm_theme_set(Elm_Theme *th, const char *theme);
1473    /**
1474     * Return the theme search order
1475     *
1476     * @param th The theme to get the search order, or if NULL, the default theme
1477     * @return The internal search order path
1478     *
1479     * This function returns a colon separated string of theme elements as
1480     * returned by elm_theme_list_get().
1481     *
1482     * @see elm_theme_set()
1483     * @see elm_theme_list_get()
1484     */
1485    EAPI const char      *elm_theme_get(Elm_Theme *th);
1486    /**
1487     * Return a list of theme elements to be used in a theme.
1488     *
1489     * @param th Theme to get the list of theme elements from.
1490     * @return The internal list of theme elements
1491     *
1492     * This returns the internal list of theme elements (will only be valid as
1493     * long as the theme is not modified by elm_theme_set() or theme is not
1494     * freed by elm_theme_free(). This is a list of strings which must not be
1495     * altered as they are also internal. If @p th is NULL, then the default
1496     * theme element list is returned.
1497     *
1498     * A theme element can consist of a full or relative path to a .edj file,
1499     * or a name, without extension, for a theme to be searched in the known
1500     * theme paths for Elemementary.
1501     *
1502     * @see elm_theme_set()
1503     * @see elm_theme_get()
1504     */
1505    EAPI const Eina_List *elm_theme_list_get(const Elm_Theme *th);
1506    /**
1507     * Return the full patrh for a theme element
1508     *
1509     * @param f The theme element name
1510     * @param in_search_path Pointer to a boolean to indicate if item is in the search path or not
1511     * @return The full path to the file found.
1512     *
1513     * This returns a string you should free with free() on success, NULL on
1514     * failure. This will search for the given theme element, and if it is a
1515     * full or relative path element or a simple searchable name. The returned
1516     * path is the full path to the file, if searched, and the file exists, or it
1517     * is simply the full path given in the element or a resolved path if
1518     * relative to home. The @p in_search_path boolean pointed to is set to
1519     * EINA_TRUE if the file was a searchable file andis in the search path,
1520     * and EINA_FALSE otherwise.
1521     */
1522    EAPI char            *elm_theme_list_item_path_get(const char *f, Eina_Bool *in_search_path);
1523    /**
1524     * Flush the current theme.
1525     *
1526     * @param th Theme to flush
1527     *
1528     * This flushes caches that let elementary know where to find theme elements
1529     * in the given theme. If @p th is NULL, then the default theme is flushed.
1530     * Call this function if source theme data has changed in such a way as to
1531     * make any caches Elementary kept invalid.
1532     */
1533    EAPI void             elm_theme_flush(Elm_Theme *th);
1534    /**
1535     * This flushes all themes (default and specific ones).
1536     *
1537     * This will flush all themes in the current application context, by calling
1538     * elm_theme_flush() on each of them.
1539     */
1540    EAPI void             elm_theme_full_flush(void);
1541    /**
1542     * Set the theme for all elementary using applications on the current display
1543     *
1544     * @param theme The name of the theme to use. Format same as the ELM_THEME
1545     * environment variable.
1546     */
1547    EAPI void             elm_theme_all_set(const char *theme);
1548    /**
1549     * Return a list of theme elements in the theme search path
1550     *
1551     * @return A list of strings that are the theme element names.
1552     *
1553     * This lists all available theme files in the standard Elementary search path
1554     * for theme elements, and returns them in alphabetical order as theme
1555     * element names in a list of strings. Free this with
1556     * elm_theme_name_available_list_free() when you are done with the list.
1557     */
1558    EAPI Eina_List       *elm_theme_name_available_list_new(void);
1559    /**
1560     * Free the list returned by elm_theme_name_available_list_new()
1561     *
1562     * This frees the list of themes returned by
1563     * elm_theme_name_available_list_new(). Once freed the list should no longer
1564     * be used. a new list mys be created.
1565     */
1566    EAPI void             elm_theme_name_available_list_free(Eina_List *list);
1567    /**
1568     * Set a specific theme to be used for this object and its children
1569     *
1570     * @param obj The object to set the theme on
1571     * @param th The theme to set
1572     *
1573     * This sets a specific theme that will be used for the given object and any
1574     * child objects it has. If @p th is NULL then the theme to be used is
1575     * cleared and the object will inherit its theme from its parent (which
1576     * ultimately will use the default theme if no specific themes are set).
1577     *
1578     * Use special themes with great care as this will annoy users and make
1579     * configuration difficult. Avoid any custom themes at all if it can be
1580     * helped.
1581     */
1582    EAPI void             elm_object_theme_set(Evas_Object *obj, Elm_Theme *th) EINA_ARG_NONNULL(1);
1583    /**
1584     * Get the specific theme to be used
1585     *
1586     * @param obj The object to get the specific theme from
1587     * @return The specifc theme set.
1588     *
1589     * This will return a specific theme set, or NULL if no specific theme is
1590     * set on that object. It will not return inherited themes from parents, only
1591     * the specific theme set for that specific object. See elm_object_theme_set()
1592     * for more information.
1593     */
1594    EAPI Elm_Theme       *elm_object_theme_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1595    /**
1596     * @}
1597     */
1598
1599    /* win */
1600    typedef enum _Elm_Win_Type
1601      {
1602         ELM_WIN_BASIC,
1603         ELM_WIN_DIALOG_BASIC,
1604         ELM_WIN_DESKTOP,
1605         ELM_WIN_DOCK,
1606         ELM_WIN_TOOLBAR,
1607         ELM_WIN_MENU,
1608         ELM_WIN_UTILITY,
1609         ELM_WIN_SPLASH,
1610         ELM_WIN_DROPDOWN_MENU,
1611         ELM_WIN_POPUP_MENU,
1612         ELM_WIN_TOOLTIP,
1613         ELM_WIN_NOTIFICATION,
1614         ELM_WIN_COMBO,
1615         ELM_WIN_DND,
1616         ELM_WIN_INLINED_IMAGE,
1617      } Elm_Win_Type;
1618
1619    typedef enum _Elm_Win_Keyboard_Mode
1620      {
1621         ELM_WIN_KEYBOARD_UNKNOWN,
1622         ELM_WIN_KEYBOARD_OFF,
1623         ELM_WIN_KEYBOARD_ON,
1624         ELM_WIN_KEYBOARD_ALPHA,
1625         ELM_WIN_KEYBOARD_NUMERIC,
1626         ELM_WIN_KEYBOARD_PIN,
1627         ELM_WIN_KEYBOARD_PHONE_NUMBER,
1628         ELM_WIN_KEYBOARD_HEX,
1629         ELM_WIN_KEYBOARD_TERMINAL,
1630         ELM_WIN_KEYBOARD_PASSWORD,
1631         ELM_WIN_KEYBOARD_IP,
1632         ELM_WIN_KEYBOARD_HOST,
1633         ELM_WIN_KEYBOARD_FILE,
1634         ELM_WIN_KEYBOARD_URL,
1635         ELM_WIN_KEYBOARD_KEYPAD,
1636         ELM_WIN_KEYBOARD_J2ME
1637      } Elm_Win_Keyboard_Mode;
1638
1639    typedef enum _Elm_Illume_Command
1640      {
1641         ELM_ILLUME_COMMAND_FOCUS_BACK,
1642         ELM_ILLUME_COMMAND_FOCUS_FORWARD,
1643         ELM_ILLUME_COMMAND_FOCUS_HOME,
1644         ELM_ILLUME_COMMAND_CLOSE
1645      } Elm_Illume_Command;
1646
1647    EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type);
1648    EAPI void         elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
1649    EAPI void         elm_win_resize_object_del(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
1650    EAPI void         elm_win_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
1651    EAPI const char  *elm_win_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1652    EAPI void         elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel) EINA_ARG_NONNULL(1);
1653    EAPI Eina_Bool    elm_win_autodel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1654    EAPI void         elm_win_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
1655    EAPI void         elm_win_lower(Evas_Object *obj) EINA_ARG_NONNULL(1);
1656    EAPI void         elm_win_raise(Evas_Object *obj) EINA_ARG_NONNULL(1);
1657    EAPI void         elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless) EINA_ARG_NONNULL(1);
1658    EAPI Eina_Bool    elm_win_borderless_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1659    EAPI void         elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped) EINA_ARG_NONNULL(1);
1660    EAPI Eina_Bool    elm_win_shaped_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1661    EAPI void         elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
1662    EAPI Eina_Bool    elm_win_transparent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1663    EAPI void         elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent) EINA_ARG_NONNULL(1);
1664    EAPI Eina_Bool    elm_win_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1665    EAPI void         elm_win_override_set(Evas_Object *obj, Eina_Bool override) EINA_ARG_NONNULL(1);
1666    EAPI Eina_Bool    elm_win_override_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1667    EAPI void         elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen) EINA_ARG_NONNULL(1);
1668    EAPI Eina_Bool    elm_win_fullscreen_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1669    EAPI void         elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized) EINA_ARG_NONNULL(1);
1670    EAPI Eina_Bool    elm_win_maximized_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1671    EAPI void         elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified) EINA_ARG_NONNULL(1);
1672    EAPI Eina_Bool    elm_win_iconified_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1673    EAPI void         elm_win_layer_set(Evas_Object *obj, int layer) EINA_ARG_NONNULL(1);
1674    EAPI int          elm_win_layer_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1675    EAPI void         elm_win_rotation_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
1676    EAPI void         elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
1677    EAPI int          elm_win_rotation_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1678    EAPI void         elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky) EINA_ARG_NONNULL(1);
1679    EAPI Eina_Bool    elm_win_sticky_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1680    EAPI void         elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant) EINA_ARG_NONNULL(1);
1681    EAPI Eina_Bool    elm_win_conformant_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1682    EAPI void         elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel) EINA_ARG_NONNULL(1);
1683    EAPI Eina_Bool    elm_win_quickpanel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1684    EAPI void         elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
1685    EAPI int          elm_win_quickpanel_priority_major_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1686    EAPI void         elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
1687    EAPI int          elm_win_quickpanel_priority_minor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1688    EAPI void         elm_win_quickpanel_zone_set(Evas_Object *obj, int zone) EINA_ARG_NONNULL(1);
1689    EAPI int          elm_win_quickpanel_zone_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1690    EAPI void         elm_win_prop_focus_skip_set(Evas_Object *obj, Eina_Bool skip) EINA_ARG_NONNULL(1);
1691    EAPI void         elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, void *params) EINA_ARG_NONNULL(1);
1692    EAPI Evas_Object *elm_win_inlined_image_object_get(Evas_Object *obj);
1693    EAPI void         elm_win_focus_highlight_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
1694    EAPI Eina_Bool    elm_win_focus_highlight_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1695    EAPI void         elm_win_focus_highlight_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
1696    EAPI const char  *elm_win_focus_highlight_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1697    /*...
1698     * ecore_x_icccm_hints_set -> accepts_focus (add to ecore_evas)
1699     * ecore_x_icccm_hints_set -> window_group (add to ecore_evas)
1700     * ecore_x_icccm_size_pos_hints_set -> request_pos (add to ecore_evas)
1701     * ecore_x_icccm_client_leader_set -> l (add to ecore_evas)
1702     * ecore_x_icccm_window_role_set -> role (add to ecore_evas)
1703     * ecore_x_icccm_transient_for_set -> forwin (add to ecore_evas)
1704     * ecore_x_netwm_window_type_set -> type (add to ecore_evas)
1705     *
1706     * (add to ecore_x) set netwm argb icon! (add to ecore_evas)
1707     * (blank mouse, private mouse obj, defaultmouse)
1708     *
1709     */
1710    EAPI void                  elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode) EINA_ARG_NONNULL(1);
1711    EAPI Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1712    EAPI void                  elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard) EINA_ARG_NONNULL(1);
1713    EAPI Eina_Bool             elm_win_keyboard_win_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1714
1715    EAPI void                  elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y) EINA_ARG_NONNULL(1);
1716
1717    /**
1718     * @defgroup Inwin Inwin
1719     *
1720     * @image html img/widget/inwin/preview-00.png
1721     * @image latex img/widget/inwin/preview-00.eps
1722     * @image html img/widget/inwin/preview-01.png
1723     * @image latex img/widget/inwin/preview-01.eps
1724     * @image html img/widget/inwin/preview-02.png
1725     * @image latex img/widget/inwin/preview-02.eps
1726     *
1727     * An inwin is a window inside a window that is useful for a quick popup.
1728     * It does not hover.
1729     *
1730     * It works by creating an object that will occupy the entire window, so it
1731     * must be created using an @ref Win "elm_win" as parent only. The inwin
1732     * object can be hidden or restacked below every other object if it's
1733     * needed to show what's behind it without destroying it. If this is done,
1734     * the elm_win_inwin_activate() function can be used to bring it back to
1735     * full visibility again.
1736     *
1737     * There are three styles available in the default theme. These are:
1738     * @li default: The inwin is sized to take over most of the window it's
1739     * placed in.
1740     * @li minimal: The size of the inwin will be the minimum necessary to show
1741     * its contents.
1742     * @li minimal_vertical: Horizontally, the inwin takes as much space as
1743     * possible, but it's sized vertically the most it needs to fit its\
1744     * contents.
1745     *
1746     * Some examples of Inwin can be found in the following:
1747     * @li @ref inwin_example_01
1748     *
1749     * @{
1750     */
1751    /**
1752     * Adds an inwin to the current window
1753     *
1754     * The @p obj used as parent @b MUST be an @ref Win "Elementary Window".
1755     * Never call this function with anything other than the top-most window
1756     * as its parameter, unless you are fond of undefined behavior.
1757     *
1758     * After creating the object, the widget will set itself as resize object
1759     * for the window with elm_win_resize_object_add(), so when shown it will
1760     * appear to cover almost the entire window (how much of it depends on its
1761     * content and the style used). It must not be added into other container
1762     * objects and it needs not be moved or resized manually.
1763     *
1764     * @param parent The parent object
1765     * @return The new object or NULL if it cannot be created
1766     */
1767    EAPI Evas_Object          *elm_win_inwin_add(Evas_Object *obj) EINA_ARG_NONNULL(1);
1768    /**
1769     * Activates an inwin object, ensuring its visibility
1770     *
1771     * This function will make sure that the inwin @p obj is completely visible
1772     * by calling evas_object_show() and evas_object_raise() on it, to bring it
1773     * to the front. It also sets the keyboard focus to it, which will be passed
1774     * onto its content.
1775     *
1776     * The object's theme will also receive the signal "elm,action,show" with
1777     * source "elm".
1778     *
1779     * @param obj The inwin to activate
1780     */
1781    EAPI void                  elm_win_inwin_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
1782    /**
1783     * Set the content of an inwin object.
1784     *
1785     * Once the content object is set, a previously set one will be deleted.
1786     * If you want to keep that old content object, use the
1787     * elm_win_inwin_content_unset() function.
1788     *
1789     * @param obj The inwin object
1790     * @param content The object to set as content
1791     */
1792    EAPI void                  elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
1793    /**
1794     * Get the content of an inwin object.
1795     *
1796     * Return the content object which is set for this widget.
1797     *
1798     * The returned object is valid as long as the inwin is still alive and no
1799     * other content is set on it. Deleting the object will notify the inwin
1800     * about it and this one will be left empty.
1801     *
1802     * If you need to remove an inwin's content to be reused somewhere else,
1803     * see elm_win_inwin_content_unset().
1804     *
1805     * @param obj The inwin object
1806     * @return The content that is being used
1807     */
1808    EAPI Evas_Object          *elm_win_inwin_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1809    /**
1810     * Unset the content of an inwin object.
1811     *
1812     * Unparent and return the content object which was set for this widget.
1813     *
1814     * @param obj The inwin object
1815     * @return The content that was being used
1816     */
1817    EAPI Evas_Object          *elm_win_inwin_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
1818    /**
1819     * @}
1820     */
1821    /* X specific calls - won't work on non-x engines (return 0) */
1822    EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1823    /* smart callbacks called:
1824     * "delete,request" - the user requested to delete the window
1825     * "focus,in" - window got focus
1826     * "focus,out" - window lost focus
1827     * "moved" - window that holds the canvas was moved
1828     */
1829
1830    /**
1831     * @defgroup Bg Bg
1832     *
1833     * @image html img/icon/bg/preview-00.png
1834     * @image latex img/icon/bg/preview-00.png
1835     *
1836     * @brief Background object, used for setting a solid color, image or Edje
1837     * group as background to a window or any container object.
1838     *
1839     * The bg object is used for setting a solid background to a window or
1840     * packing into any container object. It works just like an image, but has
1841     * some properties useful to a background, like setting it to tiled,
1842     * centered, scaled or stretched.
1843     *
1844     * Here is some sample code using it:
1845     * @li @ref bg_01_example_page
1846     * @li @ref bg_02_example_page
1847     * @li @ref bg_03_example_page
1848     */
1849
1850    /* bg */
1851    typedef enum _Elm_Bg_Option
1852      {
1853         ELM_BG_OPTION_CENTER,  /**< center the background */
1854         ELM_BG_OPTION_SCALE,   /**< scale the background retaining aspect ratio */
1855         ELM_BG_OPTION_STRETCH, /**< stretch the background to fill */
1856         ELM_BG_OPTION_TILE     /**< tile background at its original size */
1857      } Elm_Bg_Option;
1858
1859    /**
1860     * Add a new background to the parent
1861     *
1862     * @param parent The parent object
1863     * @return The new object or NULL if it cannot be created
1864     *
1865     * @ingroup Bg
1866     */
1867    EAPI Evas_Object  *elm_bg_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
1868
1869    /**
1870     * Set the file (image or edje) used for the background
1871     *
1872     * @param obj The bg object
1873     * @param file The file path
1874     * @param group Optional key (group in Edje) within the file
1875     *
1876     * This sets the image file used in the background object. The image (or edje)
1877     * will be stretched (retaining aspect if its an image file) to completely fill
1878     * the bg object. This may mean some parts are not visible.
1879     *
1880     * @note  Once the image of @p obj is set, a previously set one will be deleted,
1881     * even if @p file is NULL.
1882     *
1883     * @ingroup Bg
1884     */
1885    EAPI void          elm_bg_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
1886
1887    /**
1888     * Get the file (image or edje) used for the background
1889     *
1890     * @param obj The bg object
1891     * @param file The file path
1892     * @param group Optional key (group in Edje) within the file
1893     *
1894     * @ingroup Bg
1895     */
1896    EAPI void          elm_bg_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
1897
1898    /**
1899     * Set the option used for the background image
1900     *
1901     * @param obj The bg object
1902     * @param option The desired background option (TILE, SCALE)
1903     *
1904     * This sets the option used for manipulating the display of the background
1905     * image. The image can be tiled or scaled.
1906     *
1907     * @ingroup Bg
1908     */
1909    EAPI void          elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option) EINA_ARG_NONNULL(1);
1910
1911    /**
1912     * Get the option used for the background image
1913     *
1914     * @param obj The bg object
1915     * @return The desired background option (CENTER, SCALE, STRETCH or TILE)
1916     *
1917     * @ingroup Bg
1918     */
1919    EAPI Elm_Bg_Option elm_bg_option_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1920    /**
1921     * Set the option used for the background color
1922     *
1923     * @param obj The bg object
1924     * @param r
1925     * @param g
1926     * @param b
1927     *
1928     * This sets the color used for the background rectangle. Its range goes
1929     * from 0 to 255.
1930     *
1931     * @ingroup Bg
1932     */
1933    EAPI void          elm_bg_color_set(Evas_Object *obj, int r, int g, int b) EINA_ARG_NONNULL(1);
1934    /**
1935     * Get the option used for the background color
1936     *
1937     * @param obj The bg object
1938     * @param r
1939     * @param g
1940     * @param b
1941     *
1942     * @ingroup Bg
1943     */
1944    EAPI void          elm_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b) EINA_ARG_NONNULL(1);
1945
1946    /**
1947     * Set the overlay object used for the background object.
1948     *
1949     * @param obj The bg object
1950     * @param overlay The overlay object
1951     *
1952     * This provides a way for elm_bg to have an 'overlay' that will be on top
1953     * of the bg. Once the over object is set, a previously set one will be
1954     * deleted, even if you set the new one to NULL. If you want to keep that
1955     * old content object, use the elm_bg_overlay_unset() function.
1956     *
1957     * @ingroup Bg
1958     */
1959
1960    EAPI void          elm_bg_overlay_set(Evas_Object *obj, Evas_Object *overlay) EINA_ARG_NONNULL(1);
1961
1962    /**
1963     * Get the overlay object used for the background object.
1964     *
1965     * @param obj The bg object
1966     * @return The content that is being used
1967     *
1968     * Return the content object which is set for this widget
1969     *
1970     * @ingroup Bg
1971     */
1972    EAPI Evas_Object  *elm_bg_overlay_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1973
1974    /**
1975     * Get the overlay object used for the background object.
1976     *
1977     * @param obj The bg object
1978     * @return The content that was being used
1979     *
1980     * Unparent and return the overlay object which was set for this widget
1981     *
1982     * @ingroup Bg
1983     */
1984    EAPI Evas_Object  *elm_bg_overlay_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
1985
1986    /**
1987     * Set the size of the pixmap representation of the image.
1988     *
1989     * This option just makes sense if an image is going to be set in the bg.
1990     *
1991     * @param obj The bg object
1992     * @param w The new width of the image pixmap representation.
1993     * @param h The new height of the image pixmap representation.
1994     *
1995     * This function sets a new size for pixmap representation of the given bg
1996     * image. It allows the image to be loaded already in the specified size,
1997     * reducing the memory usage and load time when loading a big image with load
1998     * size set to a smaller size.
1999     *
2000     * NOTE: this is just a hint, the real size of the pixmap may differ
2001     * depending on the type of image being loaded, being bigger than requested.
2002     *
2003     * @ingroup Bg
2004     */
2005    EAPI void          elm_bg_load_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
2006    /* smart callbacks called:
2007     */
2008
2009    /**
2010     * @defgroup Icon Icon
2011     *
2012     * @image html img/icon/button/preview-00.png
2013     * @image latex img/icon/button/preview-00.png
2014     *
2015     * An object that provides standard icon images (delete, edit, arrows, etc.)
2016     * or a custom file (PNG, JPG, EDJE, etc.) used for an icon.
2017     *
2018     * The icon image requested can be in the elementary theme, or in the
2019     * freedesktop.org paths. It's possible to set the order of preference from
2020     * where the image will be used.
2021     *
2022     * This API is very similar to @ref Image, but with ready to use images.
2023     *
2024     * Default images provided by the theme are described below.
2025     *
2026     * The first list contains icons that were first intended to be used in
2027     * toolbars, but can be used in many other places too:
2028     * @li home
2029     * @li close
2030     * @li apps
2031     * @li arrow_up
2032     * @li arrow_down
2033     * @li arrow_left
2034     * @li arrow_right
2035     * @li chat
2036     * @li clock
2037     * @li delete
2038     * @li edit
2039     * @li refresh
2040     * @li folder
2041     * @li file
2042     *
2043     * Now some icons that were designed to be used in menus (but again, you can
2044     * use them anywhere else):
2045     * @li menu/home
2046     * @li menu/close
2047     * @li menu/apps
2048     * @li menu/arrow_up
2049     * @li menu/arrow_down
2050     * @li menu/arrow_left
2051     * @li menu/arrow_right
2052     * @li menu/chat
2053     * @li menu/clock
2054     * @li menu/delete
2055     * @li menu/edit
2056     * @li menu/refresh
2057     * @li menu/folder
2058     * @li menu/file
2059     *
2060     * And here we have some media player specific icons:
2061     * @li media_player/forward
2062     * @li media_player/info
2063     * @li media_player/next
2064     * @li media_player/pause
2065     * @li media_player/play
2066     * @li media_player/prev
2067     * @li media_player/rewind
2068     * @li media_player/stop
2069     *
2070     * Signals that you can add callbacks for are:
2071     *
2072     * "clicked" - This is called when a user has clicked the icon
2073     *
2074     * An example of usage for this API follows:
2075     * @li @ref tutorial_icon
2076     */
2077
2078    /**
2079     * @addtogroup Icon
2080     * @{
2081     */
2082
2083    typedef enum _Elm_Icon_Type
2084      {
2085         ELM_ICON_NONE,
2086         ELM_ICON_FILE,
2087         ELM_ICON_STANDARD
2088      } Elm_Icon_Type;
2089    /**
2090     * @enum _Elm_Icon_Lookup_Order
2091     * @typedef Elm_Icon_Lookup_Order
2092     *
2093     * Lookup order used by elm_icon_standard_set(). Should look for icons in the
2094     * theme, FDO paths, or both?
2095     *
2096     * @ingroup Icon
2097     */
2098    typedef enum _Elm_Icon_Lookup_Order
2099      {
2100         ELM_ICON_LOOKUP_FDO_THEME, /**< icon look up order: freedesktop, theme */
2101         ELM_ICON_LOOKUP_THEME_FDO, /**< icon look up order: theme, freedesktop */
2102         ELM_ICON_LOOKUP_FDO,       /**< icon look up order: freedesktop */
2103         ELM_ICON_LOOKUP_THEME      /**< icon look up order: theme */
2104      } Elm_Icon_Lookup_Order;
2105
2106    /**
2107     * Add a new icon object to the parent.
2108     *
2109     * @param parent The parent object
2110     * @return The new object or NULL if it cannot be created
2111     *
2112     * @see elm_icon_file_set()
2113     *
2114     * @ingroup Icon
2115     */
2116    EAPI Evas_Object          *elm_icon_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2117    /**
2118     * Set the file that will be used as icon.
2119     *
2120     * @param obj The icon object
2121     * @param file The path to file that will be used as icon image
2122     * @param group The group that the icon belongs to in edje file
2123     *
2124     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
2125     *
2126     * @note The icon image set by this function can be changed by
2127     * elm_icon_standard_set().
2128     *
2129     * @see elm_icon_file_get()
2130     *
2131     * @ingroup Icon
2132     */
2133    EAPI Eina_Bool             elm_icon_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
2134    /**
2135     * Set a location in memory to be used as an icon
2136     *
2137     * @param obj The icon object
2138     * @param img The binary data that will be used as an image
2139     * @param size The size of binary data @p img
2140     * @param format Optional format of @p img to pass to the image loader
2141     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
2142     *
2143     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
2144     *
2145     * @note The icon image set by this function can be changed by
2146     * elm_icon_standard_set().
2147     *
2148     * @ingroup Icon
2149     */
2150    EAPI Eina_Bool             elm_icon_memfile_set(Evas_Object *obj, const void *img, size_t size, const char *format, const char *key);  EINA_ARG_NONNULL(1, 2);
2151    /**
2152     * Get the file that will be used as icon.
2153     *
2154     * @param obj The icon object
2155     * @param file The path to file that will be used as icon icon image
2156     * @param group The group that the icon belongs to in edje file
2157     *
2158     * @see elm_icon_file_set()
2159     *
2160     * @ingroup Icon
2161     */
2162    EAPI void                  elm_icon_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
2163    EAPI void                  elm_icon_thumb_set(const Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
2164    /**
2165     * Set the icon by icon standards names.
2166     *
2167     * @param obj The icon object
2168     * @param name The icon name
2169     *
2170     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
2171     *
2172     * For example, freedesktop.org defines standard icon names such as "home",
2173     * "network", etc. There can be different icon sets to match those icon
2174     * keys. The @p name given as parameter is one of these "keys", and will be
2175     * used to look in the freedesktop.org paths and elementary theme. One can
2176     * change the lookup order with elm_icon_order_lookup_set().
2177     *
2178     * If name is not found in any of the expected locations and it is the
2179     * absolute path of an image file, this image will be used.
2180     *
2181     * @note The icon image set by this function can be changed by
2182     * elm_icon_file_set().
2183     *
2184     * @see elm_icon_standard_get()
2185     * @see elm_icon_file_set()
2186     *
2187     * @ingroup Icon
2188     */
2189    EAPI Eina_Bool             elm_icon_standard_set(Evas_Object *obj, const char *name) EINA_ARG_NONNULL(1);
2190    /**
2191     * Get the icon name set by icon standard names.
2192     *
2193     * @param obj The icon object
2194     * @return The icon name
2195     *
2196     * If the icon image was set using elm_icon_file_set() instead of
2197     * elm_icon_standard_set(), then this function will return @c NULL.
2198     *
2199     * @see elm_icon_standard_set()
2200     *
2201     * @ingroup Icon
2202     */
2203    EAPI const char           *elm_icon_standard_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2204    /**
2205     * Set the smooth effect for an icon object.
2206     *
2207     * @param obj The icon object
2208     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
2209     * otherwise. Default is @c EINA_TRUE.
2210     *
2211     * Set the scaling algorithm to be used when scaling the icon image. Smooth
2212     * scaling provides a better resulting image, but is slower.
2213     *
2214     * The smooth scaling should be disabled when making animations that change
2215     * the icon size, since they will be faster. Animations that don't require
2216     * resizing of the icon can keep the smooth scaling enabled (even if the icon
2217     * is already scaled, since the scaled icon image will be cached).
2218     *
2219     * @see elm_icon_smooth_get()
2220     *
2221     * @ingroup Icon
2222     */
2223    EAPI void                  elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
2224    /**
2225     * Get the smooth effect for an icon object.
2226     *
2227     * @param obj The icon object
2228     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
2229     *
2230     * @see elm_icon_smooth_set()
2231     *
2232     * @ingroup Icon
2233     */
2234    EAPI Eina_Bool             elm_icon_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2235    /**
2236     * Disable scaling of this object.
2237     *
2238     * @param obj The icon object.
2239     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
2240     * otherwise. Default is @c EINA_FALSE.
2241     *
2242     * This function disables scaling of the icon object through the function
2243     * elm_object_scale_set(). However, this does not affect the object
2244     * size/resize in any way. For that effect, take a look at
2245     * elm_icon_scale_set().
2246     *
2247     * @see elm_icon_no_scale_get()
2248     * @see elm_icon_scale_set()
2249     * @see elm_object_scale_set()
2250     *
2251     * @ingroup Icon
2252     */
2253    EAPI void                  elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
2254    /**
2255     * Get whether scaling is disabled on the object.
2256     *
2257     * @param obj The icon object
2258     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
2259     *
2260     * @see elm_icon_no_scale_set()
2261     *
2262     * @ingroup Icon
2263     */
2264    EAPI Eina_Bool             elm_icon_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2265    /**
2266     * Set if the object is (up/down) resizeable.
2267     *
2268     * @param obj The icon object
2269     * @param scale_up A bool to set if the object is resizeable up. Default is
2270     * @c EINA_TRUE.
2271     * @param scale_down A bool to set if the object is resizeable down. Default
2272     * is @c EINA_TRUE.
2273     *
2274     * This function limits the icon object resize ability. If @p scale_up is set to
2275     * @c EINA_FALSE, the object can't have its height or width resized to a value
2276     * higher than the original icon size. Same is valid for @p scale_down.
2277     *
2278     * @see elm_icon_scale_get()
2279     *
2280     * @ingroup Icon
2281     */
2282    EAPI void                  elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
2283    /**
2284     * Get if the object is (up/down) resizeable.
2285     *
2286     * @param obj The icon object
2287     * @param scale_up A bool to set if the object is resizeable up
2288     * @param scale_down A bool to set if the object is resizeable down
2289     *
2290     * @see elm_icon_scale_set()
2291     *
2292     * @ingroup Icon
2293     */
2294    EAPI void                  elm_icon_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
2295    /**
2296     * Get the object's image size
2297     *
2298     * @param obj The icon object
2299     * @param w A pointer to store the width in
2300     * @param h A pointer to store the height in
2301     *
2302     * @ingroup Icon
2303     */
2304    EAPI void                  elm_icon_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
2305    /**
2306     * Set if the icon fill the entire object area.
2307     *
2308     * @param obj The icon object
2309     * @param fill_outside @c EINA_TRUE if the object is filled outside,
2310     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
2311     *
2312     * When the icon object is resized to a different aspect ratio from the
2313     * original icon image, the icon image will still keep its aspect. This flag
2314     * tells how the image should fill the object's area. They are: keep the
2315     * entire icon inside the limits of height and width of the object (@p
2316     * fill_outside is @c EINA_FALSE) or let the extra width or height go outside
2317     * of the object, and the icon will fill the entire object (@p fill_outside
2318     * is @c EINA_TRUE).
2319     *
2320     * @note Unlike @ref Image, there's no option in icon to set the aspect ratio
2321     * retain property to false. Thus, the icon image will always keep its
2322     * original aspect ratio.
2323     *
2324     * @see elm_icon_fill_outside_get()
2325     * @see elm_image_fill_outside_set()
2326     *
2327     * @ingroup Icon
2328     */
2329    EAPI void                  elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
2330    /**
2331     * Get if the object is filled outside.
2332     *
2333     * @param obj The icon object
2334     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
2335     *
2336     * @see elm_icon_fill_outside_set()
2337     *
2338     * @ingroup Icon
2339     */
2340    EAPI Eina_Bool             elm_icon_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2341    /**
2342     * Set the prescale size for the icon.
2343     *
2344     * @param obj The icon object
2345     * @param size The prescale size. This value is used for both width and
2346     * height.
2347     *
2348     * This function sets a new size for pixmap representation of the given
2349     * icon. It allows the icon to be loaded already in the specified size,
2350     * reducing the memory usage and load time when loading a big icon with load
2351     * size set to a smaller size.
2352     *
2353     * It's equivalent to the elm_bg_load_size_set() function for bg.
2354     *
2355     * @note this is just a hint, the real size of the pixmap may differ
2356     * depending on the type of icon being loaded, being bigger than requested.
2357     *
2358     * @see elm_icon_prescale_get()
2359     * @see elm_bg_load_size_set()
2360     *
2361     * @ingroup Icon
2362     */
2363    EAPI void                  elm_icon_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
2364    /**
2365     * Get the prescale size for the icon.
2366     *
2367     * @param obj The icon object
2368     * @return The prescale size
2369     *
2370     * @see elm_icon_prescale_set()
2371     *
2372     * @ingroup Icon
2373     */
2374    EAPI int                   elm_icon_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2375    /**
2376     * Sets the icon lookup order used by elm_icon_standard_set().
2377     *
2378     * @param obj The icon object
2379     * @param order The icon lookup order (can be one of
2380     * ELM_ICON_LOOKUP_FDO_THEME, ELM_ICON_LOOKUP_THEME_FDO, ELM_ICON_LOOKUP_FDO
2381     * or ELM_ICON_LOOKUP_THEME)
2382     *
2383     * @see elm_icon_order_lookup_get()
2384     * @see Elm_Icon_Lookup_Order
2385     *
2386     * @ingroup Icon
2387     */
2388    EAPI void                  elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
2389    /**
2390     * Gets the icon lookup order.
2391     *
2392     * @param obj The icon object
2393     * @return The icon lookup order
2394     *
2395     * @see elm_icon_order_lookup_set()
2396     * @see Elm_Icon_Lookup_Order
2397     *
2398     * @ingroup Icon
2399     */
2400    EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2401
2402    /**
2403     * @}
2404     */
2405
2406    /**
2407     * @defgroup Image Image
2408     *
2409     * @image html img/image/button/preview-00.png
2410     * @image latex img/image/button/preview-00.png
2411     *
2412     * An object that allows one to load an image file to it. It can be used
2413     * anywhere like any other elementary widget.
2414     *
2415     * This widget provides most of the functionality provided from @ref Bg or @ref
2416     * Icon, but with a slightly different API (use the one that fits better your
2417     * needs).
2418     *
2419     * The features not provided by those two other image widgets are:
2420     * @li allowing to get the basic @c Evas_Object with elm_image_object_get();
2421     * @li change the object orientation with elm_image_orient_set();
2422     * @li and turning the image editable with elm_image_editable_set().
2423     *
2424     * Signals that you can add callbacks for are:
2425     *
2426     * @li @c "clicked" - This is called when a user has clicked the image
2427     *
2428     * An example of usage for this API follows:
2429     * @li @ref tutorial_image
2430     */
2431
2432    /**
2433     * @addtogroup Image
2434     * @{
2435     */
2436
2437    /**
2438     * @enum _Elm_Image_Orient
2439     * @typedef Elm_Image_Orient
2440     *
2441     * Possible orientation options for elm_image_orient_set().
2442     *
2443     * @image html elm_image_orient_set.png
2444     * @image latex elm_image_orient_set.eps width=\textwidth
2445     *
2446     * @ingroup Image
2447     */
2448    typedef enum _Elm_Image_Orient
2449      {
2450         ELM_IMAGE_ORIENT_NONE, /**< no orientation change */
2451         ELM_IMAGE_ROTATE_90_CW, /**< rotate 90 degrees clockwise */
2452         ELM_IMAGE_ROTATE_180_CW, /**< rotate 180 degrees clockwise */
2453         ELM_IMAGE_ROTATE_90_CCW, /**< rotate 90 degrees counter-clockwise (i.e. 270 degrees clockwise) */
2454         ELM_IMAGE_FLIP_HORIZONTAL, /**< flip image horizontally */
2455         ELM_IMAGE_FLIP_VERTICAL, /**< flip image vertically */
2456         ELM_IMAGE_FLIP_TRANSPOSE, /**< flip the image along the y = (side - x) line*/
2457         ELM_IMAGE_FLIP_TRANSVERSE /**< flip the image along the y = x line */
2458      } Elm_Image_Orient;
2459
2460    /**
2461     * Add a new image to the parent.
2462     *
2463     * @param parent The parent object
2464     * @return The new object or NULL if it cannot be created
2465     *
2466     * @see elm_image_file_set()
2467     *
2468     * @ingroup Image
2469     */
2470    EAPI Evas_Object     *elm_image_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2471    /**
2472     * Set the file that will be used as image.
2473     *
2474     * @param obj The image object
2475     * @param file The path to file that will be used as image
2476     * @param group The group that the image belongs in edje file (if it's an
2477     * edje image)
2478     *
2479     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
2480     *
2481     * @see elm_image_file_get()
2482     *
2483     * @ingroup Image
2484     */
2485    EAPI Eina_Bool        elm_image_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
2486    /**
2487     * Get the file that will be used as image.
2488     *
2489     * @param obj The image object
2490     * @param file The path to file
2491     * @param group The group that the image belongs in edje file
2492     *
2493     * @see elm_image_file_set()
2494     *
2495     * @ingroup Image
2496     */
2497    EAPI void             elm_image_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
2498    /**
2499     * Set the smooth effect for an image.
2500     *
2501     * @param obj The image object
2502     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
2503     * otherwise. Default is @c EINA_TRUE.
2504     *
2505     * Set the scaling algorithm to be used when scaling the image. Smooth
2506     * scaling provides a better resulting image, but is slower.
2507     *
2508     * The smooth scaling should be disabled when making animations that change
2509     * the image size, since it will be faster. Animations that don't require
2510     * resizing of the image can keep the smooth scaling enabled (even if the
2511     * image is already scaled, since the scaled image will be cached).
2512     *
2513     * @see elm_image_smooth_get()
2514     *
2515     * @ingroup Image
2516     */
2517    EAPI void             elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
2518    /**
2519     * Get the smooth effect for an image.
2520     *
2521     * @param obj The image object
2522     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
2523     *
2524     * @see elm_image_smooth_get()
2525     *
2526     * @ingroup Image
2527     */
2528    EAPI Eina_Bool        elm_image_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2529    /**
2530     * Gets the current size of the image.
2531     *
2532     * @param obj The image object.
2533     * @param w Pointer to store width, or NULL.
2534     * @param h Pointer to store height, or NULL.
2535     *
2536     * This is the real size of the image, not the size of the object.
2537     *
2538     * On error, neither w or h will be written.
2539     *
2540     * @ingroup Image
2541     */
2542    EAPI void             elm_image_object_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
2543    /**
2544     * Disable scaling of this object.
2545     *
2546     * @param obj The image object.
2547     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
2548     * otherwise. Default is @c EINA_FALSE.
2549     *
2550     * This function disables scaling of the elm_image widget through the
2551     * function elm_object_scale_set(). However, this does not affect the widget
2552     * size/resize in any way. For that effect, take a look at
2553     * elm_image_scale_set().
2554     *
2555     * @see elm_image_no_scale_get()
2556     * @see elm_image_scale_set()
2557     * @see elm_object_scale_set()
2558     *
2559     * @ingroup Image
2560     */
2561    EAPI void             elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
2562    /**
2563     * Get whether scaling is disabled on the object.
2564     *
2565     * @param obj The image object
2566     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
2567     *
2568     * @see elm_image_no_scale_set()
2569     *
2570     * @ingroup Image
2571     */
2572    EAPI Eina_Bool        elm_image_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2573    /**
2574     * Set if the object is (up/down) resizeable.
2575     *
2576     * @param obj The image object
2577     * @param scale_up A bool to set if the object is resizeable up. Default is
2578     * @c EINA_TRUE.
2579     * @param scale_down A bool to set if the object is resizeable down. Default
2580     * is @c EINA_TRUE.
2581     *
2582     * This function limits the image resize ability. If @p scale_up is set to
2583     * @c EINA_FALSE, the object can't have its height or width resized to a value
2584     * higher than the original image size. Same is valid for @p scale_down.
2585     *
2586     * @see elm_image_scale_get()
2587     *
2588     * @ingroup Image
2589     */
2590    EAPI void             elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
2591    /**
2592     * Get if the object is (up/down) resizeable.
2593     *
2594     * @param obj The image object
2595     * @param scale_up A bool to set if the object is resizeable up
2596     * @param scale_down A bool to set if the object is resizeable down
2597     *
2598     * @see elm_image_scale_set()
2599     *
2600     * @ingroup Image
2601     */
2602    EAPI void             elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
2603    /**
2604     * Set if the image fill the entire object area when keeping the aspect ratio.
2605     *
2606     * @param obj The image object
2607     * @param fill_outside @c EINA_TRUE if the object is filled outside,
2608     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
2609     *
2610     * When the image should keep its aspect ratio even if resized to another
2611     * aspect ratio, there are two possibilities to resize it: keep the entire
2612     * image inside the limits of height and width of the object (@p fill_outside
2613     * is @c EINA_FALSE) or let the extra width or height go outside of the object,
2614     * and the image will fill the entire object (@p fill_outside is @c EINA_TRUE).
2615     *
2616     * @note This option will have no effect if
2617     * elm_image_aspect_ratio_retained_set() is set to @c EINA_FALSE.
2618     *
2619     * @see elm_image_fill_outside_get()
2620     * @see elm_image_aspect_ratio_retained_set()
2621     *
2622     * @ingroup Image
2623     */
2624    EAPI void             elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
2625    /**
2626     * Get if the object is filled outside
2627     *
2628     * @param obj The image object
2629     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
2630     *
2631     * @see elm_image_fill_outside_set()
2632     *
2633     * @ingroup Image
2634     */
2635    EAPI Eina_Bool        elm_image_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2636    /**
2637     * Set the prescale size for the image
2638     *
2639     * @param obj The image object
2640     * @param size The prescale size. This value is used for both width and
2641     * height.
2642     *
2643     * This function sets a new size for pixmap representation of the given
2644     * image. It allows the image to be loaded already in the specified size,
2645     * reducing the memory usage and load time when loading a big image with load
2646     * size set to a smaller size.
2647     *
2648     * It's equivalent to the elm_bg_load_size_set() function for bg.
2649     *
2650     * @note this is just a hint, the real size of the pixmap may differ
2651     * depending on the type of image being loaded, being bigger than requested.
2652     *
2653     * @see elm_image_prescale_get()
2654     * @see elm_bg_load_size_set()
2655     *
2656     * @ingroup Image
2657     */
2658    EAPI void             elm_image_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
2659    /**
2660     * Get the prescale size for the image
2661     *
2662     * @param obj The image object
2663     * @return The prescale size
2664     *
2665     * @see elm_image_prescale_set()
2666     *
2667     * @ingroup Image
2668     */
2669    EAPI int              elm_image_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2670    /**
2671     * Set the image orientation.
2672     *
2673     * @param obj The image object
2674     * @param orient The image orientation
2675     * (one of #ELM_IMAGE_ORIENT_NONE, #ELM_IMAGE_ROTATE_90_CW,
2676     *  #ELM_IMAGE_ROTATE_180_CW, #ELM_IMAGE_ROTATE_90_CCW,
2677     *  #ELM_IMAGE_FLIP_HORIZONTAL, #ELM_IMAGE_FLIP_VERTICAL,
2678     *  #ELM_IMAGE_FLIP_TRANSPOSE, #ELM_IMAGE_FLIP_TRANSVERSE).
2679     *  Default is #ELM_IMAGE_ORIENT_NONE.
2680     *
2681     * This function allows to rotate or flip the given image.
2682     *
2683     * @see elm_image_orient_get()
2684     * @see @ref Elm_Image_Orient
2685     *
2686     * @ingroup Image
2687     */
2688    EAPI void             elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient) EINA_ARG_NONNULL(1);
2689    /**
2690     * Get the image orientation.
2691     *
2692     * @param obj The image object
2693     * @return The image orientation
2694     * (one of #ELM_IMAGE_ORIENT_NONE, #ELM_IMAGE_ROTATE_90_CW,
2695     *  #ELM_IMAGE_ROTATE_180_CW, #ELM_IMAGE_ROTATE_90_CCW,
2696     *  #ELM_IMAGE_FLIP_HORIZONTAL, #ELM_IMAGE_FLIP_VERTICAL,
2697     *  #ELM_IMAGE_FLIP_TRANSPOSE, #ELM_IMAGE_FLIP_TRANSVERSE)
2698     *
2699     * @see elm_image_orient_set()
2700     * @see @ref Elm_Image_Orient
2701     *
2702     * @ingroup Image
2703     */
2704    EAPI Elm_Image_Orient elm_image_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2705    /**
2706     * Make the image 'editable'.
2707     *
2708     * @param obj Image object.
2709     * @param set Turn on or off editability. Default is @c EINA_FALSE.
2710     *
2711     * This means the image is a valid drag target for drag and drop, and can be
2712     * cut or pasted too.
2713     *
2714     * @ingroup Image
2715     */
2716    EAPI void             elm_image_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
2717    /**
2718     * Make the image 'editable'.
2719     *
2720     * @param obj Image object.
2721     * @return Editability.
2722     *
2723     * This means the image is a valid drag target for drag and drop, and can be
2724     * cut or pasted too.
2725     *
2726     * @ingroup Image
2727     */
2728    EAPI Eina_Bool        elm_image_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2729    /**
2730     * Get the basic Evas_Image object from this object (widget).
2731     *
2732     * @param obj The image object to get the inlined image from
2733     * @return The inlined image object, or NULL if none exists
2734     *
2735     * This function allows one to get the underlying @c Evas_Object of type
2736     * Image from this elementary widget. It can be useful to do things like get
2737     * the pixel data, save the image to a file, etc.
2738     *
2739     * @note Be careful to not manipulate it, as it is under control of
2740     * elementary.
2741     *
2742     * @ingroup Image
2743     */
2744    EAPI Evas_Object     *elm_image_object_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2745    /**
2746     * Set whether the original aspect ratio of the image should be kept on resize.
2747     *
2748     * @param obj The image object.
2749     * @param retained @c EINA_TRUE if the image should retain the aspect,
2750     * @c EINA_FALSE otherwise.
2751     *
2752     * The original aspect ratio (width / height) of the image is usually
2753     * distorted to match the object's size. Enabling this option will retain
2754     * this original aspect, and the way that the image is fit into the object's
2755     * area depends on the option set by elm_image_fill_outside_set().
2756     *
2757     * @see elm_image_aspect_ratio_retained_get()
2758     * @see elm_image_fill_outside_set()
2759     *
2760     * @ingroup Image
2761     */
2762    EAPI void             elm_image_aspect_ratio_retained_set(Evas_Object *obj, Eina_Bool retained) EINA_ARG_NONNULL(1);
2763    /**
2764     * Get if the object retains the original aspect ratio.
2765     *
2766     * @param obj The image object.
2767     * @return @c EINA_TRUE if the object keeps the original aspect, @c EINA_FALSE
2768     * otherwise.
2769     *
2770     * @ingroup Image
2771     */
2772    EAPI Eina_Bool        elm_image_aspect_ratio_retained_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2773
2774    /* smart callbacks called:
2775     * "clicked" - the user clicked the image
2776     */
2777
2778    /**
2779     * @}
2780     */
2781
2782    /* glview */
2783    typedef void (*Elm_GLView_Func_Cb)(Evas_Object *obj);
2784
2785    typedef enum _Elm_GLView_Mode
2786      {
2787         ELM_GLVIEW_ALPHA   = 1,
2788         ELM_GLVIEW_DEPTH   = 2,
2789         ELM_GLVIEW_STENCIL = 4
2790      } Elm_GLView_Mode;
2791
2792    /**
2793     * Defines a policy for the glview resizing.
2794     *
2795     * @note Default is ELM_GLVIEW_RESIZE_POLICY_RECREATE
2796     */
2797    typedef enum _Elm_GLView_Resize_Policy
2798      {
2799         ELM_GLVIEW_RESIZE_POLICY_RECREATE = 1,      /**< Resize the internal surface along with the image */
2800         ELM_GLVIEW_RESIZE_POLICY_SCALE    = 2       /**< Only reize the internal image and not the surface */
2801      } Elm_GLView_Resize_Policy;
2802
2803    typedef enum _Elm_GLView_Render_Policy
2804      {
2805         ELM_GLVIEW_RENDER_POLICY_ON_DEMAND = 1,     /**< Render only when there is a need for redrawing */
2806         ELM_GLVIEW_RENDER_POLICY_ALWAYS    = 2      /**< Render always even when it is not visible */
2807      } Elm_GLView_Render_Policy;
2808
2809
2810    EAPI Evas_Object     *elm_glview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2811    EAPI void             elm_glview_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
2812    EAPI void             elm_glview_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
2813    EAPI Evas_GL_API     *elm_glview_gl_api_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2814    EAPI Eina_Bool        elm_glview_mode_set(Evas_Object *obj, Elm_GLView_Mode mode) EINA_ARG_NONNULL(1);
2815    EAPI Eina_Bool        elm_glview_resize_policy_set(Evas_Object *obj, Elm_GLView_Resize_Policy policy) EINA_ARG_NONNULL(1);
2816    EAPI Eina_Bool        elm_glview_render_policy_set(Evas_Object *obj, Elm_GLView_Render_Policy policy) EINA_ARG_NONNULL(1);
2817    EAPI void             elm_glview_init_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
2818    EAPI void             elm_glview_del_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
2819    EAPI void             elm_glview_resize_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
2820    EAPI void             elm_glview_render_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
2821    EAPI void             elm_glview_changed_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
2822
2823    /* box */
2824    /**
2825     * @defgroup Box Box
2826     *
2827     * @image html img/widget/box/preview-00.png
2828     * @image latex img/widget/box/preview-00.eps width=\textwidth
2829     *
2830     * @image html img/box.png
2831     * @image latex img/box.eps width=\textwidth
2832     *
2833     * A box arranges objects in a linear fashion, governed by a layout function
2834     * that defines the details of this arrangement.
2835     *
2836     * By default, the box will use an internal function to set the layout to
2837     * a single row, either vertical or horizontal. This layout is affected
2838     * by a number of parameters, such as the homogeneous flag set by
2839     * elm_box_homogeneous_set(), the values given by elm_box_padding_set() and
2840     * elm_box_align_set() and the hints set to each object in the box.
2841     *
2842     * For this default layout, it's possible to change the orientation with
2843     * elm_box_horizontal_set(). The box will start in the vertical orientation,
2844     * placing its elements ordered from top to bottom. When horizontal is set,
2845     * the order will go from left to right. If the box is set to be
2846     * homogeneous, every object in it will be assigned the same space, that
2847     * of the largest object. Padding can be used to set some spacing between
2848     * the cell given to each object. The alignment of the box, set with
2849     * elm_box_align_set(), determines how the bounding box of all the elements
2850     * will be placed within the space given to the box widget itself.
2851     *
2852     * The size hints of each object also affect how they are placed and sized
2853     * within the box. evas_object_size_hint_min_set() will give the minimum
2854     * size the object can have, and the box will use it as the basis for all
2855     * latter calculations. Elementary widgets set their own minimum size as
2856     * needed, so there's rarely any need to use it manually.
2857     *
2858     * evas_object_size_hint_weight_set(), when not in homogeneous mode, is
2859     * used to tell whether the object will be allocated the minimum size it
2860     * needs or if the space given to it should be expanded. It's important
2861     * to realize that expanding the size given to the object is not the same
2862     * thing as resizing the object. It could very well end being a small
2863     * widget floating in a much larger empty space. If not set, the weight
2864     * for objects will normally be 0.0 for both axis, meaning the widget will
2865     * not be expanded. To take as much space possible, set the weight to
2866     * EVAS_HINT_EXPAND (defined to 1.0) for the desired axis to expand.
2867     *
2868     * Besides how much space each object is allocated, it's possible to control
2869     * how the widget will be placed within that space using
2870     * evas_object_size_hint_align_set(). By default, this value will be 0.5
2871     * for both axis, meaning the object will be centered, but any value from
2872     * 0.0 (left or top, for the @c x and @c y axis, respectively) to 1.0
2873     * (right or bottom) can be used. The special value EVAS_HINT_FILL, which
2874     * is -1.0, means the object will be resized to fill the entire space it
2875     * was allocated.
2876     *
2877     * In addition, customized functions to define the layout can be set, which
2878     * allow the application developer to organize the objects within the box
2879     * in any number of ways.
2880     *
2881     * The special elm_box_layout_transition() function can be used
2882     * to switch from one layout to another, animating the motion of the
2883     * children of the box.
2884     *
2885     * @note Objects should not be added to box objects using _add() calls.
2886     *
2887     * Some examples on how to use boxes follow:
2888     * @li @ref box_example_01
2889     * @li @ref box_example_02
2890     *
2891     * @{
2892     */
2893    /**
2894     * @typedef Elm_Box_Transition
2895     *
2896     * Opaque handler containing the parameters to perform an animated
2897     * transition of the layout the box uses.
2898     *
2899     * @see elm_box_transition_new()
2900     * @see elm_box_layout_set()
2901     * @see elm_box_layout_transition()
2902     */
2903    typedef struct _Elm_Box_Transition Elm_Box_Transition;
2904
2905    /**
2906     * Add a new box to the parent
2907     *
2908     * By default, the box will be in vertical mode and non-homogeneous.
2909     *
2910     * @param parent The parent object
2911     * @return The new object or NULL if it cannot be created
2912     */
2913    EAPI Evas_Object        *elm_box_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
2914    /**
2915     * Set the horizontal orientation
2916     *
2917     * By default, box object arranges their contents vertically from top to
2918     * bottom.
2919     * By calling this function with @p horizontal as EINA_TRUE, the box will
2920     * become horizontal, arranging contents from left to right.
2921     *
2922     * @note This flag is ignored if a custom layout function is set.
2923     *
2924     * @param obj The box object
2925     * @param horizontal The horizontal flag (EINA_TRUE = horizontal,
2926     * EINA_FALSE = vertical)
2927     */
2928    EAPI void                elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
2929    /**
2930     * Get the horizontal orientation
2931     *
2932     * @param obj The box object
2933     * @return EINA_TRUE if the box is set to horizontal mode, EINA_FALSE otherwise
2934     */
2935    EAPI Eina_Bool           elm_box_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2936    /**
2937     * Set the box to arrange its children homogeneously
2938     *
2939     * If enabled, homogeneous layout makes all items the same size, according
2940     * to the size of the largest of its children.
2941     *
2942     * @note This flag is ignored if a custom layout function is set.
2943     *
2944     * @param obj The box object
2945     * @param homogeneous The homogeneous flag
2946     */
2947    EAPI void                elm_box_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
2948    /**
2949     * Get whether the box is using homogeneous mode or not
2950     *
2951     * @param obj The box object
2952     * @return EINA_TRUE if it's homogeneous, EINA_FALSE otherwise
2953     */
2954    EAPI Eina_Bool           elm_box_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2955    EINA_DEPRECATED EAPI void elm_box_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
2956    EINA_DEPRECATED EAPI Eina_Bool elm_box_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2957    /**
2958     * Add an object to the beginning of the pack list
2959     *
2960     * Pack @p subobj into the box @p obj, placing it first in the list of
2961     * children objects. The actual position the object will get on screen
2962     * depends on the layout used. If no custom layout is set, it will be at
2963     * the top or left, depending if the box is vertical or horizontal,
2964     * respectively.
2965     *
2966     * @param obj The box object
2967     * @param subobj The object to add to the box
2968     *
2969     * @see elm_box_pack_end()
2970     * @see elm_box_pack_before()
2971     * @see elm_box_pack_after()
2972     * @see elm_box_unpack()
2973     * @see elm_box_unpack_all()
2974     * @see elm_box_clear()
2975     */
2976    EAPI void                elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
2977    /**
2978     * Add an object at the end of the pack list
2979     *
2980     * Pack @p subobj into the box @p obj, placing it last in the list of
2981     * children objects. The actual position the object will get on screen
2982     * depends on the layout used. If no custom layout is set, it will be at
2983     * the bottom or right, depending if the box is vertical or horizontal,
2984     * respectively.
2985     *
2986     * @param obj The box object
2987     * @param subobj The object to add to the box
2988     *
2989     * @see elm_box_pack_start()
2990     * @see elm_box_pack_before()
2991     * @see elm_box_pack_after()
2992     * @see elm_box_unpack()
2993     * @see elm_box_unpack_all()
2994     * @see elm_box_clear()
2995     */
2996    EAPI void                elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
2997    /**
2998     * Adds an object to the box before the indicated object
2999     *
3000     * This will add the @p subobj to the box indicated before the object
3001     * indicated with @p before. If @p before is not already in the box, results
3002     * are undefined. Before means either to the left of the indicated object or
3003     * above it depending on orientation.
3004     *
3005     * @param obj The box object
3006     * @param subobj The object to add to the box
3007     * @param before The object before which to add it
3008     *
3009     * @see elm_box_pack_start()
3010     * @see elm_box_pack_end()
3011     * @see elm_box_pack_after()
3012     * @see elm_box_unpack()
3013     * @see elm_box_unpack_all()
3014     * @see elm_box_clear()
3015     */
3016    EAPI void                elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before) EINA_ARG_NONNULL(1);
3017    /**
3018     * Adds an object to the box after the indicated object
3019     *
3020     * This will add the @p subobj to the box indicated after the object
3021     * indicated with @p after. If @p after is not already in the box, results
3022     * are undefined. After means either to the right of the indicated object or
3023     * below it depending on orientation.
3024     *
3025     * @param obj The box object
3026     * @param subobj The object to add to the box
3027     * @param after The object after which to add it
3028     *
3029     * @see elm_box_pack_start()
3030     * @see elm_box_pack_end()
3031     * @see elm_box_pack_before()
3032     * @see elm_box_unpack()
3033     * @see elm_box_unpack_all()
3034     * @see elm_box_clear()
3035     */
3036    EAPI void                elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after) EINA_ARG_NONNULL(1);
3037    /**
3038     * Clear the box of all children
3039     *
3040     * Remove all the elements contained by the box, deleting the respective
3041     * objects.
3042     *
3043     * @param obj The box object
3044     *
3045     * @see elm_box_unpack()
3046     * @see elm_box_unpack_all()
3047     */
3048    EAPI void                elm_box_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
3049    /**
3050     * Unpack a box item
3051     *
3052     * Remove the object given by @p subobj from the box @p obj without
3053     * deleting it.
3054     *
3055     * @param obj The box object
3056     *
3057     * @see elm_box_unpack_all()
3058     * @see elm_box_clear()
3059     */
3060    EAPI void                elm_box_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
3061    /**
3062     * Remove all items from the box, without deleting them
3063     *
3064     * Clear the box from all children, but don't delete the respective objects.
3065     * If no other references of the box children exist, the objects will never
3066     * be deleted, and thus the application will leak the memory. Make sure
3067     * when using this function that you hold a reference to all the objects
3068     * in the box @p obj.
3069     *
3070     * @param obj The box object
3071     *
3072     * @see elm_box_clear()
3073     * @see elm_box_unpack()
3074     */
3075    EAPI void                elm_box_unpack_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
3076    /**
3077     * Retrieve a list of the objects packed into the box
3078     *
3079     * Returns a new @c Eina_List with a pointer to @c Evas_Object in its nodes.
3080     * The order of the list corresponds to the packing order the box uses.
3081     *
3082     * You must free this list with eina_list_free() once you are done with it.
3083     *
3084     * @param obj The box object
3085     */
3086    EAPI const Eina_List    *elm_box_children_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3087    /**
3088     * Set the space (padding) between the box's elements.
3089     *
3090     * Extra space in pixels that will be added between a box child and its
3091     * neighbors after its containing cell has been calculated. This padding
3092     * is set for all elements in the box, besides any possible padding that
3093     * individual elements may have through their size hints.
3094     *
3095     * @param obj The box object
3096     * @param horizontal The horizontal space between elements
3097     * @param vertical The vertical space between elements
3098     */
3099    EAPI void                elm_box_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
3100    /**
3101     * Get the space (padding) between the box's elements.
3102     *
3103     * @param obj The box object
3104     * @param horizontal The horizontal space between elements
3105     * @param vertical The vertical space between elements
3106     *
3107     * @see elm_box_padding_set()
3108     */
3109    EAPI void                elm_box_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
3110    /**
3111     * Set the alignment of the whole bouding box of contents.
3112     *
3113     * Sets how the bounding box containing all the elements of the box, after
3114     * their sizes and position has been calculated, will be aligned within
3115     * the space given for the whole box widget.
3116     *
3117     * @param obj The box object
3118     * @param horizontal The horizontal alignment of elements
3119     * @param vertical The vertical alignment of elements
3120     */
3121    EAPI void                elm_box_align_set(Evas_Object *obj, double horizontal, double vertical) EINA_ARG_NONNULL(1);
3122    /**
3123     * Get the alignment of the whole bouding box of contents.
3124     *
3125     * @param obj The box object
3126     * @param horizontal The horizontal alignment of elements
3127     * @param vertical The vertical alignment of elements
3128     *
3129     * @see elm_box_align_set()
3130     */
3131    EAPI void                elm_box_align_get(const Evas_Object *obj, double *horizontal, double *vertical) EINA_ARG_NONNULL(1);
3132
3133    /**
3134     * Set the layout defining function to be used by the box
3135     *
3136     * Whenever anything changes that requires the box in @p obj to recalculate
3137     * the size and position of its elements, the function @p cb will be called
3138     * to determine what the layout of the children will be.
3139     *
3140     * Once a custom function is set, everything about the children layout
3141     * is defined by it. The flags set by elm_box_horizontal_set() and
3142     * elm_box_homogeneous_set() no longer have any meaning, and the values
3143     * given by elm_box_padding_set() and elm_box_align_set() are up to this
3144     * layout function to decide if they are used and how. These last two
3145     * will be found in the @c priv parameter, of type @c Evas_Object_Box_Data,
3146     * passed to @p cb. The @c Evas_Object the function receives is not the
3147     * Elementary widget, but the internal Evas Box it uses, so none of the
3148     * functions described here can be used on it.
3149     *
3150     * Any of the layout functions in @c Evas can be used here, as well as the
3151     * special elm_box_layout_transition().
3152     *
3153     * The final @p data argument received by @p cb is the same @p data passed
3154     * here, and the @p free_data function will be called to free it
3155     * whenever the box is destroyed or another layout function is set.
3156     *
3157     * Setting @p cb to NULL will revert back to the default layout function.
3158     *
3159     * @param obj The box object
3160     * @param cb The callback function used for layout
3161     * @param data Data that will be passed to layout function
3162     * @param free_data Function called to free @p data
3163     *
3164     * @see elm_box_layout_transition()
3165     */
3166    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);
3167    /**
3168     * Special layout function that animates the transition from one layout to another
3169     *
3170     * Normally, when switching the layout function for a box, this will be
3171     * reflected immediately on screen on the next render, but it's also
3172     * possible to do this through an animated transition.
3173     *
3174     * This is done by creating an ::Elm_Box_Transition and setting the box
3175     * layout to this function.
3176     *
3177     * For example:
3178     * @code
3179     * Elm_Box_Transition *t = elm_box_transition_new(1.0,
3180     *                            evas_object_box_layout_vertical, // start
3181     *                            NULL, // data for initial layout
3182     *                            NULL, // free function for initial data
3183     *                            evas_object_box_layout_horizontal, // end
3184     *                            NULL, // data for final layout
3185     *                            NULL, // free function for final data
3186     *                            anim_end, // will be called when animation ends
3187     *                            NULL); // data for anim_end function\
3188     * elm_box_layout_set(box, elm_box_layout_transition, t,
3189     *                    elm_box_transition_free);
3190     * @endcode
3191     *
3192     * @note This function can only be used with elm_box_layout_set(). Calling
3193     * it directly will not have the expected results.
3194     *
3195     * @see elm_box_transition_new
3196     * @see elm_box_transition_free
3197     * @see elm_box_layout_set
3198     */
3199    EAPI void                elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data);
3200    /**
3201     * Create a new ::Elm_Box_Transition to animate the switch of layouts
3202     *
3203     * If you want to animate the change from one layout to another, you need
3204     * to set the layout function of the box to elm_box_layout_transition(),
3205     * passing as user data to it an instance of ::Elm_Box_Transition with the
3206     * necessary information to perform this animation. The free function to
3207     * set for the layout is elm_box_transition_free().
3208     *
3209     * The parameters to create an ::Elm_Box_Transition sum up to how long
3210     * will it be, in seconds, a layout function to describe the initial point,
3211     * another for the final position of the children and one function to be
3212     * called when the whole animation ends. This last function is useful to
3213     * set the definitive layout for the box, usually the same as the end
3214     * layout for the animation, but could be used to start another transition.
3215     *
3216     * @param start_layout The layout function that will be used to start the animation
3217     * @param start_layout_data The data to be passed the @p start_layout function
3218     * @param start_layout_free_data Function to free @p start_layout_data
3219     * @param end_layout The layout function that will be used to end the animation
3220     * @param end_layout_free_data The data to be passed the @p end_layout function
3221     * @param end_layout_free_data Function to free @p end_layout_data
3222     * @param transition_end_cb Callback function called when animation ends
3223     * @param transition_end_data Data to be passed to @p transition_end_cb
3224     * @return An instance of ::Elm_Box_Transition
3225     *
3226     * @see elm_box_transition_new
3227     * @see elm_box_layout_transition
3228     */
3229    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);
3230    /**
3231     * Free a Elm_Box_Transition instance created with elm_box_transition_new().
3232     *
3233     * This function is mostly useful as the @c free_data parameter in
3234     * elm_box_layout_set() when elm_box_layout_transition().
3235     *
3236     * @param data The Elm_Box_Transition instance to be freed.
3237     *
3238     * @see elm_box_transition_new
3239     * @see elm_box_layout_transition
3240     */
3241    EAPI void                elm_box_transition_free(void *data);
3242    /**
3243     * @}
3244     */
3245
3246    /* button */
3247    /**
3248     * @defgroup Button Button
3249     *
3250     * @image html img/widget/button/preview-00.png
3251     * @image html img/widget/button/preview-01.png
3252     * @image html img/widget/button/preview-02.png
3253     *
3254     * This is a push-button. Press it and run some function. It can contain
3255     * a simple label and icon object and it also has an autorepeat feature.
3256     *
3257     * This widgets emits the following signals:
3258     * @li "clicked": the user clicked the button (press/release).
3259     * @li "repeated": the user pressed the button without releasing it.
3260     * @li "pressed": button was pressed.
3261     * @li "unpressed": button was released after being pressed.
3262     * In all three cases, the @c event parameter of the callback will be
3263     * @c NULL.
3264     *
3265     * Also, defined in the default theme, the button has the following styles
3266     * available:
3267     * @li default: a normal button.
3268     * @li anchor: Like default, but the button fades away when the mouse is not
3269     * over it, leaving only the text or icon.
3270     * @li hoversel_vertical: Internally used by @ref Hoversel to give a
3271     * continuous look across its options.
3272     * @li hoversel_vertical_entry: Another internal for @ref Hoversel.
3273     *
3274     * Follow through a complete example @ref button_example_01 "here".
3275     * @{
3276     */
3277    /**
3278     * Add a new button to the parent's canvas
3279     *
3280     * @param parent The parent object
3281     * @return The new object or NULL if it cannot be created
3282     */
3283    EAPI Evas_Object *elm_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
3284    /**
3285     * Set the label used in the button
3286     *
3287     * The passed @p label can be NULL to clean any existing text in it and
3288     * leave the button as an icon only object.
3289     *
3290     * @param obj The button object
3291     * @param label The text will be written on the button
3292     * @deprecated use elm_object_text_set() instead.
3293     */
3294    EINA_DEPRECATED EAPI void         elm_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
3295    /**
3296     * Get the label set for the button
3297     *
3298     * The string returned is an internal pointer and should not be freed or
3299     * altered. It will also become invalid when the button is destroyed.
3300     * The string returned, if not NULL, is a stringshare, so if you need to
3301     * keep it around even after the button is destroyed, you can use
3302     * eina_stringshare_ref().
3303     *
3304     * @param obj The button object
3305     * @return The text set to the label, or NULL if nothing is set
3306     * @deprecated use elm_object_text_set() instead.
3307     */
3308    EINA_DEPRECATED EAPI const char  *elm_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3309    /**
3310     * Set the icon used for the button
3311     *
3312     * Setting a new icon will delete any other that was previously set, making
3313     * any reference to them invalid. If you need to maintain the previous
3314     * object alive, unset it first with elm_button_icon_unset().
3315     *
3316     * @param obj The button object
3317     * @param icon The icon object for the button
3318     */
3319    EAPI void         elm_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
3320    /**
3321     * Get the icon used for the button
3322     *
3323     * Return the icon object which is set for this widget. If the button is
3324     * destroyed or another icon is set, the returned object will be deleted
3325     * and any reference to it will be invalid.
3326     *
3327     * @param obj The button object
3328     * @return The icon object that is being used
3329     *
3330     * @see elm_button_icon_unset()
3331     */
3332    EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3333    /**
3334     * Remove the icon set without deleting it and return the object
3335     *
3336     * This function drops the reference the button holds of the icon object
3337     * and returns this last object. It is used in case you want to remove any
3338     * icon, or set another one, without deleting the actual object. The button
3339     * will be left without an icon set.
3340     *
3341     * @param obj The button object
3342     * @return The icon object that was being used
3343     */
3344    EAPI Evas_Object *elm_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
3345    /**
3346     * Turn on/off the autorepeat event generated when the button is kept pressed
3347     *
3348     * When off, no autorepeat is performed and buttons emit a normal @c clicked
3349     * signal when they are clicked.
3350     *
3351     * When on, keeping a button pressed will continuously emit a @c repeated
3352     * signal until the button is released. The time it takes until it starts
3353     * emitting the signal is given by
3354     * elm_button_autorepeat_initial_timeout_set(), and the time between each
3355     * new emission by elm_button_autorepeat_gap_timeout_set().
3356     *
3357     * @param obj The button object
3358     * @param on  A bool to turn on/off the event
3359     */
3360    EAPI void         elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on) EINA_ARG_NONNULL(1);
3361    /**
3362     * Get whether the autorepeat feature is enabled
3363     *
3364     * @param obj The button object
3365     * @return EINA_TRUE if autorepeat is on, EINA_FALSE otherwise
3366     *
3367     * @see elm_button_autorepeat_set()
3368     */
3369    EAPI Eina_Bool    elm_button_autorepeat_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3370    /**
3371     * Set the initial timeout before the autorepeat event is generated
3372     *
3373     * Sets the timeout, in seconds, since the button is pressed until the
3374     * first @c repeated signal is emitted. If @p t is 0.0 or less, there
3375     * won't be any delay and the even will be fired the moment the button is
3376     * pressed.
3377     *
3378     * @param obj The button object
3379     * @param t   Timeout in seconds
3380     *
3381     * @see elm_button_autorepeat_set()
3382     * @see elm_button_autorepeat_gap_timeout_set()
3383     */
3384    EAPI void         elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
3385    /**
3386     * Get the initial timeout before the autorepeat event is generated
3387     *
3388     * @param obj The button object
3389     * @return Timeout in seconds
3390     *
3391     * @see elm_button_autorepeat_initial_timeout_set()
3392     */
3393    EAPI double       elm_button_autorepeat_initial_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3394    /**
3395     * Set the interval between each generated autorepeat event
3396     *
3397     * After the first @c repeated event is fired, all subsequent ones will
3398     * follow after a delay of @p t seconds for each.
3399     *
3400     * @param obj The button object
3401     * @param t   Interval in seconds
3402     *
3403     * @see elm_button_autorepeat_initial_timeout_set()
3404     */
3405    EAPI void         elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
3406    /**
3407     * Get the interval between each generated autorepeat event
3408     *
3409     * @param obj The button object
3410     * @return Interval in seconds
3411     */
3412    EAPI double       elm_button_autorepeat_gap_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3413    /**
3414     * @}
3415     */
3416
3417    /**
3418     * @defgroup File_Selector_Button File Selector Button
3419     *
3420     * @image html img/widget/fileselector_button/preview-00.png
3421     * @image html img/widget/fileselector_button/preview-01.png
3422     * @image html img/widget/fileselector_button/preview-02.png
3423     *
3424     * This is a button that, when clicked, creates an Elementary
3425     * window (or inner window) <b> with a @ref Fileselector "file
3426     * selector widget" within</b>. When a file is chosen, the (inner)
3427     * window is closed and the button emits a signal having the
3428     * selected file as it's @c event_info.
3429     *
3430     * This widget encapsulates operations on its internal file
3431     * selector on its own API. There is less control over its file
3432     * selector than that one would have instatiating one directly.
3433     *
3434     * The following styles are available for this button:
3435     * @li @c "default"
3436     * @li @c "anchor"
3437     * @li @c "hoversel_vertical"
3438     * @li @c "hoversel_vertical_entry"
3439     *
3440     * Smart callbacks one can register to:
3441     * - @c "file,chosen" - the user has selected a path, whose string
3442     *   pointer comes as the @c event_info data (a stringshared
3443     *   string)
3444     *
3445     * Here is an example on its usage:
3446     * @li @ref fileselector_button_example
3447     *
3448     * @see @ref File_Selector_Entry for a similar widget.
3449     * @{
3450     */
3451
3452    /**
3453     * Add a new file selector button widget to the given parent
3454     * Elementary (container) object
3455     *
3456     * @param parent The parent object
3457     * @return a new file selector button widget handle or @c NULL, on
3458     * errors
3459     */
3460    EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
3461
3462    /**
3463     * Set the label for a given file selector button widget
3464     *
3465     * @param obj The file selector button widget
3466     * @param label The text label to be displayed on @p obj
3467     *
3468     * @deprecated use elm_object_text_set() instead.
3469     */
3470    EINA_DEPRECATED EAPI void         elm_fileselector_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
3471
3472    /**
3473     * Get the label set for a given file selector button widget
3474     *
3475     * @param obj The file selector button widget
3476     * @return The button label
3477     *
3478     * @deprecated use elm_object_text_set() instead.
3479     */
3480    EINA_DEPRECATED EAPI const char  *elm_fileselector_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3481
3482    /**
3483     * Set the icon on a given file selector button widget
3484     *
3485     * @param obj The file selector button widget
3486     * @param icon The icon object for the button
3487     *
3488     * Once the icon object is set, a previously set one will be
3489     * deleted. If you want to keep the latter, use the
3490     * elm_fileselector_button_icon_unset() function.
3491     *
3492     * @see elm_fileselector_button_icon_get()
3493     */
3494    EAPI void         elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
3495
3496    /**
3497     * Get the icon set for a given file selector button widget
3498     *
3499     * @param obj The file selector button widget
3500     * @return The icon object currently set on @p obj or @c NULL, if
3501     * none is
3502     *
3503     * @see elm_fileselector_button_icon_set()
3504     */
3505    EAPI Evas_Object *elm_fileselector_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3506
3507    /**
3508     * Unset the icon used in a given file selector button widget
3509     *
3510     * @param obj The file selector button widget
3511     * @return The icon object that was being used on @p obj or @c
3512     * NULL, on errors
3513     *
3514     * Unparent and return the icon object which was set for this
3515     * widget.
3516     *
3517     * @see elm_fileselector_button_icon_set()
3518     */
3519    EAPI Evas_Object *elm_fileselector_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
3520
3521    /**
3522     * Set the title for a given file selector button widget's window
3523     *
3524     * @param obj The file selector button widget
3525     * @param title The title string
3526     *
3527     * This will change the window's title, when the file selector pops
3528     * out after a click on the button. Those windows have the default
3529     * (unlocalized) value of @c "Select a file" as titles.
3530     *
3531     * @note It will only take any effect if the file selector
3532     * button widget is @b not under "inwin mode".
3533     *
3534     * @see elm_fileselector_button_window_title_get()
3535     */
3536    EAPI void         elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
3537
3538    /**
3539     * Get the title set for a given file selector button widget's
3540     * window
3541     *
3542     * @param obj The file selector button widget
3543     * @return Title of the file selector button's window
3544     *
3545     * @see elm_fileselector_button_window_title_get() for more details
3546     */
3547    EAPI const char  *elm_fileselector_button_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3548
3549    /**
3550     * Set the size of a given file selector button widget's window,
3551     * holding the file selector itself.
3552     *
3553     * @param obj The file selector button widget
3554     * @param width The window's width
3555     * @param height The window's height
3556     *
3557     * @note it will only take any effect if the file selector button
3558     * widget is @b not under "inwin mode". The default size for the
3559     * window (when applicable) is 400x400 pixels.
3560     *
3561     * @see elm_fileselector_button_window_size_get()
3562     */
3563    EAPI void         elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
3564
3565    /**
3566     * Get the size of a given file selector button widget's window,
3567     * holding the file selector itself.
3568     *
3569     * @param obj The file selector button widget
3570     * @param width Pointer into which to store the width value
3571     * @param height Pointer into which to store the height value
3572     *
3573     * @note Use @c NULL pointers on the size values you're not
3574     * interested in: they'll be ignored by the function.
3575     *
3576     * @see elm_fileselector_button_window_size_set(), for more details
3577     */
3578    EAPI void         elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
3579
3580    /**
3581     * Set the initial file system path for a given file selector
3582     * button widget
3583     *
3584     * @param obj The file selector button widget
3585     * @param path The path string
3586     *
3587     * It must be a <b>directory</b> path, which will have the contents
3588     * displayed initially in the file selector's view, when invoked
3589     * from @p obj. The default initial path is the @c "HOME"
3590     * environment variable's value.
3591     *
3592     * @see elm_fileselector_button_path_get()
3593     */
3594    EAPI void         elm_fileselector_button_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
3595
3596    /**
3597     * Get the initial file system path set for a given file selector
3598     * button widget
3599     *
3600     * @param obj The file selector button widget
3601     * @return path The path string
3602     *
3603     * @see elm_fileselector_button_path_set() for more details
3604     */
3605    EAPI const char  *elm_fileselector_button_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3606
3607    /**
3608     * Enable/disable a tree view in the given file selector button
3609     * widget's internal file selector
3610     *
3611     * @param obj The file selector button widget
3612     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
3613     * disable
3614     *
3615     * This has the same effect as elm_fileselector_expandable_set(),
3616     * but now applied to a file selector button's internal file
3617     * selector.
3618     *
3619     * @note There's no way to put a file selector button's internal
3620     * file selector in "grid mode", as one may do with "pure" file
3621     * selectors.
3622     *
3623     * @see elm_fileselector_expandable_get()
3624     */
3625    EAPI void         elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
3626
3627    /**
3628     * Get whether tree view is enabled for the given file selector
3629     * button widget's internal file selector
3630     *
3631     * @param obj The file selector button widget
3632     * @return @c EINA_TRUE if @p obj widget's internal file selector
3633     * is in tree view, @c EINA_FALSE otherwise (and or errors)
3634     *
3635     * @see elm_fileselector_expandable_set() for more details
3636     */
3637    EAPI Eina_Bool    elm_fileselector_button_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3638
3639    /**
3640     * Set whether a given file selector button widget's internal file
3641     * selector is to display folders only or the directory contents,
3642     * as well.
3643     *
3644     * @param obj The file selector button widget
3645     * @param only @c EINA_TRUE to make @p obj widget's internal file
3646     * selector only display directories, @c EINA_FALSE to make files
3647     * to be displayed in it too
3648     *
3649     * This has the same effect as elm_fileselector_folder_only_set(),
3650     * but now applied to a file selector button's internal file
3651     * selector.
3652     *
3653     * @see elm_fileselector_folder_only_get()
3654     */
3655    EAPI void         elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
3656
3657    /**
3658     * Get whether a given file selector button widget's internal file
3659     * selector is displaying folders only or the directory contents,
3660     * as well.
3661     *
3662     * @param obj The file selector button widget
3663     * @return @c EINA_TRUE if @p obj widget's internal file
3664     * selector is only displaying directories, @c EINA_FALSE if files
3665     * are being displayed in it too (and on errors)
3666     *
3667     * @see elm_fileselector_button_folder_only_set() for more details
3668     */
3669    EAPI Eina_Bool    elm_fileselector_button_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3670
3671    /**
3672     * Enable/disable the file name entry box where the user can type
3673     * in a name for a file, in a given file selector button widget's
3674     * internal file selector.
3675     *
3676     * @param obj The file selector button widget
3677     * @param is_save @c EINA_TRUE to make @p obj widget's internal
3678     * file selector a "saving dialog", @c EINA_FALSE otherwise
3679     *
3680     * This has the same effect as elm_fileselector_is_save_set(),
3681     * but now applied to a file selector button's internal file
3682     * selector.
3683     *
3684     * @see elm_fileselector_is_save_get()
3685     */
3686    EAPI void         elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
3687
3688    /**
3689     * Get whether the given file selector button widget's internal
3690     * file selector is in "saving dialog" mode
3691     *
3692     * @param obj The file selector button widget
3693     * @return @c EINA_TRUE, if @p obj widget's internal file selector
3694     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
3695     * errors)
3696     *
3697     * @see elm_fileselector_button_is_save_set() for more details
3698     */
3699    EAPI Eina_Bool    elm_fileselector_button_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3700
3701    /**
3702     * Set whether a given file selector button widget's internal file
3703     * selector will raise an Elementary "inner window", instead of a
3704     * dedicated Elementary window. By default, it won't.
3705     *
3706     * @param obj The file selector button widget
3707     * @param value @c EINA_TRUE to make it use an inner window, @c
3708     * EINA_TRUE to make it use a dedicated window
3709     *
3710     * @see elm_win_inwin_add() for more information on inner windows
3711     * @see elm_fileselector_button_inwin_mode_get()
3712     */
3713    EAPI void         elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
3714
3715    /**
3716     * Get whether a given file selector button widget's internal file
3717     * selector will raise an Elementary "inner window", instead of a
3718     * dedicated Elementary window.
3719     *
3720     * @param obj The file selector button widget
3721     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
3722     * if it will use a dedicated window
3723     *
3724     * @see elm_fileselector_button_inwin_mode_set() for more details
3725     */
3726    EAPI Eina_Bool    elm_fileselector_button_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3727
3728    /**
3729     * @}
3730     */
3731
3732     /**
3733     * @defgroup File_Selector_Entry File Selector Entry
3734     *
3735     * @image html img/widget/fileselector_entry/preview-00.png
3736     * @image latex img/widget/fileselector_entry/preview-00.eps
3737     *
3738     * This is an entry made to be filled with or display a <b>file
3739     * system path string</b>. Besides the entry itself, the widget has
3740     * a @ref File_Selector_Button "file selector button" on its side,
3741     * which will raise an internal @ref Fileselector "file selector widget",
3742     * when clicked, for path selection aided by file system
3743     * navigation.
3744     *
3745     * This file selector may appear in an Elementary window or in an
3746     * inner window. When a file is chosen from it, the (inner) window
3747     * is closed and the selected file's path string is exposed both as
3748     * an smart event and as the new text on the entry.
3749     *
3750     * This widget encapsulates operations on its internal file
3751     * selector on its own API. There is less control over its file
3752     * selector than that one would have instatiating one directly.
3753     *
3754     * Smart callbacks one can register to:
3755     * - @c "changed" - The text within the entry was changed
3756     * - @c "activated" - The entry has had editing finished and
3757     *   changes are to be "committed"
3758     * - @c "press" - The entry has been clicked
3759     * - @c "longpressed" - The entry has been clicked (and held) for a
3760     *   couple seconds
3761     * - @c "clicked" - The entry has been clicked
3762     * - @c "clicked,double" - The entry has been double clicked
3763     * - @c "focused" - The entry has received focus
3764     * - @c "unfocused" - The entry has lost focus
3765     * - @c "selection,paste" - A paste action has occurred on the
3766     *   entry
3767     * - @c "selection,copy" - A copy action has occurred on the entry
3768     * - @c "selection,cut" - A cut action has occurred on the entry
3769     * - @c "unpressed" - The file selector entry's button was released
3770     *   after being pressed.
3771     * - @c "file,chosen" - The user has selected a path via the file
3772     *   selector entry's internal file selector, whose string pointer
3773     *   comes as the @c event_info data (a stringshared string)
3774     *
3775     * Here is an example on its usage:
3776     * @li @ref fileselector_entry_example
3777     *
3778     * @see @ref File_Selector_Button for a similar widget.
3779     * @{
3780     */
3781
3782    /**
3783     * Add a new file selector entry widget to the given parent
3784     * Elementary (container) object
3785     *
3786     * @param parent The parent object
3787     * @return a new file selector entry widget handle or @c NULL, on
3788     * errors
3789     */
3790    EAPI Evas_Object *elm_fileselector_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
3791
3792    /**
3793     * Set the label for a given file selector entry widget's button
3794     *
3795     * @param obj The file selector entry widget
3796     * @param label The text label to be displayed on @p obj widget's
3797     * button
3798     *
3799     * @deprecated use elm_object_text_set() instead.
3800     */
3801    EINA_DEPRECATED EAPI void         elm_fileselector_entry_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
3802
3803    /**
3804     * Get the label set for a given file selector entry widget's button
3805     *
3806     * @param obj The file selector entry widget
3807     * @return The widget button's label
3808     *
3809     * @deprecated use elm_object_text_set() instead.
3810     */
3811    EINA_DEPRECATED EAPI const char  *elm_fileselector_entry_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3812
3813    /**
3814     * Set the icon on a given file selector entry widget's button
3815     *
3816     * @param obj The file selector entry widget
3817     * @param icon The icon object for the entry's button
3818     *
3819     * Once the icon object is set, a previously set one will be
3820     * deleted. If you want to keep the latter, use the
3821     * elm_fileselector_entry_button_icon_unset() function.
3822     *
3823     * @see elm_fileselector_entry_button_icon_get()
3824     */
3825    EAPI void         elm_fileselector_entry_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
3826
3827    /**
3828     * Get the icon set for a given file selector entry widget's button
3829     *
3830     * @param obj The file selector entry widget
3831     * @return The icon object currently set on @p obj widget's button
3832     * or @c NULL, if none is
3833     *
3834     * @see elm_fileselector_entry_button_icon_set()
3835     */
3836    EAPI Evas_Object *elm_fileselector_entry_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3837
3838    /**
3839     * Unset the icon used in a given file selector entry widget's
3840     * button
3841     *
3842     * @param obj The file selector entry widget
3843     * @return The icon object that was being used on @p obj widget's
3844     * button or @c NULL, on errors
3845     *
3846     * Unparent and return the icon object which was set for this
3847     * widget's button.
3848     *
3849     * @see elm_fileselector_entry_button_icon_set()
3850     */
3851    EAPI Evas_Object *elm_fileselector_entry_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
3852
3853    /**
3854     * Set the title for a given file selector entry widget's window
3855     *
3856     * @param obj The file selector entry widget
3857     * @param title The title string
3858     *
3859     * This will change the window's title, when the file selector pops
3860     * out after a click on the entry's button. Those windows have the
3861     * default (unlocalized) value of @c "Select a file" as titles.
3862     *
3863     * @note It will only take any effect if the file selector
3864     * entry widget is @b not under "inwin mode".
3865     *
3866     * @see elm_fileselector_entry_window_title_get()
3867     */
3868    EAPI void         elm_fileselector_entry_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
3869
3870    /**
3871     * Get the title set for a given file selector entry widget's
3872     * window
3873     *
3874     * @param obj The file selector entry widget
3875     * @return Title of the file selector entry's window
3876     *
3877     * @see elm_fileselector_entry_window_title_get() for more details
3878     */
3879    EAPI const char  *elm_fileselector_entry_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3880
3881    /**
3882     * Set the size of a given file selector entry widget's window,
3883     * holding the file selector itself.
3884     *
3885     * @param obj The file selector entry widget
3886     * @param width The window's width
3887     * @param height The window's height
3888     *
3889     * @note it will only take any effect if the file selector entry
3890     * widget is @b not under "inwin mode". The default size for the
3891     * window (when applicable) is 400x400 pixels.
3892     *
3893     * @see elm_fileselector_entry_window_size_get()
3894     */
3895    EAPI void         elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
3896
3897    /**
3898     * Get the size of a given file selector entry widget's window,
3899     * holding the file selector itself.
3900     *
3901     * @param obj The file selector entry widget
3902     * @param width Pointer into which to store the width value
3903     * @param height Pointer into which to store the height value
3904     *
3905     * @note Use @c NULL pointers on the size values you're not
3906     * interested in: they'll be ignored by the function.
3907     *
3908     * @see elm_fileselector_entry_window_size_set(), for more details
3909     */
3910    EAPI void         elm_fileselector_entry_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
3911
3912    /**
3913     * Set the initial file system path and the entry's path string for
3914     * a given file selector entry widget
3915     *
3916     * @param obj The file selector entry widget
3917     * @param path The path string
3918     *
3919     * It must be a <b>directory</b> path, which will have the contents
3920     * displayed initially in the file selector's view, when invoked
3921     * from @p obj. The default initial path is the @c "HOME"
3922     * environment variable's value.
3923     *
3924     * @see elm_fileselector_entry_path_get()
3925     */
3926    EAPI void         elm_fileselector_entry_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
3927
3928    /**
3929     * Get the entry's path string for a given file selector entry
3930     * widget
3931     *
3932     * @param obj The file selector entry widget
3933     * @return path The path string
3934     *
3935     * @see elm_fileselector_entry_path_set() for more details
3936     */
3937    EAPI const char  *elm_fileselector_entry_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3938
3939    /**
3940     * Enable/disable a tree view in the given file selector entry
3941     * widget's internal file selector
3942     *
3943     * @param obj The file selector entry widget
3944     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
3945     * disable
3946     *
3947     * This has the same effect as elm_fileselector_expandable_set(),
3948     * but now applied to a file selector entry's internal file
3949     * selector.
3950     *
3951     * @note There's no way to put a file selector entry's internal
3952     * file selector in "grid mode", as one may do with "pure" file
3953     * selectors.
3954     *
3955     * @see elm_fileselector_expandable_get()
3956     */
3957    EAPI void         elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
3958
3959    /**
3960     * Get whether tree view is enabled for the given file selector
3961     * entry widget's internal file selector
3962     *
3963     * @param obj The file selector entry widget
3964     * @return @c EINA_TRUE if @p obj widget's internal file selector
3965     * is in tree view, @c EINA_FALSE otherwise (and or errors)
3966     *
3967     * @see elm_fileselector_expandable_set() for more details
3968     */
3969    EAPI Eina_Bool    elm_fileselector_entry_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3970
3971    /**
3972     * Set whether a given file selector entry widget's internal file
3973     * selector is to display folders only or the directory contents,
3974     * as well.
3975     *
3976     * @param obj The file selector entry widget
3977     * @param only @c EINA_TRUE to make @p obj widget's internal file
3978     * selector only display directories, @c EINA_FALSE to make files
3979     * to be displayed in it too
3980     *
3981     * This has the same effect as elm_fileselector_folder_only_set(),
3982     * but now applied to a file selector entry's internal file
3983     * selector.
3984     *
3985     * @see elm_fileselector_folder_only_get()
3986     */
3987    EAPI void         elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
3988
3989    /**
3990     * Get whether a given file selector entry widget's internal file
3991     * selector is displaying folders only or the directory contents,
3992     * as well.
3993     *
3994     * @param obj The file selector entry widget
3995     * @return @c EINA_TRUE if @p obj widget's internal file
3996     * selector is only displaying directories, @c EINA_FALSE if files
3997     * are being displayed in it too (and on errors)
3998     *
3999     * @see elm_fileselector_entry_folder_only_set() for more details
4000     */
4001    EAPI Eina_Bool    elm_fileselector_entry_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4002
4003    /**
4004     * Enable/disable the file name entry box where the user can type
4005     * in a name for a file, in a given file selector entry widget's
4006     * internal file selector.
4007     *
4008     * @param obj The file selector entry widget
4009     * @param is_save @c EINA_TRUE to make @p obj widget's internal
4010     * file selector a "saving dialog", @c EINA_FALSE otherwise
4011     *
4012     * This has the same effect as elm_fileselector_is_save_set(),
4013     * but now applied to a file selector entry's internal file
4014     * selector.
4015     *
4016     * @see elm_fileselector_is_save_get()
4017     */
4018    EAPI void         elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
4019
4020    /**
4021     * Get whether the given file selector entry widget's internal
4022     * file selector is in "saving dialog" mode
4023     *
4024     * @param obj The file selector entry widget
4025     * @return @c EINA_TRUE, if @p obj widget's internal file selector
4026     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
4027     * errors)
4028     *
4029     * @see elm_fileselector_entry_is_save_set() for more details
4030     */
4031    EAPI Eina_Bool    elm_fileselector_entry_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4032
4033    /**
4034     * Set whether a given file selector entry widget's internal file
4035     * selector will raise an Elementary "inner window", instead of a
4036     * dedicated Elementary window. By default, it won't.
4037     *
4038     * @param obj The file selector entry widget
4039     * @param value @c EINA_TRUE to make it use an inner window, @c
4040     * EINA_TRUE to make it use a dedicated window
4041     *
4042     * @see elm_win_inwin_add() for more information on inner windows
4043     * @see elm_fileselector_entry_inwin_mode_get()
4044     */
4045    EAPI void         elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
4046
4047    /**
4048     * Get whether a given file selector entry widget's internal file
4049     * selector will raise an Elementary "inner window", instead of a
4050     * dedicated Elementary window.
4051     *
4052     * @param obj The file selector entry widget
4053     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
4054     * if it will use a dedicated window
4055     *
4056     * @see elm_fileselector_entry_inwin_mode_set() for more details
4057     */
4058    EAPI Eina_Bool    elm_fileselector_entry_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4059
4060    /**
4061     * Set the initial file system path for a given file selector entry
4062     * widget
4063     *
4064     * @param obj The file selector entry widget
4065     * @param path The path string
4066     *
4067     * It must be a <b>directory</b> path, which will have the contents
4068     * displayed initially in the file selector's view, when invoked
4069     * from @p obj. The default initial path is the @c "HOME"
4070     * environment variable's value.
4071     *
4072     * @see elm_fileselector_entry_path_get()
4073     */
4074    EAPI void         elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
4075
4076    /**
4077     * Get the parent directory's path to the latest file selection on
4078     * a given filer selector entry widget
4079     *
4080     * @param obj The file selector object
4081     * @return The (full) path of the directory of the last selection
4082     * on @p obj widget, a @b stringshared string
4083     *
4084     * @see elm_fileselector_entry_path_set()
4085     */
4086    EAPI const char  *elm_fileselector_entry_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4087
4088    /**
4089     * @}
4090     */
4091
4092    /**
4093     * @defgroup Scroller Scroller
4094     *
4095     * A scroller holds a single object and "scrolls it around". This means that
4096     * it allows the user to use a scrollbar (or a finger) to drag the viewable
4097     * region around, allowing to move through a much larger object that is
4098     * contained in the scroller. The scroiller will always have a small minimum
4099     * size by default as it won't be limited by the contents of the scroller.
4100     *
4101     * Signals that you can add callbacks for are:
4102     * @li "edge,left" - the left edge of the content has been reached
4103     * @li "edge,right" - the right edge of the content has been reached
4104     * @li "edge,top" - the top edge of the content has been reached
4105     * @li "edge,bottom" - the bottom edge of the content has been reached
4106     * @li "scroll" - the content has been scrolled (moved)
4107     * @li "scroll,anim,start" - scrolling animation has started
4108     * @li "scroll,anim,stop" - scrolling animation has stopped
4109     * @li "scroll,drag,start" - dragging the contents around has started
4110     * @li "scroll,drag,stop" - dragging the contents around has stopped
4111     * @note The "scroll,anim,*" and "scroll,drag,*" signals are only emitted by
4112     * user intervetion.
4113     *
4114     * @note When Elemementary is in embedded mode the scrollbars will not be
4115     * dragable, they appear merely as indicators of how much has been scrolled.
4116     * @note When Elementary is in desktop mode the thumbscroll(a.k.a.
4117     * fingerscroll) won't work.
4118     *
4119     * In @ref tutorial_scroller you'll find an example of how to use most of
4120     * this API.
4121     * @{
4122     */
4123    /**
4124     * @brief Type that controls when scrollbars should appear.
4125     *
4126     * @see elm_scroller_policy_set()
4127     */
4128    typedef enum _Elm_Scroller_Policy
4129      {
4130         ELM_SCROLLER_POLICY_AUTO = 0, /**< Show scrollbars as needed */
4131         ELM_SCROLLER_POLICY_ON, /**< Always show scrollbars */
4132         ELM_SCROLLER_POLICY_OFF, /**< Never show scrollbars */
4133         ELM_SCROLLER_POLICY_LAST
4134      } Elm_Scroller_Policy;
4135    /**
4136     * @brief Add a new scroller to the parent
4137     *
4138     * @param parent The parent object
4139     * @return The new object or NULL if it cannot be created
4140     */
4141    EAPI Evas_Object *elm_scroller_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4142    /**
4143     * @brief Set the content of the scroller widget (the object to be scrolled around).
4144     *
4145     * @param obj The scroller object
4146     * @param content The new content object
4147     *
4148     * Once the content object is set, a previously set one will be deleted.
4149     * If you want to keep that old content object, use the
4150     * elm_scroller_content_unset() function.
4151     */
4152    EAPI void         elm_scroller_content_set(Evas_Object *obj, Evas_Object *child) EINA_ARG_NONNULL(1);
4153    /**
4154     * @brief Get the content of the scroller widget
4155     *
4156     * @param obj The slider object
4157     * @return The content that is being used
4158     *
4159     * Return the content object which is set for this widget
4160     *
4161     * @see elm_scroller_content_set()
4162     */
4163    EAPI Evas_Object *elm_scroller_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4164    /**
4165     * @brief Unset the content of the scroller widget
4166     *
4167     * @param obj The slider object
4168     * @return The content that was being used
4169     *
4170     * Unparent and return the content object which was set for this widget
4171     *
4172     * @see elm_scroller_content_set()
4173     */
4174    EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4175    /**
4176     * @brief Set custom theme elements for the scroller
4177     *
4178     * @param obj The scroller object
4179     * @param widget The widget name to use (default is "scroller")
4180     * @param base The base name to use (default is "base")
4181     */
4182    EAPI void         elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base) EINA_ARG_NONNULL(1, 2, 3);
4183    /**
4184     * @brief Make the scroller minimum size limited to the minimum size of the content
4185     *
4186     * @param obj The scroller object
4187     * @param w Enable limiting minimum size horizontally
4188     * @param h Enable limiting minimum size vertically
4189     *
4190     * By default the scroller will be as small as its design allows,
4191     * irrespective of its content. This will make the scroller minimum size the
4192     * right size horizontally and/or vertically to perfectly fit its content in
4193     * that direction.
4194     */
4195    EAPI void         elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h) EINA_ARG_NONNULL(1);
4196    /**
4197     * @brief Show a specific virtual region within the scroller content object
4198     *
4199     * @param obj The scroller object
4200     * @param x X coordinate of the region
4201     * @param y Y coordinate of the region
4202     * @param w Width of the region
4203     * @param h Height of the region
4204     *
4205     * This will ensure all (or part if it does not fit) of the designated
4206     * region in the virtual content object (0, 0 starting at the top-left of the
4207     * virtual content object) is shown within the scroller.
4208     */
4209    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);
4210    /**
4211     * @brief Set the scrollbar visibility policy
4212     *
4213     * @param obj The scroller object
4214     * @param policy_h Horizontal scrollbar policy
4215     * @param policy_v Vertical scrollbar policy
4216     *
4217     * This sets the scrollbar visibility policy for the given scroller.
4218     * ELM_SCROLLER_POLICY_AUTO means the scrollber is made visible if it is
4219     * needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns it on all
4220     * the time, and ELM_SCROLLER_POLICY_OFF always keeps it off. This applies
4221     * respectively for the horizontal and vertical scrollbars.
4222     */
4223    EAPI void         elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
4224    /**
4225     * @brief Gets scrollbar visibility policy
4226     *
4227     * @param obj The scroller object
4228     * @param policy_h Horizontal scrollbar policy
4229     * @param policy_v Vertical scrollbar policy
4230     *
4231     * @see elm_scroller_policy_set()
4232     */
4233    EAPI void         elm_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) EINA_ARG_NONNULL(1);
4234    /**
4235     * @brief Get the currently visible content region
4236     *
4237     * @param obj The scroller object
4238     * @param x X coordinate of the region
4239     * @param y Y coordinate of the region
4240     * @param w Width of the region
4241     * @param h Height of the region
4242     *
4243     * This gets the current region in the content object that is visible through
4244     * the scroller. The region co-ordinates are returned in the @p x, @p y, @p
4245     * w, @p h values pointed to.
4246     *
4247     * @note All coordinates are relative to the content.
4248     *
4249     * @see elm_scroller_region_show()
4250     */
4251    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);
4252    /**
4253     * @brief Get the size of the content object
4254     *
4255     * @param obj The scroller object
4256     * @param w Width return
4257     * @param h Height return
4258     *
4259     * This gets the size of the content object of the scroller.
4260     */
4261    EAPI void         elm_scroller_child_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
4262    /**
4263     * @brief Set bouncing behavior
4264     *
4265     * @param obj The scroller object
4266     * @param h_bounce Will the scroller bounce horizontally or not
4267     * @param v_bounce Will the scroller bounce vertically or not
4268     *
4269     * When scrolling, the scroller may "bounce" when reaching an edge of the
4270     * content object. This is a visual way to indicate the end has been reached.
4271     * This is enabled by default for both axis. This will set if it is enabled
4272     * for that axis with the boolean parameters for each axis.
4273     */
4274    EAPI void         elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
4275    /**
4276     * @brief Get the bounce mode
4277     *
4278     * @param obj The Scroller object
4279     * @param h_bounce Allow bounce horizontally
4280     * @param v_bounce Allow bounce vertically
4281     *
4282     * @see elm_scroller_bounce_set()
4283     */
4284    EAPI void         elm_scroller_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
4285    /**
4286     * @brief Set scroll page size relative to viewport size.
4287     *
4288     * @param obj The scroller object
4289     * @param h_pagerel The horizontal page relative size
4290     * @param v_pagerel The vertical page relative size
4291     *
4292     * The scroller is capable of limiting scrolling by the user to "pages". That
4293     * is to jump by and only show a "whole page" at a time as if the continuous
4294     * area of the scroller content is split into page sized pieces. This sets
4295     * the size of a page relative to the viewport of the scroller. 1.0 is "1
4296     * viewport" is size (horizontally or vertically). 0.0 turns it off in that
4297     * axis. This is mutually exclusive with page size
4298     * (see elm_scroller_page_size_set()  for more information). Likewise 0.5
4299     * is "half a viewport". Sane usable valus are normally between 0.0 and 1.0
4300     * including 1.0. If you only want 1 axis to be page "limited", use 0.0 for
4301     * the other axis.
4302     */
4303    EAPI void         elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
4304    /**
4305     * @brief Set scroll page size.
4306     *
4307     * @param obj The scroller object
4308     * @param h_pagesize The horizontal page size
4309     * @param v_pagesize The vertical page size
4310     *
4311     * This sets the page size to an absolute fixed value, with 0 turning it off
4312     * for that axis.
4313     *
4314     * @see elm_scroller_page_relative_set()
4315     */
4316    EAPI void         elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
4317    /**
4318     * @brief Show a specific virtual region within the scroller content object.
4319     *
4320     * @param obj The scroller object
4321     * @param x X coordinate of the region
4322     * @param y Y coordinate of the region
4323     * @param w Width of the region
4324     * @param h Height of the region
4325     *
4326     * This will ensure all (or part if it does not fit) of the designated
4327     * region in the virtual content object (0, 0 starting at the top-left of the
4328     * virtual content object) is shown within the scroller. Unlike
4329     * elm_scroller_region_show(), this allow the scroller to "smoothly slide"
4330     * to this location (if configuration in general calls for transitions). It
4331     * may not jump immediately to the new location and make take a while and
4332     * show other content along the way.
4333     *
4334     * @see elm_scroller_region_show()
4335     */
4336    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);
4337    /**
4338     * @brief Set event propagation on a scroller
4339     *
4340     * @param obj The scroller object
4341     * @param propagation If propagation is enabled or not
4342     *
4343     * This enables or disabled event propagation from the scroller content to
4344     * the scroller and its parent. By default event propagation is disabled.
4345     */
4346    EAPI void         elm_scroller_propagate_events_set(Evas_Object *obj, Eina_Bool propagation);
4347    /**
4348     * @brief Get event propagation for a scroller
4349     *
4350     * @param obj The scroller object
4351     * @return The propagation state
4352     *
4353     * This gets the event propagation for a scroller.
4354     *
4355     * @see elm_scroller_propagate_events_set()
4356     */
4357    EAPI Eina_Bool    elm_scroller_propagate_events_get(const Evas_Object *obj);
4358    /**
4359     * @}
4360     */
4361
4362    /**
4363     * @defgroup Label Label
4364     *
4365     * @image html img/widget/label/preview-00.png
4366     * @image latex img/widget/label/preview-00.eps
4367     *
4368     * @brief Widget to display text, with simple html-like markup.
4369     *
4370     * The Label widget @b doesn't allow text to overflow its boundaries, if the
4371     * text doesn't fit the geometry of the label it will be ellipsized or be
4372     * cut. Elementary provides several themes for this widget:
4373     * @li default - No animation
4374     * @li marker - Centers the text in the label and make it bold by default
4375     * @li slide_long - The entire text appears from the right of the screen and
4376     * slides until it disappears in the left of the screen(reappering on the
4377     * right again).
4378     * @li slide_short - The text appears in the left of the label and slides to
4379     * the right to show the overflow. When all of the text has been shown the
4380     * position is reset.
4381     * @li slide_bounce - The text appears in the left of the label and slides to
4382     * the right to show the overflow. When all of the text has been shown the
4383     * animation reverses, moving the text to the left.
4384     *
4385     * Custom themes can of course invent new markup tags and style them any way
4386     * they like.
4387     *
4388     * See @ref tutorial_label for a demonstration of how to use a label widget.
4389     * @{
4390     */
4391    /**
4392     * @brief Add a new label to the parent
4393     *
4394     * @param parent The parent object
4395     * @return The new object or NULL if it cannot be created
4396     */
4397    EAPI Evas_Object *elm_label_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4398    /**
4399     * @brief Set the label on the label object
4400     *
4401     * @param obj The label object
4402     * @param label The label will be used on the label object
4403     * @deprecated See elm_object_text_set()
4404     */
4405    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 */
4406    /**
4407     * @brief Get the label used on the label object
4408     *
4409     * @param obj The label object
4410     * @return The string inside the label
4411     * @deprecated See elm_object_text_get()
4412     */
4413    EINA_DEPRECATED EAPI const char *elm_label_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); /* deprecated, use elm_object_text_get instead */
4414    /**
4415     * @brief Set the wrapping behavior of the label
4416     *
4417     * @param obj The label object
4418     * @param wrap To wrap text or not
4419     *
4420     * By default no wrapping is done. Possible values for @p wrap are:
4421     * @li ELM_WRAP_NONE - No wrapping
4422     * @li ELM_WRAP_CHAR - wrap between characters
4423     * @li ELM_WRAP_WORD - wrap between words
4424     * @li ELM_WRAP_MIXED - Word wrap, and if that fails, char wrap
4425     */
4426    EAPI void         elm_label_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
4427    /**
4428     * @brief Get the wrapping behavior of the label
4429     *
4430     * @param obj The label object
4431     * @return Wrap type
4432     *
4433     * @see elm_label_line_wrap_set()
4434     */
4435    EAPI Elm_Wrap_Type elm_label_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4436    /**
4437     * @brief Set wrap width of the label
4438     *
4439     * @param obj The label object
4440     * @param w The wrap width in pixels at a minimum where words need to wrap
4441     *
4442     * This function sets the maximum width size hint of the label.
4443     *
4444     * @warning This is only relevant if the label is inside a container.
4445     */
4446    EAPI void         elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w) EINA_ARG_NONNULL(1);
4447    /**
4448     * @brief Get wrap width of the label
4449     *
4450     * @param obj The label object
4451     * @return The wrap width in pixels at a minimum where words need to wrap
4452     *
4453     * @see elm_label_wrap_width_set()
4454     */
4455    EAPI Evas_Coord   elm_label_wrap_width_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4456    /**
4457     * @brief Set wrap height of the label
4458     *
4459     * @param obj The label object
4460     * @param h The wrap height in pixels at a minimum where words need to wrap
4461     *
4462     * This function sets the maximum height size hint of the label.
4463     *
4464     * @warning This is only relevant if the label is inside a container.
4465     */
4466    EAPI void         elm_label_wrap_height_set(Evas_Object *obj, Evas_Coord h) EINA_ARG_NONNULL(1);
4467    /**
4468     * @brief get wrap width of the label
4469     *
4470     * @param obj The label object
4471     * @return The wrap height in pixels at a minimum where words need to wrap
4472     */
4473    EAPI Evas_Coord   elm_label_wrap_height_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4474    /**
4475     * @brief Set the font size on the label object.
4476     *
4477     * @param obj The label object
4478     * @param size font size
4479     *
4480     * @warning NEVER use this. It is for hyper-special cases only. use styles
4481     * instead. e.g. "big", "medium", "small" - or better name them by use:
4482     * "title", "footnote", "quote" etc.
4483     */
4484    EAPI void         elm_label_fontsize_set(Evas_Object *obj, int fontsize) EINA_ARG_NONNULL(1);
4485    /**
4486     * @brief Set the text color on the label object
4487     *
4488     * @param obj The label object
4489     * @param r Red property background color of The label object
4490     * @param g Green property background color of The label object
4491     * @param b Blue property background color of The label object
4492     * @param a Alpha property background color of The label object
4493     *
4494     * @warning NEVER use this. It is for hyper-special cases only. use styles
4495     * instead. e.g. "big", "medium", "small" - or better name them by use:
4496     * "title", "footnote", "quote" etc.
4497     */
4498    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);
4499    /**
4500     * @brief Set the text align on the label object
4501     *
4502     * @param obj The label object
4503     * @param align align mode ("left", "center", "right")
4504     *
4505     * @warning NEVER use this. It is for hyper-special cases only. use styles
4506     * instead. e.g. "big", "medium", "small" - or better name them by use:
4507     * "title", "footnote", "quote" etc.
4508     */
4509    EAPI void         elm_label_text_align_set(Evas_Object *obj, const char *alignmode) EINA_ARG_NONNULL(1);
4510    /**
4511     * @brief Set background color of the label
4512     *
4513     * @param obj The label object
4514     * @param r Red property background color of The label object
4515     * @param g Green property background color of The label object
4516     * @param b Blue property background color of The label object
4517     * @param a Alpha property background alpha of The label object
4518     *
4519     * @warning NEVER use this. It is for hyper-special cases only. use styles
4520     * instead. e.g. "big", "medium", "small" - or better name them by use:
4521     * "title", "footnote", "quote" etc.
4522     */
4523    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);
4524    /**
4525     * @brief Set the ellipsis behavior of the label
4526     *
4527     * @param obj The label object
4528     * @param ellipsis To ellipsis text or not
4529     *
4530     * If set to true and the text doesn't fit in the label an ellipsis("...")
4531     * will be shown at the end of the widget.
4532     *
4533     * @warning This doesn't work with slide(elm_label_slide_set()) or if the
4534     * choosen wrap method was ELM_WRAP_WORD.
4535     */
4536    EAPI void         elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis) EINA_ARG_NONNULL(1);
4537    /**
4538     * @brief Set the text slide of the label
4539     *
4540     * @param obj The label object
4541     * @param slide To start slide or stop
4542     *
4543     * If set to true the text of the label will slide throught the length of
4544     * label.
4545     *
4546     * @warning This only work with the themes "slide_short", "slide_long" and
4547     * "slide_bounce".
4548     */
4549    EAPI void         elm_label_slide_set(Evas_Object *obj, Eina_Bool slide) EINA_ARG_NONNULL(1);
4550    /**
4551     * @brief Get the text slide mode of the label
4552     *
4553     * @param obj The label object
4554     * @return slide slide mode value
4555     *
4556     * @see elm_label_slide_set()
4557     */
4558    EAPI Eina_Bool    elm_label_slide_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
4559    /**
4560     * @brief Set the slide duration(speed) of the label
4561     *
4562     * @param obj The label object
4563     * @return The duration in seconds in moving text from slide begin position
4564     * to slide end position
4565     */
4566    EAPI void         elm_label_slide_duration_set(Evas_Object *obj, double duration) EINA_ARG_NONNULL(1);
4567    /**
4568     * @brief Get the slide duration(speed) of the label
4569     *
4570     * @param obj The label object
4571     * @return The duration time in moving text from slide begin position to slide end position
4572     *
4573     * @see elm_label_slide_duration_set()
4574     */
4575    EAPI double       elm_label_slide_duration_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
4576    /**
4577     * @}
4578     */
4579
4580    /**
4581     * @defgroup Toggle
4582     *
4583     * @image html img/widget/toggle/preview-00.png
4584     * @image latex img/widget/toggle/preview-00.eps
4585     *
4586     * @brief A toggle is a slider which can be used to toggle between
4587     * two values.  It has two states: on and off.
4588     *
4589     * Signals that you can add callbacks for are:
4590     * @li "changed" - Whenever the toggle value has been changed.  Is not called
4591     *                 until the toggle is released by the cursor (assuming it
4592     *                 has been triggered by the cursor in the first place).
4593     *
4594     * @ref tutorial_toggle show how to use a toggle.
4595     * @{
4596     */
4597    /**
4598     * @brief Add a toggle to @p parent.
4599     *
4600     * @param parent The parent object
4601     *
4602     * @return The toggle object
4603     */
4604    EAPI Evas_Object *elm_toggle_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4605    /**
4606     * @brief Sets the label to be displayed with the toggle.
4607     *
4608     * @param obj The toggle object
4609     * @param label The label to be displayed
4610     *
4611     * @deprecated use elm_object_text_set() instead.
4612     */
4613    EINA_DEPRECATED EAPI void         elm_toggle_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
4614    /**
4615     * @brief Gets the label of the toggle
4616     *
4617     * @param obj  toggle object
4618     * @return The label of the toggle
4619     *
4620     * @deprecated use elm_object_text_get() instead.
4621     */
4622    EINA_DEPRECATED EAPI const char  *elm_toggle_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4623    /**
4624     * @brief Set the icon used for the toggle
4625     *
4626     * @param obj The toggle object
4627     * @param icon The icon object for the button
4628     *
4629     * Once the icon object is set, a previously set one will be deleted
4630     * If you want to keep that old content object, use the
4631     * elm_toggle_icon_unset() function.
4632     */
4633    EAPI void         elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
4634    /**
4635     * @brief Get the icon used for the toggle
4636     *
4637     * @param obj The toggle object
4638     * @return The icon object that is being used
4639     *
4640     * Return the icon object which is set for this widget.
4641     *
4642     * @see elm_toggle_icon_set()
4643     */
4644    EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4645    /**
4646     * @brief Unset the icon used for the toggle
4647     *
4648     * @param obj The toggle object
4649     * @return The icon object that was being used
4650     *
4651     * Unparent and return the icon object which was set for this widget.
4652     *
4653     * @see elm_toggle_icon_set()
4654     */
4655    EAPI Evas_Object *elm_toggle_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4656    /**
4657     * @brief Sets the labels to be associated with the on and off states of the toggle.
4658     *
4659     * @param obj The toggle object
4660     * @param onlabel The label displayed when the toggle is in the "on" state
4661     * @param offlabel The label displayed when the toggle is in the "off" state
4662     */
4663    EAPI void         elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel) EINA_ARG_NONNULL(1);
4664    /**
4665     * @brief Gets the labels associated with the on and off states of the toggle.
4666     *
4667     * @param obj The toggle object
4668     * @param onlabel A char** to place the onlabel of @p obj into
4669     * @param offlabel A char** to place the offlabel of @p obj into
4670     */
4671    EAPI void         elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel) EINA_ARG_NONNULL(1);
4672    /**
4673     * @brief Sets the state of the toggle to @p state.
4674     *
4675     * @param obj The toggle object
4676     * @param state The state of @p obj
4677     */
4678    EAPI void         elm_toggle_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
4679    /**
4680     * @brief Gets the state of the toggle to @p state.
4681     *
4682     * @param obj The toggle object
4683     * @return The state of @p obj
4684     */
4685    EAPI Eina_Bool    elm_toggle_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4686    /**
4687     * @brief Sets the state pointer of the toggle to @p statep.
4688     *
4689     * @param obj The toggle object
4690     * @param statep The state pointer of @p obj
4691     */
4692    EAPI void         elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
4693    /**
4694     * @}
4695     */
4696
4697    /**
4698     * @defgroup Frame Frame
4699     *
4700     * @image html img/widget/frame/preview-00.png
4701     * @image latex img/widget/frame/preview-00.eps
4702     *
4703     * @brief Frame is a widget that holds some content and has a title.
4704     *
4705     * The default look is a frame with a title, but Frame supports multple
4706     * styles:
4707     * @li default
4708     * @li pad_small
4709     * @li pad_medium
4710     * @li pad_large
4711     * @li pad_huge
4712     * @li outdent_top
4713     * @li outdent_bottom
4714     *
4715     * Of all this styles only default shows the title. Frame emits no signals.
4716     *
4717     * For a detailed example see the @ref tutorial_frame.
4718     *
4719     * @{
4720     */
4721    /**
4722     * @brief Add a new frame to the parent
4723     *
4724     * @param parent The parent object
4725     * @return The new object or NULL if it cannot be created
4726     */
4727    EAPI Evas_Object *elm_frame_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4728    /**
4729     * @brief Set the frame label
4730     *
4731     * @param obj The frame object
4732     * @param label The label of this frame object
4733     *
4734     * @deprecated use elm_object_text_set() instead.
4735     */
4736    EINA_DEPRECATED EAPI void         elm_frame_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
4737    /**
4738     * @brief Get the frame label
4739     *
4740     * @param obj The frame object
4741     *
4742     * @return The label of this frame objet or NULL if unable to get frame
4743     *
4744     * @deprecated use elm_object_text_get() instead.
4745     */
4746    EINA_DEPRECATED EAPI const char  *elm_frame_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4747    /**
4748     * @brief Set the content of the frame widget
4749     *
4750     * Once the content object is set, a previously set one will be deleted.
4751     * If you want to keep that old content object, use the
4752     * elm_frame_content_unset() function.
4753     *
4754     * @param obj The frame object
4755     * @param content The content will be filled in this frame object
4756     */
4757    EAPI void         elm_frame_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
4758    /**
4759     * @brief Get the content of the frame widget
4760     *
4761     * Return the content object which is set for this widget
4762     *
4763     * @param obj The frame object
4764     * @return The content that is being used
4765     */
4766    EAPI Evas_Object *elm_frame_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4767    /**
4768     * @brief Unset the content of the frame widget
4769     *
4770     * Unparent and return the content object which was set for this widget
4771     *
4772     * @param obj The frame object
4773     * @return The content that was being used
4774     */
4775    EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4776    /**
4777     * @}
4778     */
4779
4780    /* table */
4781    EAPI Evas_Object *elm_table_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4782    EAPI void         elm_table_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
4783    EAPI Eina_Bool    elm_table_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4784    EINA_DEPRECATED EAPI void elm_table_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
4785    EINA_DEPRECATED EAPI Eina_Bool elm_table_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4786    EAPI void         elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
4787    EAPI void         elm_table_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
4788    EAPI void         elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
4789    EAPI void         elm_table_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
4790    EAPI void         elm_table_clear(Evas_Object *obj, Eina_Bool clear) EINA_ARG_NONNULL(1);
4791    EAPI void         elm_table_pack_set(Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
4792    EAPI void         elm_table_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
4793
4794    /**
4795     * @defgroup Gengrid Gengrid (Generic grid)
4796     *
4797     * This widget aims to position objects in a grid layout while
4798     * actually creating and rendering only the visible ones, using the
4799     * same idea as the @ref Genlist "genlist": the user defines a @b
4800     * class for each item, specifying functions that will be called at
4801     * object creation, deletion, etc. When those items are selected by
4802     * the user, a callback function is issued. Users may interact with
4803     * a gengrid via the mouse (by clicking on items to select them and
4804     * clicking on the grid's viewport and swiping to pan the whole
4805     * view) or via the keyboard, navigating through item with the
4806     * arrow keys.
4807     *
4808     * @section Gengrid_Layouts Gengrid layouts
4809     *
4810     * Gengrids may layout its items in one of two possible layouts:
4811     * - horizontal or
4812     * - vertical.
4813     *
4814     * When in "horizontal mode", items will be placed in @b columns,
4815     * from top to bottom and, when the space for a column is filled,
4816     * another one is started on the right, thus expanding the grid
4817     * horizontally, making for horizontal scrolling. When in "vertical
4818     * mode" , though, items will be placed in @b rows, from left to
4819     * right and, when the space for a row is filled, another one is
4820     * started below, thus expanding the grid vertically (and making
4821     * for vertical scrolling).
4822     *
4823     * @section Gengrid_Items Gengrid items
4824     *
4825     * An item in a gengrid can have 0 or more text labels (they can be
4826     * regular text or textblock Evas objects - that's up to the style
4827     * to determine), 0 or more icons (which are simply objects
4828     * swallowed into the gengrid item's theming Edje object) and 0 or
4829     * more <b>boolean states</b>, which have the behavior left to the
4830     * user to define. The Edje part names for each of these properties
4831     * will be looked up, in the theme file for the gengrid, under the
4832     * Edje (string) data items named @c "labels", @c "icons" and @c
4833     * "states", respectively. For each of those properties, if more
4834     * than one part is provided, they must have names listed separated
4835     * by spaces in the data fields. For the default gengrid item
4836     * theme, we have @b one label part (@c "elm.text"), @b two icon
4837     * parts (@c "elm.swalllow.icon" and @c "elm.swallow.end") and @b
4838     * no state parts.
4839     *
4840     * A gengrid item may be at one of several styles. Elementary
4841     * provides one by default - "default", but this can be extended by
4842     * system or application custom themes/overlays/extensions (see
4843     * @ref Theme "themes" for more details).
4844     *
4845     * @section Gengrid_Item_Class Gengrid item classes
4846     *
4847     * In order to have the ability to add and delete items on the fly,
4848     * gengrid implements a class (callback) system where the
4849     * application provides a structure with information about that
4850     * type of item (gengrid may contain multiple different items with
4851     * different classes, states and styles). Gengrid will call the
4852     * functions in this struct (methods) when an item is "realized"
4853     * (i.e., created dynamically, while the user is scrolling the
4854     * grid). All objects will simply be deleted when no longer needed
4855     * with evas_object_del(). The #Elm_GenGrid_Item_Class structure
4856     * contains the following members:
4857     * - @c item_style - This is a constant string and simply defines
4858     * the name of the item style. It @b must be specified and the
4859     * default should be @c "default".
4860     * - @c func.label_get - This function is called when an item
4861     * object is actually created. The @c data parameter will point to
4862     * the same data passed to elm_gengrid_item_append() and related
4863     * item creation functions. The @c obj parameter is the gengrid
4864     * object itself, while the @c part one is the name string of one
4865     * of the existing text parts in the Edje group implementing the
4866     * item's theme. This function @b must return a strdup'()ed string,
4867     * as the caller will free() it when done. See
4868     * #GridItemLabelGetFunc.
4869     * - @c func.icon_get - This function is called when an item object
4870     * is actually created. The @c data parameter will point to the
4871     * same data passed to elm_gengrid_item_append() and related item
4872     * creation functions. The @c obj parameter is the gengrid object
4873     * itself, while the @c part one is the name string of one of the
4874     * existing (icon) swallow parts in the Edje group implementing the
4875     * item's theme. It must return @c NULL, when no icon is desired,
4876     * or a valid object handle, otherwise. The object will be deleted
4877     * by the gengrid on its deletion or when the item is "unrealized".
4878     * See #GridItemIconGetFunc.
4879     * - @c func.state_get - This function is called when an item
4880     * object is actually created. The @c data parameter will point to
4881     * the same data passed to elm_gengrid_item_append() and related
4882     * item creation functions. The @c obj parameter is the gengrid
4883     * object itself, while the @c part one is the name string of one
4884     * of the state parts in the Edje group implementing the item's
4885     * theme. Return @c EINA_FALSE for false/off or @c EINA_TRUE for
4886     * true/on. Gengrids will emit a signal to its theming Edje object
4887     * with @c "elm,state,XXX,active" and @c "elm" as "emission" and
4888     * "source" arguments, respectively, when the state is true (the
4889     * default is false), where @c XXX is the name of the (state) part.
4890     * See #GridItemStateGetFunc.
4891     * - @c func.del - This is called when elm_gengrid_item_del() is
4892     * called on an item or elm_gengrid_clear() is called on the
4893     * gengrid. This is intended for use when gengrid items are
4894     * deleted, so any data attached to the item (e.g. its data
4895     * parameter on creation) can be deleted. See #GridItemDelFunc.
4896     *
4897     * @section Gengrid_Usage_Hints Usage hints
4898     *
4899     * If the user wants to have multiple items selected at the same
4900     * time, elm_gengrid_multi_select_set() will permit it. If the
4901     * gengrid is single-selection only (the default), then
4902     * elm_gengrid_select_item_get() will return the selected item or
4903     * @c NULL, if none is selected. If the gengrid is under
4904     * multi-selection, then elm_gengrid_selected_items_get() will
4905     * return a list (that is only valid as long as no items are
4906     * modified (added, deleted, selected or unselected) of child items
4907     * on a gengrid.
4908     *
4909     * If an item changes (internal (boolean) state, label or icon
4910     * changes), then use elm_gengrid_item_update() to have gengrid
4911     * update the item with the new state. A gengrid will re-"realize"
4912     * the item, thus calling the functions in the
4913     * #Elm_Gengrid_Item_Class set for that item.
4914     *
4915     * To programmatically (un)select an item, use
4916     * elm_gengrid_item_selected_set(). To get its selected state use
4917     * elm_gengrid_item_selected_get(). To make an item disabled
4918     * (unable to be selected and appear differently) use
4919     * elm_gengrid_item_disabled_set() to set this and
4920     * elm_gengrid_item_disabled_get() to get the disabled state.
4921     *
4922     * Grid cells will only have their selection smart callbacks called
4923     * when firstly getting selected. Any further clicks will do
4924     * nothing, unless you enable the "always select mode", with
4925     * elm_gengrid_always_select_mode_set(), thus making every click to
4926     * issue selection callbacks. elm_gengrid_no_select_mode_set() will
4927     * turn off the ability to select items entirely in the widget and
4928     * they will neither appear selected nor call the selection smart
4929     * callbacks.
4930     *
4931     * Remember that you can create new styles and add your own theme
4932     * augmentation per application with elm_theme_extension_add(). If
4933     * you absolutely must have a specific style that overrides any
4934     * theme the user or system sets up you can use
4935     * elm_theme_overlay_add() to add such a file.
4936     *
4937     * @section Gengrid_Smart_Events Gengrid smart events
4938     *
4939     * Smart events that you can add callbacks for are:
4940     * - @c "activated" - The user has double-clicked or pressed
4941     *   (enter|return|spacebar) on an item. The @c event_info parameter
4942     *   is the gengrid item that was activated.
4943     * - @c "clicked,double" - The user has double-clicked an item.
4944     *   The @c event_info parameter is the gengrid item that was double-clicked.
4945     * - @c "selected" - The user has made an item selected. The
4946     *   @c event_info parameter is the gengrid item that was selected.
4947     * - @c "unselected" - The user has made an item unselected. The
4948     *   @c event_info parameter is the gengrid item that was unselected.
4949     * - @c "realized" - This is called when the item in the gengrid
4950     *   has its implementing Evas object instantiated, de facto. @c
4951     *   event_info is the gengrid item that was created. The object
4952     *   may be deleted at any time, so it is highly advised to the
4953     *   caller @b not to use the object pointer returned from
4954     *   elm_gengrid_item_object_get(), because it may point to freed
4955     *   objects.
4956     * - @c "unrealized" - This is called when the implementing Evas
4957     *   object for this item is deleted. @c event_info is the gengrid
4958     *   item that was deleted.
4959     * - @c "changed" - Called when an item is added, removed, resized
4960     *   or moved and when the gengrid is resized or gets "horizontal"
4961     *   property changes.
4962     * - @c "drag,start,up" - Called when the item in the gengrid has
4963     *   been dragged (not scrolled) up.
4964     * - @c "drag,start,down" - Called when the item in the gengrid has
4965     *   been dragged (not scrolled) down.
4966     * - @c "drag,start,left" - Called when the item in the gengrid has
4967     *   been dragged (not scrolled) left.
4968     * - @c "drag,start,right" - Called when the item in the gengrid has
4969     *   been dragged (not scrolled) right.
4970     * - @c "drag,stop" - Called when the item in the gengrid has
4971     *   stopped being dragged.
4972     * - @c "drag" - Called when the item in the gengrid is being
4973     *   dragged.
4974     * - @c "scroll" - called when the content has been scrolled
4975     *   (moved).
4976     * - @c "scroll,drag,start" - called when dragging the content has
4977     *   started.
4978     * - @c "scroll,drag,stop" - called when dragging the content has
4979     *   stopped.
4980     *
4981     * List of gendrid examples:
4982     * @li @ref gengrid_example
4983     */
4984
4985    /**
4986     * @addtogroup Gengrid
4987     * @{
4988     */
4989
4990    typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class; /**< Gengrid item class definition structs */
4991    typedef struct _Elm_Gengrid_Item_Class_Func Elm_Gengrid_Item_Class_Func; /**< Class functions for gengrid item classes. */
4992    typedef struct _Elm_Gengrid_Item Elm_Gengrid_Item; /**< Gengrid item handles */
4993    typedef char        *(*GridItemLabelGetFunc) (void *data, Evas_Object *obj, const char *part); /**< Label fetching class function for gengrid item classes. */
4994    typedef Evas_Object *(*GridItemIconGetFunc)  (void *data, Evas_Object *obj, const char *part); /**< Icon fetching class function for gengrid item classes. */
4995    typedef Eina_Bool    (*GridItemStateGetFunc) (void *data, Evas_Object *obj, const char *part); /**< State fetching class function for gengrid item classes. */
4996    typedef void         (*GridItemDelFunc)      (void *data, Evas_Object *obj); /**< Deletion class function for gengrid item classes. */
4997
4998    /**
4999     * @struct _Elm_Gengrid_Item_Class
5000     *
5001     * Gengrid item class definition. See @ref Gengrid_Item_Class for
5002     * field details.
5003     */
5004    struct _Elm_Gengrid_Item_Class
5005      {
5006         const char             *item_style;
5007         struct _Elm_Gengrid_Item_Class_Func
5008           {
5009              GridItemLabelGetFunc  label_get;
5010              GridItemIconGetFunc   icon_get;
5011              GridItemStateGetFunc  state_get;
5012              GridItemDelFunc       del;
5013           } func;
5014      }; /**< #Elm_Gengrid_Item_Class member definitions */
5015
5016    /**
5017     * Add a new gengrid widget to the given parent Elementary
5018     * (container) object
5019     *
5020     * @param parent The parent object
5021     * @return a new gengrid widget handle or @c NULL, on errors
5022     *
5023     * This function inserts a new gengrid widget on the canvas.
5024     *
5025     * @see elm_gengrid_item_size_set()
5026     * @see elm_gengrid_horizontal_set()
5027     * @see elm_gengrid_item_append()
5028     * @see elm_gengrid_item_del()
5029     * @see elm_gengrid_clear()
5030     *
5031     * @ingroup Gengrid
5032     */
5033    EAPI Evas_Object       *elm_gengrid_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5034
5035    /**
5036     * Set the size for the items of a given gengrid widget
5037     *
5038     * @param obj The gengrid object.
5039     * @param w The items' width.
5040     * @param h The items' height;
5041     *
5042     * A gengrid, after creation, has still no information on the size
5043     * to give to each of its cells. So, you most probably will end up
5044     * with squares one @ref Fingers "finger" wide, the default
5045     * size. Use this function to force a custom size for you items,
5046     * making them as big as you wish.
5047     *
5048     * @see elm_gengrid_item_size_get()
5049     *
5050     * @ingroup Gengrid
5051     */
5052    EAPI void               elm_gengrid_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
5053
5054    /**
5055     * Get the size set for the items of a given gengrid widget
5056     *
5057     * @param obj The gengrid object.
5058     * @param w Pointer to a variable where to store the items' width.
5059     * @param h Pointer to a variable where to store the items' height.
5060     *
5061     * @note Use @c NULL pointers on the size values you're not
5062     * interested in: they'll be ignored by the function.
5063     *
5064     * @see elm_gengrid_item_size_get() for more details
5065     *
5066     * @ingroup Gengrid
5067     */
5068    EAPI void               elm_gengrid_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
5069
5070    /**
5071     * Set the items grid's alignment within a given gengrid widget
5072     *
5073     * @param obj The gengrid object.
5074     * @param align_x Alignment in the horizontal axis (0 <= align_x <= 1).
5075     * @param align_y Alignment in the vertical axis (0 <= align_y <= 1).
5076     *
5077     * This sets the alignment of the whole grid of items of a gengrid
5078     * within its given viewport. By default, those values are both
5079     * 0.5, meaning that the gengrid will have its items grid placed
5080     * exactly in the middle of its viewport.
5081     *
5082     * @note If given alignment values are out of the cited ranges,
5083     * they'll be changed to the nearest boundary values on the valid
5084     * ranges.
5085     *
5086     * @see elm_gengrid_align_get()
5087     *
5088     * @ingroup Gengrid
5089     */
5090    EAPI void               elm_gengrid_align_set(Evas_Object *obj, double align_x, double align_y) EINA_ARG_NONNULL(1);
5091
5092    /**
5093     * Get the items grid's alignment values within a given gengrid
5094     * widget
5095     *
5096     * @param obj The gengrid object.
5097     * @param align_x Pointer to a variable where to store the
5098     * horizontal alignment.
5099     * @param align_y Pointer to a variable where to store the vertical
5100     * alignment.
5101     *
5102     * @note Use @c NULL pointers on the alignment values you're not
5103     * interested in: they'll be ignored by the function.
5104     *
5105     * @see elm_gengrid_align_set() for more details
5106     *
5107     * @ingroup Gengrid
5108     */
5109    EAPI void               elm_gengrid_align_get(const Evas_Object *obj, double *align_x, double *align_y) EINA_ARG_NONNULL(1);
5110
5111    /**
5112     * Set whether a given gengrid widget is or not able have items
5113     * @b reordered
5114     *
5115     * @param obj The gengrid object
5116     * @param reorder_mode Use @c EINA_TRUE to turn reoderding on,
5117     * @c EINA_FALSE to turn it off
5118     *
5119     * If a gengrid is set to allow reordering, a click held for more
5120     * than 0.5 over a given item will highlight it specially,
5121     * signalling the gengrid has entered the reordering state. From
5122     * that time on, the user will be able to, while still holding the
5123     * mouse button down, move the item freely in the gengrid's
5124     * viewport, replacing to said item to the locations it goes to.
5125     * The replacements will be animated and, whenever the user
5126     * releases the mouse button, the item being replaced gets a new
5127     * definitive place in the grid.
5128     *
5129     * @see elm_gengrid_reorder_mode_get()
5130     *
5131     * @ingroup Gengrid
5132     */
5133    EAPI void               elm_gengrid_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
5134
5135    /**
5136     * Get whether a given gengrid widget is or not able have items
5137     * @b reordered
5138     *
5139     * @param obj The gengrid object
5140     * @return @c EINA_TRUE, if reoderding is on, @c EINA_FALSE if it's
5141     * off
5142     *
5143     * @see elm_gengrid_reorder_mode_set() for more details
5144     *
5145     * @ingroup Gengrid
5146     */
5147    EAPI Eina_Bool          elm_gengrid_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5148
5149    /**
5150     * Append a new item in a given gengrid widget.
5151     *
5152     * @param obj The gengrid object.
5153     * @param gic The item class for the item.
5154     * @param data The item data.
5155     * @param func Convenience function called when the item is
5156     * selected.
5157     * @param func_data Data to be passed to @p func.
5158     * @return A handle to the item added or @c NULL, on errors.
5159     *
5160     * This adds an item to the beginning of the gengrid.
5161     *
5162     * @see elm_gengrid_item_prepend()
5163     * @see elm_gengrid_item_insert_before()
5164     * @see elm_gengrid_item_insert_after()
5165     * @see elm_gengrid_item_del()
5166     *
5167     * @ingroup Gengrid
5168     */
5169    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);
5170
5171    /**
5172     * Prepend a new item in a given gengrid widget.
5173     *
5174     * @param obj The gengrid object.
5175     * @param gic The item class for the item.
5176     * @param data The item data.
5177     * @param func Convenience function called when the item is
5178     * selected.
5179     * @param func_data Data to be passed to @p func.
5180     * @return A handle to the item added or @c NULL, on errors.
5181     *
5182     * This adds an item to the end of the gengrid.
5183     *
5184     * @see elm_gengrid_item_append()
5185     * @see elm_gengrid_item_insert_before()
5186     * @see elm_gengrid_item_insert_after()
5187     * @see elm_gengrid_item_del()
5188     *
5189     * @ingroup Gengrid
5190     */
5191    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);
5192
5193    /**
5194     * Insert an item before another in a gengrid widget
5195     *
5196     * @param obj The gengrid object.
5197     * @param gic The item class for the item.
5198     * @param data The item data.
5199     * @param relative The item to place this new one before.
5200     * @param func Convenience function called when the item is
5201     * selected.
5202     * @param func_data Data to be passed to @p func.
5203     * @return A handle to the item added or @c NULL, on errors.
5204     *
5205     * This inserts an item before another in the gengrid.
5206     *
5207     * @see elm_gengrid_item_append()
5208     * @see elm_gengrid_item_prepend()
5209     * @see elm_gengrid_item_insert_after()
5210     * @see elm_gengrid_item_del()
5211     *
5212     * @ingroup Gengrid
5213     */
5214    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);
5215
5216    /**
5217     * Insert an item after another in a gengrid widget
5218     *
5219     * @param obj The gengrid object.
5220     * @param gic The item class for the item.
5221     * @param data The item data.
5222     * @param relative The item to place this new one after.
5223     * @param func Convenience function called when the item is
5224     * selected.
5225     * @param func_data Data to be passed to @p func.
5226     * @return A handle to the item added or @c NULL, on errors.
5227     *
5228     * This inserts an item after another in the gengrid.
5229     *
5230     * @see elm_gengrid_item_append()
5231     * @see elm_gengrid_item_prepend()
5232     * @see elm_gengrid_item_insert_after()
5233     * @see elm_gengrid_item_del()
5234     *
5235     * @ingroup Gengrid
5236     */
5237    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);
5238
5239    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);
5240
5241    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);
5242
5243    /**
5244     * Set whether items on a given gengrid widget are to get their
5245     * selection callbacks issued for @b every subsequent selection
5246     * click on them or just for the first click.
5247     *
5248     * @param obj The gengrid object
5249     * @param always_select @c EINA_TRUE to make items "always
5250     * selected", @c EINA_FALSE, otherwise
5251     *
5252     * By default, grid items will only call their selection callback
5253     * function when firstly getting selected, any subsequent further
5254     * clicks will do nothing. With this call, you make those
5255     * subsequent clicks also to issue the selection callbacks.
5256     *
5257     * @note <b>Double clicks</b> will @b always be reported on items.
5258     *
5259     * @see elm_gengrid_always_select_mode_get()
5260     *
5261     * @ingroup Gengrid
5262     */
5263    EAPI void               elm_gengrid_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
5264
5265    /**
5266     * Get whether items on a given gengrid widget have their selection
5267     * callbacks issued for @b every subsequent selection click on them
5268     * or just for the first click.
5269     *
5270     * @param obj The gengrid object.
5271     * @return @c EINA_TRUE if the gengrid items are "always selected",
5272     * @c EINA_FALSE, otherwise
5273     *
5274     * @see elm_gengrid_always_select_mode_set() for more details
5275     *
5276     * @ingroup Gengrid
5277     */
5278    EAPI Eina_Bool          elm_gengrid_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5279
5280    /**
5281     * Set whether items on a given gengrid widget can be selected or not.
5282     *
5283     * @param obj The gengrid object
5284     * @param no_select @c EINA_TRUE to make items selectable,
5285     * @c EINA_FALSE otherwise
5286     *
5287     * This will make items in @obj selectable or not. In the latter
5288     * case, any user interacion on the gendrid items will neither make
5289     * them appear selected nor them call their selection callback
5290     * functions.
5291     *
5292     * @see elm_gengrid_no_select_mode_get()
5293     *
5294     * @ingroup Gengrid
5295     */
5296    EAPI void               elm_gengrid_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
5297
5298    /**
5299     * Get whether items on a given gengrid widget can be selected or
5300     * not.
5301     *
5302     * @param obj The gengrid object
5303     * @return @c EINA_TRUE, if items are selectable, @c EINA_FALSE
5304     * otherwise
5305     *
5306     * @see elm_gengrid_no_select_mode_set() for more details
5307     *
5308     * @ingroup Gengrid
5309     */
5310    EAPI Eina_Bool          elm_gengrid_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5311
5312    /**
5313     * Enable or disable multi-selection in a given gengrid widget
5314     *
5315     * @param obj The gengrid object.
5316     * @param multi @c EINA_TRUE, to enable multi-selection,
5317     * @c EINA_FALSE to disable it.
5318     *
5319     * Multi-selection is the ability for one to have @b more than one
5320     * item selected, on a given gengrid, simultaneously. When it is
5321     * enabled, a sequence of clicks on different items will make them
5322     * all selected, progressively. A click on an already selected item
5323     * will unselect it. If interecting via the keyboard,
5324     * multi-selection is enabled while holding the "Shift" key.
5325     *
5326     * @note By default, multi-selection is @b disabled on gengrids
5327     *
5328     * @see elm_gengrid_multi_select_get()
5329     *
5330     * @ingroup Gengrid
5331     */
5332    EAPI void               elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
5333
5334    /**
5335     * Get whether multi-selection is enabled or disabled for a given
5336     * gengrid widget
5337     *
5338     * @param obj The gengrid object.
5339     * @return @c EINA_TRUE, if multi-selection is enabled, @c
5340     * EINA_FALSE otherwise
5341     *
5342     * @see elm_gengrid_multi_select_set() for more details
5343     *
5344     * @ingroup Gengrid
5345     */
5346    EAPI Eina_Bool          elm_gengrid_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5347
5348    /**
5349     * Enable or disable bouncing effect for a given gengrid widget
5350     *
5351     * @param obj The gengrid object
5352     * @param h_bounce @c EINA_TRUE, to enable @b horizontal bouncing,
5353     * @c EINA_FALSE to disable it
5354     * @param v_bounce @c EINA_TRUE, to enable @b vertical bouncing,
5355     * @c EINA_FALSE to disable it
5356     *
5357     * The bouncing effect occurs whenever one reaches the gengrid's
5358     * edge's while panning it -- it will scroll past its limits a
5359     * little bit and return to the edge again, in a animated for,
5360     * automatically.
5361     *
5362     * @note By default, gengrids have bouncing enabled on both axis
5363     *
5364     * @see elm_gengrid_bounce_get()
5365     *
5366     * @ingroup Gengrid
5367     */
5368    EAPI void               elm_gengrid_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
5369
5370    /**
5371     * Get whether bouncing effects are enabled or disabled, for a
5372     * given gengrid widget, on each axis
5373     *
5374     * @param obj The gengrid object
5375     * @param h_bounce Pointer to a variable where to store the
5376     * horizontal bouncing flag.
5377     * @param v_bounce Pointer to a variable where to store the
5378     * vertical bouncing flag.
5379     *
5380     * @see elm_gengrid_bounce_set() for more details
5381     *
5382     * @ingroup Gengrid
5383     */
5384    EAPI void               elm_gengrid_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
5385
5386    /**
5387     * Set a given gengrid widget's scrolling page size, relative to
5388     * its viewport size.
5389     *
5390     * @param obj The gengrid object
5391     * @param h_pagerel The horizontal page (relative) size
5392     * @param v_pagerel The vertical page (relative) size
5393     *
5394     * The gengrid's scroller is capable of binding scrolling by the
5395     * user to "pages". It means that, while scrolling and, specially
5396     * after releasing the mouse button, the grid will @b snap to the
5397     * nearest displaying page's area. When page sizes are set, the
5398     * grid's continuous content area is split into (equal) page sized
5399     * pieces.
5400     *
5401     * This function sets the size of a page <b>relatively to the
5402     * viewport dimensions</b> of the gengrid, for each axis. A value
5403     * @c 1.0 means "the exact viewport's size", in that axis, while @c
5404     * 0.0 turns paging off in that axis. Likewise, @c 0.5 means "half
5405     * a viewport". Sane usable values are, than, between @c 0.0 and @c
5406     * 1.0. Values beyond those will make it behave behave
5407     * inconsistently. If you only want one axis to snap to pages, use
5408     * the value @c 0.0 for the other one.
5409     *
5410     * There is a function setting page size values in @b absolute
5411     * values, too -- elm_gengrid_page_size_set(). Naturally, its use
5412     * is mutually exclusive to this one.
5413     *
5414     * @see elm_gengrid_page_relative_get()
5415     *
5416     * @ingroup Gengrid
5417     */
5418    EAPI void               elm_gengrid_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
5419
5420    /**
5421     * Get a given gengrid widget's scrolling page size, relative to
5422     * its viewport size.
5423     *
5424     * @param obj The gengrid object
5425     * @param h_pagerel Pointer to a variable where to store the
5426     * horizontal page (relative) size
5427     * @param v_pagerel Pointer to a variable where to store the
5428     * vertical page (relative) size
5429     *
5430     * @see elm_gengrid_page_relative_set() for more details
5431     *
5432     * @ingroup Gengrid
5433     */
5434    EAPI void               elm_gengrid_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel) EINA_ARG_NONNULL(1);
5435
5436    /**
5437     * Set a given gengrid widget's scrolling page size
5438     *
5439     * @param obj The gengrid object
5440     * @param h_pagerel The horizontal page size, in pixels
5441     * @param v_pagerel The vertical page size, in pixels
5442     *
5443     * The gengrid's scroller is capable of binding scrolling by the
5444     * user to "pages". It means that, while scrolling and, specially
5445     * after releasing the mouse button, the grid will @b snap to the
5446     * nearest displaying page's area. When page sizes are set, the
5447     * grid's continuous content area is split into (equal) page sized
5448     * pieces.
5449     *
5450     * This function sets the size of a page of the gengrid, in pixels,
5451     * for each axis. Sane usable values are, between @c 0 and the
5452     * dimensions of @p obj, for each axis. Values beyond those will
5453     * make it behave behave inconsistently. If you only want one axis
5454     * to snap to pages, use the value @c 0 for the other one.
5455     *
5456     * There is a function setting page size values in @b relative
5457     * values, too -- elm_gengrid_page_relative_set(). Naturally, its
5458     * use is mutually exclusive to this one.
5459     *
5460     * @ingroup Gengrid
5461     */
5462    EAPI void               elm_gengrid_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
5463
5464    /**
5465     * Set for what direction a given gengrid widget will expand while
5466     * placing its items.
5467     *
5468     * @param obj The gengrid object.
5469     * @param setting @c EINA_TRUE to make the gengrid expand
5470     * horizontally, @c EINA_FALSE to expand vertically.
5471     *
5472     * When in "horizontal mode" (@c EINA_TRUE), items will be placed
5473     * in @b columns, from top to bottom and, when the space for a
5474     * column is filled, another one is started on the right, thus
5475     * expanding the grid horizontally. When in "vertical mode"
5476     * (@c EINA_FALSE), though, items will be placed in @b rows, from left
5477     * to right and, when the space for a row is filled, another one is
5478     * started below, thus expanding the grid vertically.
5479     *
5480     * @see elm_gengrid_horizontal_get()
5481     *
5482     * @ingroup Gengrid
5483     */
5484    EAPI void               elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
5485
5486    /**
5487     * Get for what direction a given gengrid widget will expand while
5488     * placing its items.
5489     *
5490     * @param obj The gengrid object.
5491     * @return @c EINA_TRUE, if @p obj is set to expand horizontally,
5492     * @c EINA_FALSE if it's set to expand vertically.
5493     *
5494     * @see elm_gengrid_horizontal_set() for more detais
5495     *
5496     * @ingroup Gengrid
5497     */
5498    EAPI Eina_Bool          elm_gengrid_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5499
5500    /**
5501     * Get the first item in a given gengrid widget
5502     *
5503     * @param obj The gengrid object
5504     * @return The first item's handle or @c NULL, if there are no
5505     * items in @p obj (and on errors)
5506     *
5507     * This returns the first item in the @p obj's internal list of
5508     * items.
5509     *
5510     * @see elm_gengrid_last_item_get()
5511     *
5512     * @ingroup Gengrid
5513     */
5514    EAPI Elm_Gengrid_Item  *elm_gengrid_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5515
5516    /**
5517     * Get the last item in a given gengrid widget
5518     *
5519     * @param obj The gengrid object
5520     * @return The last item's handle or @c NULL, if there are no
5521     * items in @p obj (and on errors)
5522     *
5523     * This returns the last item in the @p obj's internal list of
5524     * items.
5525     *
5526     * @see elm_gengrid_first_item_get()
5527     *
5528     * @ingroup Gengrid
5529     */
5530    EAPI Elm_Gengrid_Item  *elm_gengrid_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5531
5532    /**
5533     * Get the @b next item in a gengrid widget's internal list of items,
5534     * given a handle to one of those items.
5535     *
5536     * @param item The gengrid item to fetch next from
5537     * @return The item after @p item, or @c NULL if there's none (and
5538     * on errors)
5539     *
5540     * This returns the item placed after the @p item, on the container
5541     * gengrid.
5542     *
5543     * @see elm_gengrid_item_prev_get()
5544     *
5545     * @ingroup Gengrid
5546     */
5547    EAPI Elm_Gengrid_Item  *elm_gengrid_item_next_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5548
5549    /**
5550     * Get the @b previous item in a gengrid widget's internal list of items,
5551     * given a handle to one of those items.
5552     *
5553     * @param item The gengrid item to fetch previous from
5554     * @return The item before @p item, or @c NULL if there's none (and
5555     * on errors)
5556     *
5557     * This returns the item placed before the @p item, on the container
5558     * gengrid.
5559     *
5560     * @see elm_gengrid_item_next_get()
5561     *
5562     * @ingroup Gengrid
5563     */
5564    EAPI Elm_Gengrid_Item  *elm_gengrid_item_prev_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5565
5566    /**
5567     * Get the gengrid object's handle which contains a given gengrid
5568     * item
5569     *
5570     * @param item The item to fetch the container from
5571     * @return The gengrid (parent) object
5572     *
5573     * This returns the gengrid object itself that an item belongs to.
5574     *
5575     * @ingroup Gengrid
5576     */
5577    EAPI Evas_Object       *elm_gengrid_item_gengrid_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5578
5579    /**
5580     * Remove a gengrid item from the its parent, deleting it.
5581     *
5582     * @param item The item to be removed.
5583     * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
5584     *
5585     * @see elm_gengrid_clear(), to remove all items in a gengrid at
5586     * once.
5587     *
5588     * @ingroup Gengrid
5589     */
5590    EAPI void               elm_gengrid_item_del(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5591
5592    /**
5593     * Update the contents of a given gengrid item
5594     *
5595     * @param item The gengrid item
5596     *
5597     * This updates an item by calling all the item class functions
5598     * again to get the icons, labels and states. Use this when the
5599     * original item data has changed and you want thta changes to be
5600     * reflected.
5601     *
5602     * @ingroup Gengrid
5603     */
5604    EAPI void               elm_gengrid_item_update(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5605    EAPI const Elm_Gengrid_Item_Class *elm_gengrid_item_item_class_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5606    EAPI void               elm_gengrid_item_item_class_set(Elm_Gengrid_Item *item, const Elm_Gengrid_Item_Class *gic) EINA_ARG_NONNULL(1, 2);
5607
5608    /**
5609     * Return the data associated to a given gengrid item
5610     *
5611     * @param item The gengrid item.
5612     * @return the data associated to this item.
5613     *
5614     * This returns the @c data value passed on the
5615     * elm_gengrid_item_append() and related item addition calls.
5616     *
5617     * @see elm_gengrid_item_append()
5618     * @see elm_gengrid_item_data_set()
5619     *
5620     * @ingroup Gengrid
5621     */
5622    EAPI void              *elm_gengrid_item_data_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5623
5624    /**
5625     * Set the data associated to a given gengrid item
5626     *
5627     * @param item The gengrid item
5628     * @param data The new data pointer to set on it
5629     *
5630     * This @b overrides the @c data value passed on the
5631     * elm_gengrid_item_append() and related item addition calls. This
5632     * function @b won't call elm_gengrid_item_update() automatically,
5633     * so you'd issue it afterwards if you want to hove the item
5634     * updated to reflect the that new data.
5635     *
5636     * @see elm_gengrid_item_data_get()
5637     *
5638     * @ingroup Gengrid
5639     */
5640    EAPI void               elm_gengrid_item_data_set(Elm_Gengrid_Item *item, const void *data) EINA_ARG_NONNULL(1);
5641
5642    /**
5643     * Get a given gengrid item's position, relative to the whole
5644     * gengrid's grid area.
5645     *
5646     * @param item The Gengrid item.
5647     * @param x Pointer to variable where to store the item's <b>row
5648     * number</b>.
5649     * @param y Pointer to variable where to store the item's <b>column
5650     * number</b>.
5651     *
5652     * This returns the "logical" position of the item whithin the
5653     * gengrid. For example, @c (0, 1) would stand for first row,
5654     * second column.
5655     *
5656     * @ingroup Gengrid
5657     */
5658    EAPI void               elm_gengrid_item_pos_get(const Elm_Gengrid_Item *item, unsigned int *x, unsigned int *y) EINA_ARG_NONNULL(1);
5659
5660    /**
5661     * Set whether a given gengrid item is selected or not
5662     *
5663     * @param item The gengrid item
5664     * @param selected Use @c EINA_TRUE, to make it selected, @c
5665     * EINA_FALSE to make it unselected
5666     *
5667     * This sets the selected state of an item. If multi selection is
5668     * not enabled on the containing gengrid and @p selected is @c
5669     * EINA_TRUE, any other previously selected items will get
5670     * unselected in favor of this new one.
5671     *
5672     * @see elm_gengrid_item_selected_get()
5673     *
5674     * @ingroup Gengrid
5675     */
5676    EAPI void               elm_gengrid_item_selected_set(Elm_Gengrid_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
5677
5678    /**
5679     * Get whether a given gengrid item is selected or not
5680     *
5681     * @param item The gengrid item
5682     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
5683     *
5684     * @see elm_gengrid_item_selected_set() for more details
5685     *
5686     * @ingroup Gengrid
5687     */
5688    EAPI Eina_Bool          elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5689
5690    /**
5691     * Get the real Evas object created to implement the view of a
5692     * given gengrid item
5693     *
5694     * @param item The gengrid item.
5695     * @return the Evas object implementing this item's view.
5696     *
5697     * This returns the actual Evas object used to implement the
5698     * specified gengrid item's view. This may be @c NULL, as it may
5699     * not have been created or may have been deleted, at any time, by
5700     * the gengrid. <b>Do not modify this object</b> (move, resize,
5701     * show, hide, etc.), as the gengrid is controlling it. This
5702     * function is for querying, emitting custom signals or hooking
5703     * lower level callbacks for events on that object. Do not delete
5704     * this object under any circumstances.
5705     *
5706     * @see elm_gengrid_item_data_get()
5707     *
5708     * @ingroup Gengrid
5709     */
5710    EAPI const Evas_Object *elm_gengrid_item_object_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5711
5712    /**
5713     * Show the portion of a gengrid's internal grid containing a given
5714     * item, @b immediately.
5715     *
5716     * @param item The item to display
5717     *
5718     * This causes gengrid to @b redraw its viewport's contents to the
5719     * region contining the given @p item item, if it is not fully
5720     * visible.
5721     *
5722     * @see elm_gengrid_item_bring_in()
5723     *
5724     * @ingroup Gengrid
5725     */
5726    EAPI void               elm_gengrid_item_show(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5727
5728    /**
5729     * Animatedly bring in, to the visible are of a gengrid, a given
5730     * item on it.
5731     *
5732     * @param item The gengrid item to display
5733     *
5734     * This causes gengrig to jump to the given @p item item and show
5735     * it (by scrolling), if it is not fully visible. This will use
5736     * animation to do so and take a period of time to complete.
5737     *
5738     * @see elm_gengrid_item_show()
5739     *
5740     * @ingroup Gengrid
5741     */
5742    EAPI void               elm_gengrid_item_bring_in(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5743
5744    /**
5745     * Set whether a given gengrid item is disabled or not.
5746     *
5747     * @param item The gengrid item
5748     * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
5749     * to enable it back.
5750     *
5751     * A disabled item cannot be selected or unselected. It will also
5752     * change its appearance, to signal the user it's disabled.
5753     *
5754     * @see elm_gengrid_item_disabled_get()
5755     *
5756     * @ingroup Gengrid
5757     */
5758    EAPI void               elm_gengrid_item_disabled_set(Elm_Gengrid_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
5759
5760    /**
5761     * Get whether a given gengrid item is disabled or not.
5762     *
5763     * @param item The gengrid item
5764     * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
5765     * (and on errors).
5766     *
5767     * @see elm_gengrid_item_disabled_set() for more details
5768     *
5769     * @ingroup Gengrid
5770     */
5771    EAPI Eina_Bool          elm_gengrid_item_disabled_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5772
5773    /**
5774     * Set the text to be shown in a given gengrid item's tooltips.
5775     *
5776     * @param item The gengrid item
5777     * @param text The text to set in the content
5778     *
5779     * This call will setup the text to be used as tooltip to that item
5780     * (analogous to elm_object_tooltip_text_set(), but being item
5781     * tooltips with higher precedence than object tooltips). It can
5782     * have only one tooltip at a time, so any previous tooltip data
5783     * will get removed.
5784     *
5785     * @ingroup Gengrid
5786     */
5787    EAPI void               elm_gengrid_item_tooltip_text_set(Elm_Gengrid_Item *item, const char *text) EINA_ARG_NONNULL(1);
5788
5789    /**
5790     * Set the content to be shown in a given gengrid item's tooltips
5791     *
5792     * @param item The gengrid item.
5793     * @param func The function returning the tooltip contents.
5794     * @param data What to provide to @a func as callback data/context.
5795     * @param del_cb Called when data is not needed anymore, either when
5796     *        another callback replaces @func, the tooltip is unset with
5797     *        elm_gengrid_item_tooltip_unset() or the owner @p item
5798     *        dies. This callback receives as its first parameter the
5799     *        given @p data, being @c event_info the item handle.
5800     *
5801     * This call will setup the tooltip's contents to @p item
5802     * (analogous to elm_object_tooltip_content_cb_set(), but being
5803     * item tooltips with higher precedence than object tooltips). It
5804     * can have only one tooltip at a time, so any previous tooltip
5805     * content will get removed. @p func (with @p data) will be called
5806     * every time Elementary needs to show the tooltip and it should
5807     * return a valid Evas object, which will be fully managed by the
5808     * tooltip system, getting deleted when the tooltip is gone.
5809     *
5810     * @ingroup Gengrid
5811     */
5812    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);
5813
5814    /**
5815     * Unset a tooltip from a given gengrid item
5816     *
5817     * @param item gengrid item to remove a previously set tooltip from.
5818     *
5819     * This call removes any tooltip set on @p item. The callback
5820     * provided as @c del_cb to
5821     * elm_gengrid_item_tooltip_content_cb_set() will be called to
5822     * notify it is not used anymore (and have resources cleaned, if
5823     * need be).
5824     *
5825     * @see elm_gengrid_item_tooltip_content_cb_set()
5826     *
5827     * @ingroup Gengrid
5828     */
5829    EAPI void               elm_gengrid_item_tooltip_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5830
5831    /**
5832     * Set a different @b style for a given gengrid item's tooltip.
5833     *
5834     * @param item gengrid item with tooltip set
5835     * @param style the <b>theme style</b> to use on tooltips (e.g. @c
5836     * "default", @c "transparent", etc)
5837     *
5838     * Tooltips can have <b>alternate styles</b> to be displayed on,
5839     * which are defined by the theme set on Elementary. This function
5840     * works analogously as elm_object_tooltip_style_set(), but here
5841     * applied only to gengrid item objects. The default style for
5842     * tooltips is @c "default".
5843     *
5844     * @note before you set a style you should define a tooltip with
5845     *       elm_gengrid_item_tooltip_content_cb_set() or
5846     *       elm_gengrid_item_tooltip_text_set()
5847     *
5848     * @see elm_gengrid_item_tooltip_style_get()
5849     *
5850     * @ingroup Gengrid
5851     */
5852    EAPI void               elm_gengrid_item_tooltip_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
5853
5854    /**
5855     * Get the style set a given gengrid item's tooltip.
5856     *
5857     * @param item gengrid item with tooltip already set on.
5858     * @return style the theme style in use, which defaults to
5859     *         "default". If the object does not have a tooltip set,
5860     *         then @c NULL is returned.
5861     *
5862     * @see elm_gengrid_item_tooltip_style_set() for more details
5863     *
5864     * @ingroup Gengrid
5865     */
5866    EAPI const char        *elm_gengrid_item_tooltip_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5867    /**
5868     * @brief Disable size restrictions on an object's tooltip
5869     * @param item The tooltip's anchor object
5870     * @param disable If EINA_TRUE, size restrictions are disabled
5871     * @return EINA_FALSE on failure, EINA_TRUE on success
5872     *
5873     * This function allows a tooltip to expand beyond its parant window's canvas.
5874     * It will instead be limited only by the size of the display.
5875     */
5876    EAPI Eina_Bool          elm_gengrid_item_tooltip_size_restrict_disable(Elm_Gengrid_Item *item, Eina_Bool disable);
5877    /**
5878     * @brief Retrieve size restriction state of an object's tooltip
5879     * @param item The tooltip's anchor object
5880     * @return If EINA_TRUE, size restrictions are disabled
5881     *
5882     * This function returns whether a tooltip is allowed to expand beyond
5883     * its parant window's canvas.
5884     * It will instead be limited only by the size of the display.
5885     */
5886    EAPI Eina_Bool          elm_gengrid_item_tooltip_size_restrict_disabled_get(const Elm_Gengrid_Item *item);
5887    /**
5888     * Set the type of mouse pointer/cursor decoration to be shown,
5889     * when the mouse pointer is over the given gengrid widget item
5890     *
5891     * @param item gengrid item to customize cursor on
5892     * @param cursor the cursor type's name
5893     *
5894     * This function works analogously as elm_object_cursor_set(), but
5895     * here the cursor's changing area is restricted to the item's
5896     * area, and not the whole widget's. Note that that item cursors
5897     * have precedence over widget cursors, so that a mouse over @p
5898     * item will always show cursor @p type.
5899     *
5900     * If this function is called twice for an object, a previously set
5901     * cursor will be unset on the second call.
5902     *
5903     * @see elm_object_cursor_set()
5904     * @see elm_gengrid_item_cursor_get()
5905     * @see elm_gengrid_item_cursor_unset()
5906     *
5907     * @ingroup Gengrid
5908     */
5909    EAPI void               elm_gengrid_item_cursor_set(Elm_Gengrid_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
5910
5911    /**
5912     * Get the type of mouse pointer/cursor decoration set to be shown,
5913     * when the mouse pointer is over the given gengrid widget item
5914     *
5915     * @param item gengrid item with custom cursor set
5916     * @return the cursor type's name or @c NULL, if no custom cursors
5917     * were set to @p item (and on errors)
5918     *
5919     * @see elm_object_cursor_get()
5920     * @see elm_gengrid_item_cursor_set() for more details
5921     * @see elm_gengrid_item_cursor_unset()
5922     *
5923     * @ingroup Gengrid
5924     */
5925    EAPI const char        *elm_gengrid_item_cursor_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5926
5927    /**
5928     * Unset any custom mouse pointer/cursor decoration set to be
5929     * shown, when the mouse pointer is over the given gengrid widget
5930     * item, thus making it show the @b default cursor again.
5931     *
5932     * @param item a gengrid item
5933     *
5934     * Use this call to undo any custom settings on this item's cursor
5935     * decoration, bringing it back to defaults (no custom style set).
5936     *
5937     * @see elm_object_cursor_unset()
5938     * @see elm_gengrid_item_cursor_set() for more details
5939     *
5940     * @ingroup Gengrid
5941     */
5942    EAPI void               elm_gengrid_item_cursor_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5943
5944    /**
5945     * Set a different @b style for a given custom cursor set for a
5946     * gengrid item.
5947     *
5948     * @param item gengrid item with custom cursor set
5949     * @param style the <b>theme style</b> to use (e.g. @c "default",
5950     * @c "transparent", etc)
5951     *
5952     * This function only makes sense when one is using custom mouse
5953     * cursor decorations <b>defined in a theme file</b> , which can
5954     * have, given a cursor name/type, <b>alternate styles</b> on
5955     * it. It works analogously as elm_object_cursor_style_set(), but
5956     * here applied only to gengrid item objects.
5957     *
5958     * @warning Before you set a cursor style you should have defined a
5959     *       custom cursor previously on the item, with
5960     *       elm_gengrid_item_cursor_set()
5961     *
5962     * @see elm_gengrid_item_cursor_engine_only_set()
5963     * @see elm_gengrid_item_cursor_style_get()
5964     *
5965     * @ingroup Gengrid
5966     */
5967    EAPI void               elm_gengrid_item_cursor_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
5968
5969    /**
5970     * Get the current @b style set for a given gengrid item's custom
5971     * cursor
5972     *
5973     * @param item gengrid item with custom cursor set.
5974     * @return style the cursor style in use. If the object does not
5975     *         have a cursor set, then @c NULL is returned.
5976     *
5977     * @see elm_gengrid_item_cursor_style_set() for more details
5978     *
5979     * @ingroup Gengrid
5980     */
5981    EAPI const char        *elm_gengrid_item_cursor_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
5982
5983    /**
5984     * Set if the (custom) cursor for a given gengrid item should be
5985     * searched in its theme, also, or should only rely on the
5986     * rendering engine.
5987     *
5988     * @param item item with custom (custom) cursor already set on
5989     * @param engine_only Use @c EINA_TRUE to have cursors looked for
5990     * only on those provided by the rendering engine, @c EINA_FALSE to
5991     * have them searched on the widget's theme, as well.
5992     *
5993     * @note This call is of use only if you've set a custom cursor
5994     * for gengrid items, with elm_gengrid_item_cursor_set().
5995     *
5996     * @note By default, cursors will only be looked for between those
5997     * provided by the rendering engine.
5998     *
5999     * @ingroup Gengrid
6000     */
6001    EAPI void               elm_gengrid_item_cursor_engine_only_set(Elm_Gengrid_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
6002
6003    /**
6004     * Get if the (custom) cursor for a given gengrid item is being
6005     * searched in its theme, also, or is only relying on the rendering
6006     * engine.
6007     *
6008     * @param item a gengrid item
6009     * @return @c EINA_TRUE, if cursors are being looked for only on
6010     * those provided by the rendering engine, @c EINA_FALSE if they
6011     * are being searched on the widget's theme, as well.
6012     *
6013     * @see elm_gengrid_item_cursor_engine_only_set(), for more details
6014     *
6015     * @ingroup Gengrid
6016     */
6017    EAPI Eina_Bool          elm_gengrid_item_cursor_engine_only_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
6018
6019    /**
6020     * Remove all items from a given gengrid widget
6021     *
6022     * @param obj The gengrid object.
6023     *
6024     * This removes (and deletes) all items in @p obj, leaving it
6025     * empty.
6026     *
6027     * @see elm_gengrid_item_del(), to remove just one item.
6028     *
6029     * @ingroup Gengrid
6030     */
6031    EAPI void               elm_gengrid_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
6032
6033    /**
6034     * Get the selected item in a given gengrid widget
6035     *
6036     * @param obj The gengrid object.
6037     * @return The selected item's handleor @c NULL, if none is
6038     * selected at the moment (and on errors)
6039     *
6040     * This returns the selected item in @p obj. If multi selection is
6041     * enabled on @p obj (@see elm_gengrid_multi_select_set()), only
6042     * the first item in the list is selected, which might not be very
6043     * useful. For that case, see elm_gengrid_selected_items_get().
6044     *
6045     * @ingroup Gengrid
6046     */
6047    EAPI Elm_Gengrid_Item  *elm_gengrid_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6048
6049    /**
6050     * Get <b>a list</b> of selected items in a given gengrid
6051     *
6052     * @param obj The gengrid object.
6053     * @return The list of selected items or @c NULL, if none is
6054     * selected at the moment (and on errors)
6055     *
6056     * This returns a list of the selected items, in the order that
6057     * they appear in the grid. This list is only valid as long as no
6058     * more items are selected or unselected (or unselected implictly
6059     * by deletion). The list contains #Elm_Gengrid_Item pointers as
6060     * data, naturally.
6061     *
6062     * @see elm_gengrid_selected_item_get()
6063     *
6064     * @ingroup Gengrid
6065     */
6066    EAPI const Eina_List   *elm_gengrid_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6067
6068    /**
6069     * @}
6070     */
6071
6072    /**
6073     * @defgroup Clock Clock
6074     *
6075     * @image html img/widget/clock/preview-00.png
6076     * @image latex img/widget/clock/preview-00.eps
6077     *
6078     * This is a @b digital clock widget. In its default theme, it has a
6079     * vintage "flipping numbers clock" appearance, which will animate
6080     * sheets of individual algarisms individually as time goes by.
6081     *
6082     * A newly created clock will fetch system's time (already
6083     * considering local time adjustments) to start with, and will tick
6084     * accondingly. It may or may not show seconds.
6085     *
6086     * Clocks have an @b edition mode. When in it, the sheets will
6087     * display extra arrow indications on the top and bottom and the
6088     * user may click on them to raise or lower the time values. After
6089     * it's told to exit edition mode, it will keep ticking with that
6090     * new time set (it keeps the difference from local time).
6091     *
6092     * Also, when under edition mode, user clicks on the cited arrows
6093     * which are @b held for some time will make the clock to flip the
6094     * sheet, thus editing the time, continuosly and automatically for
6095     * the user. The interval between sheet flips will keep growing in
6096     * time, so that it helps the user to reach a time which is distant
6097     * from the one set.
6098     *
6099     * The time display is, by default, in military mode (24h), but an
6100     * am/pm indicator may be optionally shown, too, when it will
6101     * switch to 12h.
6102     *
6103     * Smart callbacks one can register to:
6104     * - "changed" - the clock's user changed the time
6105     *
6106     * Here is an example on its usage:
6107     * @li @ref clock_example
6108     */
6109
6110    /**
6111     * @addtogroup Clock
6112     * @{
6113     */
6114
6115    /**
6116     * Identifiers for which clock digits should be editable, when a
6117     * clock widget is in edition mode. Values may be ORed together to
6118     * make a mask, naturally.
6119     *
6120     * @see elm_clock_edit_set()
6121     * @see elm_clock_digit_edit_set()
6122     */
6123    typedef enum _Elm_Clock_Digedit
6124      {
6125         ELM_CLOCK_NONE         = 0, /**< Default value. Means that all digits are editable, when in edition mode. */
6126         ELM_CLOCK_HOUR_DECIMAL = 1 << 0, /**< Decimal algarism of hours value should be editable */
6127         ELM_CLOCK_HOUR_UNIT    = 1 << 1, /**< Unit algarism of hours value should be editable */
6128         ELM_CLOCK_MIN_DECIMAL  = 1 << 2, /**< Decimal algarism of minutes value should be editable */
6129         ELM_CLOCK_MIN_UNIT     = 1 << 3, /**< Unit algarism of minutes value should be editable */
6130         ELM_CLOCK_SEC_DECIMAL  = 1 << 4, /**< Decimal algarism of seconds value should be editable */
6131         ELM_CLOCK_SEC_UNIT     = 1 << 5, /**< Unit algarism of seconds value should be editable */
6132         ELM_CLOCK_ALL          = (1 << 6) - 1 /**< All digits should be editable */
6133      } Elm_Clock_Digedit;
6134
6135    /**
6136     * Add a new clock widget to the given parent Elementary
6137     * (container) object
6138     *
6139     * @param parent The parent object
6140     * @return a new clock widget handle or @c NULL, on errors
6141     *
6142     * This function inserts a new clock widget on the canvas.
6143     *
6144     * @ingroup Clock
6145     */
6146    EAPI Evas_Object      *elm_clock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6147
6148    /**
6149     * Set a clock widget's time, programmatically
6150     *
6151     * @param obj The clock widget object
6152     * @param hrs The hours to set
6153     * @param min The minutes to set
6154     * @param sec The secondes to set
6155     *
6156     * This function updates the time that is showed by the clock
6157     * widget.
6158     *
6159     *  Values @b must be set within the following ranges:
6160     * - 0 - 23, for hours
6161     * - 0 - 59, for minutes
6162     * - 0 - 59, for seconds,
6163     *
6164     * even if the clock is not in "military" mode.
6165     *
6166     * @warning The behavior for values set out of those ranges is @b
6167     * indefined.
6168     *
6169     * @ingroup Clock
6170     */
6171    EAPI void              elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec) EINA_ARG_NONNULL(1);
6172
6173    /**
6174     * Get a clock widget's time values
6175     *
6176     * @param obj The clock object
6177     * @param[out] hrs Pointer to the variable to get the hours value
6178     * @param[out] min Pointer to the variable to get the minutes value
6179     * @param[out] sec Pointer to the variable to get the seconds value
6180     *
6181     * This function gets the time set for @p obj, returning
6182     * it on the variables passed as the arguments to function
6183     *
6184     * @note Use @c NULL pointers on the time values you're not
6185     * interested in: they'll be ignored by the function.
6186     *
6187     * @ingroup Clock
6188     */
6189    EAPI void              elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec) EINA_ARG_NONNULL(1);
6190
6191    /**
6192     * Set whether a given clock widget is under <b>edition mode</b> or
6193     * under (default) displaying-only mode.
6194     *
6195     * @param obj The clock object
6196     * @param edit @c EINA_TRUE to put it in edition, @c EINA_FALSE to
6197     * put it back to "displaying only" mode
6198     *
6199     * This function makes a clock's time to be editable or not <b>by
6200     * user interaction</b>. When in edition mode, clocks @b stop
6201     * ticking, until one brings them back to canonical mode. The
6202     * elm_clock_digit_edit_set() function will influence which digits
6203     * of the clock will be editable. By default, all of them will be
6204     * (#ELM_CLOCK_NONE).
6205     *
6206     * @note am/pm sheets, if being shown, will @b always be editable
6207     * under edition mode.
6208     *
6209     * @see elm_clock_edit_get()
6210     *
6211     * @ingroup Clock
6212     */
6213    EAPI void              elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
6214
6215    /**
6216     * Retrieve whether a given clock widget is under <b>edition
6217     * mode</b> or under (default) displaying-only mode.
6218     *
6219     * @param obj The clock object
6220     * @param edit @c EINA_TRUE, if it's in edition mode, @c EINA_FALSE
6221     * otherwise
6222     *
6223     * This function retrieves whether the clock's time can be edited
6224     * or not by user interaction.
6225     *
6226     * @see elm_clock_edit_set() for more details
6227     *
6228     * @ingroup Clock
6229     */
6230    EAPI Eina_Bool         elm_clock_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6231
6232    /**
6233     * Set what digits of the given clock widget should be editable
6234     * when in edition mode.
6235     *
6236     * @param obj The clock object
6237     * @param digedit Bit mask indicating the digits to be editable
6238     * (values in #Elm_Clock_Digedit).
6239     *
6240     * If the @p digedit param is #ELM_CLOCK_NONE, editing will be
6241     * disabled on @p obj (same effect as elm_clock_edit_set(), with @c
6242     * EINA_FALSE).
6243     *
6244     * @see elm_clock_digit_edit_get()
6245     *
6246     * @ingroup Clock
6247     */
6248    EAPI void              elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit) EINA_ARG_NONNULL(1);
6249
6250    /**
6251     * Retrieve what digits of the given clock widget should be
6252     * editable when in edition mode.
6253     *
6254     * @param obj The clock object
6255     * @return Bit mask indicating the digits to be editable
6256     * (values in #Elm_Clock_Digedit).
6257     *
6258     * @see elm_clock_digit_edit_set() for more details
6259     *
6260     * @ingroup Clock
6261     */
6262    EAPI Elm_Clock_Digedit elm_clock_digit_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6263
6264    /**
6265     * Set if the given clock widget must show hours in military or
6266     * am/pm mode
6267     *
6268     * @param obj The clock object
6269     * @param am_pm @c EINA_TRUE to put it in am/pm mode, @c EINA_FALSE
6270     * to military mode
6271     *
6272     * This function sets if the clock must show hours in military or
6273     * am/pm mode. In some countries like Brazil the military mode
6274     * (00-24h-format) is used, in opposition to the USA, where the
6275     * am/pm mode is more commonly used.
6276     *
6277     * @see elm_clock_show_am_pm_get()
6278     *
6279     * @ingroup Clock
6280     */
6281    EAPI void              elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm) EINA_ARG_NONNULL(1);
6282
6283    /**
6284     * Get if the given clock widget shows hours in military or am/pm
6285     * mode
6286     *
6287     * @param obj The clock object
6288     * @return @c EINA_TRUE, if in am/pm mode, @c EINA_FALSE if in
6289     * military
6290     *
6291     * This function gets if the clock shows hours in military or am/pm
6292     * mode.
6293     *
6294     * @see elm_clock_show_am_pm_set() for more details
6295     *
6296     * @ingroup Clock
6297     */
6298    EAPI Eina_Bool         elm_clock_show_am_pm_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6299
6300    /**
6301     * Set if the given clock widget must show time with seconds or not
6302     *
6303     * @param obj The clock object
6304     * @param seconds @c EINA_TRUE to show seconds, @c EINA_FALSE otherwise
6305     *
6306     * This function sets if the given clock must show or not elapsed
6307     * seconds. By default, they are @b not shown.
6308     *
6309     * @see elm_clock_show_seconds_get()
6310     *
6311     * @ingroup Clock
6312     */
6313    EAPI void              elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds) EINA_ARG_NONNULL(1);
6314
6315    /**
6316     * Get whether the given clock widget is showing time with seconds
6317     * or not
6318     *
6319     * @param obj The clock object
6320     * @return @c EINA_TRUE if it's showing seconds, @c EINA_FALSE otherwise
6321     *
6322     * This function gets whether @p obj is showing or not the elapsed
6323     * seconds.
6324     *
6325     * @see elm_clock_show_seconds_set()
6326     *
6327     * @ingroup Clock
6328     */
6329    EAPI Eina_Bool         elm_clock_show_seconds_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6330
6331    /**
6332     * Set the interval on time updates for an user mouse button hold
6333     * on clock widgets' time edition.
6334     *
6335     * @param obj The clock object
6336     * @param interval The (first) interval value in seconds
6337     *
6338     * This interval value is @b decreased while the user holds the
6339     * mouse pointer either incrementing or decrementing a given the
6340     * clock digit's value.
6341     *
6342     * This helps the user to get to a given time distant from the
6343     * current one easier/faster, as it will start to flip quicker and
6344     * quicker on mouse button holds.
6345     *
6346     * The calculation for the next flip interval value, starting from
6347     * the one set with this call, is the previous interval divided by
6348     * 1.05, so it decreases a little bit.
6349     *
6350     * The default starting interval value for automatic flips is
6351     * @b 0.85 seconds.
6352     *
6353     * @see elm_clock_interval_get()
6354     *
6355     * @ingroup Clock
6356     */
6357    EAPI void              elm_clock_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
6358
6359    /**
6360     * Get the interval on time updates for an user mouse button hold
6361     * on clock widgets' time edition.
6362     *
6363     * @param obj The clock object
6364     * @return The (first) interval value, in seconds, set on it
6365     *
6366     * @see elm_clock_interval_set() for more details
6367     *
6368     * @ingroup Clock
6369     */
6370    EAPI double            elm_clock_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6371
6372    /**
6373     * @}
6374     */
6375
6376    /**
6377     * @defgroup Layout Layout
6378     *
6379     * @image html img/widget/layout/preview-00.png
6380     * @image latex img/widget/layout/preview-00.eps width=\textwidth
6381     *
6382     * @image html img/layout-predefined.png
6383     * @image latex img/layout-predefined.eps width=\textwidth
6384     *
6385     * This is a container widget that takes a standard Edje design file and
6386     * wraps it very thinly in a widget.
6387     *
6388     * An Edje design (theme) file has a very wide range of possibilities to
6389     * describe the behavior of elements added to the Layout. Check out the Edje
6390     * documentation and the EDC reference to get more information about what can
6391     * be done with Edje.
6392     *
6393     * Just like @ref List, @ref Box, and other container widgets, any
6394     * object added to the Layout will become its child, meaning that it will be
6395     * deleted if the Layout is deleted, move if the Layout is moved, and so on.
6396     *
6397     * The Layout widget can contain as many Contents, Boxes or Tables as
6398     * described in its theme file. For instance, objects can be added to
6399     * different Tables by specifying the respective Table part names. The same
6400     * is valid for Content and Box.
6401     *
6402     * The objects added as child of the Layout will behave as described in the
6403     * part description where they were added. There are 3 possible types of
6404     * parts where a child can be added:
6405     *
6406     * @section secContent Content (SWALLOW part)
6407     *
6408     * Only one object can be added to the @c SWALLOW part (but you still can
6409     * have many @c SWALLOW parts and one object on each of them). Use the @c
6410     * elm_layout_content_* set of functions to set, retrieve and unset objects
6411     * as content of the @c SWALLOW. After being set to this part, the object
6412     * size, position, visibility, clipping and other description properties
6413     * will be totally controled by the description of the given part (inside
6414     * the Edje theme file).
6415     *
6416     * One can use @c evas_object_size_hint_* functions on the child to have some
6417     * kind of control over its behavior, but the resulting behavior will still
6418     * depend heavily on the @c SWALLOW part description.
6419     *
6420     * The Edje theme also can change the part description, based on signals or
6421     * scripts running inside the theme. This change can also be animated. All of
6422     * this will affect the child object set as content accordingly. The object
6423     * size will be changed if the part size is changed, it will animate move if
6424     * the part is moving, and so on.
6425     *
6426     * The following picture demonstrates a Layout widget with a child object
6427     * added to its @c SWALLOW:
6428     *
6429     * @image html layout_swallow.png
6430     * @image latex layout_swallow.png width=\textwidth
6431     *
6432     * @section secBox Box (BOX part)
6433     *
6434     * An Edje @c BOX part is very similar to the Elementary @ref Box widget. It
6435     * allows one to add objects to the box and have them distributed along its
6436     * area, accordingly to the specified @a layout property (now by @a layout we
6437     * mean the chosen layouting design of the Box, not the Layout widget
6438     * itself).
6439     *
6440     * A similar effect for having a box with its position, size and other things
6441     * controled by the Layout theme would be to create an Elementary @ref Box
6442     * widget and add it as a Content in the @c SWALLOW part.
6443     *
6444     * The main difference of using the Layout Box is that its behavior, the box
6445     * properties like layouting format, padding, align, etc. will be all
6446     * controled by the theme. This means, for example, that a signal could be
6447     * sent to the Layout theme (with elm_object_signal_emit()) and the theme
6448     * handled the signal by changing the box padding, or align, or both. Using
6449     * the Elementary @ref Box widget is not necessarily harder or easier, it
6450     * just depends on the circunstances and requirements.
6451     *
6452     * The Layout Box can be used through the @c elm_layout_box_* set of
6453     * functions.
6454     *
6455     * The following picture demonstrates a Layout widget with many child objects
6456     * added to its @c BOX part:
6457     *
6458     * @image html layout_box.png
6459     * @image latex layout_box.png width=\textwidth
6460     *
6461     * @section secTable Table (TABLE part)
6462     *
6463     * Just like the @ref secBox, the Layout Table is very similar to the
6464     * Elementary @ref Table widget. It allows one to add objects to the Table
6465     * specifying the row and column where the object should be added, and any
6466     * column or row span if necessary.
6467     *
6468     * Again, we could have this design by adding a @ref Table widget to the @c
6469     * SWALLOW part using elm_layout_content_set(). The same difference happens
6470     * here when choosing to use the Layout Table (a @c TABLE part) instead of
6471     * the @ref Table plus @c SWALLOW part. It's just a matter of convenience.
6472     *
6473     * The Layout Table can be used through the @c elm_layout_table_* set of
6474     * functions.
6475     *
6476     * The following picture demonstrates a Layout widget with many child objects
6477     * added to its @c TABLE part:
6478     *
6479     * @image html layout_table.png
6480     * @image latex layout_table.png width=\textwidth
6481     *
6482     * @section secPredef Predefined Layouts
6483     *
6484     * Another interesting thing about the Layout widget is that it offers some
6485     * predefined themes that come with the default Elementary theme. These
6486     * themes can be set by the call elm_layout_theme_set(), and provide some
6487     * basic functionality depending on the theme used.
6488     *
6489     * Most of them already send some signals, some already provide a toolbar or
6490     * back and next buttons.
6491     *
6492     * These are available predefined theme layouts. All of them have class = @c
6493     * layout, group = @c application, and style = one of the following options:
6494     *
6495     * @li @c toolbar-content - application with toolbar and main content area
6496     * @li @c toolbar-content-back - application with toolbar and main content
6497     * area with a back button and title area
6498     * @li @c toolbar-content-back-next - application with toolbar and main
6499     * content area with a back and next buttons and title area
6500     * @li @c content-back - application with a main content area with a back
6501     * button and title area
6502     * @li @c content-back-next - application with a main content area with a
6503     * back and next buttons and title area
6504     * @li @c toolbar-vbox - application with toolbar and main content area as a
6505     * vertical box
6506     * @li @c toolbar-table - application with toolbar and main content area as a
6507     * table
6508     *
6509     * @section secExamples Examples
6510     *
6511     * Some examples of the Layout widget can be found here:
6512     * @li @ref layout_example_01
6513     * @li @ref layout_example_02
6514     * @li @ref layout_example_03
6515     * @li @ref layout_example_edc
6516     *
6517     */
6518
6519    /**
6520     * Add a new layout to the parent
6521     *
6522     * @param parent The parent object
6523     * @return The new object or NULL if it cannot be created
6524     *
6525     * @see elm_layout_file_set()
6526     * @see elm_layout_theme_set()
6527     *
6528     * @ingroup Layout
6529     */
6530    EAPI Evas_Object       *elm_layout_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6531    /**
6532     * Set the file that will be used as layout
6533     *
6534     * @param obj The layout object
6535     * @param file The path to file (edj) that will be used as layout
6536     * @param group The group that the layout belongs in edje file
6537     *
6538     * @return (1 = success, 0 = error)
6539     *
6540     * @ingroup Layout
6541     */
6542    EAPI Eina_Bool          elm_layout_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
6543    /**
6544     * Set the edje group from the elementary theme that will be used as layout
6545     *
6546     * @param obj The layout object
6547     * @param clas the clas of the group
6548     * @param group the group
6549     * @param style the style to used
6550     *
6551     * @return (1 = success, 0 = error)
6552     *
6553     * @ingroup Layout
6554     */
6555    EAPI Eina_Bool          elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style) EINA_ARG_NONNULL(1);
6556    /**
6557     * Set the layout content.
6558     *
6559     * @param obj The layout object
6560     * @param swallow The swallow part name in the edje file
6561     * @param content The child that will be added in this layout object
6562     *
6563     * Once the content object is set, a previously set one will be deleted.
6564     * If you want to keep that old content object, use the
6565     * elm_layout_content_unset() function.
6566     *
6567     * @note In an Edje theme, the part used as a content container is called @c
6568     * SWALLOW. This is why the parameter name is called @p swallow, but it is
6569     * expected to be a part name just like the second parameter of
6570     * elm_layout_box_append().
6571     *
6572     * @see elm_layout_box_append()
6573     * @see elm_layout_content_get()
6574     * @see elm_layout_content_unset()
6575     * @see @ref secBox
6576     *
6577     * @ingroup Layout
6578     */
6579    EAPI void               elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
6580    /**
6581     * Get the child object in the given content part.
6582     *
6583     * @param obj The layout object
6584     * @param swallow The SWALLOW part to get its content
6585     *
6586     * @return The swallowed object or NULL if none or an error occurred
6587     *
6588     * @see elm_layout_content_set()
6589     *
6590     * @ingroup Layout
6591     */
6592    EAPI Evas_Object       *elm_layout_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
6593    /**
6594     * Unset the layout content.
6595     *
6596     * @param obj The layout object
6597     * @param swallow The swallow part name in the edje file
6598     * @return The content that was being used
6599     *
6600     * Unparent and return the content object which was set for this part.
6601     *
6602     * @see elm_layout_content_set()
6603     *
6604     * @ingroup Layout
6605     */
6606    EAPI Evas_Object       *elm_layout_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
6607    /**
6608     * Set the text of the given part
6609     *
6610     * @param obj The layout object
6611     * @param part The TEXT part where to set the text
6612     * @param text The text to set
6613     *
6614     * @ingroup Layout
6615     * @deprecated use elm_object_text_* instead.
6616     */
6617    EINA_DEPRECATED EAPI void               elm_layout_text_set(Evas_Object *obj, const char *part, const char *text) EINA_ARG_NONNULL(1);
6618    /**
6619     * Get the text set in the given part
6620     *
6621     * @param obj The layout object
6622     * @param part The TEXT part to retrieve the text off
6623     *
6624     * @return The text set in @p part
6625     *
6626     * @ingroup Layout
6627     * @deprecated use elm_object_text_* instead.
6628     */
6629    EINA_DEPRECATED EAPI const char        *elm_layout_text_get(const Evas_Object *obj, const char *part) EINA_ARG_NONNULL(1);
6630    /**
6631     * Append child to layout box part.
6632     *
6633     * @param obj the layout object
6634     * @param part the box part to which the object will be appended.
6635     * @param child the child object to append to box.
6636     *
6637     * Once the object is appended, it will become child of the layout. Its
6638     * lifetime will be bound to the layout, whenever the layout dies the child
6639     * will be deleted automatically. One should use elm_layout_box_remove() to
6640     * make this layout forget about the object.
6641     *
6642     * @see elm_layout_box_prepend()
6643     * @see elm_layout_box_insert_before()
6644     * @see elm_layout_box_insert_at()
6645     * @see elm_layout_box_remove()
6646     *
6647     * @ingroup Layout
6648     */
6649    EAPI void               elm_layout_box_append(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
6650    /**
6651     * Prepend child to layout box part.
6652     *
6653     * @param obj the layout object
6654     * @param part the box part to prepend.
6655     * @param child the child object to prepend to box.
6656     *
6657     * Once the object is prepended, it will become child of the layout. Its
6658     * lifetime will be bound to the layout, whenever the layout dies the child
6659     * will be deleted automatically. One should use elm_layout_box_remove() to
6660     * make this layout forget about the object.
6661     *
6662     * @see elm_layout_box_append()
6663     * @see elm_layout_box_insert_before()
6664     * @see elm_layout_box_insert_at()
6665     * @see elm_layout_box_remove()
6666     *
6667     * @ingroup Layout
6668     */
6669    EAPI void               elm_layout_box_prepend(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
6670    /**
6671     * Insert child to layout box part before a reference object.
6672     *
6673     * @param obj the layout object
6674     * @param part the box part to insert.
6675     * @param child the child object to insert into box.
6676     * @param reference another reference object to insert before in box.
6677     *
6678     * Once the object is inserted, it will become child of the layout. Its
6679     * lifetime will be bound to the layout, whenever the layout dies the child
6680     * will be deleted automatically. One should use elm_layout_box_remove() to
6681     * make this layout forget about the object.
6682     *
6683     * @see elm_layout_box_append()
6684     * @see elm_layout_box_prepend()
6685     * @see elm_layout_box_insert_before()
6686     * @see elm_layout_box_remove()
6687     *
6688     * @ingroup Layout
6689     */
6690    EAPI void               elm_layout_box_insert_before(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference) EINA_ARG_NONNULL(1);
6691    /**
6692     * Insert child to layout box part at a given position.
6693     *
6694     * @param obj the layout object
6695     * @param part the box part to insert.
6696     * @param child the child object to insert into box.
6697     * @param pos the numeric position >=0 to insert the child.
6698     *
6699     * Once the object is inserted, it will become child of the layout. Its
6700     * lifetime will be bound to the layout, whenever the layout dies the child
6701     * will be deleted automatically. One should use elm_layout_box_remove() to
6702     * make this layout forget about the object.
6703     *
6704     * @see elm_layout_box_append()
6705     * @see elm_layout_box_prepend()
6706     * @see elm_layout_box_insert_before()
6707     * @see elm_layout_box_remove()
6708     *
6709     * @ingroup Layout
6710     */
6711    EAPI void               elm_layout_box_insert_at(Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos) EINA_ARG_NONNULL(1);
6712    /**
6713     * Remove a child of the given part box.
6714     *
6715     * @param obj The layout object
6716     * @param part The box part name to remove child.
6717     * @param child The object to remove from box.
6718     * @return The object that was being used, or NULL if not found.
6719     *
6720     * The object will be removed from the box part and its lifetime will
6721     * not be handled by the layout anymore. This is equivalent to
6722     * elm_layout_content_unset() for box.
6723     *
6724     * @see elm_layout_box_append()
6725     * @see elm_layout_box_remove_all()
6726     *
6727     * @ingroup Layout
6728     */
6729    EAPI Evas_Object       *elm_layout_box_remove(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1, 2, 3);
6730    /**
6731     * Remove all child of the given part box.
6732     *
6733     * @param obj The layout object
6734     * @param part The box part name to remove child.
6735     * @param clear If EINA_TRUE, then all objects will be deleted as
6736     *        well, otherwise they will just be removed and will be
6737     *        dangling on the canvas.
6738     *
6739     * The objects will be removed from the box part and their lifetime will
6740     * not be handled by the layout anymore. This is equivalent to
6741     * elm_layout_box_remove() for all box children.
6742     *
6743     * @see elm_layout_box_append()
6744     * @see elm_layout_box_remove()
6745     *
6746     * @ingroup Layout
6747     */
6748    EAPI void               elm_layout_box_remove_all(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
6749    /**
6750     * Insert child to layout table part.
6751     *
6752     * @param obj the layout object
6753     * @param part the box part to pack child.
6754     * @param child_obj the child object to pack into table.
6755     * @param col the column to which the child should be added. (>= 0)
6756     * @param row the row to which the child should be added. (>= 0)
6757     * @param colspan how many columns should be used to store this object. (>=
6758     *        1)
6759     * @param rowspan how many rows should be used to store this object. (>= 1)
6760     *
6761     * Once the object is inserted, it will become child of the table. Its
6762     * lifetime will be bound to the layout, and whenever the layout dies the
6763     * child will be deleted automatically. One should use
6764     * elm_layout_table_remove() to make this layout forget about the object.
6765     *
6766     * If @p colspan or @p rowspan are bigger than 1, that object will occupy
6767     * more space than a single cell. For instance, the following code:
6768     * @code
6769     * elm_layout_table_pack(layout, "table_part", child, 0, 1, 3, 1);
6770     * @endcode
6771     *
6772     * Would result in an object being added like the following picture:
6773     *
6774     * @image html layout_colspan.png
6775     * @image latex layout_colspan.eps width=\textwidth
6776     *
6777     * @see elm_layout_table_unpack()
6778     * @see elm_layout_table_clear()
6779     *
6780     * @ingroup Layout
6781     */
6782    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);
6783    /**
6784     * Unpack (remove) a child of the given part table.
6785     *
6786     * @param obj The layout object
6787     * @param part The table part name to remove child.
6788     * @param child_obj The object to remove from table.
6789     * @return The object that was being used, or NULL if not found.
6790     *
6791     * The object will be unpacked from the table part and its lifetime
6792     * will not be handled by the layout anymore. This is equivalent to
6793     * elm_layout_content_unset() for table.
6794     *
6795     * @see elm_layout_table_pack()
6796     * @see elm_layout_table_clear()
6797     *
6798     * @ingroup Layout
6799     */
6800    EAPI Evas_Object       *elm_layout_table_unpack(Evas_Object *obj, const char *part, Evas_Object *child_obj) EINA_ARG_NONNULL(1, 2, 3);
6801    /**
6802     * Remove all child of the given part table.
6803     *
6804     * @param obj The layout object
6805     * @param part The table part name to remove child.
6806     * @param clear If EINA_TRUE, then all objects will be deleted as
6807     *        well, otherwise they will just be removed and will be
6808     *        dangling on the canvas.
6809     *
6810     * The objects will be removed from the table part and their lifetime will
6811     * not be handled by the layout anymore. This is equivalent to
6812     * elm_layout_table_unpack() for all table children.
6813     *
6814     * @see elm_layout_table_pack()
6815     * @see elm_layout_table_unpack()
6816     *
6817     * @ingroup Layout
6818     */
6819    EAPI void               elm_layout_table_clear(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
6820    /**
6821     * Get the edje layout
6822     *
6823     * @param obj The layout object
6824     *
6825     * @return A Evas_Object with the edje layout settings loaded
6826     * with function elm_layout_file_set
6827     *
6828     * This returns the edje object. It is not expected to be used to then
6829     * swallow objects via edje_object_part_swallow() for example. Use
6830     * elm_layout_content_set() instead so child object handling and sizing is
6831     * done properly.
6832     *
6833     * @note This function should only be used if you really need to call some
6834     * low level Edje function on this edje object. All the common stuff (setting
6835     * text, emitting signals, hooking callbacks to signals, etc.) can be done
6836     * with proper elementary functions.
6837     *
6838     * @see elm_object_signal_callback_add()
6839     * @see elm_object_signal_emit()
6840     * @see elm_object_text_part_set()
6841     * @see elm_layout_content_set()
6842     * @see elm_layout_box_append()
6843     * @see elm_layout_table_pack()
6844     * @see elm_layout_data_get()
6845     *
6846     * @ingroup Layout
6847     */
6848    EAPI Evas_Object       *elm_layout_edje_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6849    /**
6850     * Get the edje data from the given layout
6851     *
6852     * @param obj The layout object
6853     * @param key The data key
6854     *
6855     * @return The edje data string
6856     *
6857     * This function fetches data specified inside the edje theme of this layout.
6858     * This function return NULL if data is not found.
6859     *
6860     * In EDC this comes from a data block within the group block that @p
6861     * obj was loaded from. E.g.
6862     *
6863     * @code
6864     * collections {
6865     *   group {
6866     *     name: "a_group";
6867     *     data {
6868     *       item: "key1" "value1";
6869     *       item: "key2" "value2";
6870     *     }
6871     *   }
6872     * }
6873     * @endcode
6874     *
6875     * @ingroup Layout
6876     */
6877    EAPI const char        *elm_layout_data_get(const Evas_Object *obj, const char *key) EINA_ARG_NONNULL(1, 2);
6878    /**
6879     * Eval sizing
6880     *
6881     * @param obj The layout object
6882     *
6883     * Manually forces a sizing re-evaluation. This is useful when the minimum
6884     * size required by the edje theme of this layout has changed. The change on
6885     * the minimum size required by the edje theme is not immediately reported to
6886     * the elementary layout, so one needs to call this function in order to tell
6887     * the widget (layout) that it needs to reevaluate its own size.
6888     *
6889     * The minimum size of the theme is calculated based on minimum size of
6890     * parts, the size of elements inside containers like box and table, etc. All
6891     * of this can change due to state changes, and that's when this function
6892     * should be called.
6893     *
6894     * Also note that a standard signal of "size,eval" "elm" emitted from the
6895     * edje object will cause this to happen too.
6896     *
6897     * @ingroup Layout
6898     */
6899    EAPI void               elm_layout_sizing_eval(Evas_Object *obj) EINA_ARG_NONNULL(1);
6900    EAPI Eina_Bool          elm_layout_part_cursor_set(Evas_Object *obj, const char *part_name, const char *cursor) EINA_ARG_NONNULL(1, 2);
6901    EAPI const char        *elm_layout_part_cursor_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
6902    EAPI void               elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
6903    EAPI Eina_Bool          elm_layout_part_cursor_style_set(Evas_Object *obj, const char *part_name, const char *style) EINA_ARG_NONNULL(1, 2);
6904    EAPI const char        *elm_layout_part_cursor_style_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
6905    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);
6906    EAPI Eina_Bool          elm_layout_part_cursor_engine_only_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
6907 /**
6908  * @def elm_layout_icon_set
6909  * Convienience macro to set the icon object in a layout that follows the
6910  * Elementary naming convention for its parts.
6911  *
6912  * @ingroup Layout
6913  */
6914 #define elm_layout_icon_set(_ly, _obj) \
6915   do { \
6916     const char *sig; \
6917     elm_layout_content_set((_ly), "elm.swallow.icon", (_obj)); \
6918     if ((_obj)) sig = "elm,state,icon,visible"; \
6919     else sig = "elm,state,icon,hidden"; \
6920     elm_object_signal_emit((_ly), sig, "elm"); \
6921   } while (0)
6922
6923 /**
6924  * @def elm_layout_icon_get
6925  * Convienience macro to get the icon object from a layout that follows the
6926  * Elementary naming convention for its parts.
6927  *
6928  * @ingroup Layout
6929  */
6930 #define elm_layout_icon_get(_ly) \
6931   elm_layout_content_get((_ly), "elm.swallow.icon")
6932
6933 /**
6934  * @def elm_layout_end_set
6935  * Convienience macro to set the end object in a layout that follows the
6936  * Elementary naming convention for its parts.
6937  *
6938  * @ingroup Layout
6939  */
6940 #define elm_layout_end_set(_ly, _obj) \
6941   do { \
6942     const char *sig; \
6943     elm_layout_content_set((_ly), "elm.swallow.end", (_obj)); \
6944     if ((_obj)) sig = "elm,state,end,visible"; \
6945     else sig = "elm,state,end,hidden"; \
6946     elm_object_signal_emit((_ly), sig, "elm"); \
6947   } while (0)
6948
6949 /**
6950  * @def elm_layout_end_get
6951  * Convienience macro to get the end object in a layout that follows the
6952  * Elementary naming convention for its parts.
6953  *
6954  * @ingroup Layout
6955  */
6956 #define elm_layout_end_get(_ly) \
6957   elm_layout_content_get((_ly), "elm.swallow.end")
6958
6959 /**
6960  * @def elm_layout_label_set
6961  * Convienience macro to set the label in a layout that follows the
6962  * Elementary naming convention for its parts.
6963  *
6964  * @ingroup Layout
6965  * @deprecate use elm_object_text_* instead.
6966  */
6967 #define elm_layout_label_set(_ly, _txt) \
6968   elm_layout_text_set((_ly), "elm.text", (_txt))
6969
6970 /**
6971  * @def elm_layout_label_get
6972  * Convienience macro to get the label in a layout that follows the
6973  * Elementary naming convention for its parts.
6974  *
6975  * @ingroup Layout
6976  * @deprecate use elm_object_text_* instead.
6977  */
6978 #define elm_layout_label_get(_ly) \
6979   elm_layout_text_get((_ly), "elm.text")
6980
6981    /* smart callbacks called:
6982     * "theme,changed" - when elm theme is changed.
6983     */
6984
6985    /**
6986     * @defgroup Notify Notify
6987     *
6988     * @image html img/widget/notify/preview-00.png
6989     * @image latex img/widget/notify/preview-00.eps
6990     *
6991     * Display a container in a particular region of the parent(top, bottom,
6992     * etc.  A timeout can be set to automatically hide the notify. This is so
6993     * that, after an evas_object_show() on a notify object, if a timeout was set
6994     * on it, it will @b automatically get hidden after that time.
6995     *
6996     * Signals that you can add callbacks for are:
6997     * @li "timeout" - when timeout happens on notify and it's hidden
6998     * @li "block,clicked" - when a click outside of the notify happens
6999     *
7000     * @ref tutorial_notify show usage of the API.
7001     *
7002     * @{
7003     */
7004    /**
7005     * @brief Possible orient values for notify.
7006     *
7007     * This values should be used in conjunction to elm_notify_orient_set() to
7008     * set the position in which the notify should appear(relative to its parent)
7009     * and in conjunction with elm_notify_orient_get() to know where the notify
7010     * is appearing.
7011     */
7012    typedef enum _Elm_Notify_Orient
7013      {
7014         ELM_NOTIFY_ORIENT_TOP, /**< Notify should appear in the top of parent, default */
7015         ELM_NOTIFY_ORIENT_CENTER, /**< Notify should appear in the center of parent */
7016         ELM_NOTIFY_ORIENT_BOTTOM, /**< Notify should appear in the bottom of parent */
7017         ELM_NOTIFY_ORIENT_LEFT, /**< Notify should appear in the left of parent */
7018         ELM_NOTIFY_ORIENT_RIGHT, /**< Notify should appear in the right of parent */
7019         ELM_NOTIFY_ORIENT_TOP_LEFT, /**< Notify should appear in the top left of parent */
7020         ELM_NOTIFY_ORIENT_TOP_RIGHT, /**< Notify should appear in the top right of parent */
7021         ELM_NOTIFY_ORIENT_BOTTOM_LEFT, /**< Notify should appear in the bottom left of parent */
7022         ELM_NOTIFY_ORIENT_BOTTOM_RIGHT, /**< Notify should appear in the bottom right of parent */
7023         ELM_NOTIFY_ORIENT_LAST /**< Sentinel value, @b don't use */
7024      } Elm_Notify_Orient;
7025    /**
7026     * @brief Add a new notify to the parent
7027     *
7028     * @param parent The parent object
7029     * @return The new object or NULL if it cannot be created
7030     */
7031    EAPI Evas_Object      *elm_notify_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7032    /**
7033     * @brief Set the content of the notify widget
7034     *
7035     * @param obj The notify object
7036     * @param content The content will be filled in this notify object
7037     *
7038     * Once the content object is set, a previously set one will be deleted. If
7039     * you want to keep that old content object, use the
7040     * elm_notify_content_unset() function.
7041     */
7042    EAPI void              elm_notify_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
7043    /**
7044     * @brief Unset the content of the notify widget
7045     *
7046     * @param obj The notify object
7047     * @return The content that was being used
7048     *
7049     * Unparent and return the content object which was set for this widget
7050     *
7051     * @see elm_notify_content_set()
7052     */
7053    EAPI Evas_Object      *elm_notify_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7054    /**
7055     * @brief Return the content of the notify widget
7056     *
7057     * @param obj The notify object
7058     * @return The content that is being used
7059     *
7060     * @see elm_notify_content_set()
7061     */
7062    EAPI Evas_Object      *elm_notify_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7063    /**
7064     * @brief Set the notify parent
7065     *
7066     * @param obj The notify object
7067     * @param content The new parent
7068     *
7069     * Once the parent object is set, a previously set one will be disconnected
7070     * and replaced.
7071     */
7072    EAPI void              elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
7073    /**
7074     * @brief Get the notify parent
7075     *
7076     * @param obj The notify object
7077     * @return The parent
7078     *
7079     * @see elm_notify_parent_set()
7080     */
7081    EAPI Evas_Object      *elm_notify_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7082    /**
7083     * @brief Set the orientation
7084     *
7085     * @param obj The notify object
7086     * @param orient The new orientation
7087     *
7088     * Sets the position in which the notify will appear in its parent.
7089     *
7090     * @see @ref Elm_Notify_Orient for possible values.
7091     */
7092    EAPI void              elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient) EINA_ARG_NONNULL(1);
7093    /**
7094     * @brief Return the orientation
7095     * @param obj The notify object
7096     * @return The orientation of the notification
7097     *
7098     * @see elm_notify_orient_set()
7099     * @see Elm_Notify_Orient
7100     */
7101    EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7102    /**
7103     * @brief Set the time interval after which the notify window is going to be
7104     * hidden.
7105     *
7106     * @param obj The notify object
7107     * @param time The timeout in seconds
7108     *
7109     * This function sets a timeout and starts the timer controlling when the
7110     * notify is hidden. Since calling evas_object_show() on a notify restarts
7111     * the timer controlling when the notify is hidden, setting this before the
7112     * notify is shown will in effect mean starting the timer when the notify is
7113     * shown.
7114     *
7115     * @note Set a value <= 0.0 to disable a running timer.
7116     *
7117     * @note If the value > 0.0 and the notify is previously visible, the
7118     * timer will be started with this value, canceling any running timer.
7119     */
7120    EAPI void              elm_notify_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
7121    /**
7122     * @brief Return the timeout value (in seconds)
7123     * @param obj the notify object
7124     *
7125     * @see elm_notify_timeout_set()
7126     */
7127    EAPI double            elm_notify_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7128    /**
7129     * @brief Sets whether events should be passed to by a click outside
7130     * its area.
7131     *
7132     * @param obj The notify object
7133     * @param repeats EINA_TRUE Events are repeats, else no
7134     *
7135     * When true if the user clicks outside the window the events will be caught
7136     * by the others widgets, else the events are blocked.
7137     *
7138     * @note The default value is EINA_TRUE.
7139     */
7140    EAPI void              elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat) EINA_ARG_NONNULL(1);
7141    /**
7142     * @brief Return true if events are repeat below the notify object
7143     * @param obj the notify object
7144     *
7145     * @see elm_notify_repeat_events_set()
7146     */
7147    EAPI Eina_Bool         elm_notify_repeat_events_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7148    /**
7149     * @}
7150     */
7151
7152    /**
7153     * @defgroup Hover Hover
7154     *
7155     * @image html img/widget/hover/preview-00.png
7156     * @image latex img/widget/hover/preview-00.eps
7157     *
7158     * A Hover object will hover over its @p parent object at the @p target
7159     * location. Anything in the background will be given a darker coloring to
7160     * indicate that the hover object is on top (at the default theme). When the
7161     * hover is clicked it is dismissed(hidden), if the contents of the hover are
7162     * clicked that @b doesn't cause the hover to be dismissed.
7163     *
7164     * @note The hover object will take up the entire space of @p target
7165     * object.
7166     *
7167     * Elementary has the following styles for the hover widget:
7168     * @li default
7169     * @li popout
7170     * @li menu
7171     * @li hoversel_vertical
7172     *
7173     * The following are the available position for content:
7174     * @li left
7175     * @li top-left
7176     * @li top
7177     * @li top-right
7178     * @li right
7179     * @li bottom-right
7180     * @li bottom
7181     * @li bottom-left
7182     * @li middle
7183     * @li smart
7184     *
7185     * Signals that you can add callbacks for are:
7186     * @li "clicked" - the user clicked the empty space in the hover to dismiss
7187     * @li "smart,changed" - a content object placed under the "smart"
7188     *                   policy was replaced to a new slot direction.
7189     *
7190     * See @ref tutorial_hover for more information.
7191     *
7192     * @{
7193     */
7194    typedef enum _Elm_Hover_Axis
7195      {
7196         ELM_HOVER_AXIS_NONE, /**< ELM_HOVER_AXIS_NONE -- no prefered orientation */
7197         ELM_HOVER_AXIS_HORIZONTAL, /**< ELM_HOVER_AXIS_HORIZONTAL -- horizontal */
7198         ELM_HOVER_AXIS_VERTICAL, /**< ELM_HOVER_AXIS_VERTICAL -- vertical */
7199         ELM_HOVER_AXIS_BOTH /**< ELM_HOVER_AXIS_BOTH -- both */
7200      } Elm_Hover_Axis;
7201    /**
7202     * @brief Adds a hover object to @p parent
7203     *
7204     * @param parent The parent object
7205     * @return The hover object or NULL if one could not be created
7206     */
7207    EAPI Evas_Object *elm_hover_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7208    /**
7209     * @brief Sets the target object for the hover.
7210     *
7211     * @param obj The hover object
7212     * @param target The object to center the hover onto. The hover
7213     *
7214     * This function will cause the hover to be centered on the target object.
7215     */
7216    EAPI void         elm_hover_target_set(Evas_Object *obj, Evas_Object *target) EINA_ARG_NONNULL(1);
7217    /**
7218     * @brief Gets the target object for the hover.
7219     *
7220     * @param obj The hover object
7221     * @param parent The object to locate the hover over.
7222     *
7223     * @see elm_hover_target_set()
7224     */
7225    EAPI Evas_Object *elm_hover_target_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7226    /**
7227     * @brief Sets the parent object for the hover.
7228     *
7229     * @param obj The hover object
7230     * @param parent The object to locate the hover over.
7231     *
7232     * This function will cause the hover to take up the entire space that the
7233     * parent object fills.
7234     */
7235    EAPI void         elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
7236    /**
7237     * @brief Gets the parent object for the hover.
7238     *
7239     * @param obj The hover object
7240     * @return The parent object to locate the hover over.
7241     *
7242     * @see elm_hover_parent_set()
7243     */
7244    EAPI Evas_Object *elm_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7245    /**
7246     * @brief Sets the content of the hover object and the direction in which it
7247     * will pop out.
7248     *
7249     * @param obj The hover object
7250     * @param swallow The direction that the object will be displayed
7251     * at. Accepted values are "left", "top-left", "top", "top-right",
7252     * "right", "bottom-right", "bottom", "bottom-left", "middle" and
7253     * "smart".
7254     * @param content The content to place at @p swallow
7255     *
7256     * Once the content object is set for a given direction, a previously
7257     * set one (on the same direction) will be deleted. If you want to
7258     * keep that old content object, use the elm_hover_content_unset()
7259     * function.
7260     *
7261     * All directions may have contents at the same time, except for
7262     * "smart". This is a special placement hint and its use case
7263     * independs of the calculations coming from
7264     * elm_hover_best_content_location_get(). Its use is for cases when
7265     * one desires only one hover content, but with a dinamic special
7266     * placement within the hover area. The content's geometry, whenever
7267     * it changes, will be used to decide on a best location not
7268     * extrapolating the hover's parent object view to show it in (still
7269     * being the hover's target determinant of its medium part -- move and
7270     * resize it to simulate finger sizes, for example). If one of the
7271     * directions other than "smart" are used, a previously content set
7272     * using it will be deleted, and vice-versa.
7273     */
7274    EAPI void         elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
7275    /**
7276     * @brief Get the content of the hover object, in a given direction.
7277     *
7278     * Return the content object which was set for this widget in the
7279     * @p swallow direction.
7280     *
7281     * @param obj The hover object
7282     * @param swallow The direction that the object was display at.
7283     * @return The content that was being used
7284     *
7285     * @see elm_hover_content_set()
7286     */
7287    EAPI Evas_Object *elm_hover_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
7288    /**
7289     * @brief Unset the content of the hover object, in a given direction.
7290     *
7291     * Unparent and return the content object set at @p swallow direction.
7292     *
7293     * @param obj The hover object
7294     * @param swallow The direction that the object was display at.
7295     * @return The content that was being used.
7296     *
7297     * @see elm_hover_content_set()
7298     */
7299    EAPI Evas_Object *elm_hover_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
7300    /**
7301     * @brief Returns the best swallow location for content in the hover.
7302     *
7303     * @param obj The hover object
7304     * @param pref_axis The preferred orientation axis for the hover object to use
7305     * @return The edje location to place content into the hover or @c
7306     *         NULL, on errors.
7307     *
7308     * Best is defined here as the location at which there is the most available
7309     * space.
7310     *
7311     * @p pref_axis may be one of
7312     * - @c ELM_HOVER_AXIS_NONE -- no prefered orientation
7313     * - @c ELM_HOVER_AXIS_HORIZONTAL -- horizontal
7314     * - @c ELM_HOVER_AXIS_VERTICAL -- vertical
7315     * - @c ELM_HOVER_AXIS_BOTH -- both
7316     *
7317     * If ELM_HOVER_AXIS_HORIZONTAL is choosen the returned position will
7318     * nescessarily be along the horizontal axis("left" or "right"). If
7319     * ELM_HOVER_AXIS_VERTICAL is choosen the returned position will nescessarily
7320     * be along the vertical axis("top" or "bottom"). Chossing
7321     * ELM_HOVER_AXIS_BOTH or ELM_HOVER_AXIS_NONE has the same effect and the
7322     * returned position may be in either axis.
7323     *
7324     * @see elm_hover_content_set()
7325     */
7326    EAPI const char  *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis) EINA_ARG_NONNULL(1);
7327    /**
7328     * @}
7329     */
7330
7331    /* entry */
7332    /**
7333     * @defgroup Entry Entry
7334     *
7335     * @image html img/widget/entry/preview-00.png
7336     * @image latex img/widget/entry/preview-00.eps width=\textwidth
7337     * @image html img/widget/entry/preview-01.png
7338     * @image latex img/widget/entry/preview-01.eps width=\textwidth
7339     * @image html img/widget/entry/preview-02.png
7340     * @image latex img/widget/entry/preview-02.eps width=\textwidth
7341     * @image html img/widget/entry/preview-03.png
7342     * @image latex img/widget/entry/preview-03.eps width=\textwidth
7343     *
7344     * An entry is a convenience widget which shows a box that the user can
7345     * enter text into. Entries by default don't scroll, so they grow to
7346     * accomodate the entire text, resizing the parent window as needed. This
7347     * can be changed with the elm_entry_scrollable_set() function.
7348     *
7349     * They can also be single line or multi line (the default) and when set
7350     * to multi line mode they support text wrapping in any of the modes
7351     * indicated by #Elm_Wrap_Type.
7352     *
7353     * Other features include password mode, filtering of inserted text with
7354     * elm_entry_text_filter_append() and related functions, inline "items" and
7355     * formatted markup text.
7356     *
7357     * @section entry-markup Formatted text
7358     *
7359     * The markup tags supported by the Entry are defined by the theme, but
7360     * even when writing new themes or extensions it's a good idea to stick to
7361     * a sane default, to maintain coherency and avoid application breakages.
7362     * Currently defined by the default theme are the following tags:
7363     * @li \<br\>: Inserts a line break.
7364     * @li \<ps\>: Inserts a paragraph separator. This is preferred over line
7365     * breaks.
7366     * @li \<tab\>: Inserts a tab.
7367     * @li \<em\>...\</em\>: Emphasis. Sets the @em oblique style for the
7368     * enclosed text.
7369     * @li \<b\>...\</b\>: Sets the @b bold style for the enclosed text.
7370     * @li \<link\>...\</link\>: Underlines the enclosed text.
7371     * @li \<hilight\>...\</hilight\>: Hilights the enclosed text.
7372     *
7373     * @section entry-special Special markups
7374     *
7375     * Besides those used to format text, entries support two special markup
7376     * tags used to insert clickable portions of text or items inlined within
7377     * the text.
7378     *
7379     * @subsection entry-anchors Anchors
7380     *
7381     * Anchors are similar to HTML anchors. Text can be surrounded by \<a\> and
7382     * \</a\> tags and an event will be generated when this text is clicked,
7383     * like this:
7384     *
7385     * @code
7386     * This text is outside <a href=anc-01>but this one is an anchor</a>
7387     * @endcode
7388     *
7389     * The @c href attribute in the opening tag gives the name that will be
7390     * used to identify the anchor and it can be any valid utf8 string.
7391     *
7392     * When an anchor is clicked, an @c "anchor,clicked" signal is emitted with
7393     * an #Elm_Entry_Anchor_Info in the @c event_info parameter for the
7394     * callback function. The same applies for "anchor,in" (mouse in), "anchor,out"
7395     * (mouse out), "anchor,down" (mouse down), and "anchor,up" (mouse up) events on
7396     * an anchor.
7397     *
7398     * @subsection entry-items Items
7399     *
7400     * Inlined in the text, any other @c Evas_Object can be inserted by using
7401     * \<item\> tags this way:
7402     *
7403     * @code
7404     * <item size=16x16 vsize=full href=emoticon/haha></item>
7405     * @endcode
7406     *
7407     * Just like with anchors, the @c href identifies each item, but these need,
7408     * in addition, to indicate their size, which is done using any one of
7409     * @c size, @c absize or @c relsize attributes. These attributes take their
7410     * value in the WxH format, where W is the width and H the height of the
7411     * item.
7412     *
7413     * @li absize: Absolute pixel size for the item. Whatever value is set will
7414     * be the item's size regardless of any scale value the object may have
7415     * been set to. The final line height will be adjusted to fit larger items.
7416     * @li size: Similar to @c absize, but it's adjusted to the scale value set
7417     * for the object.
7418     * @li relsize: Size is adjusted for the item to fit within the current
7419     * line height.
7420     *
7421     * Besides their size, items are specificed a @c vsize value that affects
7422     * how their final size and position are calculated. The possible values
7423     * are:
7424     * @li ascent: Item will be placed within the line's baseline and its
7425     * ascent. That is, the height between the line where all characters are
7426     * positioned and the highest point in the line. For @c size and @c absize
7427     * items, the descent value will be added to the total line height to make
7428     * them fit. @c relsize items will be adjusted to fit within this space.
7429     * @li full: Items will be placed between the descent and ascent, or the
7430     * lowest point in the line and its highest.
7431     *
7432     * The next image shows different configurations of items and how they
7433     * are the previously mentioned options affect their sizes. In all cases,
7434     * the green line indicates the ascent, blue for the baseline and red for
7435     * the descent.
7436     *
7437     * @image html entry_item.png
7438     * @image latex entry_item.eps width=\textwidth
7439     *
7440     * And another one to show how size differs from absize. In the first one,
7441     * the scale value is set to 1.0, while the second one is using one of 2.0.
7442     *
7443     * @image html entry_item_scale.png
7444     * @image latex entry_item_scale.eps width=\textwidth
7445     *
7446     * After the size for an item is calculated, the entry will request an
7447     * object to place in its space. For this, the functions set with
7448     * elm_entry_item_provider_append() and related functions will be called
7449     * in order until one of them returns a @c non-NULL value. If no providers
7450     * are available, or all of them return @c NULL, then the entry falls back
7451     * to one of the internal defaults, provided the name matches with one of
7452     * them.
7453     *
7454     * All of the following are currently supported:
7455     *
7456     * - emoticon/angry
7457     * - emoticon/angry-shout
7458     * - emoticon/crazy-laugh
7459     * - emoticon/evil-laugh
7460     * - emoticon/evil
7461     * - emoticon/goggle-smile
7462     * - emoticon/grumpy
7463     * - emoticon/grumpy-smile
7464     * - emoticon/guilty
7465     * - emoticon/guilty-smile
7466     * - emoticon/haha
7467     * - emoticon/half-smile
7468     * - emoticon/happy-panting
7469     * - emoticon/happy
7470     * - emoticon/indifferent
7471     * - emoticon/kiss
7472     * - emoticon/knowing-grin
7473     * - emoticon/laugh
7474     * - emoticon/little-bit-sorry
7475     * - emoticon/love-lots
7476     * - emoticon/love
7477     * - emoticon/minimal-smile
7478     * - emoticon/not-happy
7479     * - emoticon/not-impressed
7480     * - emoticon/omg
7481     * - emoticon/opensmile
7482     * - emoticon/smile
7483     * - emoticon/sorry
7484     * - emoticon/squint-laugh
7485     * - emoticon/surprised
7486     * - emoticon/suspicious
7487     * - emoticon/tongue-dangling
7488     * - emoticon/tongue-poke
7489     * - emoticon/uh
7490     * - emoticon/unhappy
7491     * - emoticon/very-sorry
7492     * - emoticon/what
7493     * - emoticon/wink
7494     * - emoticon/worried
7495     * - emoticon/wtf
7496     *
7497     * Alternatively, an item may reference an image by its path, using
7498     * the URI form @c file:///path/to/an/image.png and the entry will then
7499     * use that image for the item.
7500     *
7501     * @section entry-files Loading and saving files
7502     *
7503     * Entries have convinience functions to load text from a file and save
7504     * changes back to it after a short delay. The automatic saving is enabled
7505     * by default, but can be disabled with elm_entry_autosave_set() and files
7506     * can be loaded directly as plain text or have any markup in them
7507     * recognized. See elm_entry_file_set() for more details.
7508     *
7509     * @section entry-signals Emitted signals
7510     *
7511     * This widget emits the following signals:
7512     *
7513     * @li "changed": The text within the entry was changed.
7514     * @li "activated": The enter key was pressed on a single line entry.
7515     * @li "press": A mouse button has been pressed on the entry.
7516     * @li "longpressed": A mouse button has been pressed and held for a couple
7517     * seconds.
7518     * @li "clicked": The entry has been clicked (mouse press and release).
7519     * @li "clicked,double": The entry has been double clicked.
7520     * @li "clicked,triple": The entry has been triple clicked.
7521     * @li "focused": The entry has received focus.
7522     * @li "unfocused": The entry has lost focus.
7523     * @li "selection,paste": A paste of the clipboard contents was requested.
7524     * @li "selection,copy": A copy of the selected text into the clipboard was
7525     * requested.
7526     * @li "selection,cut": A cut of the selected text into the clipboard was
7527     * requested.
7528     * @li "selection,start": A selection has begun and no previous selection
7529     * existed.
7530     * @li "selection,changed": The current selection has changed.
7531     * @li "selection,cleared": The current selection has been cleared.
7532     * @li "cursor,changed": The cursor has changed position.
7533     * @li "anchor,clicked": An anchor has been clicked. The event_info
7534     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
7535     * @li "anchor,in": Mouse cursor has moved into an anchor. The event_info
7536     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
7537     * @li "anchor,out": Mouse cursor has moved out of an anchor. The event_info
7538     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
7539     * @li "anchor,up": Mouse button has been unpressed on an anchor. The event_info
7540     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
7541     * @li "anchor,down": Mouse button has been pressed on an anchor. The event_info
7542     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
7543     * @li "preedit,changed": The preedit string has changed.
7544     *
7545     * @section entry-examples
7546     *
7547     * An overview of the Entry API can be seen in @ref entry_example_01
7548     *
7549     * @{
7550     */
7551    /**
7552     * @typedef Elm_Entry_Anchor_Info
7553     *
7554     * The info sent in the callback for the "anchor,clicked" signals emitted
7555     * by entries.
7556     */
7557    typedef struct _Elm_Entry_Anchor_Info Elm_Entry_Anchor_Info;
7558    /**
7559     * @struct _Elm_Entry_Anchor_Info
7560     *
7561     * The info sent in the callback for the "anchor,clicked" signals emitted
7562     * by entries.
7563     */
7564    struct _Elm_Entry_Anchor_Info
7565      {
7566         const char *name; /**< The name of the anchor, as stated in its href */
7567         int         button; /**< The mouse button used to click on it */
7568         Evas_Coord  x, /**< Anchor geometry, relative to canvas */
7569                     y, /**< Anchor geometry, relative to canvas */
7570                     w, /**< Anchor geometry, relative to canvas */
7571                     h; /**< Anchor geometry, relative to canvas */
7572      };
7573    /**
7574     * @typedef Elm_Entry_Filter_Cb
7575     * This callback type is used by entry filters to modify text.
7576     * @param data The data specified as the last param when adding the filter
7577     * @param entry The entry object
7578     * @param text A pointer to the location of the text being filtered. This data can be modified,
7579     * but any additional allocations must be managed by the user.
7580     * @see elm_entry_text_filter_append
7581     * @see elm_entry_text_filter_prepend
7582     */
7583    typedef void (*Elm_Entry_Filter_Cb)(void *data, Evas_Object *entry, char **text);
7584
7585    /**
7586     * This adds an entry to @p parent object.
7587     *
7588     * By default, entries are:
7589     * @li not scrolled
7590     * @li multi-line
7591     * @li word wrapped
7592     * @li autosave is enabled
7593     *
7594     * @param parent The parent object
7595     * @return The new object or NULL if it cannot be created
7596     */
7597    EAPI Evas_Object *elm_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7598    /**
7599     * Sets the entry to single line mode.
7600     *
7601     * In single line mode, entries don't ever wrap when the text reaches the
7602     * edge, and instead they keep growing horizontally. Pressing the @c Enter
7603     * key will generate an @c "activate" event instead of adding a new line.
7604     *
7605     * When @p single_line is @c EINA_FALSE, line wrapping takes effect again
7606     * and pressing enter will break the text into a different line
7607     * without generating any events.
7608     *
7609     * @param obj The entry object
7610     * @param single_line If true, the text in the entry
7611     * will be on a single line.
7612     */
7613    EAPI void         elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
7614    /**
7615     * Gets whether the entry is set to be single line.
7616     *
7617     * @param obj The entry object
7618     * @return single_line If true, the text in the entry is set to display
7619     * on a single line.
7620     *
7621     * @see elm_entry_single_line_set()
7622     */
7623    EAPI Eina_Bool    elm_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7624    /**
7625     * Sets the entry to password mode.
7626     *
7627     * In password mode, entries are implicitly single line and the display of
7628     * any text in them is replaced with asterisks (*).
7629     *
7630     * @param obj The entry object
7631     * @param password If true, password mode is enabled.
7632     */
7633    EAPI void         elm_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
7634    /**
7635     * Gets whether the entry is set to password mode.
7636     *
7637     * @param obj The entry object
7638     * @return If true, the entry is set to display all characters
7639     * as asterisks (*).
7640     *
7641     * @see elm_entry_password_set()
7642     */
7643    EAPI Eina_Bool    elm_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7644    /**
7645     * This sets the text displayed within the entry to @p entry.
7646     *
7647     * @param obj The entry object
7648     * @param entry The text to be displayed
7649     *
7650     * @deprecated Use elm_object_text_set() instead.
7651     */
7652    EAPI void         elm_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
7653    /**
7654     * This returns the text currently shown in object @p entry.
7655     * See also elm_entry_entry_set().
7656     *
7657     * @param obj The entry object
7658     * @return The currently displayed text or NULL on failure
7659     *
7660     * @deprecated Use elm_object_text_get() instead.
7661     */
7662    EAPI const char  *elm_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7663    /**
7664     * Appends @p entry to the text of the entry.
7665     *
7666     * Adds the text in @p entry to the end of any text already present in the
7667     * widget.
7668     *
7669     * The appended text is subject to any filters set for the widget.
7670     *
7671     * @param obj The entry object
7672     * @param entry The text to be displayed
7673     *
7674     * @see elm_entry_text_filter_append()
7675     */
7676    EAPI void         elm_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
7677    /**
7678     * Gets whether the entry is empty.
7679     *
7680     * Empty means no text at all. If there are any markup tags, like an item
7681     * tag for which no provider finds anything, and no text is displayed, this
7682     * function still returns EINA_FALSE.
7683     *
7684     * @param obj The entry object
7685     * @return EINA_TRUE if the entry is empty, EINA_FALSE otherwise.
7686     */
7687    EAPI Eina_Bool    elm_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7688    /**
7689     * Gets any selected text within the entry.
7690     *
7691     * If there's any selected text in the entry, this function returns it as
7692     * a string in markup format. NULL is returned if no selection exists or
7693     * if an error occurred.
7694     *
7695     * The returned value points to an internal string and should not be freed
7696     * or modified in any way. If the @p entry object is deleted or its
7697     * contents are changed, the returned pointer should be considered invalid.
7698     *
7699     * @param obj The entry object
7700     * @return The selected text within the entry or NULL on failure
7701     */
7702    EAPI const char  *elm_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7703    /**
7704     * Inserts the given text into the entry at the current cursor position.
7705     *
7706     * This inserts text at the cursor position as if it was typed
7707     * by the user (note that this also allows markup which a user
7708     * can't just "type" as it would be converted to escaped text, so this
7709     * call can be used to insert things like emoticon items or bold push/pop
7710     * tags, other font and color change tags etc.)
7711     *
7712     * If any selection exists, it will be replaced by the inserted text.
7713     *
7714     * The inserted text is subject to any filters set for the widget.
7715     *
7716     * @param obj The entry object
7717     * @param entry The text to insert
7718     *
7719     * @see elm_entry_text_filter_append()
7720     */
7721    EAPI void         elm_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
7722    /**
7723     * Set the line wrap type to use on multi-line entries.
7724     *
7725     * Sets the wrap type used by the entry to any of the specified in
7726     * #Elm_Wrap_Type. This tells how the text will be implicitly cut into a new
7727     * line (without inserting a line break or paragraph separator) when it
7728     * reaches the far edge of the widget.
7729     *
7730     * Note that this only makes sense for multi-line entries. A widget set
7731     * to be single line will never wrap.
7732     *
7733     * @param obj The entry object
7734     * @param wrap The wrap mode to use. See #Elm_Wrap_Type for details on them
7735     */
7736    EAPI void         elm_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
7737    /**
7738     * Gets the wrap mode the entry was set to use.
7739     *
7740     * @param obj The entry object
7741     * @return Wrap type
7742     *
7743     * @see also elm_entry_line_wrap_set()
7744     */
7745    EAPI Elm_Wrap_Type elm_entry_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7746    /**
7747     * Sets if the entry is to be editable or not.
7748     *
7749     * By default, entries are editable and when focused, any text input by the
7750     * user will be inserted at the current cursor position. But calling this
7751     * function with @p editable as EINA_FALSE will prevent the user from
7752     * inputting text into the entry.
7753     *
7754     * The only way to change the text of a non-editable entry is to use
7755     * elm_object_text_set(), elm_entry_entry_insert() and other related
7756     * functions.
7757     *
7758     * @param obj The entry object
7759     * @param editable If EINA_TRUE, user input will be inserted in the entry,
7760     * if not, the entry is read-only and no user input is allowed.
7761     */
7762    EAPI void         elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
7763    /**
7764     * Gets whether the entry is editable or not.
7765     *
7766     * @param obj The entry object
7767     * @return If true, the entry is editable by the user.
7768     * If false, it is not editable by the user
7769     *
7770     * @see elm_entry_editable_set()
7771     */
7772    EAPI Eina_Bool    elm_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7773    /**
7774     * This drops any existing text selection within the entry.
7775     *
7776     * @param obj The entry object
7777     */
7778    EAPI void         elm_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
7779    /**
7780     * This selects all text within the entry.
7781     *
7782     * @param obj The entry object
7783     */
7784    EAPI void         elm_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
7785    /**
7786     * This moves the cursor one place to the right within the entry.
7787     *
7788     * @param obj The entry object
7789     * @return EINA_TRUE upon success, EINA_FALSE upon failure
7790     */
7791    EAPI Eina_Bool    elm_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
7792    /**
7793     * This moves the cursor one place to the left within the entry.
7794     *
7795     * @param obj The entry object
7796     * @return EINA_TRUE upon success, EINA_FALSE upon failure
7797     */
7798    EAPI Eina_Bool    elm_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
7799    /**
7800     * This moves the cursor one line up within the entry.
7801     *
7802     * @param obj The entry object
7803     * @return EINA_TRUE upon success, EINA_FALSE upon failure
7804     */
7805    EAPI Eina_Bool    elm_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
7806    /**
7807     * This moves the cursor one line down within the entry.
7808     *
7809     * @param obj The entry object
7810     * @return EINA_TRUE upon success, EINA_FALSE upon failure
7811     */
7812    EAPI Eina_Bool    elm_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
7813    /**
7814     * This moves the cursor to the beginning of the entry.
7815     *
7816     * @param obj The entry object
7817     */
7818    EAPI void         elm_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
7819    /**
7820     * This moves the cursor to the end of the entry.
7821     *
7822     * @param obj The entry object
7823     */
7824    EAPI void         elm_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
7825    /**
7826     * This moves the cursor to the beginning of the current line.
7827     *
7828     * @param obj The entry object
7829     */
7830    EAPI void         elm_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
7831    /**
7832     * This moves the cursor to the end of the current line.
7833     *
7834     * @param obj The entry object
7835     */
7836    EAPI void         elm_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
7837    /**
7838     * This begins a selection within the entry as though
7839     * the user were holding down the mouse button to make a selection.
7840     *
7841     * @param obj The entry object
7842     */
7843    EAPI void         elm_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
7844    /**
7845     * This ends a selection within the entry as though
7846     * the user had just released the mouse button while making a selection.
7847     *
7848     * @param obj The entry object
7849     */
7850    EAPI void         elm_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
7851    /**
7852     * Gets whether a format node exists at the current cursor position.
7853     *
7854     * A format node is anything that defines how the text is rendered. It can
7855     * be a visible format node, such as a line break or a paragraph separator,
7856     * or an invisible one, such as bold begin or end tag.
7857     * This function returns whether any format node exists at the current
7858     * cursor position.
7859     *
7860     * @param obj The entry object
7861     * @return EINA_TRUE if the current cursor position contains a format node,
7862     * EINA_FALSE otherwise.
7863     *
7864     * @see elm_entry_cursor_is_visible_format_get()
7865     */
7866    EAPI Eina_Bool    elm_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7867    /**
7868     * Gets if the current cursor position holds a visible format node.
7869     *
7870     * @param obj The entry object
7871     * @return EINA_TRUE if the current cursor is a visible format, EINA_FALSE
7872     * if it's an invisible one or no format exists.
7873     *
7874     * @see elm_entry_cursor_is_format_get()
7875     */
7876    EAPI Eina_Bool    elm_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7877    /**
7878     * Gets the character pointed by the cursor at its current position.
7879     *
7880     * This function returns a string with the utf8 character stored at the
7881     * current cursor position.
7882     * Only the text is returned, any format that may exist will not be part
7883     * of the return value.
7884     *
7885     * @param obj The entry object
7886     * @return The text pointed by the cursors.
7887     */
7888    EAPI const char  *elm_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7889    /**
7890     * This function returns the geometry of the cursor.
7891     *
7892     * It's useful if you want to draw something on the cursor (or where it is),
7893     * or for example in the case of scrolled entry where you want to show the
7894     * cursor.
7895     *
7896     * @param obj The entry object
7897     * @param x returned geometry
7898     * @param y returned geometry
7899     * @param w returned geometry
7900     * @param h returned geometry
7901     * @return EINA_TRUE upon success, EINA_FALSE upon failure
7902     */
7903    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);
7904    /**
7905     * Sets the cursor position in the entry to the given value
7906     *
7907     * The value in @p pos is the index of the character position within the
7908     * contents of the string as returned by elm_entry_cursor_pos_get().
7909     *
7910     * @param obj The entry object
7911     * @param pos The position of the cursor
7912     */
7913    EAPI void         elm_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
7914    /**
7915     * Retrieves the current position of the cursor in the entry
7916     *
7917     * @param obj The entry object
7918     * @return The cursor position
7919     */
7920    EAPI int          elm_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7921    /**
7922     * This executes a "cut" action on the selected text in the entry.
7923     *
7924     * @param obj The entry object
7925     */
7926    EAPI void         elm_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
7927    /**
7928     * This executes a "copy" action on the selected text in the entry.
7929     *
7930     * @param obj The entry object
7931     */
7932    EAPI void         elm_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
7933    /**
7934     * This executes a "paste" action in the entry.
7935     *
7936     * @param obj The entry object
7937     */
7938    EAPI void         elm_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
7939    /**
7940     * This clears and frees the items in a entry's contextual (longpress)
7941     * menu.
7942     *
7943     * @param obj The entry object
7944     *
7945     * @see elm_entry_context_menu_item_add()
7946     */
7947    EAPI void         elm_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
7948    /**
7949     * This adds an item to the entry's contextual menu.
7950     *
7951     * A longpress on an entry will make the contextual menu show up, if this
7952     * hasn't been disabled with elm_entry_context_menu_disabled_set().
7953     * By default, this menu provides a few options like enabling selection mode,
7954     * which is useful on embedded devices that need to be explicit about it,
7955     * and when a selection exists it also shows the copy and cut actions.
7956     *
7957     * With this function, developers can add other options to this menu to
7958     * perform any action they deem necessary.
7959     *
7960     * @param obj The entry object
7961     * @param label The item's text label
7962     * @param icon_file The item's icon file
7963     * @param icon_type The item's icon type
7964     * @param func The callback to execute when the item is clicked
7965     * @param data The data to associate with the item for related functions
7966     */
7967    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);
7968    /**
7969     * This disables the entry's contextual (longpress) menu.
7970     *
7971     * @param obj The entry object
7972     * @param disabled If true, the menu is disabled
7973     */
7974    EAPI void         elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
7975    /**
7976     * This returns whether the entry's contextual (longpress) menu is
7977     * disabled.
7978     *
7979     * @param obj The entry object
7980     * @return If true, the menu is disabled
7981     */
7982    EAPI Eina_Bool    elm_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7983    /**
7984     * This appends a custom item provider to the list for that entry
7985     *
7986     * This appends the given callback. The list is walked from beginning to end
7987     * with each function called given the item href string in the text. If the
7988     * function returns an object handle other than NULL (it should create an
7989     * object to do this), then this object is used to replace that item. If
7990     * not the next provider is called until one provides an item object, or the
7991     * default provider in entry does.
7992     *
7993     * @param obj The entry object
7994     * @param func The function called to provide the item object
7995     * @param data The data passed to @p func
7996     *
7997     * @see @ref entry-items
7998     */
7999    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);
8000    /**
8001     * This prepends a custom item provider to the list for that entry
8002     *
8003     * This prepends the given callback. See elm_entry_item_provider_append() for
8004     * more information
8005     *
8006     * @param obj The entry object
8007     * @param func The function called to provide the item object
8008     * @param data The data passed to @p func
8009     */
8010    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);
8011    /**
8012     * This removes a custom item provider to the list for that entry
8013     *
8014     * This removes the given callback. See elm_entry_item_provider_append() for
8015     * more information
8016     *
8017     * @param obj The entry object
8018     * @param func The function called to provide the item object
8019     * @param data The data passed to @p func
8020     */
8021    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);
8022    /**
8023     * Append a filter function for text inserted in the entry
8024     *
8025     * Append the given callback to the list. This functions will be called
8026     * whenever any text is inserted into the entry, with the text to be inserted
8027     * as a parameter. The callback function is free to alter the text in any way
8028     * it wants, but it must remember to free the given pointer and update it.
8029     * If the new text is to be discarded, the function can free it and set its
8030     * text parameter to NULL. This will also prevent any following filters from
8031     * being called.
8032     *
8033     * @param obj The entry object
8034     * @param func The function to use as text filter
8035     * @param data User data to pass to @p func
8036     */
8037    EAPI void         elm_entry_text_filter_append(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
8038    /**
8039     * Prepend a filter function for text insdrted in the entry
8040     *
8041     * Prepend the given callback to the list. See elm_entry_text_filter_append()
8042     * for more information
8043     *
8044     * @param obj The entry object
8045     * @param func The function to use as text filter
8046     * @param data User data to pass to @p func
8047     */
8048    EAPI void         elm_entry_text_filter_prepend(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
8049    /**
8050     * Remove a filter from the list
8051     *
8052     * Removes the given callback from the filter list. See
8053     * elm_entry_text_filter_append() for more information.
8054     *
8055     * @param obj The entry object
8056     * @param func The filter function to remove
8057     * @param data The user data passed when adding the function
8058     */
8059    EAPI void         elm_entry_text_filter_remove(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
8060    /**
8061     * This converts a markup (HTML-like) string into UTF-8.
8062     *
8063     * The returned string is a malloc'ed buffer and it should be freed when
8064     * not needed anymore.
8065     *
8066     * @param s The string (in markup) to be converted
8067     * @return The converted string (in UTF-8). It should be freed.
8068     */
8069    EAPI char        *elm_entry_markup_to_utf8(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
8070    /**
8071     * This converts a UTF-8 string into markup (HTML-like).
8072     *
8073     * The returned string is a malloc'ed buffer and it should be freed when
8074     * not needed anymore.
8075     *
8076     * @param s The string (in UTF-8) to be converted
8077     * @return The converted string (in markup). It should be freed.
8078     */
8079    EAPI char        *elm_entry_utf8_to_markup(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
8080    /**
8081     * This sets the file (and implicitly loads it) for the text to display and
8082     * then edit. All changes are written back to the file after a short delay if
8083     * the entry object is set to autosave (which is the default).
8084     *
8085     * If the entry had any other file set previously, any changes made to it
8086     * will be saved if the autosave feature is enabled, otherwise, the file
8087     * will be silently discarded and any non-saved changes will be lost.
8088     *
8089     * @param obj The entry object
8090     * @param file The path to the file to load and save
8091     * @param format The file format
8092     */
8093    EAPI void         elm_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
8094    /**
8095     * Gets the file being edited by the entry.
8096     *
8097     * This function can be used to retrieve any file set on the entry for
8098     * edition, along with the format used to load and save it.
8099     *
8100     * @param obj The entry object
8101     * @param file The path to the file to load and save
8102     * @param format The file format
8103     */
8104    EAPI void         elm_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
8105    /**
8106     * This function writes any changes made to the file set with
8107     * elm_entry_file_set()
8108     *
8109     * @param obj The entry object
8110     */
8111    EAPI void         elm_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
8112    /**
8113     * This sets the entry object to 'autosave' the loaded text file or not.
8114     *
8115     * @param obj The entry object
8116     * @param autosave Autosave the loaded file or not
8117     *
8118     * @see elm_entry_file_set()
8119     */
8120    EAPI void         elm_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
8121    /**
8122     * This gets the entry object's 'autosave' status.
8123     *
8124     * @param obj The entry object
8125     * @return Autosave the loaded file or not
8126     *
8127     * @see elm_entry_file_set()
8128     */
8129    EAPI Eina_Bool    elm_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8130    /**
8131     * Control pasting of text and images for the widget.
8132     *
8133     * Normally the entry allows both text and images to be pasted.  By setting
8134     * textonly to be true, this prevents images from being pasted.
8135     *
8136     * Note this only changes the behaviour of text.
8137     *
8138     * @param obj The entry object
8139     * @param textonly paste mode - EINA_TRUE is text only, EINA_FALSE is
8140     * text+image+other.
8141     */
8142    EAPI void         elm_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
8143    /**
8144     * Getting elm_entry text paste/drop mode.
8145     *
8146     * In textonly mode, only text may be pasted or dropped into the widget.
8147     *
8148     * @param obj The entry object
8149     * @return If the widget only accepts text from pastes.
8150     */
8151    EAPI Eina_Bool    elm_entry_cnp_textonly_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8152    /**
8153     * Enable or disable scrolling in entry
8154     *
8155     * Normally the entry is not scrollable unless you enable it with this call.
8156     *
8157     * @param obj The entry object
8158     * @param scroll EINA_TRUE if it is to be scrollable, EINA_FALSE otherwise
8159     */
8160    EAPI void         elm_entry_scrollable_set(Evas_Object *obj, Eina_Bool scroll);
8161    /**
8162     * Get the scrollable state of the entry
8163     *
8164     * Normally the entry is not scrollable. This gets the scrollable state
8165     * of the entry. See elm_entry_scrollable_set() for more information.
8166     *
8167     * @param obj The entry object
8168     * @return The scrollable state
8169     */
8170    EAPI Eina_Bool    elm_entry_scrollable_get(const Evas_Object *obj);
8171    /**
8172     * This sets a widget to be displayed to the left of a scrolled entry.
8173     *
8174     * @param obj The scrolled entry object
8175     * @param icon The widget to display on the left side of the scrolled
8176     * entry.
8177     *
8178     * @note A previously set widget will be destroyed.
8179     * @note If the object being set does not have minimum size hints set,
8180     * it won't get properly displayed.
8181     *
8182     * @see elm_entry_end_set()
8183     */
8184    EAPI void         elm_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
8185    /**
8186     * Gets the leftmost widget of the scrolled entry. This object is
8187     * owned by the scrolled entry and should not be modified.
8188     *
8189     * @param obj The scrolled entry object
8190     * @return the left widget inside the scroller
8191     */
8192    EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *obj);
8193    /**
8194     * Unset the leftmost widget of the scrolled entry, unparenting and
8195     * returning it.
8196     *
8197     * @param obj The scrolled entry object
8198     * @return the previously set icon sub-object of this entry, on
8199     * success.
8200     *
8201     * @see elm_entry_icon_set()
8202     */
8203    EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj);
8204    /**
8205     * Sets the visibility of the left-side widget of the scrolled entry,
8206     * set by @elm_entry_icon_set().
8207     *
8208     * @param obj The scrolled entry object
8209     * @param setting EINA_TRUE if the object should be displayed,
8210     * EINA_FALSE if not.
8211     */
8212    EAPI void         elm_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
8213    /**
8214     * This sets a widget to be displayed to the end of a scrolled entry.
8215     *
8216     * @param obj The scrolled entry object
8217     * @param end The widget to display on the right side of the scrolled
8218     * entry.
8219     *
8220     * @note A previously set widget will be destroyed.
8221     * @note If the object being set does not have minimum size hints set,
8222     * it won't get properly displayed.
8223     *
8224     * @see elm_entry_icon_set
8225     */
8226    EAPI void         elm_entry_end_set(Evas_Object *obj, Evas_Object *end);
8227    /**
8228     * Gets the endmost widget of the scrolled entry. This object is owned
8229     * by the scrolled entry and should not be modified.
8230     *
8231     * @param obj The scrolled entry object
8232     * @return the right widget inside the scroller
8233     */
8234    EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj);
8235    /**
8236     * Unset the endmost widget of the scrolled entry, unparenting and
8237     * returning it.
8238     *
8239     * @param obj The scrolled entry object
8240     * @return the previously set icon sub-object of this entry, on
8241     * success.
8242     *
8243     * @see elm_entry_icon_set()
8244     */
8245    EAPI Evas_Object *elm_entry_end_unset(Evas_Object *obj);
8246    /**
8247     * Sets the visibility of the end widget of the scrolled entry, set by
8248     * @elm_entry_end_set().
8249     *
8250     * @param obj The scrolled entry object
8251     * @param setting EINA_TRUE if the object should be displayed,
8252     * EINA_FALSE if not.
8253     */
8254    EAPI void         elm_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
8255    /**
8256     * This sets the scrolled entry's scrollbar policy (ie. enabling/disabling
8257     * them).
8258     *
8259     * Setting an entry to single-line mode with elm_entry_single_line_set()
8260     * will automatically disable the display of scrollbars when the entry
8261     * moves inside its scroller.
8262     *
8263     * @param obj The scrolled entry object
8264     * @param h The horizontal scrollbar policy to apply
8265     * @param v The vertical scrollbar policy to apply
8266     */
8267    EAPI void         elm_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
8268    /**
8269     * This enables/disables bouncing within the entry.
8270     *
8271     * This function sets whether the entry will bounce when scrolling reaches
8272     * the end of the contained entry.
8273     *
8274     * @param obj The scrolled entry object
8275     * @param h The horizontal bounce state
8276     * @param v The vertical bounce state
8277     */
8278    EAPI void         elm_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
8279    /**
8280     * Get the bounce mode
8281     *
8282     * @param obj The Entry object
8283     * @param h_bounce Allow bounce horizontally
8284     * @param v_bounce Allow bounce vertically
8285     */
8286    EAPI void         elm_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
8287
8288    /* pre-made filters for entries */
8289    /**
8290     * @typedef Elm_Entry_Filter_Limit_Size
8291     *
8292     * Data for the elm_entry_filter_limit_size() entry filter.
8293     */
8294    typedef struct _Elm_Entry_Filter_Limit_Size Elm_Entry_Filter_Limit_Size;
8295    /**
8296     * @struct _Elm_Entry_Filter_Limit_Size
8297     *
8298     * Data for the elm_entry_filter_limit_size() entry filter.
8299     */
8300    struct _Elm_Entry_Filter_Limit_Size
8301      {
8302         int max_char_count; /**< The maximum number of characters allowed. */
8303         int max_byte_count; /**< The maximum number of bytes allowed*/
8304      };
8305    /**
8306     * Filter inserted text based on user defined character and byte limits
8307     *
8308     * Add this filter to an entry to limit the characters that it will accept
8309     * based the the contents of the provided #Elm_Entry_Filter_Limit_Size.
8310     * The funtion works on the UTF-8 representation of the string, converting
8311     * it from the set markup, thus not accounting for any format in it.
8312     *
8313     * The user must create an #Elm_Entry_Filter_Limit_Size structure and pass
8314     * it as data when setting the filter. In it, it's possible to set limits
8315     * by character count or bytes (any of them is disabled if 0), and both can
8316     * be set at the same time. In that case, it first checks for characters,
8317     * then bytes.
8318     *
8319     * The function will cut the inserted text in order to allow only the first
8320     * number of characters that are still allowed. The cut is made in
8321     * characters, even when limiting by bytes, in order to always contain
8322     * valid ones and avoid half unicode characters making it in.
8323     *
8324     * This filter, like any others, does not apply when setting the entry text
8325     * directly with elm_object_text_set() (or the deprecated
8326     * elm_entry_entry_set()).
8327     */
8328    EAPI void         elm_entry_filter_limit_size(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 2, 3);
8329    /**
8330     * @typedef Elm_Entry_Filter_Accept_Set
8331     *
8332     * Data for the elm_entry_filter_accept_set() entry filter.
8333     */
8334    typedef struct _Elm_Entry_Filter_Accept_Set Elm_Entry_Filter_Accept_Set;
8335    /**
8336     * @struct _Elm_Entry_Filter_Accept_Set
8337     *
8338     * Data for the elm_entry_filter_accept_set() entry filter.
8339     */
8340    struct _Elm_Entry_Filter_Accept_Set
8341      {
8342         const char *accepted; /**< Set of characters accepted in the entry. */
8343         const char *rejected; /**< Set of characters rejected from the entry. */
8344      };
8345    /**
8346     * Filter inserted text based on accepted or rejected sets of characters
8347     *
8348     * Add this filter to an entry to restrict the set of accepted characters
8349     * based on the sets in the provided #Elm_Entry_Filter_Accept_Set.
8350     * This structure contains both accepted and rejected sets, but they are
8351     * mutually exclusive.
8352     *
8353     * The @c accepted set takes preference, so if it is set, the filter will
8354     * only work based on the accepted characters, ignoring anything in the
8355     * @c rejected value. If @c accepted is @c NULL, then @c rejected is used.
8356     *
8357     * In both cases, the function filters by matching utf8 characters to the
8358     * raw markup text, so it can be used to remove formatting tags.
8359     *
8360     * This filter, like any others, does not apply when setting the entry text
8361     * directly with elm_object_text_set() (or the deprecated
8362     * elm_entry_entry_set()).
8363     */
8364    EAPI void         elm_entry_filter_accept_set(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 3);
8365    /**
8366     * @}
8367     */
8368
8369    /* composite widgets - these basically put together basic widgets above
8370     * in convenient packages that do more than basic stuff */
8371
8372    /* anchorview */
8373    /**
8374     * @defgroup Anchorview Anchorview
8375     *
8376     * @image html img/widget/anchorview/preview-00.png
8377     * @image latex img/widget/anchorview/preview-00.eps
8378     *
8379     * Anchorview is for displaying text that contains markup with anchors
8380     * like <c>\<a href=1234\>something\</\></c> in it.
8381     *
8382     * Besides being styled differently, the anchorview widget provides the
8383     * necessary functionality so that clicking on these anchors brings up a
8384     * popup with user defined content such as "call", "add to contacts" or
8385     * "open web page". This popup is provided using the @ref Hover widget.
8386     *
8387     * This widget is very similar to @ref Anchorblock, so refer to that
8388     * widget for an example. The only difference Anchorview has is that the
8389     * widget is already provided with scrolling functionality, so if the
8390     * text set to it is too large to fit in the given space, it will scroll,
8391     * whereas the @ref Anchorblock widget will keep growing to ensure all the
8392     * text can be displayed.
8393     *
8394     * This widget emits the following signals:
8395     * @li "anchor,clicked": will be called when an anchor is clicked. The
8396     * @p event_info parameter on the callback will be a pointer of type
8397     * ::Elm_Entry_Anchorview_Info.
8398     *
8399     * See @ref Anchorblock for an example on how to use both of them.
8400     *
8401     * @see Anchorblock
8402     * @see Entry
8403     * @see Hover
8404     *
8405     * @{
8406     */
8407    /**
8408     * @typedef Elm_Entry_Anchorview_Info
8409     *
8410     * The info sent in the callback for "anchor,clicked" signals emitted by
8411     * the Anchorview widget.
8412     */
8413    typedef struct _Elm_Entry_Anchorview_Info Elm_Entry_Anchorview_Info;
8414    /**
8415     * @struct _Elm_Entry_Anchorview_Info
8416     *
8417     * The info sent in the callback for "anchor,clicked" signals emitted by
8418     * the Anchorview widget.
8419     */
8420    struct _Elm_Entry_Anchorview_Info
8421      {
8422         const char     *name; /**< Name of the anchor, as indicated in its href
8423                                    attribute */
8424         int             button; /**< The mouse button used to click on it */
8425         Evas_Object    *hover; /**< The hover object to use for the popup */
8426         struct {
8427              Evas_Coord    x, y, w, h;
8428         } anchor, /**< Geometry selection of text used as anchor */
8429           hover_parent; /**< Geometry of the object used as parent by the
8430                              hover */
8431         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
8432                                              for content on the left side of
8433                                              the hover. Before calling the
8434                                              callback, the widget will make the
8435                                              necessary calculations to check
8436                                              which sides are fit to be set with
8437                                              content, based on the position the
8438                                              hover is activated and its distance
8439                                              to the edges of its parent object
8440                                              */
8441         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
8442                                               the right side of the hover.
8443                                               See @ref hover_left */
8444         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
8445                                             of the hover. See @ref hover_left */
8446         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
8447                                                below the hover. See @ref
8448                                                hover_left */
8449      };
8450    /**
8451     * Add a new Anchorview object
8452     *
8453     * @param parent The parent object
8454     * @return The new object or NULL if it cannot be created
8455     */
8456    EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
8457    /**
8458     * Set the text to show in the anchorview
8459     *
8460     * Sets the text of the anchorview to @p text. This text can include markup
8461     * format tags, including <c>\<a href=anchorname\></c> to begin a segment of
8462     * text that will be specially styled and react to click events, ended with
8463     * either of \</a\> or \</\>. When clicked, the anchor will emit an
8464     * "anchor,clicked" signal that you can attach a callback to with
8465     * evas_object_smart_callback_add(). The name of the anchor given in the
8466     * event info struct will be the one set in the href attribute, in this
8467     * case, anchorname.
8468     *
8469     * Other markup can be used to style the text in different ways, but it's
8470     * up to the style defined in the theme which tags do what.
8471     * @deprecated use elm_object_text_set() instead.
8472     */
8473    EINA_DEPRECATED EAPI void         elm_anchorview_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
8474    /**
8475     * Get the markup text set for the anchorview
8476     *
8477     * Retrieves the text set on the anchorview, with markup tags included.
8478     *
8479     * @param obj The anchorview object
8480     * @return The markup text set or @c NULL if nothing was set or an error
8481     * occurred
8482     * @deprecated use elm_object_text_set() instead.
8483     */
8484    EINA_DEPRECATED EAPI const char  *elm_anchorview_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8485    /**
8486     * Set the parent of the hover popup
8487     *
8488     * Sets the parent object to use by the hover created by the anchorview
8489     * when an anchor is clicked. See @ref Hover for more details on this.
8490     * If no parent is set, the same anchorview object will be used.
8491     *
8492     * @param obj The anchorview object
8493     * @param parent The object to use as parent for the hover
8494     */
8495    EAPI void         elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
8496    /**
8497     * Get the parent of the hover popup
8498     *
8499     * Get the object used as parent for the hover created by the anchorview
8500     * widget. See @ref Hover for more details on this.
8501     *
8502     * @param obj The anchorview object
8503     * @return The object used as parent for the hover, NULL if none is set.
8504     */
8505    EAPI Evas_Object *elm_anchorview_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8506    /**
8507     * Set the style that the hover should use
8508     *
8509     * When creating the popup hover, anchorview will request that it's
8510     * themed according to @p style.
8511     *
8512     * @param obj The anchorview object
8513     * @param style The style to use for the underlying hover
8514     *
8515     * @see elm_object_style_set()
8516     */
8517    EAPI void         elm_anchorview_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
8518    /**
8519     * Get the style that the hover should use
8520     *
8521     * Get the style the hover created by anchorview will use.
8522     *
8523     * @param obj The anchorview object
8524     * @return The style to use by the hover. NULL means the default is used.
8525     *
8526     * @see elm_object_style_set()
8527     */
8528    EAPI const char  *elm_anchorview_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8529    /**
8530     * Ends the hover popup in the anchorview
8531     *
8532     * When an anchor is clicked, the anchorview widget will create a hover
8533     * object to use as a popup with user provided content. This function
8534     * terminates this popup, returning the anchorview to its normal state.
8535     *
8536     * @param obj The anchorview object
8537     */
8538    EAPI void         elm_anchorview_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
8539    /**
8540     * Set bouncing behaviour when the scrolled content reaches an edge
8541     *
8542     * Tell the internal scroller object whether it should bounce or not
8543     * when it reaches the respective edges for each axis.
8544     *
8545     * @param obj The anchorview object
8546     * @param h_bounce Whether to bounce or not in the horizontal axis
8547     * @param v_bounce Whether to bounce or not in the vertical axis
8548     *
8549     * @see elm_scroller_bounce_set()
8550     */
8551    EAPI void         elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
8552    /**
8553     * Get the set bouncing behaviour of the internal scroller
8554     *
8555     * Get whether the internal scroller should bounce when the edge of each
8556     * axis is reached scrolling.
8557     *
8558     * @param obj The anchorview object
8559     * @param h_bounce Pointer where to store the bounce state of the horizontal
8560     *                 axis
8561     * @param v_bounce Pointer where to store the bounce state of the vertical
8562     *                 axis
8563     *
8564     * @see elm_scroller_bounce_get()
8565     */
8566    EAPI void         elm_anchorview_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
8567    /**
8568     * Appends a custom item provider to the given anchorview
8569     *
8570     * Appends the given function to the list of items providers. This list is
8571     * called, one function at a time, with the given @p data pointer, the
8572     * anchorview object and, in the @p item parameter, the item name as
8573     * referenced in its href string. Following functions in the list will be
8574     * called in order until one of them returns something different to NULL,
8575     * which should be an Evas_Object which will be used in place of the item
8576     * element.
8577     *
8578     * Items in the markup text take the form \<item relsize=16x16 vsize=full
8579     * href=item/name\>\</item\>
8580     *
8581     * @param obj The anchorview object
8582     * @param func The function to add to the list of providers
8583     * @param data User data that will be passed to the callback function
8584     *
8585     * @see elm_entry_item_provider_append()
8586     */
8587    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);
8588    /**
8589     * Prepend a custom item provider to the given anchorview
8590     *
8591     * Like elm_anchorview_item_provider_append(), but it adds the function
8592     * @p func to the beginning of the list, instead of the end.
8593     *
8594     * @param obj The anchorview object
8595     * @param func The function to add to the list of providers
8596     * @param data User data that will be passed to the callback function
8597     */
8598    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);
8599    /**
8600     * Remove a custom item provider from the list of the given anchorview
8601     *
8602     * Removes the function and data pairing that matches @p func and @p data.
8603     * That is, unless the same function and same user data are given, the
8604     * function will not be removed from the list. This allows us to add the
8605     * same callback several times, with different @p data pointers and be
8606     * able to remove them later without conflicts.
8607     *
8608     * @param obj The anchorview object
8609     * @param func The function to remove from the list
8610     * @param data The data matching the function to remove from the list
8611     */
8612    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);
8613    /**
8614     * @}
8615     */
8616
8617    /* anchorblock */
8618    /**
8619     * @defgroup Anchorblock Anchorblock
8620     *
8621     * @image html img/widget/anchorblock/preview-00.png
8622     * @image latex img/widget/anchorblock/preview-00.eps
8623     *
8624     * Anchorblock is for displaying text that contains markup with anchors
8625     * like <c>\<a href=1234\>something\</\></c> in it.
8626     *
8627     * Besides being styled differently, the anchorblock widget provides the
8628     * necessary functionality so that clicking on these anchors brings up a
8629     * popup with user defined content such as "call", "add to contacts" or
8630     * "open web page". This popup is provided using the @ref Hover widget.
8631     *
8632     * This widget emits the following signals:
8633     * @li "anchor,clicked": will be called when an anchor is clicked. The
8634     * @p event_info parameter on the callback will be a pointer of type
8635     * ::Elm_Entry_Anchorblock_Info.
8636     *
8637     * @see Anchorview
8638     * @see Entry
8639     * @see Hover
8640     *
8641     * Since examples are usually better than plain words, we might as well
8642     * try @ref tutorial_anchorblock_example "one".
8643     */
8644    /**
8645     * @addtogroup Anchorblock
8646     * @{
8647     */
8648    /**
8649     * @typedef Elm_Entry_Anchorblock_Info
8650     *
8651     * The info sent in the callback for "anchor,clicked" signals emitted by
8652     * the Anchorblock widget.
8653     */
8654    typedef struct _Elm_Entry_Anchorblock_Info Elm_Entry_Anchorblock_Info;
8655    /**
8656     * @struct _Elm_Entry_Anchorblock_Info
8657     *
8658     * The info sent in the callback for "anchor,clicked" signals emitted by
8659     * the Anchorblock widget.
8660     */
8661    struct _Elm_Entry_Anchorblock_Info
8662      {
8663         const char     *name; /**< Name of the anchor, as indicated in its href
8664                                    attribute */
8665         int             button; /**< The mouse button used to click on it */
8666         Evas_Object    *hover; /**< The hover object to use for the popup */
8667         struct {
8668              Evas_Coord    x, y, w, h;
8669         } anchor, /**< Geometry selection of text used as anchor */
8670           hover_parent; /**< Geometry of the object used as parent by the
8671                              hover */
8672         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
8673                                              for content on the left side of
8674                                              the hover. Before calling the
8675                                              callback, the widget will make the
8676                                              necessary calculations to check
8677                                              which sides are fit to be set with
8678                                              content, based on the position the
8679                                              hover is activated and its distance
8680                                              to the edges of its parent object
8681                                              */
8682         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
8683                                               the right side of the hover.
8684                                               See @ref hover_left */
8685         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
8686                                             of the hover. See @ref hover_left */
8687         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
8688                                                below the hover. See @ref
8689                                                hover_left */
8690      };
8691    /**
8692     * Add a new Anchorblock object
8693     *
8694     * @param parent The parent object
8695     * @return The new object or NULL if it cannot be created
8696     */
8697    EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
8698    /**
8699     * Set the text to show in the anchorblock
8700     *
8701     * Sets the text of the anchorblock to @p text. This text can include markup
8702     * format tags, including <c>\<a href=anchorname\></a></c> to begin a segment
8703     * of text that will be specially styled and react to click events, ended
8704     * with either of \</a\> or \</\>. When clicked, the anchor will emit an
8705     * "anchor,clicked" signal that you can attach a callback to with
8706     * evas_object_smart_callback_add(). The name of the anchor given in the
8707     * event info struct will be the one set in the href attribute, in this
8708     * case, anchorname.
8709     *
8710     * Other markup can be used to style the text in different ways, but it's
8711     * up to the style defined in the theme which tags do what.
8712     * @deprecated use elm_object_text_set() instead.
8713     */
8714    EINA_DEPRECATED EAPI void         elm_anchorblock_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
8715    /**
8716     * Get the markup text set for the anchorblock
8717     *
8718     * Retrieves the text set on the anchorblock, with markup tags included.
8719     *
8720     * @param obj The anchorblock object
8721     * @return The markup text set or @c NULL if nothing was set or an error
8722     * occurred
8723     * @deprecated use elm_object_text_set() instead.
8724     */
8725    EINA_DEPRECATED EAPI const char  *elm_anchorblock_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8726    /**
8727     * Set the parent of the hover popup
8728     *
8729     * Sets the parent object to use by the hover created by the anchorblock
8730     * when an anchor is clicked. See @ref Hover for more details on this.
8731     *
8732     * @param obj The anchorblock object
8733     * @param parent The object to use as parent for the hover
8734     */
8735    EAPI void         elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
8736    /**
8737     * Get the parent of the hover popup
8738     *
8739     * Get the object used as parent for the hover created by the anchorblock
8740     * widget. See @ref Hover for more details on this.
8741     * If no parent is set, the same anchorblock object will be used.
8742     *
8743     * @param obj The anchorblock object
8744     * @return The object used as parent for the hover, NULL if none is set.
8745     */
8746    EAPI Evas_Object *elm_anchorblock_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8747    /**
8748     * Set the style that the hover should use
8749     *
8750     * When creating the popup hover, anchorblock will request that it's
8751     * themed according to @p style.
8752     *
8753     * @param obj The anchorblock object
8754     * @param style The style to use for the underlying hover
8755     *
8756     * @see elm_object_style_set()
8757     */
8758    EAPI void         elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
8759    /**
8760     * Get the style that the hover should use
8761     *
8762     * Get the style the hover created by anchorblock will use.
8763     *
8764     * @param obj The anchorblock object
8765     * @return The style to use by the hover. NULL means the default is used.
8766     *
8767     * @see elm_object_style_set()
8768     */
8769    EAPI const char  *elm_anchorblock_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8770    /**
8771     * Ends the hover popup in the anchorblock
8772     *
8773     * When an anchor is clicked, the anchorblock widget will create a hover
8774     * object to use as a popup with user provided content. This function
8775     * terminates this popup, returning the anchorblock to its normal state.
8776     *
8777     * @param obj The anchorblock object
8778     */
8779    EAPI void         elm_anchorblock_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
8780    /**
8781     * Appends a custom item provider to the given anchorblock
8782     *
8783     * Appends the given function to the list of items providers. This list is
8784     * called, one function at a time, with the given @p data pointer, the
8785     * anchorblock object and, in the @p item parameter, the item name as
8786     * referenced in its href string. Following functions in the list will be
8787     * called in order until one of them returns something different to NULL,
8788     * which should be an Evas_Object which will be used in place of the item
8789     * element.
8790     *
8791     * Items in the markup text take the form \<item relsize=16x16 vsize=full
8792     * href=item/name\>\</item\>
8793     *
8794     * @param obj The anchorblock object
8795     * @param func The function to add to the list of providers
8796     * @param data User data that will be passed to the callback function
8797     *
8798     * @see elm_entry_item_provider_append()
8799     */
8800    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);
8801    /**
8802     * Prepend a custom item provider to the given anchorblock
8803     *
8804     * Like elm_anchorblock_item_provider_append(), but it adds the function
8805     * @p func to the beginning of the list, instead of the end.
8806     *
8807     * @param obj The anchorblock object
8808     * @param func The function to add to the list of providers
8809     * @param data User data that will be passed to the callback function
8810     */
8811    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);
8812    /**
8813     * Remove a custom item provider from the list of the given anchorblock
8814     *
8815     * Removes the function and data pairing that matches @p func and @p data.
8816     * That is, unless the same function and same user data are given, the
8817     * function will not be removed from the list. This allows us to add the
8818     * same callback several times, with different @p data pointers and be
8819     * able to remove them later without conflicts.
8820     *
8821     * @param obj The anchorblock object
8822     * @param func The function to remove from the list
8823     * @param data The data matching the function to remove from the list
8824     */
8825    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);
8826    /**
8827     * @}
8828     */
8829
8830    /**
8831     * @defgroup Bubble Bubble
8832     *
8833     * @image html img/widget/bubble/preview-00.png
8834     * @image html img/widget/bubble/preview-01.png
8835     * @image html img/widget/bubble/preview-02.png
8836     *
8837     * @brief The Bubble is a widget to show text similarly to how speech is
8838     * represented in comics.
8839     *
8840     * The bubble widget contains 5 important visual elements:
8841     * @li The frame is a rectangle with rounded rectangles and an "arrow".
8842     * @li The @p icon is an image to which the frame's arrow points to.
8843     * @li The @p label is a text which appears to the right of the icon if the
8844     * corner is "top_left" or "bottom_left" and is right aligned to the frame
8845     * otherwise.
8846     * @li The @p info is a text which appears to the right of the label. Info's
8847     * font is of a ligther color than label.
8848     * @li The @p content is an evas object that is shown inside the frame.
8849     *
8850     * The position of the arrow, icon, label and info depends on which corner is
8851     * selected. The four available corners are:
8852     * @li "top_left" - Default
8853     * @li "top_right"
8854     * @li "bottom_left"
8855     * @li "bottom_right"
8856     *
8857     * Signals that you can add callbacks for are:
8858     * @li "clicked" - This is called when a user has clicked the bubble.
8859     *
8860     * For an example of using a buble see @ref bubble_01_example_page "this".
8861     *
8862     * @{
8863     */
8864    /**
8865     * Add a new bubble to the parent
8866     *
8867     * @param parent The parent object
8868     * @return The new object or NULL if it cannot be created
8869     *
8870     * This function adds a text bubble to the given parent evas object.
8871     */
8872    EAPI Evas_Object *elm_bubble_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
8873    /**
8874     * Set the label of the bubble
8875     *
8876     * @param obj The bubble object
8877     * @param label The string to set in the label
8878     *
8879     * This function sets the title of the bubble. Where this appears depends on
8880     * the selected corner.
8881     * @deprecated use elm_object_text_set() instead.
8882     */
8883    EINA_DEPRECATED EAPI void         elm_bubble_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
8884    /**
8885     * Get the label of the bubble
8886     *
8887     * @param obj The bubble object
8888     * @return The string of set in the label
8889     *
8890     * This function gets the title of the bubble.
8891     * @deprecated use elm_object_text_set() instead.
8892     */
8893    EINA_DEPRECATED EAPI const char  *elm_bubble_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8894    /**
8895     * Set the info of the bubble
8896     *
8897     * @param obj The bubble object
8898     * @param info The given info about the bubble
8899     *
8900     * This function sets the info of the bubble. Where this appears depends on
8901     * the selected corner.
8902     * @deprecated use elm_object_text_set() instead.
8903     */
8904    EINA_DEPRECATED EAPI void         elm_bubble_info_set(Evas_Object *obj, const char *info) EINA_ARG_NONNULL(1);
8905    /**
8906     * Get the info of the bubble
8907     *
8908     * @param obj The bubble object
8909     *
8910     * @return The "info" string of the bubble
8911     *
8912     * This function gets the info text.
8913     * @deprecated use elm_object_text_set() instead.
8914     */
8915    EINA_DEPRECATED EAPI const char  *elm_bubble_info_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8916    /**
8917     * Set the content to be shown in the bubble
8918     *
8919     * Once the content object is set, a previously set one will be deleted.
8920     * If you want to keep the old content object, use the
8921     * elm_bubble_content_unset() function.
8922     *
8923     * @param obj The bubble object
8924     * @param content The given content of the bubble
8925     *
8926     * This function sets the content shown on the middle of the bubble.
8927     */
8928    EAPI void         elm_bubble_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
8929    /**
8930     * Get the content shown in the bubble
8931     *
8932     * Return the content object which is set for this widget.
8933     *
8934     * @param obj The bubble object
8935     * @return The content that is being used
8936     */
8937    EAPI Evas_Object *elm_bubble_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8938    /**
8939     * Unset the content shown in the bubble
8940     *
8941     * Unparent and return the content object which was set for this widget.
8942     *
8943     * @param obj The bubble object
8944     * @return The content that was being used
8945     */
8946    EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
8947    /**
8948     * Set the icon of the bubble
8949     *
8950     * Once the icon object is set, a previously set one will be deleted.
8951     * If you want to keep the old content object, use the
8952     * elm_icon_content_unset() function.
8953     *
8954     * @param obj The bubble object
8955     * @param icon The given icon for the bubble
8956     */
8957    EAPI void         elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
8958    /**
8959     * Get the icon of the bubble
8960     *
8961     * @param obj The bubble object
8962     * @return The icon for the bubble
8963     *
8964     * This function gets the icon shown on the top left of bubble.
8965     */
8966    EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8967    /**
8968     * Unset the icon of the bubble
8969     *
8970     * Unparent and return the icon object which was set for this widget.
8971     *
8972     * @param obj The bubble object
8973     * @return The icon that was being used
8974     */
8975    EAPI Evas_Object *elm_bubble_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
8976    /**
8977     * Set the corner of the bubble
8978     *
8979     * @param obj The bubble object.
8980     * @param corner The given corner for the bubble.
8981     *
8982     * This function sets the corner of the bubble. The corner will be used to
8983     * determine where the arrow in the frame points to and where label, icon and
8984     * info arre shown.
8985     *
8986     * Possible values for corner are:
8987     * @li "top_left" - Default
8988     * @li "top_right"
8989     * @li "bottom_left"
8990     * @li "bottom_right"
8991     */
8992    EAPI void         elm_bubble_corner_set(Evas_Object *obj, const char *corner) EINA_ARG_NONNULL(1, 2);
8993    /**
8994     * Get the corner of the bubble
8995     *
8996     * @param obj The bubble object.
8997     * @return The given corner for the bubble.
8998     *
8999     * This function gets the selected corner of the bubble.
9000     */
9001    EAPI const char  *elm_bubble_corner_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9002    /**
9003     * @}
9004     */
9005
9006    /* photo */
9007    EAPI Evas_Object *elm_photo_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9008    EAPI Eina_Bool    elm_photo_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
9009    EAPI void         elm_photo_size_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
9010    EAPI void         elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill) EINA_ARG_NONNULL(1);
9011    EAPI void         elm_photo_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
9012    /* smart callbacks called:
9013     * "clicked" - the user clicked the icon
9014     * "drag,start" - Someone started dragging the image out of the object
9015     * "drag,end" - Dragged item was dropped (somewhere)
9016     */
9017
9018    /* gesture layer */
9019    /** @defgroup Elm_Gesture_Layer Gesture Layer */
9020    /**
9021     * @enum _Elm_Gesture_Types
9022     * Enum of supported gesture types.
9023     * @ingroup Elm_Gesture_Layer
9024     */
9025    typedef enum _Elm_Gesture_Types
9026      {
9027         ELM_GESTURE_FIRST = 0,
9028
9029         ELM_GESTURE_N_TAPS, /**< N fingers single taps */
9030         ELM_GESTURE_N_DOUBLE_TAPS, /**< N fingers double-single taps */
9031         ELM_GESTURE_N_TRIPLE_TAPS, /**< N fingers triple-single taps */
9032
9033         ELM_GESTURE_MOMENTUM, /**< Reports momentum in the dircetion of move */
9034
9035         ELM_GESTURE_N_LINES, /**< N fingers line gesture */
9036         ELM_GESTURE_N_FLICKS, /**< N fingers flick gesture */
9037
9038         ELM_GESTURE_ZOOM, /**< Zoom */
9039         ELM_GESTURE_ROTATE, /**< Rotate */
9040
9041         ELM_GESTURE_LAST
9042      } Elm_Gesture_Types;
9043
9044    /**
9045     * @enum _Elm_Gesture_State
9046     * Enum of gesture states.
9047     * @ingroup Elm_Gesture_Layer
9048     */
9049    typedef enum _Elm_Gesture_State
9050      {
9051         ELM_GESTURE_STATE_UNDEFINED = -1, /**< Gesture not STARTed */
9052         ELM_GESTURE_STATE_START,          /**< Gesture STARTed     */
9053         ELM_GESTURE_STATE_MOVE,           /**< Gesture is ongoing  */
9054         ELM_GESTURE_STATE_END,            /**< Gesture completed   */
9055         ELM_GESTURE_STATE_ABORT    /**< Onging gesture was ABORTed */
9056      } Elm_Gesture_State;
9057
9058    /**
9059     * @struct _Elm_Gesture_Taps_Info
9060     * Struct holds taps info for user
9061     * @ingroup Elm_Gesture_Layer
9062     */
9063    struct _Elm_Gesture_Taps_Info
9064      {
9065         Evas_Coord x, y;         /**< Holds center point between fingers */
9066         unsigned int n;          /**< Number of fingers tapped           */
9067         unsigned int timestamp;  /**< event timestamp       */
9068      };
9069
9070    /**
9071     * @typedef Elm_Gesture_Taps_Info
9072     * holds taps info for user
9073     * @ingroup Elm_Gesture_Layer
9074     */
9075    typedef struct _Elm_Gesture_Taps_Info Elm_Gesture_Taps_Info;
9076
9077    /**
9078     * @struct _Elm_Gesture_Momentum_Info
9079     * Struct holds momentum info for user
9080     * x1 and y1 are not necessarily in sync
9081     * x1 holds x value of x direction starting point
9082     * and same holds for y1.
9083     * This is noticeable when doing V-shape movement
9084     * @ingroup Elm_Gesture_Layer
9085     */
9086    struct _Elm_Gesture_Momentum_Info
9087      {  /* Report line ends, timestamps, and momentum computed        */
9088         Evas_Coord x1; /**< Final-swipe direction starting point on X */
9089         Evas_Coord y1; /**< Final-swipe direction starting point on Y */
9090         Evas_Coord x2; /**< Final-swipe direction ending point on X   */
9091         Evas_Coord y2; /**< Final-swipe direction ending point on Y   */
9092
9093         unsigned int tx; /**< Timestamp of start of final x-swipe */
9094         unsigned int ty; /**< Timestamp of start of final y-swipe */
9095
9096         Evas_Coord mx; /**< Momentum on X */
9097         Evas_Coord my; /**< Momentum on Y */
9098      };
9099
9100    /**
9101     * @typedef Elm_Gesture_Momentum_Info
9102     * holds momentum info for user
9103     * @ingroup Elm_Gesture_Layer
9104     */
9105     typedef struct _Elm_Gesture_Momentum_Info Elm_Gesture_Momentum_Info;
9106
9107    /**
9108     * @struct _Elm_Gesture_Line_Info
9109     * Struct holds line info for user
9110     * @ingroup Elm_Gesture_Layer
9111     */
9112    struct _Elm_Gesture_Line_Info
9113      {  /* Report line ends, timestamps, and momentum computed      */
9114         Elm_Gesture_Momentum_Info momentum; /**< Line momentum info */
9115         unsigned int n;            /**< Number of fingers (lines)   */
9116         /* FIXME should be radians, bot degrees */
9117         double angle;              /**< Angle (direction) of lines  */
9118      };
9119
9120    /**
9121     * @typedef _Elm_Gesture_Line_Info
9122     * Holds line info for user
9123     * @ingroup Elm_Gesture_Layer
9124     */
9125     typedef struct  _Elm_Gesture_Line_Info Elm_Gesture_Line_Info;
9126
9127    /**
9128     * @struct _Elm_Gesture_Zoom_Info
9129     * Struct holds zoom info for user
9130     * @ingroup Elm_Gesture_Layer
9131     */
9132    struct _Elm_Gesture_Zoom_Info
9133      {
9134         Evas_Coord x, y;       /**< Holds zoom center point reported to user  */
9135         Evas_Coord radius; /**< Holds radius between fingers reported to user */
9136         double zoom;            /**< Zoom value: 1.0 means no zoom             */
9137         double momentum;        /**< Zoom momentum: zoom growth per second (NOT YET SUPPORTED) */
9138      };
9139
9140    /**
9141     * @typedef Elm_Gesture_Zoom_Info
9142     * Holds zoom info for user
9143     * @ingroup Elm_Gesture_Layer
9144     */
9145    typedef struct _Elm_Gesture_Zoom_Info Elm_Gesture_Zoom_Info;
9146
9147    /**
9148     * @struct _Elm_Gesture_Rotate_Info
9149     * Struct holds rotation info for user
9150     * @ingroup Elm_Gesture_Layer
9151     */
9152    struct _Elm_Gesture_Rotate_Info
9153      {
9154         Evas_Coord x, y;   /**< Holds zoom center point reported to user      */
9155         Evas_Coord radius; /**< Holds radius between fingers reported to user */
9156         double base_angle; /**< Holds start-angle */
9157         double angle;      /**< Rotation value: 0.0 means no rotation         */
9158         double momentum;   /**< Rotation momentum: rotation done per second (NOT YET SUPPORTED) */
9159      };
9160
9161    /**
9162     * @typedef Elm_Gesture_Rotate_Info
9163     * Holds rotation info for user
9164     * @ingroup Elm_Gesture_Layer
9165     */
9166    typedef struct _Elm_Gesture_Rotate_Info Elm_Gesture_Rotate_Info;
9167
9168    /**
9169     * @typedef Elm_Gesture_Event_Cb
9170     * User callback used to stream gesture info from gesture layer
9171     * @param data user data
9172     * @param event_info gesture report info
9173     * Returns a flag field to be applied on the causing event.
9174     * You should probably return EVAS_EVENT_FLAG_ON_HOLD if your widget acted
9175     * upon the event, in an irreversible way.
9176     *
9177     * @ingroup Elm_Gesture_Layer
9178     */
9179    typedef Evas_Event_Flags (*Elm_Gesture_Event_Cb) (void *data, void *event_info);
9180
9181    /**
9182     * Use function to set callbacks to be notified about
9183     * change of state of gesture.
9184     * When a user registers a callback with this function
9185     * this means this gesture has to be tested.
9186     *
9187     * When ALL callbacks for a gesture are set to NULL
9188     * it means user isn't interested in gesture-state
9189     * and it will not be tested.
9190     *
9191     * @param obj Pointer to gesture-layer.
9192     * @param idx The gesture you would like to track its state.
9193     * @param cb callback function pointer.
9194     * @param cb_type what event this callback tracks: START, MOVE, END, ABORT.
9195     * @param data user info to be sent to callback (usually, Smart Data)
9196     *
9197     * @ingroup Elm_Gesture_Layer
9198     */
9199    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);
9200
9201    /**
9202     * Call this function to get repeat-events settings.
9203     *
9204     * @param obj Pointer to gesture-layer.
9205     *
9206     * @return repeat events settings.
9207     * @see elm_gesture_layer_hold_events_set()
9208     * @ingroup Elm_Gesture_Layer
9209     */
9210    EAPI Eina_Bool elm_gesture_layer_hold_events_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
9211
9212    /**
9213     * This function called in order to make gesture-layer repeat events.
9214     * Set this of you like to get the raw events only if gestures were not detected.
9215     * Clear this if you like gesture layer to fwd events as testing gestures.
9216     *
9217     * @param obj Pointer to gesture-layer.
9218     * @param r Repeat: TRUE/FALSE
9219     *
9220     * @ingroup Elm_Gesture_Layer
9221     */
9222    EAPI void elm_gesture_layer_hold_events_set(Evas_Object *obj, Eina_Bool r) EINA_ARG_NONNULL(1);
9223
9224    /**
9225     * This function sets step-value for zoom action.
9226     * Set step to any positive value.
9227     * Cancel step setting by setting to 0.0
9228     *
9229     * @param obj Pointer to gesture-layer.
9230     * @param s new zoom step value.
9231     *
9232     * @ingroup Elm_Gesture_Layer
9233     */
9234    EAPI void elm_gesture_layer_zoom_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
9235
9236    /**
9237     * This function sets step-value for rotate action.
9238     * Set step to any positive value.
9239     * Cancel step setting by setting to 0.0
9240     *
9241     * @param obj Pointer to gesture-layer.
9242     * @param s new roatate step value.
9243     *
9244     * @ingroup Elm_Gesture_Layer
9245     */
9246    EAPI void elm_gesture_layer_rotate_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
9247
9248    /**
9249     * This function called to attach gesture-layer to an Evas_Object.
9250     * @param obj Pointer to gesture-layer.
9251     * @param t Pointer to underlying object (AKA Target)
9252     *
9253     * @return TRUE, FALSE on success, failure.
9254     *
9255     * @ingroup Elm_Gesture_Layer
9256     */
9257    EAPI Eina_Bool elm_gesture_layer_attach(Evas_Object *obj, Evas_Object *t) EINA_ARG_NONNULL(1, 2);
9258
9259    /**
9260     * Call this function to construct a new gesture-layer object.
9261     * This does not activate the gesture layer. You have to
9262     * call elm_gesture_layer_attach in order to 'activate' gesture-layer.
9263     *
9264     * @param parent the parent object.
9265     *
9266     * @return Pointer to new gesture-layer object.
9267     *
9268     * @ingroup Elm_Gesture_Layer
9269     */
9270    EAPI Evas_Object *elm_gesture_layer_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9271
9272    /* thumb */
9273    typedef enum _Elm_Thumb_Animation_Setting
9274      {
9275         ELM_THUMB_ANIMATION_START = 0, /* Play animation once */
9276         ELM_THUMB_ANIMATION_LOOP,      /* Keep playing animation until stop is requested */
9277         ELM_THUMB_ANIMATION_STOP,
9278         ELM_THUMB_ANIMATION_LAST
9279      } Elm_Thumb_Animation_Setting;
9280
9281    EAPI Evas_Object                 *elm_thumb_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9282    EAPI void                         elm_thumb_reload(Evas_Object *obj) EINA_ARG_NONNULL(1);
9283    EAPI void                         elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key) EINA_ARG_NONNULL(1);
9284    EAPI void                         elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
9285    EAPI void                         elm_thumb_path_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
9286    EAPI void                         elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s) EINA_ARG_NONNULL(1);
9287    EAPI Elm_Thumb_Animation_Setting  elm_thumb_animate_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9288    EAPI void                        *elm_thumb_ethumb_client_get(void);
9289    EAPI Eina_Bool                    elm_thumb_ethumb_client_connected(void);
9290    EAPI Eina_Bool                    elm_thumb_editable_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
9291    EAPI Eina_Bool                    elm_thumb_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9292    /* available styles:
9293     * default
9294     * noframe
9295     */
9296    /* smart callbacks called:
9297     * "clicked" - This is called when a user has clicked the thumb without dragging around.
9298     * "clicked,double" - This is called when a user has double-clicked the thumb.
9299     * "press" - This is called when a user has pressed down the thumb.
9300     * "generate,start" - The thumbnail generation started.
9301     * "generate,stop" - The generation process stopped.
9302     * "generate,error" - The generation failed.
9303     * "load,error" - The thumbnail image loading failed.
9304     */
9305
9306    /**
9307     * @defgroup Hoversel
9308     *
9309     * @image html img/widget/hoversel/preview-00.png
9310     * @image latex img/widget/hoversel/preview-00.eps
9311     *
9312     * A hoversel is a button that pops up a list of items (automatically
9313     * choosing the direction to display) that have a label and, optionally, an
9314     * icon to select from. It is a convenience widget to avoid the need to do
9315     * all the piecing together yourself. It is intended for a small number of
9316     * items in the hoversel menu (no more than 8), though is capable of many
9317     * more.
9318     *
9319     * Signals that you can add callbacks for are:
9320     * "clicked" - the user clicked the hoversel button and popped up the sel
9321     * "selected" - an item in the hoversel list is selected. event_info is the item
9322     * "dismissed" - the hover is dismissed
9323     *
9324     * See @ref tutorial_hoversel for an example.
9325     * @{
9326     */
9327    typedef struct _Elm_Hoversel_Item Elm_Hoversel_Item; /**< Item of Elm_Hoversel. Sub-type of Elm_Widget_Item */
9328    /**
9329     * @brief Add a new Hoversel object
9330     *
9331     * @param parent The parent object
9332     * @return The new object or NULL if it cannot be created
9333     */
9334    EAPI Evas_Object       *elm_hoversel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9335    /**
9336     * @brief This sets the hoversel to expand horizontally.
9337     *
9338     * @param obj The hoversel object
9339     * @param horizontal If true, the hover will expand horizontally to the
9340     * right.
9341     *
9342     * @note The initial button will display horizontally regardless of this
9343     * setting.
9344     */
9345    EAPI void               elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
9346    /**
9347     * @brief This returns whether the hoversel is set to expand horizontally.
9348     *
9349     * @param obj The hoversel object
9350     * @return If true, the hover will expand horizontally to the right.
9351     *
9352     * @see elm_hoversel_horizontal_set()
9353     */
9354    EAPI Eina_Bool          elm_hoversel_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9355    /**
9356     * @brief Set the Hover parent
9357     *
9358     * @param obj The hoversel object
9359     * @param parent The parent to use
9360     *
9361     * Sets the hover parent object, the area that will be darkened when the
9362     * hoversel is clicked. Should probably be the window that the hoversel is
9363     * in. See @ref Hover objects for more information.
9364     */
9365    EAPI void               elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
9366    /**
9367     * @brief Get the Hover parent
9368     *
9369     * @param obj The hoversel object
9370     * @return The used parent
9371     *
9372     * Gets the hover parent object.
9373     *
9374     * @see elm_hoversel_hover_parent_set()
9375     */
9376    EAPI Evas_Object       *elm_hoversel_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9377    /**
9378     * @brief Set the hoversel button label
9379     *
9380     * @param obj The hoversel object
9381     * @param label The label text.
9382     *
9383     * This sets the label of the button that is always visible (before it is
9384     * clicked and expanded).
9385     *
9386     * @deprecated elm_object_text_set()
9387     */
9388    EINA_DEPRECATED EAPI void               elm_hoversel_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
9389    /**
9390     * @brief Get the hoversel button label
9391     *
9392     * @param obj The hoversel object
9393     * @return The label text.
9394     *
9395     * @deprecated elm_object_text_get()
9396     */
9397    EINA_DEPRECATED EAPI const char        *elm_hoversel_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9398    /**
9399     * @brief Set the icon of the hoversel button
9400     *
9401     * @param obj The hoversel object
9402     * @param icon The icon object
9403     *
9404     * Sets the icon of the button that is always visible (before it is clicked
9405     * and expanded).  Once the icon object is set, a previously set one will be
9406     * deleted, if you want to keep that old content object, use the
9407     * elm_hoversel_icon_unset() function.
9408     *
9409     * @see elm_button_icon_set()
9410     */
9411    EAPI void               elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
9412    /**
9413     * @brief Get the icon of the hoversel button
9414     *
9415     * @param obj The hoversel object
9416     * @return The icon object
9417     *
9418     * Get the icon of the button that is always visible (before it is clicked
9419     * and expanded). Also see elm_button_icon_get().
9420     *
9421     * @see elm_hoversel_icon_set()
9422     */
9423    EAPI Evas_Object       *elm_hoversel_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9424    /**
9425     * @brief Get and unparent the icon of the hoversel button
9426     *
9427     * @param obj The hoversel object
9428     * @return The icon object that was being used
9429     *
9430     * Unparent and return the icon of the button that is always visible
9431     * (before it is clicked and expanded).
9432     *
9433     * @see elm_hoversel_icon_set()
9434     * @see elm_button_icon_unset()
9435     */
9436    EAPI Evas_Object       *elm_hoversel_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
9437    /**
9438     * @brief This triggers the hoversel popup from code, the same as if the user
9439     * had clicked the button.
9440     *
9441     * @param obj The hoversel object
9442     */
9443    EAPI void               elm_hoversel_hover_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
9444    /**
9445     * @brief This dismisses the hoversel popup as if the user had clicked
9446     * outside the hover.
9447     *
9448     * @param obj The hoversel object
9449     */
9450    EAPI void               elm_hoversel_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
9451    /**
9452     * @brief Returns whether the hoversel is expanded.
9453     *
9454     * @param obj The hoversel object
9455     * @return  This will return EINA_TRUE if the hoversel is expanded or
9456     * EINA_FALSE if it is not expanded.
9457     */
9458    EAPI Eina_Bool          elm_hoversel_expanded_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9459    /**
9460     * @brief This will remove all the children items from the hoversel.
9461     *
9462     * @param obj The hoversel object
9463     *
9464     * @warning Should @b not be called while the hoversel is active; use
9465     * elm_hoversel_expanded_get() to check first.
9466     *
9467     * @see elm_hoversel_item_del_cb_set()
9468     * @see elm_hoversel_item_del()
9469     */
9470    EAPI void               elm_hoversel_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
9471    /**
9472     * @brief Get the list of items within the given hoversel.
9473     *
9474     * @param obj The hoversel object
9475     * @return Returns a list of Elm_Hoversel_Item*
9476     *
9477     * @see elm_hoversel_item_add()
9478     */
9479    EAPI const Eina_List   *elm_hoversel_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9480    /**
9481     * @brief Add an item to the hoversel button
9482     *
9483     * @param obj The hoversel object
9484     * @param label The text label to use for the item (NULL if not desired)
9485     * @param icon_file An image file path on disk to use for the icon or standard
9486     * icon name (NULL if not desired)
9487     * @param icon_type The icon type if relevant
9488     * @param func Convenience function to call when this item is selected
9489     * @param data Data to pass to item-related functions
9490     * @return A handle to the item added.
9491     *
9492     * This adds an item to the hoversel to show when it is clicked. Note: if you
9493     * need to use an icon from an edje file then use
9494     * elm_hoversel_item_icon_set() right after the this function, and set
9495     * icon_file to NULL here.
9496     *
9497     * For more information on what @p icon_file and @p icon_type are see the
9498     * @ref Icon "icon documentation".
9499     */
9500    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);
9501    /**
9502     * @brief Delete an item from the hoversel
9503     *
9504     * @param item The item to delete
9505     *
9506     * This deletes the item from the hoversel (should not be called while the
9507     * hoversel is active; use elm_hoversel_expanded_get() to check first).
9508     *
9509     * @see elm_hoversel_item_add()
9510     * @see elm_hoversel_item_del_cb_set()
9511     */
9512    EAPI void               elm_hoversel_item_del(Elm_Hoversel_Item *item) EINA_ARG_NONNULL(1);
9513    /**
9514     * @brief Set the function to be called when an item from the hoversel is
9515     * freed.
9516     *
9517     * @param item The item to set the callback on
9518     * @param func The function called
9519     *
9520     * That function will receive these parameters:
9521     * @li void *item_data
9522     * @li Evas_Object *the_item_object
9523     * @li Elm_Hoversel_Item *the_object_struct
9524     *
9525     * @see elm_hoversel_item_add()
9526     */
9527    EAPI void               elm_hoversel_item_del_cb_set(Elm_Hoversel_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
9528    /**
9529     * @brief This returns the data pointer supplied with elm_hoversel_item_add()
9530     * that will be passed to associated function callbacks.
9531     *
9532     * @param item The item to get the data from
9533     * @return The data pointer set with elm_hoversel_item_add()
9534     *
9535     * @see elm_hoversel_item_add()
9536     */
9537    EAPI void              *elm_hoversel_item_data_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
9538    /**
9539     * @brief This returns the label text of the given hoversel item.
9540     *
9541     * @param item The item to get the label
9542     * @return The label text of the hoversel item
9543     *
9544     * @see elm_hoversel_item_add()
9545     */
9546    EAPI const char        *elm_hoversel_item_label_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
9547    /**
9548     * @brief This sets the icon for the given hoversel item.
9549     *
9550     * @param item The item to set the icon
9551     * @param icon_file An image file path on disk to use for the icon or standard
9552     * icon name
9553     * @param icon_group The edje group to use if @p icon_file is an edje file. Set this
9554     * to NULL if the icon is not an edje file
9555     * @param icon_type The icon type
9556     *
9557     * The icon can be loaded from the standard set, from an image file, or from
9558     * an edje file.
9559     *
9560     * @see elm_hoversel_item_add()
9561     */
9562    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);
9563    /**
9564     * @brief Get the icon object of the hoversel item
9565     *
9566     * @param item The item to get the icon from
9567     * @param icon_file The image file path on disk used for the icon or standard
9568     * icon name
9569     * @param icon_group The edje group used if @p icon_file is an edje file. NULL
9570     * if the icon is not an edje file
9571     * @param icon_type The icon type
9572     *
9573     * @see elm_hoversel_item_icon_set()
9574     * @see elm_hoversel_item_add()
9575     */
9576    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);
9577    /**
9578     * @}
9579     */
9580
9581    /* toolbar */
9582    typedef enum _Elm_Toolbar_Shrink_Mode
9583      {
9584         ELM_TOOLBAR_SHRINK_NONE,   /**< set toolbar minimun size to fit all the items */
9585         ELM_TOOLBAR_SHRINK_HIDE,   /**< hide excess items */
9586         ELM_TOOLBAR_SHRINK_SCROLL, /**< allow accessing excess items through a scroller */
9587         ELM_TOOLBAR_SHRINK_MENU    /**< inserts a button to pop up a menu with excess items */
9588      } Elm_Toolbar_Shrink_Mode;
9589
9590    typedef struct _Elm_Toolbar_Item Elm_Toolbar_Item; /**< Item of Elm_Toolbar. Sub-type of Elm_Widget_Item */
9591    typedef struct _Elm_Toolbar_Item_State Elm_Toolbar_Item_State; /** State of a Elm_Toolbar_Item */
9592
9593    EAPI Evas_Object            *elm_toolbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9594    EAPI void                    elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size) EINA_ARG_NONNULL(1);
9595    EAPI int                     elm_toolbar_icon_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9596    EAPI void                    elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
9597    EAPI Elm_Icon_Lookup_Order   elm_toolbar_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9598    EAPI void                    elm_toolbar_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
9599    EAPI Eina_Bool               elm_toolbar_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9600    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);
9601    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);
9602    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);
9603    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);
9604    EAPI Elm_Toolbar_Item       *elm_toolbar_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9605    EAPI Elm_Toolbar_Item       *elm_toolbar_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9606    EAPI Elm_Toolbar_Item       *elm_toolbar_item_next_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9607    EAPI Elm_Toolbar_Item       *elm_toolbar_item_prev_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9608    EAPI Evas_Object            *elm_toolbar_item_toolbar_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9609    EAPI void                    elm_toolbar_item_priority_set(Elm_Toolbar_Item *item, int priority) EINA_ARG_NONNULL(1);
9610    EAPI int                     elm_toolbar_item_priority_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9611    EAPI const char             *elm_toolbar_item_icon_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9612    EAPI const char             *elm_toolbar_item_label_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9613    EAPI void                    elm_toolbar_item_label_set(Elm_Toolbar_Item *item, const char *label) EINA_ARG_NONNULL(1);
9614    EAPI void                   *elm_toolbar_item_data_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9615    EAPI void                    elm_toolbar_item_data_set(Elm_Toolbar_Item *item, const void *data) EINA_ARG_NONNULL(1);
9616    EAPI Elm_Toolbar_Item       *elm_toolbar_item_find_by_label(const Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
9617    EAPI Eina_Bool               elm_toolbar_item_selected_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9618    EAPI void                    elm_toolbar_item_selected_set(Elm_Toolbar_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
9619    EAPI Elm_Toolbar_Item       *elm_toolbar_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9620    EAPI void                    elm_toolbar_item_icon_set(Elm_Toolbar_Item *item, const char *icon) EINA_ARG_NONNULL(1);
9621    EAPI void                    elm_toolbar_item_del(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9622    EAPI void                    elm_toolbar_item_del_cb_set(Elm_Toolbar_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
9623    EAPI Eina_Bool               elm_toolbar_item_disabled_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9624    EAPI void                    elm_toolbar_item_disabled_set(Elm_Toolbar_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
9625    EAPI void                    elm_toolbar_item_separator_set(Elm_Toolbar_Item *item, Eina_Bool separator) EINA_ARG_NONNULL(1);
9626    EAPI Eina_Bool               elm_toolbar_item_separator_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9627    EAPI void                    elm_toolbar_mode_shrink_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode) EINA_ARG_NONNULL(1);
9628    EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_mode_shrink_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9629    EAPI void                    elm_toolbar_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
9630    EAPI Eina_Bool               elm_toolbar_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9631    EINA_DEPRECATED EAPI void    elm_toolbar_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
9632    EINA_DEPRECATED EAPI Eina_Bool elm_toolbar_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9633    EAPI void                    elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
9634    EAPI Evas_Object            *elm_toolbar_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9635    EAPI void                    elm_toolbar_align_set(Evas_Object *obj, double align) EINA_ARG_NONNULL(1);
9636    EAPI double                  elm_toolbar_align_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9637    EAPI void                    elm_toolbar_item_menu_set(Elm_Toolbar_Item *item, Eina_Bool menu) EINA_ARG_NONNULL(1);
9638    EAPI Evas_Object            *elm_toolbar_item_menu_get(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9639    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);
9640    EAPI Eina_Bool               elm_toolbar_item_state_del(Elm_Toolbar_Item *item, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
9641    EAPI Eina_Bool               elm_toolbar_item_state_set(Elm_Toolbar_Item *it, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
9642    EAPI void                    elm_toolbar_item_state_unset(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
9643    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_get(const Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
9644    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_next(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
9645    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_prev(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
9646    EAPI void                    elm_toolbar_item_tooltip_text_set(Elm_Toolbar_Item *item, const char *text) EINA_ARG_NONNULL(1);
9647    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);
9648    EAPI void                    elm_toolbar_item_tooltip_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9649    EAPI void                    elm_toolbar_item_tooltip_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
9650    EAPI const char             *elm_toolbar_item_tooltip_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9651    EAPI void                    elm_toolbar_item_cursor_set(Elm_Toolbar_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
9652    EAPI const char             *elm_toolbar_item_cursor_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9653    EAPI void                    elm_toolbar_item_cursor_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9654    EAPI void                    elm_toolbar_item_cursor_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
9655    EAPI const char             *elm_toolbar_item_cursor_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9656    EAPI void                    elm_toolbar_item_cursor_engine_only_set(Elm_Toolbar_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
9657    EAPI Eina_Bool               elm_toolbar_item_cursor_engine_only_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
9658    /* smart callbacks called:
9659     * "clicked" - when the user clicks on a toolbar item and becomes selected
9660     */
9661    /* available styles:
9662     * default
9663     * transparent (no background or shadow, just show the provided content)
9664     */
9665
9666    /* tooltip */
9667    EAPI double       elm_tooltip_delay_get(void);
9668    EAPI Eina_Bool    elm_tooltip_delay_set(double delay);
9669    EAPI void         elm_object_tooltip_show(Evas_Object *obj) EINA_ARG_NONNULL(1);
9670    EAPI void         elm_object_tooltip_hide(Evas_Object *obj) EINA_ARG_NONNULL(1);
9671    EAPI void         elm_object_tooltip_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1, 2);
9672    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);
9673    EAPI void         elm_object_tooltip_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
9674    EAPI void         elm_object_tooltip_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
9675    EAPI const char  *elm_object_tooltip_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9676    EAPI void         elm_object_cursor_set(Evas_Object *obj, const char *cursor) EINA_ARG_NONNULL(1);
9677    EAPI const char  *elm_object_cursor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9678    EAPI void         elm_object_cursor_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
9679    EAPI void         elm_object_cursor_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
9680    EAPI const char  *elm_object_cursor_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9681    EAPI void         elm_object_cursor_engine_only_set(Evas_Object *obj, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
9682    EAPI Eina_Bool    elm_object_cursor_engine_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9683    EAPI Eina_Bool    elm_tooltip_size_restrict_disable(Evas_Object *obj, Eina_Bool disable); EINA_ARG_NONNULL(1);
9684    EAPI Eina_Bool    elm_tooltip_size_restrict_disabled_get(const Evas_Object *obj); EINA_ARG_NONNULL(1);
9685
9686    /* cursors */
9687    EAPI int          elm_cursor_engine_only_get(void);
9688    EAPI Eina_Bool    elm_cursor_engine_only_set(int engine_only);
9689
9690    /* menu */
9691    typedef struct _Elm_Menu_Item Elm_Menu_Item; /**< Item of Elm_Menu. Sub-type of Elm_Widget_Item */
9692    EAPI Evas_Object       *elm_menu_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9693    EAPI void               elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
9694    EAPI Evas_Object       *elm_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9695    EAPI void               elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
9696    EAPI void               elm_menu_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
9697    EAPI const Eina_List   *elm_menu_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9698    EAPI Evas_Object       *elm_menu_item_object_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
9699    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);
9700    EAPI Elm_Menu_Item     *elm_menu_item_add_object(Evas_Object *obj, Elm_Menu_Item *parent, Evas_Object *subobj, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
9701    EAPI void               elm_menu_item_label_set(Elm_Menu_Item *item, const char *label) EINA_ARG_NONNULL(1);
9702    EAPI const char        *elm_menu_item_label_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
9703    EAPI void               elm_menu_item_icon_set(Elm_Menu_Item *item, const char *icon) EINA_ARG_NONNULL(1, 2);
9704    EAPI const char        *elm_menu_item_icon_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
9705    EAPI const Evas_Object *elm_menu_item_object_icon_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
9706    EAPI void               elm_menu_item_selected_set(Elm_Menu_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
9707    EAPI Eina_Bool          elm_menu_item_selected_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
9708    EAPI void               elm_menu_item_disabled_set(Elm_Menu_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
9709    EAPI Eina_Bool          elm_menu_item_disabled_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
9710    EAPI Elm_Menu_Item     *elm_menu_item_separator_add(Evas_Object *obj, Elm_Menu_Item *parent) EINA_ARG_NONNULL(1);
9711    EAPI Eina_Bool          elm_menu_item_is_separator(Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
9712    EAPI void               elm_menu_item_del(Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
9713    EAPI void               elm_menu_item_del_cb_set(Elm_Menu_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
9714    EAPI void              *elm_menu_item_data_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
9715    EAPI void               elm_menu_item_data_set(Elm_Menu_Item *item, const void *data) EINA_ARG_NONNULL(1);
9716    EAPI const Eina_List   *elm_menu_item_subitems_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
9717    EAPI const Elm_Menu_Item *elm_menu_selected_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
9718    EAPI const Elm_Menu_Item *elm_menu_last_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
9719    EAPI const Elm_Menu_Item *elm_menu_first_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
9720    EAPI const Elm_Menu_Item *elm_menu_item_next_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
9721    EAPI const Elm_Menu_Item *elm_menu_item_prev_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
9722
9723    /* smart callbacks called:
9724     * "clicked" - the user clicked the empty space in the menu to dismiss. event_info is NULL.
9725     */
9726
9727    /**
9728     * @defgroup List List
9729     * @ingroup Elementary
9730     *
9731     * @image html img/widget/list/preview-00.png
9732     * @image latex img/widget/list/preview-00.eps width=\textwidth
9733     *
9734     * @image html img/list.png
9735     * @image latex img/list.eps width=\textwidth
9736     *
9737     * A list widget is a container whose children are displayed vertically or
9738     * horizontally, in order, and can be selected.
9739     * The list can accept only one or multiple items selection. Also has many
9740     * modes of items displaying.
9741     *
9742     * A list is a very simple type of list widget.  For more robust
9743     * lists, @ref Genlist should probably be used.
9744     *
9745     * Smart callbacks one can listen to:
9746     * - @c "activated" - The user has double-clicked or pressed
9747     *   (enter|return|spacebar) on an item. The @c event_info parameter
9748     *   is the item that was activated.
9749     * - @c "clicked,double" - The user has double-clicked an item.
9750     *   The @c event_info parameter is the item that was double-clicked.
9751     * - "selected" - when the user selected an item
9752     * - "unselected" - when the user unselected an item
9753     * - "longpressed" - an item in the list is long-pressed
9754     * - "scroll,edge,top" - the list is scrolled until the top edge
9755     * - "scroll,edge,bottom" - the list is scrolled until the bottom edge
9756     * - "scroll,edge,left" - the list is scrolled until the left edge
9757     * - "scroll,edge,right" - the list is scrolled until the right edge
9758     *
9759     * Available styles for it:
9760     * - @c "default"
9761     *
9762     * List of examples:
9763     * @li @ref list_example_01
9764     * @li @ref list_example_02
9765     * @li @ref list_example_03
9766     */
9767
9768    /**
9769     * @addtogroup List
9770     * @{
9771     */
9772
9773    /**
9774     * @enum _Elm_List_Mode
9775     * @typedef Elm_List_Mode
9776     *
9777     * Set list's resize behavior, transverse axis scroll and
9778     * items cropping. See each mode's description for more details.
9779     *
9780     * @note Default value is #ELM_LIST_SCROLL.
9781     *
9782     * Values <b> don't </b> work as bitmaks, only one can be choosen.
9783     *
9784     * @see elm_list_mode_set()
9785     * @see elm_list_mode_get()
9786     *
9787     * @ingroup List
9788     */
9789    typedef enum _Elm_List_Mode
9790      {
9791         ELM_LIST_COMPRESS = 0, /**< Won't set any of its size hints to inform how a possible container should resize it. Then, if it's not created as a "resize object", it might end with zero dimensions. The list will respect the container's geometry and, if any of its items won't fit into its transverse axis, one won't be able to scroll it in that direction. */
9792         ELM_LIST_SCROLL, /**< Default value. Won't set any of its size hints to inform how a possible container should resize it. Then, if it's not created as a "resize object", it might end with zero dimensions. The list will respect the container's geometry and, if any of its items won't fit into its transverse axis, one will be able to scroll it in that direction (large items will get cropped). */
9793         ELM_LIST_LIMIT, /**< Set a minimun size hint on the list object, so that containers may respect it (and resize itself to fit the child properly). More specifically, a minimum size hint will be set for its transverse axis, so that the @b largest item in that direction fits well. Can have effects bounded by setting the list object's maximum size hints. */
9794         ELM_LIST_EXPAND, /**< Besides setting a minimum size on the transverse axis, just like the previous mode, will set a minimum size on the longitudinal axis too, trying to reserve space to all its children to be visible at a time. Can have effects bounded by setting the list object's maximum size hints. */
9795         ELM_LIST_LAST /**< Indicates error if returned by elm_list_mode_get() */
9796      } Elm_List_Mode;
9797
9798    typedef struct _Elm_List_Item Elm_List_Item; /**< Item of Elm_List. Sub-type of Elm_Widget_Item. Can be created with elm_list_item_append(), elm_list_item_prepend() and functions to add items in relative positions, like elm_list_item_insert_before(), and deleted with elm_list_item_del().  */
9799
9800    /**
9801     * Add a new list widget to the given parent Elementary
9802     * (container) object.
9803     *
9804     * @param parent The parent object.
9805     * @return a new list widget handle or @c NULL, on errors.
9806     *
9807     * This function inserts a new list widget on the canvas.
9808     *
9809     * @ingroup List
9810     */
9811    EAPI Evas_Object     *elm_list_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9812
9813    /**
9814     * Starts the list.
9815     *
9816     * @param obj The list object
9817     *
9818     * @note Call before running show() on the list object.
9819     * @warning If not called, it won't display the list properly.
9820     *
9821     * @code
9822     * li = elm_list_add(win);
9823     * elm_list_item_append(li, "First", NULL, NULL, NULL, NULL);
9824     * elm_list_item_append(li, "Second", NULL, NULL, NULL, NULL);
9825     * elm_list_go(li);
9826     * evas_object_show(li);
9827     * @endcode
9828     *
9829     * @ingroup List
9830     */
9831    EAPI void             elm_list_go(Evas_Object *obj) EINA_ARG_NONNULL(1);
9832
9833    /**
9834     * Enable or disable multiple items selection on the list object.
9835     *
9836     * @param obj The list object
9837     * @param multi @c EINA_TRUE to enable multi selection or @c EINA_FALSE to
9838     * disable it.
9839     *
9840     * Disabled by default. If disabled, the user can select a single item of
9841     * the list each time. Selected items are highlighted on list.
9842     * If enabled, many items can be selected.
9843     *
9844     * If a selected item is selected again, it will be unselected.
9845     *
9846     * @see elm_list_multi_select_get()
9847     *
9848     * @ingroup List
9849     */
9850    EAPI void             elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
9851
9852    /**
9853     * Get a value whether multiple items selection is enabled or not.
9854     *
9855     * @see elm_list_multi_select_set() for details.
9856     *
9857     * @param obj The list object.
9858     * @return @c EINA_TRUE means multiple items selection is enabled.
9859     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
9860     * @c EINA_FALSE is returned.
9861     *
9862     * @ingroup List
9863     */
9864    EAPI Eina_Bool        elm_list_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9865
9866    /**
9867     * Set which mode to use for the list object.
9868     *
9869     * @param obj The list object
9870     * @param mode One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
9871     * #ELM_LIST_LIMIT or #ELM_LIST_EXPAND.
9872     *
9873     * Set list's resize behavior, transverse axis scroll and
9874     * items cropping. See each mode's description for more details.
9875     *
9876     * @note Default value is #ELM_LIST_SCROLL.
9877     *
9878     * Only one can be set, if a previous one was set, it will be changed
9879     * by the new mode set. Bitmask won't work as well.
9880     *
9881     * @see elm_list_mode_get()
9882     *
9883     * @ingroup List
9884     */
9885    EAPI void             elm_list_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
9886
9887    /**
9888     * Get the mode the list is at.
9889     *
9890     * @param obj The list object
9891     * @return One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
9892     * #ELM_LIST_LIMIT, #ELM_LIST_EXPAND or #ELM_LIST_LAST on errors.
9893     *
9894     * @note see elm_list_mode_set() for more information.
9895     *
9896     * @ingroup List
9897     */
9898    EAPI Elm_List_Mode    elm_list_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9899
9900    /**
9901     * Enable or disable horizontal mode on the list object.
9902     *
9903     * @param obj The list object.
9904     * @param horizontal @c EINA_TRUE to enable horizontal or @c EINA_FALSE to
9905     * disable it, i.e., to enable vertical mode.
9906     *
9907     * @note Vertical mode is set by default.
9908     *
9909     * On horizontal mode items are displayed on list from left to right,
9910     * instead of from top to bottom. Also, the list will scroll horizontally.
9911     * Each item will presents left icon on top and right icon, or end, at
9912     * the bottom.
9913     *
9914     * @see elm_list_horizontal_get()
9915     *
9916     * @ingroup List
9917     */
9918    EAPI void             elm_list_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
9919
9920    /**
9921     * Get a value whether horizontal mode is enabled or not.
9922     *
9923     * @param obj The list object.
9924     * @return @c EINA_TRUE means horizontal mode selection is enabled.
9925     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
9926     * @c EINA_FALSE is returned.
9927     *
9928     * @see elm_list_horizontal_set() for details.
9929     *
9930     * @ingroup List
9931     */
9932    EAPI Eina_Bool        elm_list_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9933
9934    /**
9935     * Enable or disable always select mode on the list object.
9936     *
9937     * @param obj The list object
9938     * @param always_select @c EINA_TRUE to enable always select mode or
9939     * @c EINA_FALSE to disable it.
9940     *
9941     * @note Always select mode is disabled by default.
9942     *
9943     * Default behavior of list items is to only call its callback function
9944     * the first time it's pressed, i.e., when it is selected. If a selected
9945     * item is pressed again, and multi-select is disabled, it won't call
9946     * this function (if multi-select is enabled it will unselect the item).
9947     *
9948     * If always select is enabled, it will call the callback function
9949     * everytime a item is pressed, so it will call when the item is selected,
9950     * and again when a selected item is pressed.
9951     *
9952     * @see elm_list_always_select_mode_get()
9953     * @see elm_list_multi_select_set()
9954     *
9955     * @ingroup List
9956     */
9957    EAPI void             elm_list_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
9958
9959    /**
9960     * Get a value whether always select mode is enabled or not, meaning that
9961     * an item will always call its callback function, even if already selected.
9962     *
9963     * @param obj The list object
9964     * @return @c EINA_TRUE means horizontal mode selection is enabled.
9965     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
9966     * @c EINA_FALSE is returned.
9967     *
9968     * @see elm_list_always_select_mode_set() for details.
9969     *
9970     * @ingroup List
9971     */
9972    EAPI Eina_Bool        elm_list_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9973
9974    /**
9975     * Set bouncing behaviour when the scrolled content reaches an edge.
9976     *
9977     * Tell the internal scroller object whether it should bounce or not
9978     * when it reaches the respective edges for each axis.
9979     *
9980     * @param obj The list object
9981     * @param h_bounce Whether to bounce or not in the horizontal axis.
9982     * @param v_bounce Whether to bounce or not in the vertical axis.
9983     *
9984     * @see elm_scroller_bounce_set()
9985     *
9986     * @ingroup List
9987     */
9988    EAPI void             elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
9989
9990    /**
9991     * Get the bouncing behaviour of the internal scroller.
9992     *
9993     * Get whether the internal scroller should bounce when the edge of each
9994     * axis is reached scrolling.
9995     *
9996     * @param obj The list object.
9997     * @param h_bounce Pointer where to store the bounce state of the horizontal
9998     * axis.
9999     * @param v_bounce Pointer where to store the bounce state of the vertical
10000     * axis.
10001     *
10002     * @see elm_scroller_bounce_get()
10003     * @see elm_list_bounce_set()
10004     *
10005     * @ingroup List
10006     */
10007    EAPI void             elm_list_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
10008
10009    /**
10010     * Set the scrollbar policy.
10011     *
10012     * @param obj The list object
10013     * @param policy_h Horizontal scrollbar policy.
10014     * @param policy_v Vertical scrollbar policy.
10015     *
10016     * This sets the scrollbar visibility policy for the given scroller.
10017     * #ELM_SCROLLER_POLICY_AUTO means the scrollber is made visible if it
10018     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
10019     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
10020     * This applies respectively for the horizontal and vertical scrollbars.
10021     *
10022     * The both are disabled by default, i.e., are set to
10023     * #ELM_SCROLLER_POLICY_OFF.
10024     *
10025     * @ingroup List
10026     */
10027    EAPI void             elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
10028
10029    /**
10030     * Get the scrollbar policy.
10031     *
10032     * @see elm_list_scroller_policy_get() for details.
10033     *
10034     * @param obj The list object.
10035     * @param policy_h Pointer where to store horizontal scrollbar policy.
10036     * @param policy_v Pointer where to store vertical scrollbar policy.
10037     *
10038     * @ingroup List
10039     */
10040    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);
10041
10042    /**
10043     * Append a new item to the list object.
10044     *
10045     * @param obj The list object.
10046     * @param label The label of the list item.
10047     * @param icon The icon object to use for the left side of the item. An
10048     * icon can be any Evas object, but usually it is an icon created
10049     * with elm_icon_add().
10050     * @param end The icon object to use for the right side of the item. An
10051     * icon can be any Evas object.
10052     * @param func The function to call when the item is clicked.
10053     * @param data The data to associate with the item for related callbacks.
10054     *
10055     * @return The created item or @c NULL upon failure.
10056     *
10057     * A new item will be created and appended to the list, i.e., will
10058     * be set as @b last item.
10059     *
10060     * Items created with this method can be deleted with
10061     * elm_list_item_del().
10062     *
10063     * Associated @p data can be properly freed when item is deleted if a
10064     * callback function is set with elm_list_item_del_cb_set().
10065     *
10066     * If a function is passed as argument, it will be called everytime this item
10067     * is selected, i.e., the user clicks over an unselected item.
10068     * If always select is enabled it will call this function every time
10069     * user clicks over an item (already selected or not).
10070     * If such function isn't needed, just passing
10071     * @c NULL as @p func is enough. The same should be done for @p data.
10072     *
10073     * Simple example (with no function callback or data associated):
10074     * @code
10075     * li = elm_list_add(win);
10076     * ic = elm_icon_add(win);
10077     * elm_icon_file_set(ic, "path/to/image", NULL);
10078     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
10079     * elm_list_item_append(li, "label", ic, NULL, NULL, NULL);
10080     * elm_list_go(li);
10081     * evas_object_show(li);
10082     * @endcode
10083     *
10084     * @see elm_list_always_select_mode_set()
10085     * @see elm_list_item_del()
10086     * @see elm_list_item_del_cb_set()
10087     * @see elm_list_clear()
10088     * @see elm_icon_add()
10089     *
10090     * @ingroup List
10091     */
10092    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);
10093
10094    /**
10095     * Prepend a new item to the list object.
10096     *
10097     * @param obj The list object.
10098     * @param label The label of the list item.
10099     * @param icon The icon object to use for the left side of the item. An
10100     * icon can be any Evas object, but usually it is an icon created
10101     * with elm_icon_add().
10102     * @param end The icon object to use for the right side of the item. An
10103     * icon can be any Evas object.
10104     * @param func The function to call when the item is clicked.
10105     * @param data The data to associate with the item for related callbacks.
10106     *
10107     * @return The created item or @c NULL upon failure.
10108     *
10109     * A new item will be created and prepended to the list, i.e., will
10110     * be set as @b first item.
10111     *
10112     * Items created with this method can be deleted with
10113     * elm_list_item_del().
10114     *
10115     * Associated @p data can be properly freed when item is deleted if a
10116     * callback function is set with elm_list_item_del_cb_set().
10117     *
10118     * If a function is passed as argument, it will be called everytime this item
10119     * is selected, i.e., the user clicks over an unselected item.
10120     * If always select is enabled it will call this function every time
10121     * user clicks over an item (already selected or not).
10122     * If such function isn't needed, just passing
10123     * @c NULL as @p func is enough. The same should be done for @p data.
10124     *
10125     * @see elm_list_item_append() for a simple code example.
10126     * @see elm_list_always_select_mode_set()
10127     * @see elm_list_item_del()
10128     * @see elm_list_item_del_cb_set()
10129     * @see elm_list_clear()
10130     * @see elm_icon_add()
10131     *
10132     * @ingroup List
10133     */
10134    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);
10135
10136    /**
10137     * Insert a new item into the list object before item @p before.
10138     *
10139     * @param obj The list object.
10140     * @param before The list item to insert before.
10141     * @param label The label of the list item.
10142     * @param icon The icon object to use for the left side of the item. An
10143     * icon can be any Evas object, but usually it is an icon created
10144     * with elm_icon_add().
10145     * @param end The icon object to use for the right side of the item. An
10146     * icon can be any Evas object.
10147     * @param func The function to call when the item is clicked.
10148     * @param data The data to associate with the item for related callbacks.
10149     *
10150     * @return The created item or @c NULL upon failure.
10151     *
10152     * A new item will be created and added to the list. Its position in
10153     * this list will be just before item @p before.
10154     *
10155     * Items created with this method can be deleted with
10156     * elm_list_item_del().
10157     *
10158     * Associated @p data can be properly freed when item is deleted if a
10159     * callback function is set with elm_list_item_del_cb_set().
10160     *
10161     * If a function is passed as argument, it will be called everytime this item
10162     * is selected, i.e., the user clicks over an unselected item.
10163     * If always select is enabled it will call this function every time
10164     * user clicks over an item (already selected or not).
10165     * If such function isn't needed, just passing
10166     * @c NULL as @p func is enough. The same should be done for @p data.
10167     *
10168     * @see elm_list_item_append() for a simple code example.
10169     * @see elm_list_always_select_mode_set()
10170     * @see elm_list_item_del()
10171     * @see elm_list_item_del_cb_set()
10172     * @see elm_list_clear()
10173     * @see elm_icon_add()
10174     *
10175     * @ingroup List
10176     */
10177    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);
10178
10179    /**
10180     * Insert a new item into the list object after item @p after.
10181     *
10182     * @param obj The list object.
10183     * @param after The list item to insert after.
10184     * @param label The label of the list item.
10185     * @param icon The icon object to use for the left side of the item. An
10186     * icon can be any Evas object, but usually it is an icon created
10187     * with elm_icon_add().
10188     * @param end The icon object to use for the right side of the item. An
10189     * icon can be any Evas object.
10190     * @param func The function to call when the item is clicked.
10191     * @param data The data to associate with the item for related callbacks.
10192     *
10193     * @return The created item or @c NULL upon failure.
10194     *
10195     * A new item will be created and added to the list. Its position in
10196     * this list will be just after item @p after.
10197     *
10198     * Items created with this method can be deleted with
10199     * elm_list_item_del().
10200     *
10201     * Associated @p data can be properly freed when item is deleted if a
10202     * callback function is set with elm_list_item_del_cb_set().
10203     *
10204     * If a function is passed as argument, it will be called everytime this item
10205     * is selected, i.e., the user clicks over an unselected item.
10206     * If always select is enabled it will call this function every time
10207     * user clicks over an item (already selected or not).
10208     * If such function isn't needed, just passing
10209     * @c NULL as @p func is enough. The same should be done for @p data.
10210     *
10211     * @see elm_list_item_append() for a simple code example.
10212     * @see elm_list_always_select_mode_set()
10213     * @see elm_list_item_del()
10214     * @see elm_list_item_del_cb_set()
10215     * @see elm_list_clear()
10216     * @see elm_icon_add()
10217     *
10218     * @ingroup List
10219     */
10220    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);
10221
10222    /**
10223     * Insert a new item into the sorted list object.
10224     *
10225     * @param obj The list object.
10226     * @param label The label of the list item.
10227     * @param icon The icon object to use for the left side of the item. An
10228     * icon can be any Evas object, but usually it is an icon created
10229     * with elm_icon_add().
10230     * @param end The icon object to use for the right side of the item. An
10231     * icon can be any Evas object.
10232     * @param func The function to call when the item is clicked.
10233     * @param data The data to associate with the item for related callbacks.
10234     * @param cmp_func The comparing function to be used to sort list
10235     * items <b>by #Elm_List_Item item handles</b>. This function will
10236     * receive two items and compare them, returning a non-negative integer
10237     * if the second item should be place after the first, or negative value
10238     * if should be placed before.
10239     *
10240     * @return The created item or @c NULL upon failure.
10241     *
10242     * @note This function inserts values into a list object assuming it was
10243     * sorted and the result will be sorted.
10244     *
10245     * A new item will be created and added to the list. Its position in
10246     * this list will be found comparing the new item with previously inserted
10247     * items using function @p cmp_func.
10248     *
10249     * Items created with this method can be deleted with
10250     * elm_list_item_del().
10251     *
10252     * Associated @p data can be properly freed when item is deleted if a
10253     * callback function is set with elm_list_item_del_cb_set().
10254     *
10255     * If a function is passed as argument, it will be called everytime this item
10256     * is selected, i.e., the user clicks over an unselected item.
10257     * If always select is enabled it will call this function every time
10258     * user clicks over an item (already selected or not).
10259     * If such function isn't needed, just passing
10260     * @c NULL as @p func is enough. The same should be done for @p data.
10261     *
10262     * @see elm_list_item_append() for a simple code example.
10263     * @see elm_list_always_select_mode_set()
10264     * @see elm_list_item_del()
10265     * @see elm_list_item_del_cb_set()
10266     * @see elm_list_clear()
10267     * @see elm_icon_add()
10268     *
10269     * @ingroup List
10270     */
10271    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);
10272
10273    /**
10274     * Remove all list's items.
10275     *
10276     * @param obj The list object
10277     *
10278     * @see elm_list_item_del()
10279     * @see elm_list_item_append()
10280     *
10281     * @ingroup List
10282     */
10283    EAPI void             elm_list_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
10284
10285    /**
10286     * Get a list of all the list items.
10287     *
10288     * @param obj The list object
10289     * @return An @c Eina_List of list items, #Elm_List_Item,
10290     * or @c NULL on failure.
10291     *
10292     * @see elm_list_item_append()
10293     * @see elm_list_item_del()
10294     * @see elm_list_clear()
10295     *
10296     * @ingroup List
10297     */
10298    EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10299
10300    /**
10301     * Get the selected item.
10302     *
10303     * @param obj The list object.
10304     * @return The selected list item.
10305     *
10306     * The selected item can be unselected with function
10307     * elm_list_item_selected_set().
10308     *
10309     * The selected item always will be highlighted on list.
10310     *
10311     * @see elm_list_selected_items_get()
10312     *
10313     * @ingroup List
10314     */
10315    EAPI Elm_List_Item   *elm_list_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10316
10317    /**
10318     * Return a list of the currently selected list items.
10319     *
10320     * @param obj The list object.
10321     * @return An @c Eina_List of list items, #Elm_List_Item,
10322     * or @c NULL on failure.
10323     *
10324     * Multiple items can be selected if multi select is enabled. It can be
10325     * done with elm_list_multi_select_set().
10326     *
10327     * @see elm_list_selected_item_get()
10328     * @see elm_list_multi_select_set()
10329     *
10330     * @ingroup List
10331     */
10332    EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10333
10334    /**
10335     * Set the selected state of an item.
10336     *
10337     * @param item The list item
10338     * @param selected The selected state
10339     *
10340     * This sets the selected state of the given item @p it.
10341     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
10342     *
10343     * If a new item is selected the previosly selected will be unselected,
10344     * unless multiple selection is enabled with elm_list_multi_select_set().
10345     * Previoulsy selected item can be get with function
10346     * elm_list_selected_item_get().
10347     *
10348     * Selected items will be highlighted.
10349     *
10350     * @see elm_list_item_selected_get()
10351     * @see elm_list_selected_item_get()
10352     * @see elm_list_multi_select_set()
10353     *
10354     * @ingroup List
10355     */
10356    EAPI void             elm_list_item_selected_set(Elm_List_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
10357
10358    /*
10359     * Get whether the @p item is selected or not.
10360     *
10361     * @param item The list item.
10362     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
10363     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
10364     *
10365     * @see elm_list_selected_item_set() for details.
10366     * @see elm_list_item_selected_get()
10367     *
10368     * @ingroup List
10369     */
10370    EAPI Eina_Bool        elm_list_item_selected_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
10371
10372    /**
10373     * Set or unset item as a separator.
10374     *
10375     * @param it The list item.
10376     * @param setting @c EINA_TRUE to set item @p it as separator or
10377     * @c EINA_FALSE to unset, i.e., item will be used as a regular item.
10378     *
10379     * Items aren't set as separator by default.
10380     *
10381     * If set as separator it will display separator theme, so won't display
10382     * icons or label.
10383     *
10384     * @see elm_list_item_separator_get()
10385     *
10386     * @ingroup List
10387     */
10388    EAPI void             elm_list_item_separator_set(Elm_List_Item *it, Eina_Bool setting) EINA_ARG_NONNULL(1);
10389
10390    /**
10391     * Get a value whether item is a separator or not.
10392     *
10393     * @see elm_list_item_separator_set() for details.
10394     *
10395     * @param it The list item.
10396     * @return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
10397     * indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
10398     *
10399     * @ingroup List
10400     */
10401    EAPI Eina_Bool        elm_list_item_separator_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
10402
10403    /**
10404     * Show @p item in the list view.
10405     *
10406     * @param item The list item to be shown.
10407     *
10408     * It won't animate list until item is visible. If such behavior is wanted,
10409     * use elm_list_bring_in() intead.
10410     *
10411     * @ingroup List
10412     */
10413    EAPI void             elm_list_item_show(Elm_List_Item *item) EINA_ARG_NONNULL(1);
10414
10415    /**
10416     * Bring in the given item to list view.
10417     *
10418     * @param item The item.
10419     *
10420     * This causes list to jump to the given item @p item and show it
10421     * (by scrolling), if it is not fully visible.
10422     *
10423     * This may use animation to do so and take a period of time.
10424     *
10425     * If animation isn't wanted, elm_list_item_show() can be used.
10426     *
10427     * @ingroup List
10428     */
10429    EAPI void             elm_list_item_bring_in(Elm_List_Item *item) EINA_ARG_NONNULL(1);
10430
10431    /**
10432     * Delete them item from the list.
10433     *
10434     * @param item The item of list to be deleted.
10435     *
10436     * If deleting all list items is required, elm_list_clear()
10437     * should be used instead of getting items list and deleting each one.
10438     *
10439     * @see elm_list_clear()
10440     * @see elm_list_item_append()
10441     * @see elm_list_item_del_cb_set()
10442     *
10443     * @ingroup List
10444     */
10445    EAPI void             elm_list_item_del(Elm_List_Item *item) EINA_ARG_NONNULL(1);
10446
10447    /**
10448     * Set the function called when a list item is freed.
10449     *
10450     * @param item The item to set the callback on
10451     * @param func The function called
10452     *
10453     * If there is a @p func, then it will be called prior item's memory release.
10454     * That will be called with the following arguments:
10455     * @li item's data;
10456     * @li item's Evas object;
10457     * @li item itself;
10458     *
10459     * This way, a data associated to a list item could be properly freed.
10460     *
10461     * @ingroup List
10462     */
10463    EAPI void             elm_list_item_del_cb_set(Elm_List_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
10464
10465    /**
10466     * Get the data associated to the item.
10467     *
10468     * @param item The list item
10469     * @return The data associated to @p item
10470     *
10471     * The return value is a pointer to data associated to @p item when it was
10472     * created, with function elm_list_item_append() or similar. If no data
10473     * was passed as argument, it will return @c NULL.
10474     *
10475     * @see elm_list_item_append()
10476     *
10477     * @ingroup List
10478     */
10479    EAPI void            *elm_list_item_data_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
10480
10481    /**
10482     * Get the left side icon associated to the item.
10483     *
10484     * @param item The list item
10485     * @return The left side icon associated to @p item
10486     *
10487     * The return value is a pointer to the icon associated to @p item when
10488     * it was
10489     * created, with function elm_list_item_append() or similar, or later
10490     * with function elm_list_item_icon_set(). If no icon
10491     * was passed as argument, it will return @c NULL.
10492     *
10493     * @see elm_list_item_append()
10494     * @see elm_list_item_icon_set()
10495     *
10496     * @ingroup List
10497     */
10498    EAPI Evas_Object     *elm_list_item_icon_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
10499
10500    /**
10501     * Set the left side icon associated to the item.
10502     *
10503     * @param item The list item
10504     * @param icon The left side icon object to associate with @p item
10505     *
10506     * The icon object to use at left side of the item. An
10507     * icon can be any Evas object, but usually it is an icon created
10508     * with elm_icon_add().
10509     *
10510     * Once the icon object is set, a previously set one will be deleted.
10511     * @warning Setting the same icon for two items will cause the icon to
10512     * dissapear from the first item.
10513     *
10514     * If an icon was passed as argument on item creation, with function
10515     * elm_list_item_append() or similar, it will be already
10516     * associated to the item.
10517     *
10518     * @see elm_list_item_append()
10519     * @see elm_list_item_icon_get()
10520     *
10521     * @ingroup List
10522     */
10523    EAPI void             elm_list_item_icon_set(Elm_List_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
10524
10525    /**
10526     * Get the right side icon associated to the item.
10527     *
10528     * @param item The list item
10529     * @return The right side icon associated to @p item
10530     *
10531     * The return value is a pointer to the icon associated to @p item when
10532     * it was
10533     * created, with function elm_list_item_append() or similar, or later
10534     * with function elm_list_item_icon_set(). If no icon
10535     * was passed as argument, it will return @c NULL.
10536     *
10537     * @see elm_list_item_append()
10538     * @see elm_list_item_icon_set()
10539     *
10540     * @ingroup List
10541     */
10542    EAPI Evas_Object     *elm_list_item_end_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
10543
10544    /**
10545     * Set the right side icon associated to the item.
10546     *
10547     * @param item The list item
10548     * @param end The right side icon object to associate with @p item
10549     *
10550     * The icon object to use at right side of the item. An
10551     * icon can be any Evas object, but usually it is an icon created
10552     * with elm_icon_add().
10553     *
10554     * Once the icon object is set, a previously set one will be deleted.
10555     * @warning Setting the same icon for two items will cause the icon to
10556     * dissapear from the first item.
10557     *
10558     * If an icon was passed as argument on item creation, with function
10559     * elm_list_item_append() or similar, it will be already
10560     * associated to the item.
10561     *
10562     * @see elm_list_item_append()
10563     * @see elm_list_item_end_get()
10564     *
10565     * @ingroup List
10566     */
10567    EAPI void             elm_list_item_end_set(Elm_List_Item *item, Evas_Object *end) EINA_ARG_NONNULL(1);
10568
10569    /**
10570     * Gets the base object of the item.
10571     *
10572     * @param item The list item
10573     * @return The base object associated with @p item
10574     *
10575     * Base object is the @c Evas_Object that represents that item.
10576     *
10577     * @ingroup List
10578     */
10579    EAPI Evas_Object     *elm_list_item_base_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
10580
10581    /**
10582     * Get the label of item.
10583     *
10584     * @param item The item of list.
10585     * @return The label of item.
10586     *
10587     * The return value is a pointer to the label associated to @p item when
10588     * it was created, with function elm_list_item_append(), or later
10589     * with function elm_list_item_label_set. If no label
10590     * was passed as argument, it will return @c NULL.
10591     *
10592     * @see elm_list_item_label_set() for more details.
10593     * @see elm_list_item_append()
10594     *
10595     * @ingroup List
10596     */
10597    EAPI const char      *elm_list_item_label_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
10598
10599    /**
10600     * Set the label of item.
10601     *
10602     * @param item The item of list.
10603     * @param text The label of item.
10604     *
10605     * The label to be displayed by the item.
10606     * Label will be placed between left and right side icons (if set).
10607     *
10608     * If a label was passed as argument on item creation, with function
10609     * elm_list_item_append() or similar, it will be already
10610     * displayed by the item.
10611     *
10612     * @see elm_list_item_label_get()
10613     * @see elm_list_item_append()
10614     *
10615     * @ingroup List
10616     */
10617    EAPI void             elm_list_item_label_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
10618
10619
10620    /**
10621     * Get the item before @p it in list.
10622     *
10623     * @param it The list item.
10624     * @return The item before @p it, or @c NULL if none or on failure.
10625     *
10626     * @note If it is the first item, @c NULL will be returned.
10627     *
10628     * @see elm_list_item_append()
10629     * @see elm_list_items_get()
10630     *
10631     * @ingroup List
10632     */
10633    EAPI Elm_List_Item   *elm_list_item_prev(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
10634
10635    /**
10636     * Get the item after @p it in list.
10637     *
10638     * @param it The list item.
10639     * @return The item after @p it, or @c NULL if none or on failure.
10640     *
10641     * @note If it is the last item, @c NULL will be returned.
10642     *
10643     * @see elm_list_item_append()
10644     * @see elm_list_items_get()
10645     *
10646     * @ingroup List
10647     */
10648    EAPI Elm_List_Item   *elm_list_item_next(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
10649
10650    /**
10651     * Sets the disabled/enabled state of a list item.
10652     *
10653     * @param it The item.
10654     * @param disabled The disabled state.
10655     *
10656     * A disabled item cannot be selected or unselected. It will also
10657     * change its appearance (generally greyed out). This sets the
10658     * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
10659     * enabled).
10660     *
10661     * @ingroup List
10662     */
10663    EAPI void             elm_list_item_disabled_set(Elm_List_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
10664
10665    /**
10666     * Get a value whether list item is disabled or not.
10667     *
10668     * @param it The item.
10669     * @return The disabled state.
10670     *
10671     * @see elm_list_item_disabled_set() for more details.
10672     *
10673     * @ingroup List
10674     */
10675    EAPI Eina_Bool        elm_list_item_disabled_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
10676
10677    /**
10678     * Set the text to be shown in a given list item's tooltips.
10679     *
10680     * @param item Target item.
10681     * @param text The text to set in the content.
10682     *
10683     * Setup the text as tooltip to object. The item can have only one tooltip,
10684     * so any previous tooltip data - set with this function or
10685     * elm_list_item_tooltip_content_cb_set() - is removed.
10686     *
10687     * @see elm_object_tooltip_text_set() for more details.
10688     *
10689     * @ingroup List
10690     */
10691    EAPI void             elm_list_item_tooltip_text_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
10692
10693
10694    /**
10695     * @brief Disable size restrictions on an object's tooltip
10696     * @param item The tooltip's anchor object
10697     * @param disable If EINA_TRUE, size restrictions are disabled
10698     * @return EINA_FALSE on failure, EINA_TRUE on success
10699     *
10700     * This function allows a tooltip to expand beyond its parant window's canvas.
10701     * It will instead be limited only by the size of the display.
10702     */
10703    EAPI Eina_Bool        elm_list_item_tooltip_size_restrict_disable(Elm_List_Item *item, Eina_Bool disable) EINA_ARG_NONNULL(1);
10704    /**
10705     * @brief Retrieve size restriction state of an object's tooltip
10706     * @param obj The tooltip's anchor object
10707     * @return If EINA_TRUE, size restrictions are disabled
10708     *
10709     * This function returns whether a tooltip is allowed to expand beyond
10710     * its parant window's canvas.
10711     * It will instead be limited only by the size of the display.
10712     */
10713    EAPI Eina_Bool        elm_list_item_tooltip_size_restrict_disabled_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
10714
10715    /**
10716     * Set the content to be shown in the tooltip item.
10717     *
10718     * Setup the tooltip to item. The item can have only one tooltip,
10719     * so any previous tooltip data is removed. @p func(with @p data) will
10720     * be called every time that need show the tooltip and it should
10721     * return a valid Evas_Object. This object is then managed fully by
10722     * tooltip system and is deleted when the tooltip is gone.
10723     *
10724     * @param item the list item being attached a tooltip.
10725     * @param func the function used to create the tooltip contents.
10726     * @param data what to provide to @a func as callback data/context.
10727     * @param del_cb called when data is not needed anymore, either when
10728     *        another callback replaces @a func, the tooltip is unset with
10729     *        elm_list_item_tooltip_unset() or the owner @a item
10730     *        dies. This callback receives as the first parameter the
10731     *        given @a data, and @c event_info is the item.
10732     *
10733     * @see elm_object_tooltip_content_cb_set() for more details.
10734     *
10735     * @ingroup List
10736     */
10737    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);
10738
10739    /**
10740     * Unset tooltip from item.
10741     *
10742     * @param item list item to remove previously set tooltip.
10743     *
10744     * Remove tooltip from item. The callback provided as del_cb to
10745     * elm_list_item_tooltip_content_cb_set() will be called to notify
10746     * it is not used anymore.
10747     *
10748     * @see elm_object_tooltip_unset() for more details.
10749     * @see elm_list_item_tooltip_content_cb_set()
10750     *
10751     * @ingroup List
10752     */
10753    EAPI void             elm_list_item_tooltip_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
10754
10755    /**
10756     * Sets a different style for this item tooltip.
10757     *
10758     * @note before you set a style you should define a tooltip with
10759     *       elm_list_item_tooltip_content_cb_set() or
10760     *       elm_list_item_tooltip_text_set()
10761     *
10762     * @param item list item with tooltip already set.
10763     * @param style the theme style to use (default, transparent, ...)
10764     *
10765     * @see elm_object_tooltip_style_set() for more details.
10766     *
10767     * @ingroup List
10768     */
10769    EAPI void             elm_list_item_tooltip_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
10770
10771    /**
10772     * Get the style for this item tooltip.
10773     *
10774     * @param item list item with tooltip already set.
10775     * @return style the theme style in use, defaults to "default". If the
10776     *         object does not have a tooltip set, then NULL is returned.
10777     *
10778     * @see elm_object_tooltip_style_get() for more details.
10779     * @see elm_list_item_tooltip_style_set()
10780     *
10781     * @ingroup List
10782     */
10783    EAPI const char      *elm_list_item_tooltip_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
10784
10785    /**
10786     * Set the type of mouse pointer/cursor decoration to be shown,
10787     * when the mouse pointer is over the given list widget item
10788     *
10789     * @param item list item to customize cursor on
10790     * @param cursor the cursor type's name
10791     *
10792     * This function works analogously as elm_object_cursor_set(), but
10793     * here the cursor's changing area is restricted to the item's
10794     * area, and not the whole widget's. Note that that item cursors
10795     * have precedence over widget cursors, so that a mouse over an
10796     * item with custom cursor set will always show @b that cursor.
10797     *
10798     * If this function is called twice for an object, a previously set
10799     * cursor will be unset on the second call.
10800     *
10801     * @see elm_object_cursor_set()
10802     * @see elm_list_item_cursor_get()
10803     * @see elm_list_item_cursor_unset()
10804     *
10805     * @ingroup List
10806     */
10807    EAPI void             elm_list_item_cursor_set(Elm_List_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
10808
10809    /*
10810     * Get the type of mouse pointer/cursor decoration set to be shown,
10811     * when the mouse pointer is over the given list widget item
10812     *
10813     * @param item list item with custom cursor set
10814     * @return the cursor type's name or @c NULL, if no custom cursors
10815     * were set to @p item (and on errors)
10816     *
10817     * @see elm_object_cursor_get()
10818     * @see elm_list_item_cursor_set()
10819     * @see elm_list_item_cursor_unset()
10820     *
10821     * @ingroup List
10822     */
10823    EAPI const char      *elm_list_item_cursor_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
10824
10825    /**
10826     * Unset any custom mouse pointer/cursor decoration set to be
10827     * shown, when the mouse pointer is over the given list widget
10828     * item, thus making it show the @b default cursor again.
10829     *
10830     * @param item a list item
10831     *
10832     * Use this call to undo any custom settings on this item's cursor
10833     * decoration, bringing it back to defaults (no custom style set).
10834     *
10835     * @see elm_object_cursor_unset()
10836     * @see elm_list_item_cursor_set()
10837     *
10838     * @ingroup List
10839     */
10840    EAPI void             elm_list_item_cursor_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
10841
10842    /**
10843     * Set a different @b style for a given custom cursor set for a
10844     * list item.
10845     *
10846     * @param item list item with custom cursor set
10847     * @param style the <b>theme style</b> to use (e.g. @c "default",
10848     * @c "transparent", etc)
10849     *
10850     * This function only makes sense when one is using custom mouse
10851     * cursor decorations <b>defined in a theme file</b>, which can have,
10852     * given a cursor name/type, <b>alternate styles</b> on it. It
10853     * works analogously as elm_object_cursor_style_set(), but here
10854     * applyed only to list item objects.
10855     *
10856     * @warning Before you set a cursor style you should have definen a
10857     *       custom cursor previously on the item, with
10858     *       elm_list_item_cursor_set()
10859     *
10860     * @see elm_list_item_cursor_engine_only_set()
10861     * @see elm_list_item_cursor_style_get()
10862     *
10863     * @ingroup List
10864     */
10865    EAPI void             elm_list_item_cursor_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
10866
10867    /**
10868     * Get the current @b style set for a given list item's custom
10869     * cursor
10870     *
10871     * @param item list item with custom cursor set.
10872     * @return style the cursor style in use. If the object does not
10873     *         have a cursor set, then @c NULL is returned.
10874     *
10875     * @see elm_list_item_cursor_style_set() for more details
10876     *
10877     * @ingroup List
10878     */
10879    EAPI const char      *elm_list_item_cursor_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
10880
10881    /**
10882     * Set if the (custom)cursor for a given list item should be
10883     * searched in its theme, also, or should only rely on the
10884     * rendering engine.
10885     *
10886     * @param item item with custom (custom) cursor already set on
10887     * @param engine_only Use @c EINA_TRUE to have cursors looked for
10888     * only on those provided by the rendering engine, @c EINA_FALSE to
10889     * have them searched on the widget's theme, as well.
10890     *
10891     * @note This call is of use only if you've set a custom cursor
10892     * for list items, with elm_list_item_cursor_set().
10893     *
10894     * @note By default, cursors will only be looked for between those
10895     * provided by the rendering engine.
10896     *
10897     * @ingroup List
10898     */
10899    EAPI void             elm_list_item_cursor_engine_only_set(Elm_List_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
10900
10901    /**
10902     * Get if the (custom) cursor for a given list item is being
10903     * searched in its theme, also, or is only relying on the rendering
10904     * engine.
10905     *
10906     * @param item a list item
10907     * @return @c EINA_TRUE, if cursors are being looked for only on
10908     * those provided by the rendering engine, @c EINA_FALSE if they
10909     * are being searched on the widget's theme, as well.
10910     *
10911     * @see elm_list_item_cursor_engine_only_set(), for more details
10912     *
10913     * @ingroup List
10914     */
10915    EAPI Eina_Bool        elm_list_item_cursor_engine_only_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
10916
10917    /**
10918     * @}
10919     */
10920
10921    /**
10922     * @defgroup Slider Slider
10923     * @ingroup Elementary
10924     *
10925     * @image html img/widget/slider/preview-00.png
10926     * @image latex img/widget/slider/preview-00.eps width=\textwidth
10927     *
10928     * The slider adds a dragable “slider” widget for selecting the value of
10929     * something within a range.
10930     *
10931     * A slider can be horizontal or vertical. It can contain an Icon and has a
10932     * primary label as well as a units label (that is formatted with floating
10933     * point values and thus accepts a printf-style format string, like
10934     * “%1.2f units”. There is also an indicator string that may be somewhere
10935     * else (like on the slider itself) that also accepts a format string like
10936     * units. Label, Icon Unit and Indicator strings/objects are optional.
10937     *
10938     * A slider may be inverted which means values invert, with high vales being
10939     * on the left or top and low values on the right or bottom (as opposed to
10940     * normally being low on the left or top and high on the bottom and right).
10941     *
10942     * The slider should have its minimum and maximum values set by the
10943     * application with  elm_slider_min_max_set() and value should also be set by
10944     * the application before use with  elm_slider_value_set(). The span of the
10945     * slider is its length (horizontally or vertically). This will be scaled by
10946     * the object or applications scaling factor. At any point code can query the
10947     * slider for its value with elm_slider_value_get().
10948     *
10949     * Smart callbacks one can listen to:
10950     * - "changed" - Whenever the slider value is changed by the user.
10951     * - "slider,drag,start" - dragging the slider indicator around has started.
10952     * - "slider,drag,stop" - dragging the slider indicator around has stopped.
10953     * - "delay,changed" - A short time after the value is changed by the user.
10954     * This will be called only when the user stops dragging for
10955     * a very short period or when they release their
10956     * finger/mouse, so it avoids possibly expensive reactions to
10957     * the value change.
10958     *
10959     * Available styles for it:
10960     * - @c "default"
10961     *
10962     * Here is an example on its usage:
10963     * @li @ref slider_example
10964     */
10965
10966    /**
10967     * @addtogroup Slider
10968     * @{
10969     */
10970
10971    /**
10972     * Add a new slider widget to the given parent Elementary
10973     * (container) object.
10974     *
10975     * @param parent The parent object.
10976     * @return a new slider widget handle or @c NULL, on errors.
10977     *
10978     * This function inserts a new slider widget on the canvas.
10979     *
10980     * @ingroup Slider
10981     */
10982    EAPI Evas_Object       *elm_slider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10983
10984    /**
10985     * Set the label of a given slider widget
10986     *
10987     * @param obj The progress bar object
10988     * @param label The text label string, in UTF-8
10989     *
10990     * @ingroup Slider
10991     * @deprecated use elm_object_text_set() instead.
10992     */
10993    EINA_DEPRECATED EAPI void               elm_slider_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
10994
10995    /**
10996     * Get the label of a given slider widget
10997     *
10998     * @param obj The progressbar object
10999     * @return The text label string, in UTF-8
11000     *
11001     * @ingroup Slider
11002     * @deprecated use elm_object_text_get() instead.
11003     */
11004    EINA_DEPRECATED EAPI const char        *elm_slider_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11005
11006    /**
11007     * Set the icon object of the slider object.
11008     *
11009     * @param obj The slider object.
11010     * @param icon The icon object.
11011     *
11012     * On horizontal mode, icon is placed at left, and on vertical mode,
11013     * placed at top.
11014     *
11015     * @note Once the icon object is set, a previously set one will be deleted.
11016     * If you want to keep that old content object, use the
11017     * elm_slider_icon_unset() function.
11018     *
11019     * @warning If the object being set does not have minimum size hints set,
11020     * it won't get properly displayed.
11021     *
11022     * @ingroup Slider
11023     */
11024    EAPI void               elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
11025
11026    /**
11027     * Unset an icon set on a given slider widget.
11028     *
11029     * @param obj The slider object.
11030     * @return The icon object that was being used, if any was set, or
11031     * @c NULL, otherwise (and on errors).
11032     *
11033     * On horizontal mode, icon is placed at left, and on vertical mode,
11034     * placed at top.
11035     *
11036     * This call will unparent and return the icon object which was set
11037     * for this widget, previously, on success.
11038     *
11039     * @see elm_slider_icon_set() for more details
11040     * @see elm_slider_icon_get()
11041     *
11042     * @ingroup Slider
11043     */
11044    EAPI Evas_Object       *elm_slider_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
11045
11046    /**
11047     * Retrieve the icon object set for a given slider widget.
11048     *
11049     * @param obj The slider object.
11050     * @return The icon object's handle, if @p obj had one set, or @c NULL,
11051     * otherwise (and on errors).
11052     *
11053     * On horizontal mode, icon is placed at left, and on vertical mode,
11054     * placed at top.
11055     *
11056     * @see elm_slider_icon_set() for more details
11057     * @see elm_slider_icon_unset()
11058     *
11059     * @ingroup Slider
11060     */
11061    EAPI Evas_Object       *elm_slider_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11062
11063    /**
11064     * Set the end object of the slider object.
11065     *
11066     * @param obj The slider object.
11067     * @param end The end object.
11068     *
11069     * On horizontal mode, end is placed at left, and on vertical mode,
11070     * placed at bottom.
11071     *
11072     * @note Once the icon object is set, a previously set one will be deleted.
11073     * If you want to keep that old content object, use the
11074     * elm_slider_end_unset() function.
11075     *
11076     * @warning If the object being set does not have minimum size hints set,
11077     * it won't get properly displayed.
11078     *
11079     * @ingroup Slider
11080     */
11081    EAPI void               elm_slider_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1);
11082
11083    /**
11084     * Unset an end object set on a given slider widget.
11085     *
11086     * @param obj The slider object.
11087     * @return The end object that was being used, if any was set, or
11088     * @c NULL, otherwise (and on errors).
11089     *
11090     * On horizontal mode, end is placed at left, and on vertical mode,
11091     * placed at bottom.
11092     *
11093     * This call will unparent and return the icon object which was set
11094     * for this widget, previously, on success.
11095     *
11096     * @see elm_slider_end_set() for more details.
11097     * @see elm_slider_end_get()
11098     *
11099     * @ingroup Slider
11100     */
11101    EAPI Evas_Object       *elm_slider_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
11102
11103    /**
11104     * Retrieve the end object set for a given slider widget.
11105     *
11106     * @param obj The slider object.
11107     * @return The end object's handle, if @p obj had one set, or @c NULL,
11108     * otherwise (and on errors).
11109     *
11110     * On horizontal mode, icon is placed at right, and on vertical mode,
11111     * placed at bottom.
11112     *
11113     * @see elm_slider_end_set() for more details.
11114     * @see elm_slider_end_unset()
11115     *
11116     * @ingroup Slider
11117     */
11118    EAPI Evas_Object       *elm_slider_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11119
11120    /**
11121     * Set the (exact) length of the bar region of a given slider widget.
11122     *
11123     * @param obj The slider object.
11124     * @param size The length of the slider's bar region.
11125     *
11126     * This sets the minimum width (when in horizontal mode) or height
11127     * (when in vertical mode) of the actual bar area of the slider
11128     * @p obj. This in turn affects the object's minimum size. Use
11129     * this when you're not setting other size hints expanding on the
11130     * given direction (like weight and alignment hints) and you would
11131     * like it to have a specific size.
11132     *
11133     * @note Icon, end, label, indicator and unit text around @p obj
11134     * will require their
11135     * own space, which will make @p obj to require more the @p size,
11136     * actually.
11137     *
11138     * @see elm_slider_span_size_get()
11139     *
11140     * @ingroup Slider
11141     */
11142    EAPI void               elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
11143
11144    /**
11145     * Get the length set for the bar region of a given slider widget
11146     *
11147     * @param obj The slider object.
11148     * @return The length of the slider's bar region.
11149     *
11150     * If that size was not set previously, with
11151     * elm_slider_span_size_set(), this call will return @c 0.
11152     *
11153     * @ingroup Slider
11154     */
11155    EAPI Evas_Coord         elm_slider_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11156
11157    /**
11158     * Set the format string for the unit label.
11159     *
11160     * @param obj The slider object.
11161     * @param format The format string for the unit display.
11162     *
11163     * Unit label is displayed all the time, if set, after slider's bar.
11164     * In horizontal mode, at right and in vertical mode, at bottom.
11165     *
11166     * If @c NULL, unit label won't be visible. If not it sets the format
11167     * string for the label text. To the label text is provided a floating point
11168     * value, so the label text can display up to 1 floating point value.
11169     * Note that this is optional.
11170     *
11171     * Use a format string such as "%1.2f meters" for example, and it will
11172     * display values like: "3.14 meters" for a value equal to 3.14159.
11173     *
11174     * Default is unit label disabled.
11175     *
11176     * @see elm_slider_indicator_format_get()
11177     *
11178     * @ingroup Slider
11179     */
11180    EAPI void               elm_slider_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
11181
11182    /**
11183     * Get the unit label format of the slider.
11184     *
11185     * @param obj The slider object.
11186     * @return The unit label format string in UTF-8.
11187     *
11188     * Unit label is displayed all the time, if set, after slider's bar.
11189     * In horizontal mode, at right and in vertical mode, at bottom.
11190     *
11191     * @see elm_slider_unit_format_set() for more
11192     * information on how this works.
11193     *
11194     * @ingroup Slider
11195     */
11196    EAPI const char        *elm_slider_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11197
11198    /**
11199     * Set the format string for the indicator label.
11200     *
11201     * @param obj The slider object.
11202     * @param indicator The format string for the indicator display.
11203     *
11204     * The slider may display its value somewhere else then unit label,
11205     * for example, above the slider knob that is dragged around. This function
11206     * sets the format string used for this.
11207     *
11208     * If @c NULL, indicator label won't be visible. If not it sets the format
11209     * string for the label text. To the label text is provided a floating point
11210     * value, so the label text can display up to 1 floating point value.
11211     * Note that this is optional.
11212     *
11213     * Use a format string such as "%1.2f meters" for example, and it will
11214     * display values like: "3.14 meters" for a value equal to 3.14159.
11215     *
11216     * Default is indicator label disabled.
11217     *
11218     * @see elm_slider_indicator_format_get()
11219     *
11220     * @ingroup Slider
11221     */
11222    EAPI void               elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator) EINA_ARG_NONNULL(1);
11223
11224    /**
11225     * Get the indicator label format of the slider.
11226     *
11227     * @param obj The slider object.
11228     * @return The indicator label format string in UTF-8.
11229     *
11230     * The slider may display its value somewhere else then unit label,
11231     * for example, above the slider knob that is dragged around. This function
11232     * gets the format string used for this.
11233     *
11234     * @see elm_slider_indicator_format_set() for more
11235     * information on how this works.
11236     *
11237     * @ingroup Slider
11238     */
11239    EAPI const char        *elm_slider_indicator_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11240
11241    /**
11242     * Set the format function pointer for the indicator label
11243     *
11244     * @param obj The slider object.
11245     * @param func The indicator format function.
11246     * @param free_func The freeing function for the format string.
11247     *
11248     * Set the callback function to format the indicator string.
11249     *
11250     * @see elm_slider_indicator_format_set() for more info on how this works.
11251     *
11252     * @ingroup Slider
11253     */
11254   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);
11255
11256   /**
11257    * Set the format function pointer for the units label
11258    *
11259    * @param obj The slider object.
11260    * @param func The units format function.
11261    * @param free_func The freeing function for the format string.
11262    *
11263    * Set the callback function to format the indicator string.
11264    *
11265    * @see elm_slider_units_format_set() for more info on how this works.
11266    *
11267    * @ingroup Slider
11268    */
11269   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);
11270
11271   /**
11272    * Set the orientation of a given slider widget.
11273    *
11274    * @param obj The slider object.
11275    * @param horizontal Use @c EINA_TRUE to make @p obj to be
11276    * @b horizontal, @c EINA_FALSE to make it @b vertical.
11277    *
11278    * Use this function to change how your slider is to be
11279    * disposed: vertically or horizontally.
11280    *
11281    * By default it's displayed horizontally.
11282    *
11283    * @see elm_slider_horizontal_get()
11284    *
11285    * @ingroup Slider
11286    */
11287    EAPI void               elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
11288
11289    /**
11290     * Retrieve the orientation of a given slider widget
11291     *
11292     * @param obj The slider object.
11293     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
11294     * @c EINA_FALSE if it's @b vertical (and on errors).
11295     *
11296     * @see elm_slider_horizontal_set() for more details.
11297     *
11298     * @ingroup Slider
11299     */
11300    EAPI Eina_Bool          elm_slider_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11301
11302    /**
11303     * Set the minimum and maximum values for the slider.
11304     *
11305     * @param obj The slider object.
11306     * @param min The minimum value.
11307     * @param max The maximum value.
11308     *
11309     * Define the allowed range of values to be selected by the user.
11310     *
11311     * If actual value is less than @p min, it will be updated to @p min. If it
11312     * is bigger then @p max, will be updated to @p max. Actual value can be
11313     * get with elm_slider_value_get().
11314     *
11315     * By default, min is equal to 0.0, and max is equal to 1.0.
11316     *
11317     * @warning Maximum must be greater than minimum, otherwise behavior
11318     * is undefined.
11319     *
11320     * @see elm_slider_min_max_get()
11321     *
11322     * @ingroup Slider
11323     */
11324    EAPI void               elm_slider_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
11325
11326    /**
11327     * Get the minimum and maximum values of the slider.
11328     *
11329     * @param obj The slider object.
11330     * @param min Pointer where to store the minimum value.
11331     * @param max Pointer where to store the maximum value.
11332     *
11333     * @note If only one value is needed, the other pointer can be passed
11334     * as @c NULL.
11335     *
11336     * @see elm_slider_min_max_set() for details.
11337     *
11338     * @ingroup Slider
11339     */
11340    EAPI void               elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
11341
11342    /**
11343     * Set the value the slider displays.
11344     *
11345     * @param obj The slider object.
11346     * @param val The value to be displayed.
11347     *
11348     * Value will be presented on the unit label following format specified with
11349     * elm_slider_unit_format_set() and on indicator with
11350     * elm_slider_indicator_format_set().
11351     *
11352     * @warning The value must to be between min and max values. This values
11353     * are set by elm_slider_min_max_set().
11354     *
11355     * @see elm_slider_value_get()
11356     * @see elm_slider_unit_format_set()
11357     * @see elm_slider_indicator_format_set()
11358     * @see elm_slider_min_max_set()
11359     *
11360     * @ingroup Slider
11361     */
11362    EAPI void               elm_slider_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
11363
11364    /**
11365     * Get the value displayed by the spinner.
11366     *
11367     * @param obj The spinner object.
11368     * @return The value displayed.
11369     *
11370     * @see elm_spinner_value_set() for details.
11371     *
11372     * @ingroup Slider
11373     */
11374    EAPI double             elm_slider_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11375
11376    /**
11377     * Invert a given slider widget's displaying values order
11378     *
11379     * @param obj The slider object.
11380     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
11381     * @c EINA_FALSE to bring it back to default, non-inverted values.
11382     *
11383     * A slider may be @b inverted, in which state it gets its
11384     * values inverted, with high vales being on the left or top and
11385     * low values on the right or bottom, as opposed to normally have
11386     * the low values on the former and high values on the latter,
11387     * respectively, for horizontal and vertical modes.
11388     *
11389     * @see elm_slider_inverted_get()
11390     *
11391     * @ingroup Slider
11392     */
11393    EAPI void               elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
11394
11395    /**
11396     * Get whether a given slider widget's displaying values are
11397     * inverted or not.
11398     *
11399     * @param obj The slider object.
11400     * @return @c EINA_TRUE, if @p obj has inverted values,
11401     * @c EINA_FALSE otherwise (and on errors).
11402     *
11403     * @see elm_slider_inverted_set() for more details.
11404     *
11405     * @ingroup Slider
11406     */
11407    EAPI Eina_Bool          elm_slider_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11408
11409    /**
11410     * Set whether to enlarge slider indicator (augmented knob) or not.
11411     *
11412     * @param obj The slider object.
11413     * @param show @c EINA_TRUE will make it enlarge, @c EINA_FALSE will
11414     * let the knob always at default size.
11415     *
11416     * By default, indicator will be bigger while dragged by the user.
11417     *
11418     * @warning It won't display values set with
11419     * elm_slider_indicator_format_set() if you disable indicator.
11420     *
11421     * @ingroup Slider
11422     */
11423    EAPI void               elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show) EINA_ARG_NONNULL(1);
11424
11425    /**
11426     * Get whether a given slider widget's enlarging indicator or not.
11427     *
11428     * @param obj The slider object.
11429     * @return @c EINA_TRUE, if @p obj is enlarging indicator, or
11430     * @c EINA_FALSE otherwise (and on errors).
11431     *
11432     * @see elm_slider_indicator_show_set() for details.
11433     *
11434     * @ingroup Slider
11435     */
11436    EAPI Eina_Bool          elm_slider_indicator_show_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11437
11438    /**
11439     * @}
11440     */
11441
11442    /**
11443     * @addtogroup Actionslider Actionslider
11444     *
11445     * @image html img/icon/actionslider/preview-00.png
11446     * @image latex img/icon/actionslider/preview-00.png
11447     *
11448     * A actionslider is a switcher for 2 or 3 labels with customizable magnet
11449     * properties. The indicator is the element the user drags to choose a label.
11450     * When the position is set with magnet, when released the indicator will be
11451     * moved to it if it's nearest the magnetized position.
11452     *
11453     * @note By default all positions are set as enabled.
11454     *
11455     * Signals that you can add callbacks for are:
11456     *
11457     * "selected" - when user selects an enabled position (the label is passed
11458     *              as event info)".
11459     * @n
11460     * "pos_changed" - when the indicator reaches any of the positions("left",
11461     *                 "right" or "center").
11462     *
11463     * See an example of actionslider usage @ref actionslider_example_page "here"
11464     * @{
11465     */
11466    typedef enum _Elm_Actionslider_Pos
11467      {
11468         ELM_ACTIONSLIDER_NONE = 0,
11469         ELM_ACTIONSLIDER_LEFT = 1 << 0,
11470         ELM_ACTIONSLIDER_CENTER = 1 << 1,
11471         ELM_ACTIONSLIDER_RIGHT = 1 << 2,
11472         ELM_ACTIONSLIDER_ALL = (1 << 3) -1
11473      } Elm_Actionslider_Pos;
11474
11475    /**
11476     * Add a new actionslider to the parent.
11477     *
11478     * @param parent The parent object
11479     * @return The new actionslider object or NULL if it cannot be created
11480     */
11481    EAPI Evas_Object          *elm_actionslider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
11482    /**
11483     * Set actionslider labels.
11484     *
11485     * @param obj The actionslider object
11486     * @param left_label The label to be set on the left.
11487     * @param center_label The label to be set on the center.
11488     * @param right_label The label to be set on the right.
11489     * @deprecated use elm_object_text_set() instead.
11490     */
11491    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);
11492    /**
11493     * Get actionslider labels.
11494     *
11495     * @param obj The actionslider object
11496     * @param left_label A char** to place the left_label of @p obj into.
11497     * @param center_label A char** to place the center_label of @p obj into.
11498     * @param right_label A char** to place the right_label of @p obj into.
11499     * @deprecated use elm_object_text_set() instead.
11500     */
11501    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);
11502    /**
11503     * Get actionslider selected label.
11504     *
11505     * @param obj The actionslider object
11506     * @return The selected label
11507     */
11508    EAPI const char           *elm_actionslider_selected_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11509    /**
11510     * Set actionslider indicator position.
11511     *
11512     * @param obj The actionslider object.
11513     * @param pos The position of the indicator.
11514     */
11515    EAPI void                  elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
11516    /**
11517     * Get actionslider indicator position.
11518     *
11519     * @param obj The actionslider object.
11520     * @return The position of the indicator.
11521     */
11522    EAPI Elm_Actionslider_Pos  elm_actionslider_indicator_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11523    /**
11524     * Set actionslider magnet position. To make multiple positions magnets @c or
11525     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT)
11526     *
11527     * @param obj The actionslider object.
11528     * @param pos Bit mask indicating the magnet positions.
11529     */
11530    EAPI void                  elm_actionslider_magnet_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
11531    /**
11532     * Get actionslider magnet position.
11533     *
11534     * @param obj The actionslider object.
11535     * @return The positions with magnet property.
11536     */
11537    EAPI Elm_Actionslider_Pos  elm_actionslider_magnet_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11538    /**
11539     * Set actionslider enabled position. To set multiple positions as enabled @c or
11540     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT).
11541     *
11542     * @note All the positions are enabled by default.
11543     *
11544     * @param obj The actionslider object.
11545     * @param pos Bit mask indicating the enabled positions.
11546     */
11547    EAPI void                  elm_actionslider_enabled_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
11548    /**
11549     * Get actionslider enabled position.
11550     *
11551     * @param obj The actionslider object.
11552     * @return The enabled positions.
11553     */
11554    EAPI Elm_Actionslider_Pos  elm_actionslider_enabled_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11555    /**
11556     * Set the label used on the indicator.
11557     *
11558     * @param obj The actionslider object
11559     * @param label The label to be set on the indicator.
11560     * @deprecated use elm_object_text_set() instead.
11561     */
11562    EINA_DEPRECATED EAPI void                  elm_actionslider_indicator_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
11563    /**
11564     * Get the label used on the indicator object.
11565     *
11566     * @param obj The actionslider object
11567     * @return The indicator label
11568     * @deprecated use elm_object_text_get() instead.
11569     */
11570    EINA_DEPRECATED EAPI const char           *elm_actionslider_indicator_label_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
11571    /**
11572     * @}
11573     */
11574
11575    /**
11576     * @defgroup Genlist Genlist
11577     *
11578     * This widget aims to have more expansive list than the simple list in
11579     * Elementary that could have more flexible items and allow many more entries
11580     * while still being fast and low on memory usage. At the same time it was
11581     * also made to be able to do tree structures. But the price to pay is more
11582     * complexity when it comes to usage. If all you want is a simple list with
11583     * icons and a single label, use the normal @ref List object.
11584     *
11585     * Genlist has a fairly large API, mostly because it's relatively complex,
11586     * trying to be both expansive, powerful and efficient. First we will begin
11587     * an overview on the theory behind genlist.
11588     *
11589     * @section Genlist_Item_Class Genlist item classes - creating items
11590     *
11591     * In order to have the ability to add and delete items on the fly, genlist
11592     * implements a class (callback) system where the application provides a
11593     * structure with information about that type of item (genlist may contain
11594     * multiple different items with different classes, states and styles).
11595     * Genlist will call the functions in this struct (methods) when an item is
11596     * "realized" (i.e., created dynamically, while the user is scrolling the
11597     * grid). All objects will simply be deleted when no longer needed with
11598     * evas_object_del(). The #Elm_Genlist_Item_Class structure contains the
11599     * following members:
11600     * - @c item_style - This is a constant string and simply defines the name
11601     *   of the item style. It @b must be specified and the default should be @c
11602     *   "default".
11603     *
11604     * - @c func - A struct with pointers to functions that will be called when
11605     *   an item is going to be actually created. All of them receive a @c data
11606     *   parameter that will point to the same data passed to
11607     *   elm_genlist_item_append() and related item creation functions, and a @c
11608     *   obj parameter that points to the genlist object itself.
11609     *
11610     * The function pointers inside @c func are @c label_get, @c icon_get, @c
11611     * state_get and @c del. The 3 first functions also receive a @c part
11612     * parameter described below. A brief description of these functions follows:
11613     *
11614     * - @c label_get - The @c part parameter is the name string of one of the
11615     *   existing text parts in the Edje group implementing the item's theme.
11616     *   This function @b must return a strdup'()ed string, as the caller will
11617     *   free() it when done. See #GenlistItemLabelGetFunc.
11618     * - @c icon_get - The @c part parameter is the name string of one of the
11619     *   existing (icon) swallow parts in the Edje group implementing the item's
11620     *   theme. It must return @c NULL, when no icon is desired, or a valid
11621     *   object handle, otherwise.  The object will be deleted by the genlist on
11622     *   its deletion or when the item is "unrealized".  See
11623     *   #GenlistItemIconGetFunc.
11624     * - @c func.state_get - The @c part parameter is the name string of one of
11625     *   the state parts in the Edje group implementing the item's theme. Return
11626     *   @c EINA_FALSE for false/off or @c EINA_TRUE for true/on. Genlists will
11627     *   emit a signal to its theming Edje object with @c "elm,state,XXX,active"
11628     *   and @c "elm" as "emission" and "source" arguments, respectively, when
11629     *   the state is true (the default is false), where @c XXX is the name of
11630     *   the (state) part.  See #GenlistItemStateGetFunc.
11631     * - @c func.del - This is intended for use when genlist items are deleted,
11632     *   so any data attached to the item (e.g. its data parameter on creation)
11633     *   can be deleted. See #GenlistItemDelFunc.
11634     *
11635     * @section Genlist_Items Structure of items
11636     *
11637     * An item in a genlist can have 0 or more text labels (they can be regular
11638     * text or textblock Evas objects - that's up to the style to determine), 0
11639     * or more icons (which are simply objects swallowed into the genlist item's
11640     * theming Edje object) and 0 or more <b>boolean states</b>, which have the
11641     * behavior left to the user to define. The Edje part names for each of
11642     * these properties will be looked up, in the theme file for the genlist,
11643     * under the Edje (string) data items named @c "labels", @c "icons" and @c
11644     * "states", respectively. For each of those properties, if more than one
11645     * part is provided, they must have names listed separated by spaces in the
11646     * data fields. For the default genlist item theme, we have @b one label
11647     * part (@c "elm.text"), @b two icon parts (@c "elm.swalllow.icon" and @c
11648     * "elm.swallow.end") and @b no state parts.
11649     *
11650     * A genlist item may be at one of several styles. Elementary provides one
11651     * by default - "default", but this can be extended by system or application
11652     * custom themes/overlays/extensions (see @ref Theme "themes" for more
11653     * details).
11654     *
11655     * @section Genlist_Manipulation Editing and Navigating
11656     *
11657     * Items can be added by several calls. All of them return a @ref
11658     * Elm_Genlist_Item handle that is an internal member inside the genlist.
11659     * They all take a data parameter that is meant to be used for a handle to
11660     * the applications internal data (eg the struct with the original item
11661     * data). The parent parameter is the parent genlist item this belongs to if
11662     * it is a tree or an indexed group, and NULL if there is no parent. The
11663     * flags can be a bitmask of #ELM_GENLIST_ITEM_NONE,
11664     * #ELM_GENLIST_ITEM_SUBITEMS and #ELM_GENLIST_ITEM_GROUP. If
11665     * #ELM_GENLIST_ITEM_SUBITEMS is set then this item is displayed as an item
11666     * that is able to expand and have child items.  If ELM_GENLIST_ITEM_GROUP
11667     * is set then this item is group index item that is displayed at the top
11668     * until the next group comes. The func parameter is a convenience callback
11669     * that is called when the item is selected and the data parameter will be
11670     * the func_data parameter, obj be the genlist object and event_info will be
11671     * the genlist item.
11672     *
11673     * elm_genlist_item_append() adds an item to the end of the list, or if
11674     * there is a parent, to the end of all the child items of the parent.
11675     * elm_genlist_item_prepend() is the same but adds to the beginning of
11676     * the list or children list. elm_genlist_item_insert_before() inserts at
11677     * item before another item and elm_genlist_item_insert_after() inserts after
11678     * the indicated item.
11679     *
11680     * The application can clear the list with elm_genlist_clear() which deletes
11681     * all the items in the list and elm_genlist_item_del() will delete a specific
11682     * item. elm_genlist_item_subitems_clear() will clear all items that are
11683     * children of the indicated parent item.
11684     *
11685     * To help inspect list items you can jump to the item at the top of the list
11686     * with elm_genlist_first_item_get() which will return the item pointer, and
11687     * similarly elm_genlist_last_item_get() gets the item at the end of the list.
11688     * elm_genlist_item_next_get() and elm_genlist_item_prev_get() get the next
11689     * and previous items respectively relative to the indicated item. Using
11690     * these calls you can walk the entire item list/tree. Note that as a tree
11691     * the items are flattened in the list, so elm_genlist_item_parent_get() will
11692     * let you know which item is the parent (and thus know how to skip them if
11693     * wanted).
11694     *
11695     * @section Genlist_Muti_Selection Multi-selection
11696     *
11697     * If the application wants multiple items to be able to be selected,
11698     * elm_genlist_multi_select_set() can enable this. If the list is
11699     * single-selection only (the default), then elm_genlist_selected_item_get()
11700     * will return the selected item, if any, or NULL I none is selected. If the
11701     * list is multi-select then elm_genlist_selected_items_get() will return a
11702     * list (that is only valid as long as no items are modified (added, deleted,
11703     * selected or unselected)).
11704     *
11705     * @section Genlist_Usage_Hints Usage hints
11706     *
11707     * There are also convenience functions. elm_genlist_item_genlist_get() will
11708     * return the genlist object the item belongs to. elm_genlist_item_show()
11709     * will make the scroller scroll to show that specific item so its visible.
11710     * elm_genlist_item_data_get() returns the data pointer set by the item
11711     * creation functions.
11712     *
11713     * If an item changes (state of boolean changes, label or icons change),
11714     * then use elm_genlist_item_update() to have genlist update the item with
11715     * the new state. Genlist will re-realize the item thus call the functions
11716     * in the _Elm_Genlist_Item_Class for that item.
11717     *
11718     * To programmatically (un)select an item use elm_genlist_item_selected_set().
11719     * To get its selected state use elm_genlist_item_selected_get(). Similarly
11720     * to expand/contract an item and get its expanded state, use
11721     * elm_genlist_item_expanded_set() and elm_genlist_item_expanded_get(). And
11722     * again to make an item disabled (unable to be selected and appear
11723     * differently) use elm_genlist_item_disabled_set() to set this and
11724     * elm_genlist_item_disabled_get() to get the disabled state.
11725     *
11726     * In general to indicate how the genlist should expand items horizontally to
11727     * fill the list area, use elm_genlist_horizontal_mode_set(). Valid modes are
11728     * ELM_LIST_LIMIT and ELM_LIST_SCROLL . The default is ELM_LIST_SCROLL. This
11729     * mode means that if items are too wide to fit, the scroller will scroll
11730     * horizontally. Otherwise items are expanded to fill the width of the
11731     * viewport of the scroller. If it is ELM_LIST_LIMIT, items will be expanded
11732     * to the viewport width and limited to that size. This can be combined with
11733     * a different style that uses edjes' ellipsis feature (cutting text off like
11734     * this: "tex...").
11735     *
11736     * Items will only call their selection func and callback when first becoming
11737     * selected. Any further clicks will do nothing, unless you enable always
11738     * select with elm_genlist_always_select_mode_set(). This means even if
11739     * selected, every click will make the selected callbacks be called.
11740     * elm_genlist_no_select_mode_set() will turn off the ability to select
11741     * items entirely and they will neither appear selected nor call selected
11742     * callback functions.
11743     *
11744     * Remember that you can create new styles and add your own theme augmentation
11745     * per application with elm_theme_extension_add(). If you absolutely must
11746     * have a specific style that overrides any theme the user or system sets up
11747     * you can use elm_theme_overlay_add() to add such a file.
11748     *
11749     * @section Genlist_Implementation Implementation
11750     *
11751     * Evas tracks every object you create. Every time it processes an event
11752     * (mouse move, down, up etc.) it needs to walk through objects and find out
11753     * what event that affects. Even worse every time it renders display updates,
11754     * in order to just calculate what to re-draw, it needs to walk through many
11755     * many many objects. Thus, the more objects you keep active, the more
11756     * overhead Evas has in just doing its work. It is advisable to keep your
11757     * active objects to the minimum working set you need. Also remember that
11758     * object creation and deletion carries an overhead, so there is a
11759     * middle-ground, which is not easily determined. But don't keep massive lists
11760     * of objects you can't see or use. Genlist does this with list objects. It
11761     * creates and destroys them dynamically as you scroll around. It groups them
11762     * into blocks so it can determine the visibility etc. of a whole block at
11763     * once as opposed to having to walk the whole list. This 2-level list allows
11764     * for very large numbers of items to be in the list (tests have used up to
11765     * 2,000,000 items). Also genlist employs a queue for adding items. As items
11766     * may be different sizes, every item added needs to be calculated as to its
11767     * size and thus this presents a lot of overhead on populating the list, this
11768     * genlist employs a queue. Any item added is queued and spooled off over
11769     * time, actually appearing some time later, so if your list has many members
11770     * you may find it takes a while for them to all appear, with your process
11771     * consuming a lot of CPU while it is busy spooling.
11772     *
11773     * Genlist also implements a tree structure, but it does so with callbacks to
11774     * the application, with the application filling in tree structures when
11775     * requested (allowing for efficient building of a very deep tree that could
11776     * even be used for file-management). See the above smart signal callbacks for
11777     * details.
11778     *
11779     * @section Genlist_Smart_Events Genlist smart events
11780     *
11781     * Signals that you can add callbacks for are:
11782     * - @c "activated" - The user has double-clicked or pressed
11783     *   (enter|return|spacebar) on an item. The @c event_info parameter is the
11784     *   item that was activated.
11785     * - @c "clicked,double" - The user has double-clicked an item.  The @c
11786     *   event_info parameter is the item that was double-clicked.
11787     * - @c "selected" - This is called when a user has made an item selected.
11788     *   The event_info parameter is the genlist item that was selected.
11789     * - @c "unselected" - This is called when a user has made an item
11790     *   unselected. The event_info parameter is the genlist item that was
11791     *   unselected.
11792     * - @c "expanded" - This is called when elm_genlist_item_expanded_set() is
11793     *   called and the item is now meant to be expanded. The event_info
11794     *   parameter is the genlist item that was indicated to expand.  It is the
11795     *   job of this callback to then fill in the child items.
11796     * - @c "contracted" - This is called when elm_genlist_item_expanded_set() is
11797     *   called and the item is now meant to be contracted. The event_info
11798     *   parameter is the genlist item that was indicated to contract. It is the
11799     *   job of this callback to then delete the child items.
11800     * - @c "expand,request" - This is called when a user has indicated they want
11801     *   to expand a tree branch item. The callback should decide if the item can
11802     *   expand (has any children) and then call elm_genlist_item_expanded_set()
11803     *   appropriately to set the state. The event_info parameter is the genlist
11804     *   item that was indicated to expand.
11805     * - @c "contract,request" - This is called when a user has indicated they
11806     *   want to contract a tree branch item. The callback should decide if the
11807     *   item can contract (has any children) and then call
11808     *   elm_genlist_item_expanded_set() appropriately to set the state. The
11809     *   event_info parameter is the genlist item that was indicated to contract.
11810     * - @c "realized" - This is called when the item in the list is created as a
11811     *   real evas object. event_info parameter is the genlist item that was
11812     *   created. The object may be deleted at any time, so it is up to the
11813     *   caller to not use the object pointer from elm_genlist_item_object_get()
11814     *   in a way where it may point to freed objects.
11815     * - @c "unrealized" - This is called just before an item is unrealized.
11816     *   After this call icon objects provided will be deleted and the item
11817     *   object itself delete or be put into a floating cache.
11818     * - @c "drag,start,up" - This is called when the item in the list has been
11819     *   dragged (not scrolled) up.
11820     * - @c "drag,start,down" - This is called when the item in the list has been
11821     *   dragged (not scrolled) down.
11822     * - @c "drag,start,left" - This is called when the item in the list has been
11823     *   dragged (not scrolled) left.
11824     * - @c "drag,start,right" - This is called when the item in the list has
11825     *   been dragged (not scrolled) right.
11826     * - @c "drag,stop" - This is called when the item in the list has stopped
11827     *   being dragged.
11828     * - @c "drag" - This is called when the item in the list is being dragged.
11829     * - @c "longpressed" - This is called when the item is pressed for a certain
11830     *   amount of time. By default it's 1 second.
11831     * - @c "scroll,edge,top" - This is called when the genlist is scrolled until
11832     *   the top edge.
11833     * - @c "scroll,edge,bottom" - This is called when the genlist is scrolled
11834     *   until the bottom edge.
11835     * - @c "scroll,edge,left" - This is called when the genlist is scrolled
11836     *   until the left edge.
11837     * - @c "scroll,edge,right" - This is called when the genlist is scrolled
11838     *   until the right edge.
11839     * - @c "multi,swipe,left" - This is called when the genlist is multi-touch
11840     *   swiped left.
11841     * - @c "multi,swipe,right" - This is called when the genlist is multi-touch
11842     *   swiped right.
11843     * - @c "multi,swipe,up" - This is called when the genlist is multi-touch
11844     *   swiped up.
11845     * - @c "multi,swipe,down" - This is called when the genlist is multi-touch
11846     *   swiped down.
11847     * - @c "multi,pinch,out" - This is called when the genlist is multi-touch
11848     *   pinched out.  "- @c multi,pinch,in" - This is called when the genlist is
11849     *   multi-touch pinched in.
11850     * - @c "swipe" - This is called when the genlist is swiped.
11851     *
11852     * @section Genlist_Examples Examples
11853     *
11854     * Here is a list of examples that use the genlist, trying to show some of
11855     * its capabilities:
11856     * - @ref genlist_example_01
11857     * - @ref genlist_example_02
11858     */
11859
11860    /**
11861     * @addtogroup Genlist
11862     * @{
11863     */
11864
11865    /**
11866     * @enum _Elm_Genlist_Item_Flags
11867     * @typedef Elm_Genlist_Item_Flags
11868     *
11869     * Defines if the item is of any special type (has subitems or it's the
11870     * index of a group), or is just a simple item.
11871     *
11872     * @ingroup Genlist
11873     */
11874    typedef enum _Elm_Genlist_Item_Flags
11875      {
11876         ELM_GENLIST_ITEM_NONE = 0, /**< simple item */
11877         ELM_GENLIST_ITEM_SUBITEMS = (1 << 0), /**< may expand and have child items */
11878         ELM_GENLIST_ITEM_GROUP = (1 << 1) /**< index of a group of items */
11879      } Elm_Genlist_Item_Flags;
11880    typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class;  /**< Genlist item class definition structs */
11881    typedef struct _Elm_Genlist_Item       Elm_Genlist_Item; /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
11882    typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func; /**< Class functions for genlist item class */
11883    typedef char        *(*GenlistItemLabelGetFunc) (void *data, Evas_Object *obj, const char *part); /**< Label fetching class function for genlist item classes. */
11884    typedef Evas_Object *(*GenlistItemIconGetFunc)  (void *data, Evas_Object *obj, const char *part); /**< Icon fetching class function for genlist item classes. */
11885    typedef Eina_Bool    (*GenlistItemStateGetFunc) (void *data, Evas_Object *obj, const char *part); /**< State fetching class function for genlist item classes. */
11886    typedef void         (*GenlistItemDelFunc)      (void *data, Evas_Object *obj); /**< Deletion class function for genlist item classes. */
11887    typedef void         (*GenlistItemMovedFunc)    (Evas_Object *obj, Elm_Genlist_Item *item, Elm_Genlist_Item *rel_item, Eina_Bool move_after);
11888
11889    /**
11890     * @struct _Elm_Genlist_Item_Class
11891     *
11892     * Genlist item class definition structs.
11893     *
11894     * This struct contains the style and fetching functions that will define the
11895     * contents of each item.
11896     *
11897     * @see @ref Genlist_Item_Class
11898     */
11899    struct _Elm_Genlist_Item_Class
11900      {
11901         const char                *item_style; /**< style of this class. */
11902         struct
11903           {
11904              GenlistItemLabelGetFunc  label_get; /**< Label fetching class function for genlist item classes.*/
11905              GenlistItemIconGetFunc   icon_get; /**< Icon fetching class function for genlist item classes. */
11906              GenlistItemStateGetFunc  state_get; /**< State fetching class function for genlist item classes. */
11907              GenlistItemDelFunc       del; /**< Deletion class function for genlist item classes. */
11908              GenlistItemMovedFunc     moved; // TODO: do not use this. change this to smart callback.
11909           } func;
11910         const char                *mode_item_style;
11911      };
11912
11913    /**
11914     * Add a new Genlist object
11915     *
11916     * @param parent The parent object
11917     * @return The new object or NULL if it cannot be created
11918     *
11919     * @ingroup Genlist
11920     */
11921    EAPI Evas_Object      *elm_genlist_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
11922    /**
11923     * Clear the genlist
11924     *
11925     * This clears all items in the list, leaving it empty.
11926     *
11927     * @param obj The genlist object
11928     *
11929     * @ingroup Genlist
11930     */
11931    EAPI void              elm_genlist_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
11932    /**
11933     * Enable or disable multi-selection in the genlist
11934     *
11935     * @param obj The genlist object
11936     * @param multi Multi-select enable/disable. Default is disabled.
11937     *
11938     * This enables (@c EINA_TRUE) or disables (@c EINA_FALSE) multi-selection in
11939     * the list. This allows more than 1 item to be selected. To retrieve the list
11940     * of selected items, use elm_genlist_selected_items_get().
11941     *
11942     * @see elm_genlist_selected_items_get()
11943     * @see elm_genlist_multi_select_get()
11944     *
11945     * @ingroup Genlist
11946     */
11947    EAPI void              elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
11948    /**
11949     * Gets if multi-selection in genlist is enabled or disabled.
11950     *
11951     * @param obj The genlist object
11952     * @return Multi-select enabled/disabled
11953     * (@c EINA_TRUE = enabled/@c EINA_FALSE = disabled). Default is @c EINA_FALSE.
11954     *
11955     * @see elm_genlist_multi_select_set()
11956     *
11957     * @ingroup Genlist
11958     */
11959    EAPI Eina_Bool         elm_genlist_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11960    /**
11961     * This sets the horizontal stretching mode.
11962     *
11963     * @param obj The genlist object
11964     * @param mode The mode to use (one of #ELM_LIST_SCROLL or #ELM_LIST_LIMIT).
11965     *
11966     * This sets the mode used for sizing items horizontally. Valid modes
11967     * are #ELM_LIST_LIMIT and #ELM_LIST_SCROLL. The default is
11968     * ELM_LIST_SCROLL. This mode means that if items are too wide to fit,
11969     * the scroller will scroll horizontally. Otherwise items are expanded
11970     * to fill the width of the viewport of the scroller. If it is
11971     * ELM_LIST_LIMIT, items will be expanded to the viewport width and
11972     * limited to that size.
11973     *
11974     * @see elm_genlist_horizontal_mode_get()
11975     *
11976     * @ingroup Genlist
11977     */
11978    EAPI void              elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
11979    /**
11980     * Gets the horizontal stretching mode.
11981     *
11982     * @param obj The genlist object
11983     * @return The mode to use
11984     * (#ELM_LIST_LIMIT, #ELM_LIST_SCROLL)
11985     *
11986     * @see elm_genlist_horizontal_mode_set()
11987     *
11988     * @ingroup Genlist
11989     */
11990    EAPI Elm_List_Mode     elm_genlist_horizontal_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11991    /**
11992     * Set the always select mode.
11993     *
11994     * @param obj The genlist object
11995     * @param always_select The always select mode (@c EINA_TRUE = on, @c
11996     * EINA_FALSE = off). Default is @c EINA_FALSE.
11997     *
11998     * Items will only call their selection func and callback when first
11999     * becoming selected. Any further clicks will do nothing, unless you
12000     * enable always select with elm_genlist_always_select_mode_set().
12001     * This means that, even if selected, every click will make the selected
12002     * callbacks be called.
12003     *
12004     * @see elm_genlist_always_select_mode_get()
12005     *
12006     * @ingroup Genlist
12007     */
12008    EAPI void              elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
12009    /**
12010     * Get the always select mode.
12011     *
12012     * @param obj The genlist object
12013     * @return The always select mode
12014     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
12015     *
12016     * @see elm_genlist_always_select_mode_set()
12017     *
12018     * @ingroup Genlist
12019     */
12020    EAPI Eina_Bool         elm_genlist_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12021    /**
12022     * Enable/disable the no select mode.
12023     *
12024     * @param obj The genlist object
12025     * @param no_select The no select mode
12026     * (EINA_TRUE = on, EINA_FALSE = off)
12027     *
12028     * This will turn off the ability to select items entirely and they
12029     * will neither appear selected nor call selected callback functions.
12030     *
12031     * @see elm_genlist_no_select_mode_get()
12032     *
12033     * @ingroup Genlist
12034     */
12035    EAPI void              elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
12036    /**
12037     * Gets whether the no select mode is enabled.
12038     *
12039     * @param obj The genlist object
12040     * @return The no select mode
12041     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
12042     *
12043     * @see elm_genlist_no_select_mode_set()
12044     *
12045     * @ingroup Genlist
12046     */
12047    EAPI Eina_Bool         elm_genlist_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12048    /**
12049     * Enable/disable compress mode.
12050     *
12051     * @param obj The genlist object
12052     * @param compress The compress mode
12053     * (@c EINA_TRUE = on, @c EINA_FALSE = off). Default is @c EINA_FALSE.
12054     *
12055     * This will enable the compress mode where items are "compressed"
12056     * horizontally to fit the genlist scrollable viewport width. This is
12057     * special for genlist.  Do not rely on
12058     * elm_genlist_horizontal_mode_set() being set to @c ELM_LIST_COMPRESS to
12059     * work as genlist needs to handle it specially.
12060     *
12061     * @see elm_genlist_compress_mode_get()
12062     *
12063     * @ingroup Genlist
12064     */
12065    EAPI void              elm_genlist_compress_mode_set(Evas_Object *obj, Eina_Bool compress) EINA_ARG_NONNULL(1);
12066    /**
12067     * Get whether the compress mode is enabled.
12068     *
12069     * @param obj The genlist object
12070     * @return The compress mode
12071     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
12072     *
12073     * @see elm_genlist_compress_mode_set()
12074     *
12075     * @ingroup Genlist
12076     */
12077    EAPI Eina_Bool         elm_genlist_compress_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12078    /**
12079     * Enable/disable height-for-width mode.
12080     *
12081     * @param obj The genlist object
12082     * @param setting The height-for-width mode (@c EINA_TRUE = on,
12083     * @c EINA_FALSE = off). Default is @c EINA_FALSE.
12084     *
12085     * With height-for-width mode the item width will be fixed (restricted
12086     * to a minimum of) to the list width when calculating its size in
12087     * order to allow the height to be calculated based on it. This allows,
12088     * for instance, text block to wrap lines if the Edje part is
12089     * configured with "text.min: 0 1".
12090     *
12091     * @note This mode will make list resize slower as it will have to
12092     *       recalculate every item height again whenever the list width
12093     *       changes!
12094     *
12095     * @note When height-for-width mode is enabled, it also enables
12096     *       compress mode (see elm_genlist_compress_mode_set()) and
12097     *       disables homogeneous (see elm_genlist_homogeneous_set()).
12098     *
12099     * @ingroup Genlist
12100     */
12101    EAPI void              elm_genlist_height_for_width_mode_set(Evas_Object *obj, Eina_Bool height_for_width) EINA_ARG_NONNULL(1);
12102    /**
12103     * Get whether the height-for-width mode is enabled.
12104     *
12105     * @param obj The genlist object
12106     * @return The height-for-width mode (@c EINA_TRUE = on, @c EINA_FALSE =
12107     * off)
12108     *
12109     * @ingroup Genlist
12110     */
12111    EAPI Eina_Bool         elm_genlist_height_for_width_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12112    /**
12113     * Enable/disable horizontal and vertical bouncing effect.
12114     *
12115     * @param obj The genlist object
12116     * @param h_bounce Allow bounce horizontally (@c EINA_TRUE = on, @c
12117     * EINA_FALSE = off). Default is @c EINA_FALSE.
12118     * @param v_bounce Allow bounce vertically (@c EINA_TRUE = on, @c
12119     * EINA_FALSE = off). Default is @c EINA_TRUE.
12120     *
12121     * This will enable or disable the scroller bouncing effect for the
12122     * genlist. See elm_scroller_bounce_set() for details.
12123     *
12124     * @see elm_scroller_bounce_set()
12125     * @see elm_genlist_bounce_get()
12126     *
12127     * @ingroup Genlist
12128     */
12129    EAPI void              elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
12130    /**
12131     * Get whether the horizontal and vertical bouncing effect is enabled.
12132     *
12133     * @param obj The genlist object
12134     * @param h_bounce Pointer to a bool to receive if the bounce horizontally
12135     * option is set.
12136     * @param v_bounce Pointer to a bool to receive if the bounce vertically
12137     * option is set.
12138     *
12139     * @see elm_genlist_bounce_set()
12140     *
12141     * @ingroup Genlist
12142     */
12143    EAPI void              elm_genlist_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
12144    /**
12145     * Enable/disable homogenous mode.
12146     *
12147     * @param obj The genlist object
12148     * @param homogeneous Assume the items within the genlist are of the
12149     * same height and width (EINA_TRUE = on, EINA_FALSE = off). Default is @c
12150     * EINA_FALSE.
12151     *
12152     * This will enable the homogeneous mode where items are of the same
12153     * height and width so that genlist may do the lazy-loading at its
12154     * maximum (which increases the performance for scrolling the list). This
12155     * implies 'compressed' mode.
12156     *
12157     * @see elm_genlist_compress_mode_set()
12158     * @see elm_genlist_homogeneous_get()
12159     *
12160     * @ingroup Genlist
12161     */
12162    EAPI void              elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
12163    /**
12164     * Get whether the homogenous mode is enabled.
12165     *
12166     * @param obj The genlist object
12167     * @return Assume the items within the genlist are of the same height
12168     * and width (EINA_TRUE = on, EINA_FALSE = off)
12169     *
12170     * @see elm_genlist_homogeneous_set()
12171     *
12172     * @ingroup Genlist
12173     */
12174    EAPI Eina_Bool         elm_genlist_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12175    /**
12176     * Set the maximum number of items within an item block
12177     *
12178     * @param obj The genlist object
12179     * @param n   Maximum number of items within an item block. Default is 32.
12180     *
12181     * This will configure the block count to tune to the target with
12182     * particular performance matrix.
12183     *
12184     * A block of objects will be used to reduce the number of operations due to
12185     * many objects in the screen. It can determine the visibility, or if the
12186     * object has changed, it theme needs to be updated, etc. doing this kind of
12187     * calculation to the entire block, instead of per object.
12188     *
12189     * The default value for the block count is enough for most lists, so unless
12190     * you know you will have a lot of objects visible in the screen at the same
12191     * time, don't try to change this.
12192     *
12193     * @see elm_genlist_block_count_get()
12194     * @see @ref Genlist_Implementation
12195     *
12196     * @ingroup Genlist
12197     */
12198    EAPI void              elm_genlist_block_count_set(Evas_Object *obj, int n) EINA_ARG_NONNULL(1);
12199    /**
12200     * Get the maximum number of items within an item block
12201     *
12202     * @param obj The genlist object
12203     * @return Maximum number of items within an item block
12204     *
12205     * @see elm_genlist_block_count_set()
12206     *
12207     * @ingroup Genlist
12208     */
12209    EAPI int               elm_genlist_block_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12210    /**
12211     * Set the timeout in seconds for the longpress event.
12212     *
12213     * @param obj The genlist object
12214     * @param timeout timeout in seconds. Default is 1.
12215     *
12216     * This option will change how long it takes to send an event "longpressed"
12217     * after the mouse down signal is sent to the list. If this event occurs, no
12218     * "clicked" event will be sent.
12219     *
12220     * @see elm_genlist_longpress_timeout_set()
12221     *
12222     * @ingroup Genlist
12223     */
12224    EAPI void              elm_genlist_longpress_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
12225    /**
12226     * Get the timeout in seconds for the longpress event.
12227     *
12228     * @param obj The genlist object
12229     * @return timeout in seconds
12230     *
12231     * @see elm_genlist_longpress_timeout_get()
12232     *
12233     * @ingroup Genlist
12234     */
12235    EAPI double            elm_genlist_longpress_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12236    /* operations to add items */
12237    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);
12238    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);
12239    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);
12240    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);
12241    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);
12242    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);
12243    /* operations to retrieve existing items */
12244    /**
12245     * Get the selectd item in the genlist.
12246     *
12247     * @param obj The genlist object
12248     * @return The selected item, or NULL if none is selected.
12249     *
12250     * This gets the selected item in the list (if multi-selection is enabled, only
12251     * the item that was first selected in the list is returned - which is not very
12252     * useful, so see elm_genlist_selected_items_get() for when multi-selection is
12253     * used).
12254     *
12255     * If no item is selected, NULL is returned.
12256     *
12257     * @see elm_genlist_selected_items_get()
12258     *
12259     * @ingroup Genlist
12260     */
12261    EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12262    /**
12263     * Get a list of selected items in the genlist.
12264     *
12265     * @param obj The genlist object
12266     * @return The list of selected items, or NULL if none are selected.
12267     *
12268     * It returns a list of the selected items. This list pointer is only valid so
12269     * long as the selection doesn't change (no items are selected or unselected, or
12270     * unselected implicitly by deletion). The list contains Elm_Genlist_Item
12271     * pointers. The order of the items in this list is the order which they were
12272     * selected, i.e. the first item in this list is the first item that was
12273     * selected, and so on.
12274     *
12275     * @note If not in multi-select mode, consider using function
12276     * elm_genlist_selected_item_get() instead.
12277     *
12278     * @see elm_genlist_multi_select_set()
12279     * @see elm_genlist_selected_item_get()
12280     *
12281     * @ingroup Genlist
12282     */
12283    EAPI const Eina_List  *elm_genlist_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12284    /**
12285     * Get a list of realized items in genlist
12286     *
12287     * @param obj The genlist object
12288     * @return The list of realized items, nor NULL if none are realized.
12289     *
12290     * This returns a list of the realized items in the genlist. The list
12291     * contains Elm_Genlist_Item pointers. The list must be freed by the
12292     * caller when done with eina_list_free(). The item pointers in the
12293     * list are only valid so long as those items are not deleted or the
12294     * genlist is not deleted.
12295     *
12296     * @see elm_genlist_realized_items_update()
12297     *
12298     * @ingroup Genlist
12299     */
12300    EAPI Eina_List        *elm_genlist_realized_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12301    /**
12302     * Get the item that is at the x, y canvas coords.
12303     *
12304     * @param obj The gelinst object.
12305     * @param x The input x coordinate
12306     * @param y The input y coordinate
12307     * @param posret The position relative to the item returned here
12308     * @return The item at the coordinates or NULL if none
12309     *
12310     * This returns the item at the given coordinates (which are canvas
12311     * relative, not object-relative). If an item is at that coordinate,
12312     * that item handle is returned, and if @p posret is not NULL, the
12313     * integer pointed to is set to a value of -1, 0 or 1, depending if
12314     * the coordinate is on the upper portion of that item (-1), on the
12315     * middle section (0) or on the lower part (1). If NULL is returned as
12316     * an item (no item found there), then posret may indicate -1 or 1
12317     * based if the coordinate is above or below all items respectively in
12318     * the genlist.
12319     *
12320     * @ingroup Genlist
12321     */
12322    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);
12323    EAPI Elm_Genlist_Item *elm_genlist_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12324    EAPI Elm_Genlist_Item *elm_genlist_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12325    /**
12326     * Set the scrollbar policy
12327     *
12328     * @param obj The genlist object
12329     * @param policy_h Horizontal scrollbar policy.
12330     * @param policy_v Vertical scrollbar policy.
12331     *
12332     * This sets the scrollbar visibility policy for the given genlist
12333     * scroller. #ELM_SMART_SCROLLER_POLICY_AUTO means the scrollbar is
12334     * made visible if it is needed, and otherwise kept hidden.
12335     * #ELM_SMART_SCROLLER_POLICY_ON turns it on all the time, and
12336     * #ELM_SMART_SCROLLER_POLICY_OFF always keeps it off. This applies
12337     * respectively for the horizontal and vertical scrollbars. Default is
12338     * #ELM_SMART_SCROLLER_POLICY_AUTO
12339     *
12340     * @see elm_genlist_scroller_policy_get()
12341     *
12342     * @ingroup Genlist
12343     */
12344    EAPI void              elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
12345    /**
12346     * Get the scrollbar policy
12347     *
12348     * @param obj The genlist object
12349     * @param policy_h Pointer to store the horizontal scrollbar policy.
12350     * @param policy_v Pointer to store the vertical scrollbar policy.
12351     *
12352     * @see elm_genlist_scroller_policy_set()
12353     *
12354     * @ingroup Genlist
12355     */
12356    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);
12357    /* available item styles:
12358     * default
12359     * default_style - The text part is a textblock
12360     * double_label
12361     * icon_top_text_bottom
12362     */
12363    /* Genlist Item operation */
12364    EAPI Elm_Genlist_Item  *elm_genlist_item_next_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12365    EAPI Elm_Genlist_Item  *elm_genlist_item_prev_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12366    EAPI Evas_Object       *elm_genlist_item_genlist_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12367    EAPI Elm_Genlist_Item  *elm_genlist_item_parent_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
12368    EAPI void               elm_genlist_item_subitems_clear(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12369    EAPI void               elm_genlist_item_selected_set(Elm_Genlist_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
12370    EAPI Eina_Bool          elm_genlist_item_selected_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12371    EAPI void               elm_genlist_item_expanded_set(Elm_Genlist_Item *item, Eina_Bool expanded) EINA_ARG_NONNULL(1);
12372    EAPI Eina_Bool          elm_genlist_item_expanded_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12373    EAPI int                elm_genlist_item_expanded_depth_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
12374    EAPI void               elm_genlist_item_disabled_set(Elm_Genlist_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
12375    EAPI Eina_Bool          elm_genlist_item_disabled_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12376    EAPI void               elm_genlist_item_display_only_set(Elm_Genlist_Item *it, Eina_Bool display_only) EINA_ARG_NONNULL(1);
12377    EAPI Eina_Bool          elm_genlist_item_display_only_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
12378    EAPI void               elm_genlist_item_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12379    EAPI void               elm_genlist_item_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12380    EAPI void               elm_genlist_item_top_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12381    EAPI void               elm_genlist_item_top_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12382    EAPI void               elm_genlist_item_middle_show(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
12383    EAPI void               elm_genlist_item_middle_bring_in(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
12384    EAPI void               elm_genlist_item_del(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12385    EAPI void              *elm_genlist_item_data_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12386    EAPI void               elm_genlist_item_data_set(Elm_Genlist_Item *it, const void *data) EINA_ARG_NONNULL(1);
12387    EAPI void               elm_genlist_item_icons_orphan(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
12388    EAPI const Evas_Object *elm_genlist_item_object_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
12389    EAPI void               elm_genlist_item_update(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12390    EAPI void               elm_genlist_item_item_class_update(Elm_Genlist_Item *it, const Elm_Genlist_Item_Class *itc) EINA_ARG_NONNULL(1, 2);
12391    EAPI const Elm_Genlist_Item_Class *elm_genlist_item_item_class_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
12392    EAPI void               elm_genlist_item_tooltip_text_set(Elm_Genlist_Item *item, const char *text) EINA_ARG_NONNULL(1);
12393    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);
12394    EAPI void               elm_genlist_item_tooltip_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12395    EAPI void               elm_genlist_item_tooltip_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
12396    EAPI const char        *elm_genlist_item_tooltip_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12397    /**
12398     * @brief Disable size restrictions on an object's tooltip
12399     * @param item The tooltip's anchor object
12400     * @param disable If EINA_TRUE, size restrictions are disabled
12401     * @return EINA_FALSE on failure, EINA_TRUE on success
12402     *
12403     * This function allows a tooltip to expand beyond its parant window's canvas.
12404     * It will instead be limited only by the size of the display.
12405     */
12406    EAPI Eina_Bool          elm_genlist_item_tooltip_size_restrict_disable(Elm_Genlist_Item *item, Eina_Bool disable);
12407    /**
12408     * @brief Retrieve size restriction state of an object's tooltip
12409     * @param item The tooltip's anchor object
12410     * @return If EINA_TRUE, size restrictions are disabled
12411     *
12412     * This function returns whether a tooltip is allowed to expand beyond
12413     * its parant window's canvas.
12414     * It will instead be limited only by the size of the display.
12415     */
12416    EAPI Eina_Bool          elm_genlist_item_tooltip_size_restrict_disabled_get(const Elm_Genlist_Item *item);
12417    EAPI void               elm_genlist_item_cursor_set(Elm_Genlist_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
12418    EAPI const char        *elm_genlist_item_cursor_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12419    EAPI void               elm_genlist_item_cursor_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12420    EAPI void               elm_genlist_item_cursor_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
12421    EAPI const char        *elm_genlist_item_cursor_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12422    EAPI void               elm_genlist_item_cursor_engine_only_set(Elm_Genlist_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
12423    EAPI Eina_Bool          elm_genlist_item_cursor_engine_only_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
12424    /**
12425     * Update the contents of all realized items.
12426     *
12427     * @param obj The genlist object.
12428     *
12429     * This updates all realized items by calling all the item class functions again
12430     * to get the icons, labels and states. Use this when the original
12431     * item data has changed and the changes are desired to be reflected.
12432     *
12433     * @see elm_genlist_realized_items_get()
12434     *
12435     * @ingroup Genlist
12436     */
12437    EAPI void               elm_genlist_realized_items_update(Evas_Object *obj) EINA_ARG_NONNULL(1);
12438    EAPI void               elm_genlist_item_mode_set(Elm_Genlist_Item *it, const char *mode_type, Eina_Bool mode_set) EINA_ARG_NONNULL(1, 2);
12439    EAPI const char        *elm_genlist_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12440    EAPI const Elm_Genlist_Item *elm_genlist_mode_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12441    EAPI void               elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
12442    EAPI Eina_Bool          elm_genlist_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12443
12444    /**
12445     * @}
12446     */
12447
12448    /**
12449     * @defgroup Check Check
12450     *
12451     * @image html img/widget/button/preview-00.png
12452     * @image html img/widget/button/preview-01.png
12453     * @image html img/widget/button/preview-02.png
12454     *
12455     * @brief The check widget allows for toggling a value between true and
12456     * false.
12457     *
12458     * Check objects are a lot like radio objects in layout and functionality
12459     * except they do not work as a group, but independently and only toggle the
12460     * value of a boolean from false to true (0 or 1). elm_check_state_set() sets
12461     * the boolean state (1 for true, 0 for false), and elm_check_state_get()
12462     * returns the current state. For convenience, like the radio objects, you
12463     * can set a pointer to a boolean directly with elm_check_state_pointer_set()
12464     * for it to modify.
12465     *
12466     * Signals that you can add callbacks for are:
12467     * "changed" - This is called whenever the user changes the state of one of
12468     *             the check object(event_info is NULL).
12469     *
12470     * @ref tutorial_check should give you a firm grasp of how to use this widget.
12471     * @{
12472     */
12473    /**
12474     * @brief Add a new Check object
12475     *
12476     * @param parent The parent object
12477     * @return The new object or NULL if it cannot be created
12478     */
12479    EAPI Evas_Object *elm_check_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12480    /**
12481     * @brief Set the text label of the check object
12482     *
12483     * @param obj The check object
12484     * @param label The text label string in UTF-8
12485     *
12486     * @deprecated use elm_object_text_set() instead.
12487     */
12488    EINA_DEPRECATED EAPI void         elm_check_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
12489    /**
12490     * @brief Get the text label of the check object
12491     *
12492     * @param obj The check object
12493     * @return The text label string in UTF-8
12494     *
12495     * @deprecated use elm_object_text_get() instead.
12496     */
12497    EINA_DEPRECATED EAPI const char  *elm_check_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12498    /**
12499     * @brief Set the icon object of the check object
12500     *
12501     * @param obj The check object
12502     * @param icon The icon object
12503     *
12504     * Once the icon object is set, a previously set one will be deleted.
12505     * If you want to keep that old content object, use the
12506     * elm_check_icon_unset() function.
12507     */
12508    EAPI void         elm_check_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
12509    /**
12510     * @brief Get the icon object of the check object
12511     *
12512     * @param obj The check object
12513     * @return The icon object
12514     */
12515    EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12516    /**
12517     * @brief Unset the icon used for the check object
12518     *
12519     * @param obj The check object
12520     * @return The icon object that was being used
12521     *
12522     * Unparent and return the icon object which was set for this widget.
12523     */
12524    EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
12525    /**
12526     * @brief Set the on/off state of the check object
12527     *
12528     * @param obj The check object
12529     * @param state The state to use (1 == on, 0 == off)
12530     *
12531     * This sets the state of the check. If set
12532     * with elm_check_state_pointer_set() the state of that variable is also
12533     * changed. Calling this @b doesn't cause the "changed" signal to be emited.
12534     */
12535    EAPI void         elm_check_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
12536    /**
12537     * @brief Get the state of the check object
12538     *
12539     * @param obj The check object
12540     * @return The boolean state
12541     */
12542    EAPI Eina_Bool    elm_check_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12543    /**
12544     * @brief Set a convenience pointer to a boolean to change
12545     *
12546     * @param obj The check object
12547     * @param statep Pointer to the boolean to modify
12548     *
12549     * This sets a pointer to a boolean, that, in addition to the check objects
12550     * state will also be modified directly. To stop setting the object pointed
12551     * to simply use NULL as the @p statep parameter. If @p statep is not NULL,
12552     * then when this is called, the check objects state will also be modified to
12553     * reflect the value of the boolean @p statep points to, just like calling
12554     * elm_check_state_set().
12555     */
12556    EAPI void         elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
12557    /**
12558     * @}
12559     */
12560
12561    /**
12562     * @defgroup Radio Radio
12563     *
12564     * @image html img/widget/radio/preview-00.png
12565     * @image latex img/widget/radio/preview-00.eps
12566     *
12567     * @brief Radio is a widget that allows for 1 or more options to be displayed
12568     * and have the user choose only 1 of them.
12569     *
12570     * A radio object contains an indicator, an optional Label and an optional
12571     * icon object. While it's possible to have a group of only one radio they,
12572     * are normally used in groups of 2 or more. To add a radio to a group use
12573     * elm_radio_group_add(). The radio object(s) will select from one of a set
12574     * of integer values, so any value they are configuring needs to be mapped to
12575     * a set of integers. To configure what value that radio object represents,
12576     * use  elm_radio_state_value_set() to set the integer it represents. To set
12577     * the value the whole group(which one is currently selected) is to indicate
12578     * use elm_radio_value_set() on any group member, and to get the groups value
12579     * use elm_radio_value_get(). For convenience the radio objects are also able
12580     * to directly set an integer(int) to the value that is selected. To specify
12581     * the pointer to this integer to modify, use elm_radio_value_pointer_set().
12582     * The radio objects will modify this directly. That implies the pointer must
12583     * point to valid memory for as long as the radio objects exist.
12584     *
12585     * Signals that you can add callbacks for are:
12586     * @li changed - This is called whenever the user changes the state of one of
12587     * the radio objects within the group of radio objects that work together.
12588     *
12589     * @ref tutorial_radio show most of this API in action.
12590     * @{
12591     */
12592    /**
12593     * @brief Add a new radio to the parent
12594     *
12595     * @param parent The parent object
12596     * @return The new object or NULL if it cannot be created
12597     */
12598    EAPI Evas_Object *elm_radio_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12599    /**
12600     * @brief Set the text label of the radio object
12601     *
12602     * @param obj The radio object
12603     * @param label The text label string in UTF-8
12604     *
12605     * @deprecated use elm_object_text_set() instead.
12606     */
12607    EINA_DEPRECATED EAPI void         elm_radio_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
12608    /**
12609     * @brief Get the text label of the radio object
12610     *
12611     * @param obj The radio object
12612     * @return The text label string in UTF-8
12613     *
12614     * @deprecated use elm_object_text_set() instead.
12615     */
12616    EINA_DEPRECATED EAPI const char  *elm_radio_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12617    /**
12618     * @brief Set the icon object of the radio object
12619     *
12620     * @param obj The radio object
12621     * @param icon The icon object
12622     *
12623     * Once the icon object is set, a previously set one will be deleted. If you
12624     * want to keep that old content object, use the elm_radio_icon_unset()
12625     * function.
12626     */
12627    EAPI void         elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
12628    /**
12629     * @brief Get the icon object of the radio object
12630     *
12631     * @param obj The radio object
12632     * @return The icon object
12633     *
12634     * @see elm_radio_icon_set()
12635     */
12636    EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12637    /**
12638     * @brief Unset the icon used for the radio object
12639     *
12640     * @param obj The radio object
12641     * @return The icon object that was being used
12642     *
12643     * Unparent and return the icon object which was set for this widget.
12644     *
12645     * @see elm_radio_icon_set()
12646     */
12647    EAPI Evas_Object *elm_radio_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
12648    /**
12649     * @brief Add this radio to a group of other radio objects
12650     *
12651     * @param obj The radio object
12652     * @param group Any object whose group the @p obj is to join.
12653     *
12654     * Radio objects work in groups. Each member should have a different integer
12655     * value assigned. In order to have them work as a group, they need to know
12656     * about each other. This adds the given radio object to the group of which
12657     * the group object indicated is a member.
12658     */
12659    EAPI void         elm_radio_group_add(Evas_Object *obj, Evas_Object *group) EINA_ARG_NONNULL(1);
12660    /**
12661     * @brief Set the integer value that this radio object represents
12662     *
12663     * @param obj The radio object
12664     * @param value The value to use if this radio object is selected
12665     *
12666     * This sets the value of the radio.
12667     */
12668    EAPI void         elm_radio_state_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
12669    /**
12670     * @brief Get the integer value that this radio object represents
12671     *
12672     * @param obj The radio object
12673     * @return The value used if this radio object is selected
12674     *
12675     * This gets the value of the radio.
12676     *
12677     * @see elm_radio_value_set()
12678     */
12679    EAPI int          elm_radio_state_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12680    /**
12681     * @brief Set the value of the radio.
12682     *
12683     * @param obj The radio object
12684     * @param value The value to use for the group
12685     *
12686     * This sets the value of the radio group and will also set the value if
12687     * pointed to, to the value supplied, but will not call any callbacks.
12688     */
12689    EAPI void         elm_radio_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
12690    /**
12691     * @brief Get the state of the radio object
12692     *
12693     * @param obj The radio object
12694     * @return The integer state
12695     */
12696    EAPI int          elm_radio_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12697    /**
12698     * @brief Set a convenience pointer to a integer to change
12699     *
12700     * @param obj The radio object
12701     * @param valuep Pointer to the integer to modify
12702     *
12703     * This sets a pointer to a integer, that, in addition to the radio objects
12704     * state will also be modified directly. To stop setting the object pointed
12705     * to simply use NULL as the @p valuep argument. If valuep is not NULL, then
12706     * when this is called, the radio objects state will also be modified to
12707     * reflect the value of the integer valuep points to, just like calling
12708     * elm_radio_value_set().
12709     */
12710    EAPI void         elm_radio_value_pointer_set(Evas_Object *obj, int *valuep) EINA_ARG_NONNULL(1);
12711    /**
12712     * @}
12713     */
12714
12715    /**
12716     * @defgroup Pager Pager
12717     *
12718     * @image html img/widget/pager/preview-00.png
12719     * @image latex img/widget/pager/preview-00.eps
12720     *
12721     * @brief Widget that allows flipping between 1 or more “pages” of objects.
12722     *
12723     * The flipping between “pages” of objects is animated. All content in pager
12724     * is kept in a stack, the last content to be added will be on the top of the
12725     * stack(be visible).
12726     *
12727     * Objects can be pushed or popped from the stack or deleted as normal.
12728     * Pushes and pops will animate (and a pop will delete the object once the
12729     * animation is finished). Any object already in the pager can be promoted to
12730     * the top(from its current stacking position) through the use of
12731     * elm_pager_content_promote(). Objects are pushed to the top with
12732     * elm_pager_content_push() and when the top item is no longer wanted, simply
12733     * pop it with elm_pager_content_pop() and it will also be deleted. If an
12734     * object is no longer needed and is not the top item, just delete it as
12735     * normal. You can query which objects are the top and bottom with
12736     * elm_pager_content_bottom_get() and elm_pager_content_top_get().
12737     *
12738     * Signals that you can add callbacks for are:
12739     * "hide,finished" - when the previous page is hided
12740     *
12741     * This widget has the following styles available:
12742     * @li default
12743     * @li fade
12744     * @li fade_translucide
12745     * @li fade_invisible
12746     * @note This styles affect only the flipping animations, the appearance when
12747     * not animating is unaffected by styles.
12748     *
12749     * @ref tutorial_pager gives a good overview of the usage of the API.
12750     * @{
12751     */
12752    /**
12753     * Add a new pager to the parent
12754     *
12755     * @param parent The parent object
12756     * @return The new object or NULL if it cannot be created
12757     *
12758     * @ingroup Pager
12759     */
12760    EAPI Evas_Object *elm_pager_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12761    /**
12762     * @brief Push an object to the top of the pager stack (and show it).
12763     *
12764     * @param obj The pager object
12765     * @param content The object to push
12766     *
12767     * The object pushed becomes a child of the pager, it will be controlled and
12768     * deleted when the pager is deleted.
12769     *
12770     * @note If the content is already in the stack use
12771     * elm_pager_content_promote().
12772     * @warning Using this function on @p content already in the stack results in
12773     * undefined behavior.
12774     */
12775    EAPI void         elm_pager_content_push(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
12776    /**
12777     * @brief Pop the object that is on top of the stack
12778     *
12779     * @param obj The pager object
12780     *
12781     * This pops the object that is on the top(visible) of the pager, makes it
12782     * disappear, then deletes the object. The object that was underneath it on
12783     * the stack will become visible.
12784     */
12785    EAPI void         elm_pager_content_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
12786    /**
12787     * @brief Moves an object already in the pager stack to the top of the stack.
12788     *
12789     * @param obj The pager object
12790     * @param content The object to promote
12791     *
12792     * This will take the @p content and move it to the top of the stack as
12793     * if it had been pushed there.
12794     *
12795     * @note If the content isn't already in the stack use
12796     * elm_pager_content_push().
12797     * @warning Using this function on @p content not already in the stack
12798     * results in undefined behavior.
12799     */
12800    EAPI void         elm_pager_content_promote(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
12801    /**
12802     * @brief Return the object at the bottom of the pager stack
12803     *
12804     * @param obj The pager object
12805     * @return The bottom object or NULL if none
12806     */
12807    EAPI Evas_Object *elm_pager_content_bottom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12808    /**
12809     * @brief  Return the object at the top of the pager stack
12810     *
12811     * @param obj The pager object
12812     * @return The top object or NULL if none
12813     */
12814    EAPI Evas_Object *elm_pager_content_top_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12815    /**
12816     * @}
12817     */
12818
12819    /**
12820     * @defgroup Slideshow Slideshow
12821     *
12822     * @image html img/widget/slideshow/preview-00.png
12823     * @image latex img/widget/slideshow/preview-00.eps
12824     *
12825     * This widget, as the name indicates, is a pre-made image
12826     * slideshow panel, with API functions acting on (child) image
12827     * items presentation. Between those actions, are:
12828     * - advance to next/previous image
12829     * - select the style of image transition animation
12830     * - set the exhibition time for each image
12831     * - start/stop the slideshow
12832     *
12833     * The transition animations are defined in the widget's theme,
12834     * consequently new animations can be added without having to
12835     * update the widget's code.
12836     *
12837     * @section Slideshow_Items Slideshow items
12838     *
12839     * For slideshow items, just like for @ref Genlist "genlist" ones,
12840     * the user defines a @b classes, specifying functions that will be
12841     * called on the item's creation and deletion times.
12842     *
12843     * The #Elm_Slideshow_Item_Class structure contains the following
12844     * members:
12845     *
12846     * - @c func.get - When an item is displayed, this function is
12847     *   called, and it's where one should create the item object, de
12848     *   facto. For example, the object can be a pure Evas image object
12849     *   or an Elementary @ref Photocam "photocam" widget. See
12850     *   #SlideshowItemGetFunc.
12851     * - @c func.del - When an item is no more displayed, this function
12852     *   is called, where the user must delete any data associated to
12853     *   the item. See #SlideshowItemDelFunc.
12854     *
12855     * @section Slideshow_Caching Slideshow caching
12856     *
12857     * The slideshow provides facilities to have items adjacent to the
12858     * one being displayed <b>already "realized"</b> (i.e. loaded) for
12859     * you, so that the system does not have to decode image data
12860     * anymore at the time it has to actually switch images on its
12861     * viewport. The user is able to set the numbers of items to be
12862     * cached @b before and @b after the current item, in the widget's
12863     * item list.
12864     *
12865     * Smart events one can add callbacks for are:
12866     *
12867     * - @c "changed" - when the slideshow switches its view to a new
12868     *   item
12869     *
12870     * List of examples for the slideshow widget:
12871     * @li @ref slideshow_example
12872     */
12873
12874    /**
12875     * @addtogroup Slideshow
12876     * @{
12877     */
12878
12879    typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class; /**< Slideshow item class definition struct */
12880    typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func; /**< Class functions for slideshow item classes. */
12881    typedef struct _Elm_Slideshow_Item       Elm_Slideshow_Item; /**< Slideshow item handle */
12882    typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj); /**< Image fetching class function for slideshow item classes. */
12883    typedef void         (*SlideshowItemDelFunc) (void *data, Evas_Object *obj); /**< Deletion class function for slideshow item classes. */
12884
12885    /**
12886     * @struct _Elm_Slideshow_Item_Class
12887     *
12888     * Slideshow item class definition. See @ref Slideshow_Items for
12889     * field details.
12890     */
12891    struct _Elm_Slideshow_Item_Class
12892      {
12893         struct _Elm_Slideshow_Item_Class_Func
12894           {
12895              SlideshowItemGetFunc get;
12896              SlideshowItemDelFunc del;
12897           } func;
12898      }; /**< #Elm_Slideshow_Item_Class member definitions */
12899
12900    /**
12901     * Add a new slideshow widget to the given parent Elementary
12902     * (container) object
12903     *
12904     * @param parent The parent object
12905     * @return A new slideshow widget handle or @c NULL, on errors
12906     *
12907     * This function inserts a new slideshow widget on the canvas.
12908     *
12909     * @ingroup Slideshow
12910     */
12911    EAPI Evas_Object        *elm_slideshow_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12912
12913    /**
12914     * Add (append) a new item in a given slideshow widget.
12915     *
12916     * @param obj The slideshow object
12917     * @aram itc The item class for the item
12918     * @param data The item's data
12919     * @return A handle to the item added or @c NULL, on errors
12920     *
12921     * Add a new item to @p obj's internal list of items, appending it.
12922     * The item's class must contain the function really fetching the
12923     * image object to show for this item, which could be an Evas image
12924     * object or an Elementary photo, for example. The @p data
12925     * parameter is going to be passed to both class functions of the
12926     * item.
12927     *
12928     * @see #Elm_Slideshow_Item_Class
12929     * @see elm_slideshow_item_sorted_insert()
12930     *
12931     * @ingroup Slideshow
12932     */
12933    EAPI Elm_Slideshow_Item *elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data) EINA_ARG_NONNULL(1);
12934
12935    /**
12936     * Insert a new item into the given slideshow widget, using the @p func
12937     * function to sort items (by item handles).
12938     *
12939     * @param obj The slideshow object
12940     * @aram itc The item class for the item
12941     * @param data The item's data
12942     * @param func The comparing function to be used to sort slideshow
12943     * items <b>by #Elm_Slideshow_Item item handles</b>
12944     * @return Returns The slideshow item handle, on success, or
12945     * @c NULL, on errors
12946     *
12947     * Add a new item to @p obj's internal list of items, in a position
12948     * determined by the @p func comparing function. The item's class
12949     * must contain the function really fetching the image object to
12950     * show for this item, which could be an Evas image object or an
12951     * Elementary photo, for example. The @p data parameter is going to
12952     * be passed to both class functions of the item.
12953     *
12954     * @see #Elm_Slideshow_Item_Class
12955     * @see elm_slideshow_item_add()
12956     *
12957     * @ingroup Slideshow
12958     */
12959    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);
12960
12961    /**
12962     * Display a given slideshow widget's item, programmatically.
12963     *
12964     * @param obj The slideshow object
12965     * @param item The item to display on @p obj's viewport
12966     *
12967     * The change between the current item and @p item will use the
12968     * transition @p obj is set to use (@see
12969     * elm_slideshow_transition_set()).
12970     *
12971     * @ingroup Slideshow
12972     */
12973    EAPI void                elm_slideshow_show(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
12974
12975    /**
12976     * Slide to the @b next item, in a given slideshow widget
12977     *
12978     * @param obj The slideshow object
12979     *
12980     * The sliding animation @p obj is set to use will be the
12981     * transition effect used, after this call is issued.
12982     *
12983     * @note If the end of the slideshow's internal list of items is
12984     * reached, it'll wrap around to the list's beginning, again.
12985     *
12986     * @ingroup Slideshow
12987     */
12988    EAPI void                elm_slideshow_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
12989
12990    /**
12991     * Slide to the @b previous item, in a given slideshow widget
12992     *
12993     * @param obj The slideshow object
12994     *
12995     * The sliding animation @p obj is set to use will be the
12996     * transition effect used, after this call is issued.
12997     *
12998     * @note If the beginning of the slideshow's internal list of items
12999     * is reached, it'll wrap around to the list's end, again.
13000     *
13001     * @ingroup Slideshow
13002     */
13003    EAPI void                elm_slideshow_previous(Evas_Object *obj) EINA_ARG_NONNULL(1);
13004
13005    /**
13006     * Returns the list of sliding transition/effect names available, for a
13007     * given slideshow widget.
13008     *
13009     * @param obj The slideshow object
13010     * @return The list of transitions (list of @b stringshared strings
13011     * as data)
13012     *
13013     * The transitions, which come from @p obj's theme, must be an EDC
13014     * data item named @c "transitions" on the theme file, with (prefix)
13015     * names of EDC programs actually implementing them.
13016     *
13017     * The available transitions for slideshows on the default theme are:
13018     * - @c "fade" - the current item fades out, while the new one
13019     *   fades in to the slideshow's viewport.
13020     * - @c "black_fade" - the current item fades to black, and just
13021     *   then, the new item will fade in.
13022     * - @c "horizontal" - the current item slides horizontally, until
13023     *   it gets out of the slideshow's viewport, while the new item
13024     *   comes from the left to take its place.
13025     * - @c "vertical" - the current item slides vertically, until it
13026     *   gets out of the slideshow's viewport, while the new item comes
13027     *   from the bottom to take its place.
13028     * - @c "square" - the new item starts to appear from the middle of
13029     *   the current one, but with a tiny size, growing until its
13030     *   target (full) size and covering the old one.
13031     *
13032     * @warning The stringshared strings get no new references
13033     * exclusive to the user grabbing the list, here, so if you'd like
13034     * to use them out of this call's context, you'd better @c
13035     * eina_stringshare_ref() them.
13036     *
13037     * @see elm_slideshow_transition_set()
13038     *
13039     * @ingroup Slideshow
13040     */
13041    EAPI const Eina_List    *elm_slideshow_transitions_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13042
13043    /**
13044     * Set the current slide transition/effect in use for a given
13045     * slideshow widget
13046     *
13047     * @param obj The slideshow object
13048     * @param transition The new transition's name string
13049     *
13050     * If @p transition is implemented in @p obj's theme (i.e., is
13051     * contained in the list returned by
13052     * elm_slideshow_transitions_get()), this new sliding effect will
13053     * be used on the widget.
13054     *
13055     * @see elm_slideshow_transitions_get() for more details
13056     *
13057     * @ingroup Slideshow
13058     */
13059    EAPI void                elm_slideshow_transition_set(Evas_Object *obj, const char *transition) EINA_ARG_NONNULL(1);
13060
13061    /**
13062     * Get the current slide transition/effect in use for a given
13063     * slideshow widget
13064     *
13065     * @param obj The slideshow object
13066     * @return The current transition's name
13067     *
13068     * @see elm_slideshow_transition_set() for more details
13069     *
13070     * @ingroup Slideshow
13071     */
13072    EAPI const char         *elm_slideshow_transition_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13073
13074    /**
13075     * Set the interval between each image transition on a given
13076     * slideshow widget, <b>and start the slideshow, itself</b>
13077     *
13078     * @param obj The slideshow object
13079     * @param timeout The new displaying timeout for images
13080     *
13081     * After this call, the slideshow widget will start cycling its
13082     * view, sequentially and automatically, with the images of the
13083     * items it has. The time between each new image displayed is going
13084     * to be @p timeout, in @b seconds. If a different timeout was set
13085     * previously and an slideshow was in progress, it will continue
13086     * with the new time between transitions, after this call.
13087     *
13088     * @note A value less than or equal to 0 on @p timeout will disable
13089     * the widget's internal timer, thus halting any slideshow which
13090     * could be happening on @p obj.
13091     *
13092     * @see elm_slideshow_timeout_get()
13093     *
13094     * @ingroup Slideshow
13095     */
13096    EAPI void                elm_slideshow_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
13097
13098    /**
13099     * Get the interval set for image transitions on a given slideshow
13100     * widget.
13101     *
13102     * @param obj The slideshow object
13103     * @return Returns the timeout set on it
13104     *
13105     * @see elm_slideshow_timeout_set() for more details
13106     *
13107     * @ingroup Slideshow
13108     */
13109    EAPI double              elm_slideshow_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13110
13111    /**
13112     * Set if, after a slideshow is started, for a given slideshow
13113     * widget, its items should be displayed cyclically or not.
13114     *
13115     * @param obj The slideshow object
13116     * @param loop Use @c EINA_TRUE to make it cycle through items or
13117     * @c EINA_FALSE for it to stop at the end of @p obj's internal
13118     * list of items
13119     *
13120     * @note elm_slideshow_next() and elm_slideshow_previous() will @b
13121     * ignore what is set by this functions, i.e., they'll @b always
13122     * cycle through items. This affects only the "automatic"
13123     * slideshow, as set by elm_slideshow_timeout_set().
13124     *
13125     * @see elm_slideshow_loop_get()
13126     *
13127     * @ingroup Slideshow
13128     */
13129    EAPI void                elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop) EINA_ARG_NONNULL(1);
13130
13131    /**
13132     * Get if, after a slideshow is started, for a given slideshow
13133     * widget, its items are to be displayed cyclically or not.
13134     *
13135     * @param obj The slideshow object
13136     * @return @c EINA_TRUE, if the items in @p obj will be cycled
13137     * through or @c EINA_FALSE, otherwise
13138     *
13139     * @see elm_slideshow_loop_set() for more details
13140     *
13141     * @ingroup Slideshow
13142     */
13143    EAPI Eina_Bool           elm_slideshow_loop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13144
13145    /**
13146     * Remove all items from a given slideshow widget
13147     *
13148     * @param obj The slideshow object
13149     *
13150     * This removes (and deletes) all items in @p obj, leaving it
13151     * empty.
13152     *
13153     * @see elm_slideshow_item_del(), to remove just one item.
13154     *
13155     * @ingroup Slideshow
13156     */
13157    EAPI void                elm_slideshow_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
13158
13159    /**
13160     * Get the internal list of items in a given slideshow widget.
13161     *
13162     * @param obj The slideshow object
13163     * @return The list of items (#Elm_Slideshow_Item as data) or
13164     * @c NULL on errors.
13165     *
13166     * This list is @b not to be modified in any way and must not be
13167     * freed. Use the list members with functions like
13168     * elm_slideshow_item_del(), elm_slideshow_item_data_get().
13169     *
13170     * @warning This list is only valid until @p obj object's internal
13171     * items list is changed. It should be fetched again with another
13172     * call to this function when changes happen.
13173     *
13174     * @ingroup Slideshow
13175     */
13176    EAPI const Eina_List    *elm_slideshow_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13177
13178    /**
13179     * Delete a given item from a slideshow widget.
13180     *
13181     * @param item The slideshow item
13182     *
13183     * @ingroup Slideshow
13184     */
13185    EAPI void                elm_slideshow_item_del(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
13186
13187    /**
13188     * Return the data associated with a given slideshow item
13189     *
13190     * @param item The slideshow item
13191     * @return Returns the data associated to this item
13192     *
13193     * @ingroup Slideshow
13194     */
13195    EAPI void               *elm_slideshow_item_data_get(const Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
13196
13197    /**
13198     * Returns the currently displayed item, in a given slideshow widget
13199     *
13200     * @param obj The slideshow object
13201     * @return A handle to the item being displayed in @p obj or
13202     * @c NULL, if none is (and on errors)
13203     *
13204     * @ingroup Slideshow
13205     */
13206    EAPI Elm_Slideshow_Item *elm_slideshow_item_current_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13207
13208    /**
13209     * Get the real Evas object created to implement the view of a
13210     * given slideshow item
13211     *
13212     * @param item The slideshow item.
13213     * @return the Evas object implementing this item's view.
13214     *
13215     * This returns the actual Evas object used to implement the
13216     * specified slideshow item's view. This may be @c NULL, as it may
13217     * not have been created or may have been deleted, at any time, by
13218     * the slideshow. <b>Do not modify this object</b> (move, resize,
13219     * show, hide, etc.), as the slideshow is controlling it. This
13220     * function is for querying, emitting custom signals or hooking
13221     * lower level callbacks for events on that object. Do not delete
13222     * this object under any circumstances.
13223     *
13224     * @see elm_slideshow_item_data_get()
13225     *
13226     * @ingroup Slideshow
13227     */
13228    EAPI Evas_Object*        elm_slideshow_item_object_get(const Elm_Slideshow_Item* item) EINA_ARG_NONNULL(1);
13229
13230    /**
13231     * Get the the item, in a given slideshow widget, placed at
13232     * position @p nth, in its internal items list
13233     *
13234     * @param obj The slideshow object
13235     * @param nth The number of the item to grab a handle to (0 being
13236     * the first)
13237     * @return The item stored in @p obj at position @p nth or @c NULL,
13238     * if there's no item with that index (and on errors)
13239     *
13240     * @ingroup Slideshow
13241     */
13242    EAPI Elm_Slideshow_Item *elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth) EINA_ARG_NONNULL(1);
13243
13244    /**
13245     * Set the current slide layout in use for a given slideshow widget
13246     *
13247     * @param obj The slideshow object
13248     * @param layout The new layout's name string
13249     *
13250     * If @p layout is implemented in @p obj's theme (i.e., is contained
13251     * in the list returned by elm_slideshow_layouts_get()), this new
13252     * images layout will be used on the widget.
13253     *
13254     * @see elm_slideshow_layouts_get() for more details
13255     *
13256     * @ingroup Slideshow
13257     */
13258    EAPI void                elm_slideshow_layout_set(Evas_Object *obj, const char *layout) EINA_ARG_NONNULL(1);
13259
13260    /**
13261     * Get the current slide layout in use for a given slideshow widget
13262     *
13263     * @param obj The slideshow object
13264     * @return The current layout's name
13265     *
13266     * @see elm_slideshow_layout_set() for more details
13267     *
13268     * @ingroup Slideshow
13269     */
13270    EAPI const char         *elm_slideshow_layout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13271
13272    /**
13273     * Returns the list of @b layout names available, for a given
13274     * slideshow widget.
13275     *
13276     * @param obj The slideshow object
13277     * @return The list of layouts (list of @b stringshared strings
13278     * as data)
13279     *
13280     * Slideshow layouts will change how the widget is to dispose each
13281     * image item in its viewport, with regard to cropping, scaling,
13282     * etc.
13283     *
13284     * The layouts, which come from @p obj's theme, must be an EDC
13285     * data item name @c "layouts" on the theme file, with (prefix)
13286     * names of EDC programs actually implementing them.
13287     *
13288     * The available layouts for slideshows on the default theme are:
13289     * - @c "fullscreen" - item images with original aspect, scaled to
13290     *   touch top and down slideshow borders or, if the image's heigh
13291     *   is not enough, left and right slideshow borders.
13292     * - @c "not_fullscreen" - the same behavior as the @c "fullscreen"
13293     *   one, but always leaving 10% of the slideshow's dimensions of
13294     *   distance between the item image's borders and the slideshow
13295     *   borders, for each axis.
13296     *
13297     * @warning The stringshared strings get no new references
13298     * exclusive to the user grabbing the list, here, so if you'd like
13299     * to use them out of this call's context, you'd better @c
13300     * eina_stringshare_ref() them.
13301     *
13302     * @see elm_slideshow_layout_set()
13303     *
13304     * @ingroup Slideshow
13305     */
13306    EAPI const Eina_List    *elm_slideshow_layouts_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13307
13308    /**
13309     * Set the number of items to cache, on a given slideshow widget,
13310     * <b>before the current item</b>
13311     *
13312     * @param obj The slideshow object
13313     * @param count Number of items to cache before the current one
13314     *
13315     * The default value for this property is @c 2. See
13316     * @ref Slideshow_Caching "slideshow caching" for more details.
13317     *
13318     * @see elm_slideshow_cache_before_get()
13319     *
13320     * @ingroup Slideshow
13321     */
13322    EAPI void                elm_slideshow_cache_before_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
13323
13324    /**
13325     * Retrieve the number of items to cache, on a given slideshow widget,
13326     * <b>before the current item</b>
13327     *
13328     * @param obj The slideshow object
13329     * @return The number of items set to be cached before the current one
13330     *
13331     * @see elm_slideshow_cache_before_set() for more details
13332     *
13333     * @ingroup Slideshow
13334     */
13335    EAPI int                 elm_slideshow_cache_before_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13336
13337    /**
13338     * Set the number of items to cache, on a given slideshow widget,
13339     * <b>after the current item</b>
13340     *
13341     * @param obj The slideshow object
13342     * @param count Number of items to cache after the current one
13343     *
13344     * The default value for this property is @c 2. See
13345     * @ref Slideshow_Caching "slideshow caching" for more details.
13346     *
13347     * @see elm_slideshow_cache_after_get()
13348     *
13349     * @ingroup Slideshow
13350     */
13351    EAPI void                elm_slideshow_cache_after_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
13352
13353    /**
13354     * Retrieve the number of items to cache, on a given slideshow widget,
13355     * <b>after the current item</b>
13356     *
13357     * @param obj The slideshow object
13358     * @return The number of items set to be cached after the current one
13359     *
13360     * @see elm_slideshow_cache_after_set() for more details
13361     *
13362     * @ingroup Slideshow
13363     */
13364    EAPI int                 elm_slideshow_cache_after_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13365
13366    /**
13367     * Get the number of items stored in a given slideshow widget
13368     *
13369     * @param obj The slideshow object
13370     * @return The number of items on @p obj, at the moment of this call
13371     *
13372     * @ingroup Slideshow
13373     */
13374    EAPI unsigned int        elm_slideshow_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13375
13376    /**
13377     * @}
13378     */
13379
13380    /**
13381     * @defgroup Fileselector File Selector
13382     *
13383     * @image html img/icon/fileselector/preview-00.png
13384     * @image latex img/icon/fileselector/preview-00.png
13385     *
13386     * A file selector is a widget that allows a user to navigate
13387     * through a file system, reporting file selections back via its
13388     * API.
13389     *
13390     * It contains shortcut buttons for home directory (@c ~) and to
13391     * jump one directory upwards (..), as well as cancel/ok buttons to
13392     * confirm/cancel a given selection. After either one of those two
13393     * former actions, the file selector will issue its @c "done" smart
13394     * callback.
13395     *
13396     * There's a text entry on it, too, showing the name of the current
13397     * selection. There's the possibility of making it editable, so it
13398     * is useful on file saving dialogs on applications, where one
13399     * gives a file name to save contents to, in a given directory in
13400     * the system. This custom file name will be reported on the @c
13401     * "done" smart callback (explained in sequence).
13402     *
13403     * Finally, it has a view to display file system items into in two
13404     * possible forms:
13405     * - list
13406     * - grid
13407     *
13408     * If Elementary is built with support of the Ethumb thumbnailing
13409     * library, the second form of view will display preview thumbnails
13410     * of files which it supports.
13411     *
13412     * Smart callbacks one can register to:
13413     *
13414     * - @c "selected" - the user has clicked on a file (when not in
13415     *      folders-only mode) or directory (when in folders-only mode)
13416     * - @c "directory,open" - the list has been populated with new
13417     *      content (@c event_info is a pointer to the directory's
13418     *      path, a @b stringshared string)
13419     * - @c "done" - the user has clicked on the "ok" or "cancel"
13420     *      buttons (@c event_info is a pointer to the selection's
13421     *      path, a @b stringshared string)
13422     *
13423     * Here is an example on its usage:
13424     * @li @ref fileselector_example
13425     */
13426
13427    /**
13428     * @addtogroup Fileselector
13429     * @{
13430     */
13431
13432    /**
13433     * Defines how a file selector widget is to layout its contents
13434     * (file system entries).
13435     */
13436    typedef enum _Elm_Fileselector_Mode
13437      {
13438         ELM_FILESELECTOR_LIST = 0, /**< layout as a list */
13439         ELM_FILESELECTOR_GRID, /**< layout as a grid */
13440         ELM_FILESELECTOR_LAST /**< sentinel (helper) value, not used */
13441      } Elm_Fileselector_Mode;
13442
13443    /**
13444     * Add a new file selector widget to the given parent Elementary
13445     * (container) object
13446     *
13447     * @param parent The parent object
13448     * @return a new file selector widget handle or @c NULL, on errors
13449     *
13450     * This function inserts a new file selector widget on the canvas.
13451     *
13452     * @ingroup Fileselector
13453     */
13454    EAPI Evas_Object          *elm_fileselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13455
13456    /**
13457     * Enable/disable the file name entry box where the user can type
13458     * in a name for a file, in a given file selector widget
13459     *
13460     * @param obj The file selector object
13461     * @param is_save @c EINA_TRUE to make the file selector a "saving
13462     * dialog", @c EINA_FALSE otherwise
13463     *
13464     * Having the entry editable is useful on file saving dialogs on
13465     * applications, where one gives a file name to save contents to,
13466     * in a given directory in the system. This custom file name will
13467     * be reported on the @c "done" smart callback.
13468     *
13469     * @see elm_fileselector_is_save_get()
13470     *
13471     * @ingroup Fileselector
13472     */
13473    EAPI void                  elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save) EINA_ARG_NONNULL(1);
13474
13475    /**
13476     * Get whether the given file selector is in "saving dialog" mode
13477     *
13478     * @param obj The file selector object
13479     * @return @c EINA_TRUE, if the file selector is in "saving dialog"
13480     * mode, @c EINA_FALSE otherwise (and on errors)
13481     *
13482     * @see elm_fileselector_is_save_set() for more details
13483     *
13484     * @ingroup Fileselector
13485     */
13486    EAPI Eina_Bool             elm_fileselector_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13487
13488    /**
13489     * Enable/disable folder-only view for a given file selector widget
13490     *
13491     * @param obj The file selector object
13492     * @param only @c EINA_TRUE to make @p obj only display
13493     * directories, @c EINA_FALSE to make files to be displayed in it
13494     * too
13495     *
13496     * If enabled, the widget's view will only display folder items,
13497     * naturally.
13498     *
13499     * @see elm_fileselector_folder_only_get()
13500     *
13501     * @ingroup Fileselector
13502     */
13503    EAPI void                  elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only) EINA_ARG_NONNULL(1);
13504
13505    /**
13506     * Get whether folder-only view is set for a given file selector
13507     * widget
13508     *
13509     * @param obj The file selector object
13510     * @return only @c EINA_TRUE if @p obj is only displaying
13511     * directories, @c EINA_FALSE if files are being displayed in it
13512     * too (and on errors)
13513     *
13514     * @see elm_fileselector_folder_only_get()
13515     *
13516     * @ingroup Fileselector
13517     */
13518    EAPI Eina_Bool             elm_fileselector_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13519
13520    /**
13521     * Enable/disable the "ok" and "cancel" buttons on a given file
13522     * selector widget
13523     *
13524     * @param obj The file selector object
13525     * @param only @c EINA_TRUE to show them, @c EINA_FALSE to hide.
13526     *
13527     * @note A file selector without those buttons will never emit the
13528     * @c "done" smart event, and is only usable if one is just hooking
13529     * to the other two events.
13530     *
13531     * @see elm_fileselector_buttons_ok_cancel_get()
13532     *
13533     * @ingroup Fileselector
13534     */
13535    EAPI void                  elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons) EINA_ARG_NONNULL(1);
13536
13537    /**
13538     * Get whether the "ok" and "cancel" buttons on a given file
13539     * selector widget are being shown.
13540     *
13541     * @param obj The file selector object
13542     * @return @c EINA_TRUE if they are being shown, @c EINA_FALSE
13543     * otherwise (and on errors)
13544     *
13545     * @see elm_fileselector_buttons_ok_cancel_set() for more details
13546     *
13547     * @ingroup Fileselector
13548     */
13549    EAPI Eina_Bool             elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13550
13551    /**
13552     * Enable/disable a tree view in the given file selector widget,
13553     * <b>if it's in @c #ELM_FILESELECTOR_LIST mode</b>
13554     *
13555     * @param obj The file selector object
13556     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
13557     * disable
13558     *
13559     * In a tree view, arrows are created on the sides of directories,
13560     * allowing them to expand in place.
13561     *
13562     * @note If it's in other mode, the changes made by this function
13563     * will only be visible when one switches back to "list" mode.
13564     *
13565     * @see elm_fileselector_expandable_get()
13566     *
13567     * @ingroup Fileselector
13568     */
13569    EAPI void                  elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand) EINA_ARG_NONNULL(1);
13570
13571    /**
13572     * Get whether tree view is enabled for the given file selector
13573     * widget
13574     *
13575     * @param obj The file selector object
13576     * @return @c EINA_TRUE if @p obj is in tree view, @c EINA_FALSE
13577     * otherwise (and or errors)
13578     *
13579     * @see elm_fileselector_expandable_set() for more details
13580     *
13581     * @ingroup Fileselector
13582     */
13583    EAPI Eina_Bool             elm_fileselector_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13584
13585    /**
13586     * Set, programmatically, the @b directory that a given file
13587     * selector widget will display contents from
13588     *
13589     * @param obj The file selector object
13590     * @param path The path to display in @p obj
13591     *
13592     * This will change the @b directory that @p obj is displaying. It
13593     * will also clear the text entry area on the @p obj object, which
13594     * displays select files' names.
13595     *
13596     * @see elm_fileselector_path_get()
13597     *
13598     * @ingroup Fileselector
13599     */
13600    EAPI void                  elm_fileselector_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
13601
13602    /**
13603     * Get the parent directory's path that a given file selector
13604     * widget is displaying
13605     *
13606     * @param obj The file selector object
13607     * @return The (full) path of the directory the file selector is
13608     * displaying, a @b stringshared string
13609     *
13610     * @see elm_fileselector_path_set()
13611     *
13612     * @ingroup Fileselector
13613     */
13614    EAPI const char           *elm_fileselector_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13615
13616    /**
13617     * Set, programmatically, the currently selected file/directory in
13618     * the given file selector widget
13619     *
13620     * @param obj The file selector object
13621     * @param path The (full) path to a file or directory
13622     * @return @c EINA_TRUE on success, @c EINA_FALSE on failure. The
13623     * latter case occurs if the directory or file pointed to do not
13624     * exist.
13625     *
13626     * @see elm_fileselector_selected_get()
13627     *
13628     * @ingroup Fileselector
13629     */
13630    EAPI Eina_Bool             elm_fileselector_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
13631
13632    /**
13633     * Get the currently selected item's (full) path, in the given file
13634     * selector widget
13635     *
13636     * @param obj The file selector object
13637     * @return The absolute path of the selected item, a @b
13638     * stringshared string
13639     *
13640     * @note Custom editions on @p obj object's text entry, if made,
13641     * will appear on the return string of this function, naturally.
13642     *
13643     * @see elm_fileselector_selected_set() for more details
13644     *
13645     * @ingroup Fileselector
13646     */
13647    EAPI const char           *elm_fileselector_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13648
13649    /**
13650     * Set the mode in which a given file selector widget will display
13651     * (layout) file system entries in its view
13652     *
13653     * @param obj The file selector object
13654     * @param mode The mode of the fileselector, being it one of
13655     * #ELM_FILESELECTOR_LIST (default) or #ELM_FILESELECTOR_GRID. The
13656     * first one, naturally, will display the files in a list. The
13657     * latter will make the widget to display its entries in a grid
13658     * form.
13659     *
13660     * @note By using elm_fileselector_expandable_set(), the user may
13661     * trigger a tree view for that list.
13662     *
13663     * @note If Elementary is built with support of the Ethumb
13664     * thumbnailing library, the second form of view will display
13665     * preview thumbnails of files which it supports. You must have
13666     * elm_need_ethumb() called in your Elementary for thumbnailing to
13667     * work, though.
13668     *
13669     * @see elm_fileselector_expandable_set().
13670     * @see elm_fileselector_mode_get().
13671     *
13672     * @ingroup Fileselector
13673     */
13674    EAPI void                  elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode) EINA_ARG_NONNULL(1);
13675
13676    /**
13677     * Get the mode in which a given file selector widget is displaying
13678     * (layouting) file system entries in its view
13679     *
13680     * @param obj The fileselector object
13681     * @return The mode in which the fileselector is at
13682     *
13683     * @see elm_fileselector_mode_set() for more details
13684     *
13685     * @ingroup Fileselector
13686     */
13687    EAPI Elm_Fileselector_Mode elm_fileselector_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13688
13689    /**
13690     * @}
13691     */
13692
13693    /**
13694     * @defgroup Progressbar Progress bar
13695     *
13696     * The progress bar is a widget for visually representing the
13697     * progress status of a given job/task.
13698     *
13699     * A progress bar may be horizontal or vertical. It may display an
13700     * icon besides it, as well as primary and @b units labels. The
13701     * former is meant to label the widget as a whole, while the
13702     * latter, which is formatted with floating point values (and thus
13703     * accepts a <c>printf</c>-style format string, like <c>"%1.2f
13704     * units"</c>), is meant to label the widget's <b>progress
13705     * value</b>. Label, icon and unit strings/objects are @b optional
13706     * for progress bars.
13707     *
13708     * A progress bar may be @b inverted, in which state it gets its
13709     * values inverted, with high values being on the left or top and
13710     * low values on the right or bottom, as opposed to normally have
13711     * the low values on the former and high values on the latter,
13712     * respectively, for horizontal and vertical modes.
13713     *
13714     * The @b span of the progress, as set by
13715     * elm_progressbar_span_size_set(), is its length (horizontally or
13716     * vertically), unless one puts size hints on the widget to expand
13717     * on desired directions, by any container. That length will be
13718     * scaled by the object or applications scaling factor. At any
13719     * point code can query the progress bar for its value with
13720     * elm_progressbar_value_get().
13721     *
13722     * Available widget styles for progress bars:
13723     * - @c "default"
13724     * - @c "wheel" (simple style, no text, no progression, only
13725     *      "pulse" effect is available)
13726     *
13727     * Here is an example on its usage:
13728     * @li @ref progressbar_example
13729     */
13730
13731    /**
13732     * Add a new progress bar widget to the given parent Elementary
13733     * (container) object
13734     *
13735     * @param parent The parent object
13736     * @return a new progress bar widget handle or @c NULL, on errors
13737     *
13738     * This function inserts a new progress bar widget on the canvas.
13739     *
13740     * @ingroup Progressbar
13741     */
13742    EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13743
13744    /**
13745     * Set whether a given progress bar widget is at "pulsing mode" or
13746     * not.
13747     *
13748     * @param obj The progress bar object
13749     * @param pulse @c EINA_TRUE to put @obj in pulsing mode,
13750     * @c EINA_FALSE to put it back to its default one
13751     *
13752     * By default, progress bars will display values from the low to
13753     * high value boundaries. There are, though, contexts in which the
13754     * state of progression of a given task is @b unknown.  For those,
13755     * one can set a progress bar widget to a "pulsing state", to give
13756     * the user an idea that some computation is being held, but
13757     * without exact progress values. In the default theme it will
13758     * animate its bar with the contents filling in constantly and back
13759     * to non-filled, in a loop. To start and stop this pulsing
13760     * animation, one has to explicitly call elm_progressbar_pulse().
13761     *
13762     * @see elm_progressbar_pulse_get()
13763     * @see elm_progressbar_pulse()
13764     *
13765     * @ingroup Progressbar
13766     */
13767    EAPI void         elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse) EINA_ARG_NONNULL(1);
13768
13769    /**
13770     * Get whether a given progress bar widget is at "pulsing mode" or
13771     * not.
13772     *
13773     * @param obj The progress bar object
13774     * @return @c EINA_TRUE, if @obj is in pulsing mode, @c EINA_FALSE
13775     * if it's in the default one (and on errors)
13776     *
13777     * @ingroup Progressbar
13778     */
13779    EAPI Eina_Bool    elm_progressbar_pulse_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13780
13781    /**
13782     * Start/stop a given progress bar "pulsing" animation, if its
13783     * under that mode
13784     *
13785     * @param obj The progress bar object
13786     * @param state @c EINA_TRUE, to @b start the pulsing animation,
13787     * @c EINA_FALSE to @b stop it
13788     *
13789     * @note This call won't do anything if @p obj is not under "pulsing mode".
13790     *
13791     * @see elm_progressbar_pulse_set() for more details.
13792     *
13793     * @ingroup Progressbar
13794     */
13795    EAPI void         elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
13796
13797    /**
13798     * Set the progress value (in percentage) on a given progress bar
13799     * widget
13800     *
13801     * @param obj The progress bar object
13802     * @param val The progress value (@b must be between @c 0.0 and @c
13803     * 1.0)
13804     *
13805     * Use this call to set progress bar levels.
13806     *
13807     * @note If you passes a value out of the specified range for @p
13808     * val, it will be interpreted as the @b closest of the @b boundary
13809     * values in the range.
13810     *
13811     * @ingroup Progressbar
13812     */
13813    EAPI void         elm_progressbar_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
13814
13815    /**
13816     * Get the progress value (in percentage) on a given progress bar
13817     * widget
13818     *
13819     * @param obj The progress bar object
13820     * @return The value of the progressbar
13821     *
13822     * @see elm_progressbar_value_set() for more details
13823     *
13824     * @ingroup Progressbar
13825     */
13826    EAPI double       elm_progressbar_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13827
13828    /**
13829     * Set the label of a given progress bar widget
13830     *
13831     * @param obj The progress bar object
13832     * @param label The text label string, in UTF-8
13833     *
13834     * @ingroup Progressbar
13835     * @deprecated use elm_object_text_set() instead.
13836     */
13837    EINA_DEPRECATED EAPI void         elm_progressbar_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
13838
13839    /**
13840     * Get the label of a given progress bar widget
13841     *
13842     * @param obj The progressbar object
13843     * @return The text label string, in UTF-8
13844     *
13845     * @ingroup Progressbar
13846     * @deprecated use elm_object_text_set() instead.
13847     */
13848    EINA_DEPRECATED EAPI const char  *elm_progressbar_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13849
13850    /**
13851     * Set the icon object of a given progress bar widget
13852     *
13853     * @param obj The progress bar object
13854     * @param icon The icon object
13855     *
13856     * Use this call to decorate @p obj with an icon next to it.
13857     *
13858     * @note Once the icon object is set, a previously set one will be
13859     * deleted. If you want to keep that old content object, use the
13860     * elm_progressbar_icon_unset() function.
13861     *
13862     * @see elm_progressbar_icon_get()
13863     *
13864     * @ingroup Progressbar
13865     */
13866    EAPI void         elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
13867
13868    /**
13869     * Retrieve the icon object set for a given progress bar widget
13870     *
13871     * @param obj The progress bar object
13872     * @return The icon object's handle, if @p obj had one set, or @c NULL,
13873     * otherwise (and on errors)
13874     *
13875     * @see elm_progressbar_icon_set() for more details
13876     *
13877     * @ingroup Progressbar
13878     */
13879    EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13880
13881    /**
13882     * Unset an icon set on a given progress bar widget
13883     *
13884     * @param obj The progress bar object
13885     * @return The icon object that was being used, if any was set, or
13886     * @c NULL, otherwise (and on errors)
13887     *
13888     * This call will unparent and return the icon object which was set
13889     * for this widget, previously, on success.
13890     *
13891     * @see elm_progressbar_icon_set() for more details
13892     *
13893     * @ingroup Progressbar
13894     */
13895    EAPI Evas_Object *elm_progressbar_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
13896
13897    /**
13898     * Set the (exact) length of the bar region of a given progress bar
13899     * widget
13900     *
13901     * @param obj The progress bar object
13902     * @param size The length of the progress bar's bar region
13903     *
13904     * This sets the minimum width (when in horizontal mode) or height
13905     * (when in vertical mode) of the actual bar area of the progress
13906     * bar @p obj. This in turn affects the object's minimum size. Use
13907     * this when you're not setting other size hints expanding on the
13908     * given direction (like weight and alignment hints) and you would
13909     * like it to have a specific size.
13910     *
13911     * @note Icon, label and unit text around @p obj will require their
13912     * own space, which will make @p obj to require more the @p size,
13913     * actually.
13914     *
13915     * @see elm_progressbar_span_size_get()
13916     *
13917     * @ingroup Progressbar
13918     */
13919    EAPI void         elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
13920
13921    /**
13922     * Get the length set for the bar region of a given progress bar
13923     * widget
13924     *
13925     * @param obj The progress bar object
13926     * @return The length of the progress bar's bar region
13927     *
13928     * If that size was not set previously, with
13929     * elm_progressbar_span_size_set(), this call will return @c 0.
13930     *
13931     * @ingroup Progressbar
13932     */
13933    EAPI Evas_Coord   elm_progressbar_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13934
13935    /**
13936     * Set the format string for a given progress bar widget's units
13937     * label
13938     *
13939     * @param obj The progress bar object
13940     * @param format The format string for @p obj's units label
13941     *
13942     * If @c NULL is passed on @p format, it will make @p obj's units
13943     * area to be hidden completely. If not, it'll set the <b>format
13944     * string</b> for the units label's @b text. The units label is
13945     * provided a floating point value, so the units text is up display
13946     * at most one floating point falue. Note that the units label is
13947     * optional. Use a format string such as "%1.2f meters" for
13948     * example.
13949     *
13950     * @note The default format string for a progress bar is an integer
13951     * percentage, as in @c "%.0f %%".
13952     *
13953     * @see elm_progressbar_unit_format_get()
13954     *
13955     * @ingroup Progressbar
13956     */
13957    EAPI void         elm_progressbar_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
13958
13959    /**
13960     * Retrieve the format string set for a given progress bar widget's
13961     * units label
13962     *
13963     * @param obj The progress bar object
13964     * @return The format set string for @p obj's units label or
13965     * @c NULL, if none was set (and on errors)
13966     *
13967     * @see elm_progressbar_unit_format_set() for more details
13968     *
13969     * @ingroup Progressbar
13970     */
13971    EAPI const char  *elm_progressbar_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13972
13973    /**
13974     * Set the orientation of a given progress bar widget
13975     *
13976     * @param obj The progress bar object
13977     * @param horizontal Use @c EINA_TRUE to make @p obj to be
13978     * @b horizontal, @c EINA_FALSE to make it @b vertical
13979     *
13980     * Use this function to change how your progress bar is to be
13981     * disposed: vertically or horizontally.
13982     *
13983     * @see elm_progressbar_horizontal_get()
13984     *
13985     * @ingroup Progressbar
13986     */
13987    EAPI void         elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
13988
13989    /**
13990     * Retrieve the orientation of a given progress bar widget
13991     *
13992     * @param obj The progress bar object
13993     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
13994     * @c EINA_FALSE if it's @b vertical (and on errors)
13995     *
13996     * @see elm_progressbar_horizontal_set() for more details
13997     *
13998     * @ingroup Progressbar
13999     */
14000    EAPI Eina_Bool    elm_progressbar_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14001
14002    /**
14003     * Invert a given progress bar widget's displaying values order
14004     *
14005     * @param obj The progress bar object
14006     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
14007     * @c EINA_FALSE to bring it back to default, non-inverted values.
14008     *
14009     * A progress bar may be @b inverted, in which state it gets its
14010     * values inverted, with high values being on the left or top and
14011     * low values on the right or bottom, as opposed to normally have
14012     * the low values on the former and high values on the latter,
14013     * respectively, for horizontal and vertical modes.
14014     *
14015     * @see elm_progressbar_inverted_get()
14016     *
14017     * @ingroup Progressbar
14018     */
14019    EAPI void         elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
14020
14021    /**
14022     * Get whether a given progress bar widget's displaying values are
14023     * inverted or not
14024     *
14025     * @param obj The progress bar object
14026     * @return @c EINA_TRUE, if @p obj has inverted values,
14027     * @c EINA_FALSE otherwise (and on errors)
14028     *
14029     * @see elm_progressbar_inverted_set() for more details
14030     *
14031     * @ingroup Progressbar
14032     */
14033    EAPI Eina_Bool    elm_progressbar_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14034
14035    /**
14036     * @defgroup Separator Separator
14037     *
14038     * @brief Separator is a very thin object used to separate other objects.
14039     *
14040     * A separator can be vertical or horizontal.
14041     *
14042     * @ref tutorial_separator is a good example of how to use a separator.
14043     * @{
14044     */
14045    /**
14046     * @brief Add a separator object to @p parent
14047     *
14048     * @param parent The parent object
14049     *
14050     * @return The separator object, or NULL upon failure
14051     */
14052    EAPI Evas_Object *elm_separator_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
14053    /**
14054     * @brief Set the horizontal mode of a separator object
14055     *
14056     * @param obj The separator object
14057     * @param horizontal If true, the separator is horizontal
14058     */
14059    EAPI void         elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
14060    /**
14061     * @brief Get the horizontal mode of a separator object
14062     *
14063     * @param obj The separator object
14064     * @return If true, the separator is horizontal
14065     *
14066     * @see elm_separator_horizontal_set()
14067     */
14068    EAPI Eina_Bool    elm_separator_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14069    /**
14070     * @}
14071     */
14072
14073    /**
14074     * @defgroup Spinner Spinner
14075     * @ingroup Elementary
14076     *
14077     * @image html img/widget/spinner/preview-00.png
14078     * @image latex img/widget/spinner/preview-00.eps
14079     *
14080     * A spinner is a widget which allows the user to increase or decrease
14081     * numeric values using arrow buttons, or edit values directly, clicking
14082     * over it and typing the new value.
14083     *
14084     * By default the spinner will not wrap and has a label
14085     * of "%.0f" (just showing the integer value of the double).
14086     *
14087     * A spinner has a label that is formatted with floating
14088     * point values and thus accepts a printf-style format string, like
14089     * “%1.2f units”.
14090     *
14091     * It also allows specific values to be replaced by pre-defined labels.
14092     *
14093     * Smart callbacks one can register to:
14094     *
14095     * - "changed" - Whenever the spinner value is changed.
14096     * - "delay,changed" - A short time after the value is changed by the user.
14097     *    This will be called only when the user stops dragging for a very short
14098     *    period or when they release their finger/mouse, so it avoids possibly
14099     *    expensive reactions to the value change.
14100     *
14101     * Available styles for it:
14102     * - @c "default";
14103     * - @c "vertical": up/down buttons at the right side and text left aligned.
14104     *
14105     * Here is an example on its usage:
14106     * @ref spinner_example
14107     */
14108
14109    /**
14110     * @addtogroup Spinner
14111     * @{
14112     */
14113
14114    /**
14115     * Add a new spinner widget to the given parent Elementary
14116     * (container) object.
14117     *
14118     * @param parent The parent object.
14119     * @return a new spinner widget handle or @c NULL, on errors.
14120     *
14121     * This function inserts a new spinner widget on the canvas.
14122     *
14123     * @ingroup Spinner
14124     *
14125     */
14126    EAPI Evas_Object *elm_spinner_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
14127
14128    /**
14129     * Set the format string of the displayed label.
14130     *
14131     * @param obj The spinner object.
14132     * @param fmt The format string for the label display.
14133     *
14134     * If @c NULL, this sets the format to "%.0f". If not it sets the format
14135     * string for the label text. The label text is provided a floating point
14136     * value, so the label text can display up to 1 floating point value.
14137     * Note that this is optional.
14138     *
14139     * Use a format string such as "%1.2f meters" for example, and it will
14140     * display values like: "3.14 meters" for a value equal to 3.14159.
14141     *
14142     * Default is "%0.f".
14143     *
14144     * @see elm_spinner_label_format_get()
14145     *
14146     * @ingroup Spinner
14147     */
14148    EAPI void         elm_spinner_label_format_set(Evas_Object *obj, const char *fmt) EINA_ARG_NONNULL(1);
14149
14150    /**
14151     * Get the label format of the spinner.
14152     *
14153     * @param obj The spinner object.
14154     * @return The text label format string in UTF-8.
14155     *
14156     * @see elm_spinner_label_format_set() for details.
14157     *
14158     * @ingroup Spinner
14159     */
14160    EAPI const char  *elm_spinner_label_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14161
14162    /**
14163     * Set the minimum and maximum values for the spinner.
14164     *
14165     * @param obj The spinner object.
14166     * @param min The minimum value.
14167     * @param max The maximum value.
14168     *
14169     * Define the allowed range of values to be selected by the user.
14170     *
14171     * If actual value is less than @p min, it will be updated to @p min. If it
14172     * is bigger then @p max, will be updated to @p max. Actual value can be
14173     * get with elm_spinner_value_get().
14174     *
14175     * By default, min is equal to 0, and max is equal to 100.
14176     *
14177     * @warning Maximum must be greater than minimum.
14178     *
14179     * @see elm_spinner_min_max_get()
14180     *
14181     * @ingroup Spinner
14182     */
14183    EAPI void         elm_spinner_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
14184
14185    /**
14186     * Get the minimum and maximum values of the spinner.
14187     *
14188     * @param obj The spinner object.
14189     * @param min Pointer where to store the minimum value.
14190     * @param max Pointer where to store the maximum value.
14191     *
14192     * @note If only one value is needed, the other pointer can be passed
14193     * as @c NULL.
14194     *
14195     * @see elm_spinner_min_max_set() for details.
14196     *
14197     * @ingroup Spinner
14198     */
14199    EAPI void         elm_spinner_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
14200
14201    /**
14202     * Set the step used to increment or decrement the spinner value.
14203     *
14204     * @param obj The spinner object.
14205     * @param step The step value.
14206     *
14207     * This value will be incremented or decremented to the displayed value.
14208     * It will be incremented while the user keep right or top arrow pressed,
14209     * and will be decremented while the user keep left or bottom arrow pressed.
14210     *
14211     * The interval to increment / decrement can be set with
14212     * elm_spinner_interval_set().
14213     *
14214     * By default step value is equal to 1.
14215     *
14216     * @see elm_spinner_step_get()
14217     *
14218     * @ingroup Spinner
14219     */
14220    EAPI void         elm_spinner_step_set(Evas_Object *obj, double step) EINA_ARG_NONNULL(1);
14221
14222    /**
14223     * Get the step used to increment or decrement the spinner value.
14224     *
14225     * @param obj The spinner object.
14226     * @return The step value.
14227     *
14228     * @see elm_spinner_step_get() for more details.
14229     *
14230     * @ingroup Spinner
14231     */
14232    EAPI double       elm_spinner_step_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14233
14234    /**
14235     * Set the value the spinner displays.
14236     *
14237     * @param obj The spinner object.
14238     * @param val The value to be displayed.
14239     *
14240     * Value will be presented on the label following format specified with
14241     * elm_spinner_format_set().
14242     *
14243     * @warning The value must to be between min and max values. This values
14244     * are set by elm_spinner_min_max_set().
14245     *
14246     * @see elm_spinner_value_get().
14247     * @see elm_spinner_format_set().
14248     * @see elm_spinner_min_max_set().
14249     *
14250     * @ingroup Spinner
14251     */
14252    EAPI void         elm_spinner_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
14253
14254    /**
14255     * Get the value displayed by the spinner.
14256     *
14257     * @param obj The spinner object.
14258     * @return The value displayed.
14259     *
14260     * @see elm_spinner_value_set() for details.
14261     *
14262     * @ingroup Spinner
14263     */
14264    EAPI double       elm_spinner_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14265
14266    /**
14267     * Set whether the spinner should wrap when it reaches its
14268     * minimum or maximum value.
14269     *
14270     * @param obj The spinner object.
14271     * @param wrap @c EINA_TRUE to enable wrap or @c EINA_FALSE to
14272     * disable it.
14273     *
14274     * Disabled by default. If disabled, when the user tries to increment the
14275     * value,
14276     * but displayed value plus step value is bigger than maximum value,
14277     * the spinner
14278     * won't allow it. The same happens when the user tries to decrement it,
14279     * but the value less step is less than minimum value.
14280     *
14281     * When wrap is enabled, in such situations it will allow these changes,
14282     * but will get the value that would be less than minimum and subtracts
14283     * from maximum. Or add the value that would be more than maximum to
14284     * the minimum.
14285     *
14286     * E.g.:
14287     * @li min value = 10
14288     * @li max value = 50
14289     * @li step value = 20
14290     * @li displayed value = 20
14291     *
14292     * When the user decrement value (using left or bottom arrow), it will
14293     * displays @c 40, because max - (min - (displayed - step)) is
14294     * @c 50 - (@c 10 - (@c 20 - @c 20)) = @c 40.
14295     *
14296     * @see elm_spinner_wrap_get().
14297     *
14298     * @ingroup Spinner
14299     */
14300    EAPI void         elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap) EINA_ARG_NONNULL(1);
14301
14302    /**
14303     * Get whether the spinner should wrap when it reaches its
14304     * minimum or maximum value.
14305     *
14306     * @param obj The spinner object
14307     * @return @c EINA_TRUE means wrap is enabled. @c EINA_FALSE indicates
14308     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
14309     *
14310     * @see elm_spinner_wrap_set() for details.
14311     *
14312     * @ingroup Spinner
14313     */
14314    EAPI Eina_Bool    elm_spinner_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14315
14316    /**
14317     * Set whether the spinner can be directly edited by the user or not.
14318     *
14319     * @param obj The spinner object.
14320     * @param editable @c EINA_TRUE to allow users to edit it or @c EINA_FALSE to
14321     * don't allow users to edit it directly.
14322     *
14323     * Spinner objects can have edition @b disabled, in which state they will
14324     * be changed only by arrows.
14325     * Useful for contexts
14326     * where you don't want your users to interact with it writting the value.
14327     * Specially
14328     * when using special values, the user can see real value instead
14329     * of special label on edition.
14330     *
14331     * It's enabled by default.
14332     *
14333     * @see elm_spinner_editable_get()
14334     *
14335     * @ingroup Spinner
14336     */
14337    EAPI void         elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
14338
14339    /**
14340     * Get whether the spinner can be directly edited by the user or not.
14341     *
14342     * @param obj The spinner object.
14343     * @return @c EINA_TRUE means edition is enabled. @c EINA_FALSE indicates
14344     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
14345     *
14346     * @see elm_spinner_editable_set() for details.
14347     *
14348     * @ingroup Spinner
14349     */
14350    EAPI Eina_Bool    elm_spinner_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14351
14352    /**
14353     * Set a special string to display in the place of the numerical value.
14354     *
14355     * @param obj The spinner object.
14356     * @param value The value to be replaced.
14357     * @param label The label to be used.
14358     *
14359     * It's useful for cases when a user should select an item that is
14360     * better indicated by a label than a value. For example, weekdays or months.
14361     *
14362     * E.g.:
14363     * @code
14364     * sp = elm_spinner_add(win);
14365     * elm_spinner_min_max_set(sp, 1, 3);
14366     * elm_spinner_special_value_add(sp, 1, "January");
14367     * elm_spinner_special_value_add(sp, 2, "February");
14368     * elm_spinner_special_value_add(sp, 3, "March");
14369     * evas_object_show(sp);
14370     * @endcode
14371     *
14372     * @ingroup Spinner
14373     */
14374    EAPI void         elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label) EINA_ARG_NONNULL(1);
14375
14376    /**
14377     * Set the interval on time updates for an user mouse button hold
14378     * on spinner widgets' arrows.
14379     *
14380     * @param obj The spinner object.
14381     * @param interval The (first) interval value in seconds.
14382     *
14383     * This interval value is @b decreased while the user holds the
14384     * mouse pointer either incrementing or decrementing spinner's value.
14385     *
14386     * This helps the user to get to a given value distant from the
14387     * current one easier/faster, as it will start to change quicker and
14388     * quicker on mouse button holds.
14389     *
14390     * The calculation for the next change interval value, starting from
14391     * the one set with this call, is the previous interval divided by
14392     * @c 1.05, so it decreases a little bit.
14393     *
14394     * The default starting interval value for automatic changes is
14395     * @c 0.85 seconds.
14396     *
14397     * @see elm_spinner_interval_get()
14398     *
14399     * @ingroup Spinner
14400     */
14401    EAPI void         elm_spinner_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
14402
14403    /**
14404     * Get the interval on time updates for an user mouse button hold
14405     * on spinner widgets' arrows.
14406     *
14407     * @param obj The spinner object.
14408     * @return The (first) interval value, in seconds, set on it.
14409     *
14410     * @see elm_spinner_interval_set() for more details.
14411     *
14412     * @ingroup Spinner
14413     */
14414    EAPI double       elm_spinner_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14415
14416    /**
14417     * @}
14418     */
14419
14420    /**
14421     * @defgroup Index Index
14422     *
14423     * @image html img/widget/index/preview-00.png
14424     *
14425     * An index widget gives you an index for fast access to whichever
14426     * group of other UI items one might have. It's a list of text
14427     * items (usually letters, for alphabetically ordered access).
14428     *
14429     * Index widgets are by default hidden and just appear when the
14430     * user clicks over it's reserved area in the canvas. In its
14431     * default theme, it's an area one @ref Fingers "finger" wide on
14432     * the right side of the index widget's container.
14433     *
14434     * When items on the index are selected, smart callbacks get
14435     * called, so that its user can make other container objects to
14436     * show a given area or child object depending on the index item
14437     * selected. You'd probably be using an index together with @ref
14438     * List "lists", @ref Genlist "generic lists" or @ref Gengrid
14439     * "general grids".
14440     *
14441     * Smart events one  can add callbacks for are:
14442     * - @c "changed" - When the selected index item changes. @c
14443     *      event_info is the selected item's data pointer.
14444     * - @c "delay,changed" - When the selected index item changes, but
14445     *      after a small idling period. @c event_info is the selected
14446     *      item's data pointer.
14447     * - @c "selected" - When the user releases a mouse button and
14448     *      selects an item. @c event_info is the selected item's data
14449     *      pointer.
14450     * - @c "level,up" - when the user moves a finger from the first
14451     *      level to the second level
14452     * - @c "level,down" - when the user moves a finger from the second
14453     *      level to the first level
14454     *
14455     * The @c "delay,changed" event is so that it'll wait a small time
14456     * before actually reporting those events and, moreover, just the
14457     * last event happening on those time frames will actually be
14458     * reported.
14459     *
14460     * Here are some examples on its usage:
14461     * @li @ref index_example_01
14462     * @li @ref index_example_02
14463     */
14464
14465    /**
14466     * @addtogroup Index
14467     * @{
14468     */
14469
14470    typedef struct _Elm_Index_Item Elm_Index_Item; /**< Opaque handle for items of Elementary index widgets */
14471
14472    /**
14473     * Add a new index widget to the given parent Elementary
14474     * (container) object
14475     *
14476     * @param parent The parent object
14477     * @return a new index widget handle or @c NULL, on errors
14478     *
14479     * This function inserts a new index widget on the canvas.
14480     *
14481     * @ingroup Index
14482     */
14483    EAPI Evas_Object    *elm_index_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
14484
14485    /**
14486     * Set whether a given index widget is or not visible,
14487     * programatically.
14488     *
14489     * @param obj The index object
14490     * @param active @c EINA_TRUE to show it, @c EINA_FALSE to hide it
14491     *
14492     * Not to be confused with visible as in @c evas_object_show() --
14493     * visible with regard to the widget's auto hiding feature.
14494     *
14495     * @see elm_index_active_get()
14496     *
14497     * @ingroup Index
14498     */
14499    EAPI void            elm_index_active_set(Evas_Object *obj, Eina_Bool active) EINA_ARG_NONNULL(1);
14500
14501    /**
14502     * Get whether a given index widget is currently visible or not.
14503     *
14504     * @param obj The index object
14505     * @return @c EINA_TRUE, if it's shown, @c EINA_FALSE otherwise
14506     *
14507     * @see elm_index_active_set() for more details
14508     *
14509     * @ingroup Index
14510     */
14511    EAPI Eina_Bool       elm_index_active_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14512
14513    /**
14514     * Set the items level for a given index widget.
14515     *
14516     * @param obj The index object.
14517     * @param level @c 0 or @c 1, the currently implemented levels.
14518     *
14519     * @see elm_index_item_level_get()
14520     *
14521     * @ingroup Index
14522     */
14523    EAPI void            elm_index_item_level_set(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
14524
14525    /**
14526     * Get the items level set for a given index widget.
14527     *
14528     * @param obj The index object.
14529     * @return @c 0 or @c 1, which are the levels @p obj might be at.
14530     *
14531     * @see elm_index_item_level_set() for more information
14532     *
14533     * @ingroup Index
14534     */
14535    EAPI int             elm_index_item_level_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14536
14537    /**
14538     * Returns the last selected item's data, for a given index widget.
14539     *
14540     * @param obj The index object.
14541     * @return The item @b data associated to the last selected item on
14542     * @p obj (or @c NULL, on errors).
14543     *
14544     * @warning The returned value is @b not an #Elm_Index_Item item
14545     * handle, but the data associated to it (see the @c item parameter
14546     * in elm_index_item_append(), as an example).
14547     *
14548     * @ingroup Index
14549     */
14550    EAPI void           *elm_index_item_selected_get(const Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
14551
14552    /**
14553     * Append a new item on a given index widget.
14554     *
14555     * @param obj The index object.
14556     * @param letter Letter under which the item should be indexed
14557     * @param item The item data to set for the index's item
14558     *
14559     * Despite the most common usage of the @p letter argument is for
14560     * single char strings, one could use arbitrary strings as index
14561     * entries.
14562     *
14563     * @c item will be the pointer returned back on @c "changed", @c
14564     * "delay,changed" and @c "selected" smart events.
14565     *
14566     * @ingroup Index
14567     */
14568    EAPI void            elm_index_item_append(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
14569
14570    /**
14571     * Prepend a new item on a given index widget.
14572     *
14573     * @param obj The index object.
14574     * @param letter Letter under which the item should be indexed
14575     * @param item The item data to set for the index's item
14576     *
14577     * Despite the most common usage of the @p letter argument is for
14578     * single char strings, one could use arbitrary strings as index
14579     * entries.
14580     *
14581     * @c item will be the pointer returned back on @c "changed", @c
14582     * "delay,changed" and @c "selected" smart events.
14583     *
14584     * @ingroup Index
14585     */
14586    EAPI void            elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
14587
14588    /**
14589     * Append a new item, on a given index widget, <b>after the item
14590     * having @p relative as data</b>.
14591     *
14592     * @param obj The index object.
14593     * @param letter Letter under which the item should be indexed
14594     * @param item The item data to set for the index's item
14595     * @param relative The item data of the index item to be the
14596     * predecessor of this new one
14597     *
14598     * Despite the most common usage of the @p letter argument is for
14599     * single char strings, one could use arbitrary strings as index
14600     * entries.
14601     *
14602     * @c item will be the pointer returned back on @c "changed", @c
14603     * "delay,changed" and @c "selected" smart events.
14604     *
14605     * @note If @p relative is @c NULL or if it's not found to be data
14606     * set on any previous item on @p obj, this function will behave as
14607     * elm_index_item_append().
14608     *
14609     * @ingroup Index
14610     */
14611    EAPI void            elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
14612
14613    /**
14614     * Prepend a new item, on a given index widget, <b>after the item
14615     * having @p relative as data</b>.
14616     *
14617     * @param obj The index object.
14618     * @param letter Letter under which the item should be indexed
14619     * @param item The item data to set for the index's item
14620     * @param relative The item data of the index item to be the
14621     * successor of this new one
14622     *
14623     * Despite the most common usage of the @p letter argument is for
14624     * single char strings, one could use arbitrary strings as index
14625     * entries.
14626     *
14627     * @c item will be the pointer returned back on @c "changed", @c
14628     * "delay,changed" and @c "selected" smart events.
14629     *
14630     * @note If @p relative is @c NULL or if it's not found to be data
14631     * set on any previous item on @p obj, this function will behave as
14632     * elm_index_item_prepend().
14633     *
14634     * @ingroup Index
14635     */
14636    EAPI void            elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
14637
14638    /**
14639     * Insert a new item into the given index widget, using @p cmp_func
14640     * function to sort items (by item handles).
14641     *
14642     * @param obj The index object.
14643     * @param letter Letter under which the item should be indexed
14644     * @param item The item data to set for the index's item
14645     * @param cmp_func The comparing function to be used to sort index
14646     * items <b>by #Elm_Index_Item item handles</b>
14647     * @param cmp_data_func A @b fallback function to be called for the
14648     * sorting of index items <b>by item data</b>). It will be used
14649     * when @p cmp_func returns @c 0 (equality), which means an index
14650     * item with provided item data already exists. To decide which
14651     * data item should be pointed to by the index item in question, @p
14652     * cmp_data_func will be used. If @p cmp_data_func returns a
14653     * non-negative value, the previous index item data will be
14654     * replaced by the given @p item pointer. If the previous data need
14655     * to be freed, it should be done by the @p cmp_data_func function,
14656     * because all references to it will be lost. If this function is
14657     * not provided (@c NULL is given), index items will be @b
14658     * duplicated, if @p cmp_func returns @c 0.
14659     *
14660     * Despite the most common usage of the @p letter argument is for
14661     * single char strings, one could use arbitrary strings as index
14662     * entries.
14663     *
14664     * @c item will be the pointer returned back on @c "changed", @c
14665     * "delay,changed" and @c "selected" smart events.
14666     *
14667     * @ingroup Index
14668     */
14669    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);
14670
14671    /**
14672     * Remove an item from a given index widget, <b>to be referenced by
14673     * it's data value</b>.
14674     *
14675     * @param obj The index object
14676     * @param item The item's data pointer for the item to be removed
14677     * from @p obj
14678     *
14679     * If a deletion callback is set, via elm_index_item_del_cb_set(),
14680     * that callback function will be called by this one.
14681     *
14682     * @warning The item to be removed from @p obj will be found via
14683     * its item data pointer, and not by an #Elm_Index_Item handle.
14684     *
14685     * @ingroup Index
14686     */
14687    EAPI void            elm_index_item_del(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
14688
14689    /**
14690     * Find a given index widget's item, <b>using item data</b>.
14691     *
14692     * @param obj The index object
14693     * @param item The item data pointed to by the desired index item
14694     * @return The index item handle, if found, or @c NULL otherwise
14695     *
14696     * @ingroup Index
14697     */
14698    EAPI Elm_Index_Item *elm_index_item_find(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
14699
14700    /**
14701     * Removes @b all items from a given index widget.
14702     *
14703     * @param obj The index object.
14704     *
14705     * If deletion callbacks are set, via elm_index_item_del_cb_set(),
14706     * that callback function will be called for each item in @p obj.
14707     *
14708     * @ingroup Index
14709     */
14710    EAPI void            elm_index_item_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
14711
14712    /**
14713     * Go to a given items level on a index widget
14714     *
14715     * @param obj The index object
14716     * @param level The index level (one of @c 0 or @c 1)
14717     *
14718     * @ingroup Index
14719     */
14720    EAPI void            elm_index_item_go(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
14721
14722    /**
14723     * Return the data associated with a given index widget item
14724     *
14725     * @param it The index widget item handle
14726     * @return The data associated with @p it
14727     *
14728     * @see elm_index_item_data_set()
14729     *
14730     * @ingroup Index
14731     */
14732    EAPI void           *elm_index_item_data_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
14733
14734    /**
14735     * Set the data associated with a given index widget item
14736     *
14737     * @param it The index widget item handle
14738     * @param data The new data pointer to set to @p it
14739     *
14740     * This sets new item data on @p it.
14741     *
14742     * @warning The old data pointer won't be touched by this function, so
14743     * the user had better to free that old data himself/herself.
14744     *
14745     * @ingroup Index
14746     */
14747    EAPI void            elm_index_item_data_set(Elm_Index_Item *it, const void *data) EINA_ARG_NONNULL(1);
14748
14749    /**
14750     * Set the function to be called when a given index widget item is freed.
14751     *
14752     * @param it The item to set the callback on
14753     * @param func The function to call on the item's deletion
14754     *
14755     * When called, @p func will have both @c data and @c event_info
14756     * arguments with the @p it item's data value and, naturally, the
14757     * @c obj argument with a handle to the parent index widget.
14758     *
14759     * @ingroup Index
14760     */
14761    EAPI void            elm_index_item_del_cb_set(Elm_Index_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
14762
14763    /**
14764     * Get the letter (string) set on a given index widget item.
14765     *
14766     * @param it The index item handle
14767     * @return The letter string set on @p it
14768     *
14769     * @ingroup Index
14770     */
14771    EAPI const char     *elm_index_item_letter_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
14772
14773    /**
14774     * @}
14775     */
14776
14777    /**
14778     * @defgroup Photocam Photocam
14779     *
14780     * @image html img/widget/photocam/preview-00.png
14781     * @image latex img/widget/photocam/preview-00.eps
14782     *
14783     * This is a widget specifically for displaying high-resolution digital
14784     * camera photos giving speedy feedback (fast load), low memory footprint
14785     * and zooming and panning as well as fitting logic. It is entirely focused
14786     * on jpeg images, and takes advantage of properties of the jpeg format (via
14787     * evas loader features in the jpeg loader).
14788     *
14789     * Signals that you can add callbacks for are:
14790     * @li "clicked" - This is called when a user has clicked the photo without
14791     *                 dragging around.
14792     * @li "press" - This is called when a user has pressed down on the photo.
14793     * @li "longpressed" - This is called when a user has pressed down on the
14794     *                     photo for a long time without dragging around.
14795     * @li "clicked,double" - This is called when a user has double-clicked the
14796     *                        photo.
14797     * @li "load" - Photo load begins.
14798     * @li "loaded" - This is called when the image file load is complete for the
14799     *                first view (low resolution blurry version).
14800     * @li "load,detail" - Photo detailed data load begins.
14801     * @li "loaded,detail" - This is called when the image file load is complete
14802     *                      for the detailed image data (full resolution needed).
14803     * @li "zoom,start" - Zoom animation started.
14804     * @li "zoom,stop" - Zoom animation stopped.
14805     * @li "zoom,change" - Zoom changed when using an auto zoom mode.
14806     * @li "scroll" - the content has been scrolled (moved)
14807     * @li "scroll,anim,start" - scrolling animation has started
14808     * @li "scroll,anim,stop" - scrolling animation has stopped
14809     * @li "scroll,drag,start" - dragging the contents around has started
14810     * @li "scroll,drag,stop" - dragging the contents around has stopped
14811     *
14812     * @ref tutorial_photocam shows the API in action.
14813     * @{
14814     */
14815    /**
14816     * @brief Types of zoom available.
14817     */
14818    typedef enum _Elm_Photocam_Zoom_Mode
14819      {
14820         ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0, /**< Zoom controled normally by elm_photocam_zoom_set */
14821         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT, /**< Zoom until photo fits in photocam */
14822         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL, /**< Zoom until photo fills photocam */
14823         ELM_PHOTOCAM_ZOOM_MODE_LAST
14824      } Elm_Photocam_Zoom_Mode;
14825    /**
14826     * @brief Add a new Photocam object
14827     *
14828     * @param parent The parent object
14829     * @return The new object or NULL if it cannot be created
14830     */
14831    EAPI Evas_Object           *elm_photocam_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
14832    /**
14833     * @brief Set the photo file to be shown
14834     *
14835     * @param obj The photocam object
14836     * @param file The photo file
14837     * @return The return error (see EVAS_LOAD_ERROR_NONE, EVAS_LOAD_ERROR_GENERIC etc.)
14838     *
14839     * This sets (and shows) the specified file (with a relative or absolute
14840     * path) and will return a load error (same error that
14841     * evas_object_image_load_error_get() will return). The image will change and
14842     * adjust its size at this point and begin a background load process for this
14843     * photo that at some time in the future will be displayed at the full
14844     * quality needed.
14845     */
14846    EAPI Evas_Load_Error        elm_photocam_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
14847    /**
14848     * @brief Returns the path of the current image file
14849     *
14850     * @param obj The photocam object
14851     * @return Returns the path
14852     *
14853     * @see elm_photocam_file_set()
14854     */
14855    EAPI const char            *elm_photocam_file_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14856    /**
14857     * @brief Set the zoom level of the photo
14858     *
14859     * @param obj The photocam object
14860     * @param zoom The zoom level to set
14861     *
14862     * This sets the zoom level. 1 will be 1:1 pixel for pixel. 2 will be 2:1
14863     * (that is 2x2 photo pixels will display as 1 on-screen pixel). 4:1 will be
14864     * 4x4 photo pixels as 1 screen pixel, and so on. The @p zoom parameter must
14865     * be greater than 0. It is usggested to stick to powers of 2. (1, 2, 4, 8,
14866     * 16, 32, etc.).
14867     */
14868    EAPI void                   elm_photocam_zoom_set(Evas_Object *obj, double zoom) EINA_ARG_NONNULL(1);
14869    /**
14870     * @brief Get the zoom level of the photo
14871     *
14872     * @param obj The photocam object
14873     * @return The current zoom level
14874     *
14875     * This returns the current zoom level of the photocam object. Note that if
14876     * you set the fill mode to other than ELM_PHOTOCAM_ZOOM_MODE_MANUAL
14877     * (which is the default), the zoom level may be changed at any time by the
14878     * photocam object itself to account for photo size and photocam viewpoer
14879     * size.
14880     *
14881     * @see elm_photocam_zoom_set()
14882     * @see elm_photocam_zoom_mode_set()
14883     */
14884    EAPI double                 elm_photocam_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14885    /**
14886     * @brief Set the zoom mode
14887     *
14888     * @param obj The photocam object
14889     * @param mode The desired mode
14890     *
14891     * This sets the zoom mode to manual or one of several automatic levels.
14892     * Manual (ELM_PHOTOCAM_ZOOM_MODE_MANUAL) means that zoom is set manually by
14893     * elm_photocam_zoom_set() and will stay at that level until changed by code
14894     * or until zoom mode is changed. This is the default mode. The Automatic
14895     * modes will allow the photocam object to automatically adjust zoom mode
14896     * based on properties. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT) will adjust zoom so
14897     * the photo fits EXACTLY inside the scroll frame with no pixels outside this
14898     * area. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL will be similar but ensure no
14899     * pixels within the frame are left unfilled.
14900     */
14901    EAPI void                   elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode) EINA_ARG_NONNULL(1);
14902    /**
14903     * @brief Get the zoom mode
14904     *
14905     * @param obj The photocam object
14906     * @return The current zoom mode
14907     *
14908     * This gets the current zoom mode of the photocam object.
14909     *
14910     * @see elm_photocam_zoom_mode_set()
14911     */
14912    EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14913    /**
14914     * @brief Get the current image pixel width and height
14915     *
14916     * @param obj The photocam object
14917     * @param w A pointer to the width return
14918     * @param h A pointer to the height return
14919     *
14920     * This gets the current photo pixel width and height (for the original).
14921     * The size will be returned in the integers @p w and @p h that are pointed
14922     * to.
14923     */
14924    EAPI void                   elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
14925    /**
14926     * @brief Get the area of the image that is currently shown
14927     *
14928     * @param obj
14929     * @param x A pointer to the X-coordinate of region
14930     * @param y A pointer to the Y-coordinate of region
14931     * @param w A pointer to the width
14932     * @param h A pointer to the height
14933     *
14934     * @see elm_photocam_image_region_show()
14935     * @see elm_photocam_image_region_bring_in()
14936     */
14937    EAPI void                   elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
14938    /**
14939     * @brief Set the viewed portion of the image
14940     *
14941     * @param obj The photocam object
14942     * @param x X-coordinate of region in image original pixels
14943     * @param y Y-coordinate of region in image original pixels
14944     * @param w Width of region in image original pixels
14945     * @param h Height of region in image original pixels
14946     *
14947     * This shows the region of the image without using animation.
14948     */
14949    EAPI void                   elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
14950    /**
14951     * @brief Bring in the viewed portion of the image
14952     *
14953     * @param obj The photocam object
14954     * @param x X-coordinate of region in image original pixels
14955     * @param y Y-coordinate of region in image original pixels
14956     * @param w Width of region in image original pixels
14957     * @param h Height of region in image original pixels
14958     *
14959     * This shows the region of the image using animation.
14960     */
14961    EAPI void                   elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
14962    /**
14963     * @brief Set the paused state for photocam
14964     *
14965     * @param obj The photocam object
14966     * @param paused The pause state to set
14967     *
14968     * This sets the paused state to on(EINA_TRUE) or off (EINA_FALSE) for
14969     * photocam. The default is off. This will stop zooming using animation on
14970     * zoom levels changes and change instantly. This will stop any existing
14971     * animations that are running.
14972     */
14973    EAPI void                   elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
14974    /**
14975     * @brief Get the paused state for photocam
14976     *
14977     * @param obj The photocam object
14978     * @return The current paused state
14979     *
14980     * This gets the current paused state for the photocam object.
14981     *
14982     * @see elm_photocam_paused_set()
14983     */
14984    EAPI Eina_Bool              elm_photocam_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14985    /**
14986     * @brief Get the internal low-res image used for photocam
14987     *
14988     * @param obj The photocam object
14989     * @return The internal image object handle, or NULL if none exists
14990     *
14991     * This gets the internal image object inside photocam. Do not modify it. It
14992     * is for inspection only, and hooking callbacks to. Nothing else. It may be
14993     * deleted at any time as well.
14994     */
14995    EAPI Evas_Object           *elm_photocam_internal_image_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14996    /**
14997     * @brief Set the photocam scrolling bouncing.
14998     *
14999     * @param obj The photocam object
15000     * @param h_bounce bouncing for horizontal
15001     * @param v_bounce bouncing for vertical
15002     */
15003    EAPI void                   elm_photocam_bounce_set(Evas_Object *obj,  Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
15004    /**
15005     * @brief Get the photocam scrolling bouncing.
15006     *
15007     * @param obj The photocam object
15008     * @param h_bounce bouncing for horizontal
15009     * @param v_bounce bouncing for vertical
15010     *
15011     * @see elm_photocam_bounce_set()
15012     */
15013    EAPI void                   elm_photocam_bounce_get(const Evas_Object *obj,  Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
15014    /**
15015     * @}
15016     */
15017
15018    /* map */
15019    typedef enum _Elm_Map_Zoom_Mode
15020      {
15021         ELM_MAP_ZOOM_MODE_MANUAL,
15022         ELM_MAP_ZOOM_MODE_AUTO_FIT,
15023         ELM_MAP_ZOOM_MODE_AUTO_FILL,
15024         ELM_MAP_ZOOM_MODE_LAST
15025      } Elm_Map_Zoom_Mode;
15026
15027    typedef enum _Elm_Map_Route_Sources
15028      {
15029         ELM_MAP_ROUTE_SOURCE_YOURS,
15030         ELM_MAP_ROUTE_SOURCE_MONAV,
15031         ELM_MAP_ROUTE_SOURCE_ORS,
15032         ELM_MAP_ROUTE_SOURCE_LAST
15033      } Elm_Map_Route_Sources;
15034
15035    typedef enum _Elm_Map_Name_Sources
15036      {
15037         ELM_MAP_NAME_SOURCE_NOMINATIM,
15038         ELM_MAP_NAME_SOURCE_LAST
15039      } Elm_Map_Name_Sources;
15040
15041    typedef enum _Elm_Map_Route_Type
15042      {
15043         ELM_MAP_ROUTE_TYPE_MOTOCAR,
15044         ELM_MAP_ROUTE_TYPE_BICYCLE,
15045         ELM_MAP_ROUTE_TYPE_FOOT,
15046         ELM_MAP_ROUTE_TYPE_LAST
15047      } Elm_Map_Route_Type;
15048
15049    typedef enum _Elm_Map_Route_Method
15050      {
15051         ELM_MAP_ROUTE_METHOD_FASTEST,
15052         ELM_MAP_ROUTE_METHOD_SHORTEST,
15053         ELM_MAP_ROUTE_METHOD_LAST
15054      } Elm_Map_Route_Method;
15055
15056    typedef enum _Elm_Map_Name_Method
15057      {
15058         ELM_MAP_NAME_METHOD_SEARCH,
15059         ELM_MAP_NAME_METHOD_REVERSE,
15060         ELM_MAP_NAME_METHOD_LAST
15061      } Elm_Map_Name_Method;
15062
15063    typedef struct _Elm_Map_Marker          Elm_Map_Marker;
15064    typedef struct _Elm_Map_Marker_Class    Elm_Map_Marker_Class;
15065    typedef struct _Elm_Map_Group_Class     Elm_Map_Group_Class;
15066    typedef struct _Elm_Map_Route           Elm_Map_Route;
15067    typedef struct _Elm_Map_Name            Elm_Map_Name;
15068    typedef struct _Elm_Map_Track           Elm_Map_Track;
15069
15070    typedef Evas_Object *(*ElmMapMarkerGetFunc)      (Evas_Object *obj, Elm_Map_Marker *marker, void *data);
15071    typedef void         (*ElmMapMarkerDelFunc)      (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o);
15072    typedef Evas_Object *(*ElmMapMarkerIconGetFunc)  (Evas_Object *obj, Elm_Map_Marker *marker, void *data);
15073    typedef Evas_Object *(*ElmMapGroupIconGetFunc)   (Evas_Object *obj, void *data);
15074
15075    typedef char        *(*ElmMapModuleSourceFunc) (void);
15076    typedef int          (*ElmMapModuleZoomMinFunc) (void);
15077    typedef int          (*ElmMapModuleZoomMaxFunc) (void);
15078    typedef char        *(*ElmMapModuleUrlFunc) (Evas_Object *obj, int x, int y, int zoom);
15079    typedef int          (*ElmMapModuleRouteSourceFunc) (void);
15080    typedef char        *(*ElmMapModuleRouteUrlFunc) (Evas_Object *obj, char *type_name, int method, double flon, double flat, double tlon, double tlat);
15081    typedef char        *(*ElmMapModuleNameUrlFunc) (Evas_Object *obj, int method, char *name, double lon, double lat);
15082    typedef Eina_Bool    (*ElmMapModuleGeoIntoCoordFunc) (const Evas_Object *obj, int zoom, double lon, double lat, int size, int *x, int *y);
15083    typedef Eina_Bool    (*ElmMapModuleCoordIntoGeoFunc) (const Evas_Object *obj, int zoom, int x, int y, int size, double *lon, double *lat);
15084
15085    EAPI Evas_Object          *elm_map_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15086    EAPI void                  elm_map_zoom_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
15087    EAPI int                   elm_map_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15088    EAPI void                  elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode) EINA_ARG_NONNULL(1);
15089    EAPI Elm_Map_Zoom_Mode     elm_map_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15090    EAPI void                  elm_map_geo_region_get(const Evas_Object *obj, double *lon, double *lat) EINA_ARG_NONNULL(1);
15091    EAPI void                  elm_map_geo_region_bring_in(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
15092    EAPI void                  elm_map_geo_region_show(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
15093    EAPI void                  elm_map_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
15094    EAPI Eina_Bool             elm_map_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15095    EAPI void                  elm_map_paused_markers_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
15096    EAPI Eina_Bool             elm_map_paused_markers_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15097    EAPI void                  elm_map_utils_downloading_status_get(const Evas_Object *obj, int *try_num, int *finish_num) EINA_ARG_NONNULL(1, 2, 3);
15098    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);
15099    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);
15100    EAPI Elm_Map_Name         *elm_map_utils_convert_coord_into_name(const Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
15101    EAPI Elm_Map_Name         *elm_map_utils_convert_name_into_coord(const Evas_Object *obj, char *address) EINA_ARG_NONNULL(1, 2);
15102    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);
15103    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);
15104    EAPI void                  elm_map_max_marker_per_group_set(Evas_Object *obj, int max) EINA_ARG_NONNULL(1);
15105    EAPI void                  elm_map_marker_remove(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
15106    EAPI void                  elm_map_marker_region_get(const Elm_Map_Marker *marker, double *lon, double *lat) EINA_ARG_NONNULL(1);
15107    EAPI void                  elm_map_marker_bring_in(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
15108    EAPI void                  elm_map_marker_show(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
15109    EAPI void                  elm_map_markers_list_show(Eina_List *markers) EINA_ARG_NONNULL(1);
15110    EAPI Evas_Object          *elm_map_marker_object_get(const Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
15111    EAPI void                  elm_map_marker_update(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
15112    EAPI void                  elm_map_bubbles_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
15113    EAPI Elm_Map_Group_Class  *elm_map_group_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
15114    EAPI void                  elm_map_group_class_style_set(Elm_Map_Group_Class *clas, const char *style) EINA_ARG_NONNULL(1);
15115    EAPI void                  elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, ElmMapGroupIconGetFunc icon_get) EINA_ARG_NONNULL(1);
15116    EAPI void                  elm_map_group_class_data_set(Elm_Map_Group_Class *clas, void *data) EINA_ARG_NONNULL(1);
15117    EAPI void                  elm_map_group_class_zoom_displayed_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
15118    EAPI void                  elm_map_group_class_zoom_grouped_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
15119    EAPI void                  elm_map_group_class_hide_set(Evas_Object *obj, Elm_Map_Group_Class *clas, Eina_Bool hide) EINA_ARG_NONNULL(1, 2);
15120    EAPI Elm_Map_Marker_Class *elm_map_marker_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
15121    EAPI void                  elm_map_marker_class_style_set(Elm_Map_Marker_Class *clas, const char *style) EINA_ARG_NONNULL(1);
15122    EAPI void                  elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerIconGetFunc icon_get) EINA_ARG_NONNULL(1);
15123    EAPI void                  elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerGetFunc get) EINA_ARG_NONNULL(1);
15124    EAPI void                  elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerDelFunc del) EINA_ARG_NONNULL(1);
15125    EAPI const char          **elm_map_source_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15126    EAPI void                  elm_map_source_name_set(Evas_Object *obj, const char *source_name) EINA_ARG_NONNULL(1);
15127    EAPI const char           *elm_map_source_name_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15128    EAPI void                  elm_map_route_source_set(Evas_Object *obj, Elm_Map_Route_Sources source) EINA_ARG_NONNULL(1);
15129    EAPI Elm_Map_Route_Sources elm_map_route_source_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15130    EAPI void                  elm_map_source_zoom_min_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
15131    EAPI int                   elm_map_source_zoom_min_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15132    EAPI void                  elm_map_source_zoom_max_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
15133    EAPI int                   elm_map_source_zoom_max_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15134    EAPI void                  elm_map_user_agent_set(Evas_Object *obj, const char *user_agent) EINA_ARG_NONNULL(1, 2);
15135    EAPI const char           *elm_map_user_agent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15136    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);
15137    EAPI void                  elm_map_route_remove(Elm_Map_Route *route) EINA_ARG_NONNULL(1);
15138    EAPI void                  elm_map_route_color_set(Elm_Map_Route *route, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
15139    EAPI void                  elm_map_route_color_get(const Elm_Map_Route *route, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
15140    EAPI double                elm_map_route_distance_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
15141    EAPI const char           *elm_map_route_node_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
15142    EAPI const char           *elm_map_route_waypoint_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
15143    EAPI const char           *elm_map_name_address_get(const Elm_Map_Name *name) EINA_ARG_NONNULL(1);
15144    EAPI void                  elm_map_name_region_get(const Elm_Map_Name *name, double *lon, double *lat) EINA_ARG_NONNULL(1);
15145    EAPI void                  elm_map_name_remove(Elm_Map_Name *name) EINA_ARG_NONNULL(1);
15146    EAPI void                  elm_map_rotate_set(Evas_Object *obj, double degree, Evas_Coord cx, Evas_Coord cy) EINA_ARG_NONNULL(1);
15147    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);
15148    EAPI void                  elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
15149    EAPI Eina_Bool             elm_map_wheel_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15150 #ifdef ELM_EMAP
15151    EAPI Evas_Object          *elm_map_track_add(Evas_Object *obj, EMap_Route *emap) EINA_ARG_NONNULL(1);
15152 #endif
15153    EAPI void                  elm_map_track_remove(Evas_Object *obj, Evas_Object *route) EINA_ARG_NONNULL(1);
15154
15155    /* smart callbacks called:
15156     * "clicked" - when image clicked
15157     * "press" - when mouse/finger held down initially on image
15158     * "longpressed" - when mouse/finger held for long time on image
15159     * "clicked,double" - when mouse/finger double-clicked
15160     * "load,details" - when detailed image load begins
15161     * "loaded,details" - when detailed image load done
15162     * "zoom,start" - when zooming started
15163     * "zoom,stop" - when zooming stopped
15164     * "zoom,change" - when auto zoom mode changed zoom level
15165     * "scroll - the content has been scrolled (moved)
15166     * "scroll,anim,start" - scrolling animation has started
15167     * "scroll,anim,stop" - scrolling animation has stopped
15168     * "scroll,drag,start" - dragging the contents around has started
15169     * "scroll,drag,stop" - dragging the contents around has stopped
15170     */
15171
15172    /* Route */
15173    EAPI Evas_Object *elm_route_add(Evas_Object *parent);
15174 #ifdef ELM_EMAP
15175    EAPI void elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
15176 #endif
15177    EAPI double elm_route_lon_min_get(Evas_Object *obj);
15178    EAPI double elm_route_lat_min_get(Evas_Object *obj);
15179    EAPI double elm_route_lon_max_get(Evas_Object *obj);
15180    EAPI double elm_route_lat_max_get(Evas_Object *obj);
15181
15182
15183    /**
15184     * @defgroup Panel Panel
15185     *
15186     * @image html img/widget/panel/preview-00.png
15187     * @image latex img/widget/panel/preview-00.eps
15188     *
15189     * @brief A panel is a type of animated container that contains subobjects.
15190     * It can be expanded or contracted by clicking the button on it's edge.
15191     *
15192     * Orientations are as follows:
15193     * @li ELM_PANEL_ORIENT_TOP
15194     * @li ELM_PANEL_ORIENT_LEFT
15195     * @li ELM_PANEL_ORIENT_RIGHT
15196     *
15197     * @ref tutorial_panel shows one way to use this widget.
15198     * @{
15199     */
15200    typedef enum _Elm_Panel_Orient
15201      {
15202         ELM_PANEL_ORIENT_TOP, /**< Panel (dis)appears from the top */
15203         ELM_PANEL_ORIENT_BOTTOM, /**< Not implemented */
15204         ELM_PANEL_ORIENT_LEFT, /**< Panel (dis)appears from the left */
15205         ELM_PANEL_ORIENT_RIGHT, /**< Panel (dis)appears from the right */
15206      } Elm_Panel_Orient;
15207    /**
15208     * @brief Adds a panel object
15209     *
15210     * @param parent The parent object
15211     *
15212     * @return The panel object, or NULL on failure
15213     */
15214    EAPI Evas_Object          *elm_panel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15215    /**
15216     * @brief Sets the orientation of the panel
15217     *
15218     * @param parent The parent object
15219     * @param orient The panel orientation. Can be one of the following:
15220     * @li ELM_PANEL_ORIENT_TOP
15221     * @li ELM_PANEL_ORIENT_LEFT
15222     * @li ELM_PANEL_ORIENT_RIGHT
15223     *
15224     * Sets from where the panel will (dis)appear.
15225     */
15226    EAPI void                  elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient) EINA_ARG_NONNULL(1);
15227    /**
15228     * @brief Get the orientation of the panel.
15229     *
15230     * @param obj The panel object
15231     * @return The Elm_Panel_Orient, or ELM_PANEL_ORIENT_LEFT on failure.
15232     */
15233    EAPI Elm_Panel_Orient      elm_panel_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15234    /**
15235     * @brief Set the content of the panel.
15236     *
15237     * @param obj The panel object
15238     * @param content The panel content
15239     *
15240     * Once the content object is set, a previously set one will be deleted.
15241     * If you want to keep that old content object, use the
15242     * elm_panel_content_unset() function.
15243     */
15244    EAPI void                  elm_panel_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
15245    /**
15246     * @brief Get the content of the panel.
15247     *
15248     * @param obj The panel object
15249     * @return The content that is being used
15250     *
15251     * Return the content object which is set for this widget.
15252     *
15253     * @see elm_panel_content_set()
15254     */
15255    EAPI Evas_Object          *elm_panel_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15256    /**
15257     * @brief Unset the content of the panel.
15258     *
15259     * @param obj The panel object
15260     * @return The content that was being used
15261     *
15262     * Unparent and return the content object which was set for this widget.
15263     *
15264     * @see elm_panel_content_set()
15265     */
15266    EAPI Evas_Object          *elm_panel_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15267    /**
15268     * @brief Set the state of the panel.
15269     *
15270     * @param obj The panel object
15271     * @param hidden If true, the panel will run the animation to contract
15272     */
15273    EAPI void                  elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden) EINA_ARG_NONNULL(1);
15274    /**
15275     * @brief Get the state of the panel.
15276     *
15277     * @param obj The panel object
15278     * @param hidden If true, the panel is in the "hide" state
15279     */
15280    EAPI Eina_Bool             elm_panel_hidden_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15281    /**
15282     * @brief Toggle the hidden state of the panel from code
15283     *
15284     * @param obj The panel object
15285     */
15286    EAPI void                  elm_panel_toggle(Evas_Object *obj) EINA_ARG_NONNULL(1);
15287    /**
15288     * @}
15289     */
15290
15291    /**
15292     * @defgroup Panes Panes
15293     * @ingroup Elementary
15294     *
15295     * @image html img/widget/panes/preview-00.png
15296     * @image latex img/widget/panes/preview-00.eps width=\textwidth
15297     *
15298     * @image html img/panes.png
15299     * @image latex img/panes.eps width=\textwidth
15300     *
15301     * The panes adds a dragable bar between two contents. When dragged
15302     * this bar will resize contents size.
15303     *
15304     * Panes can be displayed vertically or horizontally, and contents
15305     * size proportion can be customized (homogeneous by default).
15306     *
15307     * Smart callbacks one can listen to:
15308     * - "press" - The panes has been pressed (button wasn't released yet).
15309     * - "unpressed" - The panes was released after being pressed.
15310     * - "clicked" - The panes has been clicked>
15311     * - "clicked,double" - The panes has been double clicked
15312     *
15313     * Available styles for it:
15314     * - @c "default"
15315     *
15316     * Here is an example on its usage:
15317     * @li @ref panes_example
15318     */
15319
15320    /**
15321     * @addtogroup Panes
15322     * @{
15323     */
15324
15325    /**
15326     * Add a new panes widget to the given parent Elementary
15327     * (container) object.
15328     *
15329     * @param parent The parent object.
15330     * @return a new panes widget handle or @c NULL, on errors.
15331     *
15332     * This function inserts a new panes widget on the canvas.
15333     *
15334     * @ingroup Panes
15335     */
15336    EAPI Evas_Object          *elm_panes_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15337
15338    /**
15339     * Set the left content of the panes widget.
15340     *
15341     * @param obj The panes object.
15342     * @param content The new left content object.
15343     *
15344     * Once the content object is set, a previously set one will be deleted.
15345     * If you want to keep that old content object, use the
15346     * elm_panes_content_left_unset() function.
15347     *
15348     * If panes is displayed vertically, left content will be displayed at
15349     * top.
15350     *
15351     * @see elm_panes_content_left_get()
15352     * @see elm_panes_content_right_set() to set content on the other side.
15353     *
15354     * @ingroup Panes
15355     */
15356    EAPI void                  elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
15357
15358    /**
15359     * Set the right content of the panes widget.
15360     *
15361     * @param obj The panes object.
15362     * @param content The new right content object.
15363     *
15364     * Once the content object is set, a previously set one will be deleted.
15365     * If you want to keep that old content object, use the
15366     * elm_panes_content_right_unset() function.
15367     *
15368     * If panes is displayed vertically, left content will be displayed at
15369     * bottom.
15370     *
15371     * @see elm_panes_content_right_get()
15372     * @see elm_panes_content_left_set() to set content on the other side.
15373     *
15374     * @ingroup Panes
15375     */
15376    EAPI void                  elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
15377
15378    /**
15379     * Get the left content of the panes.
15380     *
15381     * @param obj The panes object.
15382     * @return The left content object that is being used.
15383     *
15384     * Return the left content object which is set for this widget.
15385     *
15386     * @see elm_panes_content_left_set() for details.
15387     *
15388     * @ingroup Panes
15389     */
15390    EAPI Evas_Object          *elm_panes_content_left_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15391
15392    /**
15393     * Get the right content of the panes.
15394     *
15395     * @param obj The panes object
15396     * @return The right content object that is being used
15397     *
15398     * Return the right content object which is set for this widget.
15399     *
15400     * @see elm_panes_content_right_set() for details.
15401     *
15402     * @ingroup Panes
15403     */
15404    EAPI Evas_Object          *elm_panes_content_right_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15405
15406    /**
15407     * Unset the left content used for the panes.
15408     *
15409     * @param obj The panes object.
15410     * @return The left content object that was being used.
15411     *
15412     * Unparent and return the left content object which was set for this widget.
15413     *
15414     * @see elm_panes_content_left_set() for details.
15415     * @see elm_panes_content_left_get().
15416     *
15417     * @ingroup Panes
15418     */
15419    EAPI Evas_Object          *elm_panes_content_left_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15420
15421    /**
15422     * Unset the right content used for the panes..
15423     *
15424     * @param obj The panes object.
15425     * @return The right content object that was being used.
15426     *
15427     * Unparent and return the right content object which was set for this
15428     * widget.
15429     *
15430     * @see elm_panes_content_right_set() for details.
15431     * @see elm_panes_content_right_get().
15432     *
15433     * @ingroup Panes
15434     */
15435    EAPI Evas_Object          *elm_panes_content_right_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15436
15437    /**
15438     * Get the size proportion of panes widget's left side.
15439     *
15440     * @param obj The panes object.
15441     * @return float value between 0.0 and 1.0 representing size proportion
15442     * of left side.
15443     *
15444     * @see elm_panes_content_left_size_set() for more details.
15445     *
15446     * @ingroup Panes
15447     */
15448    EAPI double                elm_panes_content_left_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15449
15450    /**
15451     * Set the size proportion of panes widget's left side.
15452     *
15453     * @param obj The panes object.
15454     * @param size Value between 0.0 and 1.0 representing size proportion
15455     * of left side.
15456     *
15457     * By default it's homogeneous, i.e., both sides have the same size.
15458     *
15459     * If something different is required, it can be set with this function.
15460     * For example, if the left content should be displayed over
15461     * 75% of the panes size, @p size should be passed as @c 0.75.
15462     * This way, right content will be resized to 25% of panes size.
15463     *
15464     * If displayed vertically, left content is displayed at top, and
15465     * right content at bottom.
15466     *
15467     * @note This proportion will change when user drags the panes bar.
15468     *
15469     * @see elm_panes_content_left_size_get()
15470     *
15471     * @ingroup Panes
15472     */
15473    EAPI void                  elm_panes_content_left_size_set(Evas_Object *obj, double size) EINA_ARG_NONNULL(1);
15474
15475   /**
15476    * Set the orientation of a given panes widget.
15477    *
15478    * @param obj The panes object.
15479    * @param horizontal Use @c EINA_TRUE to make @p obj to be
15480    * @b horizontal, @c EINA_FALSE to make it @b vertical.
15481    *
15482    * Use this function to change how your panes is to be
15483    * disposed: vertically or horizontally.
15484    *
15485    * By default it's displayed horizontally.
15486    *
15487    * @see elm_panes_horizontal_get()
15488    *
15489    * @ingroup Panes
15490    */
15491    EAPI void                  elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
15492
15493    /**
15494     * Retrieve the orientation of a given panes widget.
15495     *
15496     * @param obj The panes object.
15497     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
15498     * @c EINA_FALSE if it's @b vertical (and on errors).
15499     *
15500     * @see elm_panes_horizontal_set() for more details.
15501     *
15502     * @ingroup Panes
15503     */
15504    EAPI Eina_Bool             elm_panes_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15505
15506    /**
15507     * @}
15508     */
15509
15510    /**
15511     * @defgroup Flip Flip
15512     *
15513     * @image html img/widget/flip/preview-00.png
15514     * @image latex img/widget/flip/preview-00.eps
15515     *
15516     * This widget holds 2 content objects(Evas_Object): one on the front and one
15517     * on the back. It allows you to flip from front to back and vice-versa using
15518     * various animations.
15519     *
15520     * If either the front or back contents are not set the flip will treat that
15521     * as transparent. So if you wore to set the front content but not the back,
15522     * and then call elm_flip_go() you would see whatever is below the flip.
15523     *
15524     * For a list of supported animations see elm_flip_go().
15525     *
15526     * Signals that you can add callbacks for are:
15527     * "animate,begin" - when a flip animation was started
15528     * "animate,done" - when a flip animation is finished
15529     *
15530     * @ref tutorial_flip show how to use most of the API.
15531     *
15532     * @{
15533     */
15534    typedef enum _Elm_Flip_Mode
15535      {
15536         ELM_FLIP_ROTATE_Y_CENTER_AXIS,
15537         ELM_FLIP_ROTATE_X_CENTER_AXIS,
15538         ELM_FLIP_ROTATE_XZ_CENTER_AXIS,
15539         ELM_FLIP_ROTATE_YZ_CENTER_AXIS,
15540         ELM_FLIP_CUBE_LEFT,
15541         ELM_FLIP_CUBE_RIGHT,
15542         ELM_FLIP_CUBE_UP,
15543         ELM_FLIP_CUBE_DOWN,
15544         ELM_FLIP_PAGE_LEFT,
15545         ELM_FLIP_PAGE_RIGHT,
15546         ELM_FLIP_PAGE_UP,
15547         ELM_FLIP_PAGE_DOWN
15548      } Elm_Flip_Mode;
15549    typedef enum _Elm_Flip_Interaction
15550      {
15551         ELM_FLIP_INTERACTION_NONE,
15552         ELM_FLIP_INTERACTION_ROTATE,
15553         ELM_FLIP_INTERACTION_CUBE,
15554         ELM_FLIP_INTERACTION_PAGE
15555      } Elm_Flip_Interaction;
15556    typedef enum _Elm_Flip_Direction
15557      {
15558         ELM_FLIP_DIRECTION_UP, /**< Allows interaction with the top of the widget */
15559         ELM_FLIP_DIRECTION_DOWN, /**< Allows interaction with the bottom of the widget */
15560         ELM_FLIP_DIRECTION_LEFT, /**< Allows interaction with the left portion of the widget */
15561         ELM_FLIP_DIRECTION_RIGHT /**< Allows interaction with the right portion of the widget */
15562      } Elm_Flip_Direction;
15563    /**
15564     * @brief Add a new flip to the parent
15565     *
15566     * @param parent The parent object
15567     * @return The new object or NULL if it cannot be created
15568     */
15569    EAPI Evas_Object *elm_flip_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15570    /**
15571     * @brief Set the front content of the flip widget.
15572     *
15573     * @param obj The flip object
15574     * @param content The new front content object
15575     *
15576     * Once the content object is set, a previously set one will be deleted.
15577     * If you want to keep that old content object, use the
15578     * elm_flip_content_front_unset() function.
15579     */
15580    EAPI void         elm_flip_content_front_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
15581    /**
15582     * @brief Set the back content of the flip widget.
15583     *
15584     * @param obj The flip object
15585     * @param content The new back content object
15586     *
15587     * Once the content object is set, a previously set one will be deleted.
15588     * If you want to keep that old content object, use the
15589     * elm_flip_content_back_unset() function.
15590     */
15591    EAPI void         elm_flip_content_back_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
15592    /**
15593     * @brief Get the front content used for the flip
15594     *
15595     * @param obj The flip object
15596     * @return The front content object that is being used
15597     *
15598     * Return the front content object which is set for this widget.
15599     */
15600    EAPI Evas_Object *elm_flip_content_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15601    /**
15602     * @brief Get the back content used for the flip
15603     *
15604     * @param obj The flip object
15605     * @return The back content object that is being used
15606     *
15607     * Return the back content object which is set for this widget.
15608     */
15609    EAPI Evas_Object *elm_flip_content_back_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15610    /**
15611     * @brief Unset the front content used for the flip
15612     *
15613     * @param obj The flip object
15614     * @return The front content object that was being used
15615     *
15616     * Unparent and return the front content object which was set for this widget.
15617     */
15618    EAPI Evas_Object *elm_flip_content_front_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15619    /**
15620     * @brief Unset the back content used for the flip
15621     *
15622     * @param obj The flip object
15623     * @return The back content object that was being used
15624     *
15625     * Unparent and return the back content object which was set for this widget.
15626     */
15627    EAPI Evas_Object *elm_flip_content_back_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15628    /**
15629     * @brief Get flip front visibility state
15630     *
15631     * @param obj The flip objct
15632     * @return EINA_TRUE if front front is showing, EINA_FALSE if the back is
15633     * showing.
15634     */
15635    EAPI Eina_Bool    elm_flip_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15636    /**
15637     * @brief Set flip perspective
15638     *
15639     * @param obj The flip object
15640     * @param foc The coordinate to set the focus on
15641     * @param x The X coordinate
15642     * @param y The Y coordinate
15643     *
15644     * @warning This function currently does nothing.
15645     */
15646    EAPI void         elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
15647    /**
15648     * @brief Runs the flip animation
15649     *
15650     * @param obj The flip object
15651     * @param mode The mode type
15652     *
15653     * Flips the front and back contents using the @p mode animation. This
15654     * efectively hides the currently visible content and shows the hidden one.
15655     *
15656     * There a number of possible animations to use for the flipping:
15657     * @li ELM_FLIP_ROTATE_X_CENTER_AXIS - Rotate the currently visible content
15658     * around a horizontal axis in the middle of its height, the other content
15659     * is shown as the other side of the flip.
15660     * @li ELM_FLIP_ROTATE_Y_CENTER_AXIS - Rotate the currently visible content
15661     * around a vertical axis in the middle of its width, the other content is
15662     * shown as the other side of the flip.
15663     * @li ELM_FLIP_ROTATE_XZ_CENTER_AXIS - Rotate the currently visible content
15664     * around a diagonal axis in the middle of its width, the other content is
15665     * shown as the other side of the flip.
15666     * @li ELM_FLIP_ROTATE_YZ_CENTER_AXIS - Rotate the currently visible content
15667     * around a diagonal axis in the middle of its height, the other content is
15668     * shown as the other side of the flip.
15669     * @li ELM_FLIP_CUBE_LEFT - Rotate the currently visible content to the left
15670     * as if the flip was a cube, the other content is show as the right face of
15671     * the cube.
15672     * @li ELM_FLIP_CUBE_RIGHT - Rotate the currently visible content to the
15673     * right as if the flip was a cube, the other content is show as the left
15674     * face of the cube.
15675     * @li ELM_FLIP_CUBE_UP - Rotate the currently visible content up as if the
15676     * flip was a cube, the other content is show as the bottom face of the cube.
15677     * @li ELM_FLIP_CUBE_DOWN - Rotate the currently visible content down as if
15678     * the flip was a cube, the other content is show as the upper face of the
15679     * cube.
15680     * @li ELM_FLIP_PAGE_LEFT - Move the currently visible content to the left as
15681     * if the flip was a book, the other content is shown as the page below that.
15682     * @li ELM_FLIP_PAGE_RIGHT - Move the currently visible content to the right
15683     * as if the flip was a book, the other content is shown as the page below
15684     * that.
15685     * @li ELM_FLIP_PAGE_UP - Move the currently visible content up as if the
15686     * flip was a book, the other content is shown as the page below that.
15687     * @li ELM_FLIP_PAGE_DOWN - Move the currently visible content down as if the
15688     * flip was a book, the other content is shown as the page below that.
15689     */
15690    EAPI void         elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode) EINA_ARG_NONNULL(1);
15691    /**
15692     * @brief Set the interactive flip mode
15693     *
15694     * @param obj The flip object
15695     * @param mode The interactive flip mode to use
15696     *
15697     * This sets if the flip should be interactive (allow user to click and
15698     * drag a side of the flip to reveal the back page and cause it to flip).
15699     * By default a flip is not interactive. You may also need to set which
15700     * sides of the flip are "active" for flipping and how much space they use
15701     * (a minimum of a finger size) with elm_flip_interacton_direction_enabled_set()
15702     * and elm_flip_interacton_direction_hitsize_set()
15703     *
15704     * The four avilable mode of interaction are:
15705     * @li ELM_FLIP_INTERACTION_NONE - No interaction is allowed
15706     * @li ELM_FLIP_INTERACTION_ROTATE - Interaction will cause rotate animation
15707     * @li ELM_FLIP_INTERACTION_CUBE - Interaction will cause cube animation
15708     * @li ELM_FLIP_INTERACTION_PAGE - Interaction will cause page animation
15709     *
15710     * @note ELM_FLIP_INTERACTION_ROTATE won't cause
15711     * ELM_FLIP_ROTATE_XZ_CENTER_AXIS or ELM_FLIP_ROTATE_YZ_CENTER_AXIS to
15712     * happen, those can only be acheived with elm_flip_go();
15713     */
15714    EAPI void         elm_flip_interaction_set(Evas_Object *obj, Elm_Flip_Interaction mode);
15715    /**
15716     * @brief Get the interactive flip mode
15717     *
15718     * @param obj The flip object
15719     * @return The interactive flip mode
15720     *
15721     * Returns the interactive flip mode set by elm_flip_interaction_set()
15722     */
15723    EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Evas_Object *obj);
15724    /**
15725     * @brief Set which directions of the flip respond to interactive flip
15726     *
15727     * @param obj The flip object
15728     * @param dir The direction to change
15729     * @param enabled If that direction is enabled or not
15730     *
15731     * By default all directions are disabled, so you may want to enable the
15732     * desired directions for flipping if you need interactive flipping. You must
15733     * call this function once for each direction that should be enabled.
15734     *
15735     * @see elm_flip_interaction_set()
15736     */
15737    EAPI void         elm_flip_interacton_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled);
15738    /**
15739     * @brief Get the enabled state of that flip direction
15740     *
15741     * @param obj The flip object
15742     * @param dir The direction to check
15743     * @return If that direction is enabled or not
15744     *
15745     * Gets the enabled state set by elm_flip_interacton_direction_enabled_set()
15746     *
15747     * @see elm_flip_interaction_set()
15748     */
15749    EAPI Eina_Bool    elm_flip_interacton_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir);
15750    /**
15751     * @brief Set the amount of the flip that is sensitive to interactive flip
15752     *
15753     * @param obj The flip object
15754     * @param dir The direction to modify
15755     * @param hitsize The amount of that dimension (0.0 to 1.0) to use
15756     *
15757     * Set the amount of the flip that is sensitive to interactive flip, with 0
15758     * representing no area in the flip and 1 representing the entire flip. There
15759     * is however a consideration to be made in that the area will never be
15760     * smaller than the finger size set(as set in your Elementary configuration).
15761     *
15762     * @see elm_flip_interaction_set()
15763     */
15764    EAPI void         elm_flip_interacton_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize);
15765    /**
15766     * @brief Get the amount of the flip that is sensitive to interactive flip
15767     *
15768     * @param obj The flip object
15769     * @param dir The direction to check
15770     * @return The size set for that direction
15771     *
15772     * Returns the amount os sensitive area set by
15773     * elm_flip_interacton_direction_hitsize_set().
15774     */
15775    EAPI double       elm_flip_interacton_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir);
15776    /**
15777     * @}
15778     */
15779
15780    /* scrolledentry */
15781    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15782    EINA_DEPRECATED EAPI void         elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
15783    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15784    EINA_DEPRECATED EAPI void         elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
15785    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15786    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
15787    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15788    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
15789    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15790    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15791    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
15792    EINA_DEPRECATED EAPI void         elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
15793    EINA_DEPRECATED EAPI void         elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
15794    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15795    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
15796    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
15797    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
15798    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
15799    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
15800    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
15801    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
15802    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
15803    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
15804    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
15805    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
15806    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
15807    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15808    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15809    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15810    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
15811    EINA_DEPRECATED EAPI int          elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15812    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
15813    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
15814    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
15815    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
15816    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);
15817    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
15818    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15819    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);
15820    EINA_DEPRECATED EAPI void         elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
15821    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);
15822    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1, 2);
15823    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15824    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15825    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
15826    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1, 2);
15827    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15828    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15829    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
15830    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);
15831    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);
15832    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);
15833    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);
15834    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);
15835    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);
15836    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
15837    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
15838    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
15839    EINA_DEPRECATED EAPI void         elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
15840    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15841    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
15842    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
15843
15844    /**
15845     * @defgroup Conformant Conformant
15846     * @ingroup Elementary
15847     *
15848     * @image html img/widget/conformant/preview-00.png
15849     * @image latex img/widget/conformant/preview-00.eps width=\textwidth
15850     *
15851     * @image html img/conformant.png
15852     * @image latex img/conformant.eps width=\textwidth
15853     *
15854     * The aim is to provide a widget that can be used in elementary apps to
15855     * account for space taken up by the indicator, virtual keypad & softkey
15856     * windows when running the illume2 module of E17.
15857     *
15858     * So conformant content will be sized and positioned considering the
15859     * space required for such stuff, and when they popup, as a keyboard
15860     * shows when an entry is selected, conformant content won't change.
15861     *
15862     * Available styles for it:
15863     * - @c "default"
15864     *
15865     * See how to use this widget in this example:
15866     * @ref conformant_example
15867     */
15868
15869    /**
15870     * @addtogroup Conformant
15871     * @{
15872     */
15873
15874    /**
15875     * Add a new conformant widget to the given parent Elementary
15876     * (container) object.
15877     *
15878     * @param parent The parent object.
15879     * @return A new conformant widget handle or @c NULL, on errors.
15880     *
15881     * This function inserts a new conformant widget on the canvas.
15882     *
15883     * @ingroup Conformant
15884     */
15885    EAPI Evas_Object *elm_conformant_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15886
15887    /**
15888     * Set the content of the conformant widget.
15889     *
15890     * @param obj The conformant object.
15891     * @param content The content to be displayed by the conformant.
15892     *
15893     * Content will be sized and positioned considering the space required
15894     * to display a virtual keyboard. So it won't fill all the conformant
15895     * size. This way is possible to be sure that content won't resize
15896     * or be re-positioned after the keyboard is displayed.
15897     *
15898     * Once the content object is set, a previously set one will be deleted.
15899     * If you want to keep that old content object, use the
15900     * elm_conformat_content_unset() function.
15901     *
15902     * @see elm_conformant_content_unset()
15903     * @see elm_conformant_content_get()
15904     *
15905     * @ingroup Conformant
15906     */
15907    EAPI void         elm_conformant_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
15908
15909    /**
15910     * Get the content of the conformant widget.
15911     *
15912     * @param obj The conformant object.
15913     * @return The content that is being used.
15914     *
15915     * Return the content object which is set for this widget.
15916     * It won't be unparent from conformant. For that, use
15917     * elm_conformant_content_unset().
15918     *
15919     * @see elm_conformant_content_set() for more details.
15920     * @see elm_conformant_content_unset()
15921     *
15922     * @ingroup Conformant
15923     */
15924    EAPI Evas_Object *elm_conformant_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15925
15926    /**
15927     * Unset the content of the conformant widget.
15928     *
15929     * @param obj The conformant object.
15930     * @return The content that was being used.
15931     *
15932     * Unparent and return the content object which was set for this widget.
15933     *
15934     * @see elm_conformant_content_set() for more details.
15935     *
15936     * @ingroup Conformant
15937     */
15938    EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15939
15940    /**
15941     * Returns the Evas_Object that represents the content area.
15942     *
15943     * @param obj The conformant object.
15944     * @return The content area of the widget.
15945     *
15946     * @ingroup Conformant
15947     */
15948    EAPI Evas_Object *elm_conformant_content_area_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15949
15950    /**
15951     * @}
15952     */
15953
15954    /* mapbuf */
15955    EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15956    EAPI void         elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
15957    EAPI Evas_Object *elm_mapbuf_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15958    EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15959    EAPI void         elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
15960    EAPI Eina_Bool    elm_mapbuf_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15961    EAPI void         elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
15962    EAPI Eina_Bool    elm_mapbuf_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15963    EAPI void         elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
15964    EAPI Eina_Bool    elm_mapbuf_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15965
15966    /**
15967     * @defgroup Flipselector Flip Selector
15968     *
15969     * @image html img/widget/flipselector/preview-00.png
15970     * @image latex img/widget/flipselector/preview-00.eps
15971     *
15972     * A flip selector is a widget to show a set of @b text items, one
15973     * at a time, with the same sheet switching style as the @ref Clock
15974     * "clock" widget, when one changes the current displaying sheet
15975     * (thus, the "flip" in the name).
15976     *
15977     * User clicks to flip sheets which are @b held for some time will
15978     * make the flip selector to flip continuosly and automatically for
15979     * the user. The interval between flips will keep growing in time,
15980     * so that it helps the user to reach an item which is distant from
15981     * the current selection.
15982     *
15983     * Smart callbacks one can register to:
15984     * - @c "selected" - when the widget's selected text item is changed
15985     * - @c "overflowed" - when the widget's current selection is changed
15986     *   from the first item in its list to the last
15987     * - @c "underflowed" - when the widget's current selection is changed
15988     *   from the last item in its list to the first
15989     *
15990     * Available styles for it:
15991     * - @c "default"
15992     *
15993     * Here is an example on its usage:
15994     * @li @ref flipselector_example
15995     */
15996
15997    /**
15998     * @addtogroup Flipselector
15999     * @{
16000     */
16001
16002    typedef struct _Elm_Flipselector_Item Elm_Flipselector_Item; /**< Item handle for a flip selector widget. */
16003
16004    /**
16005     * Add a new flip selector widget to the given parent Elementary
16006     * (container) widget
16007     *
16008     * @param parent The parent object
16009     * @return a new flip selector widget handle or @c NULL, on errors
16010     *
16011     * This function inserts a new flip selector widget on the canvas.
16012     *
16013     * @ingroup Flipselector
16014     */
16015    EAPI Evas_Object               *elm_flipselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
16016
16017    /**
16018     * Programmatically select the next item of a flip selector widget
16019     *
16020     * @param obj The flipselector object
16021     *
16022     * @note The selection will be animated. Also, if it reaches the
16023     * end of its list of member items, it will continue with the first
16024     * one onwards.
16025     *
16026     * @ingroup Flipselector
16027     */
16028    EAPI void                       elm_flipselector_flip_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
16029
16030    /**
16031     * Programmatically select the previous item of a flip selector
16032     * widget
16033     *
16034     * @param obj The flipselector object
16035     *
16036     * @note The selection will be animated.  Also, if it reaches the
16037     * beginning of its list of member items, it will continue with the
16038     * last one backwards.
16039     *
16040     * @ingroup Flipselector
16041     */
16042    EAPI void                       elm_flipselector_flip_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
16043
16044    /**
16045     * Append a (text) item to a flip selector widget
16046     *
16047     * @param obj The flipselector object
16048     * @param label The (text) label of the new item
16049     * @param func Convenience callback function to take place when
16050     * item is selected
16051     * @param data Data passed to @p func, above
16052     * @return A handle to the item added or @c NULL, on errors
16053     *
16054     * The widget's list of labels to show will be appended with the
16055     * given value. If the user wishes so, a callback function pointer
16056     * can be passed, which will get called when this same item is
16057     * selected.
16058     *
16059     * @note The current selection @b won't be modified by appending an
16060     * element to the list.
16061     *
16062     * @note The maximum length of the text label is going to be
16063     * determined <b>by the widget's theme</b>. Strings larger than
16064     * that value are going to be @b truncated.
16065     *
16066     * @ingroup Flipselector
16067     */
16068    EAPI Elm_Flipselector_Item     *elm_flipselector_item_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
16069
16070    /**
16071     * Prepend a (text) item to a flip selector widget
16072     *
16073     * @param obj The flipselector object
16074     * @param label The (text) label of the new item
16075     * @param func Convenience callback function to take place when
16076     * item is selected
16077     * @param data Data passed to @p func, above
16078     * @return A handle to the item added or @c NULL, on errors
16079     *
16080     * The widget's list of labels to show will be prepended with the
16081     * given value. If the user wishes so, a callback function pointer
16082     * can be passed, which will get called when this same item is
16083     * selected.
16084     *
16085     * @note The current selection @b won't be modified by prepending
16086     * an element to the list.
16087     *
16088     * @note The maximum length of the text label is going to be
16089     * determined <b>by the widget's theme</b>. Strings larger than
16090     * that value are going to be @b truncated.
16091     *
16092     * @ingroup Flipselector
16093     */
16094    EAPI Elm_Flipselector_Item     *elm_flipselector_item_prepend(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
16095
16096    /**
16097     * Get the internal list of items in a given flip selector widget.
16098     *
16099     * @param obj The flipselector object
16100     * @return The list of items (#Elm_Flipselector_Item as data) or
16101     * @c NULL on errors.
16102     *
16103     * This list is @b not to be modified in any way and must not be
16104     * freed. Use the list members with functions like
16105     * elm_flipselector_item_label_set(),
16106     * elm_flipselector_item_label_get(),
16107     * elm_flipselector_item_del(),
16108     * elm_flipselector_item_selected_get(),
16109     * elm_flipselector_item_selected_set().
16110     *
16111     * @warning This list is only valid until @p obj object's internal
16112     * items list is changed. It should be fetched again with another
16113     * call to this function when changes happen.
16114     *
16115     * @ingroup Flipselector
16116     */
16117    EAPI const Eina_List           *elm_flipselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16118
16119    /**
16120     * Get the first item in the given flip selector widget's list of
16121     * items.
16122     *
16123     * @param obj The flipselector object
16124     * @return The first item or @c NULL, if it has no items (and on
16125     * errors)
16126     *
16127     * @see elm_flipselector_item_append()
16128     * @see elm_flipselector_last_item_get()
16129     *
16130     * @ingroup Flipselector
16131     */
16132    EAPI Elm_Flipselector_Item     *elm_flipselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16133
16134    /**
16135     * Get the last item in the given flip selector widget's list of
16136     * items.
16137     *
16138     * @param obj The flipselector object
16139     * @return The last item or @c NULL, if it has no items (and on
16140     * errors)
16141     *
16142     * @see elm_flipselector_item_prepend()
16143     * @see elm_flipselector_first_item_get()
16144     *
16145     * @ingroup Flipselector
16146     */
16147    EAPI Elm_Flipselector_Item     *elm_flipselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16148
16149    /**
16150     * Get the currently selected item in a flip selector widget.
16151     *
16152     * @param obj The flipselector object
16153     * @return The selected item or @c NULL, if the widget has no items
16154     * (and on erros)
16155     *
16156     * @ingroup Flipselector
16157     */
16158    EAPI Elm_Flipselector_Item     *elm_flipselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16159
16160    /**
16161     * Set whether a given flip selector widget's item should be the
16162     * currently selected one.
16163     *
16164     * @param item The flip selector item
16165     * @param selected @c EINA_TRUE to select it, @c EINA_FALSE to unselect.
16166     *
16167     * This sets whether @p item is or not the selected (thus, under
16168     * display) one. If @p item is different than one under display,
16169     * the latter will be unselected. If the @p item is set to be
16170     * unselected, on the other hand, the @b first item in the widget's
16171     * internal members list will be the new selected one.
16172     *
16173     * @see elm_flipselector_item_selected_get()
16174     *
16175     * @ingroup Flipselector
16176     */
16177    EAPI void                       elm_flipselector_item_selected_set(Elm_Flipselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
16178
16179    /**
16180     * Get whether a given flip selector widget's item is the currently
16181     * selected one.
16182     *
16183     * @param item The flip selector item
16184     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
16185     * (or on errors).
16186     *
16187     * @see elm_flipselector_item_selected_set()
16188     *
16189     * @ingroup Flipselector
16190     */
16191    EAPI Eina_Bool                  elm_flipselector_item_selected_get(const Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
16192
16193    /**
16194     * Delete a given item from a flip selector widget.
16195     *
16196     * @param item The item to delete
16197     *
16198     * @ingroup Flipselector
16199     */
16200    EAPI void                       elm_flipselector_item_del(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
16201
16202    /**
16203     * Get the label of a given flip selector widget's item.
16204     *
16205     * @param item The item to get label from
16206     * @return The text label of @p item or @c NULL, on errors
16207     *
16208     * @see elm_flipselector_item_label_set()
16209     *
16210     * @ingroup Flipselector
16211     */
16212    EAPI const char                *elm_flipselector_item_label_get(const Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
16213
16214    /**
16215     * Set the label of a given flip selector widget's item.
16216     *
16217     * @param item The item to set label on
16218     * @param label The text label string, in UTF-8 encoding
16219     *
16220     * @see elm_flipselector_item_label_get()
16221     *
16222     * @ingroup Flipselector
16223     */
16224    EAPI void                       elm_flipselector_item_label_set(Elm_Flipselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
16225
16226    /**
16227     * Gets the item before @p item in a flip selector widget's
16228     * internal list of items.
16229     *
16230     * @param item The item to fetch previous from
16231     * @return The item before the @p item, in its parent's list. If
16232     *         there is no previous item for @p item or there's an
16233     *         error, @c NULL is returned.
16234     *
16235     * @see elm_flipselector_item_next_get()
16236     *
16237     * @ingroup Flipselector
16238     */
16239    EAPI Elm_Flipselector_Item     *elm_flipselector_item_prev_get(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
16240
16241    /**
16242     * Gets the item after @p item in a flip selector widget's
16243     * internal list of items.
16244     *
16245     * @param item The item to fetch next from
16246     * @return The item after the @p item, in its parent's list. If
16247     *         there is no next item for @p item or there's an
16248     *         error, @c NULL is returned.
16249     *
16250     * @see elm_flipselector_item_next_get()
16251     *
16252     * @ingroup Flipselector
16253     */
16254    EAPI Elm_Flipselector_Item     *elm_flipselector_item_next_get(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
16255
16256    /**
16257     * Set the interval on time updates for an user mouse button hold
16258     * on a flip selector widget.
16259     *
16260     * @param obj The flip selector object
16261     * @param interval The (first) interval value in seconds
16262     *
16263     * This interval value is @b decreased while the user holds the
16264     * mouse pointer either flipping up or flipping doww a given flip
16265     * selector.
16266     *
16267     * This helps the user to get to a given item distant from the
16268     * current one easier/faster, as it will start to flip quicker and
16269     * quicker on mouse button holds.
16270     *
16271     * The calculation for the next flip interval value, starting from
16272     * the one set with this call, is the previous interval divided by
16273     * 1.05, so it decreases a little bit.
16274     *
16275     * The default starting interval value for automatic flips is
16276     * @b 0.85 seconds.
16277     *
16278     * @see elm_flipselector_interval_get()
16279     *
16280     * @ingroup Flipselector
16281     */
16282    EAPI void                       elm_flipselector_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
16283
16284    /**
16285     * Get the interval on time updates for an user mouse button hold
16286     * on a flip selector widget.
16287     *
16288     * @param obj The flip selector object
16289     * @return The (first) interval value, in seconds, set on it
16290     *
16291     * @see elm_flipselector_interval_set() for more details
16292     *
16293     * @ingroup Flipselector
16294     */
16295    EAPI double                     elm_flipselector_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16296
16297    /**
16298     * @}
16299     */
16300
16301    /**
16302     * @addtogroup Animator Animator
16303     * @ingroup Elementary
16304     *
16305     * @brief Functions to ease creation of animations.
16306     *
16307     * elm_animator is designed to provide an easy way to create animations.
16308     * Creating an animation with elm_animator is as simple as setting a
16309     * duration, an operating callback and telling it to run the animation.
16310     * However that is not the full extent of elm_animator's ability, animations
16311     * can be paused and resumed, reversed and the animation need not be linear.
16312     *
16313     * To run an animation you must specify at least a duration and operation
16314     * callback, not setting any other properties will create a linear animation
16315     * that runs once and is not reversed.
16316     *
16317     * @ref elm_animator_example_page_01 "This" example should make all of that
16318     * very clear.
16319     *
16320     * @warning elm_animator is @b not a widget.
16321     * @{
16322     */
16323    /**
16324     * @brief Type of curve desired for animation.
16325     *
16326     * The speed in which an animation happens doesn't have to be linear, some
16327     * animations will look better if they're accelerating or decelerating, so
16328     * elm_animator provides four options in this regard:
16329     *
16330     * @image html elm_animator_curve_style.png
16331     * @image latex elm_animator_curve_style.eps width=\textwidth
16332     * As can be seen in the image the speed of the animation will be:
16333     * @li ELM_ANIMATOR_CURVE_LINEAR constant
16334     * @li ELM_ANIMATOR_CURVE_IN_OUT start slow, speed up and then slow down
16335     * @li ELM_ANIMATOR_CURVE_IN start slow and then speed up
16336     * @li ELM_ANIMATOR_CURVE_OUT start fast and then slow down
16337     */
16338    typedef enum
16339      {
16340         ELM_ANIMATOR_CURVE_LINEAR,
16341         ELM_ANIMATOR_CURVE_IN_OUT,
16342         ELM_ANIMATOR_CURVE_IN,
16343         ELM_ANIMATOR_CURVE_OUT
16344      } Elm_Animator_Curve_Style;
16345    typedef struct _Elm_Animator Elm_Animator;
16346   /**
16347    * Called back per loop of an elementary animators cycle
16348    * @param data user-data given to elm_animator_operation_callback_set()
16349    * @param animator the animator being run
16350    * @param double the position in the animation
16351    */
16352    typedef void (*Elm_Animator_Operation_Cb) (void *data, Elm_Animator *animator, double frame);
16353   /**
16354    * Called back when an elementary animator finishes
16355    * @param data user-data given to elm_animator_completion_callback_set()
16356    */
16357    typedef void (*Elm_Animator_Completion_Cb) (void *data);
16358
16359    /**
16360     * @brief Create a new animator.
16361     *
16362     * @param[in] parent Parent object
16363     *
16364     * The @a parent argument can be set to NULL for no parent. If a parent is set
16365     * there is no need to call elm_animator_del(), when the parent is deleted it
16366     * will delete the animator.
16367     * @deprecated Use @ref Transit instead.
16368     */
16369    EINA_DEPRECATED EAPI Elm_Animator*            elm_animator_add(Evas_Object *parent);
16370    /**
16371     * Deletes the animator freeing any resources it used. If the animator was
16372     * created with a NULL parent this must be called, otherwise it will be
16373     * automatically called when the parent is deleted.
16374     *
16375     * @param[in] animator Animator object
16376     * @deprecated Use @ref Transit instead.
16377     */
16378    EINA_DEPRECATED EAPI void                     elm_animator_del(Elm_Animator *animator) EINA_ARG_NONNULL(1);
16379    /**
16380     * Set the duration of the animation.
16381     *
16382     * @param[in] animator Animator object
16383     * @param[in] duration Duration in second
16384     * @deprecated Use @ref Transit instead.
16385     */
16386    EINA_DEPRECATED EAPI void                     elm_animator_duration_set(Elm_Animator *animator, double duration) EINA_ARG_NONNULL(1);
16387    /**
16388     * @brief Set the callback function for animator operation.
16389     *
16390     * @param[in] animator Animator object
16391     * @param[in] func @ref Elm_Animator_Operation_Cb "Callback" function pointer
16392     * @param[in] data Callback function user argument
16393     *
16394     * The @p func callback will be called with a frame value in range [0, 1] which
16395     * indicates how far along the animation should be. It is the job of @p func to
16396     * actually change the state of any object(or objects) that are being animated.
16397     * @deprecated Use @ref Transit instead.
16398     */
16399    EINA_DEPRECATED EAPI void                     elm_animator_operation_callback_set(Elm_Animator *animator, Elm_Animator_Operation_Cb func, void *data) EINA_ARG_NONNULL(1);
16400    /**
16401     * Set the callback function for the when the animation ends.
16402     *
16403     * @param[in]  animator Animator object
16404     * @param[in]  func   Callback function pointe
16405     * @param[in]  data Callback function user argument
16406     *
16407     * @warning @a func will not be executed if elm_animator_stop() is called.
16408     * @deprecated Use @ref Transit instead.
16409     */
16410    EINA_DEPRECATED EAPI void                     elm_animator_completion_callback_set(Elm_Animator *animator, Elm_Animator_Completion_Cb func, void *data) EINA_ARG_NONNULL(1);
16411    /**
16412     * @brief Stop animator.
16413     *
16414     * @param[in] animator Animator object
16415     *
16416     * If called before elm_animator_animate() it does nothing. If there is an
16417     * animation in progress the animation will be stopped(the operation callback
16418     * will not be executed again) and it can't be restarted using
16419     * elm_animator_resume().
16420     * @deprecated Use @ref Transit instead.
16421     */
16422    EINA_DEPRECATED EAPI void                     elm_animator_stop(Elm_Animator *animator) EINA_ARG_NONNULL(1);
16423    /**
16424     * Set the animator repeat count.
16425     *
16426     * @param[in]  animator Animator object
16427     * @param[in]  repeat_cnt Repeat count
16428     * @deprecated Use @ref Transit instead.
16429     */
16430    EINA_DEPRECATED EAPI void                     elm_animator_repeat_set(Elm_Animator *animator, unsigned int repeat_cnt) EINA_ARG_NONNULL(1);
16431    /**
16432     * @brief Start animation.
16433     *
16434     * @param[in] animator Animator object
16435     *
16436     * This function starts the animation if the nescessary properties(duration
16437     * and operation callback) have been set. Once started the animation will
16438     * run until complete or elm_animator_stop() is called.
16439     * @deprecated Use @ref Transit instead.
16440     */
16441    EINA_DEPRECATED EAPI void                     elm_animator_animate(Elm_Animator *animator) EINA_ARG_NONNULL(1);
16442    /**
16443     * Sets the animation @ref Elm_Animator_Curve_Style "acceleration style".
16444     *
16445     * @param[in] animator Animator object
16446     * @param[in] cs Curve style. Default is ELM_ANIMATOR_CURVE_LINEAR
16447     * @deprecated Use @ref Transit instead.
16448     */
16449    EINA_DEPRECATED EAPI void                     elm_animator_curve_style_set(Elm_Animator *animator, Elm_Animator_Curve_Style cs) EINA_ARG_NONNULL(1);
16450    /**
16451     * Gets the animation @ref Elm_Animator_Curve_Style "acceleration style".
16452     *
16453     * @param[in] animator Animator object
16454     * @param[in] cs Curve style. Default is ELM_ANIMATOR_CURVE_LINEAR
16455     * @deprecated Use @ref Transit instead.
16456     */
16457    EINA_DEPRECATED EAPI Elm_Animator_Curve_Style elm_animator_curve_style_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1);
16458    /**
16459     * @brief Sets wether the animation should be automatically reversed.
16460     *
16461     * @param[in] animator Animator object
16462     * @param[in] reverse Reverse or not
16463     *
16464     * This controls wether the animation will be run on reverse imediately after
16465     * running forward. When this is set together with repetition the animation
16466     * will run in reverse once for each time it ran forward.@n
16467     * Runnin an animation in reverse is accomplished by calling the operation
16468     * callback with a frame value starting at 1 and diminshing until 0.
16469     * @deprecated Use @ref Transit instead.
16470     */
16471    EINA_DEPRECATED EAPI void                     elm_animator_auto_reverse_set(Elm_Animator *animator, Eina_Bool reverse) EINA_ARG_NONNULL(1);
16472    /**
16473     * Gets wether the animation will automatically reversed
16474     *
16475     * @param[in] animator Animator object
16476     * @deprecated Use @ref Transit instead.
16477     */
16478    EINA_DEPRECATED EAPI Eina_Bool                elm_animator_auto_reverse_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1);
16479    /**
16480     * Gets the status for the animator operation. The status of the animator @b
16481     * doesn't take in to account elm_animator_pause() or elm_animator_resume(), it
16482     * only informs if the animation was started and has not ended(either normally
16483     * or through elm_animator_stop()).
16484     *
16485     * @param[in] animator Animator object
16486     * @deprecated Use @ref Transit instead.
16487     */
16488    EINA_DEPRECATED EAPI Eina_Bool                elm_animator_operating_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1);
16489    /**
16490     * Gets how many times the animation will be repeated
16491     *
16492     * @param[in] animator Animator object
16493     * @deprecated Use @ref Transit instead.
16494     */
16495    EINA_DEPRECATED EAPI unsigned int             elm_animator_repeat_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1);
16496    /**
16497     * Pause the animator.
16498     *
16499     * @param[in]  animator Animator object
16500     *
16501     * This causes the animation to be temporarily stopped(the operation callback
16502     * will not be called). If the animation is not yet running this is a no-op.
16503     * Once an animation has been paused with this function it can be resumed
16504     * using elm_animator_resume().
16505     * @deprecated Use @ref Transit instead.
16506     */
16507    EINA_DEPRECATED EAPI void                     elm_animator_pause(Elm_Animator *animator) EINA_ARG_NONNULL(1);
16508    /**
16509     * @brief Resumes the animator.
16510     *
16511     * @param[in]  animator Animator object
16512     *
16513     * Resumes an animation that was paused using elm_animator_pause(), after
16514     * calling this function calls to the operation callback will happen
16515     * normally. If an animation is stopped by means of elm_animator_stop it
16516     * @b can't be restarted with this function.@n
16517     *
16518     * @warning When an animation is resumed it doesn't start from where it was paused, it
16519     * will go to where it would have been if it had not been paused. If an
16520     * animation with a duration of 3 seconds is paused after 1 second for 1 second
16521     * it will resume as if it had ben animating for 2 seconds, the operating
16522     * callback will be called with a frame value of aproximately 2/3.
16523     * @deprecated Use @ref Transit instead.
16524     */
16525    EINA_DEPRECATED EAPI void                     elm_animator_resume(Elm_Animator *animator) EINA_ARG_NONNULL(1);
16526    /**
16527     * @}
16528     */
16529
16530    /**
16531     * @defgroup Calendar Calendar
16532     * @ingroup Elementary
16533     *
16534     * @image html img/widget/calendar/preview-00.png
16535     * @image latex img/widget/calendar/preview-00.eps
16536     *
16537     * A calendar is a widget that displays a regular calendar, one
16538     * month at a time, to the user, and can allows the user to select a date.
16539     *
16540     * It has support to adding check marks (holidays and checks are supported
16541     * by default theme).
16542     *
16543     * Weekday names and the function used to format month and year to
16544     * be displayed can be set, giving more flexibility to this widget.
16545     *
16546     * Smart callbacks one can register to:
16547     * - "changed" - emitted when the user selects a day or changes the
16548     *   displayed month, what actually changes the selected day as well.
16549     *
16550     * Available styles for it:
16551     * - @c "default"
16552     *
16553     * List of examples:
16554     * @li @ref calendar_example_01
16555     * @li @ref calendar_example_02
16556     * @li @ref calendar_example_03
16557     * @li @ref calendar_example_04
16558     * @li @ref calendar_example_05
16559     * @li @ref calendar_example_06
16560     */
16561
16562    /**
16563     * @addtogroup Calendar
16564     * @{
16565     */
16566
16567    /**
16568     * @enum _Elm_Calendar_Mark_Repeat
16569     * @typedef Elm_Calendar_Mark_Repeat
16570     *
16571     * Event periodicity, used to define if a mark should be repeated
16572     * @b beyond event's day. It's set when a mark is added.
16573     *
16574     * So, for a mark added to 13th May with periodicity set to WEEKLY,
16575     * there will be marks every week after this date. Marks will be displayed
16576     * at 13th, 20th, 27th, 3rd June ...
16577     *
16578     * Values don't work as bitmaks, only one can be choosen.
16579     *
16580     * @see elm_calendar_mark_add()
16581     *
16582     * @ingroup Calendar
16583     */
16584    typedef enum _Elm_Calendar_Mark_Repeat
16585      {
16586         ELM_CALENDAR_UNIQUE, /**< Default value. Marks will be displayed only on event day. */
16587         ELM_CALENDAR_DAILY, /**< Marks will be displayed everyday after event day (inclusive). */
16588         ELM_CALENDAR_WEEKLY, /**< Marks will be displayed every week after event day (inclusive) - i.e. each seven days. */
16589         ELM_CALENDAR_MONTHLY, /**< Marks will be displayed every month day that coincides to event day. E.g.: if an event is set to 30th Jan, no marks will be displayed on Feb, but will be displayed on 30th Mar*/
16590         ELM_CALENDAR_ANNUALLY /**< Marks will be displayed every year that coincides to event day (and month). E.g. an event added to 30th Jan 2012 will be repeated on 30th Jan 2013. */
16591      } Elm_Calendar_Mark_Repeat;
16592
16593    typedef struct _Elm_Calendar_Mark Elm_Calendar_Mark; /**< Item handle for a calendar mark. Created with elm_calendar_mark_add() and deleted with elm_calendar_mark_del(). */
16594
16595    /**
16596     * Add a new calendar widget to the given parent Elementary
16597     * (container) object.
16598     *
16599     * @param parent The parent object.
16600     * @return a new calendar widget handle or @c NULL, on errors.
16601     *
16602     * This function inserts a new calendar widget on the canvas.
16603     *
16604     * @ref calendar_example_01
16605     *
16606     * @ingroup Calendar
16607     */
16608    EAPI Evas_Object       *elm_calendar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
16609
16610    /**
16611     * Get weekdays names displayed by the calendar.
16612     *
16613     * @param obj The calendar object.
16614     * @return Array of seven strings to be used as weekday names.
16615     *
16616     * By default, weekdays abbreviations get from system are displayed:
16617     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
16618     * The first string is related to Sunday, the second to Monday...
16619     *
16620     * @see elm_calendar_weekdays_name_set()
16621     *
16622     * @ref calendar_example_05
16623     *
16624     * @ingroup Calendar
16625     */
16626    EAPI const char       **elm_calendar_weekdays_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16627
16628    /**
16629     * Set weekdays names to be displayed by the calendar.
16630     *
16631     * @param obj The calendar object.
16632     * @param weedays Array of seven strings to be used as weekday names.
16633     * @warning It must have 7 elements, or it will access invalid memory.
16634     * @warning The strings must be NULL terminated ('@\0').
16635     *
16636     * By default, weekdays abbreviations get from system are displayed:
16637     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
16638     *
16639     * The first string should be related to Sunday, the second to Monday...
16640     *
16641     * The usage should be like this:
16642     * @code
16643     *   const char *weekdays[] =
16644     *   {
16645     *      "Sunday", "Monday", "Tuesday", "Wednesday",
16646     *      "Thursday", "Friday", "Saturday"
16647     *   };
16648     *   elm_calendar_weekdays_names_set(calendar, weekdays);
16649     * @endcode
16650     *
16651     * @see elm_calendar_weekdays_name_get()
16652     *
16653     * @ref calendar_example_02
16654     *
16655     * @ingroup Calendar
16656     */
16657    EAPI void               elm_calendar_weekdays_names_set(Evas_Object *obj, const char *weekdays[]) EINA_ARG_NONNULL(1, 2);
16658
16659    /**
16660     * Set the minimum and maximum values for the year
16661     *
16662     * @param obj The calendar object
16663     * @param min The minimum year, greater than 1901;
16664     * @param max The maximum year;
16665     *
16666     * Maximum must be greater than minimum, except if you don't wan't to set
16667     * maximum year.
16668     * Default values are 1902 and -1.
16669     *
16670     * If the maximum year is a negative value, it will be limited depending
16671     * on the platform architecture (year 2037 for 32 bits);
16672     *
16673     * @see elm_calendar_min_max_year_get()
16674     *
16675     * @ref calendar_example_03
16676     *
16677     * @ingroup Calendar
16678     */
16679    EAPI void               elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max) EINA_ARG_NONNULL(1);
16680
16681    /**
16682     * Get the minimum and maximum values for the year
16683     *
16684     * @param obj The calendar object.
16685     * @param min The minimum year.
16686     * @param max The maximum year.
16687     *
16688     * Default values are 1902 and -1.
16689     *
16690     * @see elm_calendar_min_max_year_get() for more details.
16691     *
16692     * @ref calendar_example_05
16693     *
16694     * @ingroup Calendar
16695     */
16696    EAPI void               elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max) EINA_ARG_NONNULL(1);
16697
16698    /**
16699     * Enable or disable day selection
16700     *
16701     * @param obj The calendar object.
16702     * @param enabled @c EINA_TRUE to enable selection or @c EINA_FALSE to
16703     * disable it.
16704     *
16705     * Enabled by default. If disabled, the user still can select months,
16706     * but not days. Selected days are highlighted on calendar.
16707     * It should be used if you won't need such selection for the widget usage.
16708     *
16709     * When a day is selected, or month is changed, smart callbacks for
16710     * signal "changed" will be called.
16711     *
16712     * @see elm_calendar_day_selection_enable_get()
16713     *
16714     * @ref calendar_example_04
16715     *
16716     * @ingroup Calendar
16717     */
16718    EAPI void               elm_calendar_day_selection_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
16719
16720    /**
16721     * Get a value whether day selection is enabled or not.
16722     *
16723     * @see elm_calendar_day_selection_enable_set() for details.
16724     *
16725     * @param obj The calendar object.
16726     * @return EINA_TRUE means day selection is enabled. EINA_FALSE indicates
16727     * it's disabled. If @p obj is NULL, EINA_FALSE is returned.
16728     *
16729     * @ref calendar_example_05
16730     *
16731     * @ingroup Calendar
16732     */
16733    EAPI Eina_Bool          elm_calendar_day_selection_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16734
16735
16736    /**
16737     * Set selected date to be highlighted on calendar.
16738     *
16739     * @param obj The calendar object.
16740     * @param selected_time A @b tm struct to represent the selected date.
16741     *
16742     * Set the selected date, changing the displayed month if needed.
16743     * Selected date changes when the user goes to next/previous month or
16744     * select a day pressing over it on calendar.
16745     *
16746     * @see elm_calendar_selected_time_get()
16747     *
16748     * @ref calendar_example_04
16749     *
16750     * @ingroup Calendar
16751     */
16752    EAPI void               elm_calendar_selected_time_set(Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1);
16753
16754    /**
16755     * Get selected date.
16756     *
16757     * @param obj The calendar object
16758     * @param selected_time A @b tm struct to point to selected date
16759     * @return EINA_FALSE means an error ocurred and returned time shouldn't
16760     * be considered.
16761     *
16762     * Get date selected by the user or set by function
16763     * elm_calendar_selected_time_set().
16764     * Selected date changes when the user goes to next/previous month or
16765     * select a day pressing over it on calendar.
16766     *
16767     * @see elm_calendar_selected_time_get()
16768     *
16769     * @ref calendar_example_05
16770     *
16771     * @ingroup Calendar
16772     */
16773    EAPI Eina_Bool          elm_calendar_selected_time_get(const Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1, 2);
16774
16775    /**
16776     * Set a function to format the string that will be used to display
16777     * month and year;
16778     *
16779     * @param obj The calendar object
16780     * @param format_function Function to set the month-year string given
16781     * the selected date
16782     *
16783     * By default it uses strftime with "%B %Y" format string.
16784     * It should allocate the memory that will be used by the string,
16785     * that will be freed by the widget after usage.
16786     * A pointer to the string and a pointer to the time struct will be provided.
16787     *
16788     * Example:
16789     * @code
16790     * static char *
16791     * _format_month_year(struct tm *selected_time)
16792     * {
16793     *    char buf[32];
16794     *    if (!strftime(buf, sizeof(buf), "%B %Y", selected_time)) return NULL;
16795     *    return strdup(buf);
16796     * }
16797     *
16798     * elm_calendar_format_function_set(calendar, _format_month_year);
16799     * @endcode
16800     *
16801     * @ref calendar_example_02
16802     *
16803     * @ingroup Calendar
16804     */
16805    EAPI void               elm_calendar_format_function_set(Evas_Object *obj, char * (*format_function) (struct tm *stime)) EINA_ARG_NONNULL(1);
16806
16807    /**
16808     * Add a new mark to the calendar
16809     *
16810     * @param obj The calendar object
16811     * @param mark_type A string used to define the type of mark. It will be
16812     * emitted to the theme, that should display a related modification on these
16813     * days representation.
16814     * @param mark_time A time struct to represent the date of inclusion of the
16815     * mark. For marks that repeats it will just be displayed after the inclusion
16816     * date in the calendar.
16817     * @param repeat Repeat the event following this periodicity. Can be a unique
16818     * mark (that don't repeat), daily, weekly, monthly or annually.
16819     * @return The created mark or @NULL upon failure.
16820     *
16821     * Add a mark that will be drawn in the calendar respecting the insertion
16822     * time and periodicity. It will emit the type as signal to the widget theme.
16823     * Default theme supports "holiday" and "checked", but it can be extended.
16824     *
16825     * It won't immediately update the calendar, drawing the marks.
16826     * For this, call elm_calendar_marks_draw(). However, when user selects
16827     * next or previous month calendar forces marks drawn.
16828     *
16829     * Marks created with this method can be deleted with
16830     * elm_calendar_mark_del().
16831     *
16832     * Example
16833     * @code
16834     * struct tm selected_time;
16835     * time_t current_time;
16836     *
16837     * current_time = time(NULL) + 5 * 84600;
16838     * localtime_r(&current_time, &selected_time);
16839     * elm_calendar_mark_add(cal, "holiday", selected_time,
16840     *     ELM_CALENDAR_ANNUALLY);
16841     *
16842     * current_time = time(NULL) + 1 * 84600;
16843     * localtime_r(&current_time, &selected_time);
16844     * elm_calendar_mark_add(cal, "checked", selected_time, ELM_CALENDAR_UNIQUE);
16845     *
16846     * elm_calendar_marks_draw(cal);
16847     * @endcode
16848     *
16849     * @see elm_calendar_marks_draw()
16850     * @see elm_calendar_mark_del()
16851     *
16852     * @ref calendar_example_06
16853     *
16854     * @ingroup Calendar
16855     */
16856    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);
16857
16858    /**
16859     * Delete mark from the calendar.
16860     *
16861     * @param mark The mark to be deleted.
16862     *
16863     * If deleting all calendar marks is required, elm_calendar_marks_clear()
16864     * should be used instead of getting marks list and deleting each one.
16865     *
16866     * @see elm_calendar_mark_add()
16867     *
16868     * @ref calendar_example_06
16869     *
16870     * @ingroup Calendar
16871     */
16872    EAPI void               elm_calendar_mark_del(Elm_Calendar_Mark *mark) EINA_ARG_NONNULL(1);
16873
16874    /**
16875     * Remove all calendar's marks
16876     *
16877     * @param obj The calendar object.
16878     *
16879     * @see elm_calendar_mark_add()
16880     * @see elm_calendar_mark_del()
16881     *
16882     * @ingroup Calendar
16883     */
16884    EAPI void               elm_calendar_marks_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
16885
16886
16887    /**
16888     * Get a list of all the calendar marks.
16889     *
16890     * @param obj The calendar object.
16891     * @return An @c Eina_List of calendar marks objects, or @c NULL on failure.
16892     *
16893     * @see elm_calendar_mark_add()
16894     * @see elm_calendar_mark_del()
16895     * @see elm_calendar_marks_clear()
16896     *
16897     * @ingroup Calendar
16898     */
16899    EAPI const Eina_List   *elm_calendar_marks_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16900
16901    /**
16902     * Draw calendar marks.
16903     *
16904     * @param obj The calendar object.
16905     *
16906     * Should be used after adding, removing or clearing marks.
16907     * It will go through the entire marks list updating the calendar.
16908     * If lots of marks will be added, add all the marks and then call
16909     * this function.
16910     *
16911     * When the month is changed, i.e. user selects next or previous month,
16912     * marks will be drawed.
16913     *
16914     * @see elm_calendar_mark_add()
16915     * @see elm_calendar_mark_del()
16916     * @see elm_calendar_marks_clear()
16917     *
16918     * @ref calendar_example_06
16919     *
16920     * @ingroup Calendar
16921     */
16922    EAPI void               elm_calendar_marks_draw(Evas_Object *obj) EINA_ARG_NONNULL(1);
16923
16924    /**
16925     * Set a day text color to the same that represents Saturdays.
16926     *
16927     * @param obj The calendar object.
16928     * @param pos The text position. Position is the cell counter, from left
16929     * to right, up to down. It starts on 0 and ends on 41.
16930     *
16931     * @deprecated use elm_calendar_mark_add() instead like:
16932     *
16933     * @code
16934     * struct tm t = { 0, 0, 12, 6, 0, 0, 6, 6, -1 };
16935     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
16936     * @endcode
16937     *
16938     * @see elm_calendar_mark_add()
16939     *
16940     * @ingroup Calendar
16941     */
16942    EINA_DEPRECATED EAPI void               elm_calendar_text_saturday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
16943
16944    /**
16945     * Set a day text color to the same that represents Sundays.
16946     *
16947     * @param obj The calendar object.
16948     * @param pos The text position. Position is the cell counter, from left
16949     * to right, up to down. It starts on 0 and ends on 41.
16950
16951     * @deprecated use elm_calendar_mark_add() instead like:
16952     *
16953     * @code
16954     * struct tm t = { 0, 0, 12, 7, 0, 0, 0, 0, -1 };
16955     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
16956     * @endcode
16957     *
16958     * @see elm_calendar_mark_add()
16959     *
16960     * @ingroup Calendar
16961     */
16962    EINA_DEPRECATED EAPI void               elm_calendar_text_sunday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
16963
16964    /**
16965     * Set a day text color to the same that represents Weekdays.
16966     *
16967     * @param obj The calendar object
16968     * @param pos The text position. Position is the cell counter, from left
16969     * to right, up to down. It starts on 0 and ends on 41.
16970     *
16971     * @deprecated use elm_calendar_mark_add() instead like:
16972     *
16973     * @code
16974     * struct tm t = { 0, 0, 12, 1, 0, 0, 0, 0, -1 };
16975     *
16976     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // monday
16977     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
16978     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // tuesday
16979     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
16980     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // wednesday
16981     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
16982     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // thursday
16983     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
16984     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // friday
16985     * @endcode
16986     *
16987     * @see elm_calendar_mark_add()
16988     *
16989     * @ingroup Calendar
16990     */
16991    EINA_DEPRECATED EAPI void               elm_calendar_text_weekday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
16992
16993    /**
16994     * Set the interval on time updates for an user mouse button hold
16995     * on calendar widgets' month selection.
16996     *
16997     * @param obj The calendar object
16998     * @param interval The (first) interval value in seconds
16999     *
17000     * This interval value is @b decreased while the user holds the
17001     * mouse pointer either selecting next or previous month.
17002     *
17003     * This helps the user to get to a given month distant from the
17004     * current one easier/faster, as it will start to change quicker and
17005     * quicker on mouse button holds.
17006     *
17007     * The calculation for the next change interval value, starting from
17008     * the one set with this call, is the previous interval divided by
17009     * 1.05, so it decreases a little bit.
17010     *
17011     * The default starting interval value for automatic changes is
17012     * @b 0.85 seconds.
17013     *
17014     * @see elm_calendar_interval_get()
17015     *
17016     * @ingroup Calendar
17017     */
17018    EAPI void               elm_calendar_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
17019
17020    /**
17021     * Get the interval on time updates for an user mouse button hold
17022     * on calendar widgets' month selection.
17023     *
17024     * @param obj The calendar object
17025     * @return The (first) interval value, in seconds, set on it
17026     *
17027     * @see elm_calendar_interval_set() for more details
17028     *
17029     * @ingroup Calendar
17030     */
17031    EAPI double             elm_calendar_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17032
17033    /**
17034     * @}
17035     */
17036
17037    /**
17038     * @defgroup Diskselector Diskselector
17039     * @ingroup Elementary
17040     *
17041     * @image html img/widget/diskselector/preview-00.png
17042     * @image latex img/widget/diskselector/preview-00.eps
17043     *
17044     * A diskselector is a kind of list widget. It scrolls horizontally,
17045     * and can contain label and icon objects. Three items are displayed
17046     * with the selected one in the middle.
17047     *
17048     * It can act like a circular list with round mode and labels can be
17049     * reduced for a defined length for side items.
17050     *
17051     * Smart callbacks one can listen to:
17052     * - "selected" - when item is selected, i.e. scroller stops.
17053     *
17054     * Available styles for it:
17055     * - @c "default"
17056     *
17057     * List of examples:
17058     * @li @ref diskselector_example_01
17059     * @li @ref diskselector_example_02
17060     */
17061
17062    /**
17063     * @addtogroup Diskselector
17064     * @{
17065     */
17066
17067    typedef struct _Elm_Diskselector_Item Elm_Diskselector_Item; /**< Item handle for a diskselector item. Created with elm_diskselector_item_append() and deleted with elm_diskselector_item_del(). */
17068
17069    /**
17070     * Add a new diskselector widget to the given parent Elementary
17071     * (container) object.
17072     *
17073     * @param parent The parent object.
17074     * @return a new diskselector widget handle or @c NULL, on errors.
17075     *
17076     * This function inserts a new diskselector widget on the canvas.
17077     *
17078     * @ingroup Diskselector
17079     */
17080    EAPI Evas_Object           *elm_diskselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
17081
17082    /**
17083     * Enable or disable round mode.
17084     *
17085     * @param obj The diskselector object.
17086     * @param round @c EINA_TRUE to enable round mode or @c EINA_FALSE to
17087     * disable it.
17088     *
17089     * Disabled by default. If round mode is enabled the items list will
17090     * work like a circle list, so when the user reaches the last item,
17091     * the first one will popup.
17092     *
17093     * @see elm_diskselector_round_get()
17094     *
17095     * @ingroup Diskselector
17096     */
17097    EAPI void                   elm_diskselector_round_set(Evas_Object *obj, Eina_Bool round) EINA_ARG_NONNULL(1);
17098
17099    /**
17100     * Get a value whether round mode is enabled or not.
17101     *
17102     * @see elm_diskselector_round_set() for details.
17103     *
17104     * @param obj The diskselector object.
17105     * @return @c EINA_TRUE means round mode is enabled. @c EINA_FALSE indicates
17106     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
17107     *
17108     * @ingroup Diskselector
17109     */
17110    EAPI Eina_Bool              elm_diskselector_round_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17111
17112    /**
17113     * Get the side labels max length.
17114     *
17115     * @deprecated use elm_diskselector_side_label_length_get() instead:
17116     *
17117     * @param obj The diskselector object.
17118     * @return The max length defined for side labels, or 0 if not a valid
17119     * diskselector.
17120     *
17121     * @ingroup Diskselector
17122     */
17123    EINA_DEPRECATED EAPI int    elm_diskselector_side_label_lenght_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17124
17125    /**
17126     * Set the side labels max length.
17127     *
17128     * @deprecated use elm_diskselector_side_label_length_set() instead:
17129     *
17130     * @param obj The diskselector object.
17131     * @param len The max length defined for side labels.
17132     *
17133     * @ingroup Diskselector
17134     */
17135    EINA_DEPRECATED EAPI void   elm_diskselector_side_label_lenght_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
17136
17137    /**
17138     * Get the side labels max length.
17139     *
17140     * @see elm_diskselector_side_label_length_set() for details.
17141     *
17142     * @param obj The diskselector object.
17143     * @return The max length defined for side labels, or 0 if not a valid
17144     * diskselector.
17145     *
17146     * @ingroup Diskselector
17147     */
17148    EAPI int                    elm_diskselector_side_label_length_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17149
17150    /**
17151     * Set the side labels max length.
17152     *
17153     * @param obj The diskselector object.
17154     * @param len The max length defined for side labels.
17155     *
17156     * Length is the number of characters of items' label that will be
17157     * visible when it's set on side positions. It will just crop
17158     * the string after defined size. E.g.:
17159     *
17160     * An item with label "January" would be displayed on side position as
17161     * "Jan" if max length is set to 3, or "Janu", if this property
17162     * is set to 4.
17163     *
17164     * When it's selected, the entire label will be displayed, except for
17165     * width restrictions. In this case label will be cropped and "..."
17166     * will be concatenated.
17167     *
17168     * Default side label max length is 3.
17169     *
17170     * This property will be applyed over all items, included before or
17171     * later this function call.
17172     *
17173     * @ingroup Diskselector
17174     */
17175    EAPI void                   elm_diskselector_side_label_length_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
17176
17177    /**
17178     * Set the number of items to be displayed.
17179     *
17180     * @param obj The diskselector object.
17181     * @param num The number of items the diskselector will display.
17182     *
17183     * Default value is 3, and also it's the minimun. If @p num is less
17184     * than 3, it will be set to 3.
17185     *
17186     * Also, it can be set on theme, using data item @c display_item_num
17187     * on group "elm/diskselector/item/X", where X is style set.
17188     * E.g.:
17189     *
17190     * group { name: "elm/diskselector/item/X";
17191     * data {
17192     *     item: "display_item_num" "5";
17193     *     }
17194     *
17195     * @ingroup Diskselector
17196     */
17197    EAPI void                   elm_diskselector_display_item_num_set(Evas_Object *obj, int num) EINA_ARG_NONNULL(1);
17198
17199    /**
17200     * Set bouncing behaviour when the scrolled content reaches an edge.
17201     *
17202     * Tell the internal scroller object whether it should bounce or not
17203     * when it reaches the respective edges for each axis.
17204     *
17205     * @param obj The diskselector object.
17206     * @param h_bounce Whether to bounce or not in the horizontal axis.
17207     * @param v_bounce Whether to bounce or not in the vertical axis.
17208     *
17209     * @see elm_scroller_bounce_set()
17210     *
17211     * @ingroup Diskselector
17212     */
17213    EAPI void                   elm_diskselector_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
17214
17215    /**
17216     * Get the bouncing behaviour of the internal scroller.
17217     *
17218     * Get whether the internal scroller should bounce when the edge of each
17219     * axis is reached scrolling.
17220     *
17221     * @param obj The diskselector object.
17222     * @param h_bounce Pointer where to store the bounce state of the horizontal
17223     * axis.
17224     * @param v_bounce Pointer where to store the bounce state of the vertical
17225     * axis.
17226     *
17227     * @see elm_scroller_bounce_get()
17228     * @see elm_diskselector_bounce_set()
17229     *
17230     * @ingroup Diskselector
17231     */
17232    EAPI void                   elm_diskselector_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
17233
17234    /**
17235     * Get the scrollbar policy.
17236     *
17237     * @see elm_diskselector_scroller_policy_get() for details.
17238     *
17239     * @param obj The diskselector object.
17240     * @param policy_h Pointer where to store horizontal scrollbar policy.
17241     * @param policy_v Pointer where to store vertical scrollbar policy.
17242     *
17243     * @ingroup Diskselector
17244     */
17245    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);
17246
17247    /**
17248     * Set the scrollbar policy.
17249     *
17250     * @param obj The diskselector object.
17251     * @param policy_h Horizontal scrollbar policy.
17252     * @param policy_v Vertical scrollbar policy.
17253     *
17254     * This sets the scrollbar visibility policy for the given scroller.
17255     * #ELM_SCROLLER_POLICY_AUTO means the scrollber is made visible if it
17256     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
17257     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
17258     * This applies respectively for the horizontal and vertical scrollbars.
17259     *
17260     * The both are disabled by default, i.e., are set to
17261     * #ELM_SCROLLER_POLICY_OFF.
17262     *
17263     * @ingroup Diskselector
17264     */
17265    EAPI void                   elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
17266
17267    /**
17268     * Remove all diskselector's items.
17269     *
17270     * @param obj The diskselector object.
17271     *
17272     * @see elm_diskselector_item_del()
17273     * @see elm_diskselector_item_append()
17274     *
17275     * @ingroup Diskselector
17276     */
17277    EAPI void                   elm_diskselector_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
17278
17279    /**
17280     * Get a list of all the diskselector items.
17281     *
17282     * @param obj The diskselector object.
17283     * @return An @c Eina_List of diskselector items, #Elm_Diskselector_Item,
17284     * or @c NULL on failure.
17285     *
17286     * @see elm_diskselector_item_append()
17287     * @see elm_diskselector_item_del()
17288     * @see elm_diskselector_clear()
17289     *
17290     * @ingroup Diskselector
17291     */
17292    EAPI const Eina_List       *elm_diskselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17293
17294    /**
17295     * Appends a new item to the diskselector object.
17296     *
17297     * @param obj The diskselector object.
17298     * @param label The label of the diskselector item.
17299     * @param icon The icon object to use at left side of the item. An
17300     * icon can be any Evas object, but usually it is an icon created
17301     * with elm_icon_add().
17302     * @param func The function to call when the item is selected.
17303     * @param data The data to associate with the item for related callbacks.
17304     *
17305     * @return The created item or @c NULL upon failure.
17306     *
17307     * A new item will be created and appended to the diskselector, i.e., will
17308     * be set as last item. Also, if there is no selected item, it will
17309     * be selected. This will always happens for the first appended item.
17310     *
17311     * If no icon is set, label will be centered on item position, otherwise
17312     * the icon will be placed at left of the label, that will be shifted
17313     * to the right.
17314     *
17315     * Items created with this method can be deleted with
17316     * elm_diskselector_item_del().
17317     *
17318     * Associated @p data can be properly freed when item is deleted if a
17319     * callback function is set with elm_diskselector_item_del_cb_set().
17320     *
17321     * If a function is passed as argument, it will be called everytime this item
17322     * is selected, i.e., the user stops the diskselector with this
17323     * item on center position. If such function isn't needed, just passing
17324     * @c NULL as @p func is enough. The same should be done for @p data.
17325     *
17326     * Simple example (with no function callback or data associated):
17327     * @code
17328     * disk = elm_diskselector_add(win);
17329     * ic = elm_icon_add(win);
17330     * elm_icon_file_set(ic, "path/to/image", NULL);
17331     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
17332     * elm_diskselector_item_append(disk, "label", ic, NULL, NULL);
17333     * @endcode
17334     *
17335     * @see elm_diskselector_item_del()
17336     * @see elm_diskselector_item_del_cb_set()
17337     * @see elm_diskselector_clear()
17338     * @see elm_icon_add()
17339     *
17340     * @ingroup Diskselector
17341     */
17342    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);
17343
17344
17345    /**
17346     * Delete them item from the diskselector.
17347     *
17348     * @param it The item of diskselector to be deleted.
17349     *
17350     * If deleting all diskselector items is required, elm_diskselector_clear()
17351     * should be used instead of getting items list and deleting each one.
17352     *
17353     * @see elm_diskselector_clear()
17354     * @see elm_diskselector_item_append()
17355     * @see elm_diskselector_item_del_cb_set()
17356     *
17357     * @ingroup Diskselector
17358     */
17359    EAPI void                   elm_diskselector_item_del(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
17360
17361    /**
17362     * Set the function called when a diskselector item is freed.
17363     *
17364     * @param it The item to set the callback on
17365     * @param func The function called
17366     *
17367     * If there is a @p func, then it will be called prior item's memory release.
17368     * That will be called with the following arguments:
17369     * @li item's data;
17370     * @li item's Evas object;
17371     * @li item itself;
17372     *
17373     * This way, a data associated to a diskselector item could be properly
17374     * freed.
17375     *
17376     * @ingroup Diskselector
17377     */
17378    EAPI void                   elm_diskselector_item_del_cb_set(Elm_Diskselector_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
17379
17380    /**
17381     * Get the data associated to the item.
17382     *
17383     * @param it The diskselector item
17384     * @return The data associated to @p it
17385     *
17386     * The return value is a pointer to data associated to @item when it was
17387     * created, with function elm_diskselector_item_append(). If no data
17388     * was passed as argument, it will return @c NULL.
17389     *
17390     * @see elm_diskselector_item_append()
17391     *
17392     * @ingroup Diskselector
17393     */
17394    EAPI void                  *elm_diskselector_item_data_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
17395
17396    /**
17397     * Set the icon associated to the item.
17398     *
17399     * @param it The diskselector item
17400     * @param icon The icon object to associate with @p it
17401     *
17402     * The icon object to use at left side of the item. An
17403     * icon can be any Evas object, but usually it is an icon created
17404     * with elm_icon_add().
17405     *
17406     * Once the icon object is set, a previously set one will be deleted.
17407     * @warning Setting the same icon for two items will cause the icon to
17408     * dissapear from the first item.
17409     *
17410     * If an icon was passed as argument on item creation, with function
17411     * elm_diskselector_item_append(), it will be already
17412     * associated to the item.
17413     *
17414     * @see elm_diskselector_item_append()
17415     * @see elm_diskselector_item_icon_get()
17416     *
17417     * @ingroup Diskselector
17418     */
17419    EAPI void                   elm_diskselector_item_icon_set(Elm_Diskselector_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
17420
17421    /**
17422     * Get the icon associated to the item.
17423     *
17424     * @param it The diskselector item
17425     * @return The icon associated to @p it
17426     *
17427     * The return value is a pointer to the icon associated to @item when it was
17428     * created, with function elm_diskselector_item_append(), or later
17429     * with function elm_diskselector_item_icon_set. If no icon
17430     * was passed as argument, it will return @c NULL.
17431     *
17432     * @see elm_diskselector_item_append()
17433     * @see elm_diskselector_item_icon_set()
17434     *
17435     * @ingroup Diskselector
17436     */
17437    EAPI Evas_Object           *elm_diskselector_item_icon_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
17438
17439    /**
17440     * Set the label of item.
17441     *
17442     * @param it The item of diskselector.
17443     * @param label The label of item.
17444     *
17445     * The label to be displayed by the item.
17446     *
17447     * If no icon is set, label will be centered on item position, otherwise
17448     * the icon will be placed at left of the label, that will be shifted
17449     * to the right.
17450     *
17451     * An item with label "January" would be displayed on side position as
17452     * "Jan" if max length is set to 3 with function
17453     * elm_diskselector_side_label_lenght_set(), or "Janu", if this property
17454     * is set to 4.
17455     *
17456     * When this @item is selected, the entire label will be displayed,
17457     * except for width restrictions.
17458     * In this case label will be cropped and "..." will be concatenated,
17459     * but only for display purposes. It will keep the entire string, so
17460     * if diskselector is resized the remaining characters will be displayed.
17461     *
17462     * If a label was passed as argument on item creation, with function
17463     * elm_diskselector_item_append(), it will be already
17464     * displayed by the item.
17465     *
17466     * @see elm_diskselector_side_label_lenght_set()
17467     * @see elm_diskselector_item_label_get()
17468     * @see elm_diskselector_item_append()
17469     *
17470     * @ingroup Diskselector
17471     */
17472    EAPI void                   elm_diskselector_item_label_set(Elm_Diskselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
17473
17474    /**
17475     * Get the label of item.
17476     *
17477     * @param it The item of diskselector.
17478     * @return The label of item.
17479     *
17480     * The return value is a pointer to the label associated to @item when it was
17481     * created, with function elm_diskselector_item_append(), or later
17482     * with function elm_diskselector_item_label_set. If no label
17483     * was passed as argument, it will return @c NULL.
17484     *
17485     * @see elm_diskselector_item_label_set() for more details.
17486     * @see elm_diskselector_item_append()
17487     *
17488     * @ingroup Diskselector
17489     */
17490    EAPI const char            *elm_diskselector_item_label_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
17491
17492    /**
17493     * Get the selected item.
17494     *
17495     * @param obj The diskselector object.
17496     * @return The selected diskselector item.
17497     *
17498     * The selected item can be unselected with function
17499     * elm_diskselector_item_selected_set(), and the first item of
17500     * diskselector will be selected.
17501     *
17502     * The selected item always will be centered on diskselector, with
17503     * full label displayed, i.e., max lenght set to side labels won't
17504     * apply on the selected item. More details on
17505     * elm_diskselector_side_label_length_set().
17506     *
17507     * @ingroup Diskselector
17508     */
17509    EAPI Elm_Diskselector_Item *elm_diskselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17510
17511    /**
17512     * Set the selected state of an item.
17513     *
17514     * @param it The diskselector item
17515     * @param selected The selected state
17516     *
17517     * This sets the selected state of the given item @p it.
17518     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
17519     *
17520     * If a new item is selected the previosly selected will be unselected.
17521     * Previoulsy selected item can be get with function
17522     * elm_diskselector_selected_item_get().
17523     *
17524     * If the item @p it is unselected, the first item of diskselector will
17525     * be selected.
17526     *
17527     * Selected items will be visible on center position of diskselector.
17528     * So if it was on another position before selected, or was invisible,
17529     * diskselector will animate items until the selected item reaches center
17530     * position.
17531     *
17532     * @see elm_diskselector_item_selected_get()
17533     * @see elm_diskselector_selected_item_get()
17534     *
17535     * @ingroup Diskselector
17536     */
17537    EAPI void                   elm_diskselector_item_selected_set(Elm_Diskselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
17538
17539    /*
17540     * Get whether the @p item is selected or not.
17541     *
17542     * @param it The diskselector item.
17543     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
17544     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
17545     *
17546     * @see elm_diskselector_selected_item_set() for details.
17547     * @see elm_diskselector_item_selected_get()
17548     *
17549     * @ingroup Diskselector
17550     */
17551    EAPI Eina_Bool              elm_diskselector_item_selected_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
17552
17553    /**
17554     * Get the first item of the diskselector.
17555     *
17556     * @param obj The diskselector object.
17557     * @return The first item, or @c NULL if none.
17558     *
17559     * The list of items follows append order. So it will return the first
17560     * item appended to the widget that wasn't deleted.
17561     *
17562     * @see elm_diskselector_item_append()
17563     * @see elm_diskselector_items_get()
17564     *
17565     * @ingroup Diskselector
17566     */
17567    EAPI Elm_Diskselector_Item *elm_diskselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17568
17569    /**
17570     * Get the last item of the diskselector.
17571     *
17572     * @param obj The diskselector object.
17573     * @return The last item, or @c NULL if none.
17574     *
17575     * The list of items follows append order. So it will return last first
17576     * item appended to the widget that wasn't deleted.
17577     *
17578     * @see elm_diskselector_item_append()
17579     * @see elm_diskselector_items_get()
17580     *
17581     * @ingroup Diskselector
17582     */
17583    EAPI Elm_Diskselector_Item *elm_diskselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17584
17585    /**
17586     * Get the item before @p item in diskselector.
17587     *
17588     * @param it The diskselector item.
17589     * @return The item before @p item, or @c NULL if none or on failure.
17590     *
17591     * The list of items follows append order. So it will return item appended
17592     * just before @item and that wasn't deleted.
17593     *
17594     * If it is the first item, @c NULL will be returned.
17595     * First item can be get by elm_diskselector_first_item_get().
17596     *
17597     * @see elm_diskselector_item_append()
17598     * @see elm_diskselector_items_get()
17599     *
17600     * @ingroup Diskselector
17601     */
17602    EAPI Elm_Diskselector_Item *elm_diskselector_item_prev_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
17603
17604    /**
17605     * Get the item after @p item in diskselector.
17606     *
17607     * @param it The diskselector item.
17608     * @return The item after @p item, or @c NULL if none or on failure.
17609     *
17610     * The list of items follows append order. So it will return item appended
17611     * just after @item and that wasn't deleted.
17612     *
17613     * If it is the last item, @c NULL will be returned.
17614     * Last item can be get by elm_diskselector_last_item_get().
17615     *
17616     * @see elm_diskselector_item_append()
17617     * @see elm_diskselector_items_get()
17618     *
17619     * @ingroup Diskselector
17620     */
17621    EAPI Elm_Diskselector_Item *elm_diskselector_item_next_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
17622
17623    /**
17624     * Set the text to be shown in the diskselector item.
17625     *
17626     * @param item Target item
17627     * @param text The text to set in the content
17628     *
17629     * Setup the text as tooltip to object. The item can have only one tooltip,
17630     * so any previous tooltip data is removed.
17631     *
17632     * @see elm_object_tooltip_text_set() for more details.
17633     *
17634     * @ingroup Diskselector
17635     */
17636    EAPI void                   elm_diskselector_item_tooltip_text_set(Elm_Diskselector_Item *item, const char *text) EINA_ARG_NONNULL(1);
17637
17638    /**
17639     * Set the content to be shown in the tooltip item.
17640     *
17641     * Setup the tooltip to item. The item can have only one tooltip,
17642     * so any previous tooltip data is removed. @p func(with @p data) will
17643     * be called every time that need show the tooltip and it should
17644     * return a valid Evas_Object. This object is then managed fully by
17645     * tooltip system and is deleted when the tooltip is gone.
17646     *
17647     * @param item the diskselector item being attached a tooltip.
17648     * @param func the function used to create the tooltip contents.
17649     * @param data what to provide to @a func as callback data/context.
17650     * @param del_cb called when data is not needed anymore, either when
17651     *        another callback replaces @func, the tooltip is unset with
17652     *        elm_diskselector_item_tooltip_unset() or the owner @a item
17653     *        dies. This callback receives as the first parameter the
17654     *        given @a data, and @c event_info is the item.
17655     *
17656     * @see elm_object_tooltip_content_cb_set() for more details.
17657     *
17658     * @ingroup Diskselector
17659     */
17660    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);
17661
17662    /**
17663     * Unset tooltip from item.
17664     *
17665     * @param item diskselector item to remove previously set tooltip.
17666     *
17667     * Remove tooltip from item. The callback provided as del_cb to
17668     * elm_diskselector_item_tooltip_content_cb_set() will be called to notify
17669     * it is not used anymore.
17670     *
17671     * @see elm_object_tooltip_unset() for more details.
17672     * @see elm_diskselector_item_tooltip_content_cb_set()
17673     *
17674     * @ingroup Diskselector
17675     */
17676    EAPI void                   elm_diskselector_item_tooltip_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
17677
17678
17679    /**
17680     * Sets a different style for this item tooltip.
17681     *
17682     * @note before you set a style you should define a tooltip with
17683     *       elm_diskselector_item_tooltip_content_cb_set() or
17684     *       elm_diskselector_item_tooltip_text_set()
17685     *
17686     * @param item diskselector item with tooltip already set.
17687     * @param style the theme style to use (default, transparent, ...)
17688     *
17689     * @see elm_object_tooltip_style_set() for more details.
17690     *
17691     * @ingroup Diskselector
17692     */
17693    EAPI void                   elm_diskselector_item_tooltip_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
17694
17695    /**
17696     * Get the style for this item tooltip.
17697     *
17698     * @param item diskselector item with tooltip already set.
17699     * @return style the theme style in use, defaults to "default". If the
17700     *         object does not have a tooltip set, then NULL is returned.
17701     *
17702     * @see elm_object_tooltip_style_get() for more details.
17703     * @see elm_diskselector_item_tooltip_style_set()
17704     *
17705     * @ingroup Diskselector
17706     */
17707    EAPI const char            *elm_diskselector_item_tooltip_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
17708
17709    /**
17710     * Set the cursor to be shown when mouse is over the diskselector item
17711     *
17712     * @param item Target item
17713     * @param cursor the cursor name to be used.
17714     *
17715     * @see elm_object_cursor_set() for more details.
17716     *
17717     * @ingroup Diskselector
17718     */
17719    EAPI void                   elm_diskselector_item_cursor_set(Elm_Diskselector_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
17720
17721    /**
17722     * Get the cursor to be shown when mouse is over the diskselector item
17723     *
17724     * @param item diskselector item with cursor already set.
17725     * @return the cursor name.
17726     *
17727     * @see elm_object_cursor_get() for more details.
17728     * @see elm_diskselector_cursor_set()
17729     *
17730     * @ingroup Diskselector
17731     */
17732    EAPI const char            *elm_diskselector_item_cursor_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
17733
17734
17735    /**
17736     * Unset the cursor to be shown when mouse is over the diskselector item
17737     *
17738     * @param item Target item
17739     *
17740     * @see elm_object_cursor_unset() for more details.
17741     * @see elm_diskselector_cursor_set()
17742     *
17743     * @ingroup Diskselector
17744     */
17745    EAPI void                   elm_diskselector_item_cursor_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
17746
17747    /**
17748     * Sets a different style for this item cursor.
17749     *
17750     * @note before you set a style you should define a cursor with
17751     *       elm_diskselector_item_cursor_set()
17752     *
17753     * @param item diskselector item with cursor already set.
17754     * @param style the theme style to use (default, transparent, ...)
17755     *
17756     * @see elm_object_cursor_style_set() for more details.
17757     *
17758     * @ingroup Diskselector
17759     */
17760    EAPI void                   elm_diskselector_item_cursor_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
17761
17762
17763    /**
17764     * Get the style for this item cursor.
17765     *
17766     * @param item diskselector item with cursor already set.
17767     * @return style the theme style in use, defaults to "default". If the
17768     *         object does not have a cursor set, then @c NULL is returned.
17769     *
17770     * @see elm_object_cursor_style_get() for more details.
17771     * @see elm_diskselector_item_cursor_style_set()
17772     *
17773     * @ingroup Diskselector
17774     */
17775    EAPI const char            *elm_diskselector_item_cursor_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
17776
17777
17778    /**
17779     * Set if the cursor set should be searched on the theme or should use
17780     * the provided by the engine, only.
17781     *
17782     * @note before you set if should look on theme you should define a cursor
17783     * with elm_diskselector_item_cursor_set().
17784     * By default it will only look for cursors provided by the engine.
17785     *
17786     * @param item widget item with cursor already set.
17787     * @param engine_only boolean to define if cursors set with
17788     * elm_diskselector_item_cursor_set() should be searched only
17789     * between cursors provided by the engine or searched on widget's
17790     * theme as well.
17791     *
17792     * @see elm_object_cursor_engine_only_set() for more details.
17793     *
17794     * @ingroup Diskselector
17795     */
17796    EAPI void                   elm_diskselector_item_cursor_engine_only_set(Elm_Diskselector_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
17797
17798    /**
17799     * Get the cursor engine only usage for this item cursor.
17800     *
17801     * @param item widget item with cursor already set.
17802     * @return engine_only boolean to define it cursors should be looked only
17803     * between the provided by the engine or searched on widget's theme as well.
17804     * If the item does not have a cursor set, then @c EINA_FALSE is returned.
17805     *
17806     * @see elm_object_cursor_engine_only_get() for more details.
17807     * @see elm_diskselector_item_cursor_engine_only_set()
17808     *
17809     * @ingroup Diskselector
17810     */
17811    EAPI Eina_Bool              elm_diskselector_item_cursor_engine_only_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
17812
17813    /**
17814     * @}
17815     */
17816
17817    /**
17818     * @defgroup Colorselector Colorselector
17819     *
17820     * @{
17821     *
17822     * @image html img/widget/colorselector/preview-00.png
17823     *
17824     * @brief Widget for user to select a color.
17825     *
17826     * Signals that you can add callbacks for are:
17827     * "changed" - When the color value changes(event_info is NULL).
17828     *
17829     * See @ref tutorial_colorselector.
17830     */
17831    /**
17832     * @brief Add a new colorselector to the parent
17833     *
17834     * @param parent The parent object
17835     * @return The new object or NULL if it cannot be created
17836     *
17837     * @ingroup Colorselector
17838     */
17839    EAPI Evas_Object *elm_colorselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
17840    /**
17841     * Set a color for the colorselector
17842     *
17843     * @param obj   Colorselector object
17844     * @param r     r-value of color
17845     * @param g     g-value of color
17846     * @param b     b-value of color
17847     * @param a     a-value of color
17848     *
17849     * @ingroup Colorselector
17850     */
17851    EAPI void         elm_colorselector_color_set(Evas_Object *obj, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
17852    /**
17853     * Get a color from the colorselector
17854     *
17855     * @param obj   Colorselector object
17856     * @param r     integer pointer for r-value of color
17857     * @param g     integer pointer for g-value of color
17858     * @param b     integer pointer for b-value of color
17859     * @param a     integer pointer for a-value of color
17860     *
17861     * @ingroup Colorselector
17862     */
17863    EAPI void         elm_colorselector_color_get(const Evas_Object *obj, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
17864    /**
17865     * @}
17866     */
17867
17868    /**
17869     * @defgroup Ctxpopup
17870     *
17871     * @image html img/widget/ctxpopup/preview-00.png
17872     * @image latex img/widget/ctxpopup/preview-00.eps
17873     *
17874     * @brief Context popup widet.
17875     *
17876     * A ctxpopup is a widget that, when shown, pops up a list of items.
17877     * It automatically chooses an area inside its parent object's view
17878     * (set via elm_ctxpopup_add() and elm_ctxpopup_hover_parent_set()) to
17879     * optimally fit into it. In the default theme, it will also point an
17880     * arrow to it's top left position at the time one shows it. Ctxpopup
17881     * items have a label and/or an icon. It is intended for a small
17882     * number of items (hence the use of list, not genlist).
17883     *
17884     * @note Ctxpopup is a especialization of @ref Hover.
17885     *
17886     * Signals that you can add callbacks for are:
17887     * "dismissed" - the ctxpopup was dismissed
17888     *
17889     * @ref tutorial_ctxpopup shows the usage of a good deal of the API.
17890     * @{
17891     */
17892    typedef struct _Elm_Ctxpopup_Item Elm_Ctxpopup_Item;
17893
17894    typedef enum _Elm_Ctxpopup_Direction
17895      {
17896         ELM_CTXPOPUP_DIRECTION_DOWN, /**< ctxpopup show appear below clicked
17897                                           area */
17898         ELM_CTXPOPUP_DIRECTION_RIGHT, /**< ctxpopup show appear to the right of
17899                                            the clicked area */
17900         ELM_CTXPOPUP_DIRECTION_LEFT, /**< ctxpopup show appear to the left of
17901                                           the clicked area */
17902         ELM_CTXPOPUP_DIRECTION_UP, /**< ctxpopup show appear above the clicked
17903                                         area */
17904      } Elm_Ctxpopup_Direction;
17905
17906    /**
17907     * @brief Add a new Ctxpopup object to the parent.
17908     *
17909     * @param parent Parent object
17910     * @return New object or @c NULL, if it cannot be created
17911     */
17912    EAPI Evas_Object  *elm_ctxpopup_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
17913    /**
17914     * @brief Set the Ctxpopup's parent
17915     *
17916     * @param obj The ctxpopup object
17917     * @param area The parent to use
17918     *
17919     * Set the parent object.
17920     *
17921     * @note elm_ctxpopup_add() will automatically call this function
17922     * with its @c parent argument.
17923     *
17924     * @see elm_ctxpopup_add()
17925     * @see elm_hover_parent_set()
17926     */
17927    EAPI void          elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1, 2);
17928    /**
17929     * @brief Get the Ctxpopup's parent
17930     *
17931     * @param obj The ctxpopup object
17932     *
17933     * @see elm_ctxpopup_hover_parent_set() for more information
17934     */
17935    EAPI Evas_Object  *elm_ctxpopup_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17936    /**
17937     * @brief Clear all items in the given ctxpopup object.
17938     *
17939     * @param obj Ctxpopup object
17940     */
17941    EAPI void          elm_ctxpopup_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
17942    /**
17943     * @brief Change the ctxpopup's orientation to horizontal or vertical.
17944     *
17945     * @param obj Ctxpopup object
17946     * @param horizontal @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical
17947     */
17948    EAPI void          elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
17949    /**
17950     * @brief Get the value of current ctxpopup object's orientation.
17951     *
17952     * @param obj Ctxpopup object
17953     * @return @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical mode (or errors)
17954     *
17955     * @see elm_ctxpopup_horizontal_set()
17956     */
17957    EAPI Eina_Bool     elm_ctxpopup_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17958    /**
17959     * @brief Add a new item to a ctxpopup object.
17960     *
17961     * @param obj Ctxpopup object
17962     * @param icon Icon to be set on new item
17963     * @param label The Label of the new item
17964     * @param func Convenience function called when item selected
17965     * @param data Data passed to @p func
17966     * @return A handle to the item added or @c NULL, on errors
17967     *
17968     * @warning Ctxpopup can't hold both an item list and a content at the same
17969     * time. When an item is added, any previous content will be removed.
17970     *
17971     * @see elm_ctxpopup_content_set()
17972     */
17973    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);
17974    /**
17975     * @brief Delete the given item in a ctxpopup object.
17976     *
17977     * @param item Ctxpopup item to be deleted
17978     *
17979     * @see elm_ctxpopup_item_append()
17980     */
17981    EAPI void          elm_ctxpopup_item_del(Elm_Ctxpopup_Item *item) EINA_ARG_NONNULL(1);
17982    /**
17983     * @brief Set the ctxpopup item's state as disabled or enabled.
17984     *
17985     * @param item Ctxpopup item to be enabled/disabled
17986     * @param disabled @c EINA_TRUE to disable it, @c EINA_FALSE to enable it
17987     *
17988     * When disabled the item is greyed out to indicate it's state.
17989     */
17990    EAPI void          elm_ctxpopup_item_disabled_set(Elm_Ctxpopup_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
17991    /**
17992     * @brief Get the ctxpopup item's disabled/enabled state.
17993     *
17994     * @param item Ctxpopup item to be enabled/disabled
17995     * @return disabled @c EINA_TRUE, if disabled, @c EINA_FALSE otherwise
17996     *
17997     * @see elm_ctxpopup_item_disabled_set()
17998     */
17999    EAPI Eina_Bool     elm_ctxpopup_item_disabled_get(const Elm_Ctxpopup_Item *item) EINA_ARG_NONNULL(1);
18000    /**
18001     * @brief Get the icon object for the given ctxpopup item.
18002     *
18003     * @param item Ctxpopup item
18004     * @return icon object or @c NULL, if the item does not have icon or an error
18005     * occurred
18006     *
18007     * @see elm_ctxpopup_item_append()
18008     * @see elm_ctxpopup_item_icon_set()
18009     */
18010    EAPI Evas_Object  *elm_ctxpopup_item_icon_get(const Elm_Ctxpopup_Item *item) EINA_ARG_NONNULL(1);
18011    /**
18012     * @brief Sets the side icon associated with the ctxpopup item
18013     *
18014     * @param item Ctxpopup item
18015     * @param icon Icon object to be set
18016     *
18017     * Once the icon object is set, a previously set one will be deleted.
18018     * @warning Setting the same icon for two items will cause the icon to
18019     * dissapear from the first item.
18020     *
18021     * @see elm_ctxpopup_item_append()
18022     */
18023    EAPI void          elm_ctxpopup_item_icon_set(Elm_Ctxpopup_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
18024    /**
18025     * @brief Get the label for the given ctxpopup item.
18026     *
18027     * @param item Ctxpopup item
18028     * @return label string or @c NULL, if the item does not have label or an
18029     * error occured
18030     *
18031     * @see elm_ctxpopup_item_append()
18032     * @see elm_ctxpopup_item_label_set()
18033     */
18034    EAPI const char   *elm_ctxpopup_item_label_get(const Elm_Ctxpopup_Item *item) EINA_ARG_NONNULL(1);
18035    /**
18036     * @brief (Re)set the label on the given ctxpopup item.
18037     *
18038     * @param item Ctxpopup item
18039     * @param label String to set as label
18040     */
18041    EAPI void          elm_ctxpopup_item_label_set(Elm_Ctxpopup_Item *item, const char *label) EINA_ARG_NONNULL(1);
18042    /**
18043     * @brief Set an elm widget as the content of the ctxpopup.
18044     *
18045     * @param obj Ctxpopup object
18046     * @param content Content to be swallowed
18047     *
18048     * If the content object is already set, a previous one will bedeleted. If
18049     * you want to keep that old content object, use the
18050     * elm_ctxpopup_content_unset() function.
18051     *
18052     * @warning Ctxpopup can't hold both a item list and a content at the same
18053     * time. When a content is set, any previous items will be removed.
18054     */
18055    EAPI void          elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1, 2);
18056    /**
18057     * @brief Unset the ctxpopup content
18058     *
18059     * @param obj Ctxpopup object
18060     * @return The content that was being used
18061     *
18062     * Unparent and return the content object which was set for this widget.
18063     *
18064     * @see elm_ctxpopup_content_set()
18065     */
18066    EAPI Evas_Object  *elm_ctxpopup_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
18067    /**
18068     * @brief Set the direction priority of a ctxpopup.
18069     *
18070     * @param obj Ctxpopup object
18071     * @param first 1st priority of direction
18072     * @param second 2nd priority of direction
18073     * @param third 3th priority of direction
18074     * @param fourth 4th priority of direction
18075     *
18076     * This functions gives a chance to user to set the priority of ctxpopup
18077     * showing direction. This doesn't guarantee the ctxpopup will appear in the
18078     * requested direction.
18079     *
18080     * @see Elm_Ctxpopup_Direction
18081     */
18082    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);
18083    /**
18084     * @brief Get the direction priority of a ctxpopup.
18085     *
18086     * @param obj Ctxpopup object
18087     * @param first 1st priority of direction to be returned
18088     * @param second 2nd priority of direction to be returned
18089     * @param third 3th priority of direction to be returned
18090     * @param fourth 4th priority of direction to be returned
18091     *
18092     * @see elm_ctxpopup_direction_priority_set() for more information.
18093     */
18094    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);
18095    /**
18096     * @}
18097     */
18098
18099    /* transit */
18100    /**
18101     *
18102     * @defgroup Transit Transit
18103     * @ingroup Elementary
18104     *
18105     * Transit is designed to apply various animated transition effects to @c
18106     * Evas_Object, such like translation, rotation, etc. For using these
18107     * effects, create an @ref Elm_Transit and add the desired transition effects.
18108     *
18109     * Once the effects are added into transit, they will be automatically
18110     * managed (their callback will be called until the duration is ended, and
18111     * they will be deleted on completion).
18112     *
18113     * Example:
18114     * @code
18115     * Elm_Transit *trans = elm_transit_add();
18116     * elm_transit_object_add(trans, obj);
18117     * elm_transit_effect_translation_add(trans, 0, 0, 280, 280
18118     * elm_transit_duration_set(transit, 1);
18119     * elm_transit_auto_reverse_set(transit, EINA_TRUE);
18120     * elm_transit_tween_mode_set(transit, ELM_TRANSIT_TWEEN_MODE_DECELERATE);
18121     * elm_transit_repeat_times_set(transit, 3);
18122     * @endcode
18123     *
18124     * Some transition effects are used to change the properties of objects. They
18125     * are:
18126     * @li @ref elm_transit_effect_translation_add
18127     * @li @ref elm_transit_effect_color_add
18128     * @li @ref elm_transit_effect_rotation_add
18129     * @li @ref elm_transit_effect_wipe_add
18130     * @li @ref elm_transit_effect_zoom_add
18131     * @li @ref elm_transit_effect_resizing_add
18132     *
18133     * Other transition effects are used to make one object disappear and another
18134     * object appear on its old place. These effects are:
18135     *
18136     * @li @ref elm_transit_effect_flip_add
18137     * @li @ref elm_transit_effect_resizable_flip_add
18138     * @li @ref elm_transit_effect_fade_add
18139     * @li @ref elm_transit_effect_blend_add
18140     *
18141     * It's also possible to make a transition chain with @ref
18142     * elm_transit_chain_transit_add.
18143     *
18144     * @warning We strongly recommend to use elm_transit just when edje can not do
18145     * the trick. Edje has more advantage than Elm_Transit, it has more flexibility and
18146     * animations can be manipulated inside the theme.
18147     *
18148     * List of examples:
18149     * @li @ref transit_example_01_explained
18150     * @li @ref transit_example_02_explained
18151     * @li @ref transit_example_03_c
18152     * @li @ref transit_example_04_c
18153     *
18154     * @{
18155     */
18156
18157    /**
18158     * @enum Elm_Transit_Tween_Mode
18159     *
18160     * The type of acceleration used in the transition.
18161     */
18162    typedef enum
18163      {
18164         ELM_TRANSIT_TWEEN_MODE_LINEAR, /**< Constant speed */
18165         ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL, /**< Starts slow, increase speed
18166                                              over time, then decrease again
18167                                              and stop slowly */
18168         ELM_TRANSIT_TWEEN_MODE_DECELERATE, /**< Starts fast and decrease
18169                                              speed over time */
18170         ELM_TRANSIT_TWEEN_MODE_ACCELERATE /**< Starts slow and increase speed
18171                                             over time */
18172      } Elm_Transit_Tween_Mode;
18173
18174    /**
18175     * @enum Elm_Transit_Effect_Flip_Axis
18176     *
18177     * The axis where flip effect should be applied.
18178     */
18179    typedef enum
18180      {
18181         ELM_TRANSIT_EFFECT_FLIP_AXIS_X, /**< Flip on X axis */
18182         ELM_TRANSIT_EFFECT_FLIP_AXIS_Y /**< Flip on Y axis */
18183      } Elm_Transit_Effect_Flip_Axis;
18184    /**
18185     * @enum Elm_Transit_Effect_Wipe_Dir
18186     *
18187     * The direction where the wipe effect should occur.
18188     */
18189    typedef enum
18190      {
18191         ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT, /**< Wipe to the left */
18192         ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT, /**< Wipe to the right */
18193         ELM_TRANSIT_EFFECT_WIPE_DIR_UP, /**< Wipe up */
18194         ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN /**< Wipe down */
18195      } Elm_Transit_Effect_Wipe_Dir;
18196    /** @enum Elm_Transit_Effect_Wipe_Type
18197     *
18198     * Whether the wipe effect should show or hide the object.
18199     */
18200    typedef enum
18201      {
18202         ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE, /**< Hide the object during the
18203                                              animation */
18204         ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW /**< Show the object during the
18205                                             animation */
18206      } Elm_Transit_Effect_Wipe_Type;
18207
18208    /**
18209     * @typedef Elm_Transit
18210     *
18211     * The Transit created with elm_transit_add(). This type has the information
18212     * about the objects which the transition will be applied, and the
18213     * transition effects that will be used. It also contains info about
18214     * duration, number of repetitions, auto-reverse, etc.
18215     */
18216    typedef struct _Elm_Transit Elm_Transit;
18217    typedef void Elm_Transit_Effect;
18218    /**
18219     * @typedef Elm_Transit_Effect_Transition_Cb
18220     *
18221     * Transition callback called for this effect on each transition iteration.
18222     */
18223    typedef void (*Elm_Transit_Effect_Transition_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit, double progress);
18224    /**
18225     * Elm_Transit_Effect_End_Cb
18226     *
18227     * Transition callback called for this effect when the transition is over.
18228     */
18229    typedef void (*Elm_Transit_Effect_End_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit);
18230
18231    /**
18232     * Elm_Transit_Del_Cb
18233     *
18234     * A callback called when the transit is deleted.
18235     */
18236    typedef void (*Elm_Transit_Del_Cb) (void *data, Elm_Transit *transit);
18237
18238    /**
18239     * Add new transit.
18240     *
18241     * @note Is not necessary to delete the transit object, it will be deleted at
18242     * the end of its operation.
18243     * @note The transit will start playing when the program enter in the main loop, is not
18244     * necessary to give a start to the transit.
18245     *
18246     * @return The transit object.
18247     *
18248     * @ingroup Transit
18249     */
18250    EAPI Elm_Transit                *elm_transit_add(void);
18251
18252    /**
18253     * Stops the animation and delete the @p transit object.
18254     *
18255     * Call this function if you wants to stop the animation before the duration
18256     * time. Make sure the @p transit object is still alive with
18257     * elm_transit_del_cb_set() function.
18258     * All added effects will be deleted, calling its repective data_free_cb
18259     * functions. The function setted by elm_transit_del_cb_set() will be called.
18260     *
18261     * @see elm_transit_del_cb_set()
18262     *
18263     * @param transit The transit object to be deleted.
18264     *
18265     * @ingroup Transit
18266     * @warning Just call this function if you are sure the transit is alive.
18267     */
18268    EAPI void                        elm_transit_del(Elm_Transit *transit) EINA_ARG_NONNULL(1);
18269
18270    /**
18271     * Add a new effect to the transit.
18272     *
18273     * @note The cb function and the data are the key to the effect. If you try to
18274     * add an already added effect, nothing is done.
18275     * @note After the first addition of an effect in @p transit, if its
18276     * effect list become empty again, the @p transit will be killed by
18277     * elm_transit_del(transit) function.
18278     *
18279     * Exemple:
18280     * @code
18281     * Elm_Transit *transit = elm_transit_add();
18282     * elm_transit_effect_add(transit,
18283     *                        elm_transit_effect_blend_op,
18284     *                        elm_transit_effect_blend_context_new(),
18285     *                        elm_transit_effect_blend_context_free);
18286     * @endcode
18287     *
18288     * @param transit The transit object.
18289     * @param transition_cb The operation function. It is called when the
18290     * animation begins, it is the function that actually performs the animation.
18291     * It is called with the @p data, @p transit and the time progression of the
18292     * animation (a double value between 0.0 and 1.0).
18293     * @param effect The context data of the effect.
18294     * @param end_cb The function to free the context data, it will be called
18295     * at the end of the effect, it must finalize the animation and free the
18296     * @p data.
18297     *
18298     * @ingroup Transit
18299     * @warning The transit free the context data at the and of the transition with
18300     * the data_free_cb function, do not use the context data in another transit.
18301     */
18302    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);
18303
18304    /**
18305     * Delete an added effect.
18306     *
18307     * This function will remove the effect from the @p transit, calling the
18308     * data_free_cb to free the @p data.
18309     *
18310     * @see elm_transit_effect_add()
18311     *
18312     * @note If the effect is not found, nothing is done.
18313     * @note If the effect list become empty, this function will call
18314     * elm_transit_del(transit), that is, it will kill the @p transit.
18315     *
18316     * @param transit The transit object.
18317     * @param transition_cb The operation function.
18318     * @param effect The context data of the effect.
18319     *
18320     * @ingroup Transit
18321     */
18322    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);
18323
18324    /**
18325     * Add new object to apply the effects.
18326     *
18327     * @note After the first addition of an object in @p transit, if its
18328     * object list become empty again, the @p transit will be killed by
18329     * elm_transit_del(transit) function.
18330     * @note If the @p obj belongs to another transit, the @p obj will be
18331     * removed from it and it will only belong to the @p transit. If the old
18332     * transit stays without objects, it will die.
18333     * @note When you add an object into the @p transit, its state from
18334     * evas_object_pass_events_get(obj) is saved, and it is applied when the
18335     * transit ends, if you change this state whith evas_object_pass_events_set()
18336     * after add the object, this state will change again when @p transit stops to
18337     * run.
18338     *
18339     * @param transit The transit object.
18340     * @param obj Object to be animated.
18341     *
18342     * @ingroup Transit
18343     * @warning It is not allowed to add a new object after transit begins to go.
18344     */
18345    EAPI void                        elm_transit_object_add(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
18346
18347    /**
18348     * Removes an added object from the transit.
18349     *
18350     * @note If the @p obj is not in the @p transit, nothing is done.
18351     * @note If the list become empty, this function will call
18352     * elm_transit_del(transit), that is, it will kill the @p transit.
18353     *
18354     * @param transit The transit object.
18355     * @param obj Object to be removed from @p transit.
18356     *
18357     * @ingroup Transit
18358     * @warning It is not allowed to remove objects after transit begins to go.
18359     */
18360    EAPI void                        elm_transit_object_remove(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
18361
18362    /**
18363     * Get the objects of the transit.
18364     *
18365     * @param transit The transit object.
18366     * @return a Eina_List with the objects from the transit.
18367     *
18368     * @ingroup Transit
18369     */
18370    EAPI const Eina_List            *elm_transit_objects_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
18371
18372    /**
18373     * Enable/disable keeping up the objects states.
18374     * If it is not kept, the objects states will be reset when transition ends.
18375     *
18376     * @note @p transit can not be NULL.
18377     * @note One state includes geometry, color, map data.
18378     *
18379     * @param transit The transit object.
18380     * @param state_keep Keeping or Non Keeping.
18381     *
18382     * @ingroup Transit
18383     */
18384    EAPI void                        elm_transit_objects_final_state_keep_set(Elm_Transit *transit, Eina_Bool state_keep) EINA_ARG_NONNULL(1);
18385
18386    /**
18387     * Get a value whether the objects states will be reset or not.
18388     *
18389     * @note @p transit can not be NULL
18390     *
18391     * @see elm_transit_objects_final_state_keep_set()
18392     *
18393     * @param transit The transit object.
18394     * @return EINA_TRUE means the states of the objects will be reset.
18395     * If @p transit is NULL, EINA_FALSE is returned
18396     *
18397     * @ingroup Transit
18398     */
18399    EAPI Eina_Bool                   elm_transit_objects_final_state_keep_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
18400
18401    /**
18402     * Set the event enabled when transit is operating.
18403     *
18404     * If @p enabled is EINA_TRUE, the objects of the transit will receives
18405     * events from mouse and keyboard during the animation.
18406     * @note When you add an object with elm_transit_object_add(), its state from
18407     * evas_object_pass_events_get(obj) is saved, and it is applied when the
18408     * transit ends, if you change this state with evas_object_pass_events_set()
18409     * after adding the object, this state will change again when @p transit stops
18410     * to run.
18411     *
18412     * @param transit The transit object.
18413     * @param enabled Events are received when enabled is @c EINA_TRUE, and
18414     * ignored otherwise.
18415     *
18416     * @ingroup Transit
18417     */
18418    EAPI void                        elm_transit_event_enabled_set(Elm_Transit *transit, Eina_Bool enabled) EINA_ARG_NONNULL(1);
18419
18420    /**
18421     * Get the value of event enabled status.
18422     *
18423     * @see elm_transit_event_enabled_set()
18424     *
18425     * @param transit The Transit object
18426     * @return EINA_TRUE, when event is enabled. If @p transit is NULL
18427     * EINA_FALSE is returned
18428     *
18429     * @ingroup Transit
18430     */
18431    EAPI Eina_Bool                   elm_transit_event_enabled_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
18432
18433    /**
18434     * Set the user-callback function when the transit is deleted.
18435     *
18436     * @note Using this function twice will overwrite the first function setted.
18437     * @note the @p transit object will be deleted after call @p cb function.
18438     *
18439     * @param transit The transit object.
18440     * @param cb Callback function pointer. This function will be called before
18441     * the deletion of the transit.
18442     * @param data Callback funtion user data. It is the @p op parameter.
18443     *
18444     * @ingroup Transit
18445     */
18446    EAPI void                        elm_transit_del_cb_set(Elm_Transit *transit, Elm_Transit_Del_Cb cb, void *data) EINA_ARG_NONNULL(1);
18447
18448    /**
18449     * Set reverse effect automatically.
18450     *
18451     * If auto reverse is setted, after running the effects with the progress
18452     * parameter from 0 to 1, it will call the effecs again with the progress
18453     * from 1 to 0. The transit will last for a time iqual to (2 * duration * repeat),
18454     * where the duration was setted with the function elm_transit_add and
18455     * the repeat with the function elm_transit_repeat_times_set().
18456     *
18457     * @param transit The transit object.
18458     * @param reverse EINA_TRUE means the auto_reverse is on.
18459     *
18460     * @ingroup Transit
18461     */
18462    EAPI void                        elm_transit_auto_reverse_set(Elm_Transit *transit, Eina_Bool reverse) EINA_ARG_NONNULL(1);
18463
18464    /**
18465     * Get if the auto reverse is on.
18466     *
18467     * @see elm_transit_auto_reverse_set()
18468     *
18469     * @param transit The transit object.
18470     * @return EINA_TRUE means auto reverse is on. If @p transit is NULL
18471     * EINA_FALSE is returned
18472     *
18473     * @ingroup Transit
18474     */
18475    EAPI Eina_Bool                   elm_transit_auto_reverse_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
18476
18477    /**
18478     * Set the transit repeat count. Effect will be repeated by repeat count.
18479     *
18480     * This function sets the number of repetition the transit will run after
18481     * the first one, that is, if @p repeat is 1, the transit will run 2 times.
18482     * If the @p repeat is a negative number, it will repeat infinite times.
18483     *
18484     * @note If this function is called during the transit execution, the transit
18485     * will run @p repeat times, ignoring the times it already performed.
18486     *
18487     * @param transit The transit object
18488     * @param repeat Repeat count
18489     *
18490     * @ingroup Transit
18491     */
18492    EAPI void                        elm_transit_repeat_times_set(Elm_Transit *transit, int repeat) EINA_ARG_NONNULL(1);
18493
18494    /**
18495     * Get the transit repeat count.
18496     *
18497     * @see elm_transit_repeat_times_set()
18498     *
18499     * @param transit The Transit object.
18500     * @return The repeat count. If @p transit is NULL
18501     * 0 is returned
18502     *
18503     * @ingroup Transit
18504     */
18505    EAPI int                         elm_transit_repeat_times_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
18506
18507    /**
18508     * Set the transit animation acceleration type.
18509     *
18510     * This function sets the tween mode of the transit that can be:
18511     * ELM_TRANSIT_TWEEN_MODE_LINEAR - The default mode.
18512     * ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL - Starts in accelerate mode and ends decelerating.
18513     * ELM_TRANSIT_TWEEN_MODE_DECELERATE - The animation will be slowed over time.
18514     * ELM_TRANSIT_TWEEN_MODE_ACCELERATE - The animation will accelerate over time.
18515     *
18516     * @param transit The transit object.
18517     * @param tween_mode The tween type.
18518     *
18519     * @ingroup Transit
18520     */
18521    EAPI void                        elm_transit_tween_mode_set(Elm_Transit *transit, Elm_Transit_Tween_Mode tween_mode) EINA_ARG_NONNULL(1);
18522
18523    /**
18524     * Get the transit animation acceleration type.
18525     *
18526     * @note @p transit can not be NULL
18527     *
18528     * @param transit The transit object.
18529     * @return The tween type. If @p transit is NULL
18530     * ELM_TRANSIT_TWEEN_MODE_LINEAR is returned.
18531     *
18532     * @ingroup Transit
18533     */
18534    EAPI Elm_Transit_Tween_Mode      elm_transit_tween_mode_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
18535
18536    /**
18537     * Set the transit animation time
18538     *
18539     * @note @p transit can not be NULL
18540     *
18541     * @param transit The transit object.
18542     * @param duration The animation time.
18543     *
18544     * @ingroup Transit
18545     */
18546    EAPI void                        elm_transit_duration_set(Elm_Transit *transit, double duration) EINA_ARG_NONNULL(1);
18547
18548    /**
18549     * Get the transit animation time
18550     *
18551     * @note @p transit can not be NULL
18552     *
18553     * @param transit The transit object.
18554     *
18555     * @return The transit animation time.
18556     *
18557     * @ingroup Transit
18558     */
18559    EAPI double                      elm_transit_duration_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
18560
18561    /**
18562     * Starts the transition.
18563     * Once this API is called, the transit begins to measure the time.
18564     *
18565     * @note @p transit can not be NULL
18566     *
18567     * @param transit The transit object.
18568     *
18569     * @ingroup Transit
18570     */
18571    EAPI void                        elm_transit_go(Elm_Transit *transit) EINA_ARG_NONNULL(1);
18572
18573    /**
18574     * Pause/Resume the transition.
18575     *
18576     * If you call elm_transit_go again, the transit will be started from the
18577     * beginning, and will be unpaused.
18578     *
18579     * @note @p transit can not be NULL
18580     *
18581     * @param transit The transit object.
18582     * @param paused Whether the transition should be paused or not.
18583     *
18584     * @ingroup Transit
18585     */
18586    EAPI void                        elm_transit_paused_set(Elm_Transit *transit, Eina_Bool paused) EINA_ARG_NONNULL(1);
18587
18588    /**
18589     * Get the value of paused status.
18590     *
18591     * @see elm_transit_paused_set()
18592     *
18593     * @note @p transit can not be NULL
18594     *
18595     * @param transit The transit object.
18596     * @return EINA_TRUE means transition is paused. If @p transit is NULL
18597     * EINA_FALSE is returned
18598     *
18599     * @ingroup Transit
18600     */
18601    EAPI Eina_Bool                   elm_transit_paused_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
18602
18603    /**
18604     * Get the time progression of the animation (a double value between 0.0 and 1.0).
18605     *
18606     * The value returned is a fraction (current time / total time). It
18607     * represents the progression position relative to the total.
18608     *
18609     * @note @p transit can not be NULL
18610     *
18611     * @param transit The transit object.
18612     *
18613     * @return The time progression value. If @p transit is NULL
18614     * 0 is returned
18615     *
18616     * @ingroup Transit
18617     */
18618    EAPI double                      elm_transit_progress_value_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
18619
18620    /**
18621     * Makes the chain relationship between two transits.
18622     *
18623     * @note @p transit can not be NULL. Transit would have multiple chain transits.
18624     * @note @p chain_transit can not be NULL. Chain transits could be chained to the only one transit.
18625     *
18626     * @param transit The transit object.
18627     * @param chain_transit The chain transit object. This transit will be operated
18628     *        after transit is done.
18629     *
18630     * This function adds @p chain_transit transition to a chain after the @p
18631     * transit, and will be started as soon as @p transit ends. See @ref
18632     * transit_example_02_explained for a full example.
18633     *
18634     * @ingroup Transit
18635     */
18636    EAPI void                        elm_transit_chain_transit_add(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1, 2);
18637
18638    /**
18639     * Cut off the chain relationship between two transits.
18640     *
18641     * @note @p transit can not be NULL. Transit would have the chain relationship with @p chain transit.
18642     * @note @p chain_transit can not be NULL. Chain transits should be chained to the @p transit.
18643     *
18644     * @param transit The transit object.
18645     * @param chain_transit The chain transit object.
18646     *
18647     * This function remove the @p chain_transit transition from the @p transit.
18648     *
18649     * @ingroup Transit
18650     */
18651    EAPI void                        elm_transit_chain_transit_del(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1,2);
18652
18653    /**
18654     * Get the current chain transit list.
18655     *
18656     * @note @p transit can not be NULL.
18657     *
18658     * @param transit The transit object.
18659     * @return chain transit list.
18660     *
18661     * @ingroup Transit
18662     */
18663    EAPI Eina_List                  *elm_transit_chain_transits_get(const Elm_Transit *transit);
18664
18665    /**
18666     * Add the Resizing Effect to Elm_Transit.
18667     *
18668     * @note This API is one of the facades. It creates resizing effect context
18669     * and add it's required APIs to elm_transit_effect_add.
18670     *
18671     * @see elm_transit_effect_add()
18672     *
18673     * @param transit Transit object.
18674     * @param from_w Object width size when effect begins.
18675     * @param from_h Object height size when effect begins.
18676     * @param to_w Object width size when effect ends.
18677     * @param to_h Object height size when effect ends.
18678     * @return Resizing effect context data.
18679     *
18680     * @ingroup Transit
18681     */
18682    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);
18683
18684    /**
18685     * Add the Translation Effect to Elm_Transit.
18686     *
18687     * @note This API is one of the facades. It creates translation effect context
18688     * and add it's required APIs to elm_transit_effect_add.
18689     *
18690     * @see elm_transit_effect_add()
18691     *
18692     * @param transit Transit object.
18693     * @param from_dx X Position variation when effect begins.
18694     * @param from_dy Y Position variation when effect begins.
18695     * @param to_dx X Position variation when effect ends.
18696     * @param to_dy Y Position variation when effect ends.
18697     * @return Translation effect context data.
18698     *
18699     * @ingroup Transit
18700     * @warning It is highly recommended just create a transit with this effect when
18701     * the window that the objects of the transit belongs has already been created.
18702     * This is because this effect needs the geometry information about the objects,
18703     * and if the window was not created yet, it can get a wrong information.
18704     */
18705    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);
18706
18707    /**
18708     * Add the Zoom Effect to Elm_Transit.
18709     *
18710     * @note This API is one of the facades. It creates zoom effect context
18711     * and add it's required APIs to elm_transit_effect_add.
18712     *
18713     * @see elm_transit_effect_add()
18714     *
18715     * @param transit Transit object.
18716     * @param from_rate Scale rate when effect begins (1 is current rate).
18717     * @param to_rate Scale rate when effect ends.
18718     * @return Zoom effect context data.
18719     *
18720     * @ingroup Transit
18721     * @warning It is highly recommended just create a transit with this effect when
18722     * the window that the objects of the transit belongs has already been created.
18723     * This is because this effect needs the geometry information about the objects,
18724     * and if the window was not created yet, it can get a wrong information.
18725     */
18726    EAPI Elm_Transit_Effect *elm_transit_effect_zoom_add(Elm_Transit *transit, float from_rate, float to_rate);
18727
18728    /**
18729     * Add the Flip Effect to Elm_Transit.
18730     *
18731     * @note This API is one of the facades. It creates flip effect context
18732     * and add it's required APIs to elm_transit_effect_add.
18733     * @note This effect is applied to each pair of objects in the order they are listed
18734     * in the transit list of objects. The first object in the pair will be the
18735     * "front" object and the second will be the "back" object.
18736     *
18737     * @see elm_transit_effect_add()
18738     *
18739     * @param transit Transit object.
18740     * @param axis Flipping Axis(X or Y).
18741     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
18742     * @return Flip effect context data.
18743     *
18744     * @ingroup Transit
18745     * @warning It is highly recommended just create a transit with this effect when
18746     * the window that the objects of the transit belongs has already been created.
18747     * This is because this effect needs the geometry information about the objects,
18748     * and if the window was not created yet, it can get a wrong information.
18749     */
18750    EAPI Elm_Transit_Effect *elm_transit_effect_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
18751
18752    /**
18753     * Add the Resizable Flip Effect to Elm_Transit.
18754     *
18755     * @note This API is one of the facades. It creates resizable flip effect context
18756     * and add it's required APIs to elm_transit_effect_add.
18757     * @note This effect is applied to each pair of objects in the order they are listed
18758     * in the transit list of objects. The first object in the pair will be the
18759     * "front" object and the second will be the "back" object.
18760     *
18761     * @see elm_transit_effect_add()
18762     *
18763     * @param transit Transit object.
18764     * @param axis Flipping Axis(X or Y).
18765     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
18766     * @return Resizable flip effect context data.
18767     *
18768     * @ingroup Transit
18769     * @warning It is highly recommended just create a transit with this effect when
18770     * the window that the objects of the transit belongs has already been created.
18771     * This is because this effect needs the geometry information about the objects,
18772     * and if the window was not created yet, it can get a wrong information.
18773     */
18774    EAPI Elm_Transit_Effect *elm_transit_effect_resizable_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
18775
18776    /**
18777     * Add the Wipe Effect to Elm_Transit.
18778     *
18779     * @note This API is one of the facades. It creates wipe effect context
18780     * and add it's required APIs to elm_transit_effect_add.
18781     *
18782     * @see elm_transit_effect_add()
18783     *
18784     * @param transit Transit object.
18785     * @param type Wipe type. Hide or show.
18786     * @param dir Wipe Direction.
18787     * @return Wipe effect context data.
18788     *
18789     * @ingroup Transit
18790     * @warning It is highly recommended just create a transit with this effect when
18791     * the window that the objects of the transit belongs has already been created.
18792     * This is because this effect needs the geometry information about the objects,
18793     * and if the window was not created yet, it can get a wrong information.
18794     */
18795    EAPI Elm_Transit_Effect *elm_transit_effect_wipe_add(Elm_Transit *transit, Elm_Transit_Effect_Wipe_Type type, Elm_Transit_Effect_Wipe_Dir dir);
18796
18797    /**
18798     * Add the Color Effect to Elm_Transit.
18799     *
18800     * @note This API is one of the facades. It creates color effect context
18801     * and add it's required APIs to elm_transit_effect_add.
18802     *
18803     * @see elm_transit_effect_add()
18804     *
18805     * @param transit        Transit object.
18806     * @param  from_r        RGB R when effect begins.
18807     * @param  from_g        RGB G when effect begins.
18808     * @param  from_b        RGB B when effect begins.
18809     * @param  from_a        RGB A when effect begins.
18810     * @param  to_r          RGB R when effect ends.
18811     * @param  to_g          RGB G when effect ends.
18812     * @param  to_b          RGB B when effect ends.
18813     * @param  to_a          RGB A when effect ends.
18814     * @return               Color effect context data.
18815     *
18816     * @ingroup Transit
18817     */
18818    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);
18819
18820    /**
18821     * Add the Fade Effect to Elm_Transit.
18822     *
18823     * @note This API is one of the facades. It creates fade effect context
18824     * and add it's required APIs to elm_transit_effect_add.
18825     * @note This effect is applied to each pair of objects in the order they are listed
18826     * in the transit list of objects. The first object in the pair will be the
18827     * "before" object and the second will be the "after" object.
18828     *
18829     * @see elm_transit_effect_add()
18830     *
18831     * @param transit Transit object.
18832     * @return Fade effect context data.
18833     *
18834     * @ingroup Transit
18835     * @warning It is highly recommended just create a transit with this effect when
18836     * the window that the objects of the transit belongs has already been created.
18837     * This is because this effect needs the color information about the objects,
18838     * and if the window was not created yet, it can get a wrong information.
18839     */
18840    EAPI Elm_Transit_Effect *elm_transit_effect_fade_add(Elm_Transit *transit);
18841
18842    /**
18843     * Add the Blend Effect to Elm_Transit.
18844     *
18845     * @note This API is one of the facades. It creates blend effect context
18846     * and add it's required APIs to elm_transit_effect_add.
18847     * @note This effect is applied to each pair of objects in the order they are listed
18848     * in the transit list of objects. The first object in the pair will be the
18849     * "before" object and the second will be the "after" object.
18850     *
18851     * @see elm_transit_effect_add()
18852     *
18853     * @param transit Transit object.
18854     * @return Blend effect context data.
18855     *
18856     * @ingroup Transit
18857     * @warning It is highly recommended just create a transit with this effect when
18858     * the window that the objects of the transit belongs has already been created.
18859     * This is because this effect needs the color information about the objects,
18860     * and if the window was not created yet, it can get a wrong information.
18861     */
18862    EAPI Elm_Transit_Effect *elm_transit_effect_blend_add(Elm_Transit *transit);
18863
18864    /**
18865     * Add the Rotation Effect to Elm_Transit.
18866     *
18867     * @note This API is one of the facades. It creates rotation effect context
18868     * and add it's required APIs to elm_transit_effect_add.
18869     *
18870     * @see elm_transit_effect_add()
18871     *
18872     * @param transit Transit object.
18873     * @param from_degree Degree when effect begins.
18874     * @param to_degree Degree when effect is ends.
18875     * @return Rotation effect context data.
18876     *
18877     * @ingroup Transit
18878     * @warning It is highly recommended just create a transit with this effect when
18879     * the window that the objects of the transit belongs has already been created.
18880     * This is because this effect needs the geometry information about the objects,
18881     * and if the window was not created yet, it can get a wrong information.
18882     */
18883    EAPI Elm_Transit_Effect *elm_transit_effect_rotation_add(Elm_Transit *transit, float from_degree, float to_degree);
18884
18885    /**
18886     * Add the ImageAnimation Effect to Elm_Transit.
18887     *
18888     * @note This API is one of the facades. It creates image animation effect context
18889     * and add it's required APIs to elm_transit_effect_add.
18890     * The @p images parameter is a list images paths. This list and
18891     * its contents will be deleted at the end of the effect by
18892     * elm_transit_effect_image_animation_context_free() function.
18893     *
18894     * Example:
18895     * @code
18896     * char buf[PATH_MAX];
18897     * Eina_List *images = NULL;
18898     * Elm_Transit *transi = elm_transit_add();
18899     *
18900     * snprintf(buf, sizeof(buf), "%s/images/icon_11.png", PACKAGE_DATA_DIR);
18901     * images = eina_list_append(images, eina_stringshare_add(buf));
18902     *
18903     * snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
18904     * images = eina_list_append(images, eina_stringshare_add(buf));
18905     * elm_transit_effect_image_animation_add(transi, images);
18906     *
18907     * @endcode
18908     *
18909     * @see elm_transit_effect_add()
18910     *
18911     * @param transit Transit object.
18912     * @param images Eina_List of images file paths. This list and
18913     * its contents will be deleted at the end of the effect by
18914     * elm_transit_effect_image_animation_context_free() function.
18915     * @return Image Animation effect context data.
18916     *
18917     * @ingroup Transit
18918     */
18919    EAPI Elm_Transit_Effect *elm_transit_effect_image_animation_add(Elm_Transit *transit, Eina_List *images);
18920    /**
18921     * @}
18922     */
18923
18924   typedef struct _Elm_Store                      Elm_Store;
18925   typedef struct _Elm_Store_Filesystem           Elm_Store_Filesystem;
18926   typedef struct _Elm_Store_Item                 Elm_Store_Item;
18927   typedef struct _Elm_Store_Item_Filesystem      Elm_Store_Item_Filesystem;
18928   typedef struct _Elm_Store_Item_Info            Elm_Store_Item_Info;
18929   typedef struct _Elm_Store_Item_Info_Filesystem Elm_Store_Item_Info_Filesystem;
18930   typedef struct _Elm_Store_Item_Mapping         Elm_Store_Item_Mapping;
18931   typedef struct _Elm_Store_Item_Mapping_Empty   Elm_Store_Item_Mapping_Empty;
18932   typedef struct _Elm_Store_Item_Mapping_Icon    Elm_Store_Item_Mapping_Icon;
18933   typedef struct _Elm_Store_Item_Mapping_Photo   Elm_Store_Item_Mapping_Photo;
18934   typedef struct _Elm_Store_Item_Mapping_Custom  Elm_Store_Item_Mapping_Custom;
18935
18936   typedef Eina_Bool (*Elm_Store_Item_List_Cb) (void *data, Elm_Store_Item_Info *info);
18937   typedef void      (*Elm_Store_Item_Fetch_Cb) (void *data, Elm_Store_Item *sti);
18938   typedef void      (*Elm_Store_Item_Unfetch_Cb) (void *data, Elm_Store_Item *sti);
18939   typedef void     *(*Elm_Store_Item_Mapping_Cb) (void *data, Elm_Store_Item *sti, const char *part);
18940
18941   typedef enum
18942     {
18943        ELM_STORE_ITEM_MAPPING_NONE = 0,
18944        ELM_STORE_ITEM_MAPPING_LABEL, // const char * -> label
18945        ELM_STORE_ITEM_MAPPING_STATE, // Eina_Bool -> state
18946        ELM_STORE_ITEM_MAPPING_ICON, // char * -> icon path
18947        ELM_STORE_ITEM_MAPPING_PHOTO, // char * -> photo path
18948        ELM_STORE_ITEM_MAPPING_CUSTOM, // item->custom(it->data, it, part) -> void * (-> any)
18949        // can add more here as needed by common apps
18950        ELM_STORE_ITEM_MAPPING_LAST
18951     } Elm_Store_Item_Mapping_Type;
18952
18953   struct _Elm_Store_Item_Mapping_Icon
18954     {
18955        // FIXME: allow edje file icons
18956        int                   w, h;
18957        Elm_Icon_Lookup_Order lookup_order;
18958        Eina_Bool             standard_name : 1;
18959        Eina_Bool             no_scale : 1;
18960        Eina_Bool             smooth : 1;
18961        Eina_Bool             scale_up : 1;
18962        Eina_Bool             scale_down : 1;
18963     };
18964
18965   struct _Elm_Store_Item_Mapping_Empty
18966     {
18967        Eina_Bool             dummy;
18968     };
18969
18970   struct _Elm_Store_Item_Mapping_Photo
18971     {
18972        int                   size;
18973     };
18974
18975   struct _Elm_Store_Item_Mapping_Custom
18976     {
18977        Elm_Store_Item_Mapping_Cb func;
18978     };
18979
18980   struct _Elm_Store_Item_Mapping
18981     {
18982        Elm_Store_Item_Mapping_Type     type;
18983        const char                     *part;
18984        int                             offset;
18985        union
18986          {
18987             Elm_Store_Item_Mapping_Empty  empty;
18988             Elm_Store_Item_Mapping_Icon   icon;
18989             Elm_Store_Item_Mapping_Photo  photo;
18990             Elm_Store_Item_Mapping_Custom custom;
18991             // add more types here
18992          } details;
18993     };
18994
18995   struct _Elm_Store_Item_Info
18996     {
18997       Elm_Genlist_Item_Class       *item_class;
18998       const Elm_Store_Item_Mapping *mapping;
18999       void                         *data;
19000       char                         *sort_id;
19001     };
19002
19003   struct _Elm_Store_Item_Info_Filesystem
19004     {
19005       Elm_Store_Item_Info  base;
19006       char                *path;
19007     };
19008
19009 #define ELM_STORE_ITEM_MAPPING_END { ELM_STORE_ITEM_MAPPING_NONE, NULL, 0, { .empty = { EINA_TRUE } } }
19010 #define ELM_STORE_ITEM_MAPPING_OFFSET(st, it) offsetof(st, it)
19011
19012   EAPI void                    elm_store_free(Elm_Store *st);
19013
19014   EAPI Elm_Store              *elm_store_filesystem_new(void);
19015   EAPI void                    elm_store_filesystem_directory_set(Elm_Store *st, const char *dir) EINA_ARG_NONNULL(1);
19016   EAPI const char             *elm_store_filesystem_directory_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
19017   EAPI const char             *elm_store_item_filesystem_path_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
19018
19019   EAPI void                    elm_store_target_genlist_set(Elm_Store *st, Evas_Object *obj) EINA_ARG_NONNULL(1);
19020
19021   EAPI void                    elm_store_cache_set(Elm_Store *st, int max) EINA_ARG_NONNULL(1);
19022   EAPI int                     elm_store_cache_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
19023   EAPI void                    elm_store_list_func_set(Elm_Store *st, Elm_Store_Item_List_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
19024   EAPI void                    elm_store_fetch_func_set(Elm_Store *st, Elm_Store_Item_Fetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
19025   EAPI void                    elm_store_fetch_thread_set(Elm_Store *st, Eina_Bool use_thread) EINA_ARG_NONNULL(1);
19026   EAPI Eina_Bool               elm_store_fetch_thread_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
19027
19028   EAPI void                    elm_store_unfetch_func_set(Elm_Store *st, Elm_Store_Item_Unfetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
19029   EAPI void                    elm_store_sorted_set(Elm_Store *st, Eina_Bool sorted) EINA_ARG_NONNULL(1);
19030   EAPI Eina_Bool               elm_store_sorted_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
19031   EAPI void                    elm_store_item_data_set(Elm_Store_Item *sti, void *data) EINA_ARG_NONNULL(1);
19032   EAPI void                   *elm_store_item_data_get(Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
19033   EAPI const Elm_Store        *elm_store_item_store_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
19034   EAPI const Elm_Genlist_Item *elm_store_item_genlist_item_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
19035
19036    /* SegmentControl */
19037    typedef struct _Elm_Segment_Item Elm_Segment_Item;
19038    EAPI Evas_Object      *elm_segment_control_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
19039    EAPI Elm_Segment_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const char *label) EINA_ARG_NONNULL(1);
19040    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);
19041    EAPI void              elm_segment_control_item_del(Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
19042    EAPI void              elm_segment_control_item_del_at(Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
19043    EAPI int               elm_segment_control_item_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19044    EAPI Elm_Segment_Item *elm_segment_control_item_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
19045    EAPI const char       *elm_segment_control_item_label_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
19046    EAPI void              elm_segment_control_item_label_set(Elm_Segment_Item* it, const char* label) EINA_ARG_NONNULL(1);
19047    EAPI Evas_Object      *elm_segment_control_item_icon_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
19048    EAPI void              elm_segment_control_item_icon_set(Elm_Segment_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
19049    EAPI int               elm_segment_control_item_index_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
19050    EAPI Evas_Object      *elm_segment_control_item_object_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
19051    EAPI Elm_Segment_Item *elm_segment_control_item_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19052    EAPI void              elm_segment_control_item_selected_set(Elm_Segment_Item *it, Eina_Bool select) EINA_ARG_NONNULL(1);
19053    /* smart callbacks called:
19054     * "changed" -when the user clicks on a segment item which is not previously
19055     *            selected and get selected. The event_info parameter is the
19056     *            segment item index.
19057     */
19058
19059    EAPI Evas_Object *elm_grid_add(Evas_Object *parent);
19060    EAPI void         elm_grid_size_set(Evas_Object *obj, int w, int h);
19061    EAPI void         elm_grid_size_get(Evas_Object *obj, int *w, int *h);
19062    EAPI void         elm_grid_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h);
19063    EAPI void         elm_grid_unpack(Evas_Object *obj, Evas_Object *subobj);
19064    EAPI void         elm_grid_clear(Evas_Object *obj, Eina_Bool clear);
19065    EAPI void         elm_grid_pack_set(Evas_Object *subobj, int x, int y, int w, int h);
19066    EAPI void         elm_grid_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h);
19067
19068    EAPI Evas_Object *elm_genscroller_add(Evas_Object *parent);
19069    EAPI void         elm_genscroller_world_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h);
19070
19071    EAPI Evas_Object *elm_video_add(Evas_Object *parent);
19072    EAPI void elm_video_file_set(Evas_Object *video, const char *filename);
19073    EAPI void elm_video_uri_set(Evas_Object *video, const char *uri);
19074    EAPI Evas_Object *elm_video_emotion_get(Evas_Object *video);
19075    EAPI void elm_video_play(Evas_Object *video);
19076    EAPI void elm_video_pause(Evas_Object *video);
19077    EAPI void elm_video_stop(Evas_Object *video);
19078    EAPI Eina_Bool elm_video_is_playing(Evas_Object *video);
19079    EAPI Eina_Bool elm_video_is_seekable(Evas_Object *video);
19080    EAPI Eina_Bool elm_video_audio_mute_get(Evas_Object *video);
19081    EAPI void elm_video_audio_mute_set(Evas_Object *video, Eina_Bool mute);
19082    EAPI double elm_video_audio_level_get(Evas_Object *video);
19083    EAPI void elm_video_audio_level_set(Evas_Object *video, double volume);
19084    EAPI double elm_video_play_position_get(Evas_Object *video);
19085    EAPI void elm_video_play_position_set(Evas_Object *video, double position);
19086    EAPI double elm_video_play_length_get(Evas_Object *video);
19087    EAPI void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember);
19088    EAPI Eina_Bool elm_video_remember_position_get(Evas_Object *video);
19089    EAPI const char *elm_video_title_get(Evas_Object *video);
19090
19091    EAPI Evas_Object *elm_player_add(Evas_Object *parent);
19092    EAPI void elm_player_video_set(Evas_Object *player, Evas_Object *video);
19093
19094   /* naviframe */
19095    typedef struct _Elm_Naviframe_Item Elm_Naviframe_Item;
19096
19097    typedef enum
19098      {
19099         ELM_NAVIFRAME_PREV_BUTTON,
19100         ELM_NAVIFRAME_NEXT_BUTTON
19101      } Elm_Naviframe_Button_Type;
19102
19103    EAPI Evas_Object        *elm_naviframe_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
19104    EAPI Elm_Naviframe_Item *elm_naviframe_item_push(Evas_Object *obj, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style) EINA_ARG_NONNULL(1, 5);
19105    EAPI Evas_Object        *elm_naviframe_item_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
19106    EAPI void                elm_naviframe_content_preserve_on_pop_set(Evas_Object *obj, Eina_Bool preserve) EINA_ARG_NONNULL(1);
19107    EAPI Eina_Bool           elm_naviframe_content_preserve_on_pop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19108    EAPI void                elm_naviframe_item_content_set(Elm_Naviframe_Item *item, Evas_Object *content) EINA_ARG_NONNULL(1);
19109    EAPI Evas_Object        *elm_naviframe_item_content_get(const Elm_Naviframe_Item *it) EINA_ARG_NONNULL(1);
19110    EAPI void                elm_naviframe_item_title_label_set(Elm_Naviframe_Item *it, const char *label) EINA_ARG_NONNULL(1);
19111    EAPI const char         *elm_naviframe_item_title_label_get(const Elm_Naviframe_Item *it) EINA_ARG_NONNULL(1);
19112    EAPI void                elm_naviframe_item_subtitle_label_set(Elm_Naviframe_Item *it, const char *label) EINA_ARG_NONNULL(1);
19113    EAPI const char         *elm_naviframe_item_subtitle_label_get(const Elm_Naviframe_Item *it) EINA_ARG_NONNULL(1);
19114    EAPI Elm_Naviframe_Item *elm_naviframe_top_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19115    EAPI Elm_Naviframe_Item *elm_naviframe_bottom_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19116    EAPI void                elm_naviframe_item_button_set(Elm_Naviframe_Item *it, Evas_Object *btn, Elm_Naviframe_Button_Type btn_type) EINA_ARG_NONNULL(1);
19117    EAPI Evas_Object        *elm_naviframe_item_button_get(const Elm_Naviframe_Item *it, Elm_Naviframe_Button_Type btn_type) EINA_ARG_NONNULL(1);
19118    EAPI void                elm_naviframe_item_icon_set(Elm_Naviframe_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
19119    EAPI Evas_Object        *elm_naviframe_item_icon_get(const Elm_Naviframe_Item *it) EINA_ARG_NONNULL(1);
19120    EAPI void                elm_naviframe_item_style_set(Elm_Naviframe_Item *it, const char *item_style) EINA_ARG_NONNULL(1);
19121    EAPI const char         *elm_naviframe_item_style_get(const Elm_Naviframe_Item *it) EINA_ARG_NONNULL(1);
19122    EAPI void                elm_naviframe_item_title_visible_set(Elm_Naviframe_Item *it, Eina_Bool visible) EINA_ARG_NONNULL(1);
19123    EAPI Eina_Bool           elm_naviframe_item_title_visible_get(const Elm_Naviframe_Item *it) EINA_ARG_NONNULL(1);
19124
19125 #ifdef __cplusplus
19126 }
19127 #endif
19128
19129 #endif