elementary: deprecate elm_toolbar_orientation_set and elm_toolbar_orientation_get...
[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 0.8.0
15 @date 2008-2011
16
17 @section intro What is Elementary?
18
19 This is a VERY SIMPLE toolkit. It is not meant for writing extensive desktop
20 applications (yet). Small simple ones with simple needs.
21
22 It is meant to make the programmers work almost brainless but give them lots
23 of flexibility.
24
25 @li @ref Start - Go here to quickly get started with writing Apps
26
27 @section organization Organization
28
29 One can divide Elemementary into three main groups:
30 @li @ref infralist - These are modules that deal with Elementary as a whole.
31 @li @ref widgetslist - These are the widgets you'll compose your UI out of.
32 @li @ref containerslist - These are the containers which hold the widgets.
33
34 @section license License
35
36 LGPL v2 (see COPYING in the base of Elementary's source). This applies to
37 all files in the source tree.
38
39 @section ack Acknowledgements
40 There is a lot that goes into making a widget set, and they don't happen out of
41 nothing. It's like trying to make everyone everywhere happy, regardless of age,
42 gender, race or nationality - and that is really tough. So thanks to people and
43 organisations behind this, as listed in the @ref authors page.
44 */
45
46
47 /**
48  * @defgroup Start Getting Started
49  *
50  * To write an Elementary app, you can get started with the following:
51  *
52 @code
53 #include <Elementary.h>
54 EAPI_MAIN int
55 elm_main(int argc, char **argv)
56 {
57    // create window(s) here and do any application init
58    elm_run(); // run main loop
59    elm_shutdown(); // after mainloop finishes running, shutdown
60    return 0; // exit 0 for exit code
61 }
62 ELM_MAIN()
63 @endcode
64  *
65  * To use autotools (which helps in many ways in the long run, like being able
66  * to immediately create releases of your software directly from your tree
67  * and ensure everything needed to build it is there) you will need a
68  * configure.ac, Makefile.am and autogen.sh file.
69  *
70  * configure.ac:
71  *
72 @verbatim
73 AC_INIT(myapp, 0.0.0, myname@mydomain.com)
74 AC_PREREQ(2.52)
75 AC_CONFIG_SRCDIR(configure.ac)
76 AM_CONFIG_HEADER(config.h)
77 AC_PROG_CC
78 AM_INIT_AUTOMAKE(1.6 dist-bzip2)
79 PKG_CHECK_MODULES([ELEMENTARY], elementary)
80 AC_OUTPUT(Makefile)
81 @endverbatim
82  *
83  * Makefile.am:
84  *
85 @verbatim
86 AUTOMAKE_OPTIONS = 1.4 foreign
87 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in configure depcomp install-sh missing
88
89 INCLUDES = -I$(top_srcdir)
90
91 bin_PROGRAMS = myapp
92
93 myapp_SOURCES = main.c
94 myapp_LDADD = @ELEMENTARY_LIBS@
95 myapp_CFLAGS = @ELEMENTARY_CFLAGS@
96 @endverbatim
97  *
98  * autogen.sh:
99  *
100 @verbatim
101 #!/bin/sh
102 echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
103 echo "Running autoheader..." ; autoheader || exit 1
104 echo "Running autoconf..." ; autoconf || exit 1
105 echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
106 ./configure "$@"
107 @endverbatim
108  *
109  * To generate all the things needed to bootstrap just run:
110  *
111 @verbatim
112 ./autogen.sh
113 @endverbatim
114  *
115  * This will generate Makefile.in's, the confgure script and everything else.
116  * After this it works like all normal autotools projects:
117 @verbatim
118 ./configure
119 make
120 sudo make install
121 @endverbatim
122  *
123  * Note sudo was assumed to get root permissions, as this would install in
124  * /usr/local which is system-owned. Use any way you like to gain root, or
125  * specify a different prefix with configure:
126  *
127 @verbatim
128 ./confiugre --prefix=$HOME/mysoftware
129 @endverbatim
130  *
131  * Also remember that autotools buys you some useful commands like:
132 @verbatim
133 make uninstall
134 @endverbatim
135  *
136  * This uninstalls the software after it was installed with "make install".
137  * It is very useful to clear up what you built if you wish to clean the
138  * system.
139  *
140 @verbatim
141 make distcheck
142 @endverbatim
143  *
144  * This firstly checks if your build tree is "clean" and ready for
145  * distribution. It also builds a tarball (myapp-0.0.0.tar.gz) that is
146  * ready to upload and distribute to the world, that contains the generated
147  * Makefile.in's and configure script. The users do not need to run
148  * autogen.sh - just configure and on. They don't need autotools installed.
149  * This tarball also builds cleanly, has all the sources it needs to build
150  * included (that is sources for your application, not libraries it depends
151  * on like Elementary). It builds cleanly in a buildroot and does not
152  * contain any files that are temporarily generated like binaries and other
153  * build-generated files, so the tarball is clean, and no need to worry
154  * about cleaning up your tree before packaging.
155  *
156 @verbatim
157 make clean
158 @endverbatim
159  *
160  * This cleans up all build files (binaries, objects etc.) from the tree.
161  *
162 @verbatim
163 make distclean
164 @endverbatim
165  *
166  * This cleans out all files from the build and from configure's output too.
167  *
168 @verbatim
169 make maintainer-clean
170 @endverbatim
171  *
172  * This deletes all the files autogen.sh will produce so the tree is clean
173  * to be put into a revision-control system (like CVS, SVN or GIT for example).
174  *
175  * There is a more advanced way of making use of the quicklaunch infrastructure
176  * in Elementary (which will not be covered here due to its more advanced
177  * nature).
178  *
179  * Now let's actually create an interactive "Hello World" gui that you can
180  * click the ok button to exit. It's more code because this now does something
181  * much more significant, but it's still very simple:
182  *
183 @code
184 #include <Elementary.h>
185
186 static void
187 on_done(void *data, Evas_Object *obj, void *event_info)
188 {
189    // quit the mainloop (elm_run function will return)
190    elm_exit();
191 }
192
193 EAPI_MAIN int
194 elm_main(int argc, char **argv)
195 {
196    Evas_Object *win, *bg, *box, *lab, *btn;
197
198    // new window - do the usual and give it a name (hello) and title (Hello)
199    win = elm_win_util_standard_add("hello", "Hello");
200    // when the user clicks "close" on a window there is a request to delete
201    evas_object_smart_callback_add(win, "delete,request", on_done, NULL);
202
203    // add a box object - default is vertical. a box holds children in a row,
204    // either horizontally or vertically. nothing more.
205    box = elm_box_add(win);
206    // make the box hotizontal
207    elm_box_horizontal_set(box, EINA_TRUE);
208    // add object as a resize object for the window (controls window minimum
209    // size as well as gets resized if window is resized)
210    elm_win_resize_object_add(win, box);
211    evas_object_show(box);
212
213    // add a label widget, set the text and put it in the pad frame
214    lab = elm_label_add(win);
215    // set default text of the label
216    elm_object_text_set(lab, "Hello out there world!");
217    // pack the label at the end of the box
218    elm_box_pack_end(box, lab);
219    evas_object_show(lab);
220
221    // add an ok button
222    btn = elm_button_add(win);
223    // set default text of button to "OK"
224    elm_object_text_set(btn, "OK");
225    // pack the button at the end of the box
226    elm_box_pack_end(box, btn);
227    evas_object_show(btn);
228    // call on_done when button is clicked
229    evas_object_smart_callback_add(btn, "clicked", on_done, NULL);
230
231    // now we are done, show the window
232    evas_object_show(win);
233
234    // run the mainloop and process events and callbacks
235    elm_run();
236    return 0;
237 }
238 ELM_MAIN()
239 @endcode
240    *
241    */
242
243 /**
244 @page authors Authors
245 @author Carsten Haitzler <raster@@rasterman.com>
246 @author Gustavo Sverzut Barbieri <barbieri@@profusion.mobi>
247 @author Cedric Bail <cedric.bail@@free.fr>
248 @author Vincent Torri <vtorri@@univ-evry.fr>
249 @author Daniel Kolesa <quaker66@@gmail.com>
250 @author Jaime Thomas <avi.thomas@@gmail.com>
251 @author Swisscom - http://www.swisscom.ch/
252 @author Christopher Michael <devilhorns@@comcast.net>
253 @author Marco Trevisan (Treviño) <mail@@3v1n0.net>
254 @author Michael Bouchaud <michael.bouchaud@@gmail.com>
255 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
256 @author Brian Wang <brian.wang.0721@@gmail.com>
257 @author Mike Blumenkrantz (zmike) <mike@@zentific.com>
258 @author Samsung Electronics <tbd>
259 @author Samsung SAIT <tbd>
260 @author Brett Nash <nash@@nash.id.au>
261 @author Bruno Dilly <bdilly@@profusion.mobi>
262 @author Rafael Fonseca <rfonseca@@profusion.mobi>
263 @author Chuneon Park <hermet@@hermet.pe.kr>
264 @author Woohyun Jung <wh0705.jung@@samsung.com>
265 @author Jaehwan Kim <jae.hwan.kim@@samsung.com>
266 @author Wonguk Jeong <wonguk.jeong@@samsung.com>
267 @author Leandro A. F. Pereira <leandro@@profusion.mobi>
268 @author Helen Fornazier <helen.fornazier@@profusion.mobi>
269 @author Gustavo Lima Chaves <glima@@profusion.mobi>
270 @author Fabiano Fidêncio <fidencio@@profusion.mobi>
271 @author Tiago Falcão <tiago@@profusion.mobi>
272 @author Otavio Pontes <otavio@@profusion.mobi>
273 @author Viktor Kojouharov <vkojouharov@@gmail.com>
274 @author Daniel Juyung Seo (SeoZ) <juyung.seo@@samsung.com> <seojuyung2@@gmail.com>
275 @author Sangho Park <sangho.g.park@@samsung.com> <gouache95@@gmail.com>
276 @author Rajeev Ranjan (Rajeev) <rajeev.r@@samsung.com> <rajeev.jnnce@@gmail.com>
277 @author Seunggyun Kim <sgyun.kim@@samsung.com> <tmdrbs@@gmail.com>
278 @author Sohyun Kim <anna1014.kim@@samsung.com> <sohyun.anna@@gmail.com>
279 @author Jihoon Kim <jihoon48.kim@@samsung.com>
280 @author Jeonghyun Yun (arosis) <jh0506.yun@@samsung.com>
281 @author Tom Hacohen <tom@@stosb.com>
282 @author Aharon Hillel <a.hillel@@partner.samsung.com>
283 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
284 @author Shinwoo Kim <kimcinoo@@gmail.com>
285 @author Govindaraju SM <govi.sm@@samsung.com> <govism@@gmail.com>
286 @author Prince Kumar Dubey <prince.dubey@@samsung.com> <prince.dubey@@gmail.com>
287 @author Sung W. Park <sungwoo@gmail.com>
288 @author Thierry el Borgi <thierry@substantiel.fr>
289 @author Shilpa Singh <shilpa.singh@samsung.com> <shilpasingh.o@gmail.com>
290 @author Chanwook Jung <joey.jung@samsung.com>
291 @author Hyoyoung Chang <hyoyoung.chang@samsung.com>
292 @author Guillaume "Kuri" Friloux <guillaume.friloux@asp64.com>
293 @author Kim Yunhan <spbear@gmail.com>
294
295 Please contact <enlightenment-devel@lists.sourceforge.net> to get in
296 contact with the developers and maintainers.
297  */
298
299 #ifndef ELEMENTARY_H
300 #define ELEMENTARY_H
301
302 /**
303  * @file Elementary.h
304  * @brief Elementary's API
305  *
306  * Elementary API.
307  */
308
309 @ELM_UNIX_DEF@ ELM_UNIX
310 @ELM_WIN32_DEF@ ELM_WIN32
311 @ELM_WINCE_DEF@ ELM_WINCE
312 @ELM_EDBUS_DEF@ ELM_EDBUS
313 @ELM_EFREET_DEF@ ELM_EFREET
314 @ELM_ETHUMB_DEF@ ELM_ETHUMB
315 @ELM_WEB_DEF@ ELM_WEB
316 @ELM_EMAP_DEF@ ELM_EMAP
317 @ELM_DEBUG_DEF@ ELM_DEBUG
318 @ELM_ALLOCA_H_DEF@ ELM_ALLOCA_H
319 @ELM_LIBINTL_H_DEF@ ELM_LIBINTL_H
320
321 /* Standard headers for standard system calls etc. */
322 #include <stdio.h>
323 #include <stdlib.h>
324 #include <unistd.h>
325 #include <string.h>
326 #include <sys/types.h>
327 #include <sys/stat.h>
328 #include <sys/time.h>
329 #include <sys/param.h>
330 #include <dlfcn.h>
331 #include <math.h>
332 #include <fnmatch.h>
333 #include <limits.h>
334 #include <ctype.h>
335 #include <time.h>
336 #include <dirent.h>
337 #include <pwd.h>
338 #include <errno.h>
339
340 #ifdef ELM_UNIX
341 # include <locale.h>
342 # ifdef ELM_LIBINTL_H
343 #  include <libintl.h>
344 # endif
345 # include <signal.h>
346 # include <grp.h>
347 # include <glob.h>
348 #endif
349
350 #ifdef ELM_ALLOCA_H
351 # include <alloca.h>
352 #endif
353
354 #if defined (ELM_WIN32) || defined (ELM_WINCE)
355 # include <malloc.h>
356 # ifndef alloca
357 #  define alloca _alloca
358 # endif
359 #endif
360
361
362 /* EFL headers */
363 #include <Eina.h>
364 #include <Eet.h>
365 #include <Evas.h>
366 #include <Evas_GL.h>
367 #include <Ecore.h>
368 #include <Ecore_Evas.h>
369 #include <Ecore_File.h>
370 #include <Ecore_IMF.h>
371 #include <Ecore_Con.h>
372 #include <Edje.h>
373
374 #ifdef ELM_EDBUS
375 # include <E_DBus.h>
376 #endif
377
378 #ifdef ELM_EFREET
379 # include <Efreet.h>
380 # include <Efreet_Mime.h>
381 # include <Efreet_Trash.h>
382 #endif
383
384 #ifdef ELM_ETHUMB
385 # include <Ethumb_Client.h>
386 #endif
387
388 #ifdef ELM_EMAP
389 # include <EMap.h>
390 #endif
391
392 #ifdef EAPI
393 # undef EAPI
394 #endif
395
396 #ifdef _WIN32
397 # ifdef ELEMENTARY_BUILD
398 #  ifdef DLL_EXPORT
399 #   define EAPI __declspec(dllexport)
400 #  else
401 #   define EAPI
402 #  endif /* ! DLL_EXPORT */
403 # else
404 #  define EAPI __declspec(dllimport)
405 # endif /* ! EFL_EVAS_BUILD */
406 #else
407 # ifdef __GNUC__
408 #  if __GNUC__ >= 4
409 #   define EAPI __attribute__ ((visibility("default")))
410 #  else
411 #   define EAPI
412 #  endif
413 # else
414 #  define EAPI
415 # endif
416 #endif /* ! _WIN32 */
417
418 #ifdef _WIN32
419 # define EAPI_MAIN
420 #else
421 # define EAPI_MAIN EAPI
422 #endif
423
424 /* allow usage from c++ */
425 #ifdef __cplusplus
426 extern "C" {
427 #endif
428
429 #define ELM_VERSION_MAJOR @VMAJ@
430 #define ELM_VERSION_MINOR @VMIN@
431
432    typedef struct _Elm_Version
433      {
434         int major;
435         int minor;
436         int micro;
437         int revision;
438      } Elm_Version;
439
440    EAPI extern Elm_Version *elm_version;
441
442 /* handy macros */
443 #define ELM_RECTS_INTERSECT(x, y, w, h, xx, yy, ww, hh) (((x) < ((xx) + (ww))) && ((y) < ((yy) + (hh))) && (((x) + (w)) > (xx)) && (((y) + (h)) > (yy)))
444 #define ELM_PI 3.14159265358979323846
445
446    /**
447     * @defgroup General General
448     *
449     * @brief General Elementary API. Functions that don't relate to
450     * Elementary objects specifically.
451     *
452     * Here are documented functions which init/shutdown the library,
453     * that apply to generic Elementary objects, that deal with
454     * configuration, et cetera.
455     *
456     * @ref general_functions_example_page "This" example contemplates
457     * some of these functions.
458     */
459
460    /**
461     * @addtogroup General
462     * @{
463     */
464
465   /**
466    * Defines couple of standard Evas_Object layers to be used
467    * with evas_object_layer_set().
468    *
469    * @note whenever extending with new values, try to keep some padding
470    *       to siblings so there is room for further extensions.
471    */
472   typedef enum _Elm_Object_Layer
473     {
474        ELM_OBJECT_LAYER_BACKGROUND = EVAS_LAYER_MIN + 64, /**< where to place backgrounds */
475        ELM_OBJECT_LAYER_DEFAULT = 0, /**< Evas_Object default layer (and thus for Elementary) */
476        ELM_OBJECT_LAYER_FOCUS = EVAS_LAYER_MAX - 128, /**< where focus object visualization is */
477        ELM_OBJECT_LAYER_TOOLTIP = EVAS_LAYER_MAX - 64, /**< where to show tooltips */
478        ELM_OBJECT_LAYER_CURSOR = EVAS_LAYER_MAX - 32, /**< where to show cursors */
479        ELM_OBJECT_LAYER_LAST /**< last layer known by Elementary */
480     } Elm_Object_Layer;
481
482 /**************************************************************************/
483    EAPI extern int ELM_ECORE_EVENT_ETHUMB_CONNECT;
484
485    /**
486     * Emitted when the application has reconfigured elementary settings due
487     * to an external configuration tool asking it to.
488     */
489    EAPI extern int ELM_EVENT_CONFIG_ALL_CHANGED;
490
491    /**
492     * Emitted when any Elementary's policy value is changed.
493     */
494    EAPI extern int ELM_EVENT_POLICY_CHANGED;
495
496    /**
497     * @typedef Elm_Event_Policy_Changed
498     *
499     * Data on the event when an Elementary policy has changed
500     */
501     typedef struct _Elm_Event_Policy_Changed Elm_Event_Policy_Changed;
502
503    /**
504     * @struct _Elm_Event_Policy_Changed
505     *
506     * Data on the event when an Elementary policy has changed
507     */
508     struct _Elm_Event_Policy_Changed
509      {
510         unsigned int policy; /**< the policy identifier */
511         int          new_value; /**< value the policy had before the change */
512         int          old_value; /**< new value the policy got */
513     };
514
515    /**
516     * Policy identifiers.
517     */
518     typedef enum _Elm_Policy
519     {
520         ELM_POLICY_QUIT, /**< under which circumstances the application
521                           * should quit automatically. @see
522                           * Elm_Policy_Quit.
523                           */
524         ELM_POLICY_LAST
525     } Elm_Policy; /**< Elementary policy identifiers/groups enumeration.  @see elm_policy_set()
526  */
527
528    typedef enum _Elm_Policy_Quit
529      {
530         ELM_POLICY_QUIT_NONE = 0, /**< never quit the application
531                                    * automatically */
532         ELM_POLICY_QUIT_LAST_WINDOW_CLOSED /**< quit when the
533                                             * application's last
534                                             * window is closed */
535      } Elm_Policy_Quit; /**< Possible values for the #ELM_POLICY_QUIT policy */
536
537    typedef enum _Elm_Focus_Direction
538      {
539         ELM_FOCUS_PREVIOUS,
540         ELM_FOCUS_NEXT
541      } Elm_Focus_Direction;
542
543    typedef enum _Elm_Text_Format
544      {
545         ELM_TEXT_FORMAT_PLAIN_UTF8,
546         ELM_TEXT_FORMAT_MARKUP_UTF8
547      } Elm_Text_Format;
548
549    /**
550     * Line wrapping types.
551     */
552    typedef enum _Elm_Wrap_Type
553      {
554         ELM_WRAP_NONE = 0, /**< No wrap - value is zero */
555         ELM_WRAP_CHAR, /**< Char wrap - wrap between characters */
556         ELM_WRAP_WORD, /**< Word wrap - wrap in allowed wrapping points (as defined in the unicode standard) */
557         ELM_WRAP_MIXED, /**< Mixed wrap - Word wrap, and if that fails, char wrap. */
558         ELM_WRAP_LAST
559      } Elm_Wrap_Type;
560
561    typedef enum
562      {
563         ELM_INPUT_PANEL_LAYOUT_NORMAL,          /**< Default layout */
564         ELM_INPUT_PANEL_LAYOUT_NUMBER,          /**< Number layout */
565         ELM_INPUT_PANEL_LAYOUT_EMAIL,           /**< Email layout */
566         ELM_INPUT_PANEL_LAYOUT_URL,             /**< URL layout */
567         ELM_INPUT_PANEL_LAYOUT_PHONENUMBER,     /**< Phone Number layout */
568         ELM_INPUT_PANEL_LAYOUT_IP,              /**< IP layout */
569         ELM_INPUT_PANEL_LAYOUT_MONTH,           /**< Month layout */
570         ELM_INPUT_PANEL_LAYOUT_NUMBERONLY,      /**< Number Only layout */
571         ELM_INPUT_PANEL_LAYOUT_INVALID
572      } Elm_Input_Panel_Layout;
573
574    typedef enum
575      {
576         ELM_AUTOCAPITAL_TYPE_NONE,
577         ELM_AUTOCAPITAL_TYPE_WORD,
578         ELM_AUTOCAPITAL_TYPE_SENTENCE,
579         ELM_AUTOCAPITAL_TYPE_ALLCHARACTER,
580      } Elm_Autocapital_Type;
581
582    /**
583     * @typedef Elm_Object_Item
584     * An Elementary Object item handle.
585     * @ingroup General
586     */
587    typedef struct _Elm_Object_Item Elm_Object_Item;
588
589
590    /**
591     * Called back when a widget's tooltip is activated and needs content.
592     * @param data user-data given to elm_object_tooltip_content_cb_set()
593     * @param obj owner widget.
594     * @param tooltip The tooltip object (affix content to this!)
595     */
596    typedef Evas_Object *(*Elm_Tooltip_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip);
597
598    /**
599     * Called back when a widget's item tooltip is activated and needs content.
600     * @param data user-data given to elm_object_tooltip_content_cb_set()
601     * @param obj owner widget.
602     * @param tooltip The tooltip object (affix content to this!)
603     * @param item context dependent item. As an example, if tooltip was
604     *        set on Elm_List_Item, then it is of this type.
605     */
606    typedef Evas_Object *(*Elm_Tooltip_Item_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip, void *item);
607
608    typedef Eina_Bool (*Elm_Event_Cb) (void *data, Evas_Object *obj, Evas_Object *src, Evas_Callback_Type type, void *event_info); /**< Function prototype definition for callbacks on input events happening on Elementary widgets. @a data will receive the user data pointer passed to elm_object_event_callback_add(). @a src will be a pointer to the widget on which the input event took place. @a type will get the type of this event and @a event_info, the struct with details on this event. */
609
610 #ifndef ELM_LIB_QUICKLAUNCH
611 #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 */
612 #else
613 #define ELM_MAIN() int main(int argc, char **argv) {return elm_quicklaunch_fallback(argc, argv);} /**< macro to be used after the elm_main() function */
614 #endif
615
616 /**************************************************************************/
617    /* General calls */
618
619    /**
620     * Initialize Elementary
621     *
622     * @param[in] argc System's argument count value
623     * @param[in] argv System's pointer to array of argument strings
624     * @return The init counter value.
625     *
626     * This function initializes Elementary and increments a counter of
627     * the number of calls to it. It returns the new counter's value.
628     *
629     * @warning This call is exported only for use by the @c ELM_MAIN()
630     * macro. There is no need to use this if you use this macro (which
631     * is highly advisable). An elm_main() should contain the entry
632     * point code for your application, having the same prototype as
633     * elm_init(), and @b not being static (putting the @c EAPI symbol
634     * in front of its type declaration is advisable). The @c
635     * ELM_MAIN() call should be placed just after it.
636     *
637     * Example:
638     * @dontinclude bg_example_01.c
639     * @skip static void
640     * @until ELM_MAIN
641     *
642     * See the full @ref bg_example_01_c "example".
643     *
644     * @see elm_shutdown().
645     * @ingroup General
646     */
647    EAPI int          elm_init(int argc, char **argv);
648
649    /**
650     * Shut down Elementary
651     *
652     * @return The init counter value.
653     *
654     * This should be called at the end of your application, just
655     * before it ceases to do any more processing. This will clean up
656     * any permanent resources your application may have allocated via
657     * Elementary that would otherwise persist.
658     *
659     * @see elm_init() for an example
660     *
661     * @ingroup General
662     */
663    EAPI int          elm_shutdown(void);
664
665    /**
666     * Run Elementary's main loop
667     *
668     * This call should be issued just after all initialization is
669     * completed. This function will not return until elm_exit() is
670     * called. It will keep looping, running the main
671     * (event/processing) loop for Elementary.
672     *
673     * @see elm_init() for an example
674     *
675     * @ingroup General
676     */
677    EAPI void         elm_run(void);
678
679    /**
680     * Exit Elementary's main loop
681     *
682     * If this call is issued, it will flag the main loop to cease
683     * processing and return back to its parent function (usually your
684     * elm_main() function).
685     *
686     * @see elm_init() for an example. There, just after a request to
687     * close the window comes, the main loop will be left.
688     *
689     * @note By using the appropriate #ELM_POLICY_QUIT on your Elementary
690     * applications, you'll be able to get this function called automatically for you.
691     *
692     * @ingroup General
693     */
694    EAPI void         elm_exit(void);
695
696    /**
697     * Provide information in order to make Elementary determine the @b
698     * run time location of the software in question, so other data files
699     * such as images, sound files, executable utilities, libraries,
700     * modules and locale files can be found.
701     *
702     * @param mainfunc This is your application's main function name,
703     *        whose binary's location is to be found. Providing @c NULL
704     *        will make Elementary not to use it
705     * @param dom This will be used as the application's "domain", in the
706     *        form of a prefix to any environment variables that may
707     *        override prefix detection and the directory name, inside the
708     *        standard share or data directories, where the software's
709     *        data files will be looked for.
710     * @param checkfile This is an (optional) magic file's path to check
711     *        for existence (and it must be located in the data directory,
712     *        under the share directory provided above). Its presence will
713     *        help determine the prefix found was correct. Pass @c NULL if
714     *        the check is not to be done.
715     *
716     * This function allows one to re-locate the application somewhere
717     * else after compilation, if the developer wishes for easier
718     * distribution of pre-compiled binaries.
719     *
720     * The prefix system is designed to locate where the given software is
721     * installed (under a common path prefix) at run time and then report
722     * specific locations of this prefix and common directories inside
723     * this prefix like the binary, library, data and locale directories,
724     * through the @c elm_app_*_get() family of functions.
725     *
726     * Call elm_app_info_set() early on before you change working
727     * directory or anything about @c argv[0], so it gets accurate
728     * information.
729     *
730     * It will then try and trace back which file @p mainfunc comes from,
731     * if provided, to determine the application's prefix directory.
732     *
733     * The @p dom parameter provides a string prefix to prepend before
734     * environment variables, allowing a fallback to @b specific
735     * environment variables to locate the software. You would most
736     * probably provide a lowercase string there, because it will also
737     * serve as directory domain, explained next. For environment
738     * variables purposes, this string is made uppercase. For example if
739     * @c "myapp" is provided as the prefix, then the program would expect
740     * @c "MYAPP_PREFIX" as a master environment variable to specify the
741     * exact install prefix for the software, or more specific environment
742     * variables like @c "MYAPP_BIN_DIR", @c "MYAPP_LIB_DIR", @c
743     * "MYAPP_DATA_DIR" and @c "MYAPP_LOCALE_DIR", which could be set by
744     * the user or scripts before launching. If not provided (@c NULL),
745     * environment variables will not be used to override compiled-in
746     * defaults or auto detections.
747     *
748     * The @p dom string also provides a subdirectory inside the system
749     * shared data directory for data files. For example, if the system
750     * directory is @c /usr/local/share, then this directory name is
751     * appended, creating @c /usr/local/share/myapp, if it @p was @c
752     * "myapp". It is expected that the application installs data files in
753     * this directory.
754     *
755     * The @p checkfile is a file name or path of something inside the
756     * share or data directory to be used to test that the prefix
757     * detection worked. For example, your app will install a wallpaper
758     * image as @c /usr/local/share/myapp/images/wallpaper.jpg and so to
759     * check that this worked, provide @c "images/wallpaper.jpg" as the @p
760     * checkfile string.
761     *
762     * @see elm_app_compile_bin_dir_set()
763     * @see elm_app_compile_lib_dir_set()
764     * @see elm_app_compile_data_dir_set()
765     * @see elm_app_compile_locale_set()
766     * @see elm_app_prefix_dir_get()
767     * @see elm_app_bin_dir_get()
768     * @see elm_app_lib_dir_get()
769     * @see elm_app_data_dir_get()
770     * @see elm_app_locale_dir_get()
771     */
772    EAPI void         elm_app_info_set(void *mainfunc, const char *dom, const char *checkfile);
773
774    /**
775     * Provide information on the @b fallback application's binaries
776     * directory, in scenarios where they get overriden by
777     * elm_app_info_set().
778     *
779     * @param dir The path to the default binaries directory (compile time
780     * one)
781     *
782     * @note Elementary will as well use this path to determine actual
783     * names of binaries' directory paths, maybe changing it to be @c
784     * something/local/bin instead of @c something/bin, only, for
785     * example.
786     *
787     * @warning You should call this function @b before
788     * elm_app_info_set().
789     */
790    EAPI void         elm_app_compile_bin_dir_set(const char *dir);
791
792    /**
793     * Provide information on the @b fallback application's libraries
794     * directory, on scenarios where they get overriden by
795     * elm_app_info_set().
796     *
797     * @param dir The path to the default libraries directory (compile
798     * time one)
799     *
800     * @note Elementary will as well use this path to determine actual
801     * names of libraries' directory paths, maybe changing it to be @c
802     * something/lib32 or @c something/lib64 instead of @c something/lib,
803     * only, for example.
804     *
805     * @warning You should call this function @b before
806     * elm_app_info_set().
807     */
808    EAPI void         elm_app_compile_lib_dir_set(const char *dir);
809
810    /**
811     * Provide information on the @b fallback application's data
812     * directory, on scenarios where they get overriden by
813     * elm_app_info_set().
814     *
815     * @param dir The path to the default data directory (compile time
816     * one)
817     *
818     * @note Elementary will as well use this path to determine actual
819     * names of data directory paths, maybe changing it to be @c
820     * something/local/share instead of @c something/share, only, for
821     * example.
822     *
823     * @warning You should call this function @b before
824     * elm_app_info_set().
825     */
826    EAPI void         elm_app_compile_data_dir_set(const char *dir);
827
828    /**
829     * Provide information on the @b fallback application's locale
830     * directory, on scenarios where they get overriden by
831     * elm_app_info_set().
832     *
833     * @param dir The path to the default locale directory (compile time
834     * one)
835     *
836     * @warning You should call this function @b before
837     * elm_app_info_set().
838     */
839    EAPI void         elm_app_compile_locale_set(const char *dir);
840
841    /**
842     * Retrieve the application's run time prefix directory, as set by
843     * elm_app_info_set() and the way (environment) the application was
844     * run from.
845     *
846     * @return The directory prefix the application is actually using.
847     */
848    EAPI const char  *elm_app_prefix_dir_get(void);
849
850    /**
851     * Retrieve the application's run time binaries prefix directory, as
852     * set by elm_app_info_set() and the way (environment) the application
853     * was run from.
854     *
855     * @return The binaries directory prefix the application is actually
856     * using.
857     */
858    EAPI const char  *elm_app_bin_dir_get(void);
859
860    /**
861     * Retrieve the application's run time libraries prefix directory, as
862     * set by elm_app_info_set() and the way (environment) the application
863     * was run from.
864     *
865     * @return The libraries directory prefix the application is actually
866     * using.
867     */
868    EAPI const char  *elm_app_lib_dir_get(void);
869
870    /**
871     * Retrieve the application's run time data prefix directory, as
872     * set by elm_app_info_set() and the way (environment) the application
873     * was run from.
874     *
875     * @return The data directory prefix the application is actually
876     * using.
877     */
878    EAPI const char  *elm_app_data_dir_get(void);
879
880    /**
881     * Retrieve the application's run time locale prefix directory, as
882     * set by elm_app_info_set() and the way (environment) the application
883     * was run from.
884     *
885     * @return The locale directory prefix the application is actually
886     * using.
887     */
888    EAPI const char  *elm_app_locale_dir_get(void);
889
890    EAPI void         elm_quicklaunch_mode_set(Eina_Bool ql_on);
891    EAPI Eina_Bool    elm_quicklaunch_mode_get(void);
892    EAPI int          elm_quicklaunch_init(int argc, char **argv);
893    EAPI int          elm_quicklaunch_sub_init(int argc, char **argv);
894    EAPI int          elm_quicklaunch_sub_shutdown(void);
895    EAPI int          elm_quicklaunch_shutdown(void);
896    EAPI void         elm_quicklaunch_seed(void);
897    EAPI Eina_Bool    elm_quicklaunch_prepare(int argc, char **argv);
898    EAPI Eina_Bool    elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (postfork_func) (void *data), void *postfork_data);
899    EAPI void         elm_quicklaunch_cleanup(void);
900    EAPI int          elm_quicklaunch_fallback(int argc, char **argv);
901    EAPI char        *elm_quicklaunch_exe_path_get(const char *exe);
902
903    EAPI Eina_Bool    elm_need_efreet(void);
904    EAPI Eina_Bool    elm_need_e_dbus(void);
905
906    /**
907     * This must be called before any other function that deals with
908     * elm_thumb objects or ethumb_client instances.
909     *
910     * @ingroup Thumb
911     */
912    EAPI Eina_Bool    elm_need_ethumb(void);
913
914    /**
915     * This must be called before any other function that deals with
916     * elm_web objects or ewk_view instances.
917     *
918     * @ingroup Web
919     */
920    EAPI Eina_Bool    elm_need_web(void);
921
922    /**
923     * Set a new policy's value (for a given policy group/identifier).
924     *
925     * @param policy policy identifier, as in @ref Elm_Policy.
926     * @param value policy value, which depends on the identifier
927     *
928     * @return @c EINA_TRUE on success or @c EINA_FALSE, on error.
929     *
930     * Elementary policies define applications' behavior,
931     * somehow. These behaviors are divided in policy groups (see
932     * #Elm_Policy enumeration). This call will emit the Ecore event
933     * #ELM_EVENT_POLICY_CHANGED, which can be hooked at with
934     * handlers. An #Elm_Event_Policy_Changed struct will be passed,
935     * then.
936     *
937     * @note Currently, we have only one policy identifier/group
938     * (#ELM_POLICY_QUIT), which has two possible values.
939     *
940     * @ingroup General
941     */
942    EAPI Eina_Bool    elm_policy_set(unsigned int policy, int value);
943
944    /**
945     * Gets the policy value for given policy identifier.
946     *
947     * @param policy policy identifier, as in #Elm_Policy.
948     * @return The currently set policy value, for that
949     * identifier. Will be @c 0 if @p policy passed is invalid.
950     *
951     * @ingroup General
952     */
953    EAPI int          elm_policy_get(unsigned int policy);
954
955    /**
956     * Change the language of the current application
957     *
958     * The @p lang passed must be the full name of the locale to use, for
959     * example "en_US.utf8" or "es_ES@euro".
960     *
961     * Changing language with this function will make Elementary run through
962     * all its widgets, translating strings set with
963     * elm_object_domain_translatable_text_part_set(). This way, an entire
964     * UI can have its language changed without having to restart the program.
965     *
966     * For more complex cases, like having formatted strings that need
967     * translation, widgets will also emit a "language,changed" signal that
968     * the user can listen to to manually translate the text.
969     *
970     * @param lang Language to set, must be the full name of the locale
971     *
972     * @ingroup General
973     */
974    EAPI void         elm_language_set(const char *lang);
975
976    /**
977     * Set a label of an object
978     *
979     * @param obj The Elementary object
980     * @param part The text part name to set (NULL for the default label)
981     * @param label The new text of the label
982     *
983     * @note Elementary objects may have many labels (e.g. Action Slider)
984     *
985     * @ingroup General
986     */
987    EAPI void         elm_object_text_part_set(Evas_Object *obj, const char *part, const char *label);
988
989 #define elm_object_text_set(obj, label) elm_object_text_part_set((obj), NULL, (label))
990
991    /**
992     * Get a label of an object
993     *
994     * @param obj The Elementary object
995     * @param part The text part name to get (NULL for the default label)
996     * @return text of the label or NULL for any error
997     *
998     * @note Elementary objects may have many labels (e.g. Action Slider)
999     *
1000     * @ingroup General
1001     */
1002    EAPI const char  *elm_object_text_part_get(const Evas_Object *obj, const char *part);
1003
1004 #define elm_object_text_get(obj) elm_object_text_part_get((obj), NULL)
1005
1006    /**
1007     * Set the text for an objects' part, marking it as translatable.
1008     *
1009     * The string to set as @p text must be the original one. Do not pass the
1010     * return of @c gettext() here. Elementary will translate the string
1011     * internally and set it on the object using elm_object_text_part_set(),
1012     * also storing the original string so that it can be automatically
1013     * translated when the language is changed with elm_language_set().
1014     *
1015     * The @p domain will be stored along to find the translation in the
1016     * correct catalog. It can be NULL, in which case it will use whatever
1017     * domain was set by the application with @c textdomain(). This is useful
1018     * in case you are building a library on top of Elementary that will have
1019     * its own translatable strings, that should not be mixed with those of
1020     * programs using the library.
1021     *
1022     * @param obj The object containing the text part
1023     * @param part The name of the part to set
1024     * @param domain The translation domain to use
1025     * @param text The original, non-translated text to set
1026     *
1027     * @ingroup General
1028     */
1029    EAPI void         elm_object_domain_translatable_text_part_set(Evas_Object *obj, const char *part, const char *domain, const char *text);
1030
1031 #define elm_object_domain_translatable_text_set(obj, domain, text) elm_object_domain_translatable_text_part_set((obj), NULL, (domain), (text))
1032
1033 #define elm_object_translatable_text_set(obj, text) elm_object_domain_translatable_text_part_set((obj), NULL, NULL, (text))
1034
1035    /**
1036     * Gets the original string set as translatable for an object
1037     *
1038     * When setting translated strings, the function elm_object_text_part_get()
1039     * will return the translation returned by @c gettext(). To get the
1040     * original string use this function.
1041     *
1042     * @param obj The object
1043     * @param part The name of the part that was set
1044     *
1045     * @return The original, untranslated string
1046     *
1047     * @ingroup General
1048     */
1049    EAPI const char  *elm_object_translatable_text_part_get(const Evas_Object *obj, const char *part);
1050
1051 #define elm_object_translatable_text_get(obj) elm_object_translatable_text_part_get((obj), NULL)
1052
1053    /**
1054     * Set a content of an object
1055     *
1056     * @param obj The Elementary object
1057     * @param part The content part name to set (NULL for the default content)
1058     * @param content The new content of the object
1059     *
1060     * @note Elementary objects may have many contents
1061     *
1062     * @ingroup General
1063     */
1064    EAPI void elm_object_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
1065
1066 #define elm_object_content_set(obj, content) elm_object_content_part_set((obj), NULL, (content))
1067
1068    /**
1069     * Get a content of an object
1070     *
1071     * @param obj The Elementary object
1072     * @param item The content part name to get (NULL for the default content)
1073     * @return content of the object or NULL for any error
1074     *
1075     * @note Elementary objects may have many contents
1076     *
1077     * @ingroup General
1078     */
1079    EAPI Evas_Object *elm_object_content_part_get(const Evas_Object *obj, const char *part);
1080
1081 #define elm_object_content_get(obj) elm_object_content_part_get((obj), NULL)
1082
1083    /**
1084     * Unset a content of an object
1085     *
1086     * @param obj The Elementary object
1087     * @param item The content part name to unset (NULL for the default content)
1088     *
1089     * @note Elementary objects may have many contents
1090     *
1091     * @ingroup General
1092     */
1093    EAPI Evas_Object *elm_object_content_part_unset(Evas_Object *obj, const char *part);
1094
1095 #define elm_object_content_unset(obj) elm_object_content_part_unset((obj), NULL)
1096
1097    /**
1098     * Get the widget object's handle which contains a given item
1099     *
1100     * @param item The Elementary object item
1101     * @return The widget object
1102     *
1103     * @note This returns the widget object itself that an item belongs to.
1104     *
1105     * @ingroup General
1106     */
1107    EAPI Evas_Object *elm_object_item_object_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
1108
1109    /**
1110     * Set a content of an object item
1111     *
1112     * @param it The Elementary object item
1113     * @param part The content part name to set (NULL for the default content)
1114     * @param content The new content of the object item
1115     *
1116     * @note Elementary object items may have many contents
1117     *
1118     * @ingroup General
1119     */
1120    EAPI void elm_object_item_content_part_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
1121
1122 #define elm_object_item_content_set(it, content) elm_object_item_content_part_set((it), NULL, (content))
1123
1124    /**
1125     * Get a content of an object item
1126     *
1127     * @param it The Elementary object item
1128     * @param part The content part name to unset (NULL for the default content)
1129     * @return content of the object item or NULL for any error
1130     *
1131     * @note Elementary object items may have many contents
1132     *
1133     * @ingroup General
1134     */
1135    EAPI Evas_Object *elm_object_item_content_part_get(const Elm_Object_Item *it, const char *part);
1136
1137 #define elm_object_item_content_get(it) elm_object_item_content_part_get((it), NULL)
1138
1139    /**
1140     * Unset a content of an object item
1141     *
1142     * @param it The Elementary object item
1143     * @param part The content part name to unset (NULL for the default content)
1144     *
1145     * @note Elementary object items may have many contents
1146     *
1147     * @ingroup General
1148     */
1149    EAPI Evas_Object *elm_object_item_content_part_unset(Elm_Object_Item *it, const char *part);
1150
1151 #define elm_object_item_content_unset(it) elm_object_item_content_part_unset((it), NULL)
1152
1153    /**
1154     * Set a label of an object item
1155     *
1156     * @param it The Elementary object item
1157     * @param part The text part name to set (NULL for the default label)
1158     * @param label The new text of the label
1159     *
1160     * @note Elementary object items may have many labels
1161     *
1162     * @ingroup General
1163     */
1164    EAPI void elm_object_item_text_part_set(Elm_Object_Item *it, const char *part, const char *label);
1165
1166 #define elm_object_item_text_set(it, label) elm_object_item_text_part_set((it), NULL, (label))
1167
1168    /**
1169     * Get a label of an object item
1170     *
1171     * @param it The Elementary object item
1172     * @param part The text part name to get (NULL for the default label)
1173     * @return text of the label or NULL for any error
1174     *
1175     * @note Elementary object items may have many labels
1176     *
1177     * @ingroup General
1178     */
1179    EAPI const char *elm_object_item_text_part_get(const Elm_Object_Item *it, const char *part);
1180
1181 #define elm_object_item_text_get(it) elm_object_item_text_part_get((it), NULL)
1182
1183    /**
1184     * Set the text to read out when in accessibility mode
1185     *
1186     * @param obj The object which is to be described
1187     * @param txt The text that describes the widget to people with poor or no vision
1188     *
1189     * @ingroup General
1190     */
1191    EAPI void elm_object_access_info_set(Evas_Object *obj, const char *txt);
1192
1193    /**
1194     * Set the text to read out when in accessibility mode
1195     *
1196     * @param it The object item which is to be described
1197     * @param txt The text that describes the widget to people with poor or no vision
1198     *
1199     * @ingroup General
1200     */
1201    EAPI void elm_object_item_access_info_set(Elm_Object_Item *it, const char *txt);
1202
1203    /**
1204     * Get the data associated with an object item
1205     * @param it The object item
1206     * @return The data associated with @p it
1207     *
1208     * @ingroup General
1209     */
1210    EAPI void *elm_object_item_data_get(const Elm_Object_Item *it);
1211
1212    /**
1213     * Set the data associated with an object item
1214     * @param it The object item
1215     * @param data The data to be associated with @p it
1216     *
1217     * @ingroup General
1218     */
1219    EAPI void elm_object_item_data_set(Elm_Object_Item *it, void *data);
1220
1221    /**
1222     * Send a signal to the edje object of the widget item.
1223     *
1224     * This function sends a signal to the edje object of the obj item. An
1225     * edje program can respond to a signal by specifying matching
1226     * 'signal' and 'source' fields.
1227     *
1228     * @param it The Elementary object item
1229     * @param emission The signal's name.
1230     * @param source The signal's source.
1231     * @ingroup General
1232     */
1233    EAPI void             elm_object_item_signal_emit(Elm_Object_Item *it, const char *emission, const char *source) EINA_ARG_NONNULL(1);
1234
1235    /**
1236     * @}
1237     */
1238
1239    /**
1240     * @defgroup Caches Caches
1241     *
1242     * These are functions which let one fine-tune some cache values for
1243     * Elementary applications, thus allowing for performance adjustments.
1244     *
1245     * @{
1246     */
1247
1248    /**
1249     * @brief Flush all caches.
1250     *
1251     * Frees all data that was in cache and is not currently being used to reduce
1252     * memory usage. This frees Edje's, Evas' and Eet's cache. This is equivalent
1253     * to calling all of the following functions:
1254     * @li edje_file_cache_flush()
1255     * @li edje_collection_cache_flush()
1256     * @li eet_clearcache()
1257     * @li evas_image_cache_flush()
1258     * @li evas_font_cache_flush()
1259     * @li evas_render_dump()
1260     * @note Evas caches are flushed for every canvas associated with a window.
1261     *
1262     * @ingroup Caches
1263     */
1264    EAPI void         elm_all_flush(void);
1265
1266    /**
1267     * Get the configured cache flush interval time
1268     *
1269     * This gets the globally configured cache flush interval time, in
1270     * ticks
1271     *
1272     * @return The cache flush interval time
1273     * @ingroup Caches
1274     *
1275     * @see elm_all_flush()
1276     */
1277    EAPI int          elm_cache_flush_interval_get(void);
1278
1279    /**
1280     * Set the configured cache flush interval time
1281     *
1282     * This sets the globally configured cache flush interval time, in ticks
1283     *
1284     * @param size The cache flush interval time
1285     * @ingroup Caches
1286     *
1287     * @see elm_all_flush()
1288     */
1289    EAPI void         elm_cache_flush_interval_set(int size);
1290
1291    /**
1292     * Set the configured cache flush interval time for all applications on the
1293     * display
1294     *
1295     * This sets the globally configured cache flush interval time -- in ticks
1296     * -- for all applications on the display.
1297     *
1298     * @param size The cache flush interval time
1299     * @ingroup Caches
1300     */
1301    EAPI void         elm_cache_flush_interval_all_set(int size);
1302
1303    /**
1304     * Get the configured cache flush enabled state
1305     *
1306     * This gets the globally configured cache flush state - if it is enabled
1307     * or not. When cache flushing is enabled, elementary will regularly
1308     * (see elm_cache_flush_interval_get() ) flush caches and dump data out of
1309     * memory and allow usage to re-seed caches and data in memory where it
1310     * can do so. An idle application will thus minimise its memory usage as
1311     * data will be freed from memory and not be re-loaded as it is idle and
1312     * not rendering or doing anything graphically right now.
1313     *
1314     * @return The cache flush state
1315     * @ingroup Caches
1316     *
1317     * @see elm_all_flush()
1318     */
1319    EAPI Eina_Bool    elm_cache_flush_enabled_get(void);
1320
1321    /**
1322     * Set the configured cache flush enabled state
1323     *
1324     * This sets the globally configured cache flush enabled state.
1325     *
1326     * @param size The cache flush enabled state
1327     * @ingroup Caches
1328     *
1329     * @see elm_all_flush()
1330     */
1331    EAPI void         elm_cache_flush_enabled_set(Eina_Bool enabled);
1332
1333    /**
1334     * Set the configured cache flush enabled state for all applications on the
1335     * display
1336     *
1337     * This sets the globally configured cache flush enabled state for all
1338     * applications on the display.
1339     *
1340     * @param size The cache flush enabled state
1341     * @ingroup Caches
1342     */
1343    EAPI void         elm_cache_flush_enabled_all_set(Eina_Bool enabled);
1344
1345    /**
1346     * Get the configured font cache size
1347     *
1348     * This gets the globally configured font cache size, in bytes.
1349     *
1350     * @return The font cache size
1351     * @ingroup Caches
1352     */
1353    EAPI int          elm_font_cache_get(void);
1354
1355    /**
1356     * Set the configured font cache size
1357     *
1358     * This sets the globally configured font cache size, in bytes
1359     *
1360     * @param size The font cache size
1361     * @ingroup Caches
1362     */
1363    EAPI void         elm_font_cache_set(int size);
1364
1365    /**
1366     * Set the configured font cache size for all applications on the
1367     * display
1368     *
1369     * This sets the globally configured font cache size -- in bytes
1370     * -- for all applications on the display.
1371     *
1372     * @param size The font cache size
1373     * @ingroup Caches
1374     */
1375    EAPI void         elm_font_cache_all_set(int size);
1376
1377    /**
1378     * Get the configured image cache size
1379     *
1380     * This gets the globally configured image cache size, in bytes
1381     *
1382     * @return The image cache size
1383     * @ingroup Caches
1384     */
1385    EAPI int          elm_image_cache_get(void);
1386
1387    /**
1388     * Set the configured image cache size
1389     *
1390     * This sets the globally configured image cache size, in bytes
1391     *
1392     * @param size The image cache size
1393     * @ingroup Caches
1394     */
1395    EAPI void         elm_image_cache_set(int size);
1396
1397    /**
1398     * Set the configured image cache size for all applications on the
1399     * display
1400     *
1401     * This sets the globally configured image cache size -- in bytes
1402     * -- for all applications on the display.
1403     *
1404     * @param size The image cache size
1405     * @ingroup Caches
1406     */
1407    EAPI void         elm_image_cache_all_set(int size);
1408
1409    /**
1410     * Get the configured edje file cache size.
1411     *
1412     * This gets the globally configured edje file cache size, in number
1413     * of files.
1414     *
1415     * @return The edje file cache size
1416     * @ingroup Caches
1417     */
1418    EAPI int          elm_edje_file_cache_get(void);
1419
1420    /**
1421     * Set the configured edje file cache size
1422     *
1423     * This sets the globally configured edje file cache size, in number
1424     * of files.
1425     *
1426     * @param size The edje file cache size
1427     * @ingroup Caches
1428     */
1429    EAPI void         elm_edje_file_cache_set(int size);
1430
1431    /**
1432     * Set the configured edje file cache size for all applications on the
1433     * display
1434     *
1435     * This sets the globally configured edje file cache size -- in number
1436     * of files -- for all applications on the display.
1437     *
1438     * @param size The edje file cache size
1439     * @ingroup Caches
1440     */
1441    EAPI void         elm_edje_file_cache_all_set(int size);
1442
1443    /**
1444     * Get the configured edje collections (groups) cache size.
1445     *
1446     * This gets the globally configured edje collections cache size, in
1447     * number of collections.
1448     *
1449     * @return The edje collections cache size
1450     * @ingroup Caches
1451     */
1452    EAPI int          elm_edje_collection_cache_get(void);
1453
1454    /**
1455     * Set the configured edje collections (groups) cache size
1456     *
1457     * This sets the globally configured edje collections cache size, in
1458     * number of collections.
1459     *
1460     * @param size The edje collections cache size
1461     * @ingroup Caches
1462     */
1463    EAPI void         elm_edje_collection_cache_set(int size);
1464
1465    /**
1466     * Set the configured edje collections (groups) cache size for all
1467     * applications on the display
1468     *
1469     * This sets the globally configured edje collections cache size -- in
1470     * number of collections -- for all applications on the display.
1471     *
1472     * @param size The edje collections cache size
1473     * @ingroup Caches
1474     */
1475    EAPI void         elm_edje_collection_cache_all_set(int size);
1476
1477    /**
1478     * @}
1479     */
1480
1481    /**
1482     * @defgroup Scaling Widget Scaling
1483     *
1484     * Different widgets can be scaled independently. These functions
1485     * allow you to manipulate this scaling on a per-widget basis. The
1486     * object and all its children get their scaling factors multiplied
1487     * by the scale factor set. This is multiplicative, in that if a
1488     * child also has a scale size set it is in turn multiplied by its
1489     * parent's scale size. @c 1.0 means “don't scale”, @c 2.0 is
1490     * double size, @c 0.5 is half, etc.
1491     *
1492     * @ref general_functions_example_page "This" example contemplates
1493     * some of these functions.
1494     */
1495
1496    /**
1497     * Get the global scaling factor
1498     *
1499     * This gets the globally configured scaling factor that is applied to all
1500     * objects.
1501     *
1502     * @return The scaling factor
1503     * @ingroup Scaling
1504     */
1505    EAPI double       elm_scale_get(void);
1506
1507    /**
1508     * Set the global scaling factor
1509     *
1510     * This sets the globally configured scaling factor that is applied to all
1511     * objects.
1512     *
1513     * @param scale The scaling factor to set
1514     * @ingroup Scaling
1515     */
1516    EAPI void         elm_scale_set(double scale);
1517
1518    /**
1519     * Set the global scaling factor for all applications on the display
1520     *
1521     * This sets the globally configured scaling factor that is applied to all
1522     * objects for all applications.
1523     * @param scale The scaling factor to set
1524     * @ingroup Scaling
1525     */
1526    EAPI void         elm_scale_all_set(double scale);
1527
1528    /**
1529     * Set the scaling factor for a given Elementary object
1530     *
1531     * @param obj The Elementary to operate on
1532     * @param scale Scale factor (from @c 0.0 up, with @c 1.0 meaning
1533     * no scaling)
1534     *
1535     * @ingroup Scaling
1536     */
1537    EAPI void         elm_object_scale_set(Evas_Object *obj, double scale) EINA_ARG_NONNULL(1);
1538
1539    /**
1540     * Get the scaling factor for a given Elementary object
1541     *
1542     * @param obj The object
1543     * @return The scaling factor set by elm_object_scale_set()
1544     *
1545     * @ingroup Scaling
1546     */
1547    EAPI double       elm_object_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1548
1549    /**
1550     * @defgroup Password_last_show Password last input show
1551     *
1552     * Last show feature of password mode enables user to view
1553     * the last input entered for few seconds before masking it.
1554     * These functions allow to set this feature in password mode
1555     * of entry widget and also allow to manipulate the duration
1556     * for which the input has to be visible.
1557     *
1558     * @{
1559     */
1560
1561    /**
1562     * Get show last setting of password mode.
1563     *
1564     * This gets the show last input setting of password mode which might be
1565     * enabled or disabled.
1566     *
1567     * @return @c EINA_TRUE, if the last input show setting is enabled, @c EINA_FALSE
1568     *            if it's disabled.
1569     * @ingroup Password_last_show
1570     */
1571    EAPI Eina_Bool elm_password_show_last_get(void);
1572
1573    /**
1574     * Set show last setting in password mode.
1575     *
1576     * This enables or disables show last setting of password mode.
1577     *
1578     * @param password_show_last If EINA_TRUE enable's last input show in password mode.
1579     * @see elm_password_show_last_timeout_set()
1580     * @ingroup Password_last_show
1581     */
1582    EAPI void elm_password_show_last_set(Eina_Bool password_show_last);
1583
1584    /**
1585     * Get's the timeout value in last show password mode.
1586     *
1587     * This gets the time out value for which the last input entered in password
1588     * mode will be visible.
1589     *
1590     * @return The timeout value of last show password mode.
1591     * @ingroup Password_last_show
1592     */
1593    EAPI double elm_password_show_last_timeout_get(void);
1594
1595    /**
1596     * Set's the timeout value in last show password mode.
1597     *
1598     * This sets the time out value for which the last input entered in password
1599     * mode will be visible.
1600     *
1601     * @param password_show_last_timeout The timeout value.
1602     * @see elm_password_show_last_set()
1603     * @ingroup Password_last_show
1604     */
1605    EAPI void elm_password_show_last_timeout_set(double password_show_last_timeout);
1606
1607    /**
1608     * @}
1609     */
1610
1611    /**
1612     * @defgroup UI-Mirroring Selective Widget mirroring
1613     *
1614     * These functions allow you to set ui-mirroring on specific
1615     * widgets or the whole interface. Widgets can be in one of two
1616     * modes, automatic and manual.  Automatic means they'll be changed
1617     * according to the system mirroring mode and manual means only
1618     * explicit changes will matter. You are not supposed to change
1619     * mirroring state of a widget set to automatic, will mostly work,
1620     * but the behavior is not really defined.
1621     *
1622     * @{
1623     */
1624
1625    EAPI Eina_Bool    elm_mirrored_get(void);
1626    EAPI void         elm_mirrored_set(Eina_Bool mirrored);
1627
1628    /**
1629     * Get the system mirrored mode. This determines the default mirrored mode
1630     * of widgets.
1631     *
1632     * @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
1633     */
1634    EAPI Eina_Bool    elm_object_mirrored_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1635
1636    /**
1637     * Set the system mirrored mode. This determines the default mirrored mode
1638     * of widgets.
1639     *
1640     * @param mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
1641     */
1642    EAPI void         elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored) EINA_ARG_NONNULL(1);
1643
1644    /**
1645     * Returns the widget's mirrored mode setting.
1646     *
1647     * @param obj The widget.
1648     * @return mirrored mode setting of the object.
1649     *
1650     **/
1651    EAPI Eina_Bool    elm_object_mirrored_automatic_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1652
1653    /**
1654     * Sets the widget's mirrored mode setting.
1655     * When widget in automatic mode, it follows the system mirrored mode set by
1656     * elm_mirrored_set().
1657     * @param obj The widget.
1658     * @param automatic EINA_TRUE for auto mirrored mode. EINA_FALSE for manual.
1659     */
1660    EAPI void         elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic) EINA_ARG_NONNULL(1);
1661
1662    /**
1663     * @}
1664     */
1665
1666    /**
1667     * Set the style to use by a widget
1668     *
1669     * Sets the style name that will define the appearance of a widget. Styles
1670     * vary from widget to widget and may also be defined by other themes
1671     * by means of extensions and overlays.
1672     *
1673     * @param obj The Elementary widget to style
1674     * @param style The style name to use
1675     *
1676     * @see elm_theme_extension_add()
1677     * @see elm_theme_extension_del()
1678     * @see elm_theme_overlay_add()
1679     * @see elm_theme_overlay_del()
1680     *
1681     * @ingroup Styles
1682     */
1683    EAPI void         elm_object_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
1684    /**
1685     * Get the style used by the widget
1686     *
1687     * This gets the style being used for that widget. Note that the string
1688     * pointer is only valid as longas the object is valid and the style doesn't
1689     * change.
1690     *
1691     * @param obj The Elementary widget to query for its style
1692     * @return The style name used
1693     *
1694     * @see elm_object_style_set()
1695     *
1696     * @ingroup Styles
1697     */
1698    EAPI const char  *elm_object_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1699
1700    /**
1701     * @defgroup Styles Styles
1702     *
1703     * Widgets can have different styles of look. These generic API's
1704     * set styles of widgets, if they support them (and if the theme(s)
1705     * do).
1706     *
1707     * @ref general_functions_example_page "This" example contemplates
1708     * some of these functions.
1709     */
1710
1711    /**
1712     * Set the disabled state of an Elementary object.
1713     *
1714     * @param obj The Elementary object to operate on
1715     * @param disabled The state to put in in: @c EINA_TRUE for
1716     *        disabled, @c EINA_FALSE for enabled
1717     *
1718     * Elementary objects can be @b disabled, in which state they won't
1719     * receive input and, in general, will be themed differently from
1720     * their normal state, usually greyed out. Useful for contexts
1721     * where you don't want your users to interact with some of the
1722     * parts of you interface.
1723     *
1724     * This sets the state for the widget, either disabling it or
1725     * enabling it back.
1726     *
1727     * @ingroup Styles
1728     */
1729    EAPI void         elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
1730
1731    /**
1732     * Get the disabled state of an Elementary object.
1733     *
1734     * @param obj The Elementary object to operate on
1735     * @return @c EINA_TRUE, if the widget is disabled, @c EINA_FALSE
1736     *            if it's enabled (or on errors)
1737     *
1738     * This gets the state of the widget, which might be enabled or disabled.
1739     *
1740     * @ingroup Styles
1741     */
1742    EAPI Eina_Bool    elm_object_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1743
1744    /**
1745     * @defgroup WidgetNavigation Widget Tree Navigation.
1746     *
1747     * How to check if an Evas Object is an Elementary widget? How to
1748     * get the first elementary widget that is parent of the given
1749     * object?  These are all covered in widget tree navigation.
1750     *
1751     * @ref general_functions_example_page "This" example contemplates
1752     * some of these functions.
1753     */
1754
1755    /**
1756     * Check if the given Evas Object is an Elementary widget.
1757     *
1758     * @param obj the object to query.
1759     * @return @c EINA_TRUE if it is an elementary widget variant,
1760     *         @c EINA_FALSE otherwise
1761     * @ingroup WidgetNavigation
1762     */
1763    EAPI Eina_Bool    elm_object_widget_check(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1764
1765    /**
1766     * Get the first parent of the given object that is an Elementary
1767     * widget.
1768     *
1769     * @param obj the Elementary object to query parent from.
1770     * @return the parent object that is an Elementary widget, or @c
1771     *         NULL, if it was not found.
1772     *
1773     * Use this to query for an object's parent widget.
1774     *
1775     * @note Most of Elementary users wouldn't be mixing non-Elementary
1776     * smart objects in the objects tree of an application, as this is
1777     * an advanced usage of Elementary with Evas. So, except for the
1778     * application's window, which is the root of that tree, all other
1779     * objects would have valid Elementary widget parents.
1780     *
1781     * @ingroup WidgetNavigation
1782     */
1783    EAPI Evas_Object *elm_object_parent_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1784
1785    /**
1786     * Get the top level parent of an Elementary widget.
1787     *
1788     * @param obj The object to query.
1789     * @return The top level Elementary widget, or @c NULL if parent cannot be
1790     * found.
1791     * @ingroup WidgetNavigation
1792     */
1793    EAPI Evas_Object *elm_object_top_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1794
1795    /**
1796     * Get the string that represents this Elementary widget.
1797     *
1798     * @note Elementary is weird and exposes itself as a single
1799     *       Evas_Object_Smart_Class of type "elm_widget", so
1800     *       evas_object_type_get() always return that, making debug and
1801     *       language bindings hard. This function tries to mitigate this
1802     *       problem, but the solution is to change Elementary to use
1803     *       proper inheritance.
1804     *
1805     * @param obj the object to query.
1806     * @return Elementary widget name, or @c NULL if not a valid widget.
1807     * @ingroup WidgetNavigation
1808     */
1809    EAPI const char  *elm_object_widget_type_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1810
1811    /**
1812     * @defgroup Config Elementary Config
1813     *
1814     * Elementary configuration is formed by a set options bounded to a
1815     * given @ref Profile profile, like @ref Theme theme, @ref Fingers
1816     * "finger size", etc. These are functions with which one syncronizes
1817     * changes made to those values to the configuration storing files, de
1818     * facto. You most probably don't want to use the functions in this
1819     * group unlees you're writing an elementary configuration manager.
1820     *
1821     * @{
1822     */
1823
1824    /**
1825     * Save back Elementary's configuration, so that it will persist on
1826     * future sessions.
1827     *
1828     * @return @c EINA_TRUE, when sucessful. @c EINA_FALSE, otherwise.
1829     * @ingroup Config
1830     *
1831     * This function will take effect -- thus, do I/O -- immediately. Use
1832     * it when you want to apply all configuration changes at once. The
1833     * current configuration set will get saved onto the current profile
1834     * configuration file.
1835     *
1836     */
1837    EAPI Eina_Bool    elm_config_save(void);
1838
1839    /**
1840     * Reload Elementary's configuration, bounded to current selected
1841     * profile.
1842     *
1843     * @return @c EINA_TRUE, when sucessful. @c EINA_FALSE, otherwise.
1844     * @ingroup Config
1845     *
1846     * Useful when you want to force reloading of configuration values for
1847     * a profile. If one removes user custom configuration directories,
1848     * for example, it will force a reload with system values insted.
1849     *
1850     */
1851    EAPI void         elm_config_reload(void);
1852
1853    /**
1854     * @}
1855     */
1856
1857    /**
1858     * @defgroup Profile Elementary Profile
1859     *
1860     * Profiles are pre-set options that affect the whole look-and-feel of
1861     * Elementary-based applications. There are, for example, profiles
1862     * aimed at desktop computer applications and others aimed at mobile,
1863     * touchscreen-based ones. You most probably don't want to use the
1864     * functions in this group unlees you're writing an elementary
1865     * configuration manager.
1866     *
1867     * @{
1868     */
1869
1870    /**
1871     * Get Elementary's profile in use.
1872     *
1873     * This gets the global profile that is applied to all Elementary
1874     * applications.
1875     *
1876     * @return The profile's name
1877     * @ingroup Profile
1878     */
1879    EAPI const char  *elm_profile_current_get(void);
1880
1881    /**
1882     * Get an Elementary's profile directory path in the filesystem. One
1883     * may want to fetch a system profile's dir or an user one (fetched
1884     * inside $HOME).
1885     *
1886     * @param profile The profile's name
1887     * @param is_user Whether to lookup for an user profile (@c EINA_TRUE)
1888     *                or a system one (@c EINA_FALSE)
1889     * @return The profile's directory path.
1890     * @ingroup Profile
1891     *
1892     * @note You must free it with elm_profile_dir_free().
1893     */
1894    EAPI const char  *elm_profile_dir_get(const char *profile, Eina_Bool is_user);
1895
1896    /**
1897     * Free an Elementary's profile directory path, as returned by
1898     * elm_profile_dir_get().
1899     *
1900     * @param p_dir The profile's path
1901     * @ingroup Profile
1902     *
1903     */
1904    EAPI void         elm_profile_dir_free(const char *p_dir);
1905
1906    /**
1907     * Get Elementary's list of available profiles.
1908     *
1909     * @return The profiles list. List node data are the profile name
1910     *         strings.
1911     * @ingroup Profile
1912     *
1913     * @note One must free this list, after usage, with the function
1914     *       elm_profile_list_free().
1915     */
1916    EAPI Eina_List   *elm_profile_list_get(void);
1917
1918    /**
1919     * Free Elementary's list of available profiles.
1920     *
1921     * @param l The profiles list, as returned by elm_profile_list_get().
1922     * @ingroup Profile
1923     *
1924     */
1925    EAPI void         elm_profile_list_free(Eina_List *l);
1926
1927    /**
1928     * Set Elementary's profile.
1929     *
1930     * This sets the global profile that is applied to Elementary
1931     * applications. Just the process the call comes from will be
1932     * affected.
1933     *
1934     * @param profile The profile's name
1935     * @ingroup Profile
1936     *
1937     */
1938    EAPI void         elm_profile_set(const char *profile);
1939
1940    /**
1941     * Set Elementary's profile.
1942     *
1943     * This sets the global profile that is applied to all Elementary
1944     * applications. All running Elementary windows will be affected.
1945     *
1946     * @param profile The profile's name
1947     * @ingroup Profile
1948     *
1949     */
1950    EAPI void         elm_profile_all_set(const char *profile);
1951
1952    /**
1953     * @}
1954     */
1955
1956    /**
1957     * @defgroup Engine Elementary Engine
1958     *
1959     * These are functions setting and querying which rendering engine
1960     * Elementary will use for drawing its windows' pixels.
1961     *
1962     * The following are the available engines:
1963     * @li "software_x11"
1964     * @li "fb"
1965     * @li "directfb"
1966     * @li "software_16_x11"
1967     * @li "software_8_x11"
1968     * @li "xrender_x11"
1969     * @li "opengl_x11"
1970     * @li "software_gdi"
1971     * @li "software_16_wince_gdi"
1972     * @li "sdl"
1973     * @li "software_16_sdl"
1974     * @li "opengl_sdl"
1975     * @li "buffer"
1976     * @li "ews"
1977     *
1978     * @{
1979     */
1980
1981    /**
1982     * @brief Get Elementary's rendering engine in use.
1983     *
1984     * @return The rendering engine's name
1985     * @note there's no need to free the returned string, here.
1986     *
1987     * This gets the global rendering engine that is applied to all Elementary
1988     * applications.
1989     *
1990     * @see elm_engine_set()
1991     */
1992    EAPI const char  *elm_engine_current_get(void);
1993
1994    /**
1995     * @brief Set Elementary's rendering engine for use.
1996     *
1997     * @param engine The rendering engine's name
1998     *
1999     * This sets global rendering engine that is applied to all Elementary
2000     * applications. Note that it will take effect only to Elementary windows
2001     * created after this is called.
2002     *
2003     * @see elm_win_add()
2004     */
2005    EAPI void         elm_engine_set(const char *engine);
2006
2007    /**
2008     * @}
2009     */
2010
2011    /**
2012     * @defgroup Fonts Elementary Fonts
2013     *
2014     * These are functions dealing with font rendering, selection and the
2015     * like for Elementary applications. One might fetch which system
2016     * fonts are there to use and set custom fonts for individual classes
2017     * of UI items containing text (text classes).
2018     *
2019     * @{
2020     */
2021
2022   typedef struct _Elm_Text_Class
2023     {
2024        const char *name;
2025        const char *desc;
2026     } Elm_Text_Class;
2027
2028   typedef struct _Elm_Font_Overlay
2029     {
2030        const char     *text_class;
2031        const char     *font;
2032        Evas_Font_Size  size;
2033     } Elm_Font_Overlay;
2034
2035   typedef struct _Elm_Font_Properties
2036     {
2037        const char *name;
2038        Eina_List  *styles;
2039     } Elm_Font_Properties;
2040
2041    /**
2042     * Get Elementary's list of supported text classes.
2043     *
2044     * @return The text classes list, with @c Elm_Text_Class blobs as data.
2045     * @ingroup Fonts
2046     *
2047     * Release the list with elm_text_classes_list_free().
2048     */
2049    EAPI const Eina_List     *elm_text_classes_list_get(void);
2050
2051    /**
2052     * Free Elementary's list of supported text classes.
2053     *
2054     * @ingroup Fonts
2055     *
2056     * @see elm_text_classes_list_get().
2057     */
2058    EAPI void                 elm_text_classes_list_free(const Eina_List *list);
2059
2060    /**
2061     * Get Elementary's list of font overlays, set with
2062     * elm_font_overlay_set().
2063     *
2064     * @return The font overlays list, with @c Elm_Font_Overlay blobs as
2065     * data.
2066     *
2067     * @ingroup Fonts
2068     *
2069     * For each text class, one can set a <b>font overlay</b> for it,
2070     * overriding the default font properties for that class coming from
2071     * the theme in use. There is no need to free this list.
2072     *
2073     * @see elm_font_overlay_set() and elm_font_overlay_unset().
2074     */
2075    EAPI const Eina_List     *elm_font_overlay_list_get(void);
2076
2077    /**
2078     * Set a font overlay for a given Elementary text class.
2079     *
2080     * @param text_class Text class name
2081     * @param font Font name and style string
2082     * @param size Font size
2083     *
2084     * @ingroup Fonts
2085     *
2086     * @p font has to be in the format returned by
2087     * elm_font_fontconfig_name_get(). @see elm_font_overlay_list_get()
2088     * and elm_font_overlay_unset().
2089     */
2090    EAPI void                 elm_font_overlay_set(const char *text_class, const char *font, Evas_Font_Size size);
2091
2092    /**
2093     * Unset a font overlay for a given Elementary text class.
2094     *
2095     * @param text_class Text class name
2096     *
2097     * @ingroup Fonts
2098     *
2099     * This will bring back text elements belonging to text class
2100     * @p text_class back to their default font settings.
2101     */
2102    EAPI void                 elm_font_overlay_unset(const char *text_class);
2103
2104    /**
2105     * Apply the changes made with elm_font_overlay_set() and
2106     * elm_font_overlay_unset() on the current Elementary window.
2107     *
2108     * @ingroup Fonts
2109     *
2110     * This applies all font overlays set to all objects in the UI.
2111     */
2112    EAPI void                 elm_font_overlay_apply(void);
2113
2114    /**
2115     * Apply the changes made with elm_font_overlay_set() and
2116     * elm_font_overlay_unset() on all Elementary application windows.
2117     *
2118     * @ingroup Fonts
2119     *
2120     * This applies all font overlays set to all objects in the UI.
2121     */
2122    EAPI void                 elm_font_overlay_all_apply(void);
2123
2124    /**
2125     * Translate a font (family) name string in fontconfig's font names
2126     * syntax into an @c Elm_Font_Properties struct.
2127     *
2128     * @param font The font name and styles string
2129     * @return the font properties struct
2130     *
2131     * @ingroup Fonts
2132     *
2133     * @note The reverse translation can be achived with
2134     * elm_font_fontconfig_name_get(), for one style only (single font
2135     * instance, not family).
2136     */
2137    EAPI Elm_Font_Properties *elm_font_properties_get(const char *font) EINA_ARG_NONNULL(1);
2138
2139    /**
2140     * Free font properties return by elm_font_properties_get().
2141     *
2142     * @param efp the font properties struct
2143     *
2144     * @ingroup Fonts
2145     */
2146    EAPI void                 elm_font_properties_free(Elm_Font_Properties *efp) EINA_ARG_NONNULL(1);
2147
2148    /**
2149     * Translate a font name, bound to a style, into fontconfig's font names
2150     * syntax.
2151     *
2152     * @param name The font (family) name
2153     * @param style The given style (may be @c NULL)
2154     *
2155     * @return the font name and style string
2156     *
2157     * @ingroup Fonts
2158     *
2159     * @note The reverse translation can be achived with
2160     * elm_font_properties_get(), for one style only (single font
2161     * instance, not family).
2162     */
2163    EAPI const char          *elm_font_fontconfig_name_get(const char *name, const char *style) EINA_ARG_NONNULL(1);
2164
2165    /**
2166     * Free the font string return by elm_font_fontconfig_name_get().
2167     *
2168     * @param efp the font properties struct
2169     *
2170     * @ingroup Fonts
2171     */
2172    EAPI void                 elm_font_fontconfig_name_free(const char *name) EINA_ARG_NONNULL(1);
2173
2174    /**
2175     * Create a font hash table of available system fonts.
2176     *
2177     * One must call it with @p list being the return value of
2178     * evas_font_available_list(). The hash will be indexed by font
2179     * (family) names, being its values @c Elm_Font_Properties blobs.
2180     *
2181     * @param list The list of available system fonts, as returned by
2182     * evas_font_available_list().
2183     * @return the font hash.
2184     *
2185     * @ingroup Fonts
2186     *
2187     * @note The user is supposed to get it populated at least with 3
2188     * default font families (Sans, Serif, Monospace), which should be
2189     * present on most systems.
2190     */
2191    EAPI Eina_Hash           *elm_font_available_hash_add(Eina_List *list);
2192
2193    /**
2194     * Free the hash return by elm_font_available_hash_add().
2195     *
2196     * @param hash the hash to be freed.
2197     *
2198     * @ingroup Fonts
2199     */
2200    EAPI void                 elm_font_available_hash_del(Eina_Hash *hash);
2201
2202    /**
2203     * @}
2204     */
2205
2206    /**
2207     * @defgroup Fingers Fingers
2208     *
2209     * Elementary is designed to be finger-friendly for touchscreens,
2210     * and so in addition to scaling for display resolution, it can
2211     * also scale based on finger "resolution" (or size). You can then
2212     * customize the granularity of the areas meant to receive clicks
2213     * on touchscreens.
2214     *
2215     * Different profiles may have pre-set values for finger sizes.
2216     *
2217     * @ref general_functions_example_page "This" example contemplates
2218     * some of these functions.
2219     *
2220     * @{
2221     */
2222
2223    /**
2224     * Get the configured "finger size"
2225     *
2226     * @return The finger size
2227     *
2228     * This gets the globally configured finger size, <b>in pixels</b>
2229     *
2230     * @ingroup Fingers
2231     */
2232    EAPI Evas_Coord       elm_finger_size_get(void);
2233
2234    /**
2235     * Set the configured finger size
2236     *
2237     * This sets the globally configured finger size in pixels
2238     *
2239     * @param size The finger size
2240     * @ingroup Fingers
2241     */
2242    EAPI void             elm_finger_size_set(Evas_Coord size);
2243
2244    /**
2245     * Set the configured finger size for all applications on the display
2246     *
2247     * This sets the globally configured finger size in pixels for all
2248     * applications on the display
2249     *
2250     * @param size The finger size
2251     * @ingroup Fingers
2252     */
2253    EAPI void             elm_finger_size_all_set(Evas_Coord size);
2254
2255    /**
2256     * @}
2257     */
2258
2259    /**
2260     * @defgroup Focus Focus
2261     *
2262     * An Elementary application has, at all times, one (and only one)
2263     * @b focused object. This is what determines where the input
2264     * events go to within the application's window. Also, focused
2265     * objects can be decorated differently, in order to signal to the
2266     * user where the input is, at a given moment.
2267     *
2268     * Elementary applications also have the concept of <b>focus
2269     * chain</b>: one can cycle through all the windows' focusable
2270     * objects by input (tab key) or programmatically. The default
2271     * focus chain for an application is the one define by the order in
2272     * which the widgets where added in code. One will cycle through
2273     * top level widgets, and, for each one containg sub-objects, cycle
2274     * through them all, before returning to the level
2275     * above. Elementary also allows one to set @b custom focus chains
2276     * for their applications.
2277     *
2278     * Besides the focused decoration a widget may exhibit, when it
2279     * gets focus, Elementary has a @b global focus highlight object
2280     * that can be enabled for a window. If one chooses to do so, this
2281     * extra highlight effect will surround the current focused object,
2282     * too.
2283     *
2284     * @note Some Elementary widgets are @b unfocusable, after
2285     * creation, by their very nature: they are not meant to be
2286     * interacted with input events, but are there just for visual
2287     * purposes.
2288     *
2289     * @ref general_functions_example_page "This" example contemplates
2290     * some of these functions.
2291     */
2292
2293    /**
2294     * Get the enable status of the focus highlight
2295     *
2296     * This gets whether the highlight on focused objects is enabled or not
2297     * @ingroup Focus
2298     */
2299    EAPI Eina_Bool        elm_focus_highlight_enabled_get(void);
2300
2301    /**
2302     * Set the enable status of the focus highlight
2303     *
2304     * Set whether to show or not the highlight on focused objects
2305     * @param enable Enable highlight if EINA_TRUE, disable otherwise
2306     * @ingroup Focus
2307     */
2308    EAPI void             elm_focus_highlight_enabled_set(Eina_Bool enable);
2309
2310    /**
2311     * Get the enable status of the highlight animation
2312     *
2313     * Get whether the focus highlight, if enabled, will animate its switch from
2314     * one object to the next
2315     * @ingroup Focus
2316     */
2317    EAPI Eina_Bool        elm_focus_highlight_animate_get(void);
2318
2319    /**
2320     * Set the enable status of the highlight animation
2321     *
2322     * Set whether the focus highlight, if enabled, will animate its switch from
2323     * one object to the next
2324     * @param animate Enable animation if EINA_TRUE, disable otherwise
2325     * @ingroup Focus
2326     */
2327    EAPI void             elm_focus_highlight_animate_set(Eina_Bool animate);
2328
2329    /**
2330     * Get the whether an Elementary object has the focus or not.
2331     *
2332     * @param obj The Elementary object to get the information from
2333     * @return @c EINA_TRUE, if the object is focused, @c EINA_FALSE if
2334     *            not (and on errors).
2335     *
2336     * @see elm_object_focus_set()
2337     *
2338     * @ingroup Focus
2339     */
2340    EAPI Eina_Bool        elm_object_focus_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2341
2342    /**
2343     * Set/unset focus to a given Elementary object.
2344     *
2345     * @param obj The Elementary object to operate on.
2346     * @param enable @c EINA_TRUE Set focus to a given object,
2347     *               @c EINA_FALSE Unset focus to a given object.
2348     *
2349     * @note When you set focus to this object, if it can handle focus, will
2350     * take the focus away from the one who had it previously and will, for
2351     * now on, be the one receiving input events. Unsetting focus will remove
2352     * the focus from @p obj, passing it back to the previous element in the
2353     * focus chain list.
2354     *
2355     * @see elm_object_focus_get(), elm_object_focus_custom_chain_get()
2356     *
2357     * @ingroup Focus
2358     */
2359    EAPI void             elm_object_focus_set(Evas_Object *obj, Eina_Bool focus) EINA_ARG_NONNULL(1);
2360
2361    /**
2362     * Make a given Elementary object the focused one.
2363     *
2364     * @param obj The Elementary object to make focused.
2365     *
2366     * @note This object, if it can handle focus, will take the focus
2367     * away from the one who had it previously and will, for now on, be
2368     * the one receiving input events.
2369     *
2370     * @see elm_object_focus_get()
2371     * @deprecated use elm_object_focus_set() instead.
2372     *
2373     * @ingroup Focus
2374     */
2375    EINA_DEPRECATED EAPI void             elm_object_focus(Evas_Object *obj) EINA_ARG_NONNULL(1);
2376
2377    /**
2378     * Remove the focus from an Elementary object
2379     *
2380     * @param obj The Elementary to take focus from
2381     *
2382     * This removes the focus from @p obj, passing it back to the
2383     * previous element in the focus chain list.
2384     *
2385     * @see elm_object_focus() and elm_object_focus_custom_chain_get()
2386     * @deprecated use elm_object_focus_set() instead.
2387     *
2388     * @ingroup Focus
2389     */
2390    EINA_DEPRECATED EAPI void             elm_object_unfocus(Evas_Object *obj) EINA_ARG_NONNULL(1);
2391
2392    /**
2393     * Set the ability for an Element object to be focused
2394     *
2395     * @param obj The Elementary object to operate on
2396     * @param enable @c EINA_TRUE if the object can be focused, @c
2397     *        EINA_FALSE if not (and on errors)
2398     *
2399     * This sets whether the object @p obj is able to take focus or
2400     * not. Unfocusable objects do nothing when programmatically
2401     * focused, being the nearest focusable parent object the one
2402     * really getting focus. Also, when they receive mouse input, they
2403     * will get the event, but not take away the focus from where it
2404     * was previously.
2405     *
2406     * @ingroup Focus
2407     */
2408    EAPI void             elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable) EINA_ARG_NONNULL(1);
2409
2410    /**
2411     * Get whether an Elementary object is focusable or not
2412     *
2413     * @param obj The Elementary object to operate on
2414     * @return @c EINA_TRUE if the object is allowed to be focused, @c
2415     *             EINA_FALSE if not (and on errors)
2416     *
2417     * @note Objects which are meant to be interacted with by input
2418     * events are created able to be focused, by default. All the
2419     * others are not.
2420     *
2421     * @ingroup Focus
2422     */
2423    EAPI Eina_Bool        elm_object_focus_allow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2424
2425    /**
2426     * Set custom focus chain.
2427     *
2428     * This function overwrites any previous custom focus chain within
2429     * the list of objects. The previous list will be deleted and this list
2430     * will be managed by elementary. After it is set, don't modify it.
2431     *
2432     * @note On focus cycle, only will be evaluated children of this container.
2433     *
2434     * @param obj The container object
2435     * @param objs Chain of objects to pass focus
2436     * @ingroup Focus
2437     */
2438    EAPI void             elm_object_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs) EINA_ARG_NONNULL(1);
2439
2440    /**
2441     * Unset a custom focus chain on a given Elementary widget
2442     *
2443     * @param obj The container object to remove focus chain from
2444     *
2445     * Any focus chain previously set on @p obj (for its child objects)
2446     * is removed entirely after this call.
2447     *
2448     * @ingroup Focus
2449     */
2450    EAPI void             elm_object_focus_custom_chain_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
2451
2452    /**
2453     * Get custom focus chain
2454     *
2455     * @param obj The container object
2456     * @ingroup Focus
2457     */
2458    EAPI const Eina_List *elm_object_focus_custom_chain_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2459
2460    /**
2461     * Append object to custom focus chain.
2462     *
2463     * @note If relative_child equal to NULL or not in custom chain, the object
2464     * will be added in end.
2465     *
2466     * @note On focus cycle, only will be evaluated children of this container.
2467     *
2468     * @param obj The container object
2469     * @param child The child to be added in custom chain
2470     * @param relative_child The relative object to position the child
2471     * @ingroup Focus
2472     */
2473    EAPI void             elm_object_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
2474
2475    /**
2476     * Prepend object to custom focus chain.
2477     *
2478     * @note If relative_child equal to NULL or not in custom chain, the object
2479     * will be added in begin.
2480     *
2481     * @note On focus cycle, only will be evaluated children of this container.
2482     *
2483     * @param obj The container object
2484     * @param child The child to be added in custom chain
2485     * @param relative_child The relative object to position the child
2486     * @ingroup Focus
2487     */
2488    EAPI void             elm_object_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
2489
2490    /**
2491     * Give focus to next object in object tree.
2492     *
2493     * Give focus to next object in focus chain of one object sub-tree.
2494     * If the last object of chain already have focus, the focus will go to the
2495     * first object of chain.
2496     *
2497     * @param obj The object root of sub-tree
2498     * @param dir Direction to cycle the focus
2499     *
2500     * @ingroup Focus
2501     */
2502    EAPI void             elm_object_focus_cycle(Evas_Object *obj, Elm_Focus_Direction dir) EINA_ARG_NONNULL(1);
2503
2504    /**
2505     * Give focus to near object in one direction.
2506     *
2507     * Give focus to near object in direction of one object.
2508     * If none focusable object in given direction, the focus will not change.
2509     *
2510     * @param obj The reference object
2511     * @param x Horizontal component of direction to focus
2512     * @param y Vertical component of direction to focus
2513     *
2514     * @ingroup Focus
2515     */
2516    EAPI void             elm_object_focus_direction_go(Evas_Object *obj, int x, int y) EINA_ARG_NONNULL(1);
2517
2518    /**
2519     * Make the elementary object and its children to be unfocusable
2520     * (or focusable).
2521     *
2522     * @param obj The Elementary object to operate on
2523     * @param tree_unfocusable @c EINA_TRUE for unfocusable,
2524     *        @c EINA_FALSE for focusable.
2525     *
2526     * This sets whether the object @p obj and its children objects
2527     * are able to take focus or not. If the tree is set as unfocusable,
2528     * newest focused object which is not in this tree will get focus.
2529     * This API can be helpful for an object to be deleted.
2530     * When an object will be deleted soon, it and its children may not
2531     * want to get focus (by focus reverting or by other focus controls).
2532     * Then, just use this API before deleting.
2533     *
2534     * @see elm_object_tree_unfocusable_get()
2535     *
2536     * @ingroup Focus
2537     */
2538    EAPI void             elm_object_tree_unfocusable_set(Evas_Object *obj, Eina_Bool tree_unfocusable); EINA_ARG_NONNULL(1);
2539
2540    /**
2541     * Get whether an Elementary object and its children are unfocusable or not.
2542     *
2543     * @param obj The Elementary object to get the information from
2544     * @return @c EINA_TRUE, if the tree is unfocussable,
2545     *         @c EINA_FALSE if not (and on errors).
2546     *
2547     * @see elm_object_tree_unfocusable_set()
2548     *
2549     * @ingroup Focus
2550     */
2551    EAPI Eina_Bool        elm_object_tree_unfocusable_get(const Evas_Object *obj); EINA_ARG_NONNULL(1);
2552
2553    /**
2554     * @defgroup Scrolling Scrolling
2555     *
2556     * These are functions setting how scrollable views in Elementary
2557     * widgets should behave on user interaction.
2558     *
2559     * @{
2560     */
2561
2562    /**
2563     * Get whether scrollers should bounce when they reach their
2564     * viewport's edge during a scroll.
2565     *
2566     * @return the thumb scroll bouncing state
2567     *
2568     * This is the default behavior for touch screens, in general.
2569     * @ingroup Scrolling
2570     */
2571    EAPI Eina_Bool        elm_scroll_bounce_enabled_get(void);
2572
2573    /**
2574     * Set whether scrollers should bounce when they reach their
2575     * viewport's edge during a scroll.
2576     *
2577     * @param enabled the thumb scroll bouncing state
2578     *
2579     * @see elm_thumbscroll_bounce_enabled_get()
2580     * @ingroup Scrolling
2581     */
2582    EAPI void             elm_scroll_bounce_enabled_set(Eina_Bool enabled);
2583
2584    /**
2585     * Set whether scrollers should bounce when they reach their
2586     * viewport's edge during a scroll, for all Elementary application
2587     * windows.
2588     *
2589     * @param enabled the thumb scroll bouncing state
2590     *
2591     * @see elm_thumbscroll_bounce_enabled_get()
2592     * @ingroup Scrolling
2593     */
2594    EAPI void             elm_scroll_bounce_enabled_all_set(Eina_Bool enabled);
2595
2596    /**
2597     * Get the amount of inertia a scroller will impose at bounce
2598     * animations.
2599     *
2600     * @return the thumb scroll bounce friction
2601     *
2602     * @ingroup Scrolling
2603     */
2604    EAPI double           elm_scroll_bounce_friction_get(void);
2605
2606    /**
2607     * Set the amount of inertia a scroller will impose at bounce
2608     * animations.
2609     *
2610     * @param friction the thumb scroll bounce friction
2611     *
2612     * @see elm_thumbscroll_bounce_friction_get()
2613     * @ingroup Scrolling
2614     */
2615    EAPI void             elm_scroll_bounce_friction_set(double friction);
2616
2617    /**
2618     * Set the amount of inertia a scroller will impose at bounce
2619     * animations, for all Elementary application windows.
2620     *
2621     * @param friction the thumb scroll bounce friction
2622     *
2623     * @see elm_thumbscroll_bounce_friction_get()
2624     * @ingroup Scrolling
2625     */
2626    EAPI void             elm_scroll_bounce_friction_all_set(double friction);
2627
2628    /**
2629     * Get the amount of inertia a <b>paged</b> scroller will impose at
2630     * page fitting animations.
2631     *
2632     * @return the page scroll friction
2633     *
2634     * @ingroup Scrolling
2635     */
2636    EAPI double           elm_scroll_page_scroll_friction_get(void);
2637
2638    /**
2639     * Set the amount of inertia a <b>paged</b> scroller will impose at
2640     * page fitting animations.
2641     *
2642     * @param friction the page scroll friction
2643     *
2644     * @see elm_thumbscroll_page_scroll_friction_get()
2645     * @ingroup Scrolling
2646     */
2647    EAPI void             elm_scroll_page_scroll_friction_set(double friction);
2648
2649    /**
2650     * Set the amount of inertia a <b>paged</b> scroller will impose at
2651     * page fitting animations, for all Elementary application windows.
2652     *
2653     * @param friction the page scroll friction
2654     *
2655     * @see elm_thumbscroll_page_scroll_friction_get()
2656     * @ingroup Scrolling
2657     */
2658    EAPI void             elm_scroll_page_scroll_friction_all_set(double friction);
2659
2660    /**
2661     * Get the amount of inertia a scroller will impose at region bring
2662     * animations.
2663     *
2664     * @return the bring in scroll friction
2665     *
2666     * @ingroup Scrolling
2667     */
2668    EAPI double           elm_scroll_bring_in_scroll_friction_get(void);
2669
2670    /**
2671     * Set the amount of inertia a scroller will impose at region bring
2672     * animations.
2673     *
2674     * @param friction the bring in scroll friction
2675     *
2676     * @see elm_thumbscroll_bring_in_scroll_friction_get()
2677     * @ingroup Scrolling
2678     */
2679    EAPI void             elm_scroll_bring_in_scroll_friction_set(double friction);
2680
2681    /**
2682     * Set the amount of inertia a scroller will impose at region bring
2683     * animations, for all Elementary application windows.
2684     *
2685     * @param friction the bring in scroll friction
2686     *
2687     * @see elm_thumbscroll_bring_in_scroll_friction_get()
2688     * @ingroup Scrolling
2689     */
2690    EAPI void             elm_scroll_bring_in_scroll_friction_all_set(double friction);
2691
2692    /**
2693     * Get the amount of inertia scrollers will impose at animations
2694     * triggered by Elementary widgets' zooming API.
2695     *
2696     * @return the zoom friction
2697     *
2698     * @ingroup Scrolling
2699     */
2700    EAPI double           elm_scroll_zoom_friction_get(void);
2701
2702    /**
2703     * Set the amount of inertia scrollers will impose at animations
2704     * triggered by Elementary widgets' zooming API.
2705     *
2706     * @param friction the zoom friction
2707     *
2708     * @see elm_thumbscroll_zoom_friction_get()
2709     * @ingroup Scrolling
2710     */
2711    EAPI void             elm_scroll_zoom_friction_set(double friction);
2712
2713    /**
2714     * Set the amount of inertia scrollers will impose at animations
2715     * triggered by Elementary widgets' zooming API, for all Elementary
2716     * application windows.
2717     *
2718     * @param friction the zoom friction
2719     *
2720     * @see elm_thumbscroll_zoom_friction_get()
2721     * @ingroup Scrolling
2722     */
2723    EAPI void             elm_scroll_zoom_friction_all_set(double friction);
2724
2725    /**
2726     * Get whether scrollers should be draggable from any point in their
2727     * views.
2728     *
2729     * @return the thumb scroll state
2730     *
2731     * @note This is the default behavior for touch screens, in general.
2732     * @note All other functions namespaced with "thumbscroll" will only
2733     *       have effect if this mode is enabled.
2734     *
2735     * @ingroup Scrolling
2736     */
2737    EAPI Eina_Bool        elm_scroll_thumbscroll_enabled_get(void);
2738
2739    /**
2740     * Set whether scrollers should be draggable from any point in their
2741     * views.
2742     *
2743     * @param enabled the thumb scroll state
2744     *
2745     * @see elm_thumbscroll_enabled_get()
2746     * @ingroup Scrolling
2747     */
2748    EAPI void             elm_scroll_thumbscroll_enabled_set(Eina_Bool enabled);
2749
2750    /**
2751     * Set whether scrollers should be draggable from any point in their
2752     * views, for all Elementary application windows.
2753     *
2754     * @param enabled the thumb scroll state
2755     *
2756     * @see elm_thumbscroll_enabled_get()
2757     * @ingroup Scrolling
2758     */
2759    EAPI void             elm_scroll_thumbscroll_enabled_all_set(Eina_Bool enabled);
2760
2761    /**
2762     * Get the number of pixels one should travel while dragging a
2763     * scroller's view to actually trigger scrolling.
2764     *
2765     * @return the thumb scroll threshould
2766     *
2767     * One would use higher values for touch screens, in general, because
2768     * of their inherent imprecision.
2769     * @ingroup Scrolling
2770     */
2771    EAPI unsigned int     elm_scroll_thumbscroll_threshold_get(void);
2772
2773    /**
2774     * Set the number of pixels one should travel while dragging a
2775     * scroller's view to actually trigger scrolling.
2776     *
2777     * @param threshold the thumb scroll threshould
2778     *
2779     * @see elm_thumbscroll_threshould_get()
2780     * @ingroup Scrolling
2781     */
2782    EAPI void             elm_scroll_thumbscroll_threshold_set(unsigned int threshold);
2783
2784    /**
2785     * Set the number of pixels one should travel while dragging a
2786     * scroller's view to actually trigger scrolling, for all Elementary
2787     * application windows.
2788     *
2789     * @param threshold the thumb scroll threshould
2790     *
2791     * @see elm_thumbscroll_threshould_get()
2792     * @ingroup Scrolling
2793     */
2794    EAPI void             elm_scroll_thumbscroll_threshold_all_set(unsigned int threshold);
2795
2796    /**
2797     * Get the minimum speed of mouse cursor movement which will trigger
2798     * list self scrolling animation after a mouse up event
2799     * (pixels/second).
2800     *
2801     * @return the thumb scroll momentum threshould
2802     *
2803     * @ingroup Scrolling
2804     */
2805    EAPI double           elm_scroll_thumbscroll_momentum_threshold_get(void);
2806
2807    /**
2808     * Set the minimum speed of mouse cursor movement which will trigger
2809     * list self scrolling animation after a mouse up event
2810     * (pixels/second).
2811     *
2812     * @param threshold the thumb scroll momentum threshould
2813     *
2814     * @see elm_thumbscroll_momentum_threshould_get()
2815     * @ingroup Scrolling
2816     */
2817    EAPI void             elm_scroll_thumbscroll_momentum_threshold_set(double threshold);
2818
2819    /**
2820     * Set the minimum speed of mouse cursor movement which will trigger
2821     * list self scrolling animation after a mouse up event
2822     * (pixels/second), for all Elementary application windows.
2823     *
2824     * @param threshold the thumb scroll momentum threshould
2825     *
2826     * @see elm_thumbscroll_momentum_threshould_get()
2827     * @ingroup Scrolling
2828     */
2829    EAPI void             elm_scroll_thumbscroll_momentum_threshold_all_set(double threshold);
2830
2831    /**
2832     * Get the amount of inertia a scroller will impose at self scrolling
2833     * animations.
2834     *
2835     * @return the thumb scroll friction
2836     *
2837     * @ingroup Scrolling
2838     */
2839    EAPI double           elm_scroll_thumbscroll_friction_get(void);
2840
2841    /**
2842     * Set the amount of inertia a scroller will impose at self scrolling
2843     * animations.
2844     *
2845     * @param friction the thumb scroll friction
2846     *
2847     * @see elm_thumbscroll_friction_get()
2848     * @ingroup Scrolling
2849     */
2850    EAPI void             elm_scroll_thumbscroll_friction_set(double friction);
2851
2852    /**
2853     * Set the amount of inertia a scroller will impose at self scrolling
2854     * animations, for all Elementary application windows.
2855     *
2856     * @param friction the thumb scroll friction
2857     *
2858     * @see elm_thumbscroll_friction_get()
2859     * @ingroup Scrolling
2860     */
2861    EAPI void             elm_scroll_thumbscroll_friction_all_set(double friction);
2862
2863    /**
2864     * Get the amount of lag between your actual mouse cursor dragging
2865     * movement and a scroller's view movement itself, while pushing it
2866     * into bounce state manually.
2867     *
2868     * @return the thumb scroll border friction
2869     *
2870     * @ingroup Scrolling
2871     */
2872    EAPI double           elm_scroll_thumbscroll_border_friction_get(void);
2873
2874    /**
2875     * Set the amount of lag between your actual mouse cursor dragging
2876     * movement and a scroller's view movement itself, while pushing it
2877     * into bounce state manually.
2878     *
2879     * @param friction the thumb scroll border friction. @c 0.0 for
2880     *        perfect synchrony between two movements, @c 1.0 for maximum
2881     *        lag.
2882     *
2883     * @see elm_thumbscroll_border_friction_get()
2884     * @note parameter value will get bound to 0.0 - 1.0 interval, always
2885     *
2886     * @ingroup Scrolling
2887     */
2888    EAPI void             elm_scroll_thumbscroll_border_friction_set(double friction);
2889
2890    /**
2891     * Set the amount of lag between your actual mouse cursor dragging
2892     * movement and a scroller's view movement itself, while pushing it
2893     * into bounce state manually, for all Elementary application windows.
2894     *
2895     * @param friction the thumb scroll border friction. @c 0.0 for
2896     *        perfect synchrony between two movements, @c 1.0 for maximum
2897     *        lag.
2898     *
2899     * @see elm_thumbscroll_border_friction_get()
2900     * @note parameter value will get bound to 0.0 - 1.0 interval, always
2901     *
2902     * @ingroup Scrolling
2903     */
2904    EAPI void             elm_scroll_thumbscroll_border_friction_all_set(double friction);
2905
2906    /**
2907     * Get the sensitivity amount which is be multiplied by the length of
2908     * mouse dragging.
2909     *
2910     * @return the thumb scroll sensitivity friction
2911     *
2912     * @ingroup Scrolling
2913     */
2914    EAPI double           elm_scroll_thumbscroll_sensitivity_friction_get(void);
2915
2916    /**
2917     * Set the sensitivity amount which is be multiplied by the length of
2918     * mouse dragging.
2919     *
2920     * @param friction the thumb scroll sensitivity friction. @c 0.1 for
2921     *        minimun sensitivity, @c 1.0 for maximum sensitivity. 0.25
2922     *        is proper.
2923     *
2924     * @see elm_thumbscroll_sensitivity_friction_get()
2925     * @note parameter value will get bound to 0.1 - 1.0 interval, always
2926     *
2927     * @ingroup Scrolling
2928     */
2929    EAPI void             elm_scroll_thumbscroll_sensitivity_friction_set(double friction);
2930
2931    /**
2932     * Set the sensitivity amount which is be multiplied by the length of
2933     * mouse dragging, for all Elementary application windows.
2934     *
2935     * @param friction the thumb scroll sensitivity friction. @c 0.1 for
2936     *        minimun sensitivity, @c 1.0 for maximum sensitivity. 0.25
2937     *        is proper.
2938     *
2939     * @see elm_thumbscroll_sensitivity_friction_get()
2940     * @note parameter value will get bound to 0.1 - 1.0 interval, always
2941     *
2942     * @ingroup Scrolling
2943     */
2944    EAPI void             elm_scroll_thumbscroll_sensitivity_friction_all_set(double friction);
2945
2946    /**
2947     * @}
2948     */
2949
2950    /**
2951     * @defgroup Scrollhints Scrollhints
2952     *
2953     * Objects when inside a scroller can scroll, but this may not always be
2954     * desirable in certain situations. This allows an object to hint to itself
2955     * and parents to "not scroll" in one of 2 ways. If any child object of a
2956     * scroller has pushed a scroll freeze or hold then it affects all parent
2957     * scrollers until all children have released them.
2958     *
2959     * 1. To hold on scrolling. This means just flicking and dragging may no
2960     * longer scroll, but pressing/dragging near an edge of the scroller will
2961     * still scroll. This is automatically used by the entry object when
2962     * selecting text.
2963     *
2964     * 2. To totally freeze scrolling. This means it stops. until
2965     * popped/released.
2966     *
2967     * @{
2968     */
2969
2970    /**
2971     * Push the scroll hold by 1
2972     *
2973     * This increments the scroll hold count by one. If it is more than 0 it will
2974     * take effect on the parents of the indicated object.
2975     *
2976     * @param obj The object
2977     * @ingroup Scrollhints
2978     */
2979    EAPI void             elm_object_scroll_hold_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
2980
2981    /**
2982     * Pop the scroll hold by 1
2983     *
2984     * This decrements the scroll hold count by one. If it is more than 0 it will
2985     * take effect on the parents of the indicated object.
2986     *
2987     * @param obj The object
2988     * @ingroup Scrollhints
2989     */
2990    EAPI void             elm_object_scroll_hold_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
2991
2992    /**
2993     * Push the scroll freeze by 1
2994     *
2995     * This increments the scroll freeze count by one. If it is more
2996     * than 0 it will take effect on the parents of the indicated
2997     * object.
2998     *
2999     * @param obj The object
3000     * @ingroup Scrollhints
3001     */
3002    EAPI void             elm_object_scroll_freeze_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
3003
3004    /**
3005     * Pop the scroll freeze by 1
3006     *
3007     * This decrements the scroll freeze count by one. If it is more
3008     * than 0 it will take effect on the parents of the indicated
3009     * object.
3010     *
3011     * @param obj The object
3012     * @ingroup Scrollhints
3013     */
3014    EAPI void             elm_object_scroll_freeze_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
3015
3016    /**
3017     * Lock the scrolling of the given widget (and thus all parents)
3018     *
3019     * This locks the given object from scrolling in the X axis (and implicitly
3020     * also locks all parent scrollers too from doing the same).
3021     *
3022     * @param obj The object
3023     * @param lock The lock state (1 == locked, 0 == unlocked)
3024     * @ingroup Scrollhints
3025     */
3026    EAPI void             elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
3027
3028    /**
3029     * Lock the scrolling of the given widget (and thus all parents)
3030     *
3031     * This locks the given object from scrolling in the Y axis (and implicitly
3032     * also locks all parent scrollers too from doing the same).
3033     *
3034     * @param obj The object
3035     * @param lock The lock state (1 == locked, 0 == unlocked)
3036     * @ingroup Scrollhints
3037     */
3038    EAPI void             elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
3039
3040    /**
3041     * Get the scrolling lock of the given widget
3042     *
3043     * This gets the lock for X axis scrolling.
3044     *
3045     * @param obj The object
3046     * @ingroup Scrollhints
3047     */
3048    EAPI Eina_Bool        elm_object_scroll_lock_x_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3049
3050    /**
3051     * Get the scrolling lock of the given widget
3052     *
3053     * This gets the lock for X axis scrolling.
3054     *
3055     * @param obj The object
3056     * @ingroup Scrollhints
3057     */
3058    EAPI Eina_Bool        elm_object_scroll_lock_y_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3059
3060    /**
3061     * @}
3062     */
3063
3064    /**
3065     * Send a signal to the widget edje object.
3066     *
3067     * This function sends a signal to the edje object of the obj. An
3068     * edje program can respond to a signal by specifying matching
3069     * 'signal' and 'source' fields.
3070     *
3071     * @param obj The object
3072     * @param emission The signal's name.
3073     * @param source The signal's source.
3074     * @ingroup General
3075     */
3076    EAPI void             elm_object_signal_emit(Evas_Object *obj, const char *emission, const char *source) EINA_ARG_NONNULL(1);
3077
3078    /**
3079     * Add a callback for a signal emitted by widget edje object.
3080     *
3081     * This function connects a callback function to a signal emitted by the
3082     * edje object of the obj.
3083     * Globs can occur in either the emission or source name.
3084     *
3085     * @param obj The object
3086     * @param emission The signal's name.
3087     * @param source The signal's source.
3088     * @param func The callback function to be executed when the signal is
3089     * emitted.
3090     * @param data A pointer to data to pass in to the callback function.
3091     * @ingroup General
3092     */
3093    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);
3094
3095    /**
3096     * Remove a signal-triggered callback from a widget edje object.
3097     *
3098     * This function removes a callback, previoulsy attached to a
3099     * signal emitted by the edje object of the obj.  The parameters
3100     * emission, source and func must match exactly those passed to a
3101     * previous call to elm_object_signal_callback_add(). The data
3102     * pointer that was passed to this call will be returned.
3103     *
3104     * @param obj The object
3105     * @param emission The signal's name.
3106     * @param source The signal's source.
3107     * @param func The callback function to be executed when the signal is
3108     * emitted.
3109     * @return The data pointer
3110     * @ingroup General
3111     */
3112    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);
3113
3114    /**
3115     * Add a callback for input events (key up, key down, mouse wheel)
3116     * on a given Elementary widget
3117     *
3118     * @param obj The widget to add an event callback on
3119     * @param func The callback function to be executed when the event
3120     * happens
3121     * @param data Data to pass in to @p func
3122     *
3123     * Every widget in an Elementary interface set to receive focus,
3124     * with elm_object_focus_allow_set(), will propagate @b all of its
3125     * key up, key down and mouse wheel input events up to its parent
3126     * object, and so on. All of the focusable ones in this chain which
3127     * had an event callback set, with this call, will be able to treat
3128     * those events. There are two ways of making the propagation of
3129     * these event upwards in the tree of widgets to @b cease:
3130     * - Just return @c EINA_TRUE on @p func. @c EINA_FALSE will mean
3131     *   the event was @b not processed, so the propagation will go on.
3132     * - The @c event_info pointer passed to @p func will contain the
3133     *   event's structure and, if you OR its @c event_flags inner
3134     *   value to @c EVAS_EVENT_FLAG_ON_HOLD, you're telling Elementary
3135     *   one has already handled it, thus killing the event's
3136     *   propagation, too.
3137     *
3138     * @note Your event callback will be issued on those events taking
3139     * place only if no other child widget of @obj has consumed the
3140     * event already.
3141     *
3142     * @note Not to be confused with @c
3143     * evas_object_event_callback_add(), which will add event callbacks
3144     * per type on general Evas objects (no event propagation
3145     * infrastructure taken in account).
3146     *
3147     * @note Not to be confused with @c
3148     * elm_object_signal_callback_add(), which will add callbacks to @b
3149     * signals coming from a widget's theme, not input events.
3150     *
3151     * @note Not to be confused with @c
3152     * edje_object_signal_callback_add(), which does the same as
3153     * elm_object_signal_callback_add(), but directly on an Edje
3154     * object.
3155     *
3156     * @note Not to be confused with @c
3157     * evas_object_smart_callback_add(), which adds callbacks to smart
3158     * objects' <b>smart events</b>, and not input events.
3159     *
3160     * @see elm_object_event_callback_del()
3161     *
3162     * @ingroup General
3163     */
3164    EAPI void             elm_object_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
3165
3166    /**
3167     * Remove an event callback from a widget.
3168     *
3169     * This function removes a callback, previoulsy attached to event emission
3170     * by the @p obj.
3171     * The parameters func and data must match exactly those passed to
3172     * a previous call to elm_object_event_callback_add(). The data pointer that
3173     * was passed to this call will be returned.
3174     *
3175     * @param obj The object
3176     * @param func The callback function to be executed when the event is
3177     * emitted.
3178     * @param data Data to pass in to the callback function.
3179     * @return The data pointer
3180     * @ingroup General
3181     */
3182    EAPI void            *elm_object_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
3183
3184    /**
3185     * Adjust size of an element for finger usage.
3186     *
3187     * @param times_w How many fingers should fit horizontally
3188     * @param w Pointer to the width size to adjust
3189     * @param times_h How many fingers should fit vertically
3190     * @param h Pointer to the height size to adjust
3191     *
3192     * This takes width and height sizes (in pixels) as input and a
3193     * size multiple (which is how many fingers you want to place
3194     * within the area, being "finger" the size set by
3195     * elm_finger_size_set()), and adjusts the size to be large enough
3196     * to accommodate the resulting size -- if it doesn't already
3197     * accommodate it. On return the @p w and @p h sizes pointed to by
3198     * these parameters will be modified, on those conditions.
3199     *
3200     * @note This is kind of a low level Elementary call, most useful
3201     * on size evaluation times for widgets. An external user wouldn't
3202     * be calling, most of the time.
3203     *
3204     * @ingroup Fingers
3205     */
3206    EAPI void             elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h);
3207
3208    /**
3209     * Get the duration for occuring long press event.
3210     *
3211     * @return Timeout for long press event
3212     * @ingroup Longpress
3213     */
3214    EAPI double           elm_longpress_timeout_get(void);
3215
3216    /**
3217     * Set the duration for occuring long press event.
3218     *
3219     * @param lonpress_timeout Timeout for long press event
3220     * @ingroup Longpress
3221     */
3222    EAPI void             elm_longpress_timeout_set(double longpress_timeout);
3223
3224    /**
3225     * @defgroup Debug Debug
3226     * don't use it unless you are sure
3227     *
3228     * @{
3229     */
3230
3231    /**
3232     * Print Tree object hierarchy in stdout
3233     *
3234     * @param obj The root object
3235     * @ingroup Debug
3236     */
3237    EAPI void             elm_object_tree_dump(const Evas_Object *top);
3238
3239    /**
3240     * Print Elm Objects tree hierarchy in file as dot(graphviz) syntax.
3241     *
3242     * @param obj The root object
3243     * @param file The path of output file
3244     * @ingroup Debug
3245     */
3246    EAPI void             elm_object_tree_dot_dump(const Evas_Object *top, const char *file);
3247
3248    /**
3249     * @}
3250     */
3251
3252    /**
3253     * @defgroup Theme Theme
3254     *
3255     * Elementary uses Edje to theme its widgets, naturally. But for the most
3256     * part this is hidden behind a simpler interface that lets the user set
3257     * extensions and choose the style of widgets in a much easier way.
3258     *
3259     * Instead of thinking in terms of paths to Edje files and their groups
3260     * each time you want to change the appearance of a widget, Elementary
3261     * works so you can add any theme file with extensions or replace the
3262     * main theme at one point in the application, and then just set the style
3263     * of widgets with elm_object_style_set() and related functions. Elementary
3264     * will then look in its list of themes for a matching group and apply it,
3265     * and when the theme changes midway through the application, all widgets
3266     * will be updated accordingly.
3267     *
3268     * There are three concepts you need to know to understand how Elementary
3269     * theming works: default theme, extensions and overlays.
3270     *
3271     * Default theme, obviously enough, is the one that provides the default
3272     * look of all widgets. End users can change the theme used by Elementary
3273     * by setting the @c ELM_THEME environment variable before running an
3274     * application, or globally for all programs using the @c elementary_config
3275     * utility. Applications can change the default theme using elm_theme_set(),
3276     * but this can go against the user wishes, so it's not an adviced practice.
3277     *
3278     * Ideally, applications should find everything they need in the already
3279     * provided theme, but there may be occasions when that's not enough and
3280     * custom styles are required to correctly express the idea. For this
3281     * cases, Elementary has extensions.
3282     *
3283     * Extensions allow the application developer to write styles of its own
3284     * to apply to some widgets. This requires knowledge of how each widget
3285     * is themed, as extensions will always replace the entire group used by
3286     * the widget, so important signals and parts need to be there for the
3287     * object to behave properly (see documentation of Edje for details).
3288     * Once the theme for the extension is done, the application needs to add
3289     * it to the list of themes Elementary will look into, using
3290     * elm_theme_extension_add(), and set the style of the desired widgets as
3291     * he would normally with elm_object_style_set().
3292     *
3293     * Overlays, on the other hand, can replace the look of all widgets by
3294     * overriding the default style. Like extensions, it's up to the application
3295     * developer to write the theme for the widgets it wants, the difference
3296     * being that when looking for the theme, Elementary will check first the
3297     * list of overlays, then the set theme and lastly the list of extensions,
3298     * so with overlays it's possible to replace the default view and every
3299     * widget will be affected. This is very much alike to setting the whole
3300     * theme for the application and will probably clash with the end user
3301     * options, not to mention the risk of ending up with not matching styles
3302     * across the program. Unless there's a very special reason to use them,
3303     * overlays should be avoided for the resons exposed before.
3304     *
3305     * All these theme lists are handled by ::Elm_Theme instances. Elementary
3306     * keeps one default internally and every function that receives one of
3307     * these can be called with NULL to refer to this default (except for
3308     * elm_theme_free()). It's possible to create a new instance of a
3309     * ::Elm_Theme to set other theme for a specific widget (and all of its
3310     * children), but this is as discouraged, if not even more so, than using
3311     * overlays. Don't use this unless you really know what you are doing.
3312     *
3313     * But to be less negative about things, you can look at the following
3314     * examples:
3315     * @li @ref theme_example_01 "Using extensions"
3316     * @li @ref theme_example_02 "Using overlays"
3317     *
3318     * @{
3319     */
3320    /**
3321     * @typedef Elm_Theme
3322     *
3323     * Opaque handler for the list of themes Elementary looks for when
3324     * rendering widgets.
3325     *
3326     * Stay out of this unless you really know what you are doing. For most
3327     * cases, sticking to the default is all a developer needs.
3328     */
3329    typedef struct _Elm_Theme Elm_Theme;
3330
3331    /**
3332     * Create a new specific theme
3333     *
3334     * This creates an empty specific theme that only uses the default theme. A
3335     * specific theme has its own private set of extensions and overlays too
3336     * (which are empty by default). Specific themes do not fall back to themes
3337     * of parent objects. They are not intended for this use. Use styles, overlays
3338     * and extensions when needed, but avoid specific themes unless there is no
3339     * other way (example: you want to have a preview of a new theme you are
3340     * selecting in a "theme selector" window. The preview is inside a scroller
3341     * and should display what the theme you selected will look like, but not
3342     * actually apply it yet. The child of the scroller will have a specific
3343     * theme set to show this preview before the user decides to apply it to all
3344     * applications).
3345     */
3346    EAPI Elm_Theme       *elm_theme_new(void);
3347    /**
3348     * Free a specific theme
3349     *
3350     * @param th The theme to free
3351     *
3352     * This frees a theme created with elm_theme_new().
3353     */
3354    EAPI void             elm_theme_free(Elm_Theme *th);
3355    /**
3356     * Copy the theme fom the source to the destination theme
3357     *
3358     * @param th The source theme to copy from
3359     * @param thdst The destination theme to copy data to
3360     *
3361     * This makes a one-time static copy of all the theme config, extensions
3362     * and overlays from @p th to @p thdst. If @p th references a theme, then
3363     * @p thdst is also set to reference it, with all the theme settings,
3364     * overlays and extensions that @p th had.
3365     */
3366    EAPI void             elm_theme_copy(Elm_Theme *th, Elm_Theme *thdst);
3367    /**
3368     * Tell the source theme to reference the ref theme
3369     *
3370     * @param th The theme that will do the referencing
3371     * @param thref The theme that is the reference source
3372     *
3373     * This clears @p th to be empty and then sets it to refer to @p thref
3374     * so @p th acts as an override to @p thref, but where its overrides
3375     * don't apply, it will fall through to @p thref for configuration.
3376     */
3377    EAPI void             elm_theme_ref_set(Elm_Theme *th, Elm_Theme *thref);
3378    /**
3379     * Return the theme referred to
3380     *
3381     * @param th The theme to get the reference from
3382     * @return The referenced theme handle
3383     *
3384     * This gets the theme set as the reference theme by elm_theme_ref_set().
3385     * If no theme is set as a reference, NULL is returned.
3386     */
3387    EAPI Elm_Theme       *elm_theme_ref_get(Elm_Theme *th);
3388    /**
3389     * Return the default theme
3390     *
3391     * @return The default theme handle
3392     *
3393     * This returns the internal default theme setup handle that all widgets
3394     * use implicitly unless a specific theme is set. This is also often use
3395     * as a shorthand of NULL.
3396     */
3397    EAPI Elm_Theme       *elm_theme_default_get(void);
3398    /**
3399     * Prepends a theme overlay to the list of overlays
3400     *
3401     * @param th The theme to add to, or if NULL, the default theme
3402     * @param item The Edje file path to be used
3403     *
3404     * Use this if your application needs to provide some custom overlay theme
3405     * (An Edje file that replaces some default styles of widgets) where adding
3406     * new styles, or changing system theme configuration is not possible. Do
3407     * NOT use this instead of a proper system theme configuration. Use proper
3408     * configuration files, profiles, environment variables etc. to set a theme
3409     * so that the theme can be altered by simple confiugration by a user. Using
3410     * this call to achieve that effect is abusing the API and will create lots
3411     * of trouble.
3412     *
3413     * @see elm_theme_extension_add()
3414     */
3415    EAPI void             elm_theme_overlay_add(Elm_Theme *th, const char *item);
3416    /**
3417     * Delete a theme overlay from the list of overlays
3418     *
3419     * @param th The theme to delete from, or if NULL, the default theme
3420     * @param item The name of the theme overlay
3421     *
3422     * @see elm_theme_overlay_add()
3423     */
3424    EAPI void             elm_theme_overlay_del(Elm_Theme *th, const char *item);
3425    /**
3426     * Appends a theme extension to the list of extensions.
3427     *
3428     * @param th The theme to add to, or if NULL, the default theme
3429     * @param item The Edje file path to be used
3430     *
3431     * This is intended when an application needs more styles of widgets or new
3432     * widget themes that the default does not provide (or may not provide). The
3433     * application has "extended" usage by coming up with new custom style names
3434     * for widgets for specific uses, but as these are not "standard", they are
3435     * not guaranteed to be provided by a default theme. This means the
3436     * application is required to provide these extra elements itself in specific
3437     * Edje files. This call adds one of those Edje files to the theme search
3438     * path to be search after the default theme. The use of this call is
3439     * encouraged when default styles do not meet the needs of the application.
3440     * Use this call instead of elm_theme_overlay_add() for almost all cases.
3441     *
3442     * @see elm_object_style_set()
3443     */
3444    EAPI void             elm_theme_extension_add(Elm_Theme *th, const char *item);
3445    /**
3446     * Deletes a theme extension from the list of extensions.
3447     *
3448     * @param th The theme to delete from, or if NULL, the default theme
3449     * @param item The name of the theme extension
3450     *
3451     * @see elm_theme_extension_add()
3452     */
3453    EAPI void             elm_theme_extension_del(Elm_Theme *th, const char *item);
3454    /**
3455     * Set the theme search order for the given theme
3456     *
3457     * @param th The theme to set the search order, or if NULL, the default theme
3458     * @param theme Theme search string
3459     *
3460     * This sets the search string for the theme in path-notation from first
3461     * theme to search, to last, delimited by the : character. Example:
3462     *
3463     * "shiny:/path/to/file.edj:default"
3464     *
3465     * See the ELM_THEME environment variable for more information.
3466     *
3467     * @see elm_theme_get()
3468     * @see elm_theme_list_get()
3469     */
3470    EAPI void             elm_theme_set(Elm_Theme *th, const char *theme);
3471    /**
3472     * Return the theme search order
3473     *
3474     * @param th The theme to get the search order, or if NULL, the default theme
3475     * @return The internal search order path
3476     *
3477     * This function returns a colon separated string of theme elements as
3478     * returned by elm_theme_list_get().
3479     *
3480     * @see elm_theme_set()
3481     * @see elm_theme_list_get()
3482     */
3483    EAPI const char      *elm_theme_get(Elm_Theme *th);
3484    /**
3485     * Return a list of theme elements to be used in a theme.
3486     *
3487     * @param th Theme to get the list of theme elements from.
3488     * @return The internal list of theme elements
3489     *
3490     * This returns the internal list of theme elements (will only be valid as
3491     * long as the theme is not modified by elm_theme_set() or theme is not
3492     * freed by elm_theme_free(). This is a list of strings which must not be
3493     * altered as they are also internal. If @p th is NULL, then the default
3494     * theme element list is returned.
3495     *
3496     * A theme element can consist of a full or relative path to a .edj file,
3497     * or a name, without extension, for a theme to be searched in the known
3498     * theme paths for Elemementary.
3499     *
3500     * @see elm_theme_set()
3501     * @see elm_theme_get()
3502     */
3503    EAPI const Eina_List *elm_theme_list_get(const Elm_Theme *th);
3504    /**
3505     * Return the full patrh for a theme element
3506     *
3507     * @param f The theme element name
3508     * @param in_search_path Pointer to a boolean to indicate if item is in the search path or not
3509     * @return The full path to the file found.
3510     *
3511     * This returns a string you should free with free() on success, NULL on
3512     * failure. This will search for the given theme element, and if it is a
3513     * full or relative path element or a simple searchable name. The returned
3514     * path is the full path to the file, if searched, and the file exists, or it
3515     * is simply the full path given in the element or a resolved path if
3516     * relative to home. The @p in_search_path boolean pointed to is set to
3517     * EINA_TRUE if the file was a searchable file andis in the search path,
3518     * and EINA_FALSE otherwise.
3519     */
3520    EAPI char            *elm_theme_list_item_path_get(const char *f, Eina_Bool *in_search_path);
3521    /**
3522     * Flush the current theme.
3523     *
3524     * @param th Theme to flush
3525     *
3526     * This flushes caches that let elementary know where to find theme elements
3527     * in the given theme. If @p th is NULL, then the default theme is flushed.
3528     * Call this function if source theme data has changed in such a way as to
3529     * make any caches Elementary kept invalid.
3530     */
3531    EAPI void             elm_theme_flush(Elm_Theme *th);
3532    /**
3533     * This flushes all themes (default and specific ones).
3534     *
3535     * This will flush all themes in the current application context, by calling
3536     * elm_theme_flush() on each of them.
3537     */
3538    EAPI void             elm_theme_full_flush(void);
3539    /**
3540     * Set the theme for all elementary using applications on the current display
3541     *
3542     * @param theme The name of the theme to use. Format same as the ELM_THEME
3543     * environment variable.
3544     */
3545    EAPI void             elm_theme_all_set(const char *theme);
3546    /**
3547     * Return a list of theme elements in the theme search path
3548     *
3549     * @return A list of strings that are the theme element names.
3550     *
3551     * This lists all available theme files in the standard Elementary search path
3552     * for theme elements, and returns them in alphabetical order as theme
3553     * element names in a list of strings. Free this with
3554     * elm_theme_name_available_list_free() when you are done with the list.
3555     */
3556    EAPI Eina_List       *elm_theme_name_available_list_new(void);
3557    /**
3558     * Free the list returned by elm_theme_name_available_list_new()
3559     *
3560     * This frees the list of themes returned by
3561     * elm_theme_name_available_list_new(). Once freed the list should no longer
3562     * be used. a new list mys be created.
3563     */
3564    EAPI void             elm_theme_name_available_list_free(Eina_List *list);
3565    /**
3566     * Set a specific theme to be used for this object and its children
3567     *
3568     * @param obj The object to set the theme on
3569     * @param th The theme to set
3570     *
3571     * This sets a specific theme that will be used for the given object and any
3572     * child objects it has. If @p th is NULL then the theme to be used is
3573     * cleared and the object will inherit its theme from its parent (which
3574     * ultimately will use the default theme if no specific themes are set).
3575     *
3576     * Use special themes with great care as this will annoy users and make
3577     * configuration difficult. Avoid any custom themes at all if it can be
3578     * helped.
3579     */
3580    EAPI void             elm_object_theme_set(Evas_Object *obj, Elm_Theme *th) EINA_ARG_NONNULL(1);
3581    /**
3582     * Get the specific theme to be used
3583     *
3584     * @param obj The object to get the specific theme from
3585     * @return The specifc theme set.
3586     *
3587     * This will return a specific theme set, or NULL if no specific theme is
3588     * set on that object. It will not return inherited themes from parents, only
3589     * the specific theme set for that specific object. See elm_object_theme_set()
3590     * for more information.
3591     */
3592    EAPI Elm_Theme       *elm_object_theme_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3593
3594    /**
3595     * Get a data item from a theme
3596     *
3597     * @param th The theme, or NULL for default theme
3598     * @param key The data key to search with
3599     * @return The data value, or NULL on failure
3600     *
3601     * This function is used to return data items from edc in @p th, an overlay, or an extension.
3602     * It works the same way as edje_file_data_get() except that the return is stringshared.
3603     */
3604    EAPI const char      *elm_theme_data_get(Elm_Theme *th, const char *key) EINA_ARG_NONNULL(2);
3605    /**
3606     * @}
3607     */
3608
3609    /* win */
3610    /** @defgroup Win Win
3611     *
3612     * @image html img/widget/win/preview-00.png
3613     * @image latex img/widget/win/preview-00.eps
3614     *
3615     * The window class of Elementary.  Contains functions to manipulate
3616     * windows. The Evas engine used to render the window contents is specified
3617     * in the system or user elementary config files (whichever is found last),
3618     * and can be overridden with the ELM_ENGINE environment variable for
3619     * testing.  Engines that may be supported (depending on Evas and Ecore-Evas
3620     * compilation setup and modules actually installed at runtime) are (listed
3621     * in order of best supported and most likely to be complete and work to
3622     * lowest quality).
3623     *
3624     * @li "x11", "x", "software-x11", "software_x11" (Software rendering in X11)
3625     * @li "gl", "opengl", "opengl-x11", "opengl_x11" (OpenGL or OpenGL-ES2
3626     * rendering in X11)
3627     * @li "shot:..." (Virtual screenshot renderer - renders to output file and
3628     * exits)
3629     * @li "fb", "software-fb", "software_fb" (Linux framebuffer direct software
3630     * rendering)
3631     * @li "sdl", "software-sdl", "software_sdl" (SDL software rendering to SDL
3632     * buffer)
3633     * @li "gl-sdl", "gl_sdl", "opengl-sdl", "opengl_sdl" (OpenGL or OpenGL-ES2
3634     * rendering using SDL as the buffer)
3635     * @li "gdi", "software-gdi", "software_gdi" (Windows WIN32 rendering via
3636     * GDI with software)
3637     * @li "dfb", "directfb" (Rendering to a DirectFB window)
3638     * @li "x11-8", "x8", "software-8-x11", "software_8_x11" (Rendering in
3639     * grayscale using dedicated 8bit software engine in X11)
3640     * @li "x11-16", "x16", "software-16-x11", "software_16_x11" (Rendering in
3641     * X11 using 16bit software engine)
3642     * @li "wince-gdi", "software-16-wince-gdi", "software_16_wince_gdi"
3643     * (Windows CE rendering via GDI with 16bit software renderer)
3644     * @li "sdl-16", "software-16-sdl", "software_16_sdl" (Rendering to SDL
3645     * buffer with 16bit software renderer)
3646     * @li "ews" (rendering to EWS - Ecore + Evas Single Process Windowing System)
3647     *
3648     * All engines use a simple string to select the engine to render, EXCEPT
3649     * the "shot" engine. This actually encodes the output of the virtual
3650     * screenshot and how long to delay in the engine string. The engine string
3651     * is encoded in the following way:
3652     *
3653     *   "shot:[delay=XX][:][repeat=DDD][:][file=XX]"
3654     *
3655     * Where options are separated by a ":" char if more than one option is
3656     * given, with delay, if provided being the first option and file the last
3657     * (order is important). The delay specifies how long to wait after the
3658     * window is shown before doing the virtual "in memory" rendering and then
3659     * save the output to the file specified by the file option (and then exit).
3660     * If no delay is given, the default is 0.5 seconds. If no file is given the
3661     * default output file is "out.png". Repeat option is for continous
3662     * capturing screenshots. Repeat range is from 1 to 999 and filename is
3663     * fixed to "out001.png" Some examples of using the shot engine:
3664     *
3665     *   ELM_ENGINE="shot:delay=1.0:repeat=5:file=elm_test.png" elementary_test
3666     *   ELM_ENGINE="shot:delay=1.0:file=elm_test.png" elementary_test
3667     *   ELM_ENGINE="shot:file=elm_test2.png" elementary_test
3668     *   ELM_ENGINE="shot:delay=2.0" elementary_test
3669     *   ELM_ENGINE="shot:" elementary_test
3670     *
3671     * Signals that you can add callbacks for are:
3672     *
3673     * @li "delete,request": the user requested to close the window. See
3674     * elm_win_autodel_set().
3675     * @li "focus,in": window got focus
3676     * @li "focus,out": window lost focus
3677     * @li "moved": window that holds the canvas was moved
3678     *
3679     * Examples:
3680     * @li @ref win_example_01
3681     *
3682     * @{
3683     */
3684    /**
3685     * Defines the types of window that can be created
3686     *
3687     * These are hints set on the window so that a running Window Manager knows
3688     * how the window should be handled and/or what kind of decorations it
3689     * should have.
3690     *
3691     * Currently, only the X11 backed engines use them.
3692     */
3693    typedef enum _Elm_Win_Type
3694      {
3695         ELM_WIN_BASIC, /**< A normal window. Indicates a normal, top-level
3696                          window. Almost every window will be created with this
3697                          type. */
3698         ELM_WIN_DIALOG_BASIC, /**< Used for simple dialog windows/ */
3699         ELM_WIN_DESKTOP, /**< For special desktop windows, like a background
3700                            window holding desktop icons. */
3701         ELM_WIN_DOCK, /**< The window is used as a dock or panel. Usually would
3702                         be kept on top of any other window by the Window
3703                         Manager. */
3704         ELM_WIN_TOOLBAR, /**< The window is used to hold a floating toolbar, or
3705                            similar. */
3706         ELM_WIN_MENU, /**< Similar to #ELM_WIN_TOOLBAR. */
3707         ELM_WIN_UTILITY, /**< A persistent utility window, like a toolbox or
3708                            pallete. */
3709         ELM_WIN_SPLASH, /**< Splash window for a starting up application. */
3710         ELM_WIN_DROPDOWN_MENU, /**< The window is a dropdown menu, as when an
3711                                  entry in a menubar is clicked. Typically used
3712                                  with elm_win_override_set(). This hint exists
3713                                  for completion only, as the EFL way of
3714                                  implementing a menu would not normally use a
3715                                  separate window for its contents. */
3716         ELM_WIN_POPUP_MENU, /**< Like #ELM_WIN_DROPDOWN_MENU, but for the menu
3717                               triggered by right-clicking an object. */
3718         ELM_WIN_TOOLTIP, /**< The window is a tooltip. A short piece of
3719                            explanatory text that typically appear after the
3720                            mouse cursor hovers over an object for a while.
3721                            Typically used with elm_win_override_set() and also
3722                            not very commonly used in the EFL. */
3723         ELM_WIN_NOTIFICATION, /**< A notification window, like a warning about
3724                                 battery life or a new E-Mail received. */
3725         ELM_WIN_COMBO, /**< A window holding the contents of a combo box. Not
3726                          usually used in the EFL. */
3727         ELM_WIN_DND, /**< Used to indicate the window is a representation of an
3728                        object being dragged across different windows, or even
3729                        applications. Typically used with
3730                        elm_win_override_set(). */
3731         ELM_WIN_INLINED_IMAGE, /**< The window is rendered onto an image
3732                                  buffer. No actual window is created for this
3733                                  type, instead the window and all of its
3734                                  contents will be rendered to an image buffer.
3735                                  This allows to have children window inside a
3736                                  parent one just like any other object would
3737                                  be, and do other things like applying @c
3738                                  Evas_Map effects to it. This is the only type
3739                                  of window that requires the @c parent
3740                                  parameter of elm_win_add() to be a valid @c
3741                                  Evas_Object. */
3742      } Elm_Win_Type;
3743
3744    /**
3745     * The differents layouts that can be requested for the virtual keyboard.
3746     *
3747     * When the application window is being managed by Illume, it may request
3748     * any of the following layouts for the virtual keyboard.
3749     */
3750    typedef enum _Elm_Win_Keyboard_Mode
3751      {
3752         ELM_WIN_KEYBOARD_UNKNOWN, /**< Unknown keyboard state */
3753         ELM_WIN_KEYBOARD_OFF, /**< Request to deactivate the keyboard */
3754         ELM_WIN_KEYBOARD_ON, /**< Enable keyboard with default layout */
3755         ELM_WIN_KEYBOARD_ALPHA, /**< Alpha (a-z) keyboard layout */
3756         ELM_WIN_KEYBOARD_NUMERIC, /**< Numeric keyboard layout */
3757         ELM_WIN_KEYBOARD_PIN, /**< PIN keyboard layout */
3758         ELM_WIN_KEYBOARD_PHONE_NUMBER, /**< Phone keyboard layout */
3759         ELM_WIN_KEYBOARD_HEX, /**< Hexadecimal numeric keyboard layout */
3760         ELM_WIN_KEYBOARD_TERMINAL, /**< Full (QUERTY) keyboard layout */
3761         ELM_WIN_KEYBOARD_PASSWORD, /**< Password keyboard layout */
3762         ELM_WIN_KEYBOARD_IP, /**< IP keyboard layout */
3763         ELM_WIN_KEYBOARD_HOST, /**< Host keyboard layout */
3764         ELM_WIN_KEYBOARD_FILE, /**< File keyboard layout */
3765         ELM_WIN_KEYBOARD_URL, /**< URL keyboard layout */
3766         ELM_WIN_KEYBOARD_KEYPAD, /**< Keypad layout */
3767         ELM_WIN_KEYBOARD_J2ME /**< J2ME keyboard layout */
3768      } Elm_Win_Keyboard_Mode;
3769
3770    /**
3771     * Available commands that can be sent to the Illume manager.
3772     *
3773     * When running under an Illume session, a window may send commands to the
3774     * Illume manager to perform different actions.
3775     */
3776    typedef enum _Elm_Illume_Command
3777      {
3778         ELM_ILLUME_COMMAND_FOCUS_BACK, /**< Reverts focus to the previous
3779                                          window */
3780         ELM_ILLUME_COMMAND_FOCUS_FORWARD, /**< Sends focus to the next window\
3781                                             in the list */
3782         ELM_ILLUME_COMMAND_FOCUS_HOME, /**< Hides all windows to show the Home
3783                                          screen */
3784         ELM_ILLUME_COMMAND_CLOSE /**< Closes the currently active window */
3785      } Elm_Illume_Command;
3786
3787    /**
3788     * Adds a window object. If this is the first window created, pass NULL as
3789     * @p parent.
3790     *
3791     * @param parent Parent object to add the window to, or NULL
3792     * @param name The name of the window
3793     * @param type The window type, one of #Elm_Win_Type.
3794     *
3795     * The @p parent paramter can be @c NULL for every window @p type except
3796     * #ELM_WIN_INLINED_IMAGE, which needs a parent to retrieve the canvas on
3797     * which the image object will be created.
3798     *
3799     * @return The created object, or NULL on failure
3800     */
3801    EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type);
3802    /**
3803     * Adds a window object with standard setup
3804     *
3805     * @param name The name of the window
3806     * @param title The title for the window
3807     *
3808     * This creates a window like elm_win_add() but also puts in a standard
3809     * background with elm_bg_add(), as well as setting the window title to
3810     * @p title. The window type created is of type ELM_WIN_BASIC, with NULL
3811     * as the parent widget.
3812     * 
3813     * @return The created object, or NULL on failure
3814     *
3815     * @see elm_win_add()
3816     */
3817    EAPI Evas_Object *elm_win_util_standard_add(const char *name, const char *title);
3818    /**
3819     * Add @p subobj as a resize object of window @p obj.
3820     *
3821     *
3822     * Setting an object as a resize object of the window means that the
3823     * @p subobj child's size and position will be controlled by the window
3824     * directly. That is, the object will be resized to match the window size
3825     * and should never be moved or resized manually by the developer.
3826     *
3827     * In addition, resize objects of the window control what the minimum size
3828     * of it will be, as well as whether it can or not be resized by the user.
3829     *
3830     * For the end user to be able to resize a window by dragging the handles
3831     * or borders provided by the Window Manager, or using any other similar
3832     * mechanism, all of the resize objects in the window should have their
3833     * evas_object_size_hint_weight_set() set to EVAS_HINT_EXPAND.
3834     *
3835     * @param obj The window object
3836     * @param subobj The resize object to add
3837     */
3838    EAPI void         elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
3839    /**
3840     * Delete @p subobj as a resize object of window @p obj.
3841     *
3842     * This function removes the object @p subobj from the resize objects of
3843     * the window @p obj. It will not delete the object itself, which will be
3844     * left unmanaged and should be deleted by the developer, manually handled
3845     * or set as child of some other container.
3846     *
3847     * @param obj The window object
3848     * @param subobj The resize object to add
3849     */
3850    EAPI void         elm_win_resize_object_del(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
3851    /**
3852     * Set the title of the window
3853     *
3854     * @param obj The window object
3855     * @param title The title to set
3856     */
3857    EAPI void         elm_win_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
3858    /**
3859     * Get the title of the window
3860     *
3861     * The returned string is an internal one and should not be freed or
3862     * modified. It will also be rendered invalid if a new title is set or if
3863     * the window is destroyed.
3864     *
3865     * @param obj The window object
3866     * @return The title
3867     */
3868    EAPI const char  *elm_win_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3869    /**
3870     * Set the window's autodel state.
3871     *
3872     * When closing the window in any way outside of the program control, like
3873     * pressing the X button in the titlebar or using a command from the
3874     * Window Manager, a "delete,request" signal is emitted to indicate that
3875     * this event occurred and the developer can take any action, which may
3876     * include, or not, destroying the window object.
3877     *
3878     * When the @p autodel parameter is set, the window will be automatically
3879     * destroyed when this event occurs, after the signal is emitted.
3880     * If @p autodel is @c EINA_FALSE, then the window will not be destroyed
3881     * and is up to the program to do so when it's required.
3882     *
3883     * @param obj The window object
3884     * @param autodel If true, the window will automatically delete itself when
3885     * closed
3886     */
3887    EAPI void         elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel) EINA_ARG_NONNULL(1);
3888    /**
3889     * Get the window's autodel state.
3890     *
3891     * @param obj The window object
3892     * @return If the window will automatically delete itself when closed
3893     *
3894     * @see elm_win_autodel_set()
3895     */
3896    EAPI Eina_Bool    elm_win_autodel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3897    /**
3898     * Activate a window object.
3899     *
3900     * This function sends a request to the Window Manager to activate the
3901     * window pointed by @p obj. If honored by the WM, the window will receive
3902     * the keyboard focus.
3903     *
3904     * @note This is just a request that a Window Manager may ignore, so calling
3905     * this function does not ensure in any way that the window will be the
3906     * active one after it.
3907     *
3908     * @param obj The window object
3909     */
3910    EAPI void         elm_win_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
3911    /**
3912     * Lower a window object.
3913     *
3914     * Places the window pointed by @p obj at the bottom of the stack, so that
3915     * no other window is covered by it.
3916     *
3917     * If elm_win_override_set() is not set, the Window Manager may ignore this
3918     * request.
3919     *
3920     * @param obj The window object
3921     */
3922    EAPI void         elm_win_lower(Evas_Object *obj) EINA_ARG_NONNULL(1);
3923    /**
3924     * Raise a window object.
3925     *
3926     * Places the window pointed by @p obj at the top of the stack, so that it's
3927     * not covered by any other window.
3928     *
3929     * If elm_win_override_set() is not set, the Window Manager may ignore this
3930     * request.
3931     *
3932     * @param obj The window object
3933     */
3934    EAPI void         elm_win_raise(Evas_Object *obj) EINA_ARG_NONNULL(1);
3935    /**
3936     * Set the borderless state of a window.
3937     *
3938     * This function requests the Window Manager to not draw any decoration
3939     * around the window.
3940     *
3941     * @param obj The window object
3942     * @param borderless If true, the window is borderless
3943     */
3944    EAPI void         elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless) EINA_ARG_NONNULL(1);
3945    /**
3946     * Get the borderless state of a window.
3947     *
3948     * @param obj The window object
3949     * @return If true, the window is borderless
3950     */
3951    EAPI Eina_Bool    elm_win_borderless_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3952    /**
3953     * Set the shaped state of a window.
3954     *
3955     * Shaped windows, when supported, will render the parts of the window that
3956     * has no content, transparent.
3957     *
3958     * If @p shaped is EINA_FALSE, then it is strongly adviced to have some
3959     * background object or cover the entire window in any other way, or the
3960     * parts of the canvas that have no data will show framebuffer artifacts.
3961     *
3962     * @param obj The window object
3963     * @param shaped If true, the window is shaped
3964     *
3965     * @see elm_win_alpha_set()
3966     */
3967    EAPI void         elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped) EINA_ARG_NONNULL(1);
3968    /**
3969     * Get the shaped state of a window.
3970     *
3971     * @param obj The window object
3972     * @return If true, the window is shaped
3973     *
3974     * @see elm_win_shaped_set()
3975     */
3976    EAPI Eina_Bool    elm_win_shaped_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3977    /**
3978     * Set the alpha channel state of a window.
3979     *
3980     * If @p alpha is EINA_TRUE, the alpha channel of the canvas will be enabled
3981     * possibly making parts of the window completely or partially transparent.
3982     * This is also subject to the underlying system supporting it, like for
3983     * example, running under a compositing manager. If no compositing is
3984     * available, enabling this option will instead fallback to using shaped
3985     * windows, with elm_win_shaped_set().
3986     *
3987     * @param obj The window object
3988     * @param alpha If true, the window has an alpha channel
3989     *
3990     * @see elm_win_alpha_set()
3991     */
3992    EAPI void         elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
3993    /**
3994     * Get the transparency state of a window.
3995     *
3996     * @param obj The window object
3997     * @return If true, the window is transparent
3998     *
3999     * @see elm_win_transparent_set()
4000     */
4001    EAPI Eina_Bool    elm_win_transparent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4002    /**
4003     * Set the transparency state of a window.
4004     *
4005     * Use elm_win_alpha_set() instead.
4006     *
4007     * @param obj The window object
4008     * @param transparent If true, the window is transparent
4009     *
4010     * @see elm_win_alpha_set()
4011     */
4012    EAPI void         elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent) EINA_ARG_NONNULL(1);
4013    /**
4014     * Get the alpha channel state of a window.
4015     *
4016     * @param obj The window object
4017     * @return If true, the window has an alpha channel
4018     */
4019    EAPI Eina_Bool    elm_win_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4020    /**
4021     * Set the override state of a window.
4022     *
4023     * A window with @p override set to EINA_TRUE will not be managed by the
4024     * Window Manager. This means that no decorations of any kind will be shown
4025     * for it, moving and resizing must be handled by the application, as well
4026     * as the window visibility.
4027     *
4028     * This should not be used for normal windows, and even for not so normal
4029     * ones, it should only be used when there's a good reason and with a lot
4030     * of care. Mishandling override windows may result situations that
4031     * disrupt the normal workflow of the end user.
4032     *
4033     * @param obj The window object
4034     * @param override If true, the window is overridden
4035     */
4036    EAPI void         elm_win_override_set(Evas_Object *obj, Eina_Bool override) EINA_ARG_NONNULL(1);
4037    /**
4038     * Get the override state of a window.
4039     *
4040     * @param obj The window object
4041     * @return If true, the window is overridden
4042     *
4043     * @see elm_win_override_set()
4044     */
4045    EAPI Eina_Bool    elm_win_override_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4046    /**
4047     * Set the fullscreen state of a window.
4048     *
4049     * @param obj The window object
4050     * @param fullscreen If true, the window is fullscreen
4051     */
4052    EAPI void         elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen) EINA_ARG_NONNULL(1);
4053    /**
4054     * Get the fullscreen state of a window.
4055     *
4056     * @param obj The window object
4057     * @return If true, the window is fullscreen
4058     */
4059    EAPI Eina_Bool    elm_win_fullscreen_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4060    /**
4061     * Set the maximized state of a window.
4062     *
4063     * @param obj The window object
4064     * @param maximized If true, the window is maximized
4065     */
4066    EAPI void         elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized) EINA_ARG_NONNULL(1);
4067    /**
4068     * Get the maximized state of a window.
4069     *
4070     * @param obj The window object
4071     * @return If true, the window is maximized
4072     */
4073    EAPI Eina_Bool    elm_win_maximized_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4074    /**
4075     * Set the iconified state of a window.
4076     *
4077     * @param obj The window object
4078     * @param iconified If true, the window is iconified
4079     */
4080    EAPI void         elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified) EINA_ARG_NONNULL(1);
4081    /**
4082     * Get the iconified state of a window.
4083     *
4084     * @param obj The window object
4085     * @return If true, the window is iconified
4086     */
4087    EAPI Eina_Bool    elm_win_iconified_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4088    /**
4089     * Set the layer of the window.
4090     *
4091     * What this means exactly will depend on the underlying engine used.
4092     *
4093     * In the case of X11 backed engines, the value in @p layer has the
4094     * following meanings:
4095     * @li < 3: The window will be placed below all others.
4096     * @li > 5: The window will be placed above all others.
4097     * @li other: The window will be placed in the default layer.
4098     *
4099     * @param obj The window object
4100     * @param layer The layer of the window
4101     */
4102    EAPI void         elm_win_layer_set(Evas_Object *obj, int layer) EINA_ARG_NONNULL(1);
4103    /**
4104     * Get the layer of the window.
4105     *
4106     * @param obj The window object
4107     * @return The layer of the window
4108     *
4109     * @see elm_win_layer_set()
4110     */
4111    EAPI int          elm_win_layer_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4112    /**
4113     * Set the rotation of the window.
4114     *
4115     * Most engines only work with multiples of 90.
4116     *
4117     * This function is used to set the orientation of the window @p obj to
4118     * match that of the screen. The window itself will be resized to adjust
4119     * to the new geometry of its contents. If you want to keep the window size,
4120     * see elm_win_rotation_with_resize_set().
4121     *
4122     * @param obj The window object
4123     * @param rotation The rotation of the window, in degrees (0-360),
4124     * counter-clockwise.
4125     */
4126    EAPI void         elm_win_rotation_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
4127    /**
4128     * Rotates the window and resizes it.
4129     *
4130     * Like elm_win_rotation_set(), but it also resizes the window's contents so
4131     * that they fit inside the current window geometry.
4132     *
4133     * @param obj The window object
4134     * @param layer The rotation of the window in degrees (0-360),
4135     * counter-clockwise.
4136     */
4137    EAPI void         elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
4138    /**
4139     * Get the rotation of the window.
4140     *
4141     * @param obj The window object
4142     * @return The rotation of the window in degrees (0-360)
4143     *
4144     * @see elm_win_rotation_set()
4145     * @see elm_win_rotation_with_resize_set()
4146     */
4147    EAPI int          elm_win_rotation_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4148    /**
4149     * Set the sticky state of the window.
4150     *
4151     * Hints the Window Manager that the window in @p obj should be left fixed
4152     * at its position even when the virtual desktop it's on moves or changes.
4153     *
4154     * @param obj The window object
4155     * @param sticky If true, the window's sticky state is enabled
4156     */
4157    EAPI void         elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky) EINA_ARG_NONNULL(1);
4158    /**
4159     * Get the sticky state of the window.
4160     *
4161     * @param obj The window object
4162     * @return If true, the window's sticky state is enabled
4163     *
4164     * @see elm_win_sticky_set()
4165     */
4166    EAPI Eina_Bool    elm_win_sticky_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4167    /**
4168     * Set if this window is an illume conformant window
4169     *
4170     * @param obj The window object
4171     * @param conformant The conformant flag (1 = conformant, 0 = non-conformant)
4172     */
4173    EAPI void         elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant) EINA_ARG_NONNULL(1);
4174    /**
4175     * Get if this window is an illume conformant window
4176     *
4177     * @param obj The window object
4178     * @return A boolean if this window is illume conformant or not
4179     */
4180    EAPI Eina_Bool    elm_win_conformant_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4181    /**
4182     * Set a window to be an illume quickpanel window
4183     *
4184     * By default window objects are not quickpanel windows.
4185     *
4186     * @param obj The window object
4187     * @param quickpanel The quickpanel flag (1 = quickpanel, 0 = normal window)
4188     */
4189    EAPI void         elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel) EINA_ARG_NONNULL(1);
4190    /**
4191     * Get if this window is a quickpanel or not
4192     *
4193     * @param obj The window object
4194     * @return A boolean if this window is a quickpanel or not
4195     */
4196    EAPI Eina_Bool    elm_win_quickpanel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4197    /**
4198     * Set the major priority of a quickpanel window
4199     *
4200     * @param obj The window object
4201     * @param priority The major priority for this quickpanel
4202     */
4203    EAPI void         elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
4204    /**
4205     * Get the major priority of a quickpanel window
4206     *
4207     * @param obj The window object
4208     * @return The major priority of this quickpanel
4209     */
4210    EAPI int          elm_win_quickpanel_priority_major_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4211    /**
4212     * Set the minor priority of a quickpanel window
4213     *
4214     * @param obj The window object
4215     * @param priority The minor priority for this quickpanel
4216     */
4217    EAPI void         elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
4218    /**
4219     * Get the minor priority of a quickpanel window
4220     *
4221     * @param obj The window object
4222     * @return The minor priority of this quickpanel
4223     */
4224    EAPI int          elm_win_quickpanel_priority_minor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4225    /**
4226     * Set which zone this quickpanel should appear in
4227     *
4228     * @param obj The window object
4229     * @param zone The requested zone for this quickpanel
4230     */
4231    EAPI void         elm_win_quickpanel_zone_set(Evas_Object *obj, int zone) EINA_ARG_NONNULL(1);
4232    /**
4233     * Get which zone this quickpanel should appear in
4234     *
4235     * @param obj The window object
4236     * @return The requested zone for this quickpanel
4237     */
4238    EAPI int          elm_win_quickpanel_zone_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4239    /**
4240     * Set the window to be skipped by keyboard focus
4241     *
4242     * This sets the window to be skipped by normal keyboard input. This means
4243     * a window manager will be asked to not focus this window as well as omit
4244     * it from things like the taskbar, pager, "alt-tab" list etc. etc.
4245     *
4246     * Call this and enable it on a window BEFORE you show it for the first time,
4247     * otherwise it may have no effect.
4248     *
4249     * Use this for windows that have only output information or might only be
4250     * interacted with by the mouse or fingers, and never for typing input.
4251     * Be careful that this may have side-effects like making the window
4252     * non-accessible in some cases unless the window is specially handled. Use
4253     * this with care.
4254     *
4255     * @param obj The window object
4256     * @param skip The skip flag state (EINA_TRUE if it is to be skipped)
4257     */
4258    EAPI void         elm_win_prop_focus_skip_set(Evas_Object *obj, Eina_Bool skip) EINA_ARG_NONNULL(1);
4259    /**
4260     * Send a command to the windowing environment
4261     *
4262     * This is intended to work in touchscreen or small screen device
4263     * environments where there is a more simplistic window management policy in
4264     * place. This uses the window object indicated to select which part of the
4265     * environment to control (the part that this window lives in), and provides
4266     * a command and an optional parameter structure (use NULL for this if not
4267     * needed).
4268     *
4269     * @param obj The window object that lives in the environment to control
4270     * @param command The command to send
4271     * @param params Optional parameters for the command
4272     */
4273    EAPI void         elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, void *params) EINA_ARG_NONNULL(1);
4274    /**
4275     * Get the inlined image object handle
4276     *
4277     * When you create a window with elm_win_add() of type ELM_WIN_INLINED_IMAGE,
4278     * then the window is in fact an evas image object inlined in the parent
4279     * canvas. You can get this object (be careful to not manipulate it as it
4280     * is under control of elementary), and use it to do things like get pixel
4281     * data, save the image to a file, etc.
4282     *
4283     * @param obj The window object to get the inlined image from
4284     * @return The inlined image object, or NULL if none exists
4285     */
4286    EAPI Evas_Object *elm_win_inlined_image_object_get(Evas_Object *obj);
4287    /**
4288     * Set the enabled status for the focus highlight in a window
4289     *
4290     * This function will enable or disable the focus highlight only for the
4291     * given window, regardless of the global setting for it
4292     *
4293     * @param obj The window where to enable the highlight
4294     * @param enabled The enabled value for the highlight
4295     */
4296    EAPI void         elm_win_focus_highlight_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
4297    /**
4298     * Get the enabled value of the focus highlight for this window
4299     *
4300     * @param obj The window in which to check if the focus highlight is enabled
4301     *
4302     * @return EINA_TRUE if enabled, EINA_FALSE otherwise
4303     */
4304    EAPI Eina_Bool    elm_win_focus_highlight_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4305    /**
4306     * Set the style for the focus highlight on this window
4307     *
4308     * Sets the style to use for theming the highlight of focused objects on
4309     * the given window. If @p style is NULL, the default will be used.
4310     *
4311     * @param obj The window where to set the style
4312     * @param style The style to set
4313     */
4314    EAPI void         elm_win_focus_highlight_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
4315    /**
4316     * Get the style set for the focus highlight object
4317     *
4318     * Gets the style set for this windows highilght object, or NULL if none
4319     * is set.
4320     *
4321     * @param obj The window to retrieve the highlights style from
4322     *
4323     * @return The style set or NULL if none was. Default is used in that case.
4324     */
4325    EAPI const char  *elm_win_focus_highlight_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4326    /*...
4327     * ecore_x_icccm_hints_set -> accepts_focus (add to ecore_evas)
4328     * ecore_x_icccm_hints_set -> window_group (add to ecore_evas)
4329     * ecore_x_icccm_size_pos_hints_set -> request_pos (add to ecore_evas)
4330     * ecore_x_icccm_client_leader_set -> l (add to ecore_evas)
4331     * ecore_x_icccm_window_role_set -> role (add to ecore_evas)
4332     * ecore_x_icccm_transient_for_set -> forwin (add to ecore_evas)
4333     * ecore_x_netwm_window_type_set -> type (add to ecore_evas)
4334     *
4335     * (add to ecore_x) set netwm argb icon! (add to ecore_evas)
4336     * (blank mouse, private mouse obj, defaultmouse)
4337     *
4338     */
4339    /**
4340     * Sets the keyboard mode of the window.
4341     *
4342     * @param obj The window object
4343     * @param mode The mode to set, one of #Elm_Win_Keyboard_Mode
4344     */
4345    EAPI void                  elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode) EINA_ARG_NONNULL(1);
4346    /**
4347     * Gets the keyboard mode of the window.
4348     *
4349     * @param obj The window object
4350     * @return The mode, one of #Elm_Win_Keyboard_Mode
4351     */
4352    EAPI Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4353    /**
4354     * Sets whether the window is a keyboard.
4355     *
4356     * @param obj The window object
4357     * @param is_keyboard If true, the window is a virtual keyboard
4358     */
4359    EAPI void                  elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard) EINA_ARG_NONNULL(1);
4360    /**
4361     * Gets whether the window is a keyboard.
4362     *
4363     * @param obj The window object
4364     * @return If the window is a virtual keyboard
4365     */
4366    EAPI Eina_Bool             elm_win_keyboard_win_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4367
4368    /**
4369     * Get the screen position of a window.
4370     *
4371     * @param obj The window object
4372     * @param x The int to store the x coordinate to
4373     * @param y The int to store the y coordinate to
4374     */
4375    EAPI void                  elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y) EINA_ARG_NONNULL(1);
4376    /**
4377     * @}
4378     */
4379
4380    /**
4381     * @defgroup Inwin Inwin
4382     *
4383     * @image html img/widget/inwin/preview-00.png
4384     * @image latex img/widget/inwin/preview-00.eps
4385     * @image html img/widget/inwin/preview-01.png
4386     * @image latex img/widget/inwin/preview-01.eps
4387     * @image html img/widget/inwin/preview-02.png
4388     * @image latex img/widget/inwin/preview-02.eps
4389     *
4390     * An inwin is a window inside a window that is useful for a quick popup.
4391     * It does not hover.
4392     *
4393     * It works by creating an object that will occupy the entire window, so it
4394     * must be created using an @ref Win "elm_win" as parent only. The inwin
4395     * object can be hidden or restacked below every other object if it's
4396     * needed to show what's behind it without destroying it. If this is done,
4397     * the elm_win_inwin_activate() function can be used to bring it back to
4398     * full visibility again.
4399     *
4400     * There are three styles available in the default theme. These are:
4401     * @li default: The inwin is sized to take over most of the window it's
4402     * placed in.
4403     * @li minimal: The size of the inwin will be the minimum necessary to show
4404     * its contents.
4405     * @li minimal_vertical: Horizontally, the inwin takes as much space as
4406     * possible, but it's sized vertically the most it needs to fit its\
4407     * contents.
4408     *
4409     * Some examples of Inwin can be found in the following:
4410     * @li @ref inwin_example_01
4411     *
4412     * @{
4413     */
4414    /**
4415     * Adds an inwin to the current window
4416     *
4417     * The @p obj used as parent @b MUST be an @ref Win "Elementary Window".
4418     * Never call this function with anything other than the top-most window
4419     * as its parameter, unless you are fond of undefined behavior.
4420     *
4421     * After creating the object, the widget will set itself as resize object
4422     * for the window with elm_win_resize_object_add(), so when shown it will
4423     * appear to cover almost the entire window (how much of it depends on its
4424     * content and the style used). It must not be added into other container
4425     * objects and it needs not be moved or resized manually.
4426     *
4427     * @param parent The parent object
4428     * @return The new object or NULL if it cannot be created
4429     */
4430    EAPI Evas_Object          *elm_win_inwin_add(Evas_Object *obj) EINA_ARG_NONNULL(1);
4431    /**
4432     * Activates an inwin object, ensuring its visibility
4433     *
4434     * This function will make sure that the inwin @p obj is completely visible
4435     * by calling evas_object_show() and evas_object_raise() on it, to bring it
4436     * to the front. It also sets the keyboard focus to it, which will be passed
4437     * onto its content.
4438     *
4439     * The object's theme will also receive the signal "elm,action,show" with
4440     * source "elm".
4441     *
4442     * @param obj The inwin to activate
4443     */
4444    EAPI void                  elm_win_inwin_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
4445    /**
4446     * Set the content of an inwin object.
4447     *
4448     * Once the content object is set, a previously set one will be deleted.
4449     * If you want to keep that old content object, use the
4450     * elm_win_inwin_content_unset() function.
4451     *
4452     * @param obj The inwin object
4453     * @param content The object to set as content
4454     */
4455    EAPI void                  elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
4456    /**
4457     * Get the content of an inwin object.
4458     *
4459     * Return the content object which is set for this widget.
4460     *
4461     * The returned object is valid as long as the inwin is still alive and no
4462     * other content is set on it. Deleting the object will notify the inwin
4463     * about it and this one will be left empty.
4464     *
4465     * If you need to remove an inwin's content to be reused somewhere else,
4466     * see elm_win_inwin_content_unset().
4467     *
4468     * @param obj The inwin object
4469     * @return The content that is being used
4470     */
4471    EAPI Evas_Object          *elm_win_inwin_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4472    /**
4473     * Unset the content of an inwin object.
4474     *
4475     * Unparent and return the content object which was set for this widget.
4476     *
4477     * @param obj The inwin object
4478     * @return The content that was being used
4479     */
4480    EAPI Evas_Object          *elm_win_inwin_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4481    /**
4482     * @}
4483     */
4484    /* X specific calls - won't work on non-x engines (return 0) */
4485
4486    /**
4487     * Get the Ecore_X_Window of an Evas_Object
4488     *
4489     * @param obj The object
4490     *
4491     * @return The Ecore_X_Window of @p obj
4492     *
4493     * @ingroup Win
4494     */
4495    EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4496
4497    /* smart callbacks called:
4498     * "delete,request" - the user requested to delete the window
4499     * "focus,in" - window got focus
4500     * "focus,out" - window lost focus
4501     * "moved" - window that holds the canvas was moved
4502     */
4503
4504    /**
4505     * @defgroup Bg Bg
4506     *
4507     * @image html img/widget/bg/preview-00.png
4508     * @image latex img/widget/bg/preview-00.eps
4509     *
4510     * @brief Background object, used for setting a solid color, image or Edje
4511     * group as background to a window or any container object.
4512     *
4513     * The bg object is used for setting a solid background to a window or
4514     * packing into any container object. It works just like an image, but has
4515     * some properties useful to a background, like setting it to tiled,
4516     * centered, scaled or stretched.
4517     * 
4518     * Default contents parts of the bg widget that you can use for are:
4519     * @li "elm.swallow.content" - overlay of the bg
4520     *
4521     * Here is some sample code using it:
4522     * @li @ref bg_01_example_page
4523     * @li @ref bg_02_example_page
4524     * @li @ref bg_03_example_page
4525     */
4526
4527    /* bg */
4528    typedef enum _Elm_Bg_Option
4529      {
4530         ELM_BG_OPTION_CENTER,  /**< center the background */
4531         ELM_BG_OPTION_SCALE,   /**< scale the background retaining aspect ratio */
4532         ELM_BG_OPTION_STRETCH, /**< stretch the background to fill */
4533         ELM_BG_OPTION_TILE     /**< tile background at its original size */
4534      } Elm_Bg_Option;
4535
4536    /**
4537     * Add a new background to the parent
4538     *
4539     * @param parent The parent object
4540     * @return The new object or NULL if it cannot be created
4541     *
4542     * @ingroup Bg
4543     */
4544    EAPI Evas_Object  *elm_bg_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4545
4546    /**
4547     * Set the file (image or edje) used for the background
4548     *
4549     * @param obj The bg object
4550     * @param file The file path
4551     * @param group Optional key (group in Edje) within the file
4552     *
4553     * This sets the image file used in the background object. The image (or edje)
4554     * will be stretched (retaining aspect if its an image file) to completely fill
4555     * the bg object. This may mean some parts are not visible.
4556     *
4557     * @note  Once the image of @p obj is set, a previously set one will be deleted,
4558     * even if @p file is NULL.
4559     *
4560     * @ingroup Bg
4561     */
4562    EAPI void          elm_bg_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
4563
4564    /**
4565     * Get the file (image or edje) used for the background
4566     *
4567     * @param obj The bg object
4568     * @param file The file path
4569     * @param group Optional key (group in Edje) within the file
4570     *
4571     * @ingroup Bg
4572     */
4573    EAPI void          elm_bg_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
4574
4575    /**
4576     * Set the option used for the background image
4577     *
4578     * @param obj The bg object
4579     * @param option The desired background option (TILE, SCALE)
4580     *
4581     * This sets the option used for manipulating the display of the background
4582     * image. The image can be tiled or scaled.
4583     *
4584     * @ingroup Bg
4585     */
4586    EAPI void          elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option) EINA_ARG_NONNULL(1);
4587
4588    /**
4589     * Get the option used for the background image
4590     *
4591     * @param obj The bg object
4592     * @return The desired background option (CENTER, SCALE, STRETCH or TILE)
4593     *
4594     * @ingroup Bg
4595     */
4596    EAPI Elm_Bg_Option elm_bg_option_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4597    /**
4598     * Set the option used for the background color
4599     *
4600     * @param obj The bg object
4601     * @param r
4602     * @param g
4603     * @param b
4604     *
4605     * This sets the color used for the background rectangle. Its range goes
4606     * from 0 to 255.
4607     *
4608     * @ingroup Bg
4609     */
4610    EAPI void          elm_bg_color_set(Evas_Object *obj, int r, int g, int b) EINA_ARG_NONNULL(1);
4611    /**
4612     * Get the option used for the background color
4613     *
4614     * @param obj The bg object
4615     * @param r
4616     * @param g
4617     * @param b
4618     *
4619     * @ingroup Bg
4620     */
4621    EAPI void          elm_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b) EINA_ARG_NONNULL(1);
4622
4623    /**
4624     * Set the overlay object used for the background object.
4625     *
4626     * @param obj The bg object
4627     * @param overlay The overlay object
4628     *
4629     * This provides a way for elm_bg to have an 'overlay' that will be on top
4630     * of the bg. Once the over object is set, a previously set one will be
4631     * deleted, even if you set the new one to NULL. If you want to keep that
4632     * old content object, use the elm_bg_overlay_unset() function.
4633     *
4634     * @ingroup Bg
4635     */
4636
4637    EINA_DEPRECATED EAPI void          elm_bg_overlay_set(Evas_Object *obj, Evas_Object *overlay) EINA_ARG_NONNULL(1);
4638
4639    /**
4640     * Get the overlay object used for the background object.
4641     *
4642     * @param obj The bg object
4643     * @return The content that is being used
4644     *
4645     * Return the content object which is set for this widget
4646     *
4647     * @ingroup Bg
4648     */
4649    EINA_DEPRECATED EAPI Evas_Object  *elm_bg_overlay_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4650
4651    /**
4652     * Get the overlay object used for the background object.
4653     *
4654     * @param obj The bg object
4655     * @return The content that was being used
4656     *
4657     * Unparent and return the overlay object which was set for this widget
4658     *
4659     * @ingroup Bg
4660     */
4661    EINA_DEPRECATED EAPI Evas_Object  *elm_bg_overlay_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4662
4663    /**
4664     * Set the size of the pixmap representation of the image.
4665     *
4666     * This option just makes sense if an image is going to be set in the bg.
4667     *
4668     * @param obj The bg object
4669     * @param w The new width of the image pixmap representation.
4670     * @param h The new height of the image pixmap representation.
4671     *
4672     * This function sets a new size for pixmap representation of the given bg
4673     * image. It allows the image to be loaded already in the specified size,
4674     * reducing the memory usage and load time when loading a big image with load
4675     * size set to a smaller size.
4676     *
4677     * NOTE: this is just a hint, the real size of the pixmap may differ
4678     * depending on the type of image being loaded, being bigger than requested.
4679     *
4680     * @ingroup Bg
4681     */
4682    EAPI void          elm_bg_load_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
4683    /* smart callbacks called:
4684     */
4685
4686    /**
4687     * @defgroup Icon Icon
4688     *
4689     * @image html img/widget/icon/preview-00.png
4690     * @image latex img/widget/icon/preview-00.eps
4691     *
4692     * An object that provides standard icon images (delete, edit, arrows, etc.)
4693     * or a custom file (PNG, JPG, EDJE, etc.) used for an icon.
4694     *
4695     * The icon image requested can be in the elementary theme, or in the
4696     * freedesktop.org paths. It's possible to set the order of preference from
4697     * where the image will be used.
4698     *
4699     * This API is very similar to @ref Image, but with ready to use images.
4700     *
4701     * Default images provided by the theme are described below.
4702     *
4703     * The first list contains icons that were first intended to be used in
4704     * toolbars, but can be used in many other places too:
4705     * @li home
4706     * @li close
4707     * @li apps
4708     * @li arrow_up
4709     * @li arrow_down
4710     * @li arrow_left
4711     * @li arrow_right
4712     * @li chat
4713     * @li clock
4714     * @li delete
4715     * @li edit
4716     * @li refresh
4717     * @li folder
4718     * @li file
4719     *
4720     * Now some icons that were designed to be used in menus (but again, you can
4721     * use them anywhere else):
4722     * @li menu/home
4723     * @li menu/close
4724     * @li menu/apps
4725     * @li menu/arrow_up
4726     * @li menu/arrow_down
4727     * @li menu/arrow_left
4728     * @li menu/arrow_right
4729     * @li menu/chat
4730     * @li menu/clock
4731     * @li menu/delete
4732     * @li menu/edit
4733     * @li menu/refresh
4734     * @li menu/folder
4735     * @li menu/file
4736     *
4737     * And here we have some media player specific icons:
4738     * @li media_player/forward
4739     * @li media_player/info
4740     * @li media_player/next
4741     * @li media_player/pause
4742     * @li media_player/play
4743     * @li media_player/prev
4744     * @li media_player/rewind
4745     * @li media_player/stop
4746     *
4747     * Signals that you can add callbacks for are:
4748     *
4749     * "clicked" - This is called when a user has clicked the icon
4750     *
4751     * An example of usage for this API follows:
4752     * @li @ref tutorial_icon
4753     */
4754
4755    /**
4756     * @addtogroup Icon
4757     * @{
4758     */
4759
4760    typedef enum _Elm_Icon_Type
4761      {
4762         ELM_ICON_NONE,
4763         ELM_ICON_FILE,
4764         ELM_ICON_STANDARD
4765      } Elm_Icon_Type;
4766    /**
4767     * @enum _Elm_Icon_Lookup_Order
4768     * @typedef Elm_Icon_Lookup_Order
4769     *
4770     * Lookup order used by elm_icon_standard_set(). Should look for icons in the
4771     * theme, FDO paths, or both?
4772     *
4773     * @ingroup Icon
4774     */
4775    typedef enum _Elm_Icon_Lookup_Order
4776      {
4777         ELM_ICON_LOOKUP_FDO_THEME, /**< icon look up order: freedesktop, theme */
4778         ELM_ICON_LOOKUP_THEME_FDO, /**< icon look up order: theme, freedesktop */
4779         ELM_ICON_LOOKUP_FDO,       /**< icon look up order: freedesktop */
4780         ELM_ICON_LOOKUP_THEME      /**< icon look up order: theme */
4781      } Elm_Icon_Lookup_Order;
4782
4783    /**
4784     * Add a new icon object to the parent.
4785     *
4786     * @param parent The parent object
4787     * @return The new object or NULL if it cannot be created
4788     *
4789     * @see elm_icon_file_set()
4790     *
4791     * @ingroup Icon
4792     */
4793    EAPI Evas_Object          *elm_icon_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4794    /**
4795     * Set the file that will be used as icon.
4796     *
4797     * @param obj The icon object
4798     * @param file The path to file that will be used as icon image
4799     * @param group The group that the icon belongs to an edje file
4800     *
4801     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
4802     *
4803     * @note The icon image set by this function can be changed by
4804     * elm_icon_standard_set().
4805     *
4806     * @see elm_icon_file_get()
4807     *
4808     * @ingroup Icon
4809     */
4810    EAPI Eina_Bool             elm_icon_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
4811    /**
4812     * Set a location in memory to be used as an icon
4813     *
4814     * @param obj The icon object
4815     * @param img The binary data that will be used as an image
4816     * @param size The size of binary data @p img
4817     * @param format Optional format of @p img to pass to the image loader
4818     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
4819     *
4820     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
4821     *
4822     * @note The icon image set by this function can be changed by
4823     * elm_icon_standard_set().
4824     *
4825     * @ingroup Icon
4826     */
4827    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);
4828    /**
4829     * Get the file that will be used as icon.
4830     *
4831     * @param obj The icon object
4832     * @param file The path to file that will be used as the icon image
4833     * @param group The group that the icon belongs to, in edje file
4834     *
4835     * @see elm_icon_file_set()
4836     *
4837     * @ingroup Icon
4838     */
4839    EAPI void                  elm_icon_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
4840    EAPI void                  elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
4841    /**
4842     * Set the icon by icon standards names.
4843     *
4844     * @param obj The icon object
4845     * @param name The icon name
4846     *
4847     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
4848     *
4849     * For example, freedesktop.org defines standard icon names such as "home",
4850     * "network", etc. There can be different icon sets to match those icon
4851     * keys. The @p name given as parameter is one of these "keys", and will be
4852     * used to look in the freedesktop.org paths and elementary theme. One can
4853     * change the lookup order with elm_icon_order_lookup_set().
4854     *
4855     * If name is not found in any of the expected locations and it is the
4856     * absolute path of an image file, this image will be used.
4857     *
4858     * @note The icon image set by this function can be changed by
4859     * elm_icon_file_set().
4860     *
4861     * @see elm_icon_standard_get()
4862     * @see elm_icon_file_set()
4863     *
4864     * @ingroup Icon
4865     */
4866    EAPI Eina_Bool             elm_icon_standard_set(Evas_Object *obj, const char *name) EINA_ARG_NONNULL(1);
4867    /**
4868     * Get the icon name set by icon standard names.
4869     *
4870     * @param obj The icon object
4871     * @return The icon name
4872     *
4873     * If the icon image was set using elm_icon_file_set() instead of
4874     * elm_icon_standard_set(), then this function will return @c NULL.
4875     *
4876     * @see elm_icon_standard_set()
4877     *
4878     * @ingroup Icon
4879     */
4880    EAPI const char           *elm_icon_standard_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4881    /**
4882     * Set the smooth scaling for an icon object.
4883     *
4884     * @param obj The icon object
4885     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
4886     * otherwise. Default is @c EINA_TRUE.
4887     *
4888     * Set the scaling algorithm to be used when scaling the icon image. Smooth
4889     * scaling provides a better resulting image, but is slower.
4890     *
4891     * The smooth scaling should be disabled when making animations that change
4892     * the icon size, since they will be faster. Animations that don't require
4893     * resizing of the icon can keep the smooth scaling enabled (even if the icon
4894     * is already scaled, since the scaled icon image will be cached).
4895     *
4896     * @see elm_icon_smooth_get()
4897     *
4898     * @ingroup Icon
4899     */
4900    EAPI void                  elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
4901    /**
4902     * Get whether smooth scaling is enabled for an icon object.
4903     *
4904     * @param obj The icon object
4905     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
4906     *
4907     * @see elm_icon_smooth_set()
4908     *
4909     * @ingroup Icon
4910     */
4911    EAPI Eina_Bool             elm_icon_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4912    /**
4913     * Disable scaling of this object.
4914     *
4915     * @param obj The icon object.
4916     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
4917     * otherwise. Default is @c EINA_FALSE.
4918     *
4919     * This function disables scaling of the icon object through the function
4920     * elm_object_scale_set(). However, this does not affect the object
4921     * size/resize in any way. For that effect, take a look at
4922     * elm_icon_scale_set().
4923     *
4924     * @see elm_icon_no_scale_get()
4925     * @see elm_icon_scale_set()
4926     * @see elm_object_scale_set()
4927     *
4928     * @ingroup Icon
4929     */
4930    EAPI void                  elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
4931    /**
4932     * Get whether scaling is disabled on the object.
4933     *
4934     * @param obj The icon object
4935     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
4936     *
4937     * @see elm_icon_no_scale_set()
4938     *
4939     * @ingroup Icon
4940     */
4941    EAPI Eina_Bool             elm_icon_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4942    /**
4943     * Set if the object is (up/down) resizable.
4944     *
4945     * @param obj The icon object
4946     * @param scale_up A bool to set if the object is resizable up. Default is
4947     * @c EINA_TRUE.
4948     * @param scale_down A bool to set if the object is resizable down. Default
4949     * is @c EINA_TRUE.
4950     *
4951     * This function limits the icon object resize ability. If @p scale_up is set to
4952     * @c EINA_FALSE, the object can't have its height or width resized to a value
4953     * higher than the original icon size. Same is valid for @p scale_down.
4954     *
4955     * @see elm_icon_scale_get()
4956     *
4957     * @ingroup Icon
4958     */
4959    EAPI void                  elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
4960    /**
4961     * Get if the object is (up/down) resizable.
4962     *
4963     * @param obj The icon object
4964     * @param scale_up A bool to set if the object is resizable up
4965     * @param scale_down A bool to set if the object is resizable down
4966     *
4967     * @see elm_icon_scale_set()
4968     *
4969     * @ingroup Icon
4970     */
4971    EAPI void                  elm_icon_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
4972    /**
4973     * Get the object's image size
4974     *
4975     * @param obj The icon object
4976     * @param w A pointer to store the width in
4977     * @param h A pointer to store the height in
4978     *
4979     * @ingroup Icon
4980     */
4981    EAPI void                  elm_icon_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
4982    /**
4983     * Set if the icon fill the entire object area.
4984     *
4985     * @param obj The icon object
4986     * @param fill_outside @c EINA_TRUE if the object is filled outside,
4987     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
4988     *
4989     * When the icon object is resized to a different aspect ratio from the
4990     * original icon image, the icon image will still keep its aspect. This flag
4991     * tells how the image should fill the object's area. They are: keep the
4992     * entire icon inside the limits of height and width of the object (@p
4993     * fill_outside is @c EINA_FALSE) or let the extra width or height go outside
4994     * of the object, and the icon will fill the entire object (@p fill_outside
4995     * is @c EINA_TRUE).
4996     *
4997     * @note Unlike @ref Image, there's no option in icon to set the aspect ratio
4998     * retain property to false. Thus, the icon image will always keep its
4999     * original aspect ratio.
5000     *
5001     * @see elm_icon_fill_outside_get()
5002     * @see elm_image_fill_outside_set()
5003     *
5004     * @ingroup Icon
5005     */
5006    EAPI void                  elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
5007    /**
5008     * Get if the object is filled outside.
5009     *
5010     * @param obj The icon object
5011     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
5012     *
5013     * @see elm_icon_fill_outside_set()
5014     *
5015     * @ingroup Icon
5016     */
5017    EAPI Eina_Bool             elm_icon_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5018    /**
5019     * Set the prescale size for the icon.
5020     *
5021     * @param obj The icon object
5022     * @param size The prescale size. This value is used for both width and
5023     * height.
5024     *
5025     * This function sets a new size for pixmap representation of the given
5026     * icon. It allows the icon to be loaded already in the specified size,
5027     * reducing the memory usage and load time when loading a big icon with load
5028     * size set to a smaller size.
5029     *
5030     * It's equivalent to the elm_bg_load_size_set() function for bg.
5031     *
5032     * @note this is just a hint, the real size of the pixmap may differ
5033     * depending on the type of icon being loaded, being bigger than requested.
5034     *
5035     * @see elm_icon_prescale_get()
5036     * @see elm_bg_load_size_set()
5037     *
5038     * @ingroup Icon
5039     */
5040    EAPI void                  elm_icon_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
5041    /**
5042     * Get the prescale size for the icon.
5043     *
5044     * @param obj The icon object
5045     * @return The prescale size
5046     *
5047     * @see elm_icon_prescale_set()
5048     *
5049     * @ingroup Icon
5050     */
5051    EAPI int                   elm_icon_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5052    /**
5053     * Sets the icon lookup order used by elm_icon_standard_set().
5054     *
5055     * @param obj The icon object
5056     * @param order The icon lookup order (can be one of
5057     * ELM_ICON_LOOKUP_FDO_THEME, ELM_ICON_LOOKUP_THEME_FDO, ELM_ICON_LOOKUP_FDO
5058     * or ELM_ICON_LOOKUP_THEME)
5059     *
5060     * @see elm_icon_order_lookup_get()
5061     * @see Elm_Icon_Lookup_Order
5062     *
5063     * @ingroup Icon
5064     */
5065    EAPI void                  elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
5066    /**
5067     * Gets the icon lookup order.
5068     *
5069     * @param obj The icon object
5070     * @return The icon lookup order
5071     *
5072     * @see elm_icon_order_lookup_set()
5073     * @see Elm_Icon_Lookup_Order
5074     *
5075     * @ingroup Icon
5076     */
5077    EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5078    /**
5079     * Get if the icon supports animation or not.
5080     *
5081     * @param obj The icon object
5082     * @return @c EINA_TRUE if the icon supports animation,
5083     *         @c EINA_FALSE otherwise.
5084     *
5085     * Return if this elm icon's image can be animated. Currently Evas only
5086     * supports gif animation. If the return value is EINA_FALSE, other
5087     * elm_icon_animated_XXX APIs won't work.
5088     * @ingroup Icon
5089     */
5090    EAPI Eina_Bool           elm_icon_animated_available_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5091    /**
5092     * Set animation mode of the icon.
5093     *
5094     * @param obj The icon object
5095     * @param anim @c EINA_TRUE if the object do animation job,
5096     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5097     *
5098     * Since the default animation mode is set to EINA_FALSE, 
5099     * the icon is shown without animation.
5100     * This might be desirable when the application developer wants to show
5101     * a snapshot of the animated icon.
5102     * Set it to EINA_TRUE when the icon needs to be animated.
5103     * @ingroup Icon
5104     */
5105    EAPI void                elm_icon_animated_set(Evas_Object *obj, Eina_Bool animated) EINA_ARG_NONNULL(1);
5106    /**
5107     * Get animation mode of the icon.
5108     *
5109     * @param obj The icon object
5110     * @return The animation mode of the icon object
5111     * @see elm_icon_animated_set
5112     * @ingroup Icon
5113     */
5114    EAPI Eina_Bool           elm_icon_animated_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5115    /**
5116     * Set animation play mode of the icon.
5117     *
5118     * @param obj The icon object
5119     * @param play @c EINA_TRUE the object play animation images,
5120     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5121     *
5122     * To play elm icon's animation, set play to EINA_TURE.
5123     * For example, you make gif player using this set/get API and click event.
5124     *
5125     * 1. Click event occurs
5126     * 2. Check play flag using elm_icon_animaged_play_get
5127     * 3. If elm icon was playing, set play to EINA_FALSE.
5128     *    Then animation will be stopped and vice versa
5129     * @ingroup Icon
5130     */
5131    EAPI void                elm_icon_animated_play_set(Evas_Object *obj, Eina_Bool play) EINA_ARG_NONNULL(1);
5132    /**
5133     * Get animation play mode of the icon.
5134     *
5135     * @param obj The icon object
5136     * @return The play mode of the icon object
5137     *
5138     * @see elm_icon_animated_play_get
5139     * @ingroup Icon
5140     */
5141    EAPI Eina_Bool           elm_icon_animated_play_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5142
5143    /**
5144     * @}
5145     */
5146
5147    /**
5148     * @defgroup Image Image
5149     *
5150     * @image html img/widget/image/preview-00.png
5151     * @image latex img/widget/image/preview-00.eps
5152
5153     *
5154     * An object that allows one to load an image file to it. It can be used
5155     * anywhere like any other elementary widget.
5156     *
5157     * This widget provides most of the functionality provided from @ref Bg or @ref
5158     * Icon, but with a slightly different API (use the one that fits better your
5159     * needs).
5160     *
5161     * The features not provided by those two other image widgets are:
5162     * @li allowing to get the basic @c Evas_Object with elm_image_object_get();
5163     * @li change the object orientation with elm_image_orient_set();
5164     * @li and turning the image editable with elm_image_editable_set().
5165     *
5166     * Signals that you can add callbacks for are:
5167     *
5168     * @li @c "clicked" - This is called when a user has clicked the image
5169     *
5170     * An example of usage for this API follows:
5171     * @li @ref tutorial_image
5172     */
5173
5174    /**
5175     * @addtogroup Image
5176     * @{
5177     */
5178
5179    /**
5180     * @enum _Elm_Image_Orient
5181     * @typedef Elm_Image_Orient
5182     *
5183     * Possible orientation options for elm_image_orient_set().
5184     *
5185     * @image html elm_image_orient_set.png
5186     * @image latex elm_image_orient_set.eps width=\textwidth
5187     *
5188     * @ingroup Image
5189     */
5190    typedef enum _Elm_Image_Orient
5191      {
5192         ELM_IMAGE_ORIENT_NONE, /**< no orientation change */
5193         ELM_IMAGE_ROTATE_90_CW, /**< rotate 90 degrees clockwise */
5194         ELM_IMAGE_ROTATE_180_CW, /**< rotate 180 degrees clockwise */
5195         ELM_IMAGE_ROTATE_90_CCW, /**< rotate 90 degrees counter-clockwise (i.e. 270 degrees clockwise) */
5196         ELM_IMAGE_FLIP_HORIZONTAL, /**< flip image horizontally */
5197         ELM_IMAGE_FLIP_VERTICAL, /**< flip image vertically */
5198         ELM_IMAGE_FLIP_TRANSPOSE, /**< flip the image along the y = (side - x) line*/
5199         ELM_IMAGE_FLIP_TRANSVERSE /**< flip the image along the y = x line */
5200      } Elm_Image_Orient;
5201
5202    /**
5203     * Add a new image to the parent.
5204     *
5205     * @param parent The parent object
5206     * @return The new object or NULL if it cannot be created
5207     *
5208     * @see elm_image_file_set()
5209     *
5210     * @ingroup Image
5211     */
5212    EAPI Evas_Object     *elm_image_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5213    /**
5214     * Set the file that will be used as image.
5215     *
5216     * @param obj The image object
5217     * @param file The path to file that will be used as image
5218     * @param group The group that the image belongs in edje file (if it's an
5219     * edje image)
5220     *
5221     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5222     *
5223     * @see elm_image_file_get()
5224     *
5225     * @ingroup Image
5226     */
5227    EAPI Eina_Bool        elm_image_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
5228    /**
5229     * Get the file that will be used as image.
5230     *
5231     * @param obj The image object
5232     * @param file The path to file
5233     * @param group The group that the image belongs in edje file
5234     *
5235     * @see elm_image_file_set()
5236     *
5237     * @ingroup Image
5238     */
5239    EAPI void             elm_image_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
5240    /**
5241     * Set the smooth effect for an image.
5242     *
5243     * @param obj The image object
5244     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
5245     * otherwise. Default is @c EINA_TRUE.
5246     *
5247     * Set the scaling algorithm to be used when scaling the image. Smooth
5248     * scaling provides a better resulting image, but is slower.
5249     *
5250     * The smooth scaling should be disabled when making animations that change
5251     * the image size, since it will be faster. Animations that don't require
5252     * resizing of the image can keep the smooth scaling enabled (even if the
5253     * image is already scaled, since the scaled image will be cached).
5254     *
5255     * @see elm_image_smooth_get()
5256     *
5257     * @ingroup Image
5258     */
5259    EAPI void             elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
5260    /**
5261     * Get the smooth effect for an image.
5262     *
5263     * @param obj The image object
5264     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
5265     *
5266     * @see elm_image_smooth_get()
5267     *
5268     * @ingroup Image
5269     */
5270    EAPI Eina_Bool        elm_image_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5271
5272    /**
5273     * Gets the current size of the image.
5274     *
5275     * @param obj The image object.
5276     * @param w Pointer to store width, or NULL.
5277     * @param h Pointer to store height, or NULL.
5278     *
5279     * This is the real size of the image, not the size of the object.
5280     *
5281     * On error, neither w or h will be written.
5282     *
5283     * @ingroup Image
5284     */
5285    EAPI void             elm_image_object_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
5286    /**
5287     * Disable scaling of this object.
5288     *
5289     * @param obj The image object.
5290     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
5291     * otherwise. Default is @c EINA_FALSE.
5292     *
5293     * This function disables scaling of the elm_image widget through the
5294     * function elm_object_scale_set(). However, this does not affect the widget
5295     * size/resize in any way. For that effect, take a look at
5296     * elm_image_scale_set().
5297     *
5298     * @see elm_image_no_scale_get()
5299     * @see elm_image_scale_set()
5300     * @see elm_object_scale_set()
5301     *
5302     * @ingroup Image
5303     */
5304    EAPI void             elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
5305    /**
5306     * Get whether scaling is disabled on the object.
5307     *
5308     * @param obj The image object
5309     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
5310     *
5311     * @see elm_image_no_scale_set()
5312     *
5313     * @ingroup Image
5314     */
5315    EAPI Eina_Bool        elm_image_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5316    /**
5317     * Set if the object is (up/down) resizable.
5318     *
5319     * @param obj The image object
5320     * @param scale_up A bool to set if the object is resizable up. Default is
5321     * @c EINA_TRUE.
5322     * @param scale_down A bool to set if the object is resizable down. Default
5323     * is @c EINA_TRUE.
5324     *
5325     * This function limits the image resize ability. If @p scale_up is set to
5326     * @c EINA_FALSE, the object can't have its height or width resized to a value
5327     * higher than the original image size. Same is valid for @p scale_down.
5328     *
5329     * @see elm_image_scale_get()
5330     *
5331     * @ingroup Image
5332     */
5333    EAPI void             elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
5334    /**
5335     * Get if the object is (up/down) resizable.
5336     *
5337     * @param obj The image object
5338     * @param scale_up A bool to set if the object is resizable up
5339     * @param scale_down A bool to set if the object is resizable down
5340     *
5341     * @see elm_image_scale_set()
5342     *
5343     * @ingroup Image
5344     */
5345    EAPI void             elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
5346    /**
5347     * Set if the image fills the entire object area, when keeping the aspect ratio.
5348     *
5349     * @param obj The image object
5350     * @param fill_outside @c EINA_TRUE if the object is filled outside,
5351     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5352     *
5353     * When the image should keep its aspect ratio even if resized to another
5354     * aspect ratio, there are two possibilities to resize it: keep the entire
5355     * image inside the limits of height and width of the object (@p fill_outside
5356     * is @c EINA_FALSE) or let the extra width or height go outside of the object,
5357     * and the image will fill the entire object (@p fill_outside is @c EINA_TRUE).
5358     *
5359     * @note This option will have no effect if
5360     * elm_image_aspect_ratio_retained_set() is set to @c EINA_FALSE.
5361     *
5362     * @see elm_image_fill_outside_get()
5363     * @see elm_image_aspect_ratio_retained_set()
5364     *
5365     * @ingroup Image
5366     */
5367    EAPI void             elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
5368    /**
5369     * Get if the object is filled outside
5370     *
5371     * @param obj The image object
5372     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
5373     *
5374     * @see elm_image_fill_outside_set()
5375     *
5376     * @ingroup Image
5377     */
5378    EAPI Eina_Bool        elm_image_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5379    /**
5380     * Set the prescale size for the image
5381     *
5382     * @param obj The image object
5383     * @param size The prescale size. This value is used for both width and
5384     * height.
5385     *
5386     * This function sets a new size for pixmap representation of the given
5387     * image. It allows the image to be loaded already in the specified size,
5388     * reducing the memory usage and load time when loading a big image with load
5389     * size set to a smaller size.
5390     *
5391     * It's equivalent to the elm_bg_load_size_set() function for bg.
5392     *
5393     * @note this is just a hint, the real size of the pixmap may differ
5394     * depending on the type of image being loaded, being bigger than requested.
5395     *
5396     * @see elm_image_prescale_get()
5397     * @see elm_bg_load_size_set()
5398     *
5399     * @ingroup Image
5400     */
5401    EAPI void             elm_image_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
5402    /**
5403     * Get the prescale size for the image
5404     *
5405     * @param obj The image object
5406     * @return The prescale size
5407     *
5408     * @see elm_image_prescale_set()
5409     *
5410     * @ingroup Image
5411     */
5412    EAPI int              elm_image_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5413    /**
5414     * Set the image orientation.
5415     *
5416     * @param obj The image object
5417     * @param orient The image orientation @ref Elm_Image_Orient
5418     *  Default is #ELM_IMAGE_ORIENT_NONE.
5419     *
5420     * This function allows to rotate or flip the given image.
5421     *
5422     * @see elm_image_orient_get()
5423     * @see @ref Elm_Image_Orient
5424     *
5425     * @ingroup Image
5426     */
5427    EAPI void             elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient) EINA_ARG_NONNULL(1);
5428    /**
5429     * Get the image orientation.
5430     *
5431     * @param obj The image object
5432     * @return The image orientation @ref Elm_Image_Orient
5433     *
5434     * @see elm_image_orient_set()
5435     * @see @ref Elm_Image_Orient
5436     *
5437     * @ingroup Image
5438     */
5439    EAPI Elm_Image_Orient elm_image_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5440    /**
5441     * Make the image 'editable'.
5442     *
5443     * @param obj Image object.
5444     * @param set Turn on or off editability. Default is @c EINA_FALSE.
5445     *
5446     * This means the image is a valid drag target for drag and drop, and can be
5447     * cut or pasted too.
5448     *
5449     * @ingroup Image
5450     */
5451    EAPI void             elm_image_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
5452    /**
5453     * Check if the image 'editable'.
5454     *
5455     * @param obj Image object.
5456     * @return Editability.
5457     *
5458     * A return value of EINA_TRUE means the image is a valid drag target
5459     * for drag and drop, and can be cut or pasted too.
5460     *
5461     * @ingroup Image
5462     */
5463    EAPI Eina_Bool        elm_image_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5464    /**
5465     * Get the basic Evas_Image object from this object (widget).
5466     *
5467     * @param obj The image object to get the inlined image from
5468     * @return The inlined image object, or NULL if none exists
5469     *
5470     * This function allows one to get the underlying @c Evas_Object of type
5471     * Image from this elementary widget. It can be useful to do things like get
5472     * the pixel data, save the image to a file, etc.
5473     *
5474     * @note Be careful to not manipulate it, as it is under control of
5475     * elementary.
5476     *
5477     * @ingroup Image
5478     */
5479    EAPI Evas_Object     *elm_image_object_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5480    /**
5481     * Set whether the original aspect ratio of the image should be kept on resize.
5482     *
5483     * @param obj The image object.
5484     * @param retained @c EINA_TRUE if the image should retain the aspect,
5485     * @c EINA_FALSE otherwise.
5486     *
5487     * The original aspect ratio (width / height) of the image is usually
5488     * distorted to match the object's size. Enabling this option will retain
5489     * this original aspect, and the way that the image is fit into the object's
5490     * area depends on the option set by elm_image_fill_outside_set().
5491     *
5492     * @see elm_image_aspect_ratio_retained_get()
5493     * @see elm_image_fill_outside_set()
5494     *
5495     * @ingroup Image
5496     */
5497    EAPI void             elm_image_aspect_ratio_retained_set(Evas_Object *obj, Eina_Bool retained) EINA_ARG_NONNULL(1);
5498    /**
5499     * Get if the object retains the original aspect ratio.
5500     *
5501     * @param obj The image object.
5502     * @return @c EINA_TRUE if the object keeps the original aspect, @c EINA_FALSE
5503     * otherwise.
5504     *
5505     * @ingroup Image
5506     */
5507    EAPI Eina_Bool        elm_image_aspect_ratio_retained_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5508
5509    /**
5510     * @}
5511     */
5512
5513    /* glview */
5514    typedef void (*Elm_GLView_Func_Cb)(Evas_Object *obj);
5515
5516    typedef enum _Elm_GLView_Mode
5517      {
5518         ELM_GLVIEW_ALPHA   = 1,
5519         ELM_GLVIEW_DEPTH   = 2,
5520         ELM_GLVIEW_STENCIL = 4
5521      } Elm_GLView_Mode;
5522
5523    /**
5524     * Defines a policy for the glview resizing.
5525     *
5526     * @note Default is ELM_GLVIEW_RESIZE_POLICY_RECREATE
5527     */
5528    typedef enum _Elm_GLView_Resize_Policy
5529      {
5530         ELM_GLVIEW_RESIZE_POLICY_RECREATE = 1,      /**< Resize the internal surface along with the image */
5531         ELM_GLVIEW_RESIZE_POLICY_SCALE    = 2       /**< Only reize the internal image and not the surface */
5532      } Elm_GLView_Resize_Policy;
5533
5534    typedef enum _Elm_GLView_Render_Policy
5535      {
5536         ELM_GLVIEW_RENDER_POLICY_ON_DEMAND = 1,     /**< Render only when there is a need for redrawing */
5537         ELM_GLVIEW_RENDER_POLICY_ALWAYS    = 2      /**< Render always even when it is not visible */
5538      } Elm_GLView_Render_Policy;
5539
5540    /**
5541     * @defgroup GLView
5542     *
5543     * A simple GLView widget that allows GL rendering.
5544     *
5545     * Signals that you can add callbacks for are:
5546     *
5547     * @{
5548     */
5549
5550    /**
5551     * Add a new glview to the parent
5552     *
5553     * @param parent The parent object
5554     * @return The new object or NULL if it cannot be created
5555     *
5556     * @ingroup GLView
5557     */
5558    EAPI Evas_Object     *elm_glview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5559
5560    /**
5561     * Sets the size of the glview
5562     *
5563     * @param obj The glview object
5564     * @param width width of the glview object
5565     * @param height height of the glview object
5566     *
5567     * @ingroup GLView
5568     */
5569    EAPI void             elm_glview_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
5570
5571    /**
5572     * Gets the size of the glview.
5573     *
5574     * @param obj The glview object
5575     * @param width width of the glview object
5576     * @param height height of the glview object
5577     *
5578     * Note that this function returns the actual image size of the
5579     * glview.  This means that when the scale policy is set to
5580     * ELM_GLVIEW_RESIZE_POLICY_SCALE, it'll return the non-scaled
5581     * size.
5582     *
5583     * @ingroup GLView
5584     */
5585    EAPI void             elm_glview_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
5586
5587    /**
5588     * Gets the gl api struct for gl rendering
5589     *
5590     * @param obj The glview object
5591     * @return The api object or NULL if it cannot be created
5592     *
5593     * @ingroup GLView
5594     */
5595    EAPI Evas_GL_API     *elm_glview_gl_api_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5596
5597    /**
5598     * Set the mode of the GLView. Supports Three simple modes.
5599     *
5600     * @param obj The glview object
5601     * @param mode The mode Options OR'ed enabling Alpha, Depth, Stencil.
5602     * @return True if set properly.
5603     *
5604     * @ingroup GLView
5605     */
5606    EAPI Eina_Bool        elm_glview_mode_set(Evas_Object *obj, Elm_GLView_Mode mode) EINA_ARG_NONNULL(1);
5607
5608    /**
5609     * Set the resize policy for the glview object.
5610     *
5611     * @param obj The glview object.
5612     * @param policy The scaling policy.
5613     *
5614     * By default, the resize policy is set to
5615     * ELM_GLVIEW_RESIZE_POLICY_RECREATE.  When resize is called it
5616     * destroys the previous surface and recreates the newly specified
5617     * size. If the policy is set to ELM_GLVIEW_RESIZE_POLICY_SCALE,
5618     * however, glview only scales the image object and not the underlying
5619     * GL Surface.
5620     *
5621     * @ingroup GLView
5622     */
5623    EAPI Eina_Bool        elm_glview_resize_policy_set(Evas_Object *obj, Elm_GLView_Resize_Policy policy) EINA_ARG_NONNULL(1);
5624
5625    /**
5626     * Set the render policy for the glview object.
5627     *
5628     * @param obj The glview object.
5629     * @param policy The render policy.
5630     *
5631     * By default, the render policy is set to
5632     * ELM_GLVIEW_RENDER_POLICY_ON_DEMAND.  This policy is set such
5633     * that during the render loop, glview is only redrawn if it needs
5634     * to be redrawn. (i.e. When it is visible) If the policy is set to
5635     * ELM_GLVIEWW_RENDER_POLICY_ALWAYS, it redraws regardless of
5636     * whether it is visible/need redrawing or not.
5637     *
5638     * @ingroup GLView
5639     */
5640    EAPI Eina_Bool        elm_glview_render_policy_set(Evas_Object *obj, Elm_GLView_Render_Policy policy) EINA_ARG_NONNULL(1);
5641
5642    /**
5643     * Set the init function that runs once in the main loop.
5644     *
5645     * @param obj The glview object.
5646     * @param func The init function to be registered.
5647     *
5648     * The registered init function gets called once during the render loop.
5649     *
5650     * @ingroup GLView
5651     */
5652    EAPI void             elm_glview_init_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5653
5654    /**
5655     * Set the render function that runs in the main loop.
5656     *
5657     * @param obj The glview object.
5658     * @param func The delete function to be registered.
5659     *
5660     * The registered del function gets called when GLView object is deleted.
5661     *
5662     * @ingroup GLView
5663     */
5664    EAPI void             elm_glview_del_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5665
5666    /**
5667     * Set the resize function that gets called when resize happens.
5668     *
5669     * @param obj The glview object.
5670     * @param func The resize function to be registered.
5671     *
5672     * @ingroup GLView
5673     */
5674    EAPI void             elm_glview_resize_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5675
5676    /**
5677     * Set the render function that runs in the main loop.
5678     *
5679     * @param obj The glview object.
5680     * @param func The render function to be registered.
5681     *
5682     * @ingroup GLView
5683     */
5684    EAPI void             elm_glview_render_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5685
5686    /**
5687     * Notifies that there has been changes in the GLView.
5688     *
5689     * @param obj The glview object.
5690     *
5691     * @ingroup GLView
5692     */
5693    EAPI void             elm_glview_changed_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
5694
5695    /**
5696     * @}
5697     */
5698
5699    /* box */
5700    /**
5701     * @defgroup Box Box
5702     *
5703     * @image html img/widget/box/preview-00.png
5704     * @image latex img/widget/box/preview-00.eps width=\textwidth
5705     *
5706     * @image html img/box.png
5707     * @image latex img/box.eps width=\textwidth
5708     *
5709     * A box arranges objects in a linear fashion, governed by a layout function
5710     * that defines the details of this arrangement.
5711     *
5712     * By default, the box will use an internal function to set the layout to
5713     * a single row, either vertical or horizontal. This layout is affected
5714     * by a number of parameters, such as the homogeneous flag set by
5715     * elm_box_homogeneous_set(), the values given by elm_box_padding_set() and
5716     * elm_box_align_set() and the hints set to each object in the box.
5717     *
5718     * For this default layout, it's possible to change the orientation with
5719     * elm_box_horizontal_set(). The box will start in the vertical orientation,
5720     * placing its elements ordered from top to bottom. When horizontal is set,
5721     * the order will go from left to right. If the box is set to be
5722     * homogeneous, every object in it will be assigned the same space, that
5723     * of the largest object. Padding can be used to set some spacing between
5724     * the cell given to each object. The alignment of the box, set with
5725     * elm_box_align_set(), determines how the bounding box of all the elements
5726     * will be placed within the space given to the box widget itself.
5727     *
5728     * The size hints of each object also affect how they are placed and sized
5729     * within the box. evas_object_size_hint_min_set() will give the minimum
5730     * size the object can have, and the box will use it as the basis for all
5731     * latter calculations. Elementary widgets set their own minimum size as
5732     * needed, so there's rarely any need to use it manually.
5733     *
5734     * evas_object_size_hint_weight_set(), when not in homogeneous mode, is
5735     * used to tell whether the object will be allocated the minimum size it
5736     * needs or if the space given to it should be expanded. It's important
5737     * to realize that expanding the size given to the object is not the same
5738     * thing as resizing the object. It could very well end being a small
5739     * widget floating in a much larger empty space. If not set, the weight
5740     * for objects will normally be 0.0 for both axis, meaning the widget will
5741     * not be expanded. To take as much space possible, set the weight to
5742     * EVAS_HINT_EXPAND (defined to 1.0) for the desired axis to expand.
5743     *
5744     * Besides how much space each object is allocated, it's possible to control
5745     * how the widget will be placed within that space using
5746     * evas_object_size_hint_align_set(). By default, this value will be 0.5
5747     * for both axis, meaning the object will be centered, but any value from
5748     * 0.0 (left or top, for the @c x and @c y axis, respectively) to 1.0
5749     * (right or bottom) can be used. The special value EVAS_HINT_FILL, which
5750     * is -1.0, means the object will be resized to fill the entire space it
5751     * was allocated.
5752     *
5753     * In addition, customized functions to define the layout can be set, which
5754     * allow the application developer to organize the objects within the box
5755     * in any number of ways.
5756     *
5757     * The special elm_box_layout_transition() function can be used
5758     * to switch from one layout to another, animating the motion of the
5759     * children of the box.
5760     *
5761     * @note Objects should not be added to box objects using _add() calls.
5762     *
5763     * Some examples on how to use boxes follow:
5764     * @li @ref box_example_01
5765     * @li @ref box_example_02
5766     *
5767     * @{
5768     */
5769    /**
5770     * @typedef Elm_Box_Transition
5771     *
5772     * Opaque handler containing the parameters to perform an animated
5773     * transition of the layout the box uses.
5774     *
5775     * @see elm_box_transition_new()
5776     * @see elm_box_layout_set()
5777     * @see elm_box_layout_transition()
5778     */
5779    typedef struct _Elm_Box_Transition Elm_Box_Transition;
5780
5781    /**
5782     * Add a new box to the parent
5783     *
5784     * By default, the box will be in vertical mode and non-homogeneous.
5785     *
5786     * @param parent The parent object
5787     * @return The new object or NULL if it cannot be created
5788     */
5789    EAPI Evas_Object        *elm_box_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5790    /**
5791     * Set the horizontal orientation
5792     *
5793     * By default, box object arranges their contents vertically from top to
5794     * bottom.
5795     * By calling this function with @p horizontal as EINA_TRUE, the box will
5796     * become horizontal, arranging contents from left to right.
5797     *
5798     * @note This flag is ignored if a custom layout function is set.
5799     *
5800     * @param obj The box object
5801     * @param horizontal The horizontal flag (EINA_TRUE = horizontal,
5802     * EINA_FALSE = vertical)
5803     */
5804    EAPI void                elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
5805    /**
5806     * Get the horizontal orientation
5807     *
5808     * @param obj The box object
5809     * @return EINA_TRUE if the box is set to horizontal mode, EINA_FALSE otherwise
5810     */
5811    EAPI Eina_Bool           elm_box_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5812    /**
5813     * Set the box to arrange its children homogeneously
5814     *
5815     * If enabled, homogeneous layout makes all items the same size, according
5816     * to the size of the largest of its children.
5817     *
5818     * @note This flag is ignored if a custom layout function is set.
5819     *
5820     * @param obj The box object
5821     * @param homogeneous The homogeneous flag
5822     */
5823    EAPI void                elm_box_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
5824    /**
5825     * Get whether the box is using homogeneous mode or not
5826     *
5827     * @param obj The box object
5828     * @return EINA_TRUE if it's homogeneous, EINA_FALSE otherwise
5829     */
5830    EAPI Eina_Bool           elm_box_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5831    EINA_DEPRECATED EAPI void elm_box_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
5832    EINA_DEPRECATED EAPI Eina_Bool elm_box_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5833    /**
5834     * Add an object to the beginning of the pack list
5835     *
5836     * Pack @p subobj into the box @p obj, placing it first in the list of
5837     * children objects. The actual position the object will get on screen
5838     * depends on the layout used. If no custom layout is set, it will be at
5839     * the top or left, depending if the box is vertical or horizontal,
5840     * respectively.
5841     *
5842     * @param obj The box object
5843     * @param subobj The object to add to the box
5844     *
5845     * @see elm_box_pack_end()
5846     * @see elm_box_pack_before()
5847     * @see elm_box_pack_after()
5848     * @see elm_box_unpack()
5849     * @see elm_box_unpack_all()
5850     * @see elm_box_clear()
5851     */
5852    EAPI void                elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
5853    /**
5854     * Add an object at the end of the pack list
5855     *
5856     * Pack @p subobj into the box @p obj, placing it last in the list of
5857     * children objects. The actual position the object will get on screen
5858     * depends on the layout used. If no custom layout is set, it will be at
5859     * the bottom or right, depending if the box is vertical or horizontal,
5860     * respectively.
5861     *
5862     * @param obj The box object
5863     * @param subobj The object to add to the box
5864     *
5865     * @see elm_box_pack_start()
5866     * @see elm_box_pack_before()
5867     * @see elm_box_pack_after()
5868     * @see elm_box_unpack()
5869     * @see elm_box_unpack_all()
5870     * @see elm_box_clear()
5871     */
5872    EAPI void                elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
5873    /**
5874     * Adds an object to the box before the indicated object
5875     *
5876     * This will add the @p subobj to the box indicated before the object
5877     * indicated with @p before. If @p before is not already in the box, results
5878     * are undefined. Before means either to the left of the indicated object or
5879     * above it depending on orientation.
5880     *
5881     * @param obj The box object
5882     * @param subobj The object to add to the box
5883     * @param before The object before which to add it
5884     *
5885     * @see elm_box_pack_start()
5886     * @see elm_box_pack_end()
5887     * @see elm_box_pack_after()
5888     * @see elm_box_unpack()
5889     * @see elm_box_unpack_all()
5890     * @see elm_box_clear()
5891     */
5892    EAPI void                elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before) EINA_ARG_NONNULL(1);
5893    /**
5894     * Adds an object to the box after the indicated object
5895     *
5896     * This will add the @p subobj to the box indicated after the object
5897     * indicated with @p after. If @p after is not already in the box, results
5898     * are undefined. After means either to the right of the indicated object or
5899     * below it depending on orientation.
5900     *
5901     * @param obj The box object
5902     * @param subobj The object to add to the box
5903     * @param after The object after which to add it
5904     *
5905     * @see elm_box_pack_start()
5906     * @see elm_box_pack_end()
5907     * @see elm_box_pack_before()
5908     * @see elm_box_unpack()
5909     * @see elm_box_unpack_all()
5910     * @see elm_box_clear()
5911     */
5912    EAPI void                elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after) EINA_ARG_NONNULL(1);
5913    /**
5914     * Clear the box of all children
5915     *
5916     * Remove all the elements contained by the box, deleting the respective
5917     * objects.
5918     *
5919     * @param obj The box object
5920     *
5921     * @see elm_box_unpack()
5922     * @see elm_box_unpack_all()
5923     */
5924    EAPI void                elm_box_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
5925    /**
5926     * Unpack a box item
5927     *
5928     * Remove the object given by @p subobj from the box @p obj without
5929     * deleting it.
5930     *
5931     * @param obj The box object
5932     *
5933     * @see elm_box_unpack_all()
5934     * @see elm_box_clear()
5935     */
5936    EAPI void                elm_box_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
5937    /**
5938     * Remove all items from the box, without deleting them
5939     *
5940     * Clear the box from all children, but don't delete the respective objects.
5941     * If no other references of the box children exist, the objects will never
5942     * be deleted, and thus the application will leak the memory. Make sure
5943     * when using this function that you hold a reference to all the objects
5944     * in the box @p obj.
5945     *
5946     * @param obj The box object
5947     *
5948     * @see elm_box_clear()
5949     * @see elm_box_unpack()
5950     */
5951    EAPI void                elm_box_unpack_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
5952    /**
5953     * Retrieve a list of the objects packed into the box
5954     *
5955     * Returns a new @c Eina_List with a pointer to @c Evas_Object in its nodes.
5956     * The order of the list corresponds to the packing order the box uses.
5957     *
5958     * You must free this list with eina_list_free() once you are done with it.
5959     *
5960     * @param obj The box object
5961     */
5962    EAPI const Eina_List    *elm_box_children_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5963    /**
5964     * Set the space (padding) between the box's elements.
5965     *
5966     * Extra space in pixels that will be added between a box child and its
5967     * neighbors after its containing cell has been calculated. This padding
5968     * is set for all elements in the box, besides any possible padding that
5969     * individual elements may have through their size hints.
5970     *
5971     * @param obj The box object
5972     * @param horizontal The horizontal space between elements
5973     * @param vertical The vertical space between elements
5974     */
5975    EAPI void                elm_box_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
5976    /**
5977     * Get the space (padding) between the box's elements.
5978     *
5979     * @param obj The box object
5980     * @param horizontal The horizontal space between elements
5981     * @param vertical The vertical space between elements
5982     *
5983     * @see elm_box_padding_set()
5984     */
5985    EAPI void                elm_box_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
5986    /**
5987     * Set the alignment of the whole bouding box of contents.
5988     *
5989     * Sets how the bounding box containing all the elements of the box, after
5990     * their sizes and position has been calculated, will be aligned within
5991     * the space given for the whole box widget.
5992     *
5993     * @param obj The box object
5994     * @param horizontal The horizontal alignment of elements
5995     * @param vertical The vertical alignment of elements
5996     */
5997    EAPI void                elm_box_align_set(Evas_Object *obj, double horizontal, double vertical) EINA_ARG_NONNULL(1);
5998    /**
5999     * Get the alignment of the whole bouding box of contents.
6000     *
6001     * @param obj The box object
6002     * @param horizontal The horizontal alignment of elements
6003     * @param vertical The vertical alignment of elements
6004     *
6005     * @see elm_box_align_set()
6006     */
6007    EAPI void                elm_box_align_get(const Evas_Object *obj, double *horizontal, double *vertical) EINA_ARG_NONNULL(1);
6008
6009    /**
6010     * Force the box to recalculate its children packing.
6011     *
6012     * If any children was added or removed, box will not calculate the
6013     * values immediately rather leaving it to the next main loop
6014     * iteration. While this is great as it would save lots of
6015     * recalculation, whenever you need to get the position of a just
6016     * added item you must force recalculate before doing so.
6017     *
6018     * @param obj The box object.
6019     */
6020    EAPI void                 elm_box_recalculate(Evas_Object *obj);
6021
6022    /**
6023     * Set the layout defining function to be used by the box
6024     *
6025     * Whenever anything changes that requires the box in @p obj to recalculate
6026     * the size and position of its elements, the function @p cb will be called
6027     * to determine what the layout of the children will be.
6028     *
6029     * Once a custom function is set, everything about the children layout
6030     * is defined by it. The flags set by elm_box_horizontal_set() and
6031     * elm_box_homogeneous_set() no longer have any meaning, and the values
6032     * given by elm_box_padding_set() and elm_box_align_set() are up to this
6033     * layout function to decide if they are used and how. These last two
6034     * will be found in the @c priv parameter, of type @c Evas_Object_Box_Data,
6035     * passed to @p cb. The @c Evas_Object the function receives is not the
6036     * Elementary widget, but the internal Evas Box it uses, so none of the
6037     * functions described here can be used on it.
6038     *
6039     * Any of the layout functions in @c Evas can be used here, as well as the
6040     * special elm_box_layout_transition().
6041     *
6042     * The final @p data argument received by @p cb is the same @p data passed
6043     * here, and the @p free_data function will be called to free it
6044     * whenever the box is destroyed or another layout function is set.
6045     *
6046     * Setting @p cb to NULL will revert back to the default layout function.
6047     *
6048     * @param obj The box object
6049     * @param cb The callback function used for layout
6050     * @param data Data that will be passed to layout function
6051     * @param free_data Function called to free @p data
6052     *
6053     * @see elm_box_layout_transition()
6054     */
6055    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);
6056    /**
6057     * Special layout function that animates the transition from one layout to another
6058     *
6059     * Normally, when switching the layout function for a box, this will be
6060     * reflected immediately on screen on the next render, but it's also
6061     * possible to do this through an animated transition.
6062     *
6063     * This is done by creating an ::Elm_Box_Transition and setting the box
6064     * layout to this function.
6065     *
6066     * For example:
6067     * @code
6068     * Elm_Box_Transition *t = elm_box_transition_new(1.0,
6069     *                            evas_object_box_layout_vertical, // start
6070     *                            NULL, // data for initial layout
6071     *                            NULL, // free function for initial data
6072     *                            evas_object_box_layout_horizontal, // end
6073     *                            NULL, // data for final layout
6074     *                            NULL, // free function for final data
6075     *                            anim_end, // will be called when animation ends
6076     *                            NULL); // data for anim_end function\
6077     * elm_box_layout_set(box, elm_box_layout_transition, t,
6078     *                    elm_box_transition_free);
6079     * @endcode
6080     *
6081     * @note This function can only be used with elm_box_layout_set(). Calling
6082     * it directly will not have the expected results.
6083     *
6084     * @see elm_box_transition_new
6085     * @see elm_box_transition_free
6086     * @see elm_box_layout_set
6087     */
6088    EAPI void                elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data);
6089    /**
6090     * Create a new ::Elm_Box_Transition to animate the switch of layouts
6091     *
6092     * If you want to animate the change from one layout to another, you need
6093     * to set the layout function of the box to elm_box_layout_transition(),
6094     * passing as user data to it an instance of ::Elm_Box_Transition with the
6095     * necessary information to perform this animation. The free function to
6096     * set for the layout is elm_box_transition_free().
6097     *
6098     * The parameters to create an ::Elm_Box_Transition sum up to how long
6099     * will it be, in seconds, a layout function to describe the initial point,
6100     * another for the final position of the children and one function to be
6101     * called when the whole animation ends. This last function is useful to
6102     * set the definitive layout for the box, usually the same as the end
6103     * layout for the animation, but could be used to start another transition.
6104     *
6105     * @param start_layout The layout function that will be used to start the animation
6106     * @param start_layout_data The data to be passed the @p start_layout function
6107     * @param start_layout_free_data Function to free @p start_layout_data
6108     * @param end_layout The layout function that will be used to end the animation
6109     * @param end_layout_free_data The data to be passed the @p end_layout function
6110     * @param end_layout_free_data Function to free @p end_layout_data
6111     * @param transition_end_cb Callback function called when animation ends
6112     * @param transition_end_data Data to be passed to @p transition_end_cb
6113     * @return An instance of ::Elm_Box_Transition
6114     *
6115     * @see elm_box_transition_new
6116     * @see elm_box_layout_transition
6117     */
6118    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);
6119    /**
6120     * Free a Elm_Box_Transition instance created with elm_box_transition_new().
6121     *
6122     * This function is mostly useful as the @c free_data parameter in
6123     * elm_box_layout_set() when elm_box_layout_transition().
6124     *
6125     * @param data The Elm_Box_Transition instance to be freed.
6126     *
6127     * @see elm_box_transition_new
6128     * @see elm_box_layout_transition
6129     */
6130    EAPI void                elm_box_transition_free(void *data);
6131    /**
6132     * @}
6133     */
6134
6135    /* button */
6136    /**
6137     * @defgroup Button Button
6138     *
6139     * @image html img/widget/button/preview-00.png
6140     * @image latex img/widget/button/preview-00.eps
6141     * @image html img/widget/button/preview-01.png
6142     * @image latex img/widget/button/preview-01.eps
6143     * @image html img/widget/button/preview-02.png
6144     * @image latex img/widget/button/preview-02.eps
6145     *
6146     * This is a push-button. Press it and run some function. It can contain
6147     * a simple label and icon object and it also has an autorepeat feature.
6148     *
6149     * This widgets emits the following signals:
6150     * @li "clicked": the user clicked the button (press/release).
6151     * @li "repeated": the user pressed the button without releasing it.
6152     * @li "pressed": button was pressed.
6153     * @li "unpressed": button was released after being pressed.
6154     * In all three cases, the @c event parameter of the callback will be
6155     * @c NULL.
6156     *
6157     * Also, defined in the default theme, the button has the following styles
6158     * available:
6159     * @li default: a normal button.
6160     * @li anchor: Like default, but the button fades away when the mouse is not
6161     * over it, leaving only the text or icon.
6162     * @li hoversel_vertical: Internally used by @ref Hoversel to give a
6163     * continuous look across its options.
6164     * @li hoversel_vertical_entry: Another internal for @ref Hoversel.
6165     *
6166     * Default contents parts of the button widget that you can use for are:
6167     * @li "elm.swallow.content" - A icon of the button
6168     *
6169     * Default text parts of the button widget that you can use for are:
6170     * @li "elm.text" - Label of the button
6171     *
6172     * Follow through a complete example @ref button_example_01 "here".
6173     * @{
6174     */
6175    /**
6176     * Add a new button to the parent's canvas
6177     *
6178     * @param parent The parent object
6179     * @return The new object or NULL if it cannot be created
6180     */
6181    EAPI Evas_Object *elm_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6182    /**
6183     * Set the label used in the button
6184     *
6185     * The passed @p label can be NULL to clean any existing text in it and
6186     * leave the button as an icon only object.
6187     *
6188     * @param obj The button object
6189     * @param label The text will be written on the button
6190     * @deprecated use elm_object_text_set() instead.
6191     */
6192    EINA_DEPRECATED EAPI void         elm_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6193    /**
6194     * Get the label set for the button
6195     *
6196     * The string returned is an internal pointer and should not be freed or
6197     * altered. It will also become invalid when the button is destroyed.
6198     * The string returned, if not NULL, is a stringshare, so if you need to
6199     * keep it around even after the button is destroyed, you can use
6200     * eina_stringshare_ref().
6201     *
6202     * @param obj The button object
6203     * @return The text set to the label, or NULL if nothing is set
6204     * @deprecated use elm_object_text_set() instead.
6205     */
6206    EINA_DEPRECATED EAPI const char  *elm_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6207    /**
6208     * Set the icon used for the button
6209     *
6210     * Setting a new icon will delete any other that was previously set, making
6211     * any reference to them invalid. If you need to maintain the previous
6212     * object alive, unset it first with elm_button_icon_unset().
6213     *
6214     * @param obj The button object
6215     * @param icon The icon object for the button
6216     */
6217    EINA_DEPRECATED EAPI void         elm_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6218    /**
6219     * Get the icon used for the button
6220     *
6221     * Return the icon object which is set for this widget. If the button is
6222     * destroyed or another icon is set, the returned object will be deleted
6223     * and any reference to it will be invalid.
6224     *
6225     * @param obj The button object
6226     * @return The icon object that is being used
6227     *
6228     * @see elm_button_icon_unset()
6229     */
6230    EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6231    /**
6232     * Remove the icon set without deleting it and return the object
6233     *
6234     * This function drops the reference the button holds of the icon object
6235     * and returns this last object. It is used in case you want to remove any
6236     * icon, or set another one, without deleting the actual object. The button
6237     * will be left without an icon set.
6238     *
6239     * @param obj The button object
6240     * @return The icon object that was being used
6241     */
6242    EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6243    /**
6244     * Turn on/off the autorepeat event generated when the button is kept pressed
6245     *
6246     * When off, no autorepeat is performed and buttons emit a normal @c clicked
6247     * signal when they are clicked.
6248     *
6249     * When on, keeping a button pressed will continuously emit a @c repeated
6250     * signal until the button is released. The time it takes until it starts
6251     * emitting the signal is given by
6252     * elm_button_autorepeat_initial_timeout_set(), and the time between each
6253     * new emission by elm_button_autorepeat_gap_timeout_set().
6254     *
6255     * @param obj The button object
6256     * @param on  A bool to turn on/off the event
6257     */
6258    EAPI void         elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on) EINA_ARG_NONNULL(1);
6259    /**
6260     * Get whether the autorepeat feature is enabled
6261     *
6262     * @param obj The button object
6263     * @return EINA_TRUE if autorepeat is on, EINA_FALSE otherwise
6264     *
6265     * @see elm_button_autorepeat_set()
6266     */
6267    EAPI Eina_Bool    elm_button_autorepeat_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6268    /**
6269     * Set the initial timeout before the autorepeat event is generated
6270     *
6271     * Sets the timeout, in seconds, since the button is pressed until the
6272     * first @c repeated signal is emitted. If @p t is 0.0 or less, there
6273     * won't be any delay and the even will be fired the moment the button is
6274     * pressed.
6275     *
6276     * @param obj The button object
6277     * @param t   Timeout in seconds
6278     *
6279     * @see elm_button_autorepeat_set()
6280     * @see elm_button_autorepeat_gap_timeout_set()
6281     */
6282    EAPI void         elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
6283    /**
6284     * Get the initial timeout before the autorepeat event is generated
6285     *
6286     * @param obj The button object
6287     * @return Timeout in seconds
6288     *
6289     * @see elm_button_autorepeat_initial_timeout_set()
6290     */
6291    EAPI double       elm_button_autorepeat_initial_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6292    /**
6293     * Set the interval between each generated autorepeat event
6294     *
6295     * After the first @c repeated event is fired, all subsequent ones will
6296     * follow after a delay of @p t seconds for each.
6297     *
6298     * @param obj The button object
6299     * @param t   Interval in seconds
6300     *
6301     * @see elm_button_autorepeat_initial_timeout_set()
6302     */
6303    EAPI void         elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
6304    /**
6305     * Get the interval between each generated autorepeat event
6306     *
6307     * @param obj The button object
6308     * @return Interval in seconds
6309     */
6310    EAPI double       elm_button_autorepeat_gap_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6311    /**
6312     * @}
6313     */
6314
6315    /**
6316     * @defgroup File_Selector_Button File Selector Button
6317     *
6318     * @image html img/widget/fileselector_button/preview-00.png
6319     * @image latex img/widget/fileselector_button/preview-00.eps
6320     * @image html img/widget/fileselector_button/preview-01.png
6321     * @image latex img/widget/fileselector_button/preview-01.eps
6322     * @image html img/widget/fileselector_button/preview-02.png
6323     * @image latex img/widget/fileselector_button/preview-02.eps
6324     *
6325     * This is a button that, when clicked, creates an Elementary
6326     * window (or inner window) <b> with a @ref Fileselector "file
6327     * selector widget" within</b>. When a file is chosen, the (inner)
6328     * window is closed and the button emits a signal having the
6329     * selected file as it's @c event_info.
6330     *
6331     * This widget encapsulates operations on its internal file
6332     * selector on its own API. There is less control over its file
6333     * selector than that one would have instatiating one directly.
6334     *
6335     * The following styles are available for this button:
6336     * @li @c "default"
6337     * @li @c "anchor"
6338     * @li @c "hoversel_vertical"
6339     * @li @c "hoversel_vertical_entry"
6340     *
6341     * Smart callbacks one can register to:
6342     * - @c "file,chosen" - the user has selected a path, whose string
6343     *   pointer comes as the @c event_info data (a stringshared
6344     *   string)
6345     *
6346     * Here is an example on its usage:
6347     * @li @ref fileselector_button_example
6348     *
6349     * @see @ref File_Selector_Entry for a similar widget.
6350     * @{
6351     */
6352
6353    /**
6354     * Add a new file selector button widget to the given parent
6355     * Elementary (container) object
6356     *
6357     * @param parent The parent object
6358     * @return a new file selector button widget handle or @c NULL, on
6359     * errors
6360     */
6361    EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6362
6363    /**
6364     * Set the label for a given file selector button widget
6365     *
6366     * @param obj The file selector button widget
6367     * @param label The text label to be displayed on @p obj
6368     *
6369     * @deprecated use elm_object_text_set() instead.
6370     */
6371    EINA_DEPRECATED EAPI void         elm_fileselector_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6372
6373    /**
6374     * Get the label set for a given file selector button widget
6375     *
6376     * @param obj The file selector button widget
6377     * @return The button label
6378     *
6379     * @deprecated use elm_object_text_set() instead.
6380     */
6381    EINA_DEPRECATED EAPI const char  *elm_fileselector_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6382
6383    /**
6384     * Set the icon on a given file selector button widget
6385     *
6386     * @param obj The file selector button widget
6387     * @param icon The icon object for the button
6388     *
6389     * Once the icon object is set, a previously set one will be
6390     * deleted. If you want to keep the latter, use the
6391     * elm_fileselector_button_icon_unset() function.
6392     *
6393     * @see elm_fileselector_button_icon_get()
6394     */
6395    EAPI void         elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6396
6397    /**
6398     * Get the icon set for a given file selector button widget
6399     *
6400     * @param obj The file selector button widget
6401     * @return The icon object currently set on @p obj or @c NULL, if
6402     * none is
6403     *
6404     * @see elm_fileselector_button_icon_set()
6405     */
6406    EAPI Evas_Object *elm_fileselector_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6407
6408    /**
6409     * Unset the icon used in a given file selector button widget
6410     *
6411     * @param obj The file selector button widget
6412     * @return The icon object that was being used on @p obj or @c
6413     * NULL, on errors
6414     *
6415     * Unparent and return the icon object which was set for this
6416     * widget.
6417     *
6418     * @see elm_fileselector_button_icon_set()
6419     */
6420    EAPI Evas_Object *elm_fileselector_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6421
6422    /**
6423     * Set the title for a given file selector button widget's window
6424     *
6425     * @param obj The file selector button widget
6426     * @param title The title string
6427     *
6428     * This will change the window's title, when the file selector pops
6429     * out after a click on the button. Those windows have the default
6430     * (unlocalized) value of @c "Select a file" as titles.
6431     *
6432     * @note It will only take any effect if the file selector
6433     * button widget is @b not under "inwin mode".
6434     *
6435     * @see elm_fileselector_button_window_title_get()
6436     */
6437    EAPI void         elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
6438
6439    /**
6440     * Get the title set for a given file selector button widget's
6441     * window
6442     *
6443     * @param obj The file selector button widget
6444     * @return Title of the file selector button's window
6445     *
6446     * @see elm_fileselector_button_window_title_get() for more details
6447     */
6448    EAPI const char  *elm_fileselector_button_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6449
6450    /**
6451     * Set the size of a given file selector button widget's window,
6452     * holding the file selector itself.
6453     *
6454     * @param obj The file selector button widget
6455     * @param width The window's width
6456     * @param height The window's height
6457     *
6458     * @note it will only take any effect if the file selector button
6459     * widget is @b not under "inwin mode". The default size for the
6460     * window (when applicable) is 400x400 pixels.
6461     *
6462     * @see elm_fileselector_button_window_size_get()
6463     */
6464    EAPI void         elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
6465
6466    /**
6467     * Get the size of a given file selector button widget's window,
6468     * holding the file selector itself.
6469     *
6470     * @param obj The file selector button widget
6471     * @param width Pointer into which to store the width value
6472     * @param height Pointer into which to store the height value
6473     *
6474     * @note Use @c NULL pointers on the size values you're not
6475     * interested in: they'll be ignored by the function.
6476     *
6477     * @see elm_fileselector_button_window_size_set(), for more details
6478     */
6479    EAPI void         elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
6480
6481    /**
6482     * Set the initial file system path for a given file selector
6483     * button widget
6484     *
6485     * @param obj The file selector button widget
6486     * @param path The path string
6487     *
6488     * It must be a <b>directory</b> path, which will have the contents
6489     * displayed initially in the file selector's view, when invoked
6490     * from @p obj. The default initial path is the @c "HOME"
6491     * environment variable's value.
6492     *
6493     * @see elm_fileselector_button_path_get()
6494     */
6495    EAPI void         elm_fileselector_button_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
6496
6497    /**
6498     * Get the initial file system path set for a given file selector
6499     * button widget
6500     *
6501     * @param obj The file selector button widget
6502     * @return path The path string
6503     *
6504     * @see elm_fileselector_button_path_set() for more details
6505     */
6506    EAPI const char  *elm_fileselector_button_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6507
6508    /**
6509     * Enable/disable a tree view in the given file selector button
6510     * widget's internal file selector
6511     *
6512     * @param obj The file selector button widget
6513     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
6514     * disable
6515     *
6516     * This has the same effect as elm_fileselector_expandable_set(),
6517     * but now applied to a file selector button's internal file
6518     * selector.
6519     *
6520     * @note There's no way to put a file selector button's internal
6521     * file selector in "grid mode", as one may do with "pure" file
6522     * selectors.
6523     *
6524     * @see elm_fileselector_expandable_get()
6525     */
6526    EAPI void         elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6527
6528    /**
6529     * Get whether tree view is enabled for the given file selector
6530     * button widget's internal file selector
6531     *
6532     * @param obj The file selector button widget
6533     * @return @c EINA_TRUE if @p obj widget's internal file selector
6534     * is in tree view, @c EINA_FALSE otherwise (and or errors)
6535     *
6536     * @see elm_fileselector_expandable_set() for more details
6537     */
6538    EAPI Eina_Bool    elm_fileselector_button_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6539
6540    /**
6541     * Set whether a given file selector button widget's internal file
6542     * selector is to display folders only or the directory contents,
6543     * as well.
6544     *
6545     * @param obj The file selector button widget
6546     * @param only @c EINA_TRUE to make @p obj widget's internal file
6547     * selector only display directories, @c EINA_FALSE to make files
6548     * to be displayed in it too
6549     *
6550     * This has the same effect as elm_fileselector_folder_only_set(),
6551     * but now applied to a file selector button's internal file
6552     * selector.
6553     *
6554     * @see elm_fileselector_folder_only_get()
6555     */
6556    EAPI void         elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6557
6558    /**
6559     * Get whether a given file selector button widget's internal file
6560     * selector is displaying folders only or the directory contents,
6561     * as well.
6562     *
6563     * @param obj The file selector button widget
6564     * @return @c EINA_TRUE if @p obj widget's internal file
6565     * selector is only displaying directories, @c EINA_FALSE if files
6566     * are being displayed in it too (and on errors)
6567     *
6568     * @see elm_fileselector_button_folder_only_set() for more details
6569     */
6570    EAPI Eina_Bool    elm_fileselector_button_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6571
6572    /**
6573     * Enable/disable the file name entry box where the user can type
6574     * in a name for a file, in a given file selector button widget's
6575     * internal file selector.
6576     *
6577     * @param obj The file selector button widget
6578     * @param is_save @c EINA_TRUE to make @p obj widget's internal
6579     * file selector a "saving dialog", @c EINA_FALSE otherwise
6580     *
6581     * This has the same effect as elm_fileselector_is_save_set(),
6582     * but now applied to a file selector button's internal file
6583     * selector.
6584     *
6585     * @see elm_fileselector_is_save_get()
6586     */
6587    EAPI void         elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6588
6589    /**
6590     * Get whether the given file selector button widget's internal
6591     * file selector is in "saving dialog" mode
6592     *
6593     * @param obj The file selector button widget
6594     * @return @c EINA_TRUE, if @p obj widget's internal file selector
6595     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
6596     * errors)
6597     *
6598     * @see elm_fileselector_button_is_save_set() for more details
6599     */
6600    EAPI Eina_Bool    elm_fileselector_button_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6601
6602    /**
6603     * Set whether a given file selector button widget's internal file
6604     * selector will raise an Elementary "inner window", instead of a
6605     * dedicated Elementary window. By default, it won't.
6606     *
6607     * @param obj The file selector button widget
6608     * @param value @c EINA_TRUE to make it use an inner window, @c
6609     * EINA_TRUE to make it use a dedicated window
6610     *
6611     * @see elm_win_inwin_add() for more information on inner windows
6612     * @see elm_fileselector_button_inwin_mode_get()
6613     */
6614    EAPI void         elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6615
6616    /**
6617     * Get whether a given file selector button widget's internal file
6618     * selector will raise an Elementary "inner window", instead of a
6619     * dedicated Elementary window.
6620     *
6621     * @param obj The file selector button widget
6622     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
6623     * if it will use a dedicated window
6624     *
6625     * @see elm_fileselector_button_inwin_mode_set() for more details
6626     */
6627    EAPI Eina_Bool    elm_fileselector_button_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6628
6629    /**
6630     * @}
6631     */
6632
6633     /**
6634     * @defgroup File_Selector_Entry File Selector Entry
6635     *
6636     * @image html img/widget/fileselector_entry/preview-00.png
6637     * @image latex img/widget/fileselector_entry/preview-00.eps
6638     *
6639     * This is an entry made to be filled with or display a <b>file
6640     * system path string</b>. Besides the entry itself, the widget has
6641     * a @ref File_Selector_Button "file selector button" on its side,
6642     * which will raise an internal @ref Fileselector "file selector widget",
6643     * when clicked, for path selection aided by file system
6644     * navigation.
6645     *
6646     * This file selector may appear in an Elementary window or in an
6647     * inner window. When a file is chosen from it, the (inner) window
6648     * is closed and the selected file's path string is exposed both as
6649     * an smart event and as the new text on the entry.
6650     *
6651     * This widget encapsulates operations on its internal file
6652     * selector on its own API. There is less control over its file
6653     * selector than that one would have instatiating one directly.
6654     *
6655     * Smart callbacks one can register to:
6656     * - @c "changed" - The text within the entry was changed
6657     * - @c "activated" - The entry has had editing finished and
6658     *   changes are to be "committed"
6659     * - @c "press" - The entry has been clicked
6660     * - @c "longpressed" - The entry has been clicked (and held) for a
6661     *   couple seconds
6662     * - @c "clicked" - The entry has been clicked
6663     * - @c "clicked,double" - The entry has been double clicked
6664     * - @c "focused" - The entry has received focus
6665     * - @c "unfocused" - The entry has lost focus
6666     * - @c "selection,paste" - A paste action has occurred on the
6667     *   entry
6668     * - @c "selection,copy" - A copy action has occurred on the entry
6669     * - @c "selection,cut" - A cut action has occurred on the entry
6670     * - @c "unpressed" - The file selector entry's button was released
6671     *   after being pressed.
6672     * - @c "file,chosen" - The user has selected a path via the file
6673     *   selector entry's internal file selector, whose string pointer
6674     *   comes as the @c event_info data (a stringshared string)
6675     *
6676     * Here is an example on its usage:
6677     * @li @ref fileselector_entry_example
6678     *
6679     * @see @ref File_Selector_Button for a similar widget.
6680     * @{
6681     */
6682
6683    /**
6684     * Add a new file selector entry widget to the given parent
6685     * Elementary (container) object
6686     *
6687     * @param parent The parent object
6688     * @return a new file selector entry widget handle or @c NULL, on
6689     * errors
6690     */
6691    EAPI Evas_Object *elm_fileselector_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6692
6693    /**
6694     * Set the label for a given file selector entry widget's button
6695     *
6696     * @param obj The file selector entry widget
6697     * @param label The text label to be displayed on @p obj widget's
6698     * button
6699     *
6700     * @deprecated use elm_object_text_set() instead.
6701     */
6702    EINA_DEPRECATED EAPI void         elm_fileselector_entry_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6703
6704    /**
6705     * Get the label set for a given file selector entry widget's button
6706     *
6707     * @param obj The file selector entry widget
6708     * @return The widget button's label
6709     *
6710     * @deprecated use elm_object_text_set() instead.
6711     */
6712    EINA_DEPRECATED EAPI const char  *elm_fileselector_entry_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6713
6714    /**
6715     * Set the icon on a given file selector entry widget's button
6716     *
6717     * @param obj The file selector entry widget
6718     * @param icon The icon object for the entry's button
6719     *
6720     * Once the icon object is set, a previously set one will be
6721     * deleted. If you want to keep the latter, use the
6722     * elm_fileselector_entry_button_icon_unset() function.
6723     *
6724     * @see elm_fileselector_entry_button_icon_get()
6725     */
6726    EAPI void         elm_fileselector_entry_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6727
6728    /**
6729     * Get the icon set for a given file selector entry widget's button
6730     *
6731     * @param obj The file selector entry widget
6732     * @return The icon object currently set on @p obj widget's button
6733     * or @c NULL, if none is
6734     *
6735     * @see elm_fileselector_entry_button_icon_set()
6736     */
6737    EAPI Evas_Object *elm_fileselector_entry_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6738
6739    /**
6740     * Unset the icon used in a given file selector entry widget's
6741     * button
6742     *
6743     * @param obj The file selector entry widget
6744     * @return The icon object that was being used on @p obj widget's
6745     * button or @c NULL, on errors
6746     *
6747     * Unparent and return the icon object which was set for this
6748     * widget's button.
6749     *
6750     * @see elm_fileselector_entry_button_icon_set()
6751     */
6752    EAPI Evas_Object *elm_fileselector_entry_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6753
6754    /**
6755     * Set the title for a given file selector entry widget's window
6756     *
6757     * @param obj The file selector entry widget
6758     * @param title The title string
6759     *
6760     * This will change the window's title, when the file selector pops
6761     * out after a click on the entry's button. Those windows have the
6762     * default (unlocalized) value of @c "Select a file" as titles.
6763     *
6764     * @note It will only take any effect if the file selector
6765     * entry widget is @b not under "inwin mode".
6766     *
6767     * @see elm_fileselector_entry_window_title_get()
6768     */
6769    EAPI void         elm_fileselector_entry_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
6770
6771    /**
6772     * Get the title set for a given file selector entry widget's
6773     * window
6774     *
6775     * @param obj The file selector entry widget
6776     * @return Title of the file selector entry's window
6777     *
6778     * @see elm_fileselector_entry_window_title_get() for more details
6779     */
6780    EAPI const char  *elm_fileselector_entry_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6781
6782    /**
6783     * Set the size of a given file selector entry widget's window,
6784     * holding the file selector itself.
6785     *
6786     * @param obj The file selector entry widget
6787     * @param width The window's width
6788     * @param height The window's height
6789     *
6790     * @note it will only take any effect if the file selector entry
6791     * widget is @b not under "inwin mode". The default size for the
6792     * window (when applicable) is 400x400 pixels.
6793     *
6794     * @see elm_fileselector_entry_window_size_get()
6795     */
6796    EAPI void         elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
6797
6798    /**
6799     * Get the size of a given file selector entry widget's window,
6800     * holding the file selector itself.
6801     *
6802     * @param obj The file selector entry widget
6803     * @param width Pointer into which to store the width value
6804     * @param height Pointer into which to store the height value
6805     *
6806     * @note Use @c NULL pointers on the size values you're not
6807     * interested in: they'll be ignored by the function.
6808     *
6809     * @see elm_fileselector_entry_window_size_set(), for more details
6810     */
6811    EAPI void         elm_fileselector_entry_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
6812
6813    /**
6814     * Set the initial file system path and the entry's path string for
6815     * a given file selector entry widget
6816     *
6817     * @param obj The file selector entry widget
6818     * @param path The path string
6819     *
6820     * It must be a <b>directory</b> path, which will have the contents
6821     * displayed initially in the file selector's view, when invoked
6822     * from @p obj. The default initial path is the @c "HOME"
6823     * environment variable's value.
6824     *
6825     * @see elm_fileselector_entry_path_get()
6826     */
6827    EAPI void         elm_fileselector_entry_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
6828
6829    /**
6830     * Get the entry's path string for a given file selector entry
6831     * widget
6832     *
6833     * @param obj The file selector entry widget
6834     * @return path The path string
6835     *
6836     * @see elm_fileselector_entry_path_set() for more details
6837     */
6838    EAPI const char  *elm_fileselector_entry_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6839
6840    /**
6841     * Enable/disable a tree view in the given file selector entry
6842     * widget's internal file selector
6843     *
6844     * @param obj The file selector entry widget
6845     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
6846     * disable
6847     *
6848     * This has the same effect as elm_fileselector_expandable_set(),
6849     * but now applied to a file selector entry's internal file
6850     * selector.
6851     *
6852     * @note There's no way to put a file selector entry's internal
6853     * file selector in "grid mode", as one may do with "pure" file
6854     * selectors.
6855     *
6856     * @see elm_fileselector_expandable_get()
6857     */
6858    EAPI void         elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6859
6860    /**
6861     * Get whether tree view is enabled for the given file selector
6862     * entry widget's internal file selector
6863     *
6864     * @param obj The file selector entry widget
6865     * @return @c EINA_TRUE if @p obj widget's internal file selector
6866     * is in tree view, @c EINA_FALSE otherwise (and or errors)
6867     *
6868     * @see elm_fileselector_expandable_set() for more details
6869     */
6870    EAPI Eina_Bool    elm_fileselector_entry_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6871
6872    /**
6873     * Set whether a given file selector entry widget's internal file
6874     * selector is to display folders only or the directory contents,
6875     * as well.
6876     *
6877     * @param obj The file selector entry widget
6878     * @param only @c EINA_TRUE to make @p obj widget's internal file
6879     * selector only display directories, @c EINA_FALSE to make files
6880     * to be displayed in it too
6881     *
6882     * This has the same effect as elm_fileselector_folder_only_set(),
6883     * but now applied to a file selector entry's internal file
6884     * selector.
6885     *
6886     * @see elm_fileselector_folder_only_get()
6887     */
6888    EAPI void         elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6889
6890    /**
6891     * Get whether a given file selector entry widget's internal file
6892     * selector is displaying folders only or the directory contents,
6893     * as well.
6894     *
6895     * @param obj The file selector entry widget
6896     * @return @c EINA_TRUE if @p obj widget's internal file
6897     * selector is only displaying directories, @c EINA_FALSE if files
6898     * are being displayed in it too (and on errors)
6899     *
6900     * @see elm_fileselector_entry_folder_only_set() for more details
6901     */
6902    EAPI Eina_Bool    elm_fileselector_entry_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6903
6904    /**
6905     * Enable/disable the file name entry box where the user can type
6906     * in a name for a file, in a given file selector entry widget's
6907     * internal file selector.
6908     *
6909     * @param obj The file selector entry widget
6910     * @param is_save @c EINA_TRUE to make @p obj widget's internal
6911     * file selector a "saving dialog", @c EINA_FALSE otherwise
6912     *
6913     * This has the same effect as elm_fileselector_is_save_set(),
6914     * but now applied to a file selector entry's internal file
6915     * selector.
6916     *
6917     * @see elm_fileselector_is_save_get()
6918     */
6919    EAPI void         elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6920
6921    /**
6922     * Get whether the given file selector entry widget's internal
6923     * file selector is in "saving dialog" mode
6924     *
6925     * @param obj The file selector entry widget
6926     * @return @c EINA_TRUE, if @p obj widget's internal file selector
6927     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
6928     * errors)
6929     *
6930     * @see elm_fileselector_entry_is_save_set() for more details
6931     */
6932    EAPI Eina_Bool    elm_fileselector_entry_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6933
6934    /**
6935     * Set whether a given file selector entry widget's internal file
6936     * selector will raise an Elementary "inner window", instead of a
6937     * dedicated Elementary window. By default, it won't.
6938     *
6939     * @param obj The file selector entry widget
6940     * @param value @c EINA_TRUE to make it use an inner window, @c
6941     * EINA_TRUE to make it use a dedicated window
6942     *
6943     * @see elm_win_inwin_add() for more information on inner windows
6944     * @see elm_fileselector_entry_inwin_mode_get()
6945     */
6946    EAPI void         elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6947
6948    /**
6949     * Get whether a given file selector entry widget's internal file
6950     * selector will raise an Elementary "inner window", instead of a
6951     * dedicated Elementary window.
6952     *
6953     * @param obj The file selector entry widget
6954     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
6955     * if it will use a dedicated window
6956     *
6957     * @see elm_fileselector_entry_inwin_mode_set() for more details
6958     */
6959    EAPI Eina_Bool    elm_fileselector_entry_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6960
6961    /**
6962     * Set the initial file system path for a given file selector entry
6963     * widget
6964     *
6965     * @param obj The file selector entry widget
6966     * @param path The path string
6967     *
6968     * It must be a <b>directory</b> path, which will have the contents
6969     * displayed initially in the file selector's view, when invoked
6970     * from @p obj. The default initial path is the @c "HOME"
6971     * environment variable's value.
6972     *
6973     * @see elm_fileselector_entry_path_get()
6974     */
6975    EAPI void         elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
6976
6977    /**
6978     * Get the parent directory's path to the latest file selection on
6979     * a given filer selector entry widget
6980     *
6981     * @param obj The file selector object
6982     * @return The (full) path of the directory of the last selection
6983     * on @p obj widget, a @b stringshared string
6984     *
6985     * @see elm_fileselector_entry_path_set()
6986     */
6987    EAPI const char  *elm_fileselector_entry_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6988
6989    /**
6990     * @}
6991     */
6992
6993    /**
6994     * @defgroup Scroller Scroller
6995     *
6996     * A scroller holds a single object and "scrolls it around". This means that
6997     * it allows the user to use a scrollbar (or a finger) to drag the viewable
6998     * region around, allowing to move through a much larger object that is
6999     * contained in the scroller. The scroller will always have a small minimum
7000     * size by default as it won't be limited by the contents of the scroller.
7001     *
7002     * Signals that you can add callbacks for are:
7003     * @li "edge,left" - the left edge of the content has been reached
7004     * @li "edge,right" - the right edge of the content has been reached
7005     * @li "edge,top" - the top edge of the content has been reached
7006     * @li "edge,bottom" - the bottom edge of the content has been reached
7007     * @li "scroll" - the content has been scrolled (moved)
7008     * @li "scroll,anim,start" - scrolling animation has started
7009     * @li "scroll,anim,stop" - scrolling animation has stopped
7010     * @li "scroll,drag,start" - dragging the contents around has started
7011     * @li "scroll,drag,stop" - dragging the contents around has stopped
7012     * @note The "scroll,anim,*" and "scroll,drag,*" signals are only emitted by
7013     * user intervetion.
7014     *
7015     * @note When Elemementary is in embedded mode the scrollbars will not be
7016     * dragable, they appear merely as indicators of how much has been scrolled.
7017     * @note When Elementary is in desktop mode the thumbscroll(a.k.a.
7018     * fingerscroll) won't work.
7019     *
7020     * To set/get/unset the content of the panel, you can use
7021     * elm_object_content_set/get/unset APIs.
7022     * Once the content object is set, a previously set one will be deleted.
7023     * If you want to keep that old content object, use the
7024     * elm_object_content_unset() function
7025     *
7026     * In @ref tutorial_scroller you'll find an example of how to use most of
7027     * this API.
7028     * @{
7029     */
7030    /**
7031     * @brief Type that controls when scrollbars should appear.
7032     *
7033     * @see elm_scroller_policy_set()
7034     */
7035    typedef enum _Elm_Scroller_Policy
7036      {
7037         ELM_SCROLLER_POLICY_AUTO = 0, /**< Show scrollbars as needed */
7038         ELM_SCROLLER_POLICY_ON, /**< Always show scrollbars */
7039         ELM_SCROLLER_POLICY_OFF, /**< Never show scrollbars */
7040         ELM_SCROLLER_POLICY_LAST
7041      } Elm_Scroller_Policy;
7042    /**
7043     * @brief Add a new scroller to the parent
7044     *
7045     * @param parent The parent object
7046     * @return The new object or NULL if it cannot be created
7047     */
7048    EAPI Evas_Object *elm_scroller_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7049    /**
7050     * @brief Set the content of the scroller widget (the object to be scrolled around).
7051     *
7052     * @param obj The scroller object
7053     * @param content The new content object
7054     *
7055     * Once the content object is set, a previously set one will be deleted.
7056     * If you want to keep that old content object, use the
7057     * elm_scroller_content_unset() function.
7058     */
7059    EINA_DEPRECATED EAPI void         elm_scroller_content_set(Evas_Object *obj, Evas_Object *child) EINA_ARG_NONNULL(1);
7060    /**
7061     * @brief Get the content of the scroller widget
7062     *
7063     * @param obj The slider object
7064     * @return The content that is being used
7065     *
7066     * Return the content object which is set for this widget
7067     *
7068     * @see elm_scroller_content_set()
7069     */
7070    EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7071    /**
7072     * @brief Unset the content of the scroller widget
7073     *
7074     * @param obj The slider object
7075     * @return The content that was being used
7076     *
7077     * Unparent and return the content object which was set for this widget
7078     *
7079     * @see elm_scroller_content_set()
7080     */
7081    EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7082    /**
7083     * @brief Set custom theme elements for the scroller
7084     *
7085     * @param obj The scroller object
7086     * @param widget The widget name to use (default is "scroller")
7087     * @param base The base name to use (default is "base")
7088     */
7089    EAPI void         elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base) EINA_ARG_NONNULL(1, 2, 3);
7090    /**
7091     * @brief Make the scroller minimum size limited to the minimum size of the content
7092     *
7093     * @param obj The scroller object
7094     * @param w Enable limiting minimum size horizontally
7095     * @param h Enable limiting minimum size vertically
7096     *
7097     * By default the scroller will be as small as its design allows,
7098     * irrespective of its content. This will make the scroller minimum size the
7099     * right size horizontally and/or vertically to perfectly fit its content in
7100     * that direction.
7101     */
7102    EAPI void         elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h) EINA_ARG_NONNULL(1);
7103    /**
7104     * @brief Show a specific virtual region within the scroller content object
7105     *
7106     * @param obj The scroller object
7107     * @param x X coordinate of the region
7108     * @param y Y coordinate of the region
7109     * @param w Width of the region
7110     * @param h Height of the region
7111     *
7112     * This will ensure all (or part if it does not fit) of the designated
7113     * region in the virtual content object (0, 0 starting at the top-left of the
7114     * virtual content object) is shown within the scroller.
7115     */
7116    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);
7117    /**
7118     * @brief Set the scrollbar visibility policy
7119     *
7120     * @param obj The scroller object
7121     * @param policy_h Horizontal scrollbar policy
7122     * @param policy_v Vertical scrollbar policy
7123     *
7124     * This sets the scrollbar visibility policy for the given scroller.
7125     * ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is
7126     * needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns it on all
7127     * the time, and ELM_SCROLLER_POLICY_OFF always keeps it off. This applies
7128     * respectively for the horizontal and vertical scrollbars.
7129     */
7130    EAPI void         elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
7131    /**
7132     * @brief Gets scrollbar visibility policy
7133     *
7134     * @param obj The scroller object
7135     * @param policy_h Horizontal scrollbar policy
7136     * @param policy_v Vertical scrollbar policy
7137     *
7138     * @see elm_scroller_policy_set()
7139     */
7140    EAPI void         elm_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) EINA_ARG_NONNULL(1);
7141    /**
7142     * @brief Get the currently visible content region
7143     *
7144     * @param obj The scroller object
7145     * @param x X coordinate of the region
7146     * @param y Y coordinate of the region
7147     * @param w Width of the region
7148     * @param h Height of the region
7149     *
7150     * This gets the current region in the content object that is visible through
7151     * the scroller. The region co-ordinates are returned in the @p x, @p y, @p
7152     * w, @p h values pointed to.
7153     *
7154     * @note All coordinates are relative to the content.
7155     *
7156     * @see elm_scroller_region_show()
7157     */
7158    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);
7159    /**
7160     * @brief Get the size of the content object
7161     *
7162     * @param obj The scroller object
7163     * @param w Width of the content object.
7164     * @param h Height of the content object.
7165     *
7166     * This gets the size of the content object of the scroller.
7167     */
7168    EAPI void         elm_scroller_child_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
7169    /**
7170     * @brief Set bouncing behavior
7171     *
7172     * @param obj The scroller object
7173     * @param h_bounce Allow bounce horizontally
7174     * @param v_bounce Allow bounce vertically
7175     *
7176     * When scrolling, the scroller may "bounce" when reaching an edge of the
7177     * content object. This is a visual way to indicate the end has been reached.
7178     * This is enabled by default for both axis. This API will set if it is enabled
7179     * for the given axis with the boolean parameters for each axis.
7180     */
7181    EAPI void         elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
7182    /**
7183     * @brief Get the bounce behaviour
7184     *
7185     * @param obj The Scroller object
7186     * @param h_bounce Will the scroller bounce horizontally or not
7187     * @param v_bounce Will the scroller bounce vertically or not
7188     *
7189     * @see elm_scroller_bounce_set()
7190     */
7191    EAPI void         elm_scroller_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
7192    /**
7193     * @brief Set scroll page size relative to viewport size.
7194     *
7195     * @param obj The scroller object
7196     * @param h_pagerel The horizontal page relative size
7197     * @param v_pagerel The vertical page relative size
7198     *
7199     * The scroller is capable of limiting scrolling by the user to "pages". That
7200     * is to jump by and only show a "whole page" at a time as if the continuous
7201     * area of the scroller content is split into page sized pieces. This sets
7202     * the size of a page relative to the viewport of the scroller. 1.0 is "1
7203     * viewport" is size (horizontally or vertically). 0.0 turns it off in that
7204     * axis. This is mutually exclusive with page size
7205     * (see elm_scroller_page_size_set()  for more information). Likewise 0.5
7206     * is "half a viewport". Sane usable values are normally between 0.0 and 1.0
7207     * including 1.0. If you only want 1 axis to be page "limited", use 0.0 for
7208     * the other axis.
7209     */
7210    EAPI void         elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
7211    /**
7212     * @brief Set scroll page size.
7213     *
7214     * @param obj The scroller object
7215     * @param h_pagesize The horizontal page size
7216     * @param v_pagesize The vertical page size
7217     *
7218     * This sets the page size to an absolute fixed value, with 0 turning it off
7219     * for that axis.
7220     *
7221     * @see elm_scroller_page_relative_set()
7222     */
7223    EAPI void         elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
7224    /**
7225     * @brief Get scroll current page number.
7226     *
7227     * @param obj The scroller object
7228     * @param h_pagenumber The horizontal page number
7229     * @param v_pagenumber The vertical page number
7230     *
7231     * The page number starts from 0. 0 is the first page.
7232     * Current page means the page which meets the top-left of the viewport.
7233     * If there are two or more pages in the viewport, it returns the number of the page
7234     * which meets the top-left of the viewport.
7235     *
7236     * @see elm_scroller_last_page_get()
7237     * @see elm_scroller_page_show()
7238     * @see elm_scroller_page_brint_in()
7239     */
7240    EAPI void         elm_scroller_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
7241    /**
7242     * @brief Get scroll last page number.
7243     *
7244     * @param obj The scroller object
7245     * @param h_pagenumber The horizontal page number
7246     * @param v_pagenumber The vertical page number
7247     *
7248     * The page number starts from 0. 0 is the first page.
7249     * This returns the last page number among the pages.
7250     *
7251     * @see elm_scroller_current_page_get()
7252     * @see elm_scroller_page_show()
7253     * @see elm_scroller_page_brint_in()
7254     */
7255    EAPI void         elm_scroller_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
7256    /**
7257     * Show a specific virtual region within the scroller content object by page number.
7258     *
7259     * @param obj The scroller object
7260     * @param h_pagenumber The horizontal page number
7261     * @param v_pagenumber The vertical page number
7262     *
7263     * 0, 0 of the indicated page is located at the top-left of the viewport.
7264     * This will jump to the page directly without animation.
7265     *
7266     * Example of usage:
7267     *
7268     * @code
7269     * sc = elm_scroller_add(win);
7270     * elm_scroller_content_set(sc, content);
7271     * elm_scroller_page_relative_set(sc, 1, 0);
7272     * elm_scroller_current_page_get(sc, &h_page, &v_page);
7273     * elm_scroller_page_show(sc, h_page + 1, v_page);
7274     * @endcode
7275     *
7276     * @see elm_scroller_page_bring_in()
7277     */
7278    EAPI void         elm_scroller_page_show(Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
7279    /**
7280     * Show a specific virtual region within the scroller content object by page number.
7281     *
7282     * @param obj The scroller object
7283     * @param h_pagenumber The horizontal page number
7284     * @param v_pagenumber The vertical page number
7285     *
7286     * 0, 0 of the indicated page is located at the top-left of the viewport.
7287     * This will slide to the page with animation.
7288     *
7289     * Example of usage:
7290     *
7291     * @code
7292     * sc = elm_scroller_add(win);
7293     * elm_scroller_content_set(sc, content);
7294     * elm_scroller_page_relative_set(sc, 1, 0);
7295     * elm_scroller_last_page_get(sc, &h_page, &v_page);
7296     * elm_scroller_page_bring_in(sc, h_page, v_page);
7297     * @endcode
7298     *
7299     * @see elm_scroller_page_show()
7300     */
7301    EAPI void         elm_scroller_page_bring_in(Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
7302    /**
7303     * @brief Show a specific virtual region within the scroller content object.
7304     *
7305     * @param obj The scroller object
7306     * @param x X coordinate of the region
7307     * @param y Y coordinate of the region
7308     * @param w Width of the region
7309     * @param h Height of the region
7310     *
7311     * This will ensure all (or part if it does not fit) of the designated
7312     * region in the virtual content object (0, 0 starting at the top-left of the
7313     * virtual content object) is shown within the scroller. Unlike
7314     * elm_scroller_region_show(), this allow the scroller to "smoothly slide"
7315     * to this location (if configuration in general calls for transitions). It
7316     * may not jump immediately to the new location and make take a while and
7317     * show other content along the way.
7318     *
7319     * @see elm_scroller_region_show()
7320     */
7321    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);
7322    /**
7323     * @brief Set event propagation on a scroller
7324     *
7325     * @param obj The scroller object
7326     * @param propagation If propagation is enabled or not
7327     *
7328     * This enables or disabled event propagation from the scroller content to
7329     * the scroller and its parent. By default event propagation is disabled.
7330     */
7331    EAPI void         elm_scroller_propagate_events_set(Evas_Object *obj, Eina_Bool propagation) EINA_ARG_NONNULL(1);
7332    /**
7333     * @brief Get event propagation for a scroller
7334     *
7335     * @param obj The scroller object
7336     * @return The propagation state
7337     *
7338     * This gets the event propagation for a scroller.
7339     *
7340     * @see elm_scroller_propagate_events_set()
7341     */
7342    EAPI Eina_Bool    elm_scroller_propagate_events_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7343    /**
7344     * @brief Set scrolling gravity on a scroller
7345     *
7346     * @param obj The scroller object
7347     * @param x The scrolling horizontal gravity
7348     * @param y The scrolling vertical gravity
7349     *
7350     * The gravity, defines how the scroller will adjust its view
7351     * when the size of the scroller contents increase.
7352     *
7353     * The scroller will adjust the view to glue itself as follows.
7354     *
7355     *  x=0.0, for showing the left most region of the content.
7356     *  x=1.0, for showing the right most region of the content.
7357     *  y=0.0, for showing the bottom most region of the content.
7358     *  y=1.0, for showing the top most region of the content.
7359     *
7360     * Default values for x and y are 0.0
7361     */
7362    EAPI void         elm_scroller_gravity_set(Evas_Object *obj, double x, double y) EINA_ARG_NONNULL(1);
7363    /**
7364     * @brief Get scrolling gravity values for a scroller
7365     *
7366     * @param obj The scroller object
7367     * @param x The scrolling horizontal gravity
7368     * @param y The scrolling vertical gravity
7369     *
7370     * This gets gravity values for a scroller.
7371     *
7372     * @see elm_scroller_gravity_set()
7373     *
7374     */
7375    EAPI void         elm_scroller_gravity_get(const Evas_Object *obj, double *x, double *y) EINA_ARG_NONNULL(1);
7376    /**
7377     * @}
7378     */
7379
7380    /**
7381     * @defgroup Label Label
7382     *
7383     * @image html img/widget/label/preview-00.png
7384     * @image latex img/widget/label/preview-00.eps
7385     *
7386     * @brief Widget to display text, with simple html-like markup.
7387     *
7388     * The Label widget @b doesn't allow text to overflow its boundaries, if the
7389     * text doesn't fit the geometry of the label it will be ellipsized or be
7390     * cut. Elementary provides several themes for this widget:
7391     * @li default - No animation
7392     * @li marker - Centers the text in the label and make it bold by default
7393     * @li slide_long - The entire text appears from the right of the screen and
7394     * slides until it disappears in the left of the screen(reappering on the
7395     * right again).
7396     * @li slide_short - The text appears in the left of the label and slides to
7397     * the right to show the overflow. When all of the text has been shown the
7398     * position is reset.
7399     * @li slide_bounce - The text appears in the left of the label and slides to
7400     * the right to show the overflow. When all of the text has been shown the
7401     * animation reverses, moving the text to the left.
7402     *
7403     * Custom themes can of course invent new markup tags and style them any way
7404     * they like.
7405     *
7406     * The following signals may be emitted by the label widget:
7407     * @li "language,changed": The program's language changed.
7408     *
7409     * See @ref tutorial_label for a demonstration of how to use a label widget.
7410     * @{
7411     */
7412    /**
7413     * @brief Add a new label to the parent
7414     *
7415     * @param parent The parent object
7416     * @return The new object or NULL if it cannot be created
7417     */
7418    EAPI Evas_Object *elm_label_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7419    /**
7420     * @brief Set the label on the label object
7421     *
7422     * @param obj The label object
7423     * @param label The label will be used on the label object
7424     * @deprecated See elm_object_text_set()
7425     */
7426    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 */
7427    /**
7428     * @brief Get the label used on the label object
7429     *
7430     * @param obj The label object
7431     * @return The string inside the label
7432     * @deprecated See elm_object_text_get()
7433     */
7434    EINA_DEPRECATED EAPI const char *elm_label_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); /* deprecated, use elm_object_text_get instead */
7435    /**
7436     * @brief Set the wrapping behavior of the label
7437     *
7438     * @param obj The label object
7439     * @param wrap To wrap text or not
7440     *
7441     * By default no wrapping is done. Possible values for @p wrap are:
7442     * @li ELM_WRAP_NONE - No wrapping
7443     * @li ELM_WRAP_CHAR - wrap between characters
7444     * @li ELM_WRAP_WORD - wrap between words
7445     * @li ELM_WRAP_MIXED - Word wrap, and if that fails, char wrap
7446     */
7447    EAPI void         elm_label_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
7448    /**
7449     * @brief Get the wrapping behavior of the label
7450     *
7451     * @param obj The label object
7452     * @return Wrap type
7453     *
7454     * @see elm_label_line_wrap_set()
7455     */
7456    EAPI Elm_Wrap_Type elm_label_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7457    /**
7458     * @brief Set wrap width of the label
7459     *
7460     * @param obj The label object
7461     * @param w The wrap width in pixels at a minimum where words need to wrap
7462     *
7463     * This function sets the maximum width size hint of the label.
7464     *
7465     * @warning This is only relevant if the label is inside a container.
7466     */
7467    EAPI void         elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w) EINA_ARG_NONNULL(1);
7468    /**
7469     * @brief Get wrap width of the label
7470     *
7471     * @param obj The label object
7472     * @return The wrap width in pixels at a minimum where words need to wrap
7473     *
7474     * @see elm_label_wrap_width_set()
7475     */
7476    EAPI Evas_Coord   elm_label_wrap_width_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7477    /**
7478     * @brief Set wrap height of the label
7479     *
7480     * @param obj The label object
7481     * @param h The wrap height in pixels at a minimum where words need to wrap
7482     *
7483     * This function sets the maximum height size hint of the label.
7484     *
7485     * @warning This is only relevant if the label is inside a container.
7486     */
7487    EAPI void         elm_label_wrap_height_set(Evas_Object *obj, Evas_Coord h) EINA_ARG_NONNULL(1);
7488    /**
7489     * @brief get wrap width of the label
7490     *
7491     * @param obj The label object
7492     * @return The wrap height in pixels at a minimum where words need to wrap
7493     */
7494    EAPI Evas_Coord   elm_label_wrap_height_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7495    /**
7496     * @brief Set the font size on the label object.
7497     *
7498     * @param obj The label object
7499     * @param size font size
7500     *
7501     * @warning NEVER use this. It is for hyper-special cases only. use styles
7502     * instead. e.g. "big", "medium", "small" - or better name them by use:
7503     * "title", "footnote", "quote" etc.
7504     */
7505    EAPI void         elm_label_fontsize_set(Evas_Object *obj, int fontsize) EINA_ARG_NONNULL(1);
7506    /**
7507     * @brief Set the text color on the label object
7508     *
7509     * @param obj The label object
7510     * @param r Red property background color of The label object
7511     * @param g Green property background color of The label object
7512     * @param b Blue property background color of The label object
7513     * @param a Alpha property background color of The label object
7514     *
7515     * @warning NEVER use this. It is for hyper-special cases only. use styles
7516     * instead. e.g. "big", "medium", "small" - or better name them by use:
7517     * "title", "footnote", "quote" etc.
7518     */
7519    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);
7520    /**
7521     * @brief Set the text align on the label object
7522     *
7523     * @param obj The label object
7524     * @param align align mode ("left", "center", "right")
7525     *
7526     * @warning NEVER use this. It is for hyper-special cases only. use styles
7527     * instead. e.g. "big", "medium", "small" - or better name them by use:
7528     * "title", "footnote", "quote" etc.
7529     */
7530    EAPI void         elm_label_text_align_set(Evas_Object *obj, const char *alignmode) EINA_ARG_NONNULL(1);
7531    /**
7532     * @brief Set background color of the label
7533     *
7534     * @param obj The label object
7535     * @param r Red property background color of The label object
7536     * @param g Green property background color of The label object
7537     * @param b Blue property background color of The label object
7538     * @param a Alpha property background alpha of The label object
7539     *
7540     * @warning NEVER use this. It is for hyper-special cases only. use styles
7541     * instead. e.g. "big", "medium", "small" - or better name them by use:
7542     * "title", "footnote", "quote" etc.
7543     */
7544    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);
7545    /**
7546     * @brief Set the ellipsis behavior of the label
7547     *
7548     * @param obj The label object
7549     * @param ellipsis To ellipsis text or not
7550     *
7551     * If set to true and the text doesn't fit in the label an ellipsis("...")
7552     * will be shown at the end of the widget.
7553     *
7554     * @warning This doesn't work with slide(elm_label_slide_set()) or if the
7555     * choosen wrap method was ELM_WRAP_WORD.
7556     */
7557    EAPI void         elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis) EINA_ARG_NONNULL(1);
7558    /**
7559     * @brief Set the text slide of the label
7560     *
7561     * @param obj The label object
7562     * @param slide To start slide or stop
7563     *
7564     * If set to true, the text of the label will slide/scroll through the length of
7565     * label.
7566     *
7567     * @warning This only works with the themes "slide_short", "slide_long" and
7568     * "slide_bounce".
7569     */
7570    EAPI void         elm_label_slide_set(Evas_Object *obj, Eina_Bool slide) EINA_ARG_NONNULL(1);
7571    /**
7572     * @brief Get the text slide mode of the label
7573     *
7574     * @param obj The label object
7575     * @return slide slide mode value
7576     *
7577     * @see elm_label_slide_set()
7578     */
7579    EAPI Eina_Bool    elm_label_slide_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
7580    /**
7581     * @brief Set the slide duration(speed) of the label
7582     *
7583     * @param obj The label object
7584     * @return The duration in seconds in moving text from slide begin position
7585     * to slide end position
7586     */
7587    EAPI void         elm_label_slide_duration_set(Evas_Object *obj, double duration) EINA_ARG_NONNULL(1);
7588    /**
7589     * @brief Get the slide duration(speed) of the label
7590     *
7591     * @param obj The label object
7592     * @return The duration time in moving text from slide begin position to slide end position
7593     *
7594     * @see elm_label_slide_duration_set()
7595     */
7596    EAPI double       elm_label_slide_duration_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
7597    /**
7598     * @}
7599     */
7600
7601    /**
7602     * @defgroup Toggle Toggle
7603     *
7604     * @image html img/widget/toggle/preview-00.png
7605     * @image latex img/widget/toggle/preview-00.eps
7606     *
7607     * @brief A toggle is a slider which can be used to toggle between
7608     * two values.  It has two states: on and off.
7609     *
7610     * This widget is deprecated. Please use elm_check_add() instead using the
7611     * toggle style like:
7612     * 
7613     * @code
7614     * obj = elm_check_add(parent);
7615     * elm_object_style_set(obj, "toggle");
7616     * elm_object_text_part_set(obj, "on", "ON");
7617     * elm_object_text_part_set(obj, "off", "OFF");
7618     * @endcode
7619     * 
7620     * Signals that you can add callbacks for are:
7621     * @li "changed" - Whenever the toggle value has been changed.  Is not called
7622     *                 until the toggle is released by the cursor (assuming it
7623     *                 has been triggered by the cursor in the first place).
7624     *
7625     * @ref tutorial_toggle show how to use a toggle.
7626     * @{
7627     */
7628    /**
7629     * @brief Add a toggle to @p parent.
7630     *
7631     * @param parent The parent object
7632     *
7633     * @return The toggle object
7634     */
7635    EINA_DEPRECATED EAPI Evas_Object *elm_toggle_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7636    /**
7637     * @brief Sets the label to be displayed with the toggle.
7638     *
7639     * @param obj The toggle object
7640     * @param label The label to be displayed
7641     *
7642     * @deprecated use elm_object_text_set() instead.
7643     */
7644    EINA_DEPRECATED EAPI void         elm_toggle_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
7645    /**
7646     * @brief Gets the label of the toggle
7647     *
7648     * @param obj  toggle object
7649     * @return The label of the toggle
7650     *
7651     * @deprecated use elm_object_text_get() instead.
7652     */
7653    EINA_DEPRECATED EAPI const char  *elm_toggle_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7654    /**
7655     * @brief Set the icon used for the toggle
7656     *
7657     * @param obj The toggle object
7658     * @param icon The icon object for the button
7659     *
7660     * Once the icon object is set, a previously set one will be deleted
7661     * If you want to keep that old content object, use the
7662     * elm_toggle_icon_unset() function.
7663     *
7664     * @deprecated use elm_object_content_set() instead.
7665     */
7666    EINA_DEPRECATED EAPI void         elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
7667    /**
7668     * @brief Get the icon used for the toggle
7669     *
7670     * @param obj The toggle object
7671     * @return The icon object that is being used
7672     *
7673     * Return the icon object which is set for this widget.
7674     *
7675     * @see elm_toggle_icon_set()
7676     *
7677     * @deprecated use elm_object_content_get() instead.
7678     */
7679    EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7680    /**
7681     * @brief Unset the icon used for the toggle
7682     *
7683     * @param obj The toggle object
7684     * @return The icon object that was being used
7685     *
7686     * Unparent and return the icon object which was set for this widget.
7687     *
7688     * @see elm_toggle_icon_set()
7689     *
7690     * @deprecated use elm_object_content_unset() instead.
7691     */
7692    EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7693    /**
7694     * @brief Sets the labels to be associated with the on and off states of the toggle.
7695     *
7696     * @param obj The toggle object
7697     * @param onlabel The label displayed when the toggle is in the "on" state
7698     * @param offlabel The label displayed when the toggle is in the "off" state
7699     *
7700     * @deprecated use elm_object_text_part_set() for "on" and "off" parts
7701     * instead.
7702     */
7703    EINA_DEPRECATED EAPI void         elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel) EINA_ARG_NONNULL(1);
7704    /**
7705     * @brief Gets the labels associated with the on and off states of the
7706     * toggle.
7707     *
7708     * @param obj The toggle object
7709     * @param onlabel A char** to place the onlabel of @p obj into
7710     * @param offlabel A char** to place the offlabel of @p obj into
7711     *
7712     * @deprecated use elm_object_text_part_get() for "on" and "off" parts
7713     * instead.
7714     */
7715    EINA_DEPRECATED EAPI void         elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel) EINA_ARG_NONNULL(1);
7716    /**
7717     * @brief Sets the state of the toggle to @p state.
7718     *
7719     * @param obj The toggle object
7720     * @param state The state of @p obj
7721     *
7722     * @deprecated use elm_check_state_set() instead.
7723     */
7724    EINA_DEPRECATED EAPI void         elm_toggle_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
7725    /**
7726     * @brief Gets the state of the toggle to @p state.
7727     *
7728     * @param obj The toggle object
7729     * @return The state of @p obj
7730     *
7731     * @deprecated use elm_check_state_get() instead.
7732     */
7733    EINA_DEPRECATED EAPI Eina_Bool    elm_toggle_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7734    /**
7735     * @brief Sets the state pointer of the toggle to @p statep.
7736     *
7737     * @param obj The toggle object
7738     * @param statep The state pointer of @p obj
7739     *
7740     * @deprecated use elm_check_state_pointer_set() instead.
7741     */
7742    EINA_DEPRECATED EAPI void         elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
7743    /**
7744     * @}
7745     */
7746
7747    /**
7748     * @defgroup Frame Frame
7749     *
7750     * @image html img/widget/frame/preview-00.png
7751     * @image latex img/widget/frame/preview-00.eps
7752     *
7753     * @brief Frame is a widget that holds some content and has a title.
7754     *
7755     * The default look is a frame with a title, but Frame supports multple
7756     * styles:
7757     * @li default
7758     * @li pad_small
7759     * @li pad_medium
7760     * @li pad_large
7761     * @li pad_huge
7762     * @li outdent_top
7763     * @li outdent_bottom
7764     *
7765     * Of all this styles only default shows the title. Frame emits no signals.
7766     *
7767     * Default contents parts of the frame widget that you can use for are:
7768     * @li "elm.swallow.content" - A content of the frame
7769     *
7770     * Default text parts of the frame widget that you can use for are:
7771     * @li "elm.text" - Label of the frame
7772     *
7773     * For a detailed example see the @ref tutorial_frame.
7774     *
7775     * @{
7776     */
7777    /**
7778     * @brief Add a new frame to the parent
7779     *
7780     * @param parent The parent object
7781     * @return The new object or NULL if it cannot be created
7782     */
7783    EAPI Evas_Object *elm_frame_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7784    /**
7785     * @brief Set the frame label
7786     *
7787     * @param obj The frame object
7788     * @param label The label of this frame object
7789     *
7790     * @deprecated use elm_object_text_set() instead.
7791     */
7792    EINA_DEPRECATED EAPI void         elm_frame_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
7793    /**
7794     * @brief Get the frame label
7795     *
7796     * @param obj The frame object
7797     *
7798     * @return The label of this frame objet or NULL if unable to get frame
7799     *
7800     * @deprecated use elm_object_text_get() instead.
7801     */
7802    EINA_DEPRECATED EAPI const char  *elm_frame_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7803    /**
7804     * @brief Set the content of the frame widget
7805     *
7806     * Once the content object is set, a previously set one will be deleted.
7807     * If you want to keep that old content object, use the
7808     * elm_frame_content_unset() function.
7809     *
7810     * @param obj The frame object
7811     * @param content The content will be filled in this frame object
7812     */
7813    EINA_DEPRECATED EAPI void         elm_frame_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
7814    /**
7815     * @brief Get the content of the frame widget
7816     *
7817     * Return the content object which is set for this widget
7818     *
7819     * @param obj The frame object
7820     * @return The content that is being used
7821     */
7822    EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7823    /**
7824     * @brief Unset the content of the frame widget
7825     *
7826     * Unparent and return the content object which was set for this widget
7827     *
7828     * @param obj The frame object
7829     * @return The content that was being used
7830     */
7831    EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7832    /**
7833     * @}
7834     */
7835
7836    /**
7837     * @defgroup Table Table
7838     *
7839     * A container widget to arrange other widgets in a table where items can
7840     * also span multiple columns or rows - even overlap (and then be raised or
7841     * lowered accordingly to adjust stacking if they do overlap).
7842     *
7843     * For a Table widget the row/column count is not fixed.
7844     * The table widget adjusts itself when subobjects are added to it dynamically.
7845     *
7846     * The followin are examples of how to use a table:
7847     * @li @ref tutorial_table_01
7848     * @li @ref tutorial_table_02
7849     *
7850     * @{
7851     */
7852    /**
7853     * @brief Add a new table to the parent
7854     *
7855     * @param parent The parent object
7856     * @return The new object or NULL if it cannot be created
7857     */
7858    EAPI Evas_Object *elm_table_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7859    /**
7860     * @brief Set the homogeneous layout in the table
7861     *
7862     * @param obj The layout object
7863     * @param homogeneous A boolean to set if the layout is homogeneous in the
7864     * table (EINA_TRUE = homogeneous,  EINA_FALSE = no homogeneous)
7865     */
7866    EAPI void         elm_table_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
7867    /**
7868     * @brief Get the current table homogeneous mode.
7869     *
7870     * @param obj The table object
7871     * @return A boolean to indicating if the layout is homogeneous in the table
7872     * (EINA_TRUE = homogeneous,  EINA_FALSE = no homogeneous)
7873     */
7874    EAPI Eina_Bool    elm_table_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7875    /**
7876     * @warning <b>Use elm_table_homogeneous_set() instead</b>
7877     */
7878    EINA_DEPRECATED EAPI void elm_table_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
7879    /**
7880     * @warning <b>Use elm_table_homogeneous_get() instead</b>
7881     */
7882    EINA_DEPRECATED EAPI Eina_Bool elm_table_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7883    /**
7884     * @brief Set padding between cells.
7885     *
7886     * @param obj The layout object.
7887     * @param horizontal set the horizontal padding.
7888     * @param vertical set the vertical padding.
7889     *
7890     * Default value is 0.
7891     */
7892    EAPI void         elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
7893    /**
7894     * @brief Get padding between cells.
7895     *
7896     * @param obj The layout object.
7897     * @param horizontal set the horizontal padding.
7898     * @param vertical set the vertical padding.
7899     */
7900    EAPI void         elm_table_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
7901    /**
7902     * @brief Add a subobject on the table with the coordinates passed
7903     *
7904     * @param obj The table object
7905     * @param subobj The subobject to be added to the table
7906     * @param x Row number
7907     * @param y Column number
7908     * @param w rowspan
7909     * @param h colspan
7910     *
7911     * @note All positioning inside the table is relative to rows and columns, so
7912     * a value of 0 for x and y, means the top left cell of the table, and a
7913     * value of 1 for w and h means @p subobj only takes that 1 cell.
7914     */
7915    EAPI void         elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
7916    /**
7917     * @brief Remove child from table.
7918     *
7919     * @param obj The table object
7920     * @param subobj The subobject
7921     */
7922    EAPI void         elm_table_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
7923    /**
7924     * @brief Faster way to remove all child objects from a table object.
7925     *
7926     * @param obj The table object
7927     * @param clear If true, will delete children, else just remove from table.
7928     */
7929    EAPI void         elm_table_clear(Evas_Object *obj, Eina_Bool clear) EINA_ARG_NONNULL(1);
7930    /**
7931     * @brief Set the packing location of an existing child of the table
7932     *
7933     * @param subobj The subobject to be modified in the table
7934     * @param x Row number
7935     * @param y Column number
7936     * @param w rowspan
7937     * @param h colspan
7938     *
7939     * Modifies the position of an object already in the table.
7940     *
7941     * @note All positioning inside the table is relative to rows and columns, so
7942     * a value of 0 for x and y, means the top left cell of the table, and a
7943     * value of 1 for w and h means @p subobj only takes that 1 cell.
7944     */
7945    EAPI void         elm_table_pack_set(Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
7946    /**
7947     * @brief Get the packing location of an existing child of the table
7948     *
7949     * @param subobj The subobject to be modified in the table
7950     * @param x Row number
7951     * @param y Column number
7952     * @param w rowspan
7953     * @param h colspan
7954     *
7955     * @see elm_table_pack_set()
7956     */
7957    EAPI void         elm_table_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
7958    /**
7959     * @}
7960     */
7961
7962    /* TEMPORARY: DOCS WILL BE FILLED IN WITH CNP/SED */
7963    typedef struct Elm_Gen_Item Elm_Gen_Item;
7964    typedef struct _Elm_Gen_Item_Class Elm_Gen_Item_Class;
7965    typedef struct _Elm_Gen_Item_Class_Func Elm_Gen_Item_Class_Func; /**< Class functions for gen item classes. */
7966    typedef char        *(*Elm_Gen_Item_Label_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< Label fetching class function for gen item classes. */
7967    typedef Evas_Object *(*Elm_Gen_Item_Content_Get_Cb)  (void *data, Evas_Object *obj, const char *part); /**< Content(swallowed object) fetching class function for gen item classes. */
7968    typedef Eina_Bool    (*Elm_Gen_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< State fetching class function for gen item classes. */
7969    typedef void         (*Elm_Gen_Item_Del_Cb)      (void *data, Evas_Object *obj); /**< Deletion class function for gen item classes. */
7970    struct _Elm_Gen_Item_Class
7971      {
7972         const char             *item_style;
7973         struct _Elm_Gen_Item_Class_Func
7974           {
7975              Elm_Gen_Item_Label_Get_Cb label_get;
7976              Elm_Gen_Item_Content_Get_Cb  content_get;
7977              Elm_Gen_Item_State_Get_Cb state_get;
7978              Elm_Gen_Item_Del_Cb       del;
7979           } func;
7980      };
7981    EAPI void elm_gen_clear(Evas_Object *obj);
7982    EAPI void elm_gen_item_selected_set(Elm_Gen_Item *it, Eina_Bool selected);
7983    EAPI Eina_Bool elm_gen_item_selected_get(const Elm_Gen_Item *it);
7984    EAPI void elm_gen_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
7985    EAPI Eina_Bool elm_gen_always_select_mode_get(const Evas_Object *obj);
7986    EAPI void elm_gen_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
7987    EAPI Eina_Bool elm_gen_no_select_mode_get(const Evas_Object *obj);
7988    EAPI void elm_gen_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
7989    EAPI void elm_gen_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
7990    EAPI void elm_gen_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel);
7991    EAPI void elm_gen_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel);
7992    EAPI void elm_gen_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize);
7993    EAPI void elm_gen_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber);
7994    EAPI void elm_gen_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber);
7995    EAPI void elm_gen_page_show(const Evas_Object *obj, int h_pagenumber, int v_pagenumber);
7996    EAPI void elm_gen_page_bring_in(const Evas_Object *obj, int h_pagenumber, int v_pagenumber);
7997    EAPI Elm_Gen_Item *elm_gen_first_item_get(const Evas_Object *obj);
7998    EAPI Elm_Gen_Item *elm_gen_last_item_get(const Evas_Object *obj);
7999    EAPI Elm_Gen_Item *elm_gen_item_next_get(const Elm_Gen_Item *it);
8000    EAPI Elm_Gen_Item *elm_gen_item_prev_get(const Elm_Gen_Item *it);
8001    EAPI Evas_Object *elm_gen_item_widget_get(const Elm_Gen_Item *it);
8002
8003    /**
8004     * @defgroup Gengrid Gengrid (Generic grid)
8005     *
8006     * This widget aims to position objects in a grid layout while
8007     * actually creating and rendering only the visible ones, using the
8008     * same idea as the @ref Genlist "genlist": the user defines a @b
8009     * class for each item, specifying functions that will be called at
8010     * object creation, deletion, etc. When those items are selected by
8011     * the user, a callback function is issued. Users may interact with
8012     * a gengrid via the mouse (by clicking on items to select them and
8013     * clicking on the grid's viewport and swiping to pan the whole
8014     * view) or via the keyboard, navigating through item with the
8015     * arrow keys.
8016     *
8017     * @section Gengrid_Layouts Gengrid layouts
8018     *
8019     * Gengrid may layout its items in one of two possible layouts:
8020     * - horizontal or
8021     * - vertical.
8022     *
8023     * When in "horizontal mode", items will be placed in @b columns,
8024     * from top to bottom and, when the space for a column is filled,
8025     * another one is started on the right, thus expanding the grid
8026     * horizontally, making for horizontal scrolling. When in "vertical
8027     * mode" , though, items will be placed in @b rows, from left to
8028     * right and, when the space for a row is filled, another one is
8029     * started below, thus expanding the grid vertically (and making
8030     * for vertical scrolling).
8031     *
8032     * @section Gengrid_Items Gengrid items
8033     *
8034     * An item in a gengrid can have 0 or more text labels (they can be
8035     * regular text or textblock Evas objects - that's up to the style
8036     * to determine), 0 or more icons (which are simply objects
8037     * swallowed into the gengrid item's theming Edje object) and 0 or
8038     * more <b>boolean states</b>, which have the behavior left to the
8039     * user to define. The Edje part names for each of these properties
8040     * will be looked up, in the theme file for the gengrid, under the
8041     * Edje (string) data items named @c "labels", @c "icons" and @c
8042     * "states", respectively. For each of those properties, if more
8043     * than one part is provided, they must have names listed separated
8044     * by spaces in the data fields. For the default gengrid item
8045     * theme, we have @b one label part (@c "elm.text"), @b two icon
8046     * parts (@c "elm.swalllow.icon" and @c "elm.swallow.end") and @b
8047     * no state parts.
8048     *
8049     * A gengrid item may be at one of several styles. Elementary
8050     * provides one by default - "default", but this can be extended by
8051     * system or application custom themes/overlays/extensions (see
8052     * @ref Theme "themes" for more details).
8053     *
8054     * @section Gengrid_Item_Class Gengrid item classes
8055     *
8056     * In order to have the ability to add and delete items on the fly,
8057     * gengrid implements a class (callback) system where the
8058     * application provides a structure with information about that
8059     * type of item (gengrid may contain multiple different items with
8060     * different classes, states and styles). Gengrid will call the
8061     * functions in this struct (methods) when an item is "realized"
8062     * (i.e., created dynamically, while the user is scrolling the
8063     * grid). All objects will simply be deleted when no longer needed
8064     * with evas_object_del(). The #Elm_GenGrid_Item_Class structure
8065     * contains the following members:
8066     * - @c item_style - This is a constant string and simply defines
8067     * the name of the item style. It @b must be specified and the
8068     * default should be @c "default".
8069     * - @c func.label_get - This function is called when an item
8070     * object is actually created. The @c data parameter will point to
8071     * the same data passed to elm_gengrid_item_append() and related
8072     * item creation functions. The @c obj parameter is the gengrid
8073     * object itself, while the @c part one is the name string of one
8074     * of the existing text parts in the Edje group implementing the
8075     * item's theme. This function @b must return a strdup'()ed string,
8076     * as the caller will free() it when done. See
8077     * #Elm_Gengrid_Item_Label_Get_Cb.
8078     * - @c func.content_get - This function is called when an item object
8079     * is actually created. The @c data parameter will point to the
8080     * same data passed to elm_gengrid_item_append() and related item
8081     * creation functions. The @c obj parameter is the gengrid object
8082     * itself, while the @c part one is the name string of one of the
8083     * existing (content) swallow parts in the Edje group implementing the
8084     * item's theme. It must return @c NULL, when no content is desired,
8085     * or a valid object handle, otherwise. The object will be deleted
8086     * by the gengrid on its deletion or when the item is "unrealized".
8087     * See #Elm_Gengrid_Item_Content_Get_Cb.
8088     * - @c func.state_get - This function is called when an item
8089     * object is actually created. The @c data parameter will point to
8090     * the same data passed to elm_gengrid_item_append() and related
8091     * item creation functions. The @c obj parameter is the gengrid
8092     * object itself, while the @c part one is the name string of one
8093     * of the state parts in the Edje group implementing the item's
8094     * theme. Return @c EINA_FALSE for false/off or @c EINA_TRUE for
8095     * true/on. Gengrids will emit a signal to its theming Edje object
8096     * with @c "elm,state,XXX,active" and @c "elm" as "emission" and
8097     * "source" arguments, respectively, when the state is true (the
8098     * default is false), where @c XXX is the name of the (state) part.
8099     * See #Elm_Gengrid_Item_State_Get_Cb.
8100     * - @c func.del - This is called when elm_gengrid_item_del() is
8101     * called on an item or elm_gengrid_clear() is called on the
8102     * gengrid. This is intended for use when gengrid items are
8103     * deleted, so any data attached to the item (e.g. its data
8104     * parameter on creation) can be deleted. See #Elm_Gengrid_Item_Del_Cb.
8105     *
8106     * @section Gengrid_Usage_Hints Usage hints
8107     *
8108     * If the user wants to have multiple items selected at the same
8109     * time, elm_gengrid_multi_select_set() will permit it. If the
8110     * gengrid is single-selection only (the default), then
8111     * elm_gengrid_select_item_get() will return the selected item or
8112     * @c NULL, if none is selected. If the gengrid is under
8113     * multi-selection, then elm_gengrid_selected_items_get() will
8114     * return a list (that is only valid as long as no items are
8115     * modified (added, deleted, selected or unselected) of child items
8116     * on a gengrid.
8117     *
8118     * If an item changes (internal (boolean) state, label or content 
8119     * changes), then use elm_gengrid_item_update() to have gengrid
8120     * update the item with the new state. A gengrid will re-"realize"
8121     * the item, thus calling the functions in the
8122     * #Elm_Gengrid_Item_Class set for that item.
8123     *
8124     * To programmatically (un)select an item, use
8125     * elm_gengrid_item_selected_set(). To get its selected state use
8126     * elm_gengrid_item_selected_get(). To make an item disabled
8127     * (unable to be selected and appear differently) use
8128     * elm_gengrid_item_disabled_set() to set this and
8129     * elm_gengrid_item_disabled_get() to get the disabled state.
8130     *
8131     * Grid cells will only have their selection smart callbacks called
8132     * when firstly getting selected. Any further clicks will do
8133     * nothing, unless you enable the "always select mode", with
8134     * elm_gengrid_always_select_mode_set(), thus making every click to
8135     * issue selection callbacks. elm_gengrid_no_select_mode_set() will
8136     * turn off the ability to select items entirely in the widget and
8137     * they will neither appear selected nor call the selection smart
8138     * callbacks.
8139     *
8140     * Remember that you can create new styles and add your own theme
8141     * augmentation per application with elm_theme_extension_add(). If
8142     * you absolutely must have a specific style that overrides any
8143     * theme the user or system sets up you can use
8144     * elm_theme_overlay_add() to add such a file.
8145     *
8146     * @section Gengrid_Smart_Events Gengrid smart events
8147     *
8148     * Smart events that you can add callbacks for are:
8149     * - @c "activated" - The user has double-clicked or pressed
8150     *   (enter|return|spacebar) on an item. The @c event_info parameter
8151     *   is the gengrid item that was activated.
8152     * - @c "clicked,double" - The user has double-clicked an item.
8153     *   The @c event_info parameter is the gengrid item that was double-clicked.
8154     * - @c "longpressed" - This is called when the item is pressed for a certain
8155     *   amount of time. By default it's 1 second.
8156     * - @c "selected" - The user has made an item selected. The
8157     *   @c event_info parameter is the gengrid item that was selected.
8158     * - @c "unselected" - The user has made an item unselected. The
8159     *   @c event_info parameter is the gengrid item that was unselected.
8160     * - @c "realized" - This is called when the item in the gengrid
8161     *   has its implementing Evas object instantiated, de facto. @c
8162     *   event_info is the gengrid item that was created. The object
8163     *   may be deleted at any time, so it is highly advised to the
8164     *   caller @b not to use the object pointer returned from
8165     *   elm_gengrid_item_object_get(), because it may point to freed
8166     *   objects.
8167     * - @c "unrealized" - This is called when the implementing Evas
8168     *   object for this item is deleted. @c event_info is the gengrid
8169     *   item that was deleted.
8170     * - @c "changed" - Called when an item is added, removed, resized
8171     *   or moved and when the gengrid is resized or gets "horizontal"
8172     *   property changes.
8173     * - @c "scroll,anim,start" - This is called when scrolling animation has
8174     *   started.
8175     * - @c "scroll,anim,stop" - This is called when scrolling animation has
8176     *   stopped.
8177     * - @c "drag,start,up" - Called when the item in the gengrid has
8178     *   been dragged (not scrolled) up.
8179     * - @c "drag,start,down" - Called when the item in the gengrid has
8180     *   been dragged (not scrolled) down.
8181     * - @c "drag,start,left" - Called when the item in the gengrid has
8182     *   been dragged (not scrolled) left.
8183     * - @c "drag,start,right" - Called when the item in the gengrid has
8184     *   been dragged (not scrolled) right.
8185     * - @c "drag,stop" - Called when the item in the gengrid has
8186     *   stopped being dragged.
8187     * - @c "drag" - Called when the item in the gengrid is being
8188     *   dragged.
8189     * - @c "scroll" - called when the content has been scrolled
8190     *   (moved).
8191     * - @c "scroll,drag,start" - called when dragging the content has
8192     *   started.
8193     * - @c "scroll,drag,stop" - called when dragging the content has
8194     *   stopped.
8195     * - @c "edge,top" - This is called when the gengrid is scrolled until
8196     *   the top edge.
8197     * - @c "edge,bottom" - This is called when the gengrid is scrolled
8198     *   until the bottom edge.
8199     * - @c "edge,left" - This is called when the gengrid is scrolled
8200     *   until the left edge.
8201     * - @c "edge,right" - This is called when the gengrid is scrolled
8202     *   until the right edge.
8203     *
8204     * List of gengrid examples:
8205     * @li @ref gengrid_example
8206     */
8207
8208    /**
8209     * @addtogroup Gengrid
8210     * @{
8211     */
8212
8213    typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class; /**< Gengrid item class definition structs */
8214    #define Elm_Gengrid_Item_Class Elm_Gen_Item_Class
8215    typedef struct _Elm_Gengrid_Item Elm_Gengrid_Item; /**< Gengrid item handles */
8216    #define Elm_Gengrid_Item Elm_Gen_Item /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
8217    typedef struct _Elm_Gengrid_Item_Class_Func Elm_Gengrid_Item_Class_Func; /**< Class functions for gengrid item classes. */
8218    typedef char        *(*Elm_Gengrid_Item_Label_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< Label fetching class function for gengrid item classes. */
8219    typedef Evas_Object *(*Elm_Gengrid_Item_Content_Get_Cb)  (void *data, Evas_Object *obj, const char *part); /**< Content (swallowed object) fetching class function for gengrid item classes. */
8220    typedef Eina_Bool    (*Elm_Gengrid_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< State fetching class function for gengrid item classes. */
8221    typedef void         (*Elm_Gengrid_Item_Del_Cb)      (void *data, Evas_Object *obj); /**< Deletion class function for gengrid item classes. */
8222
8223    /**
8224     * @struct _Elm_Gengrid_Item_Class
8225     *
8226     * Gengrid item class definition. See @ref Gengrid_Item_Class for
8227     * field details.
8228     */
8229    struct _Elm_Gengrid_Item_Class
8230      {
8231         const char             *item_style;
8232         struct _Elm_Gengrid_Item_Class_Func
8233           {
8234              Elm_Gengrid_Item_Label_Get_Cb label_get;
8235              Elm_Gengrid_Item_Content_Get_Cb content_get;
8236              Elm_Gengrid_Item_State_Get_Cb state_get;
8237              Elm_Gengrid_Item_Del_Cb       del;
8238           } func;
8239      }; /**< #Elm_Gengrid_Item_Class member definitions */
8240    #define Elm_Gengrid_Item_Class_Func Elm_Gen_Item_Class_Func
8241    /**
8242     * Add a new gengrid widget to the given parent Elementary
8243     * (container) object
8244     *
8245     * @param parent The parent object
8246     * @return a new gengrid widget handle or @c NULL, on errors
8247     *
8248     * This function inserts a new gengrid widget on the canvas.
8249     *
8250     * @see elm_gengrid_item_size_set()
8251     * @see elm_gengrid_group_item_size_set()
8252     * @see elm_gengrid_horizontal_set()
8253     * @see elm_gengrid_item_append()
8254     * @see elm_gengrid_item_del()
8255     * @see elm_gengrid_clear()
8256     *
8257     * @ingroup Gengrid
8258     */
8259    EAPI Evas_Object       *elm_gengrid_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
8260
8261    /**
8262     * Set the size for the items of a given gengrid widget
8263     *
8264     * @param obj The gengrid object.
8265     * @param w The items' width.
8266     * @param h The items' height;
8267     *
8268     * A gengrid, after creation, has still no information on the size
8269     * to give to each of its cells. So, you most probably will end up
8270     * with squares one @ref Fingers "finger" wide, the default
8271     * size. Use this function to force a custom size for you items,
8272     * making them as big as you wish.
8273     *
8274     * @see elm_gengrid_item_size_get()
8275     *
8276     * @ingroup Gengrid
8277     */
8278    EAPI void               elm_gengrid_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
8279
8280    /**
8281     * Get the size set for the items of a given gengrid widget
8282     *
8283     * @param obj The gengrid object.
8284     * @param w Pointer to a variable where to store the items' width.
8285     * @param h Pointer to a variable where to store the items' height.
8286     *
8287     * @note Use @c NULL pointers on the size values you're not
8288     * interested in: they'll be ignored by the function.
8289     *
8290     * @see elm_gengrid_item_size_get() for more details
8291     *
8292     * @ingroup Gengrid
8293     */
8294    EAPI void               elm_gengrid_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
8295
8296    /**
8297     * Set the size for the group items of a given gengrid widget
8298     *
8299     * @param obj The gengrid object.
8300     * @param w The group items' width.
8301     * @param h The group items' height;
8302     *
8303     * A gengrid, after creation, has still no information on the size
8304     * to give to each of its cells. So, you most probably will end up
8305     * with squares one @ref Fingers "finger" wide, the default
8306     * size. Use this function to force a custom size for you group items,
8307     * making them as big as you wish.
8308     *
8309     * @see elm_gengrid_group_item_size_get()
8310     *
8311     * @ingroup Gengrid
8312     */
8313    EAPI void               elm_gengrid_group_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
8314
8315    /**
8316     * Get the size set for the group items of a given gengrid widget
8317     *
8318     * @param obj The gengrid object.
8319     * @param w Pointer to a variable where to store the group items' width.
8320     * @param h Pointer to a variable where to store the group items' height.
8321     *
8322     * @note Use @c NULL pointers on the size values you're not
8323     * interested in: they'll be ignored by the function.
8324     *
8325     * @see elm_gengrid_group_item_size_get() for more details
8326     *
8327     * @ingroup Gengrid
8328     */
8329    EAPI void               elm_gengrid_group_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
8330
8331    /**
8332     * Set the items grid's alignment within a given gengrid widget
8333     *
8334     * @param obj The gengrid object.
8335     * @param align_x Alignment in the horizontal axis (0 <= align_x <= 1).
8336     * @param align_y Alignment in the vertical axis (0 <= align_y <= 1).
8337     *
8338     * This sets the alignment of the whole grid of items of a gengrid
8339     * within its given viewport. By default, those values are both
8340     * 0.5, meaning that the gengrid will have its items grid placed
8341     * exactly in the middle of its viewport.
8342     *
8343     * @note If given alignment values are out of the cited ranges,
8344     * they'll be changed to the nearest boundary values on the valid
8345     * ranges.
8346     *
8347     * @see elm_gengrid_align_get()
8348     *
8349     * @ingroup Gengrid
8350     */
8351    EAPI void               elm_gengrid_align_set(Evas_Object *obj, double align_x, double align_y) EINA_ARG_NONNULL(1);
8352
8353    /**
8354     * Get the items grid's alignment values within a given gengrid
8355     * widget
8356     *
8357     * @param obj The gengrid object.
8358     * @param align_x Pointer to a variable where to store the
8359     * horizontal alignment.
8360     * @param align_y Pointer to a variable where to store the vertical
8361     * alignment.
8362     *
8363     * @note Use @c NULL pointers on the alignment values you're not
8364     * interested in: they'll be ignored by the function.
8365     *
8366     * @see elm_gengrid_align_set() for more details
8367     *
8368     * @ingroup Gengrid
8369     */
8370    EAPI void               elm_gengrid_align_get(const Evas_Object *obj, double *align_x, double *align_y) EINA_ARG_NONNULL(1);
8371
8372    /**
8373     * Set whether a given gengrid widget is or not able have items
8374     * @b reordered
8375     *
8376     * @param obj The gengrid object
8377     * @param reorder_mode Use @c EINA_TRUE to turn reoderding on,
8378     * @c EINA_FALSE to turn it off
8379     *
8380     * If a gengrid is set to allow reordering, a click held for more
8381     * than 0.5 over a given item will highlight it specially,
8382     * signalling the gengrid has entered the reordering state. From
8383     * that time on, the user will be able to, while still holding the
8384     * mouse button down, move the item freely in the gengrid's
8385     * viewport, replacing to said item to the locations it goes to.
8386     * The replacements will be animated and, whenever the user
8387     * releases the mouse button, the item being replaced gets a new
8388     * definitive place in the grid.
8389     *
8390     * @see elm_gengrid_reorder_mode_get()
8391     *
8392     * @ingroup Gengrid
8393     */
8394    EAPI void               elm_gengrid_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
8395
8396    /**
8397     * Get whether a given gengrid widget is or not able have items
8398     * @b reordered
8399     *
8400     * @param obj The gengrid object
8401     * @return @c EINA_TRUE, if reoderding is on, @c EINA_FALSE if it's
8402     * off
8403     *
8404     * @see elm_gengrid_reorder_mode_set() for more details
8405     *
8406     * @ingroup Gengrid
8407     */
8408    EAPI Eina_Bool          elm_gengrid_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8409
8410    /**
8411     * Append a new item in a given gengrid widget.
8412     *
8413     * @param obj The gengrid object.
8414     * @param gic The item class for the item.
8415     * @param data The item data.
8416     * @param func Convenience function called when the item is
8417     * selected.
8418     * @param func_data Data to be passed to @p func.
8419     * @return A handle to the item added or @c NULL, on errors.
8420     *
8421     * This adds an item to the beginning of the gengrid.
8422     *
8423     * @see elm_gengrid_item_prepend()
8424     * @see elm_gengrid_item_insert_before()
8425     * @see elm_gengrid_item_insert_after()
8426     * @see elm_gengrid_item_del()
8427     *
8428     * @ingroup Gengrid
8429     */
8430    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);
8431
8432    /**
8433     * Prepend a new item in a given gengrid widget.
8434     *
8435     * @param obj The gengrid object.
8436     * @param gic The item class for the item.
8437     * @param data The item data.
8438     * @param func Convenience function called when the item is
8439     * selected.
8440     * @param func_data Data to be passed to @p func.
8441     * @return A handle to the item added or @c NULL, on errors.
8442     *
8443     * This adds an item to the end of the gengrid.
8444     *
8445     * @see elm_gengrid_item_append()
8446     * @see elm_gengrid_item_insert_before()
8447     * @see elm_gengrid_item_insert_after()
8448     * @see elm_gengrid_item_del()
8449     *
8450     * @ingroup Gengrid
8451     */
8452    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);
8453
8454    /**
8455     * Insert an item before another in a gengrid widget
8456     *
8457     * @param obj The gengrid object.
8458     * @param gic The item class for the item.
8459     * @param data The item data.
8460     * @param relative The item to place this new one before.
8461     * @param func Convenience function called when the item is
8462     * selected.
8463     * @param func_data Data to be passed to @p func.
8464     * @return A handle to the item added or @c NULL, on errors.
8465     *
8466     * This inserts an item before another in the gengrid.
8467     *
8468     * @see elm_gengrid_item_append()
8469     * @see elm_gengrid_item_prepend()
8470     * @see elm_gengrid_item_insert_after()
8471     * @see elm_gengrid_item_del()
8472     *
8473     * @ingroup Gengrid
8474     */
8475    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);
8476
8477    /**
8478     * Insert an item after another in a gengrid widget
8479     *
8480     * @param obj The gengrid object.
8481     * @param gic The item class for the item.
8482     * @param data The item data.
8483     * @param relative The item to place this new one after.
8484     * @param func Convenience function called when the item is
8485     * selected.
8486     * @param func_data Data to be passed to @p func.
8487     * @return A handle to the item added or @c NULL, on errors.
8488     *
8489     * This inserts an item after another in the gengrid.
8490     *
8491     * @see elm_gengrid_item_append()
8492     * @see elm_gengrid_item_prepend()
8493     * @see elm_gengrid_item_insert_after()
8494     * @see elm_gengrid_item_del()
8495     *
8496     * @ingroup Gengrid
8497     */
8498    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);
8499
8500    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);
8501
8502    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);
8503
8504    /**
8505     * Set whether items on a given gengrid widget are to get their
8506     * selection callbacks issued for @b every subsequent selection
8507     * click on them or just for the first click.
8508     *
8509     * @param obj The gengrid object
8510     * @param always_select @c EINA_TRUE to make items "always
8511     * selected", @c EINA_FALSE, otherwise
8512     *
8513     * By default, grid items will only call their selection callback
8514     * function when firstly getting selected, any subsequent further
8515     * clicks will do nothing. With this call, you make those
8516     * subsequent clicks also to issue the selection callbacks.
8517     *
8518     * @note <b>Double clicks</b> will @b always be reported on items.
8519     *
8520     * @see elm_gengrid_always_select_mode_get()
8521     *
8522     * @ingroup Gengrid
8523     */
8524    EINA_DEPRECATED EAPI void               elm_gengrid_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
8525
8526    /**
8527     * Get whether items on a given gengrid widget have their selection
8528     * callbacks issued for @b every subsequent selection click on them
8529     * or just for the first click.
8530     *
8531     * @param obj The gengrid object.
8532     * @return @c EINA_TRUE if the gengrid items are "always selected",
8533     * @c EINA_FALSE, otherwise
8534     *
8535     * @see elm_gengrid_always_select_mode_set() for more details
8536     *
8537     * @ingroup Gengrid
8538     */
8539    EINA_DEPRECATED EAPI Eina_Bool          elm_gengrid_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8540
8541    /**
8542     * Set whether items on a given gengrid widget can be selected or not.
8543     *
8544     * @param obj The gengrid object
8545     * @param no_select @c EINA_TRUE to make items selectable,
8546     * @c EINA_FALSE otherwise
8547     *
8548     * This will make items in @p obj selectable or not. In the latter
8549     * case, any user interaction on the gengrid items will neither make
8550     * them appear selected nor them call their selection callback
8551     * functions.
8552     *
8553     * @see elm_gengrid_no_select_mode_get()
8554     *
8555     * @ingroup Gengrid
8556     */
8557    EINA_DEPRECATED EAPI void               elm_gengrid_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
8558
8559    /**
8560     * Get whether items on a given gengrid widget can be selected or
8561     * not.
8562     *
8563     * @param obj The gengrid object
8564     * @return @c EINA_TRUE, if items are selectable, @c EINA_FALSE
8565     * otherwise
8566     *
8567     * @see elm_gengrid_no_select_mode_set() for more details
8568     *
8569     * @ingroup Gengrid
8570     */
8571    EINA_DEPRECATED EAPI Eina_Bool          elm_gengrid_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8572
8573    /**
8574     * Enable or disable multi-selection in a given gengrid widget
8575     *
8576     * @param obj The gengrid object.
8577     * @param multi @c EINA_TRUE, to enable multi-selection,
8578     * @c EINA_FALSE to disable it.
8579     *
8580     * Multi-selection is the ability for one to have @b more than one
8581     * item selected, on a given gengrid, simultaneously. When it is
8582     * enabled, a sequence of clicks on different items will make them
8583     * all selected, progressively. A click on an already selected item
8584     * will unselect it. If interecting via the keyboard,
8585     * multi-selection is enabled while holding the "Shift" key.
8586     *
8587     * @note By default, multi-selection is @b disabled on gengrids
8588     *
8589     * @see elm_gengrid_multi_select_get()
8590     *
8591     * @ingroup Gengrid
8592     */
8593    EAPI void               elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
8594
8595    /**
8596     * Get whether multi-selection is enabled or disabled for a given
8597     * gengrid widget
8598     *
8599     * @param obj The gengrid object.
8600     * @return @c EINA_TRUE, if multi-selection is enabled, @c
8601     * EINA_FALSE otherwise
8602     *
8603     * @see elm_gengrid_multi_select_set() for more details
8604     *
8605     * @ingroup Gengrid
8606     */
8607    EAPI Eina_Bool          elm_gengrid_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8608
8609    /**
8610     * Enable or disable bouncing effect for a given gengrid widget
8611     *
8612     * @param obj The gengrid object
8613     * @param h_bounce @c EINA_TRUE, to enable @b horizontal bouncing,
8614     * @c EINA_FALSE to disable it
8615     * @param v_bounce @c EINA_TRUE, to enable @b vertical bouncing,
8616     * @c EINA_FALSE to disable it
8617     *
8618     * The bouncing effect occurs whenever one reaches the gengrid's
8619     * edge's while panning it -- it will scroll past its limits a
8620     * little bit and return to the edge again, in a animated for,
8621     * automatically.
8622     *
8623     * @note By default, gengrids have bouncing enabled on both axis
8624     *
8625     * @see elm_gengrid_bounce_get()
8626     *
8627     * @ingroup Gengrid
8628     */
8629    EINA_DEPRECATED EAPI void               elm_gengrid_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
8630
8631    /**
8632     * Get whether bouncing effects are enabled or disabled, for a
8633     * given gengrid widget, on each axis
8634     *
8635     * @param obj The gengrid object
8636     * @param h_bounce Pointer to a variable where to store the
8637     * horizontal bouncing flag.
8638     * @param v_bounce Pointer to a variable where to store the
8639     * vertical bouncing flag.
8640     *
8641     * @see elm_gengrid_bounce_set() for more details
8642     *
8643     * @ingroup Gengrid
8644     */
8645    EINA_DEPRECATED EAPI void               elm_gengrid_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
8646
8647    /**
8648     * Set a given gengrid widget's scrolling page size, relative to
8649     * its viewport size.
8650     *
8651     * @param obj The gengrid object
8652     * @param h_pagerel The horizontal page (relative) size
8653     * @param v_pagerel The vertical page (relative) size
8654     *
8655     * The gengrid's scroller is capable of binding scrolling by the
8656     * user to "pages". It means that, while scrolling and, specially
8657     * after releasing the mouse button, the grid will @b snap to the
8658     * nearest displaying page's area. When page sizes are set, the
8659     * grid's continuous content area is split into (equal) page sized
8660     * pieces.
8661     *
8662     * This function sets the size of a page <b>relatively to the
8663     * viewport dimensions</b> of the gengrid, for each axis. A value
8664     * @c 1.0 means "the exact viewport's size", in that axis, while @c
8665     * 0.0 turns paging off in that axis. Likewise, @c 0.5 means "half
8666     * a viewport". Sane usable values are, than, between @c 0.0 and @c
8667     * 1.0. Values beyond those will make it behave behave
8668     * inconsistently. If you only want one axis to snap to pages, use
8669     * the value @c 0.0 for the other one.
8670     *
8671     * There is a function setting page size values in @b absolute
8672     * values, too -- elm_gengrid_page_size_set(). Naturally, its use
8673     * is mutually exclusive to this one.
8674     *
8675     * @see elm_gengrid_page_relative_get()
8676     *
8677     * @ingroup Gengrid
8678     */
8679    EINA_DEPRECATED EAPI void               elm_gengrid_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
8680
8681    /**
8682     * Get a given gengrid widget's scrolling page size, relative to
8683     * its viewport size.
8684     *
8685     * @param obj The gengrid object
8686     * @param h_pagerel Pointer to a variable where to store the
8687     * horizontal page (relative) size
8688     * @param v_pagerel Pointer to a variable where to store the
8689     * vertical page (relative) size
8690     *
8691     * @see elm_gengrid_page_relative_set() for more details
8692     *
8693     * @ingroup Gengrid
8694     */
8695    EINA_DEPRECATED EAPI void               elm_gengrid_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel) EINA_ARG_NONNULL(1);
8696
8697    /**
8698     * Set a given gengrid widget's scrolling page size
8699     *
8700     * @param obj The gengrid object
8701     * @param h_pagerel The horizontal page size, in pixels
8702     * @param v_pagerel The vertical page size, in pixels
8703     *
8704     * The gengrid's scroller is capable of binding scrolling by the
8705     * user to "pages". It means that, while scrolling and, specially
8706     * after releasing the mouse button, the grid will @b snap to the
8707     * nearest displaying page's area. When page sizes are set, the
8708     * grid's continuous content area is split into (equal) page sized
8709     * pieces.
8710     *
8711     * This function sets the size of a page of the gengrid, in pixels,
8712     * for each axis. Sane usable values are, between @c 0 and the
8713     * dimensions of @p obj, for each axis. Values beyond those will
8714     * make it behave behave inconsistently. If you only want one axis
8715     * to snap to pages, use the value @c 0 for the other one.
8716     *
8717     * There is a function setting page size values in @b relative
8718     * values, too -- elm_gengrid_page_relative_set(). Naturally, its
8719     * use is mutually exclusive to this one.
8720     *
8721     * @ingroup Gengrid
8722     */
8723    EINA_DEPRECATED EAPI void               elm_gengrid_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
8724
8725    /**
8726     * @brief Get gengrid current page number.
8727     *
8728     * @param obj The gengrid object
8729     * @param h_pagenumber The horizontal page number
8730     * @param v_pagenumber The vertical page number
8731     *
8732     * The page number starts from 0. 0 is the first page.
8733     * Current page means the page which meet the top-left of the viewport.
8734     * If there are two or more pages in the viewport, it returns the number of page
8735     * which meet the top-left of the viewport.
8736     *
8737     * @see elm_gengrid_last_page_get()
8738     * @see elm_gengrid_page_show()
8739     * @see elm_gengrid_page_brint_in()
8740     */
8741    EINA_DEPRECATED EAPI void         elm_gengrid_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
8742
8743    /**
8744     * @brief Get scroll last page number.
8745     *
8746     * @param obj The gengrid object
8747     * @param h_pagenumber The horizontal page number
8748     * @param v_pagenumber The vertical page number
8749     *
8750     * The page number starts from 0. 0 is the first page.
8751     * This returns the last page number among the pages.
8752     *
8753     * @see elm_gengrid_current_page_get()
8754     * @see elm_gengrid_page_show()
8755     * @see elm_gengrid_page_brint_in()
8756     */
8757    EINA_DEPRECATED EAPI void         elm_gengrid_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
8758
8759    /**
8760     * Show a specific virtual region within the gengrid content object by page number.
8761     *
8762     * @param obj The gengrid object
8763     * @param h_pagenumber The horizontal page number
8764     * @param v_pagenumber The vertical page number
8765     *
8766     * 0, 0 of the indicated page is located at the top-left of the viewport.
8767     * This will jump to the page directly without animation.
8768     *
8769     * Example of usage:
8770     *
8771     * @code
8772     * sc = elm_gengrid_add(win);
8773     * elm_gengrid_content_set(sc, content);
8774     * elm_gengrid_page_relative_set(sc, 1, 0);
8775     * elm_gengrid_current_page_get(sc, &h_page, &v_page);
8776     * elm_gengrid_page_show(sc, h_page + 1, v_page);
8777     * @endcode
8778     *
8779     * @see elm_gengrid_page_bring_in()
8780     */
8781    EINA_DEPRECATED EAPI void         elm_gengrid_page_show(const Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
8782
8783    /**
8784     * Show a specific virtual region within the gengrid content object by page number.
8785     *
8786     * @param obj The gengrid object
8787     * @param h_pagenumber The horizontal page number
8788     * @param v_pagenumber The vertical page number
8789     *
8790     * 0, 0 of the indicated page is located at the top-left of the viewport.
8791     * This will slide to the page with animation.
8792     *
8793     * Example of usage:
8794     *
8795     * @code
8796     * sc = elm_gengrid_add(win);
8797     * elm_gengrid_content_set(sc, content);
8798     * elm_gengrid_page_relative_set(sc, 1, 0);
8799     * elm_gengrid_last_page_get(sc, &h_page, &v_page);
8800     * elm_gengrid_page_bring_in(sc, h_page, v_page);
8801     * @endcode
8802     *
8803     * @see elm_gengrid_page_show()
8804     */
8805     EINA_DEPRECATED EAPI void         elm_gengrid_page_bring_in(const Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
8806
8807    /**
8808     * Set for what direction a given gengrid widget will expand while
8809     * placing its items.
8810     *
8811     * @param obj The gengrid object.
8812     * @param setting @c EINA_TRUE to make the gengrid expand
8813     * horizontally, @c EINA_FALSE to expand vertically.
8814     *
8815     * When in "horizontal mode" (@c EINA_TRUE), items will be placed
8816     * in @b columns, from top to bottom and, when the space for a
8817     * column is filled, another one is started on the right, thus
8818     * expanding the grid horizontally. When in "vertical mode"
8819     * (@c EINA_FALSE), though, items will be placed in @b rows, from left
8820     * to right and, when the space for a row is filled, another one is
8821     * started below, thus expanding the grid vertically.
8822     *
8823     * @see elm_gengrid_horizontal_get()
8824     *
8825     * @ingroup Gengrid
8826     */
8827    EAPI void               elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
8828
8829    /**
8830     * Get for what direction a given gengrid widget will expand while
8831     * placing its items.
8832     *
8833     * @param obj The gengrid object.
8834     * @return @c EINA_TRUE, if @p obj is set to expand horizontally,
8835     * @c EINA_FALSE if it's set to expand vertically.
8836     *
8837     * @see elm_gengrid_horizontal_set() for more detais
8838     *
8839     * @ingroup Gengrid
8840     */
8841    EAPI Eina_Bool          elm_gengrid_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8842
8843    /**
8844     * Get the first item in a given gengrid widget
8845     *
8846     * @param obj The gengrid object
8847     * @return The first item's handle or @c NULL, if there are no
8848     * items in @p obj (and on errors)
8849     *
8850     * This returns the first item in the @p obj's internal list of
8851     * items.
8852     *
8853     * @see elm_gengrid_last_item_get()
8854     *
8855     * @ingroup Gengrid
8856     */
8857    EINA_DEPRECATED EAPI Elm_Gengrid_Item  *elm_gengrid_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8858
8859    /**
8860     * Get the last item in a given gengrid widget
8861     *
8862     * @param obj The gengrid object
8863     * @return The last item's handle or @c NULL, if there are no
8864     * items in @p obj (and on errors)
8865     *
8866     * This returns the last item in the @p obj's internal list of
8867     * items.
8868     *
8869     * @see elm_gengrid_first_item_get()
8870     *
8871     * @ingroup Gengrid
8872     */
8873    EINA_DEPRECATED EAPI Elm_Gengrid_Item  *elm_gengrid_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8874
8875    /**
8876     * Get the @b next item in a gengrid widget's internal list of items,
8877     * given a handle to one of those items.
8878     *
8879     * @param item The gengrid item to fetch next from
8880     * @return The item after @p item, or @c NULL if there's none (and
8881     * on errors)
8882     *
8883     * This returns the item placed after the @p item, on the container
8884     * gengrid.
8885     *
8886     * @see elm_gengrid_item_prev_get()
8887     *
8888     * @ingroup Gengrid
8889     */
8890    EINA_DEPRECATED EAPI Elm_Gengrid_Item  *elm_gengrid_item_next_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8891
8892    /**
8893     * Get the @b previous item in a gengrid widget's internal list of items,
8894     * given a handle to one of those items.
8895     *
8896     * @param item The gengrid item to fetch previous from
8897     * @return The item before @p item, or @c NULL if there's none (and
8898     * on errors)
8899     *
8900     * This returns the item placed before the @p item, on the container
8901     * gengrid.
8902     *
8903     * @see elm_gengrid_item_next_get()
8904     *
8905     * @ingroup Gengrid
8906     */
8907    EINA_DEPRECATED EAPI Elm_Gengrid_Item  *elm_gengrid_item_prev_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8908
8909    /**
8910     * Get the gengrid object's handle which contains a given gengrid
8911     * item
8912     *
8913     * @param item The item to fetch the container from
8914     * @return The gengrid (parent) object
8915     *
8916     * This returns the gengrid object itself that an item belongs to.
8917     *
8918     * @ingroup Gengrid
8919     */
8920    EINA_DEPRECATED EAPI Evas_Object       *elm_gengrid_item_gengrid_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8921
8922    /**
8923     * Remove a gengrid item from the its parent, deleting it.
8924     *
8925     * @param item The item to be removed.
8926     * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
8927     *
8928     * @see elm_gengrid_clear(), to remove all items in a gengrid at
8929     * once.
8930     *
8931     * @ingroup Gengrid
8932     */
8933    EAPI void               elm_gengrid_item_del(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8934
8935    /**
8936     * Update the contents of a given gengrid item
8937     *
8938     * @param item The gengrid item
8939     *
8940     * This updates an item by calling all the item class functions
8941     * again to get the contents, labels and states. Use this when the
8942     * original item data has changed and you want thta changes to be
8943     * reflected.
8944     *
8945     * @ingroup Gengrid
8946     */
8947    EAPI void               elm_gengrid_item_update(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8948    EAPI const Elm_Gengrid_Item_Class *elm_gengrid_item_item_class_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8949    EAPI void               elm_gengrid_item_item_class_set(Elm_Gengrid_Item *item, const Elm_Gengrid_Item_Class *gic) EINA_ARG_NONNULL(1, 2);
8950
8951    /**
8952     * Return the data associated to a given gengrid item
8953     *
8954     * @param item The gengrid item.
8955     * @return the data associated to this item.
8956     *
8957     * This returns the @c data value passed on the
8958     * elm_gengrid_item_append() and related item addition calls.
8959     *
8960     * @see elm_gengrid_item_append()
8961     * @see elm_gengrid_item_data_set()
8962     *
8963     * @ingroup Gengrid
8964     */
8965    EAPI void              *elm_gengrid_item_data_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8966
8967    /**
8968     * Set the data associated to a given gengrid item
8969     *
8970     * @param item The gengrid item
8971     * @param data The new data pointer to set on it
8972     *
8973     * This @b overrides the @c data value passed on the
8974     * elm_gengrid_item_append() and related item addition calls. This
8975     * function @b won't call elm_gengrid_item_update() automatically,
8976     * so you'd issue it afterwards if you want to hove the item
8977     * updated to reflect the that new data.
8978     *
8979     * @see elm_gengrid_item_data_get()
8980     *
8981     * @ingroup Gengrid
8982     */
8983    EAPI void               elm_gengrid_item_data_set(Elm_Gengrid_Item *item, const void *data) EINA_ARG_NONNULL(1);
8984
8985    /**
8986     * Get a given gengrid item's position, relative to the whole
8987     * gengrid's grid area.
8988     *
8989     * @param item The Gengrid item.
8990     * @param x Pointer to variable where to store the item's <b>row
8991     * number</b>.
8992     * @param y Pointer to variable where to store the item's <b>column
8993     * number</b>.
8994     *
8995     * This returns the "logical" position of the item whithin the
8996     * gengrid. For example, @c (0, 1) would stand for first row,
8997     * second column.
8998     *
8999     * @ingroup Gengrid
9000     */
9001    EAPI void               elm_gengrid_item_pos_get(const Elm_Gengrid_Item *item, unsigned int *x, unsigned int *y) EINA_ARG_NONNULL(1);
9002
9003    /**
9004     * Set whether a given gengrid item is selected or not
9005     *
9006     * @param item The gengrid item
9007     * @param selected Use @c EINA_TRUE, to make it selected, @c
9008     * EINA_FALSE to make it unselected
9009     *
9010     * This sets the selected state of an item. If multi selection is
9011     * not enabled on the containing gengrid and @p selected is @c
9012     * EINA_TRUE, any other previously selected items will get
9013     * unselected in favor of this new one.
9014     *
9015     * @see elm_gengrid_item_selected_get()
9016     *
9017     * @ingroup Gengrid
9018     */
9019    EINA_DEPRECATED EAPI void elm_gengrid_item_selected_set(Elm_Gengrid_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
9020
9021    /**
9022     * Get whether a given gengrid item is selected or not
9023     *
9024     * @param item The gengrid item
9025     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
9026     *
9027     * @see elm_gengrid_item_selected_set() for more details
9028     *
9029     * @ingroup Gengrid
9030     */
9031    EINA_DEPRECATED EAPI Eina_Bool elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9032
9033    /**
9034     * Get the real Evas object created to implement the view of a
9035     * given gengrid item
9036     *
9037     * @param item The gengrid item.
9038     * @return the Evas object implementing this item's view.
9039     *
9040     * This returns the actual Evas object used to implement the
9041     * specified gengrid item's view. This may be @c NULL, as it may
9042     * not have been created or may have been deleted, at any time, by
9043     * the gengrid. <b>Do not modify this object</b> (move, resize,
9044     * show, hide, etc.), as the gengrid is controlling it. This
9045     * function is for querying, emitting custom signals or hooking
9046     * lower level callbacks for events on that object. Do not delete
9047     * this object under any circumstances.
9048     *
9049     * @see elm_gengrid_item_data_get()
9050     *
9051     * @ingroup Gengrid
9052     */
9053    EAPI const Evas_Object *elm_gengrid_item_object_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9054
9055    /**
9056     * Show the portion of a gengrid's internal grid containing a given
9057     * item, @b immediately.
9058     *
9059     * @param item The item to display
9060     *
9061     * This causes gengrid to @b redraw its viewport's contents to the
9062     * region contining the given @p item item, if it is not fully
9063     * visible.
9064     *
9065     * @see elm_gengrid_item_bring_in()
9066     *
9067     * @ingroup Gengrid
9068     */
9069    EAPI void               elm_gengrid_item_show(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9070
9071    /**
9072     * Animatedly bring in, to the visible are of a gengrid, a given
9073     * item on it.
9074     *
9075     * @param item The gengrid item to display
9076     *
9077     * This causes gengrig to jump to the given @p item item and show
9078     * it (by scrolling), if it is not fully visible. This will use
9079     * animation to do so and take a period of time to complete.
9080     *
9081     * @see elm_gengrid_item_show()
9082     *
9083     * @ingroup Gengrid
9084     */
9085    EAPI void               elm_gengrid_item_bring_in(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9086
9087    /**
9088     * Set whether a given gengrid item is disabled or not.
9089     *
9090     * @param item The gengrid item
9091     * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
9092     * to enable it back.
9093     *
9094     * A disabled item cannot be selected or unselected. It will also
9095     * change its appearance, to signal the user it's disabled.
9096     *
9097     * @see elm_gengrid_item_disabled_get()
9098     *
9099     * @ingroup Gengrid
9100     */
9101    EAPI void               elm_gengrid_item_disabled_set(Elm_Gengrid_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
9102
9103    /**
9104     * Get whether a given gengrid item is disabled or not.
9105     *
9106     * @param item The gengrid item
9107     * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
9108     * (and on errors).
9109     *
9110     * @see elm_gengrid_item_disabled_set() for more details
9111     *
9112     * @ingroup Gengrid
9113     */
9114    EAPI Eina_Bool          elm_gengrid_item_disabled_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9115
9116    /**
9117     * Set the text to be shown in a given gengrid item's tooltips.
9118     *
9119     * @param item The gengrid item
9120     * @param text The text to set in the content
9121     *
9122     * This call will setup the text to be used as tooltip to that item
9123     * (analogous to elm_object_tooltip_text_set(), but being item
9124     * tooltips with higher precedence than object tooltips). It can
9125     * have only one tooltip at a time, so any previous tooltip data
9126     * will get removed.
9127     *
9128     * @ingroup Gengrid
9129     */
9130    EAPI void               elm_gengrid_item_tooltip_text_set(Elm_Gengrid_Item *item, const char *text) EINA_ARG_NONNULL(1);
9131
9132    /**
9133     * Set the content to be shown in a given gengrid item's tooltips
9134     *
9135     * @param item The gengrid item.
9136     * @param func The function returning the tooltip contents.
9137     * @param data What to provide to @a func as callback data/context.
9138     * @param del_cb Called when data is not needed anymore, either when
9139     *        another callback replaces @p func, the tooltip is unset with
9140     *        elm_gengrid_item_tooltip_unset() or the owner @p item
9141     *        dies. This callback receives as its first parameter the
9142     *        given @p data, being @c event_info the item handle.
9143     *
9144     * This call will setup the tooltip's contents to @p item
9145     * (analogous to elm_object_tooltip_content_cb_set(), but being
9146     * item tooltips with higher precedence than object tooltips). It
9147     * can have only one tooltip at a time, so any previous tooltip
9148     * content will get removed. @p func (with @p data) will be called
9149     * every time Elementary needs to show the tooltip and it should
9150     * return a valid Evas object, which will be fully managed by the
9151     * tooltip system, getting deleted when the tooltip is gone.
9152     *
9153     * @ingroup Gengrid
9154     */
9155    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);
9156
9157    /**
9158     * Unset a tooltip from a given gengrid item
9159     *
9160     * @param item gengrid item to remove a previously set tooltip from.
9161     *
9162     * This call removes any tooltip set on @p item. The callback
9163     * provided as @c del_cb to
9164     * elm_gengrid_item_tooltip_content_cb_set() will be called to
9165     * notify it is not used anymore (and have resources cleaned, if
9166     * need be).
9167     *
9168     * @see elm_gengrid_item_tooltip_content_cb_set()
9169     *
9170     * @ingroup Gengrid
9171     */
9172    EAPI void               elm_gengrid_item_tooltip_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9173
9174    /**
9175     * Set a different @b style for a given gengrid item's tooltip.
9176     *
9177     * @param item gengrid item with tooltip set
9178     * @param style the <b>theme style</b> to use on tooltips (e.g. @c
9179     * "default", @c "transparent", etc)
9180     *
9181     * Tooltips can have <b>alternate styles</b> to be displayed on,
9182     * which are defined by the theme set on Elementary. This function
9183     * works analogously as elm_object_tooltip_style_set(), but here
9184     * applied only to gengrid item objects. The default style for
9185     * tooltips is @c "default".
9186     *
9187     * @note before you set a style you should define a tooltip with
9188     *       elm_gengrid_item_tooltip_content_cb_set() or
9189     *       elm_gengrid_item_tooltip_text_set()
9190     *
9191     * @see elm_gengrid_item_tooltip_style_get()
9192     *
9193     * @ingroup Gengrid
9194     */
9195    EAPI void               elm_gengrid_item_tooltip_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
9196
9197    /**
9198     * Get the style set a given gengrid item's tooltip.
9199     *
9200     * @param item gengrid item with tooltip already set on.
9201     * @return style the theme style in use, which defaults to
9202     *         "default". If the object does not have a tooltip set,
9203     *         then @c NULL is returned.
9204     *
9205     * @see elm_gengrid_item_tooltip_style_set() for more details
9206     *
9207     * @ingroup Gengrid
9208     */
9209    EAPI const char        *elm_gengrid_item_tooltip_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9210    /**
9211     * @brief Disable size restrictions on an object's tooltip
9212     * @param item The tooltip's anchor object
9213     * @param disable If EINA_TRUE, size restrictions are disabled
9214     * @return EINA_FALSE on failure, EINA_TRUE on success
9215     *
9216     * This function allows a tooltip to expand beyond its parant window's canvas.
9217     * It will instead be limited only by the size of the display.
9218     */
9219    EAPI Eina_Bool          elm_gengrid_item_tooltip_size_restrict_disable(Elm_Gengrid_Item *item, Eina_Bool disable);
9220    /**
9221     * @brief Retrieve size restriction state of an object's tooltip
9222     * @param item The tooltip's anchor object
9223     * @return If EINA_TRUE, size restrictions are disabled
9224     *
9225     * This function returns whether a tooltip is allowed to expand beyond
9226     * its parant window's canvas.
9227     * It will instead be limited only by the size of the display.
9228     */
9229    EAPI Eina_Bool          elm_gengrid_item_tooltip_size_restrict_disabled_get(const Elm_Gengrid_Item *item);
9230    /**
9231     * Set the type of mouse pointer/cursor decoration to be shown,
9232     * when the mouse pointer is over the given gengrid widget item
9233     *
9234     * @param item gengrid item to customize cursor on
9235     * @param cursor the cursor type's name
9236     *
9237     * This function works analogously as elm_object_cursor_set(), but
9238     * here the cursor's changing area is restricted to the item's
9239     * area, and not the whole widget's. Note that that item cursors
9240     * have precedence over widget cursors, so that a mouse over @p
9241     * item will always show cursor @p type.
9242     *
9243     * If this function is called twice for an object, a previously set
9244     * cursor will be unset on the second call.
9245     *
9246     * @see elm_object_cursor_set()
9247     * @see elm_gengrid_item_cursor_get()
9248     * @see elm_gengrid_item_cursor_unset()
9249     *
9250     * @ingroup Gengrid
9251     */
9252    EAPI void               elm_gengrid_item_cursor_set(Elm_Gengrid_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
9253
9254    /**
9255     * Get the type of mouse pointer/cursor decoration set to be shown,
9256     * when the mouse pointer is over the given gengrid widget item
9257     *
9258     * @param item gengrid item with custom cursor set
9259     * @return the cursor type's name or @c NULL, if no custom cursors
9260     * were set to @p item (and on errors)
9261     *
9262     * @see elm_object_cursor_get()
9263     * @see elm_gengrid_item_cursor_set() for more details
9264     * @see elm_gengrid_item_cursor_unset()
9265     *
9266     * @ingroup Gengrid
9267     */
9268    EAPI const char        *elm_gengrid_item_cursor_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9269
9270    /**
9271     * Unset any custom mouse pointer/cursor decoration set to be
9272     * shown, when the mouse pointer is over the given gengrid widget
9273     * item, thus making it show the @b default cursor again.
9274     *
9275     * @param item a gengrid item
9276     *
9277     * Use this call to undo any custom settings on this item's cursor
9278     * decoration, bringing it back to defaults (no custom style set).
9279     *
9280     * @see elm_object_cursor_unset()
9281     * @see elm_gengrid_item_cursor_set() for more details
9282     *
9283     * @ingroup Gengrid
9284     */
9285    EAPI void               elm_gengrid_item_cursor_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9286
9287    /**
9288     * Set a different @b style for a given custom cursor set for a
9289     * gengrid item.
9290     *
9291     * @param item gengrid item with custom cursor set
9292     * @param style the <b>theme style</b> to use (e.g. @c "default",
9293     * @c "transparent", etc)
9294     *
9295     * This function only makes sense when one is using custom mouse
9296     * cursor decorations <b>defined in a theme file</b> , which can
9297     * have, given a cursor name/type, <b>alternate styles</b> on
9298     * it. It works analogously as elm_object_cursor_style_set(), but
9299     * here applied only to gengrid item objects.
9300     *
9301     * @warning Before you set a cursor style you should have defined a
9302     *       custom cursor previously on the item, with
9303     *       elm_gengrid_item_cursor_set()
9304     *
9305     * @see elm_gengrid_item_cursor_engine_only_set()
9306     * @see elm_gengrid_item_cursor_style_get()
9307     *
9308     * @ingroup Gengrid
9309     */
9310    EAPI void               elm_gengrid_item_cursor_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
9311
9312    /**
9313     * Get the current @b style set for a given gengrid item's custom
9314     * cursor
9315     *
9316     * @param item gengrid item with custom cursor set.
9317     * @return style the cursor style in use. If the object does not
9318     *         have a cursor set, then @c NULL is returned.
9319     *
9320     * @see elm_gengrid_item_cursor_style_set() for more details
9321     *
9322     * @ingroup Gengrid
9323     */
9324    EAPI const char        *elm_gengrid_item_cursor_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9325
9326    /**
9327     * Set if the (custom) cursor for a given gengrid item should be
9328     * searched in its theme, also, or should only rely on the
9329     * rendering engine.
9330     *
9331     * @param item item with custom (custom) cursor already set on
9332     * @param engine_only Use @c EINA_TRUE to have cursors looked for
9333     * only on those provided by the rendering engine, @c EINA_FALSE to
9334     * have them searched on the widget's theme, as well.
9335     *
9336     * @note This call is of use only if you've set a custom cursor
9337     * for gengrid items, with elm_gengrid_item_cursor_set().
9338     *
9339     * @note By default, cursors will only be looked for between those
9340     * provided by the rendering engine.
9341     *
9342     * @ingroup Gengrid
9343     */
9344    EAPI void               elm_gengrid_item_cursor_engine_only_set(Elm_Gengrid_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
9345
9346    /**
9347     * Get if the (custom) cursor for a given gengrid item is being
9348     * searched in its theme, also, or is only relying on the rendering
9349     * engine.
9350     *
9351     * @param item a gengrid item
9352     * @return @c EINA_TRUE, if cursors are being looked for only on
9353     * those provided by the rendering engine, @c EINA_FALSE if they
9354     * are being searched on the widget's theme, as well.
9355     *
9356     * @see elm_gengrid_item_cursor_engine_only_set(), for more details
9357     *
9358     * @ingroup Gengrid
9359     */
9360    EAPI Eina_Bool          elm_gengrid_item_cursor_engine_only_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9361
9362    /**
9363     * Remove all items from a given gengrid widget
9364     *
9365     * @param obj The gengrid object.
9366     *
9367     * This removes (and deletes) all items in @p obj, leaving it
9368     * empty.
9369     *
9370     * @see elm_gengrid_item_del(), to remove just one item.
9371     *
9372     * @ingroup Gengrid
9373     */
9374    EINA_DEPRECATED EAPI void elm_gengrid_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
9375
9376    /**
9377     * Get the selected item in a given gengrid widget
9378     *
9379     * @param obj The gengrid object.
9380     * @return The selected item's handleor @c NULL, if none is
9381     * selected at the moment (and on errors)
9382     *
9383     * This returns the selected item in @p obj. If multi selection is
9384     * enabled on @p obj (@see elm_gengrid_multi_select_set()), only
9385     * the first item in the list is selected, which might not be very
9386     * useful. For that case, see elm_gengrid_selected_items_get().
9387     *
9388     * @ingroup Gengrid
9389     */
9390    EAPI Elm_Gengrid_Item  *elm_gengrid_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9391
9392    /**
9393     * Get <b>a list</b> of selected items in a given gengrid
9394     *
9395     * @param obj The gengrid object.
9396     * @return The list of selected items or @c NULL, if none is
9397     * selected at the moment (and on errors)
9398     *
9399     * This returns a list of the selected items, in the order that
9400     * they appear in the grid. This list is only valid as long as no
9401     * more items are selected or unselected (or unselected implictly
9402     * by deletion). The list contains #Elm_Gengrid_Item pointers as
9403     * data, naturally.
9404     *
9405     * @see elm_gengrid_selected_item_get()
9406     *
9407     * @ingroup Gengrid
9408     */
9409    EAPI const Eina_List   *elm_gengrid_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9410
9411    /**
9412     * @}
9413     */
9414
9415    /**
9416     * @defgroup Clock Clock
9417     *
9418     * @image html img/widget/clock/preview-00.png
9419     * @image latex img/widget/clock/preview-00.eps
9420     *
9421     * This is a @b digital clock widget. In its default theme, it has a
9422     * vintage "flipping numbers clock" appearance, which will animate
9423     * sheets of individual algarisms individually as time goes by.
9424     *
9425     * A newly created clock will fetch system's time (already
9426     * considering local time adjustments) to start with, and will tick
9427     * accondingly. It may or may not show seconds.
9428     *
9429     * Clocks have an @b edition mode. When in it, the sheets will
9430     * display extra arrow indications on the top and bottom and the
9431     * user may click on them to raise or lower the time values. After
9432     * it's told to exit edition mode, it will keep ticking with that
9433     * new time set (it keeps the difference from local time).
9434     *
9435     * Also, when under edition mode, user clicks on the cited arrows
9436     * which are @b held for some time will make the clock to flip the
9437     * sheet, thus editing the time, continuosly and automatically for
9438     * the user. The interval between sheet flips will keep growing in
9439     * time, so that it helps the user to reach a time which is distant
9440     * from the one set.
9441     *
9442     * The time display is, by default, in military mode (24h), but an
9443     * am/pm indicator may be optionally shown, too, when it will
9444     * switch to 12h.
9445     *
9446     * Smart callbacks one can register to:
9447     * - "changed" - the clock's user changed the time
9448     *
9449     * Here is an example on its usage:
9450     * @li @ref clock_example
9451     */
9452
9453    /**
9454     * @addtogroup Clock
9455     * @{
9456     */
9457
9458    /**
9459     * Identifiers for which clock digits should be editable, when a
9460     * clock widget is in edition mode. Values may be ORed together to
9461     * make a mask, naturally.
9462     *
9463     * @see elm_clock_edit_set()
9464     * @see elm_clock_digit_edit_set()
9465     */
9466    typedef enum _Elm_Clock_Digedit
9467      {
9468         ELM_CLOCK_NONE         = 0, /**< Default value. Means that all digits are editable, when in edition mode. */
9469         ELM_CLOCK_HOUR_DECIMAL = 1 << 0, /**< Decimal algarism of hours value should be editable */
9470         ELM_CLOCK_HOUR_UNIT    = 1 << 1, /**< Unit algarism of hours value should be editable */
9471         ELM_CLOCK_MIN_DECIMAL  = 1 << 2, /**< Decimal algarism of minutes value should be editable */
9472         ELM_CLOCK_MIN_UNIT     = 1 << 3, /**< Unit algarism of minutes value should be editable */
9473         ELM_CLOCK_SEC_DECIMAL  = 1 << 4, /**< Decimal algarism of seconds value should be editable */
9474         ELM_CLOCK_SEC_UNIT     = 1 << 5, /**< Unit algarism of seconds value should be editable */
9475         ELM_CLOCK_ALL          = (1 << 6) - 1 /**< All digits should be editable */
9476      } Elm_Clock_Digedit;
9477
9478    /**
9479     * Add a new clock widget to the given parent Elementary
9480     * (container) object
9481     *
9482     * @param parent The parent object
9483     * @return a new clock widget handle or @c NULL, on errors
9484     *
9485     * This function inserts a new clock widget on the canvas.
9486     *
9487     * @ingroup Clock
9488     */
9489    EAPI Evas_Object      *elm_clock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9490
9491    /**
9492     * Set a clock widget's time, programmatically
9493     *
9494     * @param obj The clock widget object
9495     * @param hrs The hours to set
9496     * @param min The minutes to set
9497     * @param sec The secondes to set
9498     *
9499     * This function updates the time that is showed by the clock
9500     * widget.
9501     *
9502     *  Values @b must be set within the following ranges:
9503     * - 0 - 23, for hours
9504     * - 0 - 59, for minutes
9505     * - 0 - 59, for seconds,
9506     *
9507     * even if the clock is not in "military" mode.
9508     *
9509     * @warning The behavior for values set out of those ranges is @b
9510     * indefined.
9511     *
9512     * @ingroup Clock
9513     */
9514    EAPI void              elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec) EINA_ARG_NONNULL(1);
9515
9516    /**
9517     * Get a clock widget's time values
9518     *
9519     * @param obj The clock object
9520     * @param[out] hrs Pointer to the variable to get the hours value
9521     * @param[out] min Pointer to the variable to get the minutes value
9522     * @param[out] sec Pointer to the variable to get the seconds value
9523     *
9524     * This function gets the time set for @p obj, returning
9525     * it on the variables passed as the arguments to function
9526     *
9527     * @note Use @c NULL pointers on the time values you're not
9528     * interested in: they'll be ignored by the function.
9529     *
9530     * @ingroup Clock
9531     */
9532    EAPI void              elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec) EINA_ARG_NONNULL(1);
9533
9534    /**
9535     * Set whether a given clock widget is under <b>edition mode</b> or
9536     * under (default) displaying-only mode.
9537     *
9538     * @param obj The clock object
9539     * @param edit @c EINA_TRUE to put it in edition, @c EINA_FALSE to
9540     * put it back to "displaying only" mode
9541     *
9542     * This function makes a clock's time to be editable or not <b>by
9543     * user interaction</b>. When in edition mode, clocks @b stop
9544     * ticking, until one brings them back to canonical mode. The
9545     * elm_clock_digit_edit_set() function will influence which digits
9546     * of the clock will be editable. By default, all of them will be
9547     * (#ELM_CLOCK_NONE).
9548     *
9549     * @note am/pm sheets, if being shown, will @b always be editable
9550     * under edition mode.
9551     *
9552     * @see elm_clock_edit_get()
9553     *
9554     * @ingroup Clock
9555     */
9556    EAPI void              elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
9557
9558    /**
9559     * Retrieve whether a given clock widget is under <b>edition
9560     * mode</b> or under (default) displaying-only mode.
9561     *
9562     * @param obj The clock object
9563     * @param edit @c EINA_TRUE, if it's in edition mode, @c EINA_FALSE
9564     * otherwise
9565     *
9566     * This function retrieves whether the clock's time can be edited
9567     * or not by user interaction.
9568     *
9569     * @see elm_clock_edit_set() for more details
9570     *
9571     * @ingroup Clock
9572     */
9573    EAPI Eina_Bool         elm_clock_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9574
9575    /**
9576     * Set what digits of the given clock widget should be editable
9577     * when in edition mode.
9578     *
9579     * @param obj The clock object
9580     * @param digedit Bit mask indicating the digits to be editable
9581     * (values in #Elm_Clock_Digedit).
9582     *
9583     * If the @p digedit param is #ELM_CLOCK_NONE, editing will be
9584     * disabled on @p obj (same effect as elm_clock_edit_set(), with @c
9585     * EINA_FALSE).
9586     *
9587     * @see elm_clock_digit_edit_get()
9588     *
9589     * @ingroup Clock
9590     */
9591    EAPI void              elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit) EINA_ARG_NONNULL(1);
9592
9593    /**
9594     * Retrieve what digits of the given clock widget should be
9595     * editable when in edition mode.
9596     *
9597     * @param obj The clock object
9598     * @return Bit mask indicating the digits to be editable
9599     * (values in #Elm_Clock_Digedit).
9600     *
9601     * @see elm_clock_digit_edit_set() for more details
9602     *
9603     * @ingroup Clock
9604     */
9605    EAPI Elm_Clock_Digedit elm_clock_digit_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9606
9607    /**
9608     * Set if the given clock widget must show hours in military or
9609     * am/pm mode
9610     *
9611     * @param obj The clock object
9612     * @param am_pm @c EINA_TRUE to put it in am/pm mode, @c EINA_FALSE
9613     * to military mode
9614     *
9615     * This function sets if the clock must show hours in military or
9616     * am/pm mode. In some countries like Brazil the military mode
9617     * (00-24h-format) is used, in opposition to the USA, where the
9618     * am/pm mode is more commonly used.
9619     *
9620     * @see elm_clock_show_am_pm_get()
9621     *
9622     * @ingroup Clock
9623     */
9624    EAPI void              elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm) EINA_ARG_NONNULL(1);
9625
9626    /**
9627     * Get if the given clock widget shows hours in military or am/pm
9628     * mode
9629     *
9630     * @param obj The clock object
9631     * @return @c EINA_TRUE, if in am/pm mode, @c EINA_FALSE if in
9632     * military
9633     *
9634     * This function gets if the clock shows hours in military or am/pm
9635     * mode.
9636     *
9637     * @see elm_clock_show_am_pm_set() for more details
9638     *
9639     * @ingroup Clock
9640     */
9641    EAPI Eina_Bool         elm_clock_show_am_pm_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9642
9643    /**
9644     * Set if the given clock widget must show time with seconds or not
9645     *
9646     * @param obj The clock object
9647     * @param seconds @c EINA_TRUE to show seconds, @c EINA_FALSE otherwise
9648     *
9649     * This function sets if the given clock must show or not elapsed
9650     * seconds. By default, they are @b not shown.
9651     *
9652     * @see elm_clock_show_seconds_get()
9653     *
9654     * @ingroup Clock
9655     */
9656    EAPI void              elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds) EINA_ARG_NONNULL(1);
9657
9658    /**
9659     * Get whether the given clock widget is showing time with seconds
9660     * or not
9661     *
9662     * @param obj The clock object
9663     * @return @c EINA_TRUE if it's showing seconds, @c EINA_FALSE otherwise
9664     *
9665     * This function gets whether @p obj is showing or not the elapsed
9666     * seconds.
9667     *
9668     * @see elm_clock_show_seconds_set()
9669     *
9670     * @ingroup Clock
9671     */
9672    EAPI Eina_Bool         elm_clock_show_seconds_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9673
9674    /**
9675     * Set the interval on time updates for an user mouse button hold
9676     * on clock widgets' time edition.
9677     *
9678     * @param obj The clock object
9679     * @param interval The (first) interval value in seconds
9680     *
9681     * This interval value is @b decreased while the user holds the
9682     * mouse pointer either incrementing or decrementing a given the
9683     * clock digit's value.
9684     *
9685     * This helps the user to get to a given time distant from the
9686     * current one easier/faster, as it will start to flip quicker and
9687     * quicker on mouse button holds.
9688     *
9689     * The calculation for the next flip interval value, starting from
9690     * the one set with this call, is the previous interval divided by
9691     * 1.05, so it decreases a little bit.
9692     *
9693     * The default starting interval value for automatic flips is
9694     * @b 0.85 seconds.
9695     *
9696     * @see elm_clock_interval_get()
9697     *
9698     * @ingroup Clock
9699     */
9700    EAPI void              elm_clock_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
9701
9702    /**
9703     * Get the interval on time updates for an user mouse button hold
9704     * on clock widgets' time edition.
9705     *
9706     * @param obj The clock object
9707     * @return The (first) interval value, in seconds, set on it
9708     *
9709     * @see elm_clock_interval_set() for more details
9710     *
9711     * @ingroup Clock
9712     */
9713    EAPI double            elm_clock_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9714
9715    /**
9716     * @}
9717     */
9718
9719    /**
9720     * @defgroup Layout Layout
9721     *
9722     * @image html img/widget/layout/preview-00.png
9723     * @image latex img/widget/layout/preview-00.eps width=\textwidth
9724     *
9725     * @image html img/layout-predefined.png
9726     * @image latex img/layout-predefined.eps width=\textwidth
9727     *
9728     * This is a container widget that takes a standard Edje design file and
9729     * wraps it very thinly in a widget.
9730     *
9731     * An Edje design (theme) file has a very wide range of possibilities to
9732     * describe the behavior of elements added to the Layout. Check out the Edje
9733     * documentation and the EDC reference to get more information about what can
9734     * be done with Edje.
9735     *
9736     * Just like @ref List, @ref Box, and other container widgets, any
9737     * object added to the Layout will become its child, meaning that it will be
9738     * deleted if the Layout is deleted, move if the Layout is moved, and so on.
9739     *
9740     * The Layout widget can contain as many Contents, Boxes or Tables as
9741     * described in its theme file. For instance, objects can be added to
9742     * different Tables by specifying the respective Table part names. The same
9743     * is valid for Content and Box.
9744     *
9745     * The objects added as child of the Layout will behave as described in the
9746     * part description where they were added. There are 3 possible types of
9747     * parts where a child can be added:
9748     *
9749     * @section secContent Content (SWALLOW part)
9750     *
9751     * Only one object can be added to the @c SWALLOW part (but you still can
9752     * have many @c SWALLOW parts and one object on each of them). Use the @c
9753     * elm_object_content_set/get/unset functions to set, retrieve and unset 
9754     * objects as content of the @c SWALLOW. After being set to this part, the 
9755     * object size, position, visibility, clipping and other description 
9756     * properties will be totally controled by the description of the given part 
9757     * (inside the Edje theme file).
9758     *
9759     * One can use @c evas_object_size_hint_* functions on the child to have some
9760     * kind of control over its behavior, but the resulting behavior will still
9761     * depend heavily on the @c SWALLOW part description.
9762     *
9763     * The Edje theme also can change the part description, based on signals or
9764     * scripts running inside the theme. This change can also be animated. All of
9765     * this will affect the child object set as content accordingly. The object
9766     * size will be changed if the part size is changed, it will animate move if
9767     * the part is moving, and so on.
9768     *
9769     * The following picture demonstrates a Layout widget with a child object
9770     * added to its @c SWALLOW:
9771     *
9772     * @image html layout_swallow.png
9773     * @image latex layout_swallow.eps width=\textwidth
9774     *
9775     * @section secBox Box (BOX part)
9776     *
9777     * An Edje @c BOX part is very similar to the Elementary @ref Box widget. It
9778     * allows one to add objects to the box and have them distributed along its
9779     * area, accordingly to the specified @a layout property (now by @a layout we
9780     * mean the chosen layouting design of the Box, not the Layout widget
9781     * itself).
9782     *
9783     * A similar effect for having a box with its position, size and other things
9784     * controled by the Layout theme would be to create an Elementary @ref Box
9785     * widget and add it as a Content in the @c SWALLOW part.
9786     *
9787     * The main difference of using the Layout Box is that its behavior, the box
9788     * properties like layouting format, padding, align, etc. will be all
9789     * controled by the theme. This means, for example, that a signal could be
9790     * sent to the Layout theme (with elm_object_signal_emit()) and the theme
9791     * handled the signal by changing the box padding, or align, or both. Using
9792     * the Elementary @ref Box widget is not necessarily harder or easier, it
9793     * just depends on the circunstances and requirements.
9794     *
9795     * The Layout Box can be used through the @c elm_layout_box_* set of
9796     * functions.
9797     *
9798     * The following picture demonstrates a Layout widget with many child objects
9799     * added to its @c BOX part:
9800     *
9801     * @image html layout_box.png
9802     * @image latex layout_box.eps width=\textwidth
9803     *
9804     * @section secTable Table (TABLE part)
9805     *
9806     * Just like the @ref secBox, the Layout Table is very similar to the
9807     * Elementary @ref Table widget. It allows one to add objects to the Table
9808     * specifying the row and column where the object should be added, and any
9809     * column or row span if necessary.
9810     *
9811     * Again, we could have this design by adding a @ref Table widget to the @c
9812     * SWALLOW part using elm_object_content_part_set(). The same difference happens
9813     * here when choosing to use the Layout Table (a @c TABLE part) instead of
9814     * the @ref Table plus @c SWALLOW part. It's just a matter of convenience.
9815     *
9816     * The Layout Table can be used through the @c elm_layout_table_* set of
9817     * functions.
9818     *
9819     * The following picture demonstrates a Layout widget with many child objects
9820     * added to its @c TABLE part:
9821     *
9822     * @image html layout_table.png
9823     * @image latex layout_table.eps width=\textwidth
9824     *
9825     * @section secPredef Predefined Layouts
9826     *
9827     * Another interesting thing about the Layout widget is that it offers some
9828     * predefined themes that come with the default Elementary theme. These
9829     * themes can be set by the call elm_layout_theme_set(), and provide some
9830     * basic functionality depending on the theme used.
9831     *
9832     * Most of them already send some signals, some already provide a toolbar or
9833     * back and next buttons.
9834     *
9835     * These are available predefined theme layouts. All of them have class = @c
9836     * layout, group = @c application, and style = one of the following options:
9837     *
9838     * @li @c toolbar-content - application with toolbar and main content area
9839     * @li @c toolbar-content-back - application with toolbar and main content
9840     * area with a back button and title area
9841     * @li @c toolbar-content-back-next - application with toolbar and main
9842     * content area with a back and next buttons and title area
9843     * @li @c content-back - application with a main content area with a back
9844     * button and title area
9845     * @li @c content-back-next - application with a main content area with a
9846     * back and next buttons and title area
9847     * @li @c toolbar-vbox - application with toolbar and main content area as a
9848     * vertical box
9849     * @li @c toolbar-table - application with toolbar and main content area as a
9850     * table
9851     *
9852     * @section secExamples Examples
9853     *
9854     * Some examples of the Layout widget can be found here:
9855     * @li @ref layout_example_01
9856     * @li @ref layout_example_02
9857     * @li @ref layout_example_03
9858     * @li @ref layout_example_edc
9859     *
9860     */
9861
9862    /**
9863     * Add a new layout to the parent
9864     *
9865     * @param parent The parent object
9866     * @return The new object or NULL if it cannot be created
9867     *
9868     * @see elm_layout_file_set()
9869     * @see elm_layout_theme_set()
9870     *
9871     * @ingroup Layout
9872     */
9873    EAPI Evas_Object       *elm_layout_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9874    /**
9875     * Set the file that will be used as layout
9876     *
9877     * @param obj The layout object
9878     * @param file The path to file (edj) that will be used as layout
9879     * @param group The group that the layout belongs in edje file
9880     *
9881     * @return (1 = success, 0 = error)
9882     *
9883     * @ingroup Layout
9884     */
9885    EAPI Eina_Bool          elm_layout_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
9886    /**
9887     * Set the edje group from the elementary theme that will be used as layout
9888     *
9889     * @param obj The layout object
9890     * @param clas the clas of the group
9891     * @param group the group
9892     * @param style the style to used
9893     *
9894     * @return (1 = success, 0 = error)
9895     *
9896     * @ingroup Layout
9897     */
9898    EAPI Eina_Bool          elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style) EINA_ARG_NONNULL(1);
9899    /**
9900     * Set the layout content.
9901     *
9902     * @param obj The layout object
9903     * @param swallow The swallow part name in the edje file
9904     * @param content The child that will be added in this layout object
9905     *
9906     * Once the content object is set, a previously set one will be deleted.
9907     * If you want to keep that old content object, use the
9908     * elm_object_content_part_unset() function.
9909     *
9910     * @note In an Edje theme, the part used as a content container is called @c
9911     * SWALLOW. This is why the parameter name is called @p swallow, but it is
9912     * expected to be a part name just like the second parameter of
9913     * elm_layout_box_append().
9914     *
9915     * @see elm_layout_box_append()
9916     * @see elm_object_content_part_get()
9917     * @see elm_object_content_part_unset()
9918     * @see @ref secBox
9919     *
9920     * @ingroup Layout
9921     */
9922    EINA_DEPRECATED EAPI void               elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
9923    /**
9924     * Get the child object in the given content part.
9925     *
9926     * @param obj The layout object
9927     * @param swallow The SWALLOW part to get its content
9928     *
9929     * @return The swallowed object or NULL if none or an error occurred
9930     *
9931     * @see elm_object_content_part_set()
9932     *
9933     * @ingroup Layout
9934     */
9935    EINA_DEPRECATED EAPI Evas_Object       *elm_layout_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
9936    /**
9937     * Unset the layout content.
9938     *
9939     * @param obj The layout object
9940     * @param swallow The swallow part name in the edje file
9941     * @return The content that was being used
9942     *
9943     * Unparent and return the content object which was set for this part.
9944     *
9945     * @see elm_object_content_part_set()
9946     *
9947     * @ingroup Layout
9948     */
9949    EINA_DEPRECATED EAPI Evas_Object       *elm_layout_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
9950    /**
9951     * Set the text of the given part
9952     *
9953     * @param obj The layout object
9954     * @param part The TEXT part where to set the text
9955     * @param text The text to set
9956     *
9957     * @ingroup Layout
9958     * @deprecated use elm_object_text_* instead.
9959     */
9960    EINA_DEPRECATED EAPI void               elm_layout_text_set(Evas_Object *obj, const char *part, const char *text) EINA_ARG_NONNULL(1);
9961    /**
9962     * Get the text set in the given part
9963     *
9964     * @param obj The layout object
9965     * @param part The TEXT part to retrieve the text off
9966     *
9967     * @return The text set in @p part
9968     *
9969     * @ingroup Layout
9970     * @deprecated use elm_object_text_* instead.
9971     */
9972    EINA_DEPRECATED EAPI const char        *elm_layout_text_get(const Evas_Object *obj, const char *part) EINA_ARG_NONNULL(1);
9973    /**
9974     * Append child to layout box part.
9975     *
9976     * @param obj the layout object
9977     * @param part the box part to which the object will be appended.
9978     * @param child the child object to append to box.
9979     *
9980     * Once the object is appended, it will become child of the layout. Its
9981     * lifetime will be bound to the layout, whenever the layout dies the child
9982     * will be deleted automatically. One should use elm_layout_box_remove() to
9983     * make this layout forget about the object.
9984     *
9985     * @see elm_layout_box_prepend()
9986     * @see elm_layout_box_insert_before()
9987     * @see elm_layout_box_insert_at()
9988     * @see elm_layout_box_remove()
9989     *
9990     * @ingroup Layout
9991     */
9992    EAPI void               elm_layout_box_append(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
9993    /**
9994     * Prepend child to layout box part.
9995     *
9996     * @param obj the layout object
9997     * @param part the box part to prepend.
9998     * @param child the child object to prepend to box.
9999     *
10000     * Once the object is prepended, it will become child of the layout. Its
10001     * lifetime will be bound to the layout, whenever the layout dies the child
10002     * will be deleted automatically. One should use elm_layout_box_remove() to
10003     * make this layout forget about the object.
10004     *
10005     * @see elm_layout_box_append()
10006     * @see elm_layout_box_insert_before()
10007     * @see elm_layout_box_insert_at()
10008     * @see elm_layout_box_remove()
10009     *
10010     * @ingroup Layout
10011     */
10012    EAPI void               elm_layout_box_prepend(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
10013    /**
10014     * Insert child to layout box part before a reference object.
10015     *
10016     * @param obj the layout object
10017     * @param part the box part to insert.
10018     * @param child the child object to insert into box.
10019     * @param reference another reference object to insert before in box.
10020     *
10021     * Once the object is inserted, it will become child of the layout. Its
10022     * lifetime will be bound to the layout, whenever the layout dies the child
10023     * will be deleted automatically. One should use elm_layout_box_remove() to
10024     * make this layout forget about the object.
10025     *
10026     * @see elm_layout_box_append()
10027     * @see elm_layout_box_prepend()
10028     * @see elm_layout_box_insert_before()
10029     * @see elm_layout_box_remove()
10030     *
10031     * @ingroup Layout
10032     */
10033    EAPI void               elm_layout_box_insert_before(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference) EINA_ARG_NONNULL(1);
10034    /**
10035     * Insert child to layout box part at a given position.
10036     *
10037     * @param obj the layout object
10038     * @param part the box part to insert.
10039     * @param child the child object to insert into box.
10040     * @param pos the numeric position >=0 to insert the child.
10041     *
10042     * Once the object is inserted, it will become child of the layout. Its
10043     * lifetime will be bound to the layout, whenever the layout dies the child
10044     * will be deleted automatically. One should use elm_layout_box_remove() to
10045     * make this layout forget about the object.
10046     *
10047     * @see elm_layout_box_append()
10048     * @see elm_layout_box_prepend()
10049     * @see elm_layout_box_insert_before()
10050     * @see elm_layout_box_remove()
10051     *
10052     * @ingroup Layout
10053     */
10054    EAPI void               elm_layout_box_insert_at(Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos) EINA_ARG_NONNULL(1);
10055    /**
10056     * Remove a child of the given part box.
10057     *
10058     * @param obj The layout object
10059     * @param part The box part name to remove child.
10060     * @param child The object to remove from box.
10061     * @return The object that was being used, or NULL if not found.
10062     *
10063     * The object will be removed from the box part and its lifetime will
10064     * not be handled by the layout anymore. This is equivalent to
10065     * elm_object_content_part_unset() for box.
10066     *
10067     * @see elm_layout_box_append()
10068     * @see elm_layout_box_remove_all()
10069     *
10070     * @ingroup Layout
10071     */
10072    EAPI Evas_Object       *elm_layout_box_remove(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1, 2, 3);
10073    /**
10074     * Remove all child of the given part box.
10075     *
10076     * @param obj The layout object
10077     * @param part The box part name to remove child.
10078     * @param clear If EINA_TRUE, then all objects will be deleted as
10079     *        well, otherwise they will just be removed and will be
10080     *        dangling on the canvas.
10081     *
10082     * The objects will be removed from the box part and their lifetime will
10083     * not be handled by the layout anymore. This is equivalent to
10084     * elm_layout_box_remove() for all box children.
10085     *
10086     * @see elm_layout_box_append()
10087     * @see elm_layout_box_remove()
10088     *
10089     * @ingroup Layout
10090     */
10091    EAPI void               elm_layout_box_remove_all(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
10092    /**
10093     * Insert child to layout table part.
10094     *
10095     * @param obj the layout object
10096     * @param part the box part to pack child.
10097     * @param child_obj the child object to pack into table.
10098     * @param col the column to which the child should be added. (>= 0)
10099     * @param row the row to which the child should be added. (>= 0)
10100     * @param colspan how many columns should be used to store this object. (>=
10101     *        1)
10102     * @param rowspan how many rows should be used to store this object. (>= 1)
10103     *
10104     * Once the object is inserted, it will become child of the table. Its
10105     * lifetime will be bound to the layout, and whenever the layout dies the
10106     * child will be deleted automatically. One should use
10107     * elm_layout_table_remove() to make this layout forget about the object.
10108     *
10109     * If @p colspan or @p rowspan are bigger than 1, that object will occupy
10110     * more space than a single cell. For instance, the following code:
10111     * @code
10112     * elm_layout_table_pack(layout, "table_part", child, 0, 1, 3, 1);
10113     * @endcode
10114     *
10115     * Would result in an object being added like the following picture:
10116     *
10117     * @image html layout_colspan.png
10118     * @image latex layout_colspan.eps width=\textwidth
10119     *
10120     * @see elm_layout_table_unpack()
10121     * @see elm_layout_table_clear()
10122     *
10123     * @ingroup Layout
10124     */
10125    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);
10126    /**
10127     * Unpack (remove) a child of the given part table.
10128     *
10129     * @param obj The layout object
10130     * @param part The table part name to remove child.
10131     * @param child_obj The object to remove from table.
10132     * @return The object that was being used, or NULL if not found.
10133     *
10134     * The object will be unpacked from the table part and its lifetime
10135     * will not be handled by the layout anymore. This is equivalent to
10136     * elm_object_content_part_unset() for table.
10137     *
10138     * @see elm_layout_table_pack()
10139     * @see elm_layout_table_clear()
10140     *
10141     * @ingroup Layout
10142     */
10143    EAPI Evas_Object       *elm_layout_table_unpack(Evas_Object *obj, const char *part, Evas_Object *child_obj) EINA_ARG_NONNULL(1, 2, 3);
10144    /**
10145     * Remove all child of the given part table.
10146     *
10147     * @param obj The layout object
10148     * @param part The table part name to remove child.
10149     * @param clear If EINA_TRUE, then all objects will be deleted as
10150     *        well, otherwise they will just be removed and will be
10151     *        dangling on the canvas.
10152     *
10153     * The objects will be removed from the table part and their lifetime will
10154     * not be handled by the layout anymore. This is equivalent to
10155     * elm_layout_table_unpack() for all table children.
10156     *
10157     * @see elm_layout_table_pack()
10158     * @see elm_layout_table_unpack()
10159     *
10160     * @ingroup Layout
10161     */
10162    EAPI void               elm_layout_table_clear(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
10163    /**
10164     * Get the edje layout
10165     *
10166     * @param obj The layout object
10167     *
10168     * @return A Evas_Object with the edje layout settings loaded
10169     * with function elm_layout_file_set
10170     *
10171     * This returns the edje object. It is not expected to be used to then
10172     * swallow objects via edje_object_part_swallow() for example. Use
10173     * elm_object_content_part_set() instead so child object handling and sizing is
10174     * done properly.
10175     *
10176     * @note This function should only be used if you really need to call some
10177     * low level Edje function on this edje object. All the common stuff (setting
10178     * text, emitting signals, hooking callbacks to signals, etc.) can be done
10179     * with proper elementary functions.
10180     *
10181     * @see elm_object_signal_callback_add()
10182     * @see elm_object_signal_emit()
10183     * @see elm_object_text_part_set()
10184     * @see elm_object_content_part_set()
10185     * @see elm_layout_box_append()
10186     * @see elm_layout_table_pack()
10187     * @see elm_layout_data_get()
10188     *
10189     * @ingroup Layout
10190     */
10191    EAPI Evas_Object       *elm_layout_edje_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10192    /**
10193     * Get the edje data from the given layout
10194     *
10195     * @param obj The layout object
10196     * @param key The data key
10197     *
10198     * @return The edje data string
10199     *
10200     * This function fetches data specified inside the edje theme of this layout.
10201     * This function return NULL if data is not found.
10202     *
10203     * In EDC this comes from a data block within the group block that @p
10204     * obj was loaded from. E.g.
10205     *
10206     * @code
10207     * collections {
10208     *   group {
10209     *     name: "a_group";
10210     *     data {
10211     *       item: "key1" "value1";
10212     *       item: "key2" "value2";
10213     *     }
10214     *   }
10215     * }
10216     * @endcode
10217     *
10218     * @ingroup Layout
10219     */
10220    EAPI const char        *elm_layout_data_get(const Evas_Object *obj, const char *key) EINA_ARG_NONNULL(1, 2);
10221    /**
10222     * Eval sizing
10223     *
10224     * @param obj The layout object
10225     *
10226     * Manually forces a sizing re-evaluation. This is useful when the minimum
10227     * size required by the edje theme of this layout has changed. The change on
10228     * the minimum size required by the edje theme is not immediately reported to
10229     * the elementary layout, so one needs to call this function in order to tell
10230     * the widget (layout) that it needs to reevaluate its own size.
10231     *
10232     * The minimum size of the theme is calculated based on minimum size of
10233     * parts, the size of elements inside containers like box and table, etc. All
10234     * of this can change due to state changes, and that's when this function
10235     * should be called.
10236     *
10237     * Also note that a standard signal of "size,eval" "elm" emitted from the
10238     * edje object will cause this to happen too.
10239     *
10240     * @ingroup Layout
10241     */
10242    EAPI void               elm_layout_sizing_eval(Evas_Object *obj) EINA_ARG_NONNULL(1);
10243
10244    /**
10245     * Sets a specific cursor for an edje part.
10246     *
10247     * @param obj The layout object.
10248     * @param part_name a part from loaded edje group.
10249     * @param cursor cursor name to use, see Elementary_Cursor.h
10250     *
10251     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10252     *         part not exists or it has "mouse_events: 0".
10253     *
10254     * @ingroup Layout
10255     */
10256    EAPI Eina_Bool          elm_layout_part_cursor_set(Evas_Object *obj, const char *part_name, const char *cursor) EINA_ARG_NONNULL(1, 2);
10257
10258    /**
10259     * Get the cursor to be shown when mouse is over an edje part
10260     *
10261     * @param obj The layout object.
10262     * @param part_name a part from loaded edje group.
10263     * @return the cursor name.
10264     *
10265     * @ingroup Layout
10266     */
10267    EAPI const char        *elm_layout_part_cursor_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10268
10269    /**
10270     * Unsets a cursor previously set with elm_layout_part_cursor_set().
10271     *
10272     * @param obj The layout object.
10273     * @param part_name a part from loaded edje group, that had a cursor set
10274     *        with elm_layout_part_cursor_set().
10275     *
10276     * @ingroup Layout
10277     */
10278    EAPI void               elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10279
10280    /**
10281     * Sets a specific cursor style for an edje part.
10282     *
10283     * @param obj The layout object.
10284     * @param part_name a part from loaded edje group.
10285     * @param style the theme style to use (default, transparent, ...)
10286     *
10287     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10288     *         part not exists or it did not had a cursor set.
10289     *
10290     * @ingroup Layout
10291     */
10292    EAPI Eina_Bool          elm_layout_part_cursor_style_set(Evas_Object *obj, const char *part_name, const char *style) EINA_ARG_NONNULL(1, 2);
10293
10294    /**
10295     * Gets a specific cursor style for an edje part.
10296     *
10297     * @param obj The layout object.
10298     * @param part_name a part from loaded edje group.
10299     *
10300     * @return the theme style in use, defaults to "default". If the
10301     *         object does not have a cursor set, then NULL is returned.
10302     *
10303     * @ingroup Layout
10304     */
10305    EAPI const char        *elm_layout_part_cursor_style_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10306
10307    /**
10308     * Sets if the cursor set should be searched on the theme or should use
10309     * the provided by the engine, only.
10310     *
10311     * @note before you set if should look on theme you should define a
10312     * cursor with elm_layout_part_cursor_set(). By default it will only
10313     * look for cursors provided by the engine.
10314     *
10315     * @param obj The layout object.
10316     * @param part_name a part from loaded edje group.
10317     * @param engine_only if cursors should be just provided by the engine
10318     *        or should also search on widget's theme as well
10319     *
10320     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10321     *         part not exists or it did not had a cursor set.
10322     *
10323     * @ingroup Layout
10324     */
10325    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);
10326
10327    /**
10328     * Gets a specific cursor engine_only for an edje part.
10329     *
10330     * @param obj The layout object.
10331     * @param part_name a part from loaded edje group.
10332     *
10333     * @return whenever the cursor is just provided by engine or also from theme.
10334     *
10335     * @ingroup Layout
10336     */
10337    EAPI Eina_Bool          elm_layout_part_cursor_engine_only_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10338
10339 /**
10340  * @def elm_layout_icon_set
10341  * Convienience macro to set the icon object in a layout that follows the
10342  * Elementary naming convention for its parts.
10343  *
10344  * @ingroup Layout
10345  */
10346 #define elm_layout_icon_set(_ly, _obj) \
10347   do { \
10348     const char *sig; \
10349     elm_object_content_part_set((_ly), "elm.swallow.icon", (_obj)); \
10350     if ((_obj)) sig = "elm,state,icon,visible"; \
10351     else sig = "elm,state,icon,hidden"; \
10352     elm_object_signal_emit((_ly), sig, "elm"); \
10353   } while (0)
10354
10355 /**
10356  * @def elm_layout_icon_get
10357  * Convienience macro to get the icon object from a layout that follows the
10358  * Elementary naming convention for its parts.
10359  *
10360  * @ingroup Layout
10361  */
10362 #define elm_layout_icon_get(_ly) \
10363   elm_object_content_part_get((_ly), "elm.swallow.icon")
10364
10365 /**
10366  * @def elm_layout_end_set
10367  * Convienience macro to set the end object in a layout that follows the
10368  * Elementary naming convention for its parts.
10369  *
10370  * @ingroup Layout
10371  */
10372 #define elm_layout_end_set(_ly, _obj) \
10373   do { \
10374     const char *sig; \
10375     elm_object_content_part_set((_ly), "elm.swallow.end", (_obj)); \
10376     if ((_obj)) sig = "elm,state,end,visible"; \
10377     else sig = "elm,state,end,hidden"; \
10378     elm_object_signal_emit((_ly), sig, "elm"); \
10379   } while (0)
10380
10381 /**
10382  * @def elm_layout_end_get
10383  * Convienience macro to get the end object in a layout that follows the
10384  * Elementary naming convention for its parts.
10385  *
10386  * @ingroup Layout
10387  */
10388 #define elm_layout_end_get(_ly) \
10389   elm_object_content_part_get((_ly), "elm.swallow.end")
10390
10391 /**
10392  * @def elm_layout_label_set
10393  * Convienience macro to set the label in a layout that follows the
10394  * Elementary naming convention for its parts.
10395  *
10396  * @ingroup Layout
10397  * @deprecated use elm_object_text_* instead.
10398  */
10399 #define elm_layout_label_set(_ly, _txt) \
10400   elm_layout_text_set((_ly), "elm.text", (_txt))
10401
10402 /**
10403  * @def elm_layout_label_get
10404  * Convienience macro to get the label in a layout that follows the
10405  * Elementary naming convention for its parts.
10406  *
10407  * @ingroup Layout
10408  * @deprecated use elm_object_text_* instead.
10409  */
10410 #define elm_layout_label_get(_ly) \
10411   elm_layout_text_get((_ly), "elm.text")
10412
10413    /* smart callbacks called:
10414     * "theme,changed" - when elm theme is changed.
10415     */
10416
10417    /**
10418     * @defgroup Notify Notify
10419     *
10420     * @image html img/widget/notify/preview-00.png
10421     * @image latex img/widget/notify/preview-00.eps
10422     *
10423     * Display a container in a particular region of the parent(top, bottom,
10424     * etc.  A timeout can be set to automatically hide the notify. This is so
10425     * that, after an evas_object_show() on a notify object, if a timeout was set
10426     * on it, it will @b automatically get hidden after that time.
10427     *
10428     * Signals that you can add callbacks for are:
10429     * @li "timeout" - when timeout happens on notify and it's hidden
10430     * @li "block,clicked" - when a click outside of the notify happens
10431     *
10432     * Default contents parts of the notify widget that you can use for are:
10433     * @li "elm.swallow.content" - A content of the notify
10434     *
10435     * @ref tutorial_notify show usage of the API.
10436     *
10437     * @{
10438     */
10439    /**
10440     * @brief Possible orient values for notify.
10441     *
10442     * This values should be used in conjunction to elm_notify_orient_set() to
10443     * set the position in which the notify should appear(relative to its parent)
10444     * and in conjunction with elm_notify_orient_get() to know where the notify
10445     * is appearing.
10446     */
10447    typedef enum _Elm_Notify_Orient
10448      {
10449         ELM_NOTIFY_ORIENT_TOP, /**< Notify should appear in the top of parent, default */
10450         ELM_NOTIFY_ORIENT_CENTER, /**< Notify should appear in the center of parent */
10451         ELM_NOTIFY_ORIENT_BOTTOM, /**< Notify should appear in the bottom of parent */
10452         ELM_NOTIFY_ORIENT_LEFT, /**< Notify should appear in the left of parent */
10453         ELM_NOTIFY_ORIENT_RIGHT, /**< Notify should appear in the right of parent */
10454         ELM_NOTIFY_ORIENT_TOP_LEFT, /**< Notify should appear in the top left of parent */
10455         ELM_NOTIFY_ORIENT_TOP_RIGHT, /**< Notify should appear in the top right of parent */
10456         ELM_NOTIFY_ORIENT_BOTTOM_LEFT, /**< Notify should appear in the bottom left of parent */
10457         ELM_NOTIFY_ORIENT_BOTTOM_RIGHT, /**< Notify should appear in the bottom right of parent */
10458         ELM_NOTIFY_ORIENT_LAST /**< Sentinel value, @b don't use */
10459      } Elm_Notify_Orient;
10460    /**
10461     * @brief Add a new notify to the parent
10462     *
10463     * @param parent The parent object
10464     * @return The new object or NULL if it cannot be created
10465     */
10466    EAPI Evas_Object      *elm_notify_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10467    /**
10468     * @brief Set the content of the notify widget
10469     *
10470     * @param obj The notify object
10471     * @param content The content will be filled in this notify object
10472     *
10473     * Once the content object is set, a previously set one will be deleted. If
10474     * you want to keep that old content object, use the
10475     * elm_notify_content_unset() function.
10476     */
10477    EINA_DEPRECATED EAPI void              elm_notify_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
10478    /**
10479     * @brief Unset the content of the notify widget
10480     *
10481     * @param obj The notify object
10482     * @return The content that was being used
10483     *
10484     * Unparent and return the content object which was set for this widget
10485     *
10486     * @see elm_notify_content_set()
10487     */
10488    EINA_DEPRECATED EAPI Evas_Object      *elm_notify_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
10489    /**
10490     * @brief Return the content of the notify widget
10491     *
10492     * @param obj The notify object
10493     * @return The content that is being used
10494     *
10495     * @see elm_notify_content_set()
10496     */
10497    EINA_DEPRECATED EAPI Evas_Object      *elm_notify_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10498    /**
10499     * @brief Set the notify parent
10500     *
10501     * @param obj The notify object
10502     * @param content The new parent
10503     *
10504     * Once the parent object is set, a previously set one will be disconnected
10505     * and replaced.
10506     */
10507    EAPI void              elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
10508    /**
10509     * @brief Get the notify parent
10510     *
10511     * @param obj The notify object
10512     * @return The parent
10513     *
10514     * @see elm_notify_parent_set()
10515     */
10516    EAPI Evas_Object      *elm_notify_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10517    /**
10518     * @brief Set the orientation
10519     *
10520     * @param obj The notify object
10521     * @param orient The new orientation
10522     *
10523     * Sets the position in which the notify will appear in its parent.
10524     *
10525     * @see @ref Elm_Notify_Orient for possible values.
10526     */
10527    EAPI void              elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient) EINA_ARG_NONNULL(1);
10528    /**
10529     * @brief Return the orientation
10530     * @param obj The notify object
10531     * @return The orientation of the notification
10532     *
10533     * @see elm_notify_orient_set()
10534     * @see Elm_Notify_Orient
10535     */
10536    EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10537    /**
10538     * @brief Set the time interval after which the notify window is going to be
10539     * hidden.
10540     *
10541     * @param obj The notify object
10542     * @param time The timeout in seconds
10543     *
10544     * This function sets a timeout and starts the timer controlling when the
10545     * notify is hidden. Since calling evas_object_show() on a notify restarts
10546     * the timer controlling when the notify is hidden, setting this before the
10547     * notify is shown will in effect mean starting the timer when the notify is
10548     * shown.
10549     *
10550     * @note Set a value <= 0.0 to disable a running timer.
10551     *
10552     * @note If the value > 0.0 and the notify is previously visible, the
10553     * timer will be started with this value, canceling any running timer.
10554     */
10555    EAPI void              elm_notify_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
10556    /**
10557     * @brief Return the timeout value (in seconds)
10558     * @param obj the notify object
10559     *
10560     * @see elm_notify_timeout_set()
10561     */
10562    EAPI double            elm_notify_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10563    /**
10564     * @brief Sets whether events should be passed to by a click outside
10565     * its area.
10566     *
10567     * @param obj The notify object
10568     * @param repeats EINA_TRUE Events are repeats, else no
10569     *
10570     * When true if the user clicks outside the window the events will be caught
10571     * by the others widgets, else the events are blocked.
10572     *
10573     * @note The default value is EINA_TRUE.
10574     */
10575    EAPI void              elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat) EINA_ARG_NONNULL(1);
10576    /**
10577     * @brief Return true if events are repeat below the notify object
10578     * @param obj the notify object
10579     *
10580     * @see elm_notify_repeat_events_set()
10581     */
10582    EAPI Eina_Bool         elm_notify_repeat_events_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10583    /**
10584     * @}
10585     */
10586
10587    /**
10588     * @defgroup Hover Hover
10589     *
10590     * @image html img/widget/hover/preview-00.png
10591     * @image latex img/widget/hover/preview-00.eps
10592     *
10593     * A Hover object will hover over its @p parent object at the @p target
10594     * location. Anything in the background will be given a darker coloring to
10595     * indicate that the hover object is on top (at the default theme). When the
10596     * hover is clicked it is dismissed(hidden), if the contents of the hover are
10597     * clicked that @b doesn't cause the hover to be dismissed.
10598     *
10599     * A Hover object has two parents. One parent that owns it during creation
10600     * and the other parent being the one over which the hover object spans.
10601     *
10602     *
10603     * @note The hover object will take up the entire space of @p target
10604     * object.
10605     *
10606     * Elementary has the following styles for the hover widget:
10607     * @li default
10608     * @li popout
10609     * @li menu
10610     * @li hoversel_vertical
10611     *
10612     * The following are the available position for content:
10613     * @li left
10614     * @li top-left
10615     * @li top
10616     * @li top-right
10617     * @li right
10618     * @li bottom-right
10619     * @li bottom
10620     * @li bottom-left
10621     * @li middle
10622     * @li smart
10623     *
10624     * Signals that you can add callbacks for are:
10625     * @li "clicked" - the user clicked the empty space in the hover to dismiss
10626     * @li "smart,changed" - a content object placed under the "smart"
10627     *                   policy was replaced to a new slot direction.
10628     *
10629     * See @ref tutorial_hover for more information.
10630     *
10631     * @{
10632     */
10633    typedef enum _Elm_Hover_Axis
10634      {
10635         ELM_HOVER_AXIS_NONE, /**< ELM_HOVER_AXIS_NONE -- no prefered orientation */
10636         ELM_HOVER_AXIS_HORIZONTAL, /**< ELM_HOVER_AXIS_HORIZONTAL -- horizontal */
10637         ELM_HOVER_AXIS_VERTICAL, /**< ELM_HOVER_AXIS_VERTICAL -- vertical */
10638         ELM_HOVER_AXIS_BOTH /**< ELM_HOVER_AXIS_BOTH -- both */
10639      } Elm_Hover_Axis;
10640    /**
10641     * @brief Adds a hover object to @p parent
10642     *
10643     * @param parent The parent object
10644     * @return The hover object or NULL if one could not be created
10645     */
10646    EAPI Evas_Object *elm_hover_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10647    /**
10648     * @brief Sets the target object for the hover.
10649     *
10650     * @param obj The hover object
10651     * @param target The object to center the hover onto. The hover
10652     *
10653     * This function will cause the hover to be centered on the target object.
10654     */
10655    EAPI void         elm_hover_target_set(Evas_Object *obj, Evas_Object *target) EINA_ARG_NONNULL(1);
10656    /**
10657     * @brief Gets the target object for the hover.
10658     *
10659     * @param obj The hover object
10660     * @param parent The object to locate the hover over.
10661     *
10662     * @see elm_hover_target_set()
10663     */
10664    EAPI Evas_Object *elm_hover_target_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10665    /**
10666     * @brief Sets the parent object for the hover.
10667     *
10668     * @param obj The hover object
10669     * @param parent The object to locate the hover over.
10670     *
10671     * This function will cause the hover to take up the entire space that the
10672     * parent object fills.
10673     */
10674    EAPI void         elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
10675    /**
10676     * @brief Gets the parent object for the hover.
10677     *
10678     * @param obj The hover object
10679     * @return The parent object to locate the hover over.
10680     *
10681     * @see elm_hover_parent_set()
10682     */
10683    EAPI Evas_Object *elm_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10684    /**
10685     * @brief Sets the content of the hover object and the direction in which it
10686     * will pop out.
10687     *
10688     * @param obj The hover object
10689     * @param swallow The direction that the object will be displayed
10690     * at. Accepted values are "left", "top-left", "top", "top-right",
10691     * "right", "bottom-right", "bottom", "bottom-left", "middle" and
10692     * "smart".
10693     * @param content The content to place at @p swallow
10694     *
10695     * Once the content object is set for a given direction, a previously
10696     * set one (on the same direction) will be deleted. If you want to
10697     * keep that old content object, use the elm_hover_content_unset()
10698     * function.
10699     *
10700     * All directions may have contents at the same time, except for
10701     * "smart". This is a special placement hint and its use case
10702     * independs of the calculations coming from
10703     * elm_hover_best_content_location_get(). Its use is for cases when
10704     * one desires only one hover content, but with a dinamic special
10705     * placement within the hover area. The content's geometry, whenever
10706     * it changes, will be used to decide on a best location not
10707     * extrapolating the hover's parent object view to show it in (still
10708     * being the hover's target determinant of its medium part -- move and
10709     * resize it to simulate finger sizes, for example). If one of the
10710     * directions other than "smart" are used, a previously content set
10711     * using it will be deleted, and vice-versa.
10712     */
10713    EAPI void         elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
10714    /**
10715     * @brief Get the content of the hover object, in a given direction.
10716     *
10717     * Return the content object which was set for this widget in the
10718     * @p swallow direction.
10719     *
10720     * @param obj The hover object
10721     * @param swallow The direction that the object was display at.
10722     * @return The content that was being used
10723     *
10724     * @see elm_hover_content_set()
10725     */
10726    EAPI Evas_Object *elm_hover_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10727    /**
10728     * @brief Unset the content of the hover object, in a given direction.
10729     *
10730     * Unparent and return the content object set at @p swallow direction.
10731     *
10732     * @param obj The hover object
10733     * @param swallow The direction that the object was display at.
10734     * @return The content that was being used.
10735     *
10736     * @see elm_hover_content_set()
10737     */
10738    EAPI Evas_Object *elm_hover_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10739    /**
10740     * @brief Returns the best swallow location for content in the hover.
10741     *
10742     * @param obj The hover object
10743     * @param pref_axis The preferred orientation axis for the hover object to use
10744     * @return The edje location to place content into the hover or @c
10745     *         NULL, on errors.
10746     *
10747     * Best is defined here as the location at which there is the most available
10748     * space.
10749     *
10750     * @p pref_axis may be one of
10751     * - @c ELM_HOVER_AXIS_NONE -- no prefered orientation
10752     * - @c ELM_HOVER_AXIS_HORIZONTAL -- horizontal
10753     * - @c ELM_HOVER_AXIS_VERTICAL -- vertical
10754     * - @c ELM_HOVER_AXIS_BOTH -- both
10755     *
10756     * If ELM_HOVER_AXIS_HORIZONTAL is choosen the returned position will
10757     * nescessarily be along the horizontal axis("left" or "right"). If
10758     * ELM_HOVER_AXIS_VERTICAL is choosen the returned position will nescessarily
10759     * be along the vertical axis("top" or "bottom"). Chossing
10760     * ELM_HOVER_AXIS_BOTH or ELM_HOVER_AXIS_NONE has the same effect and the
10761     * returned position may be in either axis.
10762     *
10763     * @see elm_hover_content_set()
10764     */
10765    EAPI const char  *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis) EINA_ARG_NONNULL(1);
10766    /**
10767     * @}
10768     */
10769
10770    /* entry */
10771    /**
10772     * @defgroup Entry Entry
10773     *
10774     * @image html img/widget/entry/preview-00.png
10775     * @image latex img/widget/entry/preview-00.eps width=\textwidth
10776     * @image html img/widget/entry/preview-01.png
10777     * @image latex img/widget/entry/preview-01.eps width=\textwidth
10778     * @image html img/widget/entry/preview-02.png
10779     * @image latex img/widget/entry/preview-02.eps width=\textwidth
10780     * @image html img/widget/entry/preview-03.png
10781     * @image latex img/widget/entry/preview-03.eps width=\textwidth
10782     *
10783     * An entry is a convenience widget which shows a box that the user can
10784     * enter text into. Entries by default don't scroll, so they grow to
10785     * accomodate the entire text, resizing the parent window as needed. This
10786     * can be changed with the elm_entry_scrollable_set() function.
10787     *
10788     * They can also be single line or multi line (the default) and when set
10789     * to multi line mode they support text wrapping in any of the modes
10790     * indicated by #Elm_Wrap_Type.
10791     *
10792     * Other features include password mode, filtering of inserted text with
10793     * elm_entry_text_filter_append() and related functions, inline "items" and
10794     * formatted markup text.
10795     *
10796     * @section entry-markup Formatted text
10797     *
10798     * The markup tags supported by the Entry are defined by the theme, but
10799     * even when writing new themes or extensions it's a good idea to stick to
10800     * a sane default, to maintain coherency and avoid application breakages.
10801     * Currently defined by the default theme are the following tags:
10802     * @li \<br\>: Inserts a line break.
10803     * @li \<ps\>: Inserts a paragraph separator. This is preferred over line
10804     * breaks.
10805     * @li \<tab\>: Inserts a tab.
10806     * @li \<em\>...\</em\>: Emphasis. Sets the @em oblique style for the
10807     * enclosed text.
10808     * @li \<b\>...\</b\>: Sets the @b bold style for the enclosed text.
10809     * @li \<link\>...\</link\>: Underlines the enclosed text.
10810     * @li \<hilight\>...\</hilight\>: Hilights the enclosed text.
10811     *
10812     * @section entry-special Special markups
10813     *
10814     * Besides those used to format text, entries support two special markup
10815     * tags used to insert clickable portions of text or items inlined within
10816     * the text.
10817     *
10818     * @subsection entry-anchors Anchors
10819     *
10820     * Anchors are similar to HTML anchors. Text can be surrounded by \<a\> and
10821     * \</a\> tags and an event will be generated when this text is clicked,
10822     * like this:
10823     *
10824     * @code
10825     * This text is outside <a href=anc-01>but this one is an anchor</a>
10826     * @endcode
10827     *
10828     * The @c href attribute in the opening tag gives the name that will be
10829     * used to identify the anchor and it can be any valid utf8 string.
10830     *
10831     * When an anchor is clicked, an @c "anchor,clicked" signal is emitted with
10832     * an #Elm_Entry_Anchor_Info in the @c event_info parameter for the
10833     * callback function. The same applies for "anchor,in" (mouse in), "anchor,out"
10834     * (mouse out), "anchor,down" (mouse down), and "anchor,up" (mouse up) events on
10835     * an anchor.
10836     *
10837     * @subsection entry-items Items
10838     *
10839     * Inlined in the text, any other @c Evas_Object can be inserted by using
10840     * \<item\> tags this way:
10841     *
10842     * @code
10843     * <item size=16x16 vsize=full href=emoticon/haha></item>
10844     * @endcode
10845     *
10846     * Just like with anchors, the @c href identifies each item, but these need,
10847     * in addition, to indicate their size, which is done using any one of
10848     * @c size, @c absize or @c relsize attributes. These attributes take their
10849     * value in the WxH format, where W is the width and H the height of the
10850     * item.
10851     *
10852     * @li absize: Absolute pixel size for the item. Whatever value is set will
10853     * be the item's size regardless of any scale value the object may have
10854     * been set to. The final line height will be adjusted to fit larger items.
10855     * @li size: Similar to @c absize, but it's adjusted to the scale value set
10856     * for the object.
10857     * @li relsize: Size is adjusted for the item to fit within the current
10858     * line height.
10859     *
10860     * Besides their size, items are specificed a @c vsize value that affects
10861     * how their final size and position are calculated. The possible values
10862     * are:
10863     * @li ascent: Item will be placed within the line's baseline and its
10864     * ascent. That is, the height between the line where all characters are
10865     * positioned and the highest point in the line. For @c size and @c absize
10866     * items, the descent value will be added to the total line height to make
10867     * them fit. @c relsize items will be adjusted to fit within this space.
10868     * @li full: Items will be placed between the descent and ascent, or the
10869     * lowest point in the line and its highest.
10870     *
10871     * The next image shows different configurations of items and how they
10872     * are the previously mentioned options affect their sizes. In all cases,
10873     * the green line indicates the ascent, blue for the baseline and red for
10874     * the descent.
10875     *
10876     * @image html entry_item.png
10877     * @image latex entry_item.eps width=\textwidth
10878     *
10879     * And another one to show how size differs from absize. In the first one,
10880     * the scale value is set to 1.0, while the second one is using one of 2.0.
10881     *
10882     * @image html entry_item_scale.png
10883     * @image latex entry_item_scale.eps width=\textwidth
10884     *
10885     * After the size for an item is calculated, the entry will request an
10886     * object to place in its space. For this, the functions set with
10887     * elm_entry_item_provider_append() and related functions will be called
10888     * in order until one of them returns a @c non-NULL value. If no providers
10889     * are available, or all of them return @c NULL, then the entry falls back
10890     * to one of the internal defaults, provided the name matches with one of
10891     * them.
10892     *
10893     * All of the following are currently supported:
10894     *
10895     * - emoticon/angry
10896     * - emoticon/angry-shout
10897     * - emoticon/crazy-laugh
10898     * - emoticon/evil-laugh
10899     * - emoticon/evil
10900     * - emoticon/goggle-smile
10901     * - emoticon/grumpy
10902     * - emoticon/grumpy-smile
10903     * - emoticon/guilty
10904     * - emoticon/guilty-smile
10905     * - emoticon/haha
10906     * - emoticon/half-smile
10907     * - emoticon/happy-panting
10908     * - emoticon/happy
10909     * - emoticon/indifferent
10910     * - emoticon/kiss
10911     * - emoticon/knowing-grin
10912     * - emoticon/laugh
10913     * - emoticon/little-bit-sorry
10914     * - emoticon/love-lots
10915     * - emoticon/love
10916     * - emoticon/minimal-smile
10917     * - emoticon/not-happy
10918     * - emoticon/not-impressed
10919     * - emoticon/omg
10920     * - emoticon/opensmile
10921     * - emoticon/smile
10922     * - emoticon/sorry
10923     * - emoticon/squint-laugh
10924     * - emoticon/surprised
10925     * - emoticon/suspicious
10926     * - emoticon/tongue-dangling
10927     * - emoticon/tongue-poke
10928     * - emoticon/uh
10929     * - emoticon/unhappy
10930     * - emoticon/very-sorry
10931     * - emoticon/what
10932     * - emoticon/wink
10933     * - emoticon/worried
10934     * - emoticon/wtf
10935     *
10936     * Alternatively, an item may reference an image by its path, using
10937     * the URI form @c file:///path/to/an/image.png and the entry will then
10938     * use that image for the item.
10939     *
10940     * @section entry-files Loading and saving files
10941     *
10942     * Entries have convinience functions to load text from a file and save
10943     * changes back to it after a short delay. The automatic saving is enabled
10944     * by default, but can be disabled with elm_entry_autosave_set() and files
10945     * can be loaded directly as plain text or have any markup in them
10946     * recognized. See elm_entry_file_set() for more details.
10947     *
10948     * @section entry-signals Emitted signals
10949     *
10950     * This widget emits the following signals:
10951     *
10952     * @li "changed": The text within the entry was changed.
10953     * @li "changed,user": The text within the entry was changed because of user interaction.
10954     * @li "activated": The enter key was pressed on a single line entry.
10955     * @li "press": A mouse button has been pressed on the entry.
10956     * @li "longpressed": A mouse button has been pressed and held for a couple
10957     * seconds.
10958     * @li "clicked": The entry has been clicked (mouse press and release).
10959     * @li "clicked,double": The entry has been double clicked.
10960     * @li "clicked,triple": The entry has been triple clicked.
10961     * @li "focused": The entry has received focus.
10962     * @li "unfocused": The entry has lost focus.
10963     * @li "selection,paste": A paste of the clipboard contents was requested.
10964     * @li "selection,copy": A copy of the selected text into the clipboard was
10965     * requested.
10966     * @li "selection,cut": A cut of the selected text into the clipboard was
10967     * requested.
10968     * @li "selection,start": A selection has begun and no previous selection
10969     * existed.
10970     * @li "selection,changed": The current selection has changed.
10971     * @li "selection,cleared": The current selection has been cleared.
10972     * @li "cursor,changed": The cursor has changed position.
10973     * @li "anchor,clicked": An anchor has been clicked. The event_info
10974     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10975     * @li "anchor,in": Mouse cursor has moved into an anchor. The event_info
10976     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10977     * @li "anchor,out": Mouse cursor has moved out of an anchor. The event_info
10978     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10979     * @li "anchor,up": Mouse button has been unpressed on an anchor. The event_info
10980     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10981     * @li "anchor,down": Mouse button has been pressed on an anchor. The event_info
10982     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10983     * @li "preedit,changed": The preedit string has changed.
10984     * @li "language,changed": Program language changed.
10985     *
10986     * @section entry-examples
10987     *
10988     * An overview of the Entry API can be seen in @ref entry_example_01
10989     *
10990     * @{
10991     */
10992    /**
10993     * @typedef Elm_Entry_Anchor_Info
10994     *
10995     * The info sent in the callback for the "anchor,clicked" signals emitted
10996     * by entries.
10997     */
10998    typedef struct _Elm_Entry_Anchor_Info Elm_Entry_Anchor_Info;
10999    /**
11000     * @struct _Elm_Entry_Anchor_Info
11001     *
11002     * The info sent in the callback for the "anchor,clicked" signals emitted
11003     * by entries.
11004     */
11005    struct _Elm_Entry_Anchor_Info
11006      {
11007         const char *name; /**< The name of the anchor, as stated in its href */
11008         int         button; /**< The mouse button used to click on it */
11009         Evas_Coord  x, /**< Anchor geometry, relative to canvas */
11010                     y, /**< Anchor geometry, relative to canvas */
11011                     w, /**< Anchor geometry, relative to canvas */
11012                     h; /**< Anchor geometry, relative to canvas */
11013      };
11014    /**
11015     * @typedef Elm_Entry_Filter_Cb
11016     * This callback type is used by entry filters to modify text.
11017     * @param data The data specified as the last param when adding the filter
11018     * @param entry The entry object
11019     * @param text A pointer to the location of the text being filtered. This data can be modified,
11020     * but any additional allocations must be managed by the user.
11021     * @see elm_entry_text_filter_append
11022     * @see elm_entry_text_filter_prepend
11023     */
11024    typedef void (*Elm_Entry_Filter_Cb)(void *data, Evas_Object *entry, char **text);
11025
11026    /**
11027     * This adds an entry to @p parent object.
11028     *
11029     * By default, entries are:
11030     * @li not scrolled
11031     * @li multi-line
11032     * @li word wrapped
11033     * @li autosave is enabled
11034     *
11035     * @param parent The parent object
11036     * @return The new object or NULL if it cannot be created
11037     */
11038    EAPI Evas_Object *elm_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
11039    /**
11040     * Sets the entry to single line mode.
11041     *
11042     * In single line mode, entries don't ever wrap when the text reaches the
11043     * edge, and instead they keep growing horizontally. Pressing the @c Enter
11044     * key will generate an @c "activate" event instead of adding a new line.
11045     *
11046     * When @p single_line is @c EINA_FALSE, line wrapping takes effect again
11047     * and pressing enter will break the text into a different line
11048     * without generating any events.
11049     *
11050     * @param obj The entry object
11051     * @param single_line If true, the text in the entry
11052     * will be on a single line.
11053     */
11054    EAPI void         elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
11055    /**
11056     * Gets whether the entry is set to be single line.
11057     *
11058     * @param obj The entry object
11059     * @return single_line If true, the text in the entry is set to display
11060     * on a single line.
11061     *
11062     * @see elm_entry_single_line_set()
11063     */
11064    EAPI Eina_Bool    elm_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11065    /**
11066     * Sets the entry to password mode.
11067     *
11068     * In password mode, entries are implicitly single line and the display of
11069     * any text in them is replaced with asterisks (*).
11070     *
11071     * @param obj The entry object
11072     * @param password If true, password mode is enabled.
11073     */
11074    EAPI void         elm_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
11075    /**
11076     * Gets whether the entry is set to password mode.
11077     *
11078     * @param obj The entry object
11079     * @return If true, the entry is set to display all characters
11080     * as asterisks (*).
11081     *
11082     * @see elm_entry_password_set()
11083     */
11084    EAPI Eina_Bool    elm_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11085    /**
11086     * This sets the text displayed within the entry to @p entry.
11087     *
11088     * @param obj The entry object
11089     * @param entry The text to be displayed
11090     *
11091     * @deprecated Use elm_object_text_set() instead.
11092     * @note Using this function bypasses text filters
11093     */
11094    EAPI void         elm_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11095    /**
11096     * This returns the text currently shown in object @p entry.
11097     * See also elm_entry_entry_set().
11098     *
11099     * @param obj The entry object
11100     * @return The currently displayed text or NULL on failure
11101     *
11102     * @deprecated Use elm_object_text_get() instead.
11103     */
11104    EAPI const char  *elm_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11105    /**
11106     * Appends @p entry to the text of the entry.
11107     *
11108     * Adds the text in @p entry to the end of any text already present in the
11109     * widget.
11110     *
11111     * The appended text is subject to any filters set for the widget.
11112     *
11113     * @param obj The entry object
11114     * @param entry The text to be displayed
11115     *
11116     * @see elm_entry_text_filter_append()
11117     */
11118    EAPI void         elm_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11119    /**
11120     * Gets whether the entry is empty.
11121     *
11122     * Empty means no text at all. If there are any markup tags, like an item
11123     * tag for which no provider finds anything, and no text is displayed, this
11124     * function still returns EINA_FALSE.
11125     *
11126     * @param obj The entry object
11127     * @return EINA_TRUE if the entry is empty, EINA_FALSE otherwise.
11128     */
11129    EAPI Eina_Bool    elm_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11130    /**
11131     * Gets any selected text within the entry.
11132     *
11133     * If there's any selected text in the entry, this function returns it as
11134     * a string in markup format. NULL is returned if no selection exists or
11135     * if an error occurred.
11136     *
11137     * The returned value points to an internal string and should not be freed
11138     * or modified in any way. If the @p entry object is deleted or its
11139     * contents are changed, the returned pointer should be considered invalid.
11140     *
11141     * @param obj The entry object
11142     * @return The selected text within the entry or NULL on failure
11143     */
11144    EAPI const char  *elm_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11145    /**
11146     * Inserts the given text into the entry at the current cursor position.
11147     *
11148     * This inserts text at the cursor position as if it was typed
11149     * by the user (note that this also allows markup which a user
11150     * can't just "type" as it would be converted to escaped text, so this
11151     * call can be used to insert things like emoticon items or bold push/pop
11152     * tags, other font and color change tags etc.)
11153     *
11154     * If any selection exists, it will be replaced by the inserted text.
11155     *
11156     * The inserted text is subject to any filters set for the widget.
11157     *
11158     * @param obj The entry object
11159     * @param entry The text to insert
11160     *
11161     * @see elm_entry_text_filter_append()
11162     */
11163    EAPI void         elm_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11164    /**
11165     * Set the line wrap type to use on multi-line entries.
11166     *
11167     * Sets the wrap type used by the entry to any of the specified in
11168     * #Elm_Wrap_Type. This tells how the text will be implicitly cut into a new
11169     * line (without inserting a line break or paragraph separator) when it
11170     * reaches the far edge of the widget.
11171     *
11172     * Note that this only makes sense for multi-line entries. A widget set
11173     * to be single line will never wrap.
11174     *
11175     * @param obj The entry object
11176     * @param wrap The wrap mode to use. See #Elm_Wrap_Type for details on them
11177     */
11178    EAPI void         elm_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
11179    /**
11180     * Gets the wrap mode the entry was set to use.
11181     *
11182     * @param obj The entry object
11183     * @return Wrap type
11184     *
11185     * @see also elm_entry_line_wrap_set()
11186     */
11187    EAPI Elm_Wrap_Type elm_entry_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11188    /**
11189     * Sets if the entry is to be editable or not.
11190     *
11191     * By default, entries are editable and when focused, any text input by the
11192     * user will be inserted at the current cursor position. But calling this
11193     * function with @p editable as EINA_FALSE will prevent the user from
11194     * inputting text into the entry.
11195     *
11196     * The only way to change the text of a non-editable entry is to use
11197     * elm_object_text_set(), elm_entry_entry_insert() and other related
11198     * functions.
11199     *
11200     * @param obj The entry object
11201     * @param editable If EINA_TRUE, user input will be inserted in the entry,
11202     * if not, the entry is read-only and no user input is allowed.
11203     */
11204    EAPI void         elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
11205    /**
11206     * Gets whether the entry is editable or not.
11207     *
11208     * @param obj The entry object
11209     * @return If true, the entry is editable by the user.
11210     * If false, it is not editable by the user
11211     *
11212     * @see elm_entry_editable_set()
11213     */
11214    EAPI Eina_Bool    elm_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11215    /**
11216     * This drops any existing text selection within the entry.
11217     *
11218     * @param obj The entry object
11219     */
11220    EAPI void         elm_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
11221    /**
11222     * This selects all text within the entry.
11223     *
11224     * @param obj The entry object
11225     */
11226    EAPI void         elm_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
11227    /**
11228     * This moves the cursor one place to the right within the entry.
11229     *
11230     * @param obj The entry object
11231     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11232     */
11233    EAPI Eina_Bool    elm_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
11234    /**
11235     * This moves the cursor one place to the left within the entry.
11236     *
11237     * @param obj The entry object
11238     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11239     */
11240    EAPI Eina_Bool    elm_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
11241    /**
11242     * This moves the cursor one line up within the entry.
11243     *
11244     * @param obj The entry object
11245     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11246     */
11247    EAPI Eina_Bool    elm_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
11248    /**
11249     * This moves the cursor one line down within the entry.
11250     *
11251     * @param obj The entry object
11252     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11253     */
11254    EAPI Eina_Bool    elm_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
11255    /**
11256     * This moves the cursor to the beginning of the entry.
11257     *
11258     * @param obj The entry object
11259     */
11260    EAPI void         elm_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11261    /**
11262     * This moves the cursor to the end of the entry.
11263     *
11264     * @param obj The entry object
11265     */
11266    EAPI void         elm_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11267    /**
11268     * This moves the cursor to the beginning of the current line.
11269     *
11270     * @param obj The entry object
11271     */
11272    EAPI void         elm_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11273    /**
11274     * This moves the cursor to the end of the current line.
11275     *
11276     * @param obj The entry object
11277     */
11278    EAPI void         elm_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11279    /**
11280     * This begins a selection within the entry as though
11281     * the user were holding down the mouse button to make a selection.
11282     *
11283     * @param obj The entry object
11284     */
11285    EAPI void         elm_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
11286    /**
11287     * This ends a selection within the entry as though
11288     * the user had just released the mouse button while making a selection.
11289     *
11290     * @param obj The entry object
11291     */
11292    EAPI void         elm_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
11293    /**
11294     * Gets whether a format node exists at the current cursor position.
11295     *
11296     * A format node is anything that defines how the text is rendered. It can
11297     * be a visible format node, such as a line break or a paragraph separator,
11298     * or an invisible one, such as bold begin or end tag.
11299     * This function returns whether any format node exists at the current
11300     * cursor position.
11301     *
11302     * @param obj The entry object
11303     * @return EINA_TRUE if the current cursor position contains a format node,
11304     * EINA_FALSE otherwise.
11305     *
11306     * @see elm_entry_cursor_is_visible_format_get()
11307     */
11308    EAPI Eina_Bool    elm_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11309    /**
11310     * Gets if the current cursor position holds a visible format node.
11311     *
11312     * @param obj The entry object
11313     * @return EINA_TRUE if the current cursor is a visible format, EINA_FALSE
11314     * if it's an invisible one or no format exists.
11315     *
11316     * @see elm_entry_cursor_is_format_get()
11317     */
11318    EAPI Eina_Bool    elm_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11319    /**
11320     * Gets the character pointed by the cursor at its current position.
11321     *
11322     * This function returns a string with the utf8 character stored at the
11323     * current cursor position.
11324     * Only the text is returned, any format that may exist will not be part
11325     * of the return value.
11326     *
11327     * @param obj The entry object
11328     * @return The text pointed by the cursors.
11329     */
11330    EAPI const char  *elm_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11331    /**
11332     * This function returns the geometry of the cursor.
11333     *
11334     * It's useful if you want to draw something on the cursor (or where it is),
11335     * or for example in the case of scrolled entry where you want to show the
11336     * cursor.
11337     *
11338     * @param obj The entry object
11339     * @param x returned geometry
11340     * @param y returned geometry
11341     * @param w returned geometry
11342     * @param h returned geometry
11343     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11344     */
11345    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);
11346    /**
11347     * Sets the cursor position in the entry to the given value
11348     *
11349     * The value in @p pos is the index of the character position within the
11350     * contents of the string as returned by elm_entry_cursor_pos_get().
11351     *
11352     * @param obj The entry object
11353     * @param pos The position of the cursor
11354     */
11355    EAPI void         elm_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
11356    /**
11357     * Retrieves the current position of the cursor in the entry
11358     *
11359     * @param obj The entry object
11360     * @return The cursor position
11361     */
11362    EAPI int          elm_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11363    /**
11364     * This executes a "cut" action on the selected text in the entry.
11365     *
11366     * @param obj The entry object
11367     */
11368    EAPI void         elm_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
11369    /**
11370     * This executes a "copy" action on the selected text in the entry.
11371     *
11372     * @param obj The entry object
11373     */
11374    EAPI void         elm_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
11375    /**
11376     * This executes a "paste" action in the entry.
11377     *
11378     * @param obj The entry object
11379     */
11380    EAPI void         elm_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
11381    /**
11382     * This clears and frees the items in a entry's contextual (longpress)
11383     * menu.
11384     *
11385     * @param obj The entry object
11386     *
11387     * @see elm_entry_context_menu_item_add()
11388     */
11389    EAPI void         elm_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
11390    /**
11391     * This adds an item to the entry's contextual menu.
11392     *
11393     * A longpress on an entry will make the contextual menu show up, if this
11394     * hasn't been disabled with elm_entry_context_menu_disabled_set().
11395     * By default, this menu provides a few options like enabling selection mode,
11396     * which is useful on embedded devices that need to be explicit about it,
11397     * and when a selection exists it also shows the copy and cut actions.
11398     *
11399     * With this function, developers can add other options to this menu to
11400     * perform any action they deem necessary.
11401     *
11402     * @param obj The entry object
11403     * @param label The item's text label
11404     * @param icon_file The item's icon file
11405     * @param icon_type The item's icon type
11406     * @param func The callback to execute when the item is clicked
11407     * @param data The data to associate with the item for related functions
11408     */
11409    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);
11410    /**
11411     * This disables the entry's contextual (longpress) menu.
11412     *
11413     * @param obj The entry object
11414     * @param disabled If true, the menu is disabled
11415     */
11416    EAPI void         elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
11417    /**
11418     * This returns whether the entry's contextual (longpress) menu is
11419     * disabled.
11420     *
11421     * @param obj The entry object
11422     * @return If true, the menu is disabled
11423     */
11424    EAPI Eina_Bool    elm_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11425    /**
11426     * This appends a custom item provider to the list for that entry
11427     *
11428     * This appends the given callback. The list is walked from beginning to end
11429     * with each function called given the item href string in the text. If the
11430     * function returns an object handle other than NULL (it should create an
11431     * object to do this), then this object is used to replace that item. If
11432     * not the next provider is called until one provides an item object, or the
11433     * default provider in entry does.
11434     *
11435     * @param obj The entry object
11436     * @param func The function called to provide the item object
11437     * @param data The data passed to @p func
11438     *
11439     * @see @ref entry-items
11440     */
11441    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);
11442    /**
11443     * This prepends a custom item provider to the list for that entry
11444     *
11445     * This prepends the given callback. See elm_entry_item_provider_append() for
11446     * more information
11447     *
11448     * @param obj The entry object
11449     * @param func The function called to provide the item object
11450     * @param data The data passed to @p func
11451     */
11452    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);
11453    /**
11454     * This removes a custom item provider to the list for that entry
11455     *
11456     * This removes the given callback. See elm_entry_item_provider_append() for
11457     * more information
11458     *
11459     * @param obj The entry object
11460     * @param func The function called to provide the item object
11461     * @param data The data passed to @p func
11462     */
11463    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);
11464    /**
11465     * Append a filter function for text inserted in the entry
11466     *
11467     * Append the given callback to the list. This functions will be called
11468     * whenever any text is inserted into the entry, with the text to be inserted
11469     * as a parameter. The callback function is free to alter the text in any way
11470     * it wants, but it must remember to free the given pointer and update it.
11471     * If the new text is to be discarded, the function can free it and set its
11472     * text parameter to NULL. This will also prevent any following filters from
11473     * being called.
11474     *
11475     * @param obj The entry object
11476     * @param func The function to use as text filter
11477     * @param data User data to pass to @p func
11478     */
11479    EAPI void         elm_entry_text_filter_append(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11480    /**
11481     * Prepend a filter function for text insdrted in the entry
11482     *
11483     * Prepend the given callback to the list. See elm_entry_text_filter_append()
11484     * for more information
11485     *
11486     * @param obj The entry object
11487     * @param func The function to use as text filter
11488     * @param data User data to pass to @p func
11489     */
11490    EAPI void         elm_entry_text_filter_prepend(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11491    /**
11492     * Remove a filter from the list
11493     *
11494     * Removes the given callback from the filter list. See
11495     * elm_entry_text_filter_append() for more information.
11496     *
11497     * @param obj The entry object
11498     * @param func The filter function to remove
11499     * @param data The user data passed when adding the function
11500     */
11501    EAPI void         elm_entry_text_filter_remove(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11502    /**
11503     * This converts a markup (HTML-like) string into UTF-8.
11504     *
11505     * The returned string is a malloc'ed buffer and it should be freed when
11506     * not needed anymore.
11507     *
11508     * @param s The string (in markup) to be converted
11509     * @return The converted string (in UTF-8). It should be freed.
11510     */
11511    EAPI char        *elm_entry_markup_to_utf8(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
11512    /**
11513     * This converts a UTF-8 string into markup (HTML-like).
11514     *
11515     * The returned string is a malloc'ed buffer and it should be freed when
11516     * not needed anymore.
11517     *
11518     * @param s The string (in UTF-8) to be converted
11519     * @return The converted string (in markup). It should be freed.
11520     */
11521    EAPI char        *elm_entry_utf8_to_markup(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
11522    /**
11523     * This sets the file (and implicitly loads it) for the text to display and
11524     * then edit. All changes are written back to the file after a short delay if
11525     * the entry object is set to autosave (which is the default).
11526     *
11527     * If the entry had any other file set previously, any changes made to it
11528     * will be saved if the autosave feature is enabled, otherwise, the file
11529     * will be silently discarded and any non-saved changes will be lost.
11530     *
11531     * @param obj The entry object
11532     * @param file The path to the file to load and save
11533     * @param format The file format
11534     */
11535    EAPI void         elm_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
11536    /**
11537     * Gets the file being edited by the entry.
11538     *
11539     * This function can be used to retrieve any file set on the entry for
11540     * edition, along with the format used to load and save it.
11541     *
11542     * @param obj The entry object
11543     * @param file The path to the file to load and save
11544     * @param format The file format
11545     */
11546    EAPI void         elm_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
11547    /**
11548     * This function writes any changes made to the file set with
11549     * elm_entry_file_set()
11550     *
11551     * @param obj The entry object
11552     */
11553    EAPI void         elm_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
11554    /**
11555     * This sets the entry object to 'autosave' the loaded text file or not.
11556     *
11557     * @param obj The entry object
11558     * @param autosave Autosave the loaded file or not
11559     *
11560     * @see elm_entry_file_set()
11561     */
11562    EAPI void         elm_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
11563    /**
11564     * This gets the entry object's 'autosave' status.
11565     *
11566     * @param obj The entry object
11567     * @return Autosave the loaded file or not
11568     *
11569     * @see elm_entry_file_set()
11570     */
11571    EAPI Eina_Bool    elm_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11572    /**
11573     * Control pasting of text and images for the widget.
11574     *
11575     * Normally the entry allows both text and images to be pasted.  By setting
11576     * textonly to be true, this prevents images from being pasted.
11577     *
11578     * Note this only changes the behaviour of text.
11579     *
11580     * @param obj The entry object
11581     * @param textonly paste mode - EINA_TRUE is text only, EINA_FALSE is
11582     * text+image+other.
11583     */
11584    EAPI void         elm_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
11585    /**
11586     * Getting elm_entry text paste/drop mode.
11587     *
11588     * In textonly mode, only text may be pasted or dropped into the widget.
11589     *
11590     * @param obj The entry object
11591     * @return If the widget only accepts text from pastes.
11592     */
11593    EAPI Eina_Bool    elm_entry_cnp_textonly_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11594    /**
11595     * Enable or disable scrolling in entry
11596     *
11597     * Normally the entry is not scrollable unless you enable it with this call.
11598     *
11599     * @param obj The entry object
11600     * @param scroll EINA_TRUE if it is to be scrollable, EINA_FALSE otherwise
11601     */
11602    EAPI void         elm_entry_scrollable_set(Evas_Object *obj, Eina_Bool scroll);
11603    /**
11604     * Get the scrollable state of the entry
11605     *
11606     * Normally the entry is not scrollable. This gets the scrollable state
11607     * of the entry. See elm_entry_scrollable_set() for more information.
11608     *
11609     * @param obj The entry object
11610     * @return The scrollable state
11611     */
11612    EAPI Eina_Bool    elm_entry_scrollable_get(const Evas_Object *obj);
11613    /**
11614     * This sets a widget to be displayed to the left of a scrolled entry.
11615     *
11616     * @param obj The scrolled entry object
11617     * @param icon The widget to display on the left side of the scrolled
11618     * entry.
11619     *
11620     * @note A previously set widget will be destroyed.
11621     * @note If the object being set does not have minimum size hints set,
11622     * it won't get properly displayed.
11623     *
11624     * @see elm_entry_end_set()
11625     */
11626    EAPI void         elm_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
11627    /**
11628     * Gets the leftmost widget of the scrolled entry. This object is
11629     * owned by the scrolled entry and should not be modified.
11630     *
11631     * @param obj The scrolled entry object
11632     * @return the left widget inside the scroller
11633     */
11634    EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *obj);
11635    /**
11636     * Unset the leftmost widget of the scrolled entry, unparenting and
11637     * returning it.
11638     *
11639     * @param obj The scrolled entry object
11640     * @return the previously set icon sub-object of this entry, on
11641     * success.
11642     *
11643     * @see elm_entry_icon_set()
11644     */
11645    EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj);
11646    /**
11647     * Sets the visibility of the left-side widget of the scrolled entry,
11648     * set by elm_entry_icon_set().
11649     *
11650     * @param obj The scrolled entry object
11651     * @param setting EINA_TRUE if the object should be displayed,
11652     * EINA_FALSE if not.
11653     */
11654    EAPI void         elm_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
11655    /**
11656     * This sets a widget to be displayed to the end of a scrolled entry.
11657     *
11658     * @param obj The scrolled entry object
11659     * @param end The widget to display on the right side of the scrolled
11660     * entry.
11661     *
11662     * @note A previously set widget will be destroyed.
11663     * @note If the object being set does not have minimum size hints set,
11664     * it won't get properly displayed.
11665     *
11666     * @see elm_entry_icon_set
11667     */
11668    EAPI void         elm_entry_end_set(Evas_Object *obj, Evas_Object *end);
11669    /**
11670     * Gets the endmost widget of the scrolled entry. This object is owned
11671     * by the scrolled entry and should not be modified.
11672     *
11673     * @param obj The scrolled entry object
11674     * @return the right widget inside the scroller
11675     */
11676    EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj);
11677    /**
11678     * Unset the endmost widget of the scrolled entry, unparenting and
11679     * returning it.
11680     *
11681     * @param obj The scrolled entry object
11682     * @return the previously set icon sub-object of this entry, on
11683     * success.
11684     *
11685     * @see elm_entry_icon_set()
11686     */
11687    EAPI Evas_Object *elm_entry_end_unset(Evas_Object *obj);
11688    /**
11689     * Sets the visibility of the end widget of the scrolled entry, set by
11690     * elm_entry_end_set().
11691     *
11692     * @param obj The scrolled entry object
11693     * @param setting EINA_TRUE if the object should be displayed,
11694     * EINA_FALSE if not.
11695     */
11696    EAPI void         elm_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
11697    /**
11698     * This sets the scrolled entry's scrollbar policy (ie. enabling/disabling
11699     * them).
11700     *
11701     * Setting an entry to single-line mode with elm_entry_single_line_set()
11702     * will automatically disable the display of scrollbars when the entry
11703     * moves inside its scroller.
11704     *
11705     * @param obj The scrolled entry object
11706     * @param h The horizontal scrollbar policy to apply
11707     * @param v The vertical scrollbar policy to apply
11708     */
11709    EAPI void         elm_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
11710    /**
11711     * This enables/disables bouncing within the entry.
11712     *
11713     * This function sets whether the entry will bounce when scrolling reaches
11714     * the end of the contained entry.
11715     *
11716     * @param obj The scrolled entry object
11717     * @param h The horizontal bounce state
11718     * @param v The vertical bounce state
11719     */
11720    EAPI void         elm_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
11721    /**
11722     * Get the bounce mode
11723     *
11724     * @param obj The Entry object
11725     * @param h_bounce Allow bounce horizontally
11726     * @param v_bounce Allow bounce vertically
11727     */
11728    EAPI void         elm_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
11729
11730    /* pre-made filters for entries */
11731    /**
11732     * @typedef Elm_Entry_Filter_Limit_Size
11733     *
11734     * Data for the elm_entry_filter_limit_size() entry filter.
11735     */
11736    typedef struct _Elm_Entry_Filter_Limit_Size Elm_Entry_Filter_Limit_Size;
11737    /**
11738     * @struct _Elm_Entry_Filter_Limit_Size
11739     *
11740     * Data for the elm_entry_filter_limit_size() entry filter.
11741     */
11742    struct _Elm_Entry_Filter_Limit_Size
11743      {
11744         int max_char_count; /**< The maximum number of characters allowed. */
11745         int max_byte_count; /**< The maximum number of bytes allowed*/
11746      };
11747    /**
11748     * Filter inserted text based on user defined character and byte limits
11749     *
11750     * Add this filter to an entry to limit the characters that it will accept
11751     * based the the contents of the provided #Elm_Entry_Filter_Limit_Size.
11752     * The funtion works on the UTF-8 representation of the string, converting
11753     * it from the set markup, thus not accounting for any format in it.
11754     *
11755     * The user must create an #Elm_Entry_Filter_Limit_Size structure and pass
11756     * it as data when setting the filter. In it, it's possible to set limits
11757     * by character count or bytes (any of them is disabled if 0), and both can
11758     * be set at the same time. In that case, it first checks for characters,
11759     * then bytes.
11760     *
11761     * The function will cut the inserted text in order to allow only the first
11762     * number of characters that are still allowed. The cut is made in
11763     * characters, even when limiting by bytes, in order to always contain
11764     * valid ones and avoid half unicode characters making it in.
11765     *
11766     * This filter, like any others, does not apply when setting the entry text
11767     * directly with elm_object_text_set() (or the deprecated
11768     * elm_entry_entry_set()).
11769     */
11770    EAPI void         elm_entry_filter_limit_size(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 2, 3);
11771    /**
11772     * @typedef Elm_Entry_Filter_Accept_Set
11773     *
11774     * Data for the elm_entry_filter_accept_set() entry filter.
11775     */
11776    typedef struct _Elm_Entry_Filter_Accept_Set Elm_Entry_Filter_Accept_Set;
11777    /**
11778     * @struct _Elm_Entry_Filter_Accept_Set
11779     *
11780     * Data for the elm_entry_filter_accept_set() entry filter.
11781     */
11782    struct _Elm_Entry_Filter_Accept_Set
11783      {
11784         const char *accepted; /**< Set of characters accepted in the entry. */
11785         const char *rejected; /**< Set of characters rejected from the entry. */
11786      };
11787    /**
11788     * Filter inserted text based on accepted or rejected sets of characters
11789     *
11790     * Add this filter to an entry to restrict the set of accepted characters
11791     * based on the sets in the provided #Elm_Entry_Filter_Accept_Set.
11792     * This structure contains both accepted and rejected sets, but they are
11793     * mutually exclusive.
11794     *
11795     * The @c accepted set takes preference, so if it is set, the filter will
11796     * only work based on the accepted characters, ignoring anything in the
11797     * @c rejected value. If @c accepted is @c NULL, then @c rejected is used.
11798     *
11799     * In both cases, the function filters by matching utf8 characters to the
11800     * raw markup text, so it can be used to remove formatting tags.
11801     *
11802     * This filter, like any others, does not apply when setting the entry text
11803     * directly with elm_object_text_set() (or the deprecated
11804     * elm_entry_entry_set()).
11805     */
11806    EAPI void         elm_entry_filter_accept_set(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 3);
11807    /**
11808     * Set the input panel layout of the entry
11809     *
11810     * @param obj The entry object
11811     * @param layout layout type
11812     */
11813    EAPI void elm_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout) EINA_ARG_NONNULL(1);
11814    /**
11815     * Get the input panel layout of the entry
11816     *
11817     * @param obj The entry object
11818     * @return layout type
11819     *
11820     * @see elm_entry_input_panel_layout_set
11821     */
11822    EAPI Elm_Input_Panel_Layout elm_entry_input_panel_layout_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
11823    /**
11824     * Set the autocapitalization type on the immodule.
11825     *
11826     * @param obj The entry object
11827     * @param autocapital_type The type of autocapitalization
11828     */
11829    EAPI void         elm_entry_autocapital_type_set(Evas_Object *obj, Elm_Autocapital_Type autocapital_type) EINA_ARG_NONNULL(1);
11830    /**
11831     * Retrieve the autocapitalization type on the immodule.
11832     *
11833     * @param obj The entry object
11834     * @return autocapitalization type
11835     */
11836    EAPI Elm_Autocapital_Type elm_entry_autocapital_type_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
11837    /**
11838     * Sets the attribute to show the input panel automatically.
11839     *
11840     * @param obj The entry object
11841     * @param enabled If true, the input panel is appeared when entry is clicked or has a focus
11842     */
11843    EAPI void elm_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
11844    /**
11845     * Retrieve the attribute to show the input panel automatically.
11846     *
11847     * @param obj The entry object
11848     * @return EINA_TRUE if input panel will be appeared when the entry is clicked or has a focus, EINA_FALSE otherwise
11849     */
11850    EAPI Eina_Bool elm_entry_input_panel_enabled_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
11851
11852    /**
11853     * @}
11854     */
11855
11856    /* composite widgets - these basically put together basic widgets above
11857     * in convenient packages that do more than basic stuff */
11858
11859    /* anchorview */
11860    /**
11861     * @defgroup Anchorview Anchorview
11862     *
11863     * @image html img/widget/anchorview/preview-00.png
11864     * @image latex img/widget/anchorview/preview-00.eps
11865     *
11866     * Anchorview is for displaying text that contains markup with anchors
11867     * like <c>\<a href=1234\>something\</\></c> in it.
11868     *
11869     * Besides being styled differently, the anchorview widget provides the
11870     * necessary functionality so that clicking on these anchors brings up a
11871     * popup with user defined content such as "call", "add to contacts" or
11872     * "open web page". This popup is provided using the @ref Hover widget.
11873     *
11874     * This widget is very similar to @ref Anchorblock, so refer to that
11875     * widget for an example. The only difference Anchorview has is that the
11876     * widget is already provided with scrolling functionality, so if the
11877     * text set to it is too large to fit in the given space, it will scroll,
11878     * whereas the @ref Anchorblock widget will keep growing to ensure all the
11879     * text can be displayed.
11880     *
11881     * This widget emits the following signals:
11882     * @li "anchor,clicked": will be called when an anchor is clicked. The
11883     * @p event_info parameter on the callback will be a pointer of type
11884     * ::Elm_Entry_Anchorview_Info.
11885     *
11886     * See @ref Anchorblock for an example on how to use both of them.
11887     *
11888     * @see Anchorblock
11889     * @see Entry
11890     * @see Hover
11891     *
11892     * @{
11893     */
11894    /**
11895     * @typedef Elm_Entry_Anchorview_Info
11896     *
11897     * The info sent in the callback for "anchor,clicked" signals emitted by
11898     * the Anchorview widget.
11899     */
11900    typedef struct _Elm_Entry_Anchorview_Info Elm_Entry_Anchorview_Info;
11901    /**
11902     * @struct _Elm_Entry_Anchorview_Info
11903     *
11904     * The info sent in the callback for "anchor,clicked" signals emitted by
11905     * the Anchorview widget.
11906     */
11907    struct _Elm_Entry_Anchorview_Info
11908      {
11909         const char     *name; /**< Name of the anchor, as indicated in its href
11910                                    attribute */
11911         int             button; /**< The mouse button used to click on it */
11912         Evas_Object    *hover; /**< The hover object to use for the popup */
11913         struct {
11914              Evas_Coord    x, y, w, h;
11915         } anchor, /**< Geometry selection of text used as anchor */
11916           hover_parent; /**< Geometry of the object used as parent by the
11917                              hover */
11918         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
11919                                              for content on the left side of
11920                                              the hover. Before calling the
11921                                              callback, the widget will make the
11922                                              necessary calculations to check
11923                                              which sides are fit to be set with
11924                                              content, based on the position the
11925                                              hover is activated and its distance
11926                                              to the edges of its parent object
11927                                              */
11928         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
11929                                               the right side of the hover.
11930                                               See @ref hover_left */
11931         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
11932                                             of the hover. See @ref hover_left */
11933         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
11934                                                below the hover. See @ref
11935                                                hover_left */
11936      };
11937    /**
11938     * Add a new Anchorview object
11939     *
11940     * @param parent The parent object
11941     * @return The new object or NULL if it cannot be created
11942     */
11943    EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
11944    /**
11945     * Set the text to show in the anchorview
11946     *
11947     * Sets the text of the anchorview to @p text. This text can include markup
11948     * format tags, including <c>\<a href=anchorname\></c> to begin a segment of
11949     * text that will be specially styled and react to click events, ended with
11950     * either of \</a\> or \</\>. When clicked, the anchor will emit an
11951     * "anchor,clicked" signal that you can attach a callback to with
11952     * evas_object_smart_callback_add(). The name of the anchor given in the
11953     * event info struct will be the one set in the href attribute, in this
11954     * case, anchorname.
11955     *
11956     * Other markup can be used to style the text in different ways, but it's
11957     * up to the style defined in the theme which tags do what.
11958     * @deprecated use elm_object_text_set() instead.
11959     */
11960    EINA_DEPRECATED EAPI void         elm_anchorview_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
11961    /**
11962     * Get the markup text set for the anchorview
11963     *
11964     * Retrieves the text set on the anchorview, with markup tags included.
11965     *
11966     * @param obj The anchorview object
11967     * @return The markup text set or @c NULL if nothing was set or an error
11968     * occurred
11969     * @deprecated use elm_object_text_set() instead.
11970     */
11971    EINA_DEPRECATED EAPI const char  *elm_anchorview_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11972    /**
11973     * Set the parent of the hover popup
11974     *
11975     * Sets the parent object to use by the hover created by the anchorview
11976     * when an anchor is clicked. See @ref Hover for more details on this.
11977     * If no parent is set, the same anchorview object will be used.
11978     *
11979     * @param obj The anchorview object
11980     * @param parent The object to use as parent for the hover
11981     */
11982    EAPI void         elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
11983    /**
11984     * Get the parent of the hover popup
11985     *
11986     * Get the object used as parent for the hover created by the anchorview
11987     * widget. See @ref Hover for more details on this.
11988     *
11989     * @param obj The anchorview object
11990     * @return The object used as parent for the hover, NULL if none is set.
11991     */
11992    EAPI Evas_Object *elm_anchorview_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11993    /**
11994     * Set the style that the hover should use
11995     *
11996     * When creating the popup hover, anchorview will request that it's
11997     * themed according to @p style.
11998     *
11999     * @param obj The anchorview object
12000     * @param style The style to use for the underlying hover
12001     *
12002     * @see elm_object_style_set()
12003     */
12004    EAPI void         elm_anchorview_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
12005    /**
12006     * Get the style that the hover should use
12007     *
12008     * Get the style the hover created by anchorview will use.
12009     *
12010     * @param obj The anchorview object
12011     * @return The style to use by the hover. NULL means the default is used.
12012     *
12013     * @see elm_object_style_set()
12014     */
12015    EAPI const char  *elm_anchorview_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12016    /**
12017     * Ends the hover popup in the anchorview
12018     *
12019     * When an anchor is clicked, the anchorview widget will create a hover
12020     * object to use as a popup with user provided content. This function
12021     * terminates this popup, returning the anchorview to its normal state.
12022     *
12023     * @param obj The anchorview object
12024     */
12025    EAPI void         elm_anchorview_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
12026    /**
12027     * Set bouncing behaviour when the scrolled content reaches an edge
12028     *
12029     * Tell the internal scroller object whether it should bounce or not
12030     * when it reaches the respective edges for each axis.
12031     *
12032     * @param obj The anchorview object
12033     * @param h_bounce Whether to bounce or not in the horizontal axis
12034     * @param v_bounce Whether to bounce or not in the vertical axis
12035     *
12036     * @see elm_scroller_bounce_set()
12037     */
12038    EAPI void         elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
12039    /**
12040     * Get the set bouncing behaviour of the internal scroller
12041     *
12042     * Get whether the internal scroller should bounce when the edge of each
12043     * axis is reached scrolling.
12044     *
12045     * @param obj The anchorview object
12046     * @param h_bounce Pointer where to store the bounce state of the horizontal
12047     *                 axis
12048     * @param v_bounce Pointer where to store the bounce state of the vertical
12049     *                 axis
12050     *
12051     * @see elm_scroller_bounce_get()
12052     */
12053    EAPI void         elm_anchorview_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
12054    /**
12055     * Appends a custom item provider to the given anchorview
12056     *
12057     * Appends the given function to the list of items providers. This list is
12058     * called, one function at a time, with the given @p data pointer, the
12059     * anchorview object and, in the @p item parameter, the item name as
12060     * referenced in its href string. Following functions in the list will be
12061     * called in order until one of them returns something different to NULL,
12062     * which should be an Evas_Object which will be used in place of the item
12063     * element.
12064     *
12065     * Items in the markup text take the form \<item relsize=16x16 vsize=full
12066     * href=item/name\>\</item\>
12067     *
12068     * @param obj The anchorview object
12069     * @param func The function to add to the list of providers
12070     * @param data User data that will be passed to the callback function
12071     *
12072     * @see elm_entry_item_provider_append()
12073     */
12074    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);
12075    /**
12076     * Prepend a custom item provider to the given anchorview
12077     *
12078     * Like elm_anchorview_item_provider_append(), but it adds the function
12079     * @p func to the beginning of the list, instead of the end.
12080     *
12081     * @param obj The anchorview object
12082     * @param func The function to add to the list of providers
12083     * @param data User data that will be passed to the callback function
12084     */
12085    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);
12086    /**
12087     * Remove a custom item provider from the list of the given anchorview
12088     *
12089     * Removes the function and data pairing that matches @p func and @p data.
12090     * That is, unless the same function and same user data are given, the
12091     * function will not be removed from the list. This allows us to add the
12092     * same callback several times, with different @p data pointers and be
12093     * able to remove them later without conflicts.
12094     *
12095     * @param obj The anchorview object
12096     * @param func The function to remove from the list
12097     * @param data The data matching the function to remove from the list
12098     */
12099    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);
12100    /**
12101     * @}
12102     */
12103
12104    /* anchorblock */
12105    /**
12106     * @defgroup Anchorblock Anchorblock
12107     *
12108     * @image html img/widget/anchorblock/preview-00.png
12109     * @image latex img/widget/anchorblock/preview-00.eps
12110     *
12111     * Anchorblock is for displaying text that contains markup with anchors
12112     * like <c>\<a href=1234\>something\</\></c> in it.
12113     *
12114     * Besides being styled differently, the anchorblock widget provides the
12115     * necessary functionality so that clicking on these anchors brings up a
12116     * popup with user defined content such as "call", "add to contacts" or
12117     * "open web page". This popup is provided using the @ref Hover widget.
12118     *
12119     * This widget emits the following signals:
12120     * @li "anchor,clicked": will be called when an anchor is clicked. The
12121     * @p event_info parameter on the callback will be a pointer of type
12122     * ::Elm_Entry_Anchorblock_Info.
12123     *
12124     * @see Anchorview
12125     * @see Entry
12126     * @see Hover
12127     *
12128     * Since examples are usually better than plain words, we might as well
12129     * try @ref tutorial_anchorblock_example "one".
12130     */
12131    /**
12132     * @addtogroup Anchorblock
12133     * @{
12134     */
12135    /**
12136     * @typedef Elm_Entry_Anchorblock_Info
12137     *
12138     * The info sent in the callback for "anchor,clicked" signals emitted by
12139     * the Anchorblock widget.
12140     */
12141    typedef struct _Elm_Entry_Anchorblock_Info Elm_Entry_Anchorblock_Info;
12142    /**
12143     * @struct _Elm_Entry_Anchorblock_Info
12144     *
12145     * The info sent in the callback for "anchor,clicked" signals emitted by
12146     * the Anchorblock widget.
12147     */
12148    struct _Elm_Entry_Anchorblock_Info
12149      {
12150         const char     *name; /**< Name of the anchor, as indicated in its href
12151                                    attribute */
12152         int             button; /**< The mouse button used to click on it */
12153         Evas_Object    *hover; /**< The hover object to use for the popup */
12154         struct {
12155              Evas_Coord    x, y, w, h;
12156         } anchor, /**< Geometry selection of text used as anchor */
12157           hover_parent; /**< Geometry of the object used as parent by the
12158                              hover */
12159         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
12160                                              for content on the left side of
12161                                              the hover. Before calling the
12162                                              callback, the widget will make the
12163                                              necessary calculations to check
12164                                              which sides are fit to be set with
12165                                              content, based on the position the
12166                                              hover is activated and its distance
12167                                              to the edges of its parent object
12168                                              */
12169         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
12170                                               the right side of the hover.
12171                                               See @ref hover_left */
12172         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
12173                                             of the hover. See @ref hover_left */
12174         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
12175                                                below the hover. See @ref
12176                                                hover_left */
12177      };
12178    /**
12179     * Add a new Anchorblock object
12180     *
12181     * @param parent The parent object
12182     * @return The new object or NULL if it cannot be created
12183     */
12184    EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12185    /**
12186     * Set the text to show in the anchorblock
12187     *
12188     * Sets the text of the anchorblock to @p text. This text can include markup
12189     * format tags, including <c>\<a href=anchorname\></a></c> to begin a segment
12190     * of text that will be specially styled and react to click events, ended
12191     * with either of \</a\> or \</\>. When clicked, the anchor will emit an
12192     * "anchor,clicked" signal that you can attach a callback to with
12193     * evas_object_smart_callback_add(). The name of the anchor given in the
12194     * event info struct will be the one set in the href attribute, in this
12195     * case, anchorname.
12196     *
12197     * Other markup can be used to style the text in different ways, but it's
12198     * up to the style defined in the theme which tags do what.
12199     * @deprecated use elm_object_text_set() instead.
12200     */
12201    EINA_DEPRECATED EAPI void         elm_anchorblock_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
12202    /**
12203     * Get the markup text set for the anchorblock
12204     *
12205     * Retrieves the text set on the anchorblock, with markup tags included.
12206     *
12207     * @param obj The anchorblock object
12208     * @return The markup text set or @c NULL if nothing was set or an error
12209     * occurred
12210     * @deprecated use elm_object_text_set() instead.
12211     */
12212    EINA_DEPRECATED EAPI const char  *elm_anchorblock_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12213    /**
12214     * Set the parent of the hover popup
12215     *
12216     * Sets the parent object to use by the hover created by the anchorblock
12217     * when an anchor is clicked. See @ref Hover for more details on this.
12218     *
12219     * @param obj The anchorblock object
12220     * @param parent The object to use as parent for the hover
12221     */
12222    EAPI void         elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
12223    /**
12224     * Get the parent of the hover popup
12225     *
12226     * Get the object used as parent for the hover created by the anchorblock
12227     * widget. See @ref Hover for more details on this.
12228     * If no parent is set, the same anchorblock object will be used.
12229     *
12230     * @param obj The anchorblock object
12231     * @return The object used as parent for the hover, NULL if none is set.
12232     */
12233    EAPI Evas_Object *elm_anchorblock_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12234    /**
12235     * Set the style that the hover should use
12236     *
12237     * When creating the popup hover, anchorblock will request that it's
12238     * themed according to @p style.
12239     *
12240     * @param obj The anchorblock object
12241     * @param style The style to use for the underlying hover
12242     *
12243     * @see elm_object_style_set()
12244     */
12245    EAPI void         elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
12246    /**
12247     * Get the style that the hover should use
12248     *
12249     * Get the style, the hover created by anchorblock will use.
12250     *
12251     * @param obj The anchorblock object
12252     * @return The style to use by the hover. NULL means the default is used.
12253     *
12254     * @see elm_object_style_set()
12255     */
12256    EAPI const char  *elm_anchorblock_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12257    /**
12258     * Ends the hover popup in the anchorblock
12259     *
12260     * When an anchor is clicked, the anchorblock widget will create a hover
12261     * object to use as a popup with user provided content. This function
12262     * terminates this popup, returning the anchorblock to its normal state.
12263     *
12264     * @param obj The anchorblock object
12265     */
12266    EAPI void         elm_anchorblock_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
12267    /**
12268     * Appends a custom item provider to the given anchorblock
12269     *
12270     * Appends the given function to the list of items providers. This list is
12271     * called, one function at a time, with the given @p data pointer, the
12272     * anchorblock object and, in the @p item parameter, the item name as
12273     * referenced in its href string. Following functions in the list will be
12274     * called in order until one of them returns something different to NULL,
12275     * which should be an Evas_Object which will be used in place of the item
12276     * element.
12277     *
12278     * Items in the markup text take the form \<item relsize=16x16 vsize=full
12279     * href=item/name\>\</item\>
12280     *
12281     * @param obj The anchorblock object
12282     * @param func The function to add to the list of providers
12283     * @param data User data that will be passed to the callback function
12284     *
12285     * @see elm_entry_item_provider_append()
12286     */
12287    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);
12288    /**
12289     * Prepend a custom item provider to the given anchorblock
12290     *
12291     * Like elm_anchorblock_item_provider_append(), but it adds the function
12292     * @p func to the beginning of the list, instead of the end.
12293     *
12294     * @param obj The anchorblock object
12295     * @param func The function to add to the list of providers
12296     * @param data User data that will be passed to the callback function
12297     */
12298    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);
12299    /**
12300     * Remove a custom item provider from the list of the given anchorblock
12301     *
12302     * Removes the function and data pairing that matches @p func and @p data.
12303     * That is, unless the same function and same user data are given, the
12304     * function will not be removed from the list. This allows us to add the
12305     * same callback several times, with different @p data pointers and be
12306     * able to remove them later without conflicts.
12307     *
12308     * @param obj The anchorblock object
12309     * @param func The function to remove from the list
12310     * @param data The data matching the function to remove from the list
12311     */
12312    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);
12313    /**
12314     * @}
12315     */
12316
12317    /**
12318     * @defgroup Bubble Bubble
12319     *
12320     * @image html img/widget/bubble/preview-00.png
12321     * @image latex img/widget/bubble/preview-00.eps
12322     * @image html img/widget/bubble/preview-01.png
12323     * @image latex img/widget/bubble/preview-01.eps
12324     * @image html img/widget/bubble/preview-02.png
12325     * @image latex img/widget/bubble/preview-02.eps
12326     *
12327     * @brief The Bubble is a widget to show text similar to how speech is
12328     * represented in comics.
12329     *
12330     * The bubble widget contains 5 important visual elements:
12331     * @li The frame is a rectangle with rounded edjes and an "arrow".
12332     * @li The @p icon is an image to which the frame's arrow points to.
12333     * @li The @p label is a text which appears to the right of the icon if the
12334     * corner is "top_left" or "bottom_left" and is right aligned to the frame
12335     * otherwise.
12336     * @li The @p info is a text which appears to the right of the label. Info's
12337     * font is of a ligther color than label.
12338     * @li The @p content is an evas object that is shown inside the frame.
12339     *
12340     * The position of the arrow, icon, label and info depends on which corner is
12341     * selected. The four available corners are:
12342     * @li "top_left" - Default
12343     * @li "top_right"
12344     * @li "bottom_left"
12345     * @li "bottom_right"
12346     *
12347     * Signals that you can add callbacks for are:
12348     * @li "clicked" - This is called when a user has clicked the bubble.
12349     *
12350     * For an example of using a buble see @ref bubble_01_example_page "this".
12351     *
12352     * @{
12353     */
12354    /**
12355     * Add a new bubble to the parent
12356     *
12357     * @param parent The parent object
12358     * @return The new object or NULL if it cannot be created
12359     *
12360     * This function adds a text bubble to the given parent evas object.
12361     */
12362    EAPI Evas_Object *elm_bubble_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12363    /**
12364     * Set the label of the bubble
12365     *
12366     * @param obj The bubble object
12367     * @param label The string to set in the label
12368     *
12369     * This function sets the title of the bubble. Where this appears depends on
12370     * the selected corner.
12371     * @deprecated use elm_object_text_set() instead.
12372     */
12373    EINA_DEPRECATED EAPI void         elm_bubble_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
12374    /**
12375     * Get the label of the bubble
12376     *
12377     * @param obj The bubble object
12378     * @return The string of set in the label
12379     *
12380     * This function gets the title of the bubble.
12381     * @deprecated use elm_object_text_get() instead.
12382     */
12383    EINA_DEPRECATED EAPI const char  *elm_bubble_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12384    /**
12385     * Set the info of the bubble
12386     *
12387     * @param obj The bubble object
12388     * @param info The given info about the bubble
12389     *
12390     * This function sets the info of the bubble. Where this appears depends on
12391     * the selected corner.
12392     * @deprecated use elm_object_text_part_set() instead. (with "info" as the parameter).
12393     */
12394    EINA_DEPRECATED EAPI void         elm_bubble_info_set(Evas_Object *obj, const char *info) EINA_ARG_NONNULL(1);
12395    /**
12396     * Get the info of the bubble
12397     *
12398     * @param obj The bubble object
12399     *
12400     * @return The "info" string of the bubble
12401     *
12402     * This function gets the info text.
12403     * @deprecated use elm_object_text_part_get() instead. (with "info" as the parameter).
12404     */
12405    EINA_DEPRECATED EAPI const char  *elm_bubble_info_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12406    /**
12407     * Set the content to be shown in the bubble
12408     *
12409     * Once the content object is set, a previously set one will be deleted.
12410     * If you want to keep the old content object, use the
12411     * elm_bubble_content_unset() function.
12412     *
12413     * @param obj The bubble object
12414     * @param content The given content of the bubble
12415     *
12416     * This function sets the content shown on the middle of the bubble.
12417     */
12418    EAPI void         elm_bubble_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
12419    /**
12420     * Get the content shown in the bubble
12421     *
12422     * Return the content object which is set for this widget.
12423     *
12424     * @param obj The bubble object
12425     * @return The content that is being used
12426     */
12427    EAPI Evas_Object *elm_bubble_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12428    /**
12429     * Unset the content shown in the bubble
12430     *
12431     * Unparent and return the content object which was set for this widget.
12432     *
12433     * @param obj The bubble object
12434     * @return The content that was being used
12435     */
12436    EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
12437    /**
12438     * Set the icon of the bubble
12439     *
12440     * Once the icon object is set, a previously set one will be deleted.
12441     * If you want to keep the old content object, use the
12442     * elm_icon_content_unset() function.
12443     *
12444     * @param obj The bubble object
12445     * @param icon The given icon for the bubble
12446     */
12447    EAPI void         elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
12448    /**
12449     * Get the icon of the bubble
12450     *
12451     * @param obj The bubble object
12452     * @return The icon for the bubble
12453     *
12454     * This function gets the icon shown on the top left of bubble.
12455     */
12456    EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12457    /**
12458     * Unset the icon of the bubble
12459     *
12460     * Unparent and return the icon object which was set for this widget.
12461     *
12462     * @param obj The bubble object
12463     * @return The icon that was being used
12464     */
12465    EAPI Evas_Object *elm_bubble_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
12466    /**
12467     * Set the corner of the bubble
12468     *
12469     * @param obj The bubble object.
12470     * @param corner The given corner for the bubble.
12471     *
12472     * This function sets the corner of the bubble. The corner will be used to
12473     * determine where the arrow in the frame points to and where label, icon and
12474     * info are shown.
12475     *
12476     * Possible values for corner are:
12477     * @li "top_left" - Default
12478     * @li "top_right"
12479     * @li "bottom_left"
12480     * @li "bottom_right"
12481     */
12482    EAPI void         elm_bubble_corner_set(Evas_Object *obj, const char *corner) EINA_ARG_NONNULL(1, 2);
12483    /**
12484     * Get the corner of the bubble
12485     *
12486     * @param obj The bubble object.
12487     * @return The given corner for the bubble.
12488     *
12489     * This function gets the selected corner of the bubble.
12490     */
12491    EAPI const char  *elm_bubble_corner_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12492    /**
12493     * @}
12494     */
12495
12496    /**
12497     * @defgroup Photo Photo
12498     *
12499     * For displaying the photo of a person (contact). Simple, yet
12500     * with a very specific purpose.
12501     *
12502     * Signals that you can add callbacks for are:
12503     *
12504     * "clicked" - This is called when a user has clicked the photo
12505     * "drag,start" - Someone started dragging the image out of the object
12506     * "drag,end" - Dragged item was dropped (somewhere)
12507     *
12508     * @{
12509     */
12510
12511    /**
12512     * Add a new photo to the parent
12513     *
12514     * @param parent The parent object
12515     * @return The new object or NULL if it cannot be created
12516     *
12517     * @ingroup Photo
12518     */
12519    EAPI Evas_Object *elm_photo_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12520
12521    /**
12522     * Set the file that will be used as photo
12523     *
12524     * @param obj The photo object
12525     * @param file The path to file that will be used as photo
12526     *
12527     * @return (1 = success, 0 = error)
12528     *
12529     * @ingroup Photo
12530     */
12531    EAPI Eina_Bool    elm_photo_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
12532
12533     /**
12534     * Set the file that will be used as thumbnail in the photo.
12535     *
12536     * @param obj The photo object.
12537     * @param file The path to file that will be used as thumb.
12538     * @param group The key used in case of an EET file.
12539     *
12540     * @ingroup Photo
12541     */
12542    EAPI void         elm_photo_thumb_set(const Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
12543
12544    /**
12545     * Set the size that will be used on the photo
12546     *
12547     * @param obj The photo object
12548     * @param size The size that the photo will be
12549     *
12550     * @ingroup Photo
12551     */
12552    EAPI void         elm_photo_size_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
12553
12554    /**
12555     * Set if the photo should be completely visible or not.
12556     *
12557     * @param obj The photo object
12558     * @param fill if true the photo will be completely visible
12559     *
12560     * @ingroup Photo
12561     */
12562    EAPI void         elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill) EINA_ARG_NONNULL(1);
12563
12564    /**
12565     * Set editability of the photo.
12566     *
12567     * An editable photo can be dragged to or from, and can be cut or
12568     * pasted too.  Note that pasting an image or dropping an item on
12569     * the image will delete the existing content.
12570     *
12571     * @param obj The photo object.
12572     * @param set To set of clear editablity.
12573     */
12574    EAPI void         elm_photo_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
12575
12576    /**
12577     * @}
12578     */
12579
12580    /* gesture layer */
12581    /**
12582     * @defgroup Elm_Gesture_Layer Gesture Layer
12583     * Gesture Layer Usage:
12584     *
12585     * Use Gesture Layer to detect gestures.
12586     * The advantage is that you don't have to implement
12587     * gesture detection, just set callbacks of gesture state.
12588     * By using gesture layer we make standard interface.
12589     *
12590     * In order to use Gesture Layer you start with @ref elm_gesture_layer_add
12591     * with a parent object parameter.
12592     * Next 'activate' gesture layer with a @ref elm_gesture_layer_attach
12593     * call. Usually with same object as target (2nd parameter).
12594     *
12595     * Now you need to tell gesture layer what gestures you follow.
12596     * This is done with @ref elm_gesture_layer_cb_set call.
12597     * By setting the callback you actually saying to gesture layer:
12598     * I would like to know when the gesture @ref Elm_Gesture_Types
12599     * switches to state @ref Elm_Gesture_State.
12600     *
12601     * Next, you need to implement the actual action that follows the input
12602     * in your callback.
12603     *
12604     * Note that if you like to stop being reported about a gesture, just set
12605     * all callbacks referring this gesture to NULL.
12606     * (again with @ref elm_gesture_layer_cb_set)
12607     *
12608     * The information reported by gesture layer to your callback is depending
12609     * on @ref Elm_Gesture_Types:
12610     * @ref Elm_Gesture_Taps_Info is the info reported for tap gestures:
12611     * @ref ELM_GESTURE_N_TAPS, @ref ELM_GESTURE_N_LONG_TAPS,
12612     * @ref ELM_GESTURE_N_DOUBLE_TAPS, @ref ELM_GESTURE_N_TRIPLE_TAPS.
12613     *
12614     * @ref Elm_Gesture_Momentum_Info is info reported for momentum gestures:
12615     * @ref ELM_GESTURE_MOMENTUM.
12616     *
12617     * @ref Elm_Gesture_Line_Info is the info reported for line gestures:
12618     * (this also contains @ref Elm_Gesture_Momentum_Info internal structure)
12619     * @ref ELM_GESTURE_N_LINES, @ref ELM_GESTURE_N_FLICKS.
12620     * Note that we consider a flick as a line-gesture that should be completed
12621     * in flick-time-limit as defined in @ref Config.
12622     *
12623     * @ref Elm_Gesture_Zoom_Info is the info reported for @ref ELM_GESTURE_ZOOM gesture.
12624     *
12625     * @ref Elm_Gesture_Rotate_Info is the info reported for @ref ELM_GESTURE_ROTATE gesture.
12626     *
12627     *
12628     * Gesture Layer Tweaks:
12629     *
12630     * Note that line, flick, gestures can start without the need to remove fingers from surface.
12631     * When user fingers rests on same-spot gesture is ended and starts again when fingers moved.
12632     *
12633     * Setting glayer_continues_enable to false in @ref Config will change this behavior
12634     * so gesture starts when user touches (a *DOWN event) touch-surface
12635     * and ends when no fingers touches surface (a *UP event).
12636     */
12637
12638    /**
12639     * @enum _Elm_Gesture_Types
12640     * Enum of supported gesture types.
12641     * @ingroup Elm_Gesture_Layer
12642     */
12643    enum _Elm_Gesture_Types
12644      {
12645         ELM_GESTURE_FIRST = 0,
12646
12647         ELM_GESTURE_N_TAPS, /**< N fingers single taps */
12648         ELM_GESTURE_N_LONG_TAPS, /**< N fingers single long-taps */
12649         ELM_GESTURE_N_DOUBLE_TAPS, /**< N fingers double-single taps */
12650         ELM_GESTURE_N_TRIPLE_TAPS, /**< N fingers triple-single taps */
12651
12652         ELM_GESTURE_MOMENTUM, /**< Reports momentum in the dircetion of move */
12653
12654         ELM_GESTURE_N_LINES, /**< N fingers line gesture */
12655         ELM_GESTURE_N_FLICKS, /**< N fingers flick gesture */
12656
12657         ELM_GESTURE_ZOOM, /**< Zoom */
12658         ELM_GESTURE_ROTATE, /**< Rotate */
12659
12660         ELM_GESTURE_LAST
12661      };
12662
12663    /**
12664     * @typedef Elm_Gesture_Types
12665     * gesture types enum
12666     * @ingroup Elm_Gesture_Layer
12667     */
12668    typedef enum _Elm_Gesture_Types Elm_Gesture_Types;
12669
12670    /**
12671     * @enum _Elm_Gesture_State
12672     * Enum of gesture states.
12673     * @ingroup Elm_Gesture_Layer
12674     */
12675    enum _Elm_Gesture_State
12676      {
12677         ELM_GESTURE_STATE_UNDEFINED = -1, /**< Gesture not STARTed */
12678         ELM_GESTURE_STATE_START,          /**< Gesture STARTed     */
12679         ELM_GESTURE_STATE_MOVE,           /**< Gesture is ongoing  */
12680         ELM_GESTURE_STATE_END,            /**< Gesture completed   */
12681         ELM_GESTURE_STATE_ABORT    /**< Onging gesture was ABORTed */
12682      };
12683
12684    /**
12685     * @typedef Elm_Gesture_State
12686     * gesture states enum
12687     * @ingroup Elm_Gesture_Layer
12688     */
12689    typedef enum _Elm_Gesture_State Elm_Gesture_State;
12690
12691    /**
12692     * @struct _Elm_Gesture_Taps_Info
12693     * Struct holds taps info for user
12694     * @ingroup Elm_Gesture_Layer
12695     */
12696    struct _Elm_Gesture_Taps_Info
12697      {
12698         Evas_Coord x, y;         /**< Holds center point between fingers */
12699         unsigned int n;          /**< Number of fingers tapped           */
12700         unsigned int timestamp;  /**< event timestamp       */
12701      };
12702
12703    /**
12704     * @typedef Elm_Gesture_Taps_Info
12705     * holds taps info for user
12706     * @ingroup Elm_Gesture_Layer
12707     */
12708    typedef struct _Elm_Gesture_Taps_Info Elm_Gesture_Taps_Info;
12709
12710    /**
12711     * @struct _Elm_Gesture_Momentum_Info
12712     * Struct holds momentum info for user
12713     * x1 and y1 are not necessarily in sync
12714     * x1 holds x value of x direction starting point
12715     * and same holds for y1.
12716     * This is noticeable when doing V-shape movement
12717     * @ingroup Elm_Gesture_Layer
12718     */
12719    struct _Elm_Gesture_Momentum_Info
12720      {  /* Report line ends, timestamps, and momentum computed        */
12721         Evas_Coord x1; /**< Final-swipe direction starting point on X */
12722         Evas_Coord y1; /**< Final-swipe direction starting point on Y */
12723         Evas_Coord x2; /**< Final-swipe direction ending point on X   */
12724         Evas_Coord y2; /**< Final-swipe direction ending point on Y   */
12725
12726         unsigned int tx; /**< Timestamp of start of final x-swipe */
12727         unsigned int ty; /**< Timestamp of start of final y-swipe */
12728
12729         Evas_Coord mx; /**< Momentum on X */
12730         Evas_Coord my; /**< Momentum on Y */
12731
12732         unsigned int n;  /**< Number of fingers */
12733      };
12734
12735    /**
12736     * @typedef Elm_Gesture_Momentum_Info
12737     * holds momentum info for user
12738     * @ingroup Elm_Gesture_Layer
12739     */
12740     typedef struct _Elm_Gesture_Momentum_Info Elm_Gesture_Momentum_Info;
12741
12742    /**
12743     * @struct _Elm_Gesture_Line_Info
12744     * Struct holds line info for user
12745     * @ingroup Elm_Gesture_Layer
12746     */
12747    struct _Elm_Gesture_Line_Info
12748      {  /* Report line ends, timestamps, and momentum computed      */
12749         Elm_Gesture_Momentum_Info momentum; /**< Line momentum info */
12750         /* FIXME should be radians, bot degrees */
12751         double angle;              /**< Angle (direction) of lines  */
12752      };
12753
12754    /**
12755     * @typedef Elm_Gesture_Line_Info
12756     * Holds line info for user
12757     * @ingroup Elm_Gesture_Layer
12758     */
12759     typedef struct  _Elm_Gesture_Line_Info Elm_Gesture_Line_Info;
12760
12761    /**
12762     * @struct _Elm_Gesture_Zoom_Info
12763     * Struct holds zoom info for user
12764     * @ingroup Elm_Gesture_Layer
12765     */
12766    struct _Elm_Gesture_Zoom_Info
12767      {
12768         Evas_Coord x, y;       /**< Holds zoom center point reported to user  */
12769         Evas_Coord radius; /**< Holds radius between fingers reported to user */
12770         double zoom;            /**< Zoom value: 1.0 means no zoom             */
12771         double momentum;        /**< Zoom momentum: zoom growth per second (NOT YET SUPPORTED) */
12772      };
12773
12774    /**
12775     * @typedef Elm_Gesture_Zoom_Info
12776     * Holds zoom info for user
12777     * @ingroup Elm_Gesture_Layer
12778     */
12779    typedef struct _Elm_Gesture_Zoom_Info Elm_Gesture_Zoom_Info;
12780
12781    /**
12782     * @struct _Elm_Gesture_Rotate_Info
12783     * Struct holds rotation info for user
12784     * @ingroup Elm_Gesture_Layer
12785     */
12786    struct _Elm_Gesture_Rotate_Info
12787      {
12788         Evas_Coord x, y;   /**< Holds zoom center point reported to user      */
12789         Evas_Coord radius; /**< Holds radius between fingers reported to user */
12790         double base_angle; /**< Holds start-angle */
12791         double angle;      /**< Rotation value: 0.0 means no rotation         */
12792         double momentum;   /**< Rotation momentum: rotation done per second (NOT YET SUPPORTED) */
12793      };
12794
12795    /**
12796     * @typedef Elm_Gesture_Rotate_Info
12797     * Holds rotation info for user
12798     * @ingroup Elm_Gesture_Layer
12799     */
12800    typedef struct _Elm_Gesture_Rotate_Info Elm_Gesture_Rotate_Info;
12801
12802    /**
12803     * @typedef Elm_Gesture_Event_Cb
12804     * User callback used to stream gesture info from gesture layer
12805     * @param data user data
12806     * @param event_info gesture report info
12807     * Returns a flag field to be applied on the causing event.
12808     * You should probably return EVAS_EVENT_FLAG_ON_HOLD if your widget acted
12809     * upon the event, in an irreversible way.
12810     *
12811     * @ingroup Elm_Gesture_Layer
12812     */
12813    typedef Evas_Event_Flags (*Elm_Gesture_Event_Cb) (void *data, void *event_info);
12814
12815    /**
12816     * Use function to set callbacks to be notified about
12817     * change of state of gesture.
12818     * When a user registers a callback with this function
12819     * this means this gesture has to be tested.
12820     *
12821     * When ALL callbacks for a gesture are set to NULL
12822     * it means user isn't interested in gesture-state
12823     * and it will not be tested.
12824     *
12825     * @param obj Pointer to gesture-layer.
12826     * @param idx The gesture you would like to track its state.
12827     * @param cb callback function pointer.
12828     * @param cb_type what event this callback tracks: START, MOVE, END, ABORT.
12829     * @param data user info to be sent to callback (usually, Smart Data)
12830     *
12831     * @ingroup Elm_Gesture_Layer
12832     */
12833    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);
12834
12835    /**
12836     * Call this function to get repeat-events settings.
12837     *
12838     * @param obj Pointer to gesture-layer.
12839     *
12840     * @return repeat events settings.
12841     * @see elm_gesture_layer_hold_events_set()
12842     * @ingroup Elm_Gesture_Layer
12843     */
12844    EAPI Eina_Bool elm_gesture_layer_hold_events_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
12845
12846    /**
12847     * This function called in order to make gesture-layer repeat events.
12848     * Set this of you like to get the raw events only if gestures were not detected.
12849     * Clear this if you like gesture layer to fwd events as testing gestures.
12850     *
12851     * @param obj Pointer to gesture-layer.
12852     * @param r Repeat: TRUE/FALSE
12853     *
12854     * @ingroup Elm_Gesture_Layer
12855     */
12856    EAPI void elm_gesture_layer_hold_events_set(Evas_Object *obj, Eina_Bool r) EINA_ARG_NONNULL(1);
12857
12858    /**
12859     * This function sets step-value for zoom action.
12860     * Set step to any positive value.
12861     * Cancel step setting by setting to 0.0
12862     *
12863     * @param obj Pointer to gesture-layer.
12864     * @param s new zoom step value.
12865     *
12866     * @ingroup Elm_Gesture_Layer
12867     */
12868    EAPI void elm_gesture_layer_zoom_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
12869
12870    /**
12871     * This function sets step-value for rotate action.
12872     * Set step to any positive value.
12873     * Cancel step setting by setting to 0.0
12874     *
12875     * @param obj Pointer to gesture-layer.
12876     * @param s new roatate step value.
12877     *
12878     * @ingroup Elm_Gesture_Layer
12879     */
12880    EAPI void elm_gesture_layer_rotate_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
12881
12882    /**
12883     * This function called to attach gesture-layer to an Evas_Object.
12884     * @param obj Pointer to gesture-layer.
12885     * @param t Pointer to underlying object (AKA Target)
12886     *
12887     * @return TRUE, FALSE on success, failure.
12888     *
12889     * @ingroup Elm_Gesture_Layer
12890     */
12891    EAPI Eina_Bool elm_gesture_layer_attach(Evas_Object *obj, Evas_Object *t) EINA_ARG_NONNULL(1, 2);
12892
12893    /**
12894     * Call this function to construct a new gesture-layer object.
12895     * This does not activate the gesture layer. You have to
12896     * call elm_gesture_layer_attach in order to 'activate' gesture-layer.
12897     *
12898     * @param parent the parent object.
12899     *
12900     * @return Pointer to new gesture-layer object.
12901     *
12902     * @ingroup Elm_Gesture_Layer
12903     */
12904    EAPI Evas_Object *elm_gesture_layer_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12905
12906    /**
12907     * @defgroup Thumb Thumb
12908     *
12909     * @image html img/widget/thumb/preview-00.png
12910     * @image latex img/widget/thumb/preview-00.eps
12911     *
12912     * A thumb object is used for displaying the thumbnail of an image or video.
12913     * You must have compiled Elementary with Ethumb_Client support and the DBus
12914     * service must be present and auto-activated in order to have thumbnails to
12915     * be generated.
12916     *
12917     * Once the thumbnail object becomes visible, it will check if there is a
12918     * previously generated thumbnail image for the file set on it. If not, it
12919     * will start generating this thumbnail.
12920     *
12921     * Different config settings will cause different thumbnails to be generated
12922     * even on the same file.
12923     *
12924     * Generated thumbnails are stored under @c $HOME/.thumbnails/. Check the
12925     * Ethumb documentation to change this path, and to see other configuration
12926     * options.
12927     *
12928     * Signals that you can add callbacks for are:
12929     *
12930     * - "clicked" - This is called when a user has clicked the thumb without dragging
12931     *             around.
12932     * - "clicked,double" - This is called when a user has double-clicked the thumb.
12933     * - "press" - This is called when a user has pressed down the thumb.
12934     * - "generate,start" - The thumbnail generation started.
12935     * - "generate,stop" - The generation process stopped.
12936     * - "generate,error" - The generation failed.
12937     * - "load,error" - The thumbnail image loading failed.
12938     *
12939     * available styles:
12940     * - default
12941     * - noframe
12942     *
12943     * An example of use of thumbnail:
12944     *
12945     * - @ref thumb_example_01
12946     */
12947
12948    /**
12949     * @addtogroup Thumb
12950     * @{
12951     */
12952
12953    /**
12954     * @enum _Elm_Thumb_Animation_Setting
12955     * @typedef Elm_Thumb_Animation_Setting
12956     *
12957     * Used to set if a video thumbnail is animating or not.
12958     *
12959     * @ingroup Thumb
12960     */
12961    typedef enum _Elm_Thumb_Animation_Setting
12962      {
12963         ELM_THUMB_ANIMATION_START = 0, /**< Play animation once */
12964         ELM_THUMB_ANIMATION_LOOP,      /**< Keep playing animation until stop is requested */
12965         ELM_THUMB_ANIMATION_STOP,      /**< Stop playing the animation */
12966         ELM_THUMB_ANIMATION_LAST
12967      } Elm_Thumb_Animation_Setting;
12968
12969    /**
12970     * Add a new thumb object to the parent.
12971     *
12972     * @param parent The parent object.
12973     * @return The new object or NULL if it cannot be created.
12974     *
12975     * @see elm_thumb_file_set()
12976     * @see elm_thumb_ethumb_client_get()
12977     *
12978     * @ingroup Thumb
12979     */
12980    EAPI Evas_Object                 *elm_thumb_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12981    /**
12982     * Reload thumbnail if it was generated before.
12983     *
12984     * @param obj The thumb object to reload
12985     *
12986     * This is useful if the ethumb client configuration changed, like its
12987     * size, aspect or any other property one set in the handle returned
12988     * by elm_thumb_ethumb_client_get().
12989     *
12990     * If the options didn't change, the thumbnail won't be generated again, but
12991     * the old one will still be used.
12992     *
12993     * @see elm_thumb_file_set()
12994     *
12995     * @ingroup Thumb
12996     */
12997    EAPI void                         elm_thumb_reload(Evas_Object *obj) EINA_ARG_NONNULL(1);
12998    /**
12999     * Set the file that will be used as thumbnail.
13000     *
13001     * @param obj The thumb object.
13002     * @param file The path to file that will be used as thumb.
13003     * @param key The key used in case of an EET file.
13004     *
13005     * The file can be an image or a video (in that case, acceptable extensions are:
13006     * avi, mp4, ogv, mov, mpg and wmv). To start the video animation, use the
13007     * function elm_thumb_animate().
13008     *
13009     * @see elm_thumb_file_get()
13010     * @see elm_thumb_reload()
13011     * @see elm_thumb_animate()
13012     *
13013     * @ingroup Thumb
13014     */
13015    EAPI void                         elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key) EINA_ARG_NONNULL(1);
13016    /**
13017     * Get the image or video path and key used to generate the thumbnail.
13018     *
13019     * @param obj The thumb object.
13020     * @param file Pointer to filename.
13021     * @param key Pointer to key.
13022     *
13023     * @see elm_thumb_file_set()
13024     * @see elm_thumb_path_get()
13025     *
13026     * @ingroup Thumb
13027     */
13028    EAPI void                         elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
13029    /**
13030     * Get the path and key to the image or video generated by ethumb.
13031     *
13032     * One just need to make sure that the thumbnail was generated before getting
13033     * its path; otherwise, the path will be NULL. One way to do that is by asking
13034     * for the path when/after the "generate,stop" smart callback is called.
13035     *
13036     * @param obj The thumb object.
13037     * @param file Pointer to thumb path.
13038     * @param key Pointer to thumb key.
13039     *
13040     * @see elm_thumb_file_get()
13041     *
13042     * @ingroup Thumb
13043     */
13044    EAPI void                         elm_thumb_path_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
13045    /**
13046     * Set the animation state for the thumb object. If its content is an animated
13047     * video, you may start/stop the animation or tell it to play continuously and
13048     * looping.
13049     *
13050     * @param obj The thumb object.
13051     * @param setting The animation setting.
13052     *
13053     * @see elm_thumb_file_set()
13054     *
13055     * @ingroup Thumb
13056     */
13057    EAPI void                         elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s) EINA_ARG_NONNULL(1);
13058    /**
13059     * Get the animation state for the thumb object.
13060     *
13061     * @param obj The thumb object.
13062     * @return getting The animation setting or @c ELM_THUMB_ANIMATION_LAST,
13063     * on errors.
13064     *
13065     * @see elm_thumb_animate_set()
13066     *
13067     * @ingroup Thumb
13068     */
13069    EAPI Elm_Thumb_Animation_Setting  elm_thumb_animate_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13070    /**
13071     * Get the ethumb_client handle so custom configuration can be made.
13072     *
13073     * @return Ethumb_Client instance or NULL.
13074     *
13075     * This must be called before the objects are created to be sure no object is
13076     * visible and no generation started.
13077     *
13078     * Example of usage:
13079     *
13080     * @code
13081     * #include <Elementary.h>
13082     * #ifndef ELM_LIB_QUICKLAUNCH
13083     * EAPI_MAIN int
13084     * elm_main(int argc, char **argv)
13085     * {
13086     *    Ethumb_Client *client;
13087     *
13088     *    elm_need_ethumb();
13089     *
13090     *    // ... your code
13091     *
13092     *    client = elm_thumb_ethumb_client_get();
13093     *    if (!client)
13094     *      {
13095     *         ERR("could not get ethumb_client");
13096     *         return 1;
13097     *      }
13098     *    ethumb_client_size_set(client, 100, 100);
13099     *    ethumb_client_crop_align_set(client, 0.5, 0.5);
13100     *    // ... your code
13101     *
13102     *    // Create elm_thumb objects here
13103     *
13104     *    elm_run();
13105     *    elm_shutdown();
13106     *    return 0;
13107     * }
13108     * #endif
13109     * ELM_MAIN()
13110     * @endcode
13111     *
13112     * @note There's only one client handle for Ethumb, so once a configuration
13113     * change is done to it, any other request for thumbnails (for any thumbnail
13114     * object) will use that configuration. Thus, this configuration is global.
13115     *
13116     * @ingroup Thumb
13117     */
13118    EAPI void                        *elm_thumb_ethumb_client_get(void);
13119    /**
13120     * Get the ethumb_client connection state.
13121     *
13122     * @return EINA_TRUE if the client is connected to the server or EINA_FALSE
13123     * otherwise.
13124     */
13125    EAPI Eina_Bool                    elm_thumb_ethumb_client_connected(void);
13126    /**
13127     * Make the thumbnail 'editable'.
13128     *
13129     * @param obj Thumb object.
13130     * @param set Turn on or off editability. Default is @c EINA_FALSE.
13131     *
13132     * This means the thumbnail is a valid drag target for drag and drop, and can be
13133     * cut or pasted too.
13134     *
13135     * @see elm_thumb_editable_get()
13136     *
13137     * @ingroup Thumb
13138     */
13139    EAPI Eina_Bool                    elm_thumb_editable_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
13140    /**
13141     * Make the thumbnail 'editable'.
13142     *
13143     * @param obj Thumb object.
13144     * @return Editability.
13145     *
13146     * This means the thumbnail is a valid drag target for drag and drop, and can be
13147     * cut or pasted too.
13148     *
13149     * @see elm_thumb_editable_set()
13150     *
13151     * @ingroup Thumb
13152     */
13153    EAPI Eina_Bool                    elm_thumb_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13154
13155    /**
13156     * @}
13157     */
13158
13159    /**
13160     * @defgroup Web Web
13161     *
13162     * @image html img/widget/web/preview-00.png
13163     * @image latex img/widget/web/preview-00.eps
13164     *
13165     * A web object is used for displaying web pages (HTML/CSS/JS)
13166     * using WebKit-EFL. You must have compiled Elementary with
13167     * ewebkit support.
13168     *
13169     * Signals that you can add callbacks for are:
13170     * @li "download,request": A file download has been requested. Event info is
13171     * a pointer to a Elm_Web_Download
13172     * @li "editorclient,contents,changed": Editor client's contents changed
13173     * @li "editorclient,selection,changed": Editor client's selection changed
13174     * @li "frame,created": A new frame was created. Event info is an
13175     * Evas_Object which can be handled with WebKit's ewk_frame API
13176     * @li "icon,received": An icon was received by the main frame
13177     * @li "inputmethod,changed": Input method changed. Event info is an
13178     * Eina_Bool indicating whether it's enabled or not
13179     * @li "js,windowobject,clear": JS window object has been cleared
13180     * @li "link,hover,in": Mouse cursor is hovering over a link. Event info
13181     * is a char *link[2], where the first string contains the URL the link
13182     * points to, and the second one the title of the link
13183     * @li "link,hover,out": Mouse cursor left the link
13184     * @li "load,document,finished": Loading of a document finished. Event info
13185     * is the frame that finished loading
13186     * @li "load,error": Load failed. Event info is a pointer to
13187     * Elm_Web_Frame_Load_Error
13188     * @li "load,finished": Load finished. Event info is NULL on success, on
13189     * error it's a pointer to Elm_Web_Frame_Load_Error
13190     * @li "load,newwindow,show": A new window was created and is ready to be
13191     * shown
13192     * @li "load,progress": Overall load progress. Event info is a pointer to
13193     * a double containing a value between 0.0 and 1.0
13194     * @li "load,provisional": Started provisional load
13195     * @li "load,started": Loading of a document started
13196     * @li "menubar,visible,get": Queries if the menubar is visible. Event info
13197     * is a pointer to Eina_Bool where the callback should set EINA_TRUE if
13198     * the menubar is visible, or EINA_FALSE in case it's not
13199     * @li "menubar,visible,set": Informs menubar visibility. Event info is
13200     * an Eina_Bool indicating the visibility
13201     * @li "popup,created": A dropdown widget was activated, requesting its
13202     * popup menu to be created. Event info is a pointer to Elm_Web_Menu
13203     * @li "popup,willdelete": The web object is ready to destroy the popup
13204     * object created. Event info is a pointer to Elm_Web_Menu
13205     * @li "ready": Page is fully loaded
13206     * @li "scrollbars,visible,get": Queries visibility of scrollbars. Event
13207     * info is a pointer to Eina_Bool where the visibility state should be set
13208     * @li "scrollbars,visible,set": Informs scrollbars visibility. Event info
13209     * is an Eina_Bool with the visibility state set
13210     * @li "statusbar,text,set": Text of the statusbar changed. Even info is
13211     * a string with the new text
13212     * @li "statusbar,visible,get": Queries visibility of the status bar.
13213     * Event info is a pointer to Eina_Bool where the visibility state should be
13214     * set.
13215     * @li "statusbar,visible,set": Informs statusbar visibility. Event info is
13216     * an Eina_Bool with the visibility value
13217     * @li "title,changed": Title of the main frame changed. Event info is a
13218     * string with the new title
13219     * @li "toolbars,visible,get": Queries visibility of toolbars. Event info
13220     * is a pointer to Eina_Bool where the visibility state should be set
13221     * @li "toolbars,visible,set": Informs the visibility of toolbars. Event
13222     * info is an Eina_Bool with the visibility state
13223     * @li "tooltip,text,set": Show and set text of a tooltip. Event info is
13224     * a string with the text to show
13225     * @li "uri,changed": URI of the main frame changed. Event info is a string
13226     * with the new URI
13227     * @li "view,resized": The web object internal's view changed sized
13228     * @li "windows,close,request": A JavaScript request to close the current
13229     * window was requested
13230     * @li "zoom,animated,end": Animated zoom finished
13231     *
13232     * available styles:
13233     * - default
13234     *
13235     * An example of use of web:
13236     *
13237     * - @ref web_example_01 TBD
13238     */
13239
13240    /**
13241     * @addtogroup Web
13242     * @{
13243     */
13244
13245    /**
13246     * Structure used to report load errors.
13247     *
13248     * Load errors are reported as signal by elm_web. All the strings are
13249     * temporary references and should @b not be used after the signal
13250     * callback returns. If it's required, make copies with strdup() or
13251     * eina_stringshare_add() (they are not even guaranteed to be
13252     * stringshared, so must use eina_stringshare_add() and not
13253     * eina_stringshare_ref()).
13254     */
13255    typedef struct _Elm_Web_Frame_Load_Error Elm_Web_Frame_Load_Error;
13256    /**
13257     * Structure used to report load errors.
13258     *
13259     * Load errors are reported as signal by elm_web. All the strings are
13260     * temporary references and should @b not be used after the signal
13261     * callback returns. If it's required, make copies with strdup() or
13262     * eina_stringshare_add() (they are not even guaranteed to be
13263     * stringshared, so must use eina_stringshare_add() and not
13264     * eina_stringshare_ref()).
13265     */
13266    struct _Elm_Web_Frame_Load_Error
13267      {
13268         int code; /**< Numeric error code */
13269         Eina_Bool is_cancellation; /**< Error produced by cancelling a request */
13270         const char *domain; /**< Error domain name */
13271         const char *description; /**< Error description (already localized) */
13272         const char *failing_url; /**< The URL that failed to load */
13273         Evas_Object *frame; /**< Frame object that produced the error */
13274      };
13275
13276    /**
13277     * The possibles types that the items in a menu can be
13278     */
13279    typedef enum _Elm_Web_Menu_Item_Type
13280      {
13281         ELM_WEB_MENU_SEPARATOR,
13282         ELM_WEB_MENU_GROUP,
13283         ELM_WEB_MENU_OPTION
13284      } Elm_Web_Menu_Item_Type;
13285
13286    /**
13287     * Structure describing the items in a menu
13288     */
13289    typedef struct _Elm_Web_Menu_Item Elm_Web_Menu_Item;
13290    /**
13291     * Structure describing the items in a menu
13292     */
13293    struct _Elm_Web_Menu_Item
13294      {
13295         const char *text; /**< The text for the item */
13296         Elm_Web_Menu_Item_Type type; /**< The type of the item */
13297      };
13298
13299    /**
13300     * Structure describing the menu of a popup
13301     *
13302     * This structure will be passed as the @c event_info for the "popup,create"
13303     * signal, which is emitted when a dropdown menu is opened. Users wanting
13304     * to handle these popups by themselves should listen to this signal and
13305     * set the @c handled property of the struct to @c EINA_TRUE. Leaving this
13306     * property as @c EINA_FALSE means that the user will not handle the popup
13307     * and the default implementation will be used.
13308     *
13309     * When the popup is ready to be dismissed, a "popup,willdelete" signal
13310     * will be emitted to notify the user that it can destroy any objects and
13311     * free all data related to it.
13312     *
13313     * @see elm_web_popup_selected_set()
13314     * @see elm_web_popup_destroy()
13315     */
13316    typedef struct _Elm_Web_Menu Elm_Web_Menu;
13317    /**
13318     * Structure describing the menu of a popup
13319     *
13320     * This structure will be passed as the @c event_info for the "popup,create"
13321     * signal, which is emitted when a dropdown menu is opened. Users wanting
13322     * to handle these popups by themselves should listen to this signal and
13323     * set the @c handled property of the struct to @c EINA_TRUE. Leaving this
13324     * property as @c EINA_FALSE means that the user will not handle the popup
13325     * and the default implementation will be used.
13326     *
13327     * When the popup is ready to be dismissed, a "popup,willdelete" signal
13328     * will be emitted to notify the user that it can destroy any objects and
13329     * free all data related to it.
13330     *
13331     * @see elm_web_popup_selected_set()
13332     * @see elm_web_popup_destroy()
13333     */
13334    struct _Elm_Web_Menu
13335      {
13336         Eina_List *items; /**< List of #Elm_Web_Menu_Item */
13337         int x; /**< The X position of the popup, relative to the elm_web object */
13338         int y; /**< The Y position of the popup, relative to the elm_web object */
13339         int width; /**< Width of the popup menu */
13340         int height; /**< Height of the popup menu */
13341
13342         Eina_Bool handled : 1; /**< Set to @c EINA_TRUE by the user to indicate that the popup has been handled and the default implementation should be ignored. Leave as @c EINA_FALSE otherwise. */
13343      };
13344
13345    typedef struct _Elm_Web_Download Elm_Web_Download;
13346    struct _Elm_Web_Download
13347      {
13348         const char *url;
13349      };
13350
13351    /**
13352     * Types of zoom available.
13353     */
13354    typedef enum _Elm_Web_Zoom_Mode
13355      {
13356         ELM_WEB_ZOOM_MODE_MANUAL = 0, /**< Zoom controled normally by elm_web_zoom_set */
13357         ELM_WEB_ZOOM_MODE_AUTO_FIT, /**< Zoom until content fits in web object */
13358         ELM_WEB_ZOOM_MODE_AUTO_FILL, /**< Zoom until content fills web object */
13359         ELM_WEB_ZOOM_MODE_LAST
13360      } Elm_Web_Zoom_Mode;
13361    /**
13362     * Opaque handler containing the features (such as statusbar, menubar, etc)
13363     * that are to be set on a newly requested window.
13364     */
13365    typedef struct _Elm_Web_Window_Features Elm_Web_Window_Features;
13366    /**
13367     * Callback type for the create_window hook.
13368     *
13369     * The function parameters are:
13370     * @li @p data User data pointer set when setting the hook function
13371     * @li @p obj The elm_web object requesting the new window
13372     * @li @p js Set to @c EINA_TRUE if the request was originated from
13373     * JavaScript. @c EINA_FALSE otherwise.
13374     * @li @p window_features A pointer of #Elm_Web_Window_Features indicating
13375     * the features requested for the new window.
13376     *
13377     * The returned value of the function should be the @c elm_web widget where
13378     * the request will be loaded. That is, if a new window or tab is created,
13379     * the elm_web widget in it should be returned, and @b NOT the window
13380     * object.
13381     * Returning @c NULL should cancel the request.
13382     *
13383     * @see elm_web_window_create_hook_set()
13384     */
13385    typedef Evas_Object *(*Elm_Web_Window_Open)(void *data, Evas_Object *obj, Eina_Bool js, const Elm_Web_Window_Features *window_features);
13386    /**
13387     * Callback type for the JS alert hook.
13388     *
13389     * The function parameters are:
13390     * @li @p data User data pointer set when setting the hook function
13391     * @li @p obj The elm_web object requesting the new window
13392     * @li @p message The message to show in the alert dialog
13393     *
13394     * The function should return the object representing the alert dialog.
13395     * Elm_Web will run a second main loop to handle the dialog and normal
13396     * flow of the application will be restored when the object is deleted, so
13397     * the user should handle the popup properly in order to delete the object
13398     * when the action is finished.
13399     * If the function returns @c NULL the popup will be ignored.
13400     *
13401     * @see elm_web_dialog_alert_hook_set()
13402     */
13403    typedef Evas_Object *(*Elm_Web_Dialog_Alert)(void *data, Evas_Object *obj, const char *message);
13404    /**
13405     * Callback type for the JS confirm hook.
13406     *
13407     * The function parameters are:
13408     * @li @p data User data pointer set when setting the hook function
13409     * @li @p obj The elm_web object requesting the new window
13410     * @li @p message The message to show in the confirm dialog
13411     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13412     * the user selected @c Ok, @c EINA_FALSE otherwise.
13413     *
13414     * The function should return the object representing the confirm dialog.
13415     * Elm_Web will run a second main loop to handle the dialog and normal
13416     * flow of the application will be restored when the object is deleted, so
13417     * the user should handle the popup properly in order to delete the object
13418     * when the action is finished.
13419     * If the function returns @c NULL the popup will be ignored.
13420     *
13421     * @see elm_web_dialog_confirm_hook_set()
13422     */
13423    typedef Evas_Object *(*Elm_Web_Dialog_Confirm)(void *data, Evas_Object *obj, const char *message, Eina_Bool *ret);
13424    /**
13425     * Callback type for the JS prompt hook.
13426     *
13427     * The function parameters are:
13428     * @li @p data User data pointer set when setting the hook function
13429     * @li @p obj The elm_web object requesting the new window
13430     * @li @p message The message to show in the prompt dialog
13431     * @li @p def_value The default value to present the user in the entry
13432     * @li @p value Pointer where to store the value given by the user. Must
13433     * be a malloc'ed string or @c NULL if the user cancelled the popup.
13434     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13435     * the user selected @c Ok, @c EINA_FALSE otherwise.
13436     *
13437     * The function should return the object representing the prompt dialog.
13438     * Elm_Web will run a second main loop to handle the dialog and normal
13439     * flow of the application will be restored when the object is deleted, so
13440     * the user should handle the popup properly in order to delete the object
13441     * when the action is finished.
13442     * If the function returns @c NULL the popup will be ignored.
13443     *
13444     * @see elm_web_dialog_prompt_hook_set()
13445     */
13446    typedef Evas_Object *(*Elm_Web_Dialog_Prompt)(void *data, Evas_Object *obj, const char *message, const char *def_value, char **value, Eina_Bool *ret);
13447    /**
13448     * Callback type for the JS file selector hook.
13449     *
13450     * The function parameters are:
13451     * @li @p data User data pointer set when setting the hook function
13452     * @li @p obj The elm_web object requesting the new window
13453     * @li @p allows_multiple @c EINA_TRUE if multiple files can be selected.
13454     * @li @p accept_types Mime types accepted
13455     * @li @p selected Pointer where to store the list of malloc'ed strings
13456     * containing the path to each file selected. Must be @c NULL if the file
13457     * dialog is cancelled
13458     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13459     * the user selected @c Ok, @c EINA_FALSE otherwise.
13460     *
13461     * The function should return the object representing the file selector
13462     * dialog.
13463     * Elm_Web will run a second main loop to handle the dialog and normal
13464     * flow of the application will be restored when the object is deleted, so
13465     * the user should handle the popup properly in order to delete the object
13466     * when the action is finished.
13467     * If the function returns @c NULL the popup will be ignored.
13468     *
13469     * @see elm_web_dialog_file selector_hook_set()
13470     */
13471    typedef Evas_Object *(*Elm_Web_Dialog_File_Selector)(void *data, Evas_Object *obj, Eina_Bool allows_multiple, Eina_List *accept_types, Eina_List **selected, Eina_Bool *ret);
13472    /**
13473     * Callback type for the JS console message hook.
13474     *
13475     * When a console message is added from JavaScript, any set function to the
13476     * console message hook will be called for the user to handle. There is no
13477     * default implementation of this hook.
13478     *
13479     * The function parameters are:
13480     * @li @p data User data pointer set when setting the hook function
13481     * @li @p obj The elm_web object that originated the message
13482     * @li @p message The message sent
13483     * @li @p line_number The line number
13484     * @li @p source_id Source id
13485     *
13486     * @see elm_web_console_message_hook_set()
13487     */
13488    typedef void (*Elm_Web_Console_Message)(void *data, Evas_Object *obj, const char *message, unsigned int line_number, const char *source_id);
13489    /**
13490     * Add a new web object to the parent.
13491     *
13492     * @param parent The parent object.
13493     * @return The new object or NULL if it cannot be created.
13494     *
13495     * @see elm_web_uri_set()
13496     * @see elm_web_webkit_view_get()
13497     */
13498    EAPI Evas_Object                 *elm_web_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13499
13500    /**
13501     * Get internal ewk_view object from web object.
13502     *
13503     * Elementary may not provide some low level features of EWebKit,
13504     * instead of cluttering the API with proxy methods we opted to
13505     * return the internal reference. Be careful using it as it may
13506     * interfere with elm_web behavior.
13507     *
13508     * @param obj The web object.
13509     * @return The internal ewk_view object or NULL if it does not
13510     *         exist. (Failure to create or Elementary compiled without
13511     *         ewebkit)
13512     *
13513     * @see elm_web_add()
13514     */
13515    EAPI Evas_Object                 *elm_web_webkit_view_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13516
13517    /**
13518     * Sets the function to call when a new window is requested
13519     *
13520     * This hook will be called when a request to create a new window is
13521     * issued from the web page loaded.
13522     * There is no default implementation for this feature, so leaving this
13523     * unset or passing @c NULL in @p func will prevent new windows from
13524     * opening.
13525     *
13526     * @param obj The web object where to set the hook function
13527     * @param func The hook function to be called when a window is requested
13528     * @param data User data
13529     */
13530    EAPI void                         elm_web_window_create_hook_set(Evas_Object *obj, Elm_Web_Window_Open func, void *data);
13531    /**
13532     * Sets the function to call when an alert dialog
13533     *
13534     * This hook will be called when a JavaScript alert dialog is requested.
13535     * If no function is set or @c NULL is passed in @p func, the default
13536     * implementation will take place.
13537     *
13538     * @param obj The web object where to set the hook function
13539     * @param func The callback function to be used
13540     * @param data User data
13541     *
13542     * @see elm_web_inwin_mode_set()
13543     */
13544    EAPI void                         elm_web_dialog_alert_hook_set(Evas_Object *obj, Elm_Web_Dialog_Alert func, void *data);
13545    /**
13546     * Sets the function to call when an confirm dialog
13547     *
13548     * This hook will be called when a JavaScript confirm dialog is requested.
13549     * If no function is set or @c NULL is passed in @p func, the default
13550     * implementation will take place.
13551     *
13552     * @param obj The web object where to set the hook function
13553     * @param func The callback function to be used
13554     * @param data User data
13555     *
13556     * @see elm_web_inwin_mode_set()
13557     */
13558    EAPI void                         elm_web_dialog_confirm_hook_set(Evas_Object *obj, Elm_Web_Dialog_Confirm func, void *data);
13559    /**
13560     * Sets the function to call when an prompt dialog
13561     *
13562     * This hook will be called when a JavaScript prompt dialog is requested.
13563     * If no function is set or @c NULL is passed in @p func, the default
13564     * implementation will take place.
13565     *
13566     * @param obj The web object where to set the hook function
13567     * @param func The callback function to be used
13568     * @param data User data
13569     *
13570     * @see elm_web_inwin_mode_set()
13571     */
13572    EAPI void                         elm_web_dialog_prompt_hook_set(Evas_Object *obj, Elm_Web_Dialog_Prompt func, void *data);
13573    /**
13574     * Sets the function to call when an file selector dialog
13575     *
13576     * This hook will be called when a JavaScript file selector dialog is
13577     * requested.
13578     * If no function is set or @c NULL is passed in @p func, the default
13579     * implementation will take place.
13580     *
13581     * @param obj The web object where to set the hook function
13582     * @param func The callback function to be used
13583     * @param data User data
13584     *
13585     * @see elm_web_inwin_mode_set()
13586     */
13587    EAPI void                         elm_web_dialog_file_selector_hook_set(Evas_Object *obj, Elm_Web_Dialog_File_Selector func, void *data);
13588    /**
13589     * Sets the function to call when a console message is emitted from JS
13590     *
13591     * This hook will be called when a console message is emitted from
13592     * JavaScript. There is no default implementation for this feature.
13593     *
13594     * @param obj The web object where to set the hook function
13595     * @param func The callback function to be used
13596     * @param data User data
13597     */
13598    EAPI void                         elm_web_console_message_hook_set(Evas_Object *obj, Elm_Web_Console_Message func, void *data);
13599    /**
13600     * Gets the status of the tab propagation
13601     *
13602     * @param obj The web object to query
13603     * @return EINA_TRUE if tab propagation is enabled, EINA_FALSE otherwise
13604     *
13605     * @see elm_web_tab_propagate_set()
13606     */
13607    EAPI Eina_Bool                    elm_web_tab_propagate_get(const Evas_Object *obj);
13608    /**
13609     * Sets whether to use tab propagation
13610     *
13611     * If tab propagation is enabled, whenever the user presses the Tab key,
13612     * Elementary will handle it and switch focus to the next widget.
13613     * The default value is disabled, where WebKit will handle the Tab key to
13614     * cycle focus though its internal objects, jumping to the next widget
13615     * only when that cycle ends.
13616     *
13617     * @param obj The web object
13618     * @param propagate Whether to propagate Tab keys to Elementary or not
13619     */
13620    EAPI void                         elm_web_tab_propagate_set(Evas_Object *obj, Eina_Bool propagate);
13621    /**
13622     * Sets the URI for the web object
13623     *
13624     * It must be a full URI, with resource included, in the form
13625     * http://www.enlightenment.org or file:///tmp/something.html
13626     *
13627     * @param obj The web object
13628     * @param uri The URI to set
13629     * @return EINA_TRUE if the URI could be, EINA_FALSE if an error occurred
13630     */
13631    EAPI Eina_Bool                    elm_web_uri_set(Evas_Object *obj, const char *uri);
13632    /**
13633     * Gets the current URI for the object
13634     *
13635     * The returned string must not be freed and is guaranteed to be
13636     * stringshared.
13637     *
13638     * @param obj The web object
13639     * @return A stringshared internal string with the current URI, or NULL on
13640     * failure
13641     */
13642    EAPI const char                  *elm_web_uri_get(const Evas_Object *obj);
13643    /**
13644     * Gets the current title
13645     *
13646     * The returned string must not be freed and is guaranteed to be
13647     * stringshared.
13648     *
13649     * @param obj The web object
13650     * @return A stringshared internal string with the current title, or NULL on
13651     * failure
13652     */
13653    EAPI const char                  *elm_web_title_get(const Evas_Object *obj);
13654    /**
13655     * Sets the background color to be used by the web object
13656     *
13657     * This is the color that will be used by default when the loaded page
13658     * does not set it's own. Color values are pre-multiplied.
13659     *
13660     * @param obj The web object
13661     * @param r Red component
13662     * @param g Green component
13663     * @param b Blue component
13664     * @param a Alpha component
13665     */
13666    EAPI void                         elm_web_bg_color_set(Evas_Object *obj, int r, int g, int b, int a);
13667    /**
13668     * Gets the background color to be used by the web object
13669     *
13670     * This is the color that will be used by default when the loaded page
13671     * does not set it's own. Color values are pre-multiplied.
13672     *
13673     * @param obj The web object
13674     * @param r Red component
13675     * @param g Green component
13676     * @param b Blue component
13677     * @param a Alpha component
13678     */
13679    EAPI void                         elm_web_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a);
13680    /**
13681     * Gets a copy of the currently selected text
13682     *
13683     * The string returned must be freed by the user when it's done with it.
13684     *
13685     * @param obj The web object
13686     * @return A newly allocated string, or NULL if nothing is selected or an
13687     * error occurred
13688     */
13689    EAPI char                        *elm_view_selection_get(const Evas_Object *obj);
13690    /**
13691     * Tells the web object which index in the currently open popup was selected
13692     *
13693     * When the user handles the popup creation from the "popup,created" signal,
13694     * it needs to tell the web object which item was selected by calling this
13695     * function with the index corresponding to the item.
13696     *
13697     * @param obj The web object
13698     * @param index The index selected
13699     *
13700     * @see elm_web_popup_destroy()
13701     */
13702    EAPI void                         elm_web_popup_selected_set(Evas_Object *obj, int index);
13703    /**
13704     * Dismisses an open dropdown popup
13705     *
13706     * When the popup from a dropdown widget is to be dismissed, either after
13707     * selecting an option or to cancel it, this function must be called, which
13708     * will later emit an "popup,willdelete" signal to notify the user that
13709     * any memory and objects related to this popup can be freed.
13710     *
13711     * @param obj The web object
13712     * @return EINA_TRUE if the menu was successfully destroyed, or EINA_FALSE
13713     * if there was no menu to destroy
13714     */
13715    EAPI Eina_Bool                    elm_web_popup_destroy(Evas_Object *obj);
13716    /**
13717     * Searches the given string in a document.
13718     *
13719     * @param obj The web object where to search the text
13720     * @param string String to search
13721     * @param case_sensitive If search should be case sensitive or not
13722     * @param forward If search is from cursor and on or backwards
13723     * @param wrap If search should wrap at the end
13724     *
13725     * @return @c EINA_TRUE if the given string was found, @c EINA_FALSE if not
13726     * or failure
13727     */
13728    EAPI Eina_Bool                    elm_web_text_search(const Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool forward, Eina_Bool wrap);
13729    /**
13730     * Marks matches of the given string in a document.
13731     *
13732     * @param obj The web object where to search text
13733     * @param string String to match
13734     * @param case_sensitive If match should be case sensitive or not
13735     * @param highlight If matches should be highlighted
13736     * @param limit Maximum amount of matches, or zero to unlimited
13737     *
13738     * @return number of matched @a string
13739     */
13740    EAPI unsigned int                 elm_web_text_matches_mark(Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit);
13741    /**
13742     * Clears all marked matches in the document
13743     *
13744     * @param obj The web object
13745     *
13746     * @return EINA_TRUE on success, EINA_FALSE otherwise
13747     */
13748    EAPI Eina_Bool                    elm_web_text_matches_unmark_all(Evas_Object *obj);
13749    /**
13750     * Sets whether to highlight the matched marks
13751     *
13752     * If enabled, marks set with elm_web_text_matches_mark() will be
13753     * highlighted.
13754     *
13755     * @param obj The web object
13756     * @param highlight Whether to highlight the marks or not
13757     *
13758     * @return EINA_TRUE on success, EINA_FALSE otherwise
13759     */
13760    EAPI Eina_Bool                    elm_web_text_matches_highlight_set(Evas_Object *obj, Eina_Bool highlight);
13761    /**
13762     * Gets whether highlighting marks is enabled
13763     *
13764     * @param The web object
13765     *
13766     * @return EINA_TRUE is marks are set to be highlighted, EINA_FALSE
13767     * otherwise
13768     */
13769    EAPI Eina_Bool                    elm_web_text_matches_highlight_get(const Evas_Object *obj);
13770    /**
13771     * Gets the overall loading progress of the page
13772     *
13773     * Returns the estimated loading progress of the page, with a value between
13774     * 0.0 and 1.0. This is an estimated progress accounting for all the frames
13775     * included in the page.
13776     *
13777     * @param The web object
13778     *
13779     * @return A value between 0.0 and 1.0 indicating the progress, or -1.0 on
13780     * failure
13781     */
13782    EAPI double                       elm_web_load_progress_get(const Evas_Object *obj);
13783    /**
13784     * Stops loading the current page
13785     *
13786     * Cancels the loading of the current page in the web object. This will
13787     * cause a "load,error" signal to be emitted, with the is_cancellation
13788     * flag set to EINA_TRUE.
13789     *
13790     * @param obj The web object
13791     *
13792     * @return EINA_TRUE if the cancel was successful, EINA_FALSE otherwise
13793     */
13794    EAPI Eina_Bool                    elm_web_stop(Evas_Object *obj);
13795    /**
13796     * Requests a reload of the current document in the object
13797     *
13798     * @param obj The web object
13799     *
13800     * @return EINA_TRUE on success, EINA_FALSE otherwise
13801     */
13802    EAPI Eina_Bool                    elm_web_reload(Evas_Object *obj);
13803    /**
13804     * Requests a reload of the current document, avoiding any existing caches
13805     *
13806     * @param obj The web object
13807     *
13808     * @return EINA_TRUE on success, EINA_FALSE otherwise
13809     */
13810    EAPI Eina_Bool                    elm_web_reload_full(Evas_Object *obj);
13811    /**
13812     * Goes back one step in the browsing history
13813     *
13814     * This is equivalent to calling elm_web_object_navigate(obj, -1);
13815     *
13816     * @param obj The web object
13817     *
13818     * @return EINA_TRUE on success, EINA_FALSE otherwise
13819     *
13820     * @see elm_web_history_enable_set()
13821     * @see elm_web_back_possible()
13822     * @see elm_web_forward()
13823     * @see elm_web_navigate()
13824     */
13825    EAPI Eina_Bool                    elm_web_back(Evas_Object *obj);
13826    /**
13827     * Goes forward one step in the browsing history
13828     *
13829     * This is equivalent to calling elm_web_object_navigate(obj, 1);
13830     *
13831     * @param obj The web object
13832     *
13833     * @return EINA_TRUE on success, EINA_FALSE otherwise
13834     *
13835     * @see elm_web_history_enable_set()
13836     * @see elm_web_forward_possible()
13837     * @see elm_web_back()
13838     * @see elm_web_navigate()
13839     */
13840    EAPI Eina_Bool                    elm_web_forward(Evas_Object *obj);
13841    /**
13842     * Jumps the given number of steps in the browsing history
13843     *
13844     * The @p steps value can be a negative integer to back in history, or a
13845     * positive to move forward.
13846     *
13847     * @param obj The web object
13848     * @param steps The number of steps to jump
13849     *
13850     * @return EINA_TRUE on success, EINA_FALSE on error or if not enough
13851     * history exists to jump the given number of steps
13852     *
13853     * @see elm_web_history_enable_set()
13854     * @see elm_web_navigate_possible()
13855     * @see elm_web_back()
13856     * @see elm_web_forward()
13857     */
13858    EAPI Eina_Bool                    elm_web_navigate(Evas_Object *obj, int steps);
13859    /**
13860     * Queries whether it's possible to go back in history
13861     *
13862     * @param obj The web object
13863     *
13864     * @return EINA_TRUE if it's possible to back in history, EINA_FALSE
13865     * otherwise
13866     */
13867    EAPI Eina_Bool                    elm_web_back_possible(Evas_Object *obj);
13868    /**
13869     * Queries whether it's possible to go forward in history
13870     *
13871     * @param obj The web object
13872     *
13873     * @return EINA_TRUE if it's possible to forward in history, EINA_FALSE
13874     * otherwise
13875     */
13876    EAPI Eina_Bool                    elm_web_forward_possible(Evas_Object *obj);
13877    /**
13878     * Queries whether it's possible to jump the given number of steps
13879     *
13880     * The @p steps value can be a negative integer to back in history, or a
13881     * positive to move forward.
13882     *
13883     * @param obj The web object
13884     * @param steps The number of steps to check for
13885     *
13886     * @return EINA_TRUE if enough history exists to perform the given jump,
13887     * EINA_FALSE otherwise
13888     */
13889    EAPI Eina_Bool                    elm_web_navigate_possible(Evas_Object *obj, int steps);
13890    /**
13891     * Gets whether browsing history is enabled for the given object
13892     *
13893     * @param obj The web object
13894     *
13895     * @return EINA_TRUE if history is enabled, EINA_FALSE otherwise
13896     */
13897    EAPI Eina_Bool                    elm_web_history_enable_get(const Evas_Object *obj);
13898    /**
13899     * Enables or disables the browsing history
13900     *
13901     * @param obj The web object
13902     * @param enable Whether to enable or disable the browsing history
13903     */
13904    EAPI void                         elm_web_history_enable_set(Evas_Object *obj, Eina_Bool enable);
13905    /**
13906     * Sets the zoom level of the web object
13907     *
13908     * Zoom level matches the Webkit API, so 1.0 means normal zoom, with higher
13909     * values meaning zoom in and lower meaning zoom out. This function will
13910     * only affect the zoom level if the mode set with elm_web_zoom_mode_set()
13911     * is ::ELM_WEB_ZOOM_MODE_MANUAL.
13912     *
13913     * @param obj The web object
13914     * @param zoom The zoom level to set
13915     */
13916    EAPI void                         elm_web_zoom_set(Evas_Object *obj, double zoom);
13917    /**
13918     * Gets the current zoom level set on the web object
13919     *
13920     * Note that this is the zoom level set on the web object and not that
13921     * of the underlying Webkit one. In the ::ELM_WEB_ZOOM_MODE_MANUAL mode,
13922     * the two zoom levels should match, but for the other two modes the
13923     * Webkit zoom is calculated internally to match the chosen mode without
13924     * changing the zoom level set for the web object.
13925     *
13926     * @param obj The web object
13927     *
13928     * @return The zoom level set on the object
13929     */
13930    EAPI double                       elm_web_zoom_get(const Evas_Object *obj);
13931    /**
13932     * Sets the zoom mode to use
13933     *
13934     * The modes can be any of those defined in ::Elm_Web_Zoom_Mode, except
13935     * ::ELM_WEB_ZOOM_MODE_LAST. The default is ::ELM_WEB_ZOOM_MODE_MANUAL.
13936     *
13937     * ::ELM_WEB_ZOOM_MODE_MANUAL means the zoom level will be controlled
13938     * with the elm_web_zoom_set() function.
13939     * ::ELM_WEB_ZOOM_MODE_AUTO_FIT will calculate the needed zoom level to
13940     * make sure the entirety of the web object's contents are shown.
13941     * ::ELM_WEB_ZOOM_MODE_AUTO_FILL will calculate the needed zoom level to
13942     * fit the contents in the web object's size, without leaving any space
13943     * unused.
13944     *
13945     * @param obj The web object
13946     * @param mode The mode to set
13947     */
13948    EAPI void                         elm_web_zoom_mode_set(Evas_Object *obj, Elm_Web_Zoom_Mode mode);
13949    /**
13950     * Gets the currently set zoom mode
13951     *
13952     * @param obj The web object
13953     *
13954     * @return The current zoom mode set for the object, or
13955     * ::ELM_WEB_ZOOM_MODE_LAST on error
13956     */
13957    EAPI Elm_Web_Zoom_Mode            elm_web_zoom_mode_get(const Evas_Object *obj);
13958    /**
13959     * Shows the given region in the web object
13960     *
13961     * @param obj The web object
13962     * @param x The x coordinate of the region to show
13963     * @param y The y coordinate of the region to show
13964     * @param w The width of the region to show
13965     * @param h The height of the region to show
13966     */
13967    EAPI void                         elm_web_region_show(Evas_Object *obj, int x, int y, int w, int h);
13968    /**
13969     * Brings in the region to the visible area
13970     *
13971     * Like elm_web_region_show(), but it animates the scrolling of the object
13972     * to show the area
13973     *
13974     * @param obj The web object
13975     * @param x The x coordinate of the region to show
13976     * @param y The y coordinate of the region to show
13977     * @param w The width of the region to show
13978     * @param h The height of the region to show
13979     */
13980    EAPI void                         elm_web_region_bring_in(Evas_Object *obj, int x, int y, int w, int h);
13981    /**
13982     * Sets the default dialogs to use an Inwin instead of a normal window
13983     *
13984     * If set, then the default implementation for the JavaScript dialogs and
13985     * file selector will be opened in an Inwin. Otherwise they will use a
13986     * normal separated window.
13987     *
13988     * @param obj The web object
13989     * @param value EINA_TRUE to use Inwin, EINA_FALSE to use a normal window
13990     */
13991    EAPI void                         elm_web_inwin_mode_set(Evas_Object *obj, Eina_Bool value);
13992    /**
13993     * Gets whether Inwin mode is set for the current object
13994     *
13995     * @param obj The web object
13996     *
13997     * @return EINA_TRUE if Inwin mode is set, EINA_FALSE otherwise
13998     */
13999    EAPI Eina_Bool                    elm_web_inwin_mode_get(const Evas_Object *obj);
14000
14001    EAPI void                         elm_web_window_features_ref(Elm_Web_Window_Features *wf);
14002    EAPI void                         elm_web_window_features_unref(Elm_Web_Window_Features *wf);
14003    EAPI void                         elm_web_window_features_bool_property_get(const Elm_Web_Window_Features *wf, Eina_Bool *toolbar_visible, Eina_Bool *statusbar_visible, Eina_Bool *scrollbars_visible, Eina_Bool *menubar_visible, Eina_Bool *locationbar_visble, Eina_Bool *fullscreen);
14004    EAPI void                         elm_web_window_features_int_property_get(const Elm_Web_Window_Features *wf, int *x, int *y, int *w, int *h);
14005
14006    /**
14007     * @}
14008     */
14009
14010    /**
14011     * @defgroup Hoversel Hoversel
14012     *
14013     * @image html img/widget/hoversel/preview-00.png
14014     * @image latex img/widget/hoversel/preview-00.eps
14015     *
14016     * A hoversel is a button that pops up a list of items (automatically
14017     * choosing the direction to display) that have a label and, optionally, an
14018     * icon to select from. It is a convenience widget to avoid the need to do
14019     * all the piecing together yourself. It is intended for a small number of
14020     * items in the hoversel menu (no more than 8), though is capable of many
14021     * more.
14022     *
14023     * Signals that you can add callbacks for are:
14024     * "clicked" - the user clicked the hoversel button and popped up the sel
14025     * "selected" - an item in the hoversel list is selected. event_info is the item
14026     * "dismissed" - the hover is dismissed
14027     *
14028     * See @ref tutorial_hoversel for an example.
14029     * @{
14030     */
14031    typedef struct _Elm_Hoversel_Item Elm_Hoversel_Item; /**< Item of Elm_Hoversel. Sub-type of Elm_Widget_Item */
14032    /**
14033     * @brief Add a new Hoversel object
14034     *
14035     * @param parent The parent object
14036     * @return The new object or NULL if it cannot be created
14037     */
14038    EAPI Evas_Object       *elm_hoversel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
14039    /**
14040     * @brief This sets the hoversel to expand horizontally.
14041     *
14042     * @param obj The hoversel object
14043     * @param horizontal If true, the hover will expand horizontally to the
14044     * right.
14045     *
14046     * @note The initial button will display horizontally regardless of this
14047     * setting.
14048     */
14049    EAPI void               elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
14050    /**
14051     * @brief This returns whether the hoversel is set to expand horizontally.
14052     *
14053     * @param obj The hoversel object
14054     * @return If true, the hover will expand horizontally to the right.
14055     *
14056     * @see elm_hoversel_horizontal_set()
14057     */
14058    EAPI Eina_Bool          elm_hoversel_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14059    /**
14060     * @brief Set the Hover parent
14061     *
14062     * @param obj The hoversel object
14063     * @param parent The parent to use
14064     *
14065     * Sets the hover parent object, the area that will be darkened when the
14066     * hoversel is clicked. Should probably be the window that the hoversel is
14067     * in. See @ref Hover objects for more information.
14068     */
14069    EAPI void               elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
14070    /**
14071     * @brief Get the Hover parent
14072     *
14073     * @param obj The hoversel object
14074     * @return The used parent
14075     *
14076     * Gets the hover parent object.
14077     *
14078     * @see elm_hoversel_hover_parent_set()
14079     */
14080    EAPI Evas_Object       *elm_hoversel_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14081    /**
14082     * @brief Set the hoversel button label
14083     *
14084     * @param obj The hoversel object
14085     * @param label The label text.
14086     *
14087     * This sets the label of the button that is always visible (before it is
14088     * clicked and expanded).
14089     *
14090     * @deprecated elm_object_text_set()
14091     */
14092    EINA_DEPRECATED EAPI void               elm_hoversel_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
14093    /**
14094     * @brief Get the hoversel button label
14095     *
14096     * @param obj The hoversel object
14097     * @return The label text.
14098     *
14099     * @deprecated elm_object_text_get()
14100     */
14101    EINA_DEPRECATED EAPI const char        *elm_hoversel_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14102    /**
14103     * @brief Set the icon of the hoversel button
14104     *
14105     * @param obj The hoversel object
14106     * @param icon The icon object
14107     *
14108     * Sets the icon of the button that is always visible (before it is clicked
14109     * and expanded).  Once the icon object is set, a previously set one will be
14110     * deleted, if you want to keep that old content object, use the
14111     * elm_hoversel_icon_unset() function.
14112     *
14113     * @see elm_object_content_set() for the button widget
14114     */
14115    EAPI void               elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
14116    /**
14117     * @brief Get the icon of the hoversel button
14118     *
14119     * @param obj The hoversel object
14120     * @return The icon object
14121     *
14122     * Get the icon of the button that is always visible (before it is clicked
14123     * and expanded). Also see elm_object_content_get() for the button widget.
14124     *
14125     * @see elm_hoversel_icon_set()
14126     */
14127    EAPI Evas_Object       *elm_hoversel_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14128    /**
14129     * @brief Get and unparent the icon of the hoversel button
14130     *
14131     * @param obj The hoversel object
14132     * @return The icon object that was being used
14133     *
14134     * Unparent and return the icon of the button that is always visible
14135     * (before it is clicked and expanded).
14136     *
14137     * @see elm_hoversel_icon_set()
14138     * @see elm_object_content_unset() for the button widget
14139     */
14140    EAPI Evas_Object       *elm_hoversel_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
14141    /**
14142     * @brief This triggers the hoversel popup from code, the same as if the user
14143     * had clicked the button.
14144     *
14145     * @param obj The hoversel object
14146     */
14147    EAPI void               elm_hoversel_hover_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
14148    /**
14149     * @brief This dismisses the hoversel popup as if the user had clicked
14150     * outside the hover.
14151     *
14152     * @param obj The hoversel object
14153     */
14154    EAPI void               elm_hoversel_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
14155    /**
14156     * @brief Returns whether the hoversel is expanded.
14157     *
14158     * @param obj The hoversel object
14159     * @return  This will return EINA_TRUE if the hoversel is expanded or
14160     * EINA_FALSE if it is not expanded.
14161     */
14162    EAPI Eina_Bool          elm_hoversel_expanded_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14163    /**
14164     * @brief This will remove all the children items from the hoversel.
14165     *
14166     * @param obj The hoversel object
14167     *
14168     * @warning Should @b not be called while the hoversel is active; use
14169     * elm_hoversel_expanded_get() to check first.
14170     *
14171     * @see elm_hoversel_item_del_cb_set()
14172     * @see elm_hoversel_item_del()
14173     */
14174    EAPI void               elm_hoversel_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
14175    /**
14176     * @brief Get the list of items within the given hoversel.
14177     *
14178     * @param obj The hoversel object
14179     * @return Returns a list of Elm_Hoversel_Item*
14180     *
14181     * @see elm_hoversel_item_add()
14182     */
14183    EAPI const Eina_List   *elm_hoversel_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14184    /**
14185     * @brief Add an item to the hoversel button
14186     *
14187     * @param obj The hoversel object
14188     * @param label The text label to use for the item (NULL if not desired)
14189     * @param icon_file An image file path on disk to use for the icon or standard
14190     * icon name (NULL if not desired)
14191     * @param icon_type The icon type if relevant
14192     * @param func Convenience function to call when this item is selected
14193     * @param data Data to pass to item-related functions
14194     * @return A handle to the item added.
14195     *
14196     * This adds an item to the hoversel to show when it is clicked. Note: if you
14197     * need to use an icon from an edje file then use
14198     * elm_hoversel_item_icon_set() right after the this function, and set
14199     * icon_file to NULL here.
14200     *
14201     * For more information on what @p icon_file and @p icon_type are see the
14202     * @ref Icon "icon documentation".
14203     */
14204    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);
14205    /**
14206     * @brief Delete an item from the hoversel
14207     *
14208     * @param item The item to delete
14209     *
14210     * This deletes the item from the hoversel (should not be called while the
14211     * hoversel is active; use elm_hoversel_expanded_get() to check first).
14212     *
14213     * @see elm_hoversel_item_add()
14214     * @see elm_hoversel_item_del_cb_set()
14215     */
14216    EAPI void               elm_hoversel_item_del(Elm_Hoversel_Item *item) EINA_ARG_NONNULL(1);
14217    /**
14218     * @brief Set the function to be called when an item from the hoversel is
14219     * freed.
14220     *
14221     * @param item The item to set the callback on
14222     * @param func The function called
14223     *
14224     * That function will receive these parameters:
14225     * @li void *item_data
14226     * @li Evas_Object *the_item_object
14227     * @li Elm_Hoversel_Item *the_object_struct
14228     *
14229     * @see elm_hoversel_item_add()
14230     */
14231    EAPI void               elm_hoversel_item_del_cb_set(Elm_Hoversel_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
14232    /**
14233     * @brief This returns the data pointer supplied with elm_hoversel_item_add()
14234     * that will be passed to associated function callbacks.
14235     *
14236     * @param item The item to get the data from
14237     * @return The data pointer set with elm_hoversel_item_add()
14238     *
14239     * @see elm_hoversel_item_add()
14240     */
14241    EAPI void              *elm_hoversel_item_data_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
14242    /**
14243     * @brief This returns the label text of the given hoversel item.
14244     *
14245     * @param item The item to get the label
14246     * @return The label text of the hoversel item
14247     *
14248     * @see elm_hoversel_item_add()
14249     */
14250    EAPI const char        *elm_hoversel_item_label_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
14251    /**
14252     * @brief This sets the icon for the given hoversel item.
14253     *
14254     * @param item The item to set the icon
14255     * @param icon_file An image file path on disk to use for the icon or standard
14256     * icon name
14257     * @param icon_group The edje group to use if @p icon_file is an edje file. Set this
14258     * to NULL if the icon is not an edje file
14259     * @param icon_type The icon type
14260     *
14261     * The icon can be loaded from the standard set, from an image file, or from
14262     * an edje file.
14263     *
14264     * @see elm_hoversel_item_add()
14265     */
14266    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);
14267    /**
14268     * @brief Get the icon object of the hoversel item
14269     *
14270     * @param item The item to get the icon from
14271     * @param icon_file The image file path on disk used for the icon or standard
14272     * icon name
14273     * @param icon_group The edje group used if @p icon_file is an edje file. NULL
14274     * if the icon is not an edje file
14275     * @param icon_type The icon type
14276     *
14277     * @see elm_hoversel_item_icon_set()
14278     * @see elm_hoversel_item_add()
14279     */
14280    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);
14281    /**
14282     * @}
14283     */
14284
14285    /**
14286     * @defgroup Toolbar Toolbar
14287     * @ingroup Elementary
14288     *
14289     * @image html img/widget/toolbar/preview-00.png
14290     * @image latex img/widget/toolbar/preview-00.eps width=\textwidth
14291     *
14292     * @image html img/toolbar.png
14293     * @image latex img/toolbar.eps width=\textwidth
14294     *
14295     * A toolbar is a widget that displays a list of items inside
14296     * a box. It can be scrollable, show a menu with items that don't fit
14297     * to toolbar size or even crop them.
14298     *
14299     * Only one item can be selected at a time.
14300     *
14301     * Items can have multiple states, or show menus when selected by the user.
14302     *
14303     * Smart callbacks one can listen to:
14304     * - "clicked" - when the user clicks on a toolbar item and becomes selected.
14305     * - "language,changed" - when the program language changes
14306     *
14307     * Available styles for it:
14308     * - @c "default"
14309     * - @c "transparent" - no background or shadow, just show the content
14310     *
14311     * List of examples:
14312     * @li @ref toolbar_example_01
14313     * @li @ref toolbar_example_02
14314     * @li @ref toolbar_example_03
14315     */
14316
14317    /**
14318     * @addtogroup Toolbar
14319     * @{
14320     */
14321
14322    /**
14323     * @enum _Elm_Toolbar_Shrink_Mode
14324     * @typedef Elm_Toolbar_Shrink_Mode
14325     *
14326     * Set toolbar's items display behavior, it can be scrollabel,
14327     * show a menu with exceeding items, or simply hide them.
14328     *
14329     * @note Default value is #ELM_TOOLBAR_SHRINK_MENU. It reads value
14330     * from elm config.
14331     *
14332     * Values <b> don't </b> work as bitmask, only one can be choosen.
14333     *
14334     * @see elm_toolbar_mode_shrink_set()
14335     * @see elm_toolbar_mode_shrink_get()
14336     *
14337     * @ingroup Toolbar
14338     */
14339    typedef enum _Elm_Toolbar_Shrink_Mode
14340      {
14341         ELM_TOOLBAR_SHRINK_NONE,   /**< Set toolbar minimun size to fit all the items. */
14342         ELM_TOOLBAR_SHRINK_HIDE,   /**< Hide exceeding items. */
14343         ELM_TOOLBAR_SHRINK_SCROLL, /**< Allow accessing exceeding items through a scroller. */
14344         ELM_TOOLBAR_SHRINK_MENU,   /**< Inserts a button to pop up a menu with exceeding items. */
14345         ELM_TOOLBAR_SHRINK_LAST    /**< Indicates error if returned by elm_toolbar_shrink_mode_get() */
14346      } Elm_Toolbar_Shrink_Mode;
14347
14348    typedef struct _Elm_Toolbar_Item Elm_Toolbar_Item; /**< Item of Elm_Toolbar. Sub-type of Elm_Widget_Item. Can be created with elm_toolbar_item_append(), elm_toolbar_item_prepend() and functions to add items in relative positions, like elm_toolbar_item_insert_before(), and deleted with elm_toolbar_item_del(). */
14349
14350    typedef struct _Elm_Toolbar_Item_State Elm_Toolbar_Item_State; /**< State of a Elm_Toolbar_Item. Can be created with elm_toolbar_item_state_add() and removed with elm_toolbar_item_state_del(). */
14351
14352    /**
14353     * Add a new toolbar widget to the given parent Elementary
14354     * (container) object.
14355     *
14356     * @param parent The parent object.
14357     * @return a new toolbar widget handle or @c NULL, on errors.
14358     *
14359     * This function inserts a new toolbar widget on the canvas.
14360     *
14361     * @ingroup Toolbar
14362     */
14363    EAPI Evas_Object            *elm_toolbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
14364
14365    /**
14366     * Set the icon size, in pixels, to be used by toolbar items.
14367     *
14368     * @param obj The toolbar object
14369     * @param icon_size The icon size in pixels
14370     *
14371     * @note Default value is @c 32. It reads value from elm config.
14372     *
14373     * @see elm_toolbar_icon_size_get()
14374     *
14375     * @ingroup Toolbar
14376     */
14377    EAPI void                    elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size) EINA_ARG_NONNULL(1);
14378
14379    /**
14380     * Get the icon size, in pixels, to be used by toolbar items.
14381     *
14382     * @param obj The toolbar object.
14383     * @return The icon size in pixels.
14384     *
14385     * @see elm_toolbar_icon_size_set() for details.
14386     *
14387     * @ingroup Toolbar
14388     */
14389    EAPI int                     elm_toolbar_icon_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14390
14391    /**
14392     * Sets icon lookup order, for toolbar items' icons.
14393     *
14394     * @param obj The toolbar object.
14395     * @param order The icon lookup order.
14396     *
14397     * Icons added before calling this function will not be affected.
14398     * The default lookup order is #ELM_ICON_LOOKUP_THEME_FDO.
14399     *
14400     * @see elm_toolbar_icon_order_lookup_get()
14401     *
14402     * @ingroup Toolbar
14403     */
14404    EAPI void                    elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
14405
14406    /**
14407     * Gets the icon lookup order.
14408     *
14409     * @param obj The toolbar object.
14410     * @return The icon lookup order.
14411     *
14412     * @see elm_toolbar_icon_order_lookup_set() for details.
14413     *
14414     * @ingroup Toolbar
14415     */
14416    EAPI Elm_Icon_Lookup_Order   elm_toolbar_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14417
14418    /**
14419     * Set whether the toolbar should always have an item selected.
14420     *
14421     * @param obj The toolbar object.
14422     * @param wrap @c EINA_TRUE to enable always-select mode or @c EINA_FALSE to
14423     * disable it.
14424     *
14425     * This will cause the toolbar to always have an item selected, and clicking
14426     * the selected item will not cause a selected event to be emitted. Enabling this mode
14427     * will immediately select the first toolbar item.
14428     *
14429     * Always-selected is disabled by default.
14430     *
14431     * @see elm_toolbar_always_select_mode_get().
14432     *
14433     * @ingroup Toolbar
14434     */
14435    EAPI void                    elm_toolbar_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
14436
14437    /**
14438     * Get whether the toolbar should always have an item selected.
14439     *
14440     * @param obj The toolbar object.
14441     * @return @c EINA_TRUE means an item will always be selected, @c EINA_FALSE indicates
14442     * that it is possible to have no items selected. If @p obj is @c NULL, @c EINA_FALSE is returned.
14443     *
14444     * @see elm_toolbar_always_select_mode_set() for details.
14445     *
14446     * @ingroup Toolbar
14447     */
14448    EAPI Eina_Bool               elm_toolbar_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14449
14450    /**
14451     * Set whether the toolbar items' should be selected by the user or not.
14452     *
14453     * @param obj The toolbar object.
14454     * @param wrap @c EINA_TRUE to disable selection or @c EINA_FALSE to
14455     * enable it.
14456     *
14457     * This will turn off the ability to select items entirely and they will
14458     * neither appear selected nor emit selected signals. The clicked
14459     * callback function will still be called.
14460     *
14461     * Selection is enabled by default.
14462     *
14463     * @see elm_toolbar_no_select_mode_get().
14464     *
14465     * @ingroup Toolbar
14466     */
14467    EAPI void                    elm_toolbar_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
14468
14469    /**
14470     * Set whether the toolbar items' should be selected by the user or not.
14471     *
14472     * @param obj The toolbar object.
14473     * @return @c EINA_TRUE means items can be selected. @c EINA_FALSE indicates
14474     * they can't. If @p obj is @c NULL, @c EINA_FALSE is returned.
14475     *
14476     * @see elm_toolbar_no_select_mode_set() for details.
14477     *
14478     * @ingroup Toolbar
14479     */
14480    EAPI Eina_Bool               elm_toolbar_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14481
14482    /**
14483     * Append item to the toolbar.
14484     *
14485     * @param obj The toolbar object.
14486     * @param icon A string with icon name or the absolute path of an image file.
14487     * @param label The label of the item.
14488     * @param func The function to call when the item is clicked.
14489     * @param data The data to associate with the item for related callbacks.
14490     * @return The created item or @c NULL upon failure.
14491     *
14492     * A new item will be created and appended to the toolbar, i.e., will
14493     * be set as @b last item.
14494     *
14495     * Items created with this method can be deleted with
14496     * elm_toolbar_item_del().
14497     *
14498     * Associated @p data can be properly freed when item is deleted if a
14499     * callback function is set with elm_toolbar_item_del_cb_set().
14500     *
14501     * If a function is passed as argument, it will be called everytime this item
14502     * is selected, i.e., the user clicks over an unselected item.
14503     * If such function isn't needed, just passing
14504     * @c NULL as @p func is enough. The same should be done for @p data.
14505     *
14506     * Toolbar will load icon image from fdo or current theme.
14507     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14508     * If an absolute path is provided it will load it direct from a file.
14509     *
14510     * @see elm_toolbar_item_icon_set()
14511     * @see elm_toolbar_item_del()
14512     * @see elm_toolbar_item_del_cb_set()
14513     *
14514     * @ingroup Toolbar
14515     */
14516    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);
14517
14518    /**
14519     * Prepend item to the toolbar.
14520     *
14521     * @param obj The toolbar object.
14522     * @param icon A string with icon name or the absolute path of an image file.
14523     * @param label The label of the item.
14524     * @param func The function to call when the item is clicked.
14525     * @param data The data to associate with the item for related callbacks.
14526     * @return The created item or @c NULL upon failure.
14527     *
14528     * A new item will be created and prepended to the toolbar, i.e., will
14529     * be set as @b first item.
14530     *
14531     * Items created with this method can be deleted with
14532     * elm_toolbar_item_del().
14533     *
14534     * Associated @p data can be properly freed when item is deleted if a
14535     * callback function is set with elm_toolbar_item_del_cb_set().
14536     *
14537     * If a function is passed as argument, it will be called everytime this item
14538     * is selected, i.e., the user clicks over an unselected item.
14539     * If such function isn't needed, just passing
14540     * @c NULL as @p func is enough. The same should be done for @p data.
14541     *
14542     * Toolbar will load icon image from fdo or current theme.
14543     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14544     * If an absolute path is provided it will load it direct from a file.
14545     *
14546     * @see elm_toolbar_item_icon_set()
14547     * @see elm_toolbar_item_del()
14548     * @see elm_toolbar_item_del_cb_set()
14549     *
14550     * @ingroup Toolbar
14551     */
14552    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);
14553
14554    /**
14555     * Insert a new item into the toolbar object before item @p before.
14556     *
14557     * @param obj The toolbar object.
14558     * @param before The toolbar item to insert before.
14559     * @param icon A string with icon name or the absolute path of an image file.
14560     * @param label The label of the item.
14561     * @param func The function to call when the item is clicked.
14562     * @param data The data to associate with the item for related callbacks.
14563     * @return The created item or @c NULL upon failure.
14564     *
14565     * A new item will be created and added to the toolbar. Its position in
14566     * this toolbar will be just before item @p before.
14567     *
14568     * Items created with this method can be deleted with
14569     * elm_toolbar_item_del().
14570     *
14571     * Associated @p data can be properly freed when item is deleted if a
14572     * callback function is set with elm_toolbar_item_del_cb_set().
14573     *
14574     * If a function is passed as argument, it will be called everytime this item
14575     * is selected, i.e., the user clicks over an unselected item.
14576     * If such function isn't needed, just passing
14577     * @c NULL as @p func is enough. The same should be done for @p data.
14578     *
14579     * Toolbar will load icon image from fdo or current theme.
14580     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14581     * If an absolute path is provided it will load it direct from a file.
14582     *
14583     * @see elm_toolbar_item_icon_set()
14584     * @see elm_toolbar_item_del()
14585     * @see elm_toolbar_item_del_cb_set()
14586     *
14587     * @ingroup Toolbar
14588     */
14589    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);
14590
14591    /**
14592     * Insert a new item into the toolbar object after item @p after.
14593     *
14594     * @param obj The toolbar object.
14595     * @param before The toolbar item to insert before.
14596     * @param icon A string with icon name or the absolute path of an image file.
14597     * @param label The label of the item.
14598     * @param func The function to call when the item is clicked.
14599     * @param data The data to associate with the item for related callbacks.
14600     * @return The created item or @c NULL upon failure.
14601     *
14602     * A new item will be created and added to the toolbar. Its position in
14603     * this toolbar will be just after item @p after.
14604     *
14605     * Items created with this method can be deleted with
14606     * elm_toolbar_item_del().
14607     *
14608     * Associated @p data can be properly freed when item is deleted if a
14609     * callback function is set with elm_toolbar_item_del_cb_set().
14610     *
14611     * If a function is passed as argument, it will be called everytime this item
14612     * is selected, i.e., the user clicks over an unselected item.
14613     * If such function isn't needed, just passing
14614     * @c NULL as @p func is enough. The same should be done for @p data.
14615     *
14616     * Toolbar will load icon image from fdo or current theme.
14617     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14618     * If an absolute path is provided it will load it direct from a file.
14619     *
14620     * @see elm_toolbar_item_icon_set()
14621     * @see elm_toolbar_item_del()
14622     * @see elm_toolbar_item_del_cb_set()
14623     *
14624     * @ingroup Toolbar
14625     */
14626    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);
14627
14628    /**
14629     * Get the first item in the given toolbar widget's list of
14630     * items.
14631     *
14632     * @param obj The toolbar object
14633     * @return The first item or @c NULL, if it has no items (and on
14634     * errors)
14635     *
14636     * @see elm_toolbar_item_append()
14637     * @see elm_toolbar_last_item_get()
14638     *
14639     * @ingroup Toolbar
14640     */
14641    EAPI Elm_Toolbar_Item       *elm_toolbar_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14642
14643    /**
14644     * Get the last item in the given toolbar widget's list of
14645     * items.
14646     *
14647     * @param obj The toolbar object
14648     * @return The last item or @c NULL, if it has no items (and on
14649     * errors)
14650     *
14651     * @see elm_toolbar_item_prepend()
14652     * @see elm_toolbar_first_item_get()
14653     *
14654     * @ingroup Toolbar
14655     */
14656    EAPI Elm_Toolbar_Item       *elm_toolbar_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14657
14658    /**
14659     * Get the item after @p item in toolbar.
14660     *
14661     * @param item The toolbar item.
14662     * @return The item after @p item, or @c NULL if none or on failure.
14663     *
14664     * @note If it is the last item, @c NULL will be returned.
14665     *
14666     * @see elm_toolbar_item_append()
14667     *
14668     * @ingroup Toolbar
14669     */
14670    EAPI Elm_Toolbar_Item       *elm_toolbar_item_next_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14671
14672    /**
14673     * Get the item before @p item in toolbar.
14674     *
14675     * @param item The toolbar item.
14676     * @return The item before @p item, or @c NULL if none or on failure.
14677     *
14678     * @note If it is the first item, @c NULL will be returned.
14679     *
14680     * @see elm_toolbar_item_prepend()
14681     *
14682     * @ingroup Toolbar
14683     */
14684    EAPI Elm_Toolbar_Item       *elm_toolbar_item_prev_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14685
14686    /**
14687     * Get the toolbar object from an item.
14688     *
14689     * @param item The item.
14690     * @return The toolbar object.
14691     *
14692     * This returns the toolbar object itself that an item belongs to.
14693     *
14694     * @ingroup Toolbar
14695     */
14696    EAPI Evas_Object            *elm_toolbar_item_toolbar_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14697
14698    /**
14699     * Set the priority of a toolbar item.
14700     *
14701     * @param item The toolbar item.
14702     * @param priority The item priority. The default is zero.
14703     *
14704     * This is used only when the toolbar shrink mode is set to
14705     * #ELM_TOOLBAR_SHRINK_MENU or #ELM_TOOLBAR_SHRINK_HIDE.
14706     * When space is less than required, items with low priority
14707     * will be removed from the toolbar and added to a dynamically-created menu,
14708     * while items with higher priority will remain on the toolbar,
14709     * with the same order they were added.
14710     *
14711     * @see elm_toolbar_item_priority_get()
14712     *
14713     * @ingroup Toolbar
14714     */
14715    EAPI void                    elm_toolbar_item_priority_set(Elm_Toolbar_Item *item, int priority) EINA_ARG_NONNULL(1);
14716
14717    /**
14718     * Get the priority of a toolbar item.
14719     *
14720     * @param item The toolbar item.
14721     * @return The @p item priority, or @c 0 on failure.
14722     *
14723     * @see elm_toolbar_item_priority_set() for details.
14724     *
14725     * @ingroup Toolbar
14726     */
14727    EAPI int                     elm_toolbar_item_priority_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14728
14729    /**
14730     * Get the label of item.
14731     *
14732     * @param item The item of toolbar.
14733     * @return The label of item.
14734     *
14735     * The return value is a pointer to the label associated to @p item when
14736     * it was created, with function elm_toolbar_item_append() or similar,
14737     * or later,
14738     * with function elm_toolbar_item_label_set. If no label
14739     * was passed as argument, it will return @c NULL.
14740     *
14741     * @see elm_toolbar_item_label_set() for more details.
14742     * @see elm_toolbar_item_append()
14743     *
14744     * @ingroup Toolbar
14745     */
14746    EAPI const char             *elm_toolbar_item_label_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14747
14748    /**
14749     * Set the label of item.
14750     *
14751     * @param item The item of toolbar.
14752     * @param text The label of item.
14753     *
14754     * The label to be displayed by the item.
14755     * Label will be placed at icons bottom (if set).
14756     *
14757     * If a label was passed as argument on item creation, with function
14758     * elm_toolbar_item_append() or similar, it will be already
14759     * displayed by the item.
14760     *
14761     * @see elm_toolbar_item_label_get()
14762     * @see elm_toolbar_item_append()
14763     *
14764     * @ingroup Toolbar
14765     */
14766    EAPI void                    elm_toolbar_item_label_set(Elm_Toolbar_Item *item, const char *label) EINA_ARG_NONNULL(1);
14767
14768    /**
14769     * Return the data associated with a given toolbar widget item.
14770     *
14771     * @param item The toolbar widget item handle.
14772     * @return The data associated with @p item.
14773     *
14774     * @see elm_toolbar_item_data_set()
14775     *
14776     * @ingroup Toolbar
14777     */
14778    EAPI void                   *elm_toolbar_item_data_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14779
14780    /**
14781     * Set the data associated with a given toolbar widget item.
14782     *
14783     * @param item The toolbar widget item handle.
14784     * @param data The new data pointer to set to @p item.
14785     *
14786     * This sets new item data on @p item.
14787     *
14788     * @warning The old data pointer won't be touched by this function, so
14789     * the user had better to free that old data himself/herself.
14790     *
14791     * @ingroup Toolbar
14792     */
14793    EAPI void                    elm_toolbar_item_data_set(Elm_Toolbar_Item *item, const void *data) EINA_ARG_NONNULL(1);
14794
14795    /**
14796     * Returns a pointer to a toolbar item by its label.
14797     *
14798     * @param obj The toolbar object.
14799     * @param label The label of the item to find.
14800     *
14801     * @return The pointer to the toolbar item matching @p label or @c NULL
14802     * on failure.
14803     *
14804     * @ingroup Toolbar
14805     */
14806    EAPI Elm_Toolbar_Item       *elm_toolbar_item_find_by_label(const Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
14807
14808    /*
14809     * Get whether the @p item is selected or not.
14810     *
14811     * @param item The toolbar item.
14812     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
14813     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
14814     *
14815     * @see elm_toolbar_selected_item_set() for details.
14816     * @see elm_toolbar_item_selected_get()
14817     *
14818     * @ingroup Toolbar
14819     */
14820    EAPI Eina_Bool               elm_toolbar_item_selected_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14821
14822    /**
14823     * Set the selected state of an item.
14824     *
14825     * @param item The toolbar item
14826     * @param selected The selected state
14827     *
14828     * This sets the selected state of the given item @p it.
14829     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
14830     *
14831     * If a new item is selected the previosly selected will be unselected.
14832     * Previoulsy selected item can be get with function
14833     * elm_toolbar_selected_item_get().
14834     *
14835     * Selected items will be highlighted.
14836     *
14837     * @see elm_toolbar_item_selected_get()
14838     * @see elm_toolbar_selected_item_get()
14839     *
14840     * @ingroup Toolbar
14841     */
14842    EAPI void                    elm_toolbar_item_selected_set(Elm_Toolbar_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
14843
14844    /**
14845     * Get the selected item.
14846     *
14847     * @param obj The toolbar object.
14848     * @return The selected toolbar item.
14849     *
14850     * The selected item can be unselected with function
14851     * elm_toolbar_item_selected_set().
14852     *
14853     * The selected item always will be highlighted on toolbar.
14854     *
14855     * @see elm_toolbar_selected_items_get()
14856     *
14857     * @ingroup Toolbar
14858     */
14859    EAPI Elm_Toolbar_Item       *elm_toolbar_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14860
14861    /**
14862     * Set the icon associated with @p item.
14863     *
14864     * @param obj The parent of this item.
14865     * @param item The toolbar item.
14866     * @param icon A string with icon name or the absolute path of an image file.
14867     *
14868     * Toolbar will load icon image from fdo or current theme.
14869     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14870     * If an absolute path is provided it will load it direct from a file.
14871     *
14872     * @see elm_toolbar_icon_order_lookup_set()
14873     * @see elm_toolbar_icon_order_lookup_get()
14874     *
14875     * @ingroup Toolbar
14876     */
14877    EAPI void                    elm_toolbar_item_icon_set(Elm_Toolbar_Item *item, const char *icon) EINA_ARG_NONNULL(1);
14878
14879    /**
14880     * Get the string used to set the icon of @p item.
14881     *
14882     * @param item The toolbar item.
14883     * @return The string associated with the icon object.
14884     *
14885     * @see elm_toolbar_item_icon_set() for details.
14886     *
14887     * @ingroup Toolbar
14888     */
14889    EAPI const char             *elm_toolbar_item_icon_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14890
14891    /**
14892     * Get the object of @p item.
14893     *
14894     * @param item The toolbar item.
14895     * @return The object
14896     *
14897     * @ingroup Toolbar
14898     */
14899    EAPI Evas_Object            *elm_toolbar_item_object_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14900
14901    /**
14902     * Get the icon object of @p item.
14903     *
14904     * @param item The toolbar item.
14905     * @return The icon object
14906     *
14907     * @see elm_toolbar_item_icon_set() or elm_toolbar_item_icon_memfile_set() for details.
14908     *
14909     * @ingroup Toolbar
14910     */
14911    EAPI Evas_Object            *elm_toolbar_item_icon_object_get(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14912
14913    /**
14914     * Set the icon associated with @p item to an image in a binary buffer.
14915     *
14916     * @param item The toolbar item.
14917     * @param img The binary data that will be used as an image
14918     * @param size The size of binary data @p img
14919     * @param format Optional format of @p img to pass to the image loader
14920     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
14921     *
14922     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
14923     *
14924     * @note The icon image set by this function can be changed by
14925     * elm_toolbar_item_icon_set().
14926     * 
14927     * @ingroup Toolbar
14928     */
14929    EAPI Eina_Bool elm_toolbar_item_icon_memfile_set(Elm_Toolbar_Item *item, const void *img, size_t size, const char *format, const char *key) EINA_ARG_NONNULL(1);
14930
14931    /**
14932     * Delete them item from the toolbar.
14933     *
14934     * @param item The item of toolbar to be deleted.
14935     *
14936     * @see elm_toolbar_item_append()
14937     * @see elm_toolbar_item_del_cb_set()
14938     *
14939     * @ingroup Toolbar
14940     */
14941    EAPI void                    elm_toolbar_item_del(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14942
14943    /**
14944     * Set the function called when a toolbar item is freed.
14945     *
14946     * @param item The item to set the callback on.
14947     * @param func The function called.
14948     *
14949     * If there is a @p func, then it will be called prior item's memory release.
14950     * That will be called with the following arguments:
14951     * @li item's data;
14952     * @li item's Evas object;
14953     * @li item itself;
14954     *
14955     * This way, a data associated to a toolbar item could be properly freed.
14956     *
14957     * @ingroup Toolbar
14958     */
14959    EAPI void                    elm_toolbar_item_del_cb_set(Elm_Toolbar_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
14960
14961    /**
14962     * Get a value whether toolbar item is disabled or not.
14963     *
14964     * @param item The item.
14965     * @return The disabled state.
14966     *
14967     * @see elm_toolbar_item_disabled_set() for more details.
14968     *
14969     * @ingroup Toolbar
14970     */
14971    EAPI Eina_Bool               elm_toolbar_item_disabled_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14972
14973    /**
14974     * Sets the disabled/enabled state of a toolbar item.
14975     *
14976     * @param item The item.
14977     * @param disabled The disabled state.
14978     *
14979     * A disabled item cannot be selected or unselected. It will also
14980     * change its appearance (generally greyed out). This sets the
14981     * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
14982     * enabled).
14983     *
14984     * @ingroup Toolbar
14985     */
14986    EAPI void                    elm_toolbar_item_disabled_set(Elm_Toolbar_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
14987
14988    /**
14989     * Set or unset item as a separator.
14990     *
14991     * @param item The toolbar item.
14992     * @param setting @c EINA_TRUE to set item @p item as separator or
14993     * @c EINA_FALSE to unset, i.e., item will be used as a regular item.
14994     *
14995     * Items aren't set as separator by default.
14996     *
14997     * If set as separator it will display separator theme, so won't display
14998     * icons or label.
14999     *
15000     * @see elm_toolbar_item_separator_get()
15001     *
15002     * @ingroup Toolbar
15003     */
15004    EAPI void                    elm_toolbar_item_separator_set(Elm_Toolbar_Item *item, Eina_Bool separator) EINA_ARG_NONNULL(1);
15005
15006    /**
15007     * Get a value whether item is a separator or not.
15008     *
15009     * @param item The toolbar item.
15010     * @return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
15011     * indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
15012     *
15013     * @see elm_toolbar_item_separator_set() for details.
15014     *
15015     * @ingroup Toolbar
15016     */
15017    EAPI Eina_Bool               elm_toolbar_item_separator_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15018
15019    /**
15020     * Set the shrink state of toolbar @p obj.
15021     *
15022     * @param obj The toolbar object.
15023     * @param shrink_mode Toolbar's items display behavior.
15024     *
15025     * The toolbar won't scroll if #ELM_TOOLBAR_SHRINK_NONE,
15026     * but will enforce a minimun size so all the items will fit, won't scroll
15027     * and won't show the items that don't fit if #ELM_TOOLBAR_SHRINK_HIDE,
15028     * will scroll if #ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to
15029     * pop up excess elements with #ELM_TOOLBAR_SHRINK_MENU.
15030     *
15031     * @ingroup Toolbar
15032     */
15033    EAPI void                    elm_toolbar_mode_shrink_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode) EINA_ARG_NONNULL(1);
15034
15035    /**
15036     * Get the shrink mode of toolbar @p obj.
15037     *
15038     * @param obj The toolbar object.
15039     * @return Toolbar's items display behavior.
15040     *
15041     * @see elm_toolbar_mode_shrink_set() for details.
15042     *
15043     * @ingroup Toolbar
15044     */
15045    EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_mode_shrink_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15046
15047    /**
15048     * Enable/disable homogenous mode.
15049     *
15050     * @param obj The toolbar object
15051     * @param homogeneous Assume the items within the toolbar are of the
15052     * same size (EINA_TRUE = on, EINA_FALSE = off). Default is @c EINA_FALSE.
15053     *
15054     * This will enable the homogeneous mode where items are of the same size.
15055     * @see elm_toolbar_homogeneous_get()
15056     *
15057     * @ingroup Toolbar
15058     */
15059    EAPI void                    elm_toolbar_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
15060
15061    /**
15062     * Get whether the homogenous mode is enabled.
15063     *
15064     * @param obj The toolbar object.
15065     * @return Assume the items within the toolbar are of the same height
15066     * and width (EINA_TRUE = on, EINA_FALSE = off).
15067     *
15068     * @see elm_toolbar_homogeneous_set()
15069     *
15070     * @ingroup Toolbar
15071     */
15072    EAPI Eina_Bool               elm_toolbar_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15073
15074    /**
15075     * Enable/disable homogenous mode.
15076     *
15077     * @param obj The toolbar object
15078     * @param homogeneous Assume the items within the toolbar are of the
15079     * same size (EINA_TRUE = on, EINA_FALSE = off). Default is @c EINA_FALSE.
15080     *
15081     * This will enable the homogeneous mode where items are of the same size.
15082     * @see elm_toolbar_homogeneous_get()
15083     *
15084     * @deprecated use elm_toolbar_homogeneous_set() instead.
15085     *
15086     * @ingroup Toolbar
15087     */
15088    EINA_DEPRECATED EAPI void    elm_toolbar_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
15089
15090    /**
15091     * Get whether the homogenous mode is enabled.
15092     *
15093     * @param obj The toolbar object.
15094     * @return Assume the items within the toolbar are of the same height
15095     * and width (EINA_TRUE = on, EINA_FALSE = off).
15096     *
15097     * @see elm_toolbar_homogeneous_set()
15098     * @deprecated use elm_toolbar_homogeneous_get() instead.
15099     *
15100     * @ingroup Toolbar
15101     */
15102    EINA_DEPRECATED EAPI Eina_Bool elm_toolbar_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15103
15104    /**
15105     * Set the parent object of the toolbar items' menus.
15106     *
15107     * @param obj The toolbar object.
15108     * @param parent The parent of the menu objects.
15109     *
15110     * Each item can be set as item menu, with elm_toolbar_item_menu_set().
15111     *
15112     * For more details about setting the parent for toolbar menus, see
15113     * elm_menu_parent_set().
15114     *
15115     * @see elm_menu_parent_set() for details.
15116     * @see elm_toolbar_item_menu_set() for details.
15117     *
15118     * @ingroup Toolbar
15119     */
15120    EAPI void                    elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
15121
15122    /**
15123     * Get the parent object of the toolbar items' menus.
15124     *
15125     * @param obj The toolbar object.
15126     * @return The parent of the menu objects.
15127     *
15128     * @see elm_toolbar_menu_parent_set() for details.
15129     *
15130     * @ingroup Toolbar
15131     */
15132    EAPI Evas_Object            *elm_toolbar_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15133
15134    /**
15135     * Set the alignment of the items.
15136     *
15137     * @param obj The toolbar object.
15138     * @param align The new alignment, a float between <tt> 0.0 </tt>
15139     * and <tt> 1.0 </tt>.
15140     *
15141     * Alignment of toolbar items, from <tt> 0.0 </tt> to indicates to align
15142     * left, to <tt> 1.0 </tt>, to align to right. <tt> 0.5 </tt> centralize
15143     * items.
15144     *
15145     * Centered items by default.
15146     *
15147     * @see elm_toolbar_align_get()
15148     *
15149     * @ingroup Toolbar
15150     */
15151    EAPI void                    elm_toolbar_align_set(Evas_Object *obj, double align) EINA_ARG_NONNULL(1);
15152
15153    /**
15154     * Get the alignment of the items.
15155     *
15156     * @param obj The toolbar object.
15157     * @return toolbar items alignment, a float between <tt> 0.0 </tt> and
15158     * <tt> 1.0 </tt>.
15159     *
15160     * @see elm_toolbar_align_set() for details.
15161     *
15162     * @ingroup Toolbar
15163     */
15164    EAPI double                  elm_toolbar_align_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15165
15166    /**
15167     * Set whether the toolbar item opens a menu.
15168     *
15169     * @param item The toolbar item.
15170     * @param menu If @c EINA_TRUE, @p item will opens a menu when selected.
15171     *
15172     * A toolbar item can be set to be a menu, using this function.
15173     *
15174     * Once it is set to be a menu, it can be manipulated through the
15175     * menu-like function elm_toolbar_menu_parent_set() and the other
15176     * elm_menu functions, using the Evas_Object @c menu returned by
15177     * elm_toolbar_item_menu_get().
15178     *
15179     * So, items to be displayed in this item's menu should be added with
15180     * elm_menu_item_add().
15181     *
15182     * The following code exemplifies the most basic usage:
15183     * @code
15184     * tb = elm_toolbar_add(win)
15185     * item = elm_toolbar_item_append(tb, "refresh", "Menu", NULL, NULL);
15186     * elm_toolbar_item_menu_set(item, EINA_TRUE);
15187     * elm_toolbar_menu_parent_set(tb, win);
15188     * menu = elm_toolbar_item_menu_get(item);
15189     * elm_menu_item_add(menu, NULL, "edit-cut", "Cut", NULL, NULL);
15190     * menu_item = elm_menu_item_add(menu, NULL, "edit-copy", "Copy", NULL,
15191     * NULL);
15192     * @endcode
15193     *
15194     * @see elm_toolbar_item_menu_get()
15195     *
15196     * @ingroup Toolbar
15197     */
15198    EAPI void                    elm_toolbar_item_menu_set(Elm_Toolbar_Item *item, Eina_Bool menu) EINA_ARG_NONNULL(1);
15199
15200    /**
15201     * Get toolbar item's menu.
15202     *
15203     * @param item The toolbar item.
15204     * @return Item's menu object or @c NULL on failure.
15205     *
15206     * If @p item wasn't set as menu item with elm_toolbar_item_menu_set(),
15207     * this function will set it.
15208     *
15209     * @see elm_toolbar_item_menu_set() for details.
15210     *
15211     * @ingroup Toolbar
15212     */
15213    EAPI Evas_Object            *elm_toolbar_item_menu_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15214
15215    /**
15216     * Add a new state to @p item.
15217     *
15218     * @param item The item.
15219     * @param icon A string with icon name or the absolute path of an image file.
15220     * @param label The label of the new state.
15221     * @param func The function to call when the item is clicked when this
15222     * state is selected.
15223     * @param data The data to associate with the state.
15224     * @return The toolbar item state, or @c NULL upon failure.
15225     *
15226     * Toolbar will load icon image from fdo or current theme.
15227     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
15228     * If an absolute path is provided it will load it direct from a file.
15229     *
15230     * States created with this function can be removed with
15231     * elm_toolbar_item_state_del().
15232     *
15233     * @see elm_toolbar_item_state_del()
15234     * @see elm_toolbar_item_state_sel()
15235     * @see elm_toolbar_item_state_get()
15236     *
15237     * @ingroup Toolbar
15238     */
15239    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);
15240
15241    /**
15242     * Delete a previoulsy added state to @p item.
15243     *
15244     * @param item The toolbar item.
15245     * @param state The state to be deleted.
15246     * @return @c EINA_TRUE on success or @c EINA_FALSE on failure.
15247     *
15248     * @see elm_toolbar_item_state_add()
15249     */
15250    EAPI Eina_Bool               elm_toolbar_item_state_del(Elm_Toolbar_Item *item, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
15251
15252    /**
15253     * Set @p state as the current state of @p it.
15254     *
15255     * @param it The item.
15256     * @param state The state to use.
15257     * @return @c EINA_TRUE on success or @c EINA_FALSE on failure.
15258     *
15259     * If @p state is @c NULL, it won't select any state and the default item's
15260     * icon and label will be used. It's the same behaviour than
15261     * elm_toolbar_item_state_unser().
15262     *
15263     * @see elm_toolbar_item_state_unset()
15264     *
15265     * @ingroup Toolbar
15266     */
15267    EAPI Eina_Bool               elm_toolbar_item_state_set(Elm_Toolbar_Item *it, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
15268
15269    /**
15270     * Unset the state of @p it.
15271     *
15272     * @param it The item.
15273     *
15274     * The default icon and label from this item will be displayed.
15275     *
15276     * @see elm_toolbar_item_state_set() for more details.
15277     *
15278     * @ingroup Toolbar
15279     */
15280    EAPI void                    elm_toolbar_item_state_unset(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15281
15282    /**
15283     * Get the current state of @p it.
15284     *
15285     * @param item The item.
15286     * @return The selected state or @c NULL if none is selected or on failure.
15287     *
15288     * @see elm_toolbar_item_state_set() for details.
15289     * @see elm_toolbar_item_state_unset()
15290     * @see elm_toolbar_item_state_add()
15291     *
15292     * @ingroup Toolbar
15293     */
15294    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_get(const Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15295
15296    /**
15297     * Get the state after selected state in toolbar's @p item.
15298     *
15299     * @param it The toolbar item to change state.
15300     * @return The state after current state, or @c NULL on failure.
15301     *
15302     * If last state is selected, this function will return first state.
15303     *
15304     * @see elm_toolbar_item_state_set()
15305     * @see elm_toolbar_item_state_add()
15306     *
15307     * @ingroup Toolbar
15308     */
15309    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_next(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15310
15311    /**
15312     * Get the state before selected state in toolbar's @p item.
15313     *
15314     * @param it The toolbar item to change state.
15315     * @return The state before current state, or @c NULL on failure.
15316     *
15317     * If first state is selected, this function will return last state.
15318     *
15319     * @see elm_toolbar_item_state_set()
15320     * @see elm_toolbar_item_state_add()
15321     *
15322     * @ingroup Toolbar
15323     */
15324    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_prev(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15325
15326    /**
15327     * Set the text to be shown in a given toolbar item's tooltips.
15328     *
15329     * @param item Target item.
15330     * @param text The text to set in the content.
15331     *
15332     * Setup the text as tooltip to object. The item can have only one tooltip,
15333     * so any previous tooltip data - set with this function or
15334     * elm_toolbar_item_tooltip_content_cb_set() - is removed.
15335     *
15336     * @see elm_object_tooltip_text_set() for more details.
15337     *
15338     * @ingroup Toolbar
15339     */
15340    EAPI void             elm_toolbar_item_tooltip_text_set(Elm_Toolbar_Item *item, const char *text) EINA_ARG_NONNULL(1);
15341
15342    /**
15343     * Set the content to be shown in the tooltip item.
15344     *
15345     * Setup the tooltip to item. The item can have only one tooltip,
15346     * so any previous tooltip data is removed. @p func(with @p data) will
15347     * be called every time that need show the tooltip and it should
15348     * return a valid Evas_Object. This object is then managed fully by
15349     * tooltip system and is deleted when the tooltip is gone.
15350     *
15351     * @param item the toolbar item being attached a tooltip.
15352     * @param func the function used to create the tooltip contents.
15353     * @param data what to provide to @a func as callback data/context.
15354     * @param del_cb called when data is not needed anymore, either when
15355     *        another callback replaces @a func, the tooltip is unset with
15356     *        elm_toolbar_item_tooltip_unset() or the owner @a item
15357     *        dies. This callback receives as the first parameter the
15358     *        given @a data, and @c event_info is the item.
15359     *
15360     * @see elm_object_tooltip_content_cb_set() for more details.
15361     *
15362     * @ingroup Toolbar
15363     */
15364    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);
15365
15366    /**
15367     * Unset tooltip from item.
15368     *
15369     * @param item toolbar item to remove previously set tooltip.
15370     *
15371     * Remove tooltip from item. The callback provided as del_cb to
15372     * elm_toolbar_item_tooltip_content_cb_set() will be called to notify
15373     * it is not used anymore.
15374     *
15375     * @see elm_object_tooltip_unset() for more details.
15376     * @see elm_toolbar_item_tooltip_content_cb_set()
15377     *
15378     * @ingroup Toolbar
15379     */
15380    EAPI void             elm_toolbar_item_tooltip_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15381
15382    /**
15383     * Sets a different style for this item tooltip.
15384     *
15385     * @note before you set a style you should define a tooltip with
15386     *       elm_toolbar_item_tooltip_content_cb_set() or
15387     *       elm_toolbar_item_tooltip_text_set()
15388     *
15389     * @param item toolbar item with tooltip already set.
15390     * @param style the theme style to use (default, transparent, ...)
15391     *
15392     * @see elm_object_tooltip_style_set() for more details.
15393     *
15394     * @ingroup Toolbar
15395     */
15396    EAPI void             elm_toolbar_item_tooltip_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
15397
15398    /**
15399     * Get the style for this item tooltip.
15400     *
15401     * @param item toolbar item with tooltip already set.
15402     * @return style the theme style in use, defaults to "default". If the
15403     *         object does not have a tooltip set, then NULL is returned.
15404     *
15405     * @see elm_object_tooltip_style_get() for more details.
15406     * @see elm_toolbar_item_tooltip_style_set()
15407     *
15408     * @ingroup Toolbar
15409     */
15410    EAPI const char      *elm_toolbar_item_tooltip_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15411
15412    /**
15413     * Set the type of mouse pointer/cursor decoration to be shown,
15414     * when the mouse pointer is over the given toolbar widget item
15415     *
15416     * @param item toolbar item to customize cursor on
15417     * @param cursor the cursor type's name
15418     *
15419     * This function works analogously as elm_object_cursor_set(), but
15420     * here the cursor's changing area is restricted to the item's
15421     * area, and not the whole widget's. Note that that item cursors
15422     * have precedence over widget cursors, so that a mouse over an
15423     * item with custom cursor set will always show @b that cursor.
15424     *
15425     * If this function is called twice for an object, a previously set
15426     * cursor will be unset on the second call.
15427     *
15428     * @see elm_object_cursor_set()
15429     * @see elm_toolbar_item_cursor_get()
15430     * @see elm_toolbar_item_cursor_unset()
15431     *
15432     * @ingroup Toolbar
15433     */
15434    EAPI void             elm_toolbar_item_cursor_set(Elm_Toolbar_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
15435
15436    /*
15437     * Get the type of mouse pointer/cursor decoration set to be shown,
15438     * when the mouse pointer is over the given toolbar widget item
15439     *
15440     * @param item toolbar item with custom cursor set
15441     * @return the cursor type's name or @c NULL, if no custom cursors
15442     * were set to @p item (and on errors)
15443     *
15444     * @see elm_object_cursor_get()
15445     * @see elm_toolbar_item_cursor_set()
15446     * @see elm_toolbar_item_cursor_unset()
15447     *
15448     * @ingroup Toolbar
15449     */
15450    EAPI const char      *elm_toolbar_item_cursor_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15451
15452    /**
15453     * Unset any custom mouse pointer/cursor decoration set to be
15454     * shown, when the mouse pointer is over the given toolbar widget
15455     * item, thus making it show the @b default cursor again.
15456     *
15457     * @param item a toolbar item
15458     *
15459     * Use this call to undo any custom settings on this item's cursor
15460     * decoration, bringing it back to defaults (no custom style set).
15461     *
15462     * @see elm_object_cursor_unset()
15463     * @see elm_toolbar_item_cursor_set()
15464     *
15465     * @ingroup Toolbar
15466     */
15467    EAPI void             elm_toolbar_item_cursor_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15468
15469    /**
15470     * Set a different @b style for a given custom cursor set for a
15471     * toolbar item.
15472     *
15473     * @param item toolbar item with custom cursor set
15474     * @param style the <b>theme style</b> to use (e.g. @c "default",
15475     * @c "transparent", etc)
15476     *
15477     * This function only makes sense when one is using custom mouse
15478     * cursor decorations <b>defined in a theme file</b>, which can have,
15479     * given a cursor name/type, <b>alternate styles</b> on it. It
15480     * works analogously as elm_object_cursor_style_set(), but here
15481     * applyed only to toolbar item objects.
15482     *
15483     * @warning Before you set a cursor style you should have definen a
15484     *       custom cursor previously on the item, with
15485     *       elm_toolbar_item_cursor_set()
15486     *
15487     * @see elm_toolbar_item_cursor_engine_only_set()
15488     * @see elm_toolbar_item_cursor_style_get()
15489     *
15490     * @ingroup Toolbar
15491     */
15492    EAPI void             elm_toolbar_item_cursor_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
15493
15494    /**
15495     * Get the current @b style set for a given toolbar item's custom
15496     * cursor
15497     *
15498     * @param item toolbar item with custom cursor set.
15499     * @return style the cursor style in use. If the object does not
15500     *         have a cursor set, then @c NULL is returned.
15501     *
15502     * @see elm_toolbar_item_cursor_style_set() for more details
15503     *
15504     * @ingroup Toolbar
15505     */
15506    EAPI const char      *elm_toolbar_item_cursor_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15507
15508    /**
15509     * Set if the (custom)cursor for a given toolbar item should be
15510     * searched in its theme, also, or should only rely on the
15511     * rendering engine.
15512     *
15513     * @param item item with custom (custom) cursor already set on
15514     * @param engine_only Use @c EINA_TRUE to have cursors looked for
15515     * only on those provided by the rendering engine, @c EINA_FALSE to
15516     * have them searched on the widget's theme, as well.
15517     *
15518     * @note This call is of use only if you've set a custom cursor
15519     * for toolbar items, with elm_toolbar_item_cursor_set().
15520     *
15521     * @note By default, cursors will only be looked for between those
15522     * provided by the rendering engine.
15523     *
15524     * @ingroup Toolbar
15525     */
15526    EAPI void             elm_toolbar_item_cursor_engine_only_set(Elm_Toolbar_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
15527
15528    /**
15529     * Get if the (custom) cursor for a given toolbar item is being
15530     * searched in its theme, also, or is only relying on the rendering
15531     * engine.
15532     *
15533     * @param item a toolbar item
15534     * @return @c EINA_TRUE, if cursors are being looked for only on
15535     * those provided by the rendering engine, @c EINA_FALSE if they
15536     * are being searched on the widget's theme, as well.
15537     *
15538     * @see elm_toolbar_item_cursor_engine_only_set(), for more details
15539     *
15540     * @ingroup Toolbar
15541     */
15542    EAPI Eina_Bool        elm_toolbar_item_cursor_engine_only_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15543
15544    /**
15545     * Change a toolbar's orientation
15546     * @param obj The toolbar object
15547     * @param vertical If @c EINA_TRUE, the toolbar is vertical
15548     * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
15549     * @ingroup Toolbar
15550     */
15551    EINA_DEPRECATED EAPI void             elm_toolbar_orientation_set(Evas_Object *obj, Eina_Bool vertical) EINA_ARG_NONNULL(1);
15552
15553    /**
15554     * Change a toolbar's orientation
15555     * @param obj The toolbar object
15556     * @param horizontal If @c EINA_TRUE, the toolbar is horizontal
15557     * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
15558     * @ingroup Toolbar
15559     */
15560    EAPI void             elm_toolbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
15561
15562    /**
15563     * Get a toolbar's orientation
15564     * @param obj The toolbar object
15565     * @return If @c EINA_TRUE, the toolbar is vertical
15566     * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
15567     * @ingroup Toolbar
15568     */
15569    EINA_DEPRECATED EAPI Eina_Bool        elm_toolbar_orientation_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15570
15571    /**
15572     * Get a toolbar's orientation
15573     * @param obj The toolbar object
15574     * @return If @c EINA_TRUE, the toolbar is horizontal
15575     * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
15576     * @ingroup Toolbar
15577     */
15578    EAPI Eina_Bool elm_toolbar_horizontal_get(const Evas_Object *obj);
15579    /**
15580     * @}
15581     */
15582
15583    /**
15584     * @defgroup Tooltips Tooltips
15585     *
15586     * The Tooltip is an (internal, for now) smart object used to show a
15587     * content in a frame on mouse hover of objects(or widgets), with
15588     * tips/information about them.
15589     *
15590     * @{
15591     */
15592
15593    EAPI double       elm_tooltip_delay_get(void);
15594    EAPI Eina_Bool    elm_tooltip_delay_set(double delay);
15595    EAPI void         elm_object_tooltip_show(Evas_Object *obj) EINA_ARG_NONNULL(1);
15596    EAPI void         elm_object_tooltip_hide(Evas_Object *obj) EINA_ARG_NONNULL(1);
15597    EAPI void         elm_object_tooltip_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1, 2);
15598    EAPI void         elm_object_tooltip_domain_translatable_text_set(Evas_Object *obj, const char *domain, const char *text) EINA_ARG_NONNULL(1, 3);
15599 #define elm_object_tooltip_translatable_text_set(obj, text) elm_object_tooltip_domain_translatable_text_set((obj), NULL, (text))
15600    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);
15601    EAPI void         elm_object_tooltip_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15602    EAPI void         elm_object_tooltip_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
15603    EAPI const char  *elm_object_tooltip_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15604    EAPI Eina_Bool    elm_tooltip_size_restrict_disable(Evas_Object *obj, Eina_Bool disable); EINA_ARG_NONNULL(1);
15605    EAPI Eina_Bool    elm_tooltip_size_restrict_disabled_get(const Evas_Object *obj); EINA_ARG_NONNULL(1);
15606
15607    /**
15608     * @}
15609     */
15610
15611    /**
15612     * @defgroup Cursors Cursors
15613     *
15614     * The Elementary cursor is an internal smart object used to
15615     * customize the mouse cursor displayed over objects (or
15616     * widgets). In the most common scenario, the cursor decoration
15617     * comes from the graphical @b engine Elementary is running
15618     * on. Those engines may provide different decorations for cursors,
15619     * and Elementary provides functions to choose them (think of X11
15620     * cursors, as an example).
15621     *
15622     * There's also the possibility of, besides using engine provided
15623     * cursors, also use ones coming from Edje theming files. Both
15624     * globally and per widget, Elementary makes it possible for one to
15625     * make the cursors lookup to be held on engines only or on
15626     * Elementary's theme file, too.
15627     *
15628     * @{
15629     */
15630
15631    /**
15632     * Set the cursor to be shown when mouse is over the object
15633     *
15634     * Set the cursor that will be displayed when mouse is over the
15635     * object. The object can have only one cursor set to it, so if
15636     * this function is called twice for an object, the previous set
15637     * will be unset.
15638     * If using X cursors, a definition of all the valid cursor names
15639     * is listed on Elementary_Cursors.h. If an invalid name is set
15640     * the default cursor will be used.
15641     *
15642     * @param obj the object being set a cursor.
15643     * @param cursor the cursor name to be used.
15644     *
15645     * @ingroup Cursors
15646     */
15647    EAPI void         elm_object_cursor_set(Evas_Object *obj, const char *cursor) EINA_ARG_NONNULL(1);
15648
15649    /**
15650     * Get the cursor to be shown when mouse is over the object
15651     *
15652     * @param obj an object with cursor already set.
15653     * @return the cursor name.
15654     *
15655     * @ingroup Cursors
15656     */
15657    EAPI const char  *elm_object_cursor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15658
15659    /**
15660     * Unset cursor for object
15661     *
15662     * Unset cursor for object, and set the cursor to default if the mouse
15663     * was over this object.
15664     *
15665     * @param obj Target object
15666     * @see elm_object_cursor_set()
15667     *
15668     * @ingroup Cursors
15669     */
15670    EAPI void         elm_object_cursor_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15671
15672    /**
15673     * Sets a different style for this object cursor.
15674     *
15675     * @note before you set a style you should define a cursor with
15676     *       elm_object_cursor_set()
15677     *
15678     * @param obj an object with cursor already set.
15679     * @param style the theme style to use (default, transparent, ...)
15680     *
15681     * @ingroup Cursors
15682     */
15683    EAPI void         elm_object_cursor_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
15684
15685    /**
15686     * Get the style for this object cursor.
15687     *
15688     * @param obj an object with cursor already set.
15689     * @return style the theme style in use, defaults to "default". If the
15690     *         object does not have a cursor set, then NULL is returned.
15691     *
15692     * @ingroup Cursors
15693     */
15694    EAPI const char  *elm_object_cursor_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15695
15696    /**
15697     * Set if the cursor set should be searched on the theme or should use
15698     * the provided by the engine, only.
15699     *
15700     * @note before you set if should look on theme you should define a cursor
15701     * with elm_object_cursor_set(). By default it will only look for cursors
15702     * provided by the engine.
15703     *
15704     * @param obj an object with cursor already set.
15705     * @param engine_only boolean to define it cursors should be looked only
15706     * between the provided by the engine or searched on widget's theme as well.
15707     *
15708     * @ingroup Cursors
15709     */
15710    EAPI void         elm_object_cursor_engine_only_set(Evas_Object *obj, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
15711
15712    /**
15713     * Get the cursor engine only usage for this object cursor.
15714     *
15715     * @param obj an object with cursor already set.
15716     * @return engine_only boolean to define it cursors should be
15717     * looked only between the provided by the engine or searched on
15718     * widget's theme as well. If the object does not have a cursor
15719     * set, then EINA_FALSE is returned.
15720     *
15721     * @ingroup Cursors
15722     */
15723    EAPI Eina_Bool    elm_object_cursor_engine_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15724
15725    /**
15726     * Get the configured cursor engine only usage
15727     *
15728     * This gets the globally configured exclusive usage of engine cursors.
15729     *
15730     * @return 1 if only engine cursors should be used
15731     * @ingroup Cursors
15732     */
15733    EAPI int          elm_cursor_engine_only_get(void);
15734
15735    /**
15736     * Set the configured cursor engine only usage
15737     *
15738     * This sets the globally configured exclusive usage of engine cursors.
15739     * It won't affect cursors set before changing this value.
15740     *
15741     * @param engine_only If 1 only engine cursors will be enabled, if 0 will
15742     * look for them on theme before.
15743     * @return EINA_TRUE if value is valid and setted (0 or 1)
15744     * @ingroup Cursors
15745     */
15746    EAPI Eina_Bool    elm_cursor_engine_only_set(int engine_only);
15747
15748    /**
15749     * @}
15750     */
15751
15752    /**
15753     * @defgroup Menu Menu
15754     *
15755     * @image html img/widget/menu/preview-00.png
15756     * @image latex img/widget/menu/preview-00.eps
15757     *
15758     * A menu is a list of items displayed above its parent. When the menu is
15759     * showing its parent is darkened. Each item can have a sub-menu. The menu
15760     * object can be used to display a menu on a right click event, in a toolbar,
15761     * anywhere.
15762     *
15763     * Signals that you can add callbacks for are:
15764     * @li "clicked" - the user clicked the empty space in the menu to dismiss.
15765     *             event_info is NULL.
15766     *
15767     * @see @ref tutorial_menu
15768     * @{
15769     */
15770    typedef struct _Elm_Menu_Item Elm_Menu_Item; /**< Item of Elm_Menu. Sub-type of Elm_Widget_Item */
15771    /**
15772     * @brief Add a new menu to the parent
15773     *
15774     * @param parent The parent object.
15775     * @return The new object or NULL if it cannot be created.
15776     */
15777    EAPI Evas_Object       *elm_menu_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15778    /**
15779     * @brief Set the parent for the given menu widget
15780     *
15781     * @param obj The menu object.
15782     * @param parent The new parent.
15783     */
15784    EAPI void               elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
15785    /**
15786     * @brief Get the parent for the given menu widget
15787     *
15788     * @param obj The menu object.
15789     * @return The parent.
15790     *
15791     * @see elm_menu_parent_set()
15792     */
15793    EAPI Evas_Object       *elm_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15794    /**
15795     * @brief Move the menu to a new position
15796     *
15797     * @param obj The menu object.
15798     * @param x The new position.
15799     * @param y The new position.
15800     *
15801     * Sets the top-left position of the menu to (@p x,@p y).
15802     *
15803     * @note @p x and @p y coordinates are relative to parent.
15804     */
15805    EAPI void               elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
15806    /**
15807     * @brief Close a opened menu
15808     *
15809     * @param obj the menu object
15810     * @return void
15811     *
15812     * Hides the menu and all it's sub-menus.
15813     */
15814    EAPI void               elm_menu_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
15815    /**
15816     * @brief Returns a list of @p item's items.
15817     *
15818     * @param obj The menu object
15819     * @return An Eina_List* of @p item's items
15820     */
15821    EAPI const Eina_List   *elm_menu_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15822    /**
15823     * @brief Get the Evas_Object of an Elm_Menu_Item
15824     *
15825     * @param item The menu item object.
15826     * @return The edje object containing the swallowed content
15827     *
15828     * @warning Don't manipulate this object!
15829     */
15830    EAPI Evas_Object       *elm_menu_item_object_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
15831    /**
15832     * @brief Add an item at the end of the given menu widget
15833     *
15834     * @param obj The menu object.
15835     * @param parent The parent menu item (optional)
15836     * @param icon A icon display on the item. The icon will be destryed by the menu.
15837     * @param label The label of the item.
15838     * @param func Function called when the user select the item.
15839     * @param data Data sent by the callback.
15840     * @return Returns the new item.
15841     */
15842    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);
15843    /**
15844     * @brief Add an object swallowed in an item at the end of the given menu
15845     * widget
15846     *
15847     * @param obj The menu object.
15848     * @param parent The parent menu item (optional)
15849     * @param subobj The object to swallow
15850     * @param func Function called when the user select the item.
15851     * @param data Data sent by the callback.
15852     * @return Returns the new item.
15853     *
15854     * Add an evas object as an item to the menu.
15855     */
15856    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);
15857    /**
15858     * @brief Set the label of a menu item
15859     *
15860     * @param item The menu item object.
15861     * @param label The label to set for @p item
15862     *
15863     * @warning Don't use this funcion on items created with
15864     * elm_menu_item_add_object() or elm_menu_item_separator_add().
15865     */
15866    EAPI void               elm_menu_item_label_set(Elm_Menu_Item *item, const char *label) EINA_ARG_NONNULL(1);
15867    /**
15868     * @brief Get the label of a menu item
15869     *
15870     * @param item The menu item object.
15871     * @return The label of @p item
15872     */
15873    EAPI const char        *elm_menu_item_label_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15874    /**
15875     * @brief Set the icon of a menu item to the standard icon with name @p icon
15876     *
15877     * @param item The menu item object.
15878     * @param icon The icon object to set for the content of @p item
15879     *
15880     * Once this icon is set, any previously set icon will be deleted.
15881     */
15882    EAPI void               elm_menu_item_object_icon_name_set(Elm_Menu_Item *item, const char *icon) EINA_ARG_NONNULL(1, 2);
15883    /**
15884     * @brief Get the string representation from the icon of a menu item
15885     *
15886     * @param item The menu item object.
15887     * @return The string representation of @p item's icon or NULL
15888     *
15889     * @see elm_menu_item_object_icon_name_set()
15890     */
15891    EAPI const char        *elm_menu_item_object_icon_name_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15892    /**
15893     * @brief Set the content object of a menu item
15894     *
15895     * @param item The menu item object
15896     * @param The content object or NULL
15897     * @return EINA_TRUE on success, else EINA_FALSE
15898     *
15899     * Use this function to change the object swallowed by a menu item, deleting
15900     * any previously swallowed object.
15901     */
15902    EAPI Eina_Bool          elm_menu_item_object_content_set(Elm_Menu_Item *item, Evas_Object *obj) EINA_ARG_NONNULL(1);
15903    /**
15904     * @brief Get the content object of a menu item
15905     *
15906     * @param item The menu item object
15907     * @return The content object or NULL
15908     * @note If @p item was added with elm_menu_item_add_object, this
15909     * function will return the object passed, else it will return the
15910     * icon object.
15911     *
15912     * @see elm_menu_item_object_content_set()
15913     */
15914    EAPI Evas_Object *elm_menu_item_object_content_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15915    /**
15916     * @brief Set the selected state of @p item.
15917     *
15918     * @param item The menu item object.
15919     * @param selected The selected/unselected state of the item
15920     */
15921    EAPI void               elm_menu_item_selected_set(Elm_Menu_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
15922    /**
15923     * @brief Get the selected state of @p item.
15924     *
15925     * @param item The menu item object.
15926     * @return The selected/unselected state of the item
15927     *
15928     * @see elm_menu_item_selected_set()
15929     */
15930    EAPI Eina_Bool          elm_menu_item_selected_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15931    /**
15932     * @brief Set the disabled state of @p item.
15933     *
15934     * @param item The menu item object.
15935     * @param disabled The enabled/disabled state of the item
15936     */
15937    EAPI void               elm_menu_item_disabled_set(Elm_Menu_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
15938    /**
15939     * @brief Get the disabled state of @p item.
15940     *
15941     * @param item The menu item object.
15942     * @return The enabled/disabled state of the item
15943     *
15944     * @see elm_menu_item_disabled_set()
15945     */
15946    EAPI Eina_Bool          elm_menu_item_disabled_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15947    /**
15948     * @brief Add a separator item to menu @p obj under @p parent.
15949     *
15950     * @param obj The menu object
15951     * @param parent The item to add the separator under
15952     * @return The created item or NULL on failure
15953     *
15954     * This is item is a @ref Separator.
15955     */
15956    EAPI Elm_Menu_Item     *elm_menu_item_separator_add(Evas_Object *obj, Elm_Menu_Item *parent) EINA_ARG_NONNULL(1);
15957    /**
15958     * @brief Returns whether @p item is a separator.
15959     *
15960     * @param item The item to check
15961     * @return If true, @p item is a separator
15962     *
15963     * @see elm_menu_item_separator_add()
15964     */
15965    EAPI Eina_Bool          elm_menu_item_is_separator(Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15966    /**
15967     * @brief Deletes an item from the menu.
15968     *
15969     * @param item The item to delete.
15970     *
15971     * @see elm_menu_item_add()
15972     */
15973    EAPI void               elm_menu_item_del(Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15974    /**
15975     * @brief Set the function called when a menu item is deleted.
15976     *
15977     * @param item The item to set the callback on
15978     * @param func The function called
15979     *
15980     * @see elm_menu_item_add()
15981     * @see elm_menu_item_del()
15982     */
15983    EAPI void               elm_menu_item_del_cb_set(Elm_Menu_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
15984    /**
15985     * @brief Returns the data associated with menu item @p item.
15986     *
15987     * @param item The item
15988     * @return The data associated with @p item or NULL if none was set.
15989     *
15990     * This is the data set with elm_menu_add() or elm_menu_item_data_set().
15991     */
15992    EAPI void              *elm_menu_item_data_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
15993    /**
15994     * @brief Sets the data to be associated with menu item @p item.
15995     *
15996     * @param item The item
15997     * @param data The data to be associated with @p item
15998     */
15999    EAPI void               elm_menu_item_data_set(Elm_Menu_Item *item, const void *data) EINA_ARG_NONNULL(1);
16000    /**
16001     * @brief Returns a list of @p item's subitems.
16002     *
16003     * @param item The item
16004     * @return An Eina_List* of @p item's subitems
16005     *
16006     * @see elm_menu_add()
16007     */
16008    EAPI const Eina_List   *elm_menu_item_subitems_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
16009    /**
16010     * @brief Get the position of a menu item
16011     *
16012     * @param item The menu item
16013     * @return The item's index
16014     *
16015     * This function returns the index position of a menu item in a menu.
16016     * For a sub-menu, this number is relative to the first item in the sub-menu.
16017     *
16018     * @note Index values begin with 0
16019     */
16020    EAPI unsigned int       elm_menu_item_index_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1) EINA_PURE;
16021    /**
16022     * @brief @brief Return a menu item's owner menu
16023     *
16024     * @param item The menu item
16025     * @return The menu object owning @p item, or NULL on failure
16026     *
16027     * Use this function to get the menu object owning an item.
16028     */
16029    EAPI Evas_Object       *elm_menu_item_menu_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1) EINA_PURE;
16030    /**
16031     * @brief Get the selected item in the menu
16032     *
16033     * @param obj The menu object
16034     * @return The selected item, or NULL if none
16035     *
16036     * @see elm_menu_item_selected_get()
16037     * @see elm_menu_item_selected_set()
16038     */
16039    EAPI Elm_Menu_Item *elm_menu_selected_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
16040    /**
16041     * @brief Get the last item in the menu
16042     *
16043     * @param obj The menu object
16044     * @return The last item, or NULL if none
16045     */
16046    EAPI Elm_Menu_Item *elm_menu_last_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
16047    /**
16048     * @brief Get the first item in the menu
16049     *
16050     * @param obj The menu object
16051     * @return The first item, or NULL if none
16052     */
16053    EAPI Elm_Menu_Item *elm_menu_first_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
16054    /**
16055     * @brief Get the next item in the menu.
16056     *
16057     * @param item The menu item object.
16058     * @return The item after it, or NULL if none
16059     */
16060    EAPI Elm_Menu_Item *elm_menu_item_next_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
16061    /**
16062     * @brief Get the previous item in the menu.
16063     *
16064     * @param item The menu item object.
16065     * @return The item before it, or NULL if none
16066     */
16067    EAPI Elm_Menu_Item *elm_menu_item_prev_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
16068    /**
16069     * @}
16070     */
16071
16072    /**
16073     * @defgroup List List
16074     * @ingroup Elementary
16075     *
16076     * @image html img/widget/list/preview-00.png
16077     * @image latex img/widget/list/preview-00.eps width=\textwidth
16078     *
16079     * @image html img/list.png
16080     * @image latex img/list.eps width=\textwidth
16081     *
16082     * A list widget is a container whose children are displayed vertically or
16083     * horizontally, in order, and can be selected.
16084     * The list can accept only one or multiple items selection. Also has many
16085     * modes of items displaying.
16086     *
16087     * A list is a very simple type of list widget.  For more robust
16088     * lists, @ref Genlist should probably be used.
16089     *
16090     * Smart callbacks one can listen to:
16091     * - @c "activated" - The user has double-clicked or pressed
16092     *   (enter|return|spacebar) on an item. The @c event_info parameter
16093     *   is the item that was activated.
16094     * - @c "clicked,double" - The user has double-clicked an item.
16095     *   The @c event_info parameter is the item that was double-clicked.
16096     * - "selected" - when the user selected an item
16097     * - "unselected" - when the user unselected an item
16098     * - "longpressed" - an item in the list is long-pressed
16099     * - "edge,top" - the list is scrolled until the top edge
16100     * - "edge,bottom" - the list is scrolled until the bottom edge
16101     * - "edge,left" - the list is scrolled until the left edge
16102     * - "edge,right" - the list is scrolled until the right edge
16103     * - "language,changed" - the program's language changed
16104     *
16105     * Available styles for it:
16106     * - @c "default"
16107     *
16108     * List of examples:
16109     * @li @ref list_example_01
16110     * @li @ref list_example_02
16111     * @li @ref list_example_03
16112     */
16113
16114    /**
16115     * @addtogroup List
16116     * @{
16117     */
16118
16119    /**
16120     * @enum _Elm_List_Mode
16121     * @typedef Elm_List_Mode
16122     *
16123     * Set list's resize behavior, transverse axis scroll and
16124     * items cropping. See each mode's description for more details.
16125     *
16126     * @note Default value is #ELM_LIST_SCROLL.
16127     *
16128     * Values <b> don't </b> work as bitmask, only one can be choosen.
16129     *
16130     * @see elm_list_mode_set()
16131     * @see elm_list_mode_get()
16132     *
16133     * @ingroup List
16134     */
16135    typedef enum _Elm_List_Mode
16136      {
16137         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. */
16138         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). */
16139         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. */
16140         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. */
16141         ELM_LIST_LAST /**< Indicates error if returned by elm_list_mode_get() */
16142      } Elm_List_Mode;
16143
16144    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().  */
16145
16146    /**
16147     * Add a new list widget to the given parent Elementary
16148     * (container) object.
16149     *
16150     * @param parent The parent object.
16151     * @return a new list widget handle or @c NULL, on errors.
16152     *
16153     * This function inserts a new list widget on the canvas.
16154     *
16155     * @ingroup List
16156     */
16157    EAPI Evas_Object     *elm_list_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
16158
16159    /**
16160     * Starts the list.
16161     *
16162     * @param obj The list object
16163     *
16164     * @note Call before running show() on the list object.
16165     * @warning If not called, it won't display the list properly.
16166     *
16167     * @code
16168     * li = elm_list_add(win);
16169     * elm_list_item_append(li, "First", NULL, NULL, NULL, NULL);
16170     * elm_list_item_append(li, "Second", NULL, NULL, NULL, NULL);
16171     * elm_list_go(li);
16172     * evas_object_show(li);
16173     * @endcode
16174     *
16175     * @ingroup List
16176     */
16177    EAPI void             elm_list_go(Evas_Object *obj) EINA_ARG_NONNULL(1);
16178
16179    /**
16180     * Enable or disable multiple items selection on the list object.
16181     *
16182     * @param obj The list object
16183     * @param multi @c EINA_TRUE to enable multi selection or @c EINA_FALSE to
16184     * disable it.
16185     *
16186     * Disabled by default. If disabled, the user can select a single item of
16187     * the list each time. Selected items are highlighted on list.
16188     * If enabled, many items can be selected.
16189     *
16190     * If a selected item is selected again, it will be unselected.
16191     *
16192     * @see elm_list_multi_select_get()
16193     *
16194     * @ingroup List
16195     */
16196    EAPI void             elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
16197
16198    /**
16199     * Get a value whether multiple items selection is enabled or not.
16200     *
16201     * @see elm_list_multi_select_set() for details.
16202     *
16203     * @param obj The list object.
16204     * @return @c EINA_TRUE means multiple items selection is enabled.
16205     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
16206     * @c EINA_FALSE is returned.
16207     *
16208     * @ingroup List
16209     */
16210    EAPI Eina_Bool        elm_list_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16211
16212    /**
16213     * Set which mode to use for the list object.
16214     *
16215     * @param obj The list object
16216     * @param mode One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
16217     * #ELM_LIST_LIMIT or #ELM_LIST_EXPAND.
16218     *
16219     * Set list's resize behavior, transverse axis scroll and
16220     * items cropping. See each mode's description for more details.
16221     *
16222     * @note Default value is #ELM_LIST_SCROLL.
16223     *
16224     * Only one can be set, if a previous one was set, it will be changed
16225     * by the new mode set. Bitmask won't work as well.
16226     *
16227     * @see elm_list_mode_get()
16228     *
16229     * @ingroup List
16230     */
16231    EAPI void             elm_list_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
16232
16233    /**
16234     * Get the mode the list is at.
16235     *
16236     * @param obj The list object
16237     * @return One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
16238     * #ELM_LIST_LIMIT, #ELM_LIST_EXPAND or #ELM_LIST_LAST on errors.
16239     *
16240     * @note see elm_list_mode_set() for more information.
16241     *
16242     * @ingroup List
16243     */
16244    EAPI Elm_List_Mode    elm_list_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16245
16246    /**
16247     * Enable or disable horizontal mode on the list object.
16248     *
16249     * @param obj The list object.
16250     * @param horizontal @c EINA_TRUE to enable horizontal or @c EINA_FALSE to
16251     * disable it, i.e., to enable vertical mode.
16252     *
16253     * @note Vertical mode is set by default.
16254     *
16255     * On horizontal mode items are displayed on list from left to right,
16256     * instead of from top to bottom. Also, the list will scroll horizontally.
16257     * Each item will presents left icon on top and right icon, or end, at
16258     * the bottom.
16259     *
16260     * @see elm_list_horizontal_get()
16261     *
16262     * @ingroup List
16263     */
16264    EAPI void             elm_list_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
16265
16266    /**
16267     * Get a value whether horizontal mode is enabled or not.
16268     *
16269     * @param obj The list object.
16270     * @return @c EINA_TRUE means horizontal mode selection is enabled.
16271     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
16272     * @c EINA_FALSE is returned.
16273     *
16274     * @see elm_list_horizontal_set() for details.
16275     *
16276     * @ingroup List
16277     */
16278    EAPI Eina_Bool        elm_list_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16279
16280    /**
16281     * Enable or disable always select mode on the list object.
16282     *
16283     * @param obj The list object
16284     * @param always_select @c EINA_TRUE to enable always select mode or
16285     * @c EINA_FALSE to disable it.
16286     *
16287     * @note Always select mode is disabled by default.
16288     *
16289     * Default behavior of list items is to only call its callback function
16290     * the first time it's pressed, i.e., when it is selected. If a selected
16291     * item is pressed again, and multi-select is disabled, it won't call
16292     * this function (if multi-select is enabled it will unselect the item).
16293     *
16294     * If always select is enabled, it will call the callback function
16295     * everytime a item is pressed, so it will call when the item is selected,
16296     * and again when a selected item is pressed.
16297     *
16298     * @see elm_list_always_select_mode_get()
16299     * @see elm_list_multi_select_set()
16300     *
16301     * @ingroup List
16302     */
16303    EAPI void             elm_list_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
16304
16305    /**
16306     * Get a value whether always select mode is enabled or not, meaning that
16307     * an item will always call its callback function, even if already selected.
16308     *
16309     * @param obj The list object
16310     * @return @c EINA_TRUE means horizontal mode selection is enabled.
16311     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
16312     * @c EINA_FALSE is returned.
16313     *
16314     * @see elm_list_always_select_mode_set() for details.
16315     *
16316     * @ingroup List
16317     */
16318    EAPI Eina_Bool        elm_list_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16319
16320    /**
16321     * Set bouncing behaviour when the scrolled content reaches an edge.
16322     *
16323     * Tell the internal scroller object whether it should bounce or not
16324     * when it reaches the respective edges for each axis.
16325     *
16326     * @param obj The list object
16327     * @param h_bounce Whether to bounce or not in the horizontal axis.
16328     * @param v_bounce Whether to bounce or not in the vertical axis.
16329     *
16330     * @see elm_scroller_bounce_set()
16331     *
16332     * @ingroup List
16333     */
16334    EAPI void             elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
16335
16336    /**
16337     * Get the bouncing behaviour of the internal scroller.
16338     *
16339     * Get whether the internal scroller should bounce when the edge of each
16340     * axis is reached scrolling.
16341     *
16342     * @param obj The list object.
16343     * @param h_bounce Pointer where to store the bounce state of the horizontal
16344     * axis.
16345     * @param v_bounce Pointer where to store the bounce state of the vertical
16346     * axis.
16347     *
16348     * @see elm_scroller_bounce_get()
16349     * @see elm_list_bounce_set()
16350     *
16351     * @ingroup List
16352     */
16353    EAPI void             elm_list_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
16354
16355    /**
16356     * Set the scrollbar policy.
16357     *
16358     * @param obj The list object
16359     * @param policy_h Horizontal scrollbar policy.
16360     * @param policy_v Vertical scrollbar policy.
16361     *
16362     * This sets the scrollbar visibility policy for the given scroller.
16363     * #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
16364     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
16365     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
16366     * This applies respectively for the horizontal and vertical scrollbars.
16367     *
16368     * The both are disabled by default, i.e., are set to
16369     * #ELM_SCROLLER_POLICY_OFF.
16370     *
16371     * @ingroup List
16372     */
16373    EAPI void             elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
16374
16375    /**
16376     * Get the scrollbar policy.
16377     *
16378     * @see elm_list_scroller_policy_get() for details.
16379     *
16380     * @param obj The list object.
16381     * @param policy_h Pointer where to store horizontal scrollbar policy.
16382     * @param policy_v Pointer where to store vertical scrollbar policy.
16383     *
16384     * @ingroup List
16385     */
16386    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);
16387
16388    /**
16389     * Append a new item to the list object.
16390     *
16391     * @param obj The list object.
16392     * @param label The label of the list item.
16393     * @param icon The icon object to use for the left side of the item. An
16394     * icon can be any Evas object, but usually it is an icon created
16395     * with elm_icon_add().
16396     * @param end The icon object to use for the right side of the item. An
16397     * icon can be any Evas object.
16398     * @param func The function to call when the item is clicked.
16399     * @param data The data to associate with the item for related callbacks.
16400     *
16401     * @return The created item or @c NULL upon failure.
16402     *
16403     * A new item will be created and appended to the list, i.e., will
16404     * be set as @b last item.
16405     *
16406     * Items created with this method can be deleted with
16407     * elm_list_item_del().
16408     *
16409     * Associated @p data can be properly freed when item is deleted if a
16410     * callback function is set with elm_list_item_del_cb_set().
16411     *
16412     * If a function is passed as argument, it will be called everytime this item
16413     * is selected, i.e., the user clicks over an unselected item.
16414     * If always select is enabled it will call this function every time
16415     * user clicks over an item (already selected or not).
16416     * If such function isn't needed, just passing
16417     * @c NULL as @p func is enough. The same should be done for @p data.
16418     *
16419     * Simple example (with no function callback or data associated):
16420     * @code
16421     * li = elm_list_add(win);
16422     * ic = elm_icon_add(win);
16423     * elm_icon_file_set(ic, "path/to/image", NULL);
16424     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
16425     * elm_list_item_append(li, "label", ic, NULL, NULL, NULL);
16426     * elm_list_go(li);
16427     * evas_object_show(li);
16428     * @endcode
16429     *
16430     * @see elm_list_always_select_mode_set()
16431     * @see elm_list_item_del()
16432     * @see elm_list_item_del_cb_set()
16433     * @see elm_list_clear()
16434     * @see elm_icon_add()
16435     *
16436     * @ingroup List
16437     */
16438    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);
16439
16440    /**
16441     * Prepend a new item to the list object.
16442     *
16443     * @param obj The list object.
16444     * @param label The label of the list item.
16445     * @param icon The icon object to use for the left side of the item. An
16446     * icon can be any Evas object, but usually it is an icon created
16447     * with elm_icon_add().
16448     * @param end The icon object to use for the right side of the item. An
16449     * icon can be any Evas object.
16450     * @param func The function to call when the item is clicked.
16451     * @param data The data to associate with the item for related callbacks.
16452     *
16453     * @return The created item or @c NULL upon failure.
16454     *
16455     * A new item will be created and prepended to the list, i.e., will
16456     * be set as @b first item.
16457     *
16458     * Items created with this method can be deleted with
16459     * elm_list_item_del().
16460     *
16461     * Associated @p data can be properly freed when item is deleted if a
16462     * callback function is set with elm_list_item_del_cb_set().
16463     *
16464     * If a function is passed as argument, it will be called everytime this item
16465     * is selected, i.e., the user clicks over an unselected item.
16466     * If always select is enabled it will call this function every time
16467     * user clicks over an item (already selected or not).
16468     * If such function isn't needed, just passing
16469     * @c NULL as @p func is enough. The same should be done for @p data.
16470     *
16471     * @see elm_list_item_append() for a simple code example.
16472     * @see elm_list_always_select_mode_set()
16473     * @see elm_list_item_del()
16474     * @see elm_list_item_del_cb_set()
16475     * @see elm_list_clear()
16476     * @see elm_icon_add()
16477     *
16478     * @ingroup List
16479     */
16480    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);
16481
16482    /**
16483     * Insert a new item into the list object before item @p before.
16484     *
16485     * @param obj The list object.
16486     * @param before The list item to insert before.
16487     * @param label The label of the list item.
16488     * @param icon The icon object to use for the left side of the item. An
16489     * icon can be any Evas object, but usually it is an icon created
16490     * with elm_icon_add().
16491     * @param end The icon object to use for the right side of the item. An
16492     * icon can be any Evas object.
16493     * @param func The function to call when the item is clicked.
16494     * @param data The data to associate with the item for related callbacks.
16495     *
16496     * @return The created item or @c NULL upon failure.
16497     *
16498     * A new item will be created and added to the list. Its position in
16499     * this list will be just before item @p before.
16500     *
16501     * Items created with this method can be deleted with
16502     * elm_list_item_del().
16503     *
16504     * Associated @p data can be properly freed when item is deleted if a
16505     * callback function is set with elm_list_item_del_cb_set().
16506     *
16507     * If a function is passed as argument, it will be called everytime this item
16508     * is selected, i.e., the user clicks over an unselected item.
16509     * If always select is enabled it will call this function every time
16510     * user clicks over an item (already selected or not).
16511     * If such function isn't needed, just passing
16512     * @c NULL as @p func is enough. The same should be done for @p data.
16513     *
16514     * @see elm_list_item_append() for a simple code example.
16515     * @see elm_list_always_select_mode_set()
16516     * @see elm_list_item_del()
16517     * @see elm_list_item_del_cb_set()
16518     * @see elm_list_clear()
16519     * @see elm_icon_add()
16520     *
16521     * @ingroup List
16522     */
16523    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);
16524
16525    /**
16526     * Insert a new item into the list object after item @p after.
16527     *
16528     * @param obj The list object.
16529     * @param after The list item to insert after.
16530     * @param label The label of the list item.
16531     * @param icon The icon object to use for the left side of the item. An
16532     * icon can be any Evas object, but usually it is an icon created
16533     * with elm_icon_add().
16534     * @param end The icon object to use for the right side of the item. An
16535     * icon can be any Evas object.
16536     * @param func The function to call when the item is clicked.
16537     * @param data The data to associate with the item for related callbacks.
16538     *
16539     * @return The created item or @c NULL upon failure.
16540     *
16541     * A new item will be created and added to the list. Its position in
16542     * this list will be just after item @p after.
16543     *
16544     * Items created with this method can be deleted with
16545     * elm_list_item_del().
16546     *
16547     * Associated @p data can be properly freed when item is deleted if a
16548     * callback function is set with elm_list_item_del_cb_set().
16549     *
16550     * If a function is passed as argument, it will be called everytime this item
16551     * is selected, i.e., the user clicks over an unselected item.
16552     * If always select is enabled it will call this function every time
16553     * user clicks over an item (already selected or not).
16554     * If such function isn't needed, just passing
16555     * @c NULL as @p func is enough. The same should be done for @p data.
16556     *
16557     * @see elm_list_item_append() for a simple code example.
16558     * @see elm_list_always_select_mode_set()
16559     * @see elm_list_item_del()
16560     * @see elm_list_item_del_cb_set()
16561     * @see elm_list_clear()
16562     * @see elm_icon_add()
16563     *
16564     * @ingroup List
16565     */
16566    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);
16567
16568    /**
16569     * Insert a new item into the sorted list object.
16570     *
16571     * @param obj The list object.
16572     * @param label The label of the list item.
16573     * @param icon The icon object to use for the left side of the item. An
16574     * icon can be any Evas object, but usually it is an icon created
16575     * with elm_icon_add().
16576     * @param end The icon object to use for the right side of the item. An
16577     * icon can be any Evas object.
16578     * @param func The function to call when the item is clicked.
16579     * @param data The data to associate with the item for related callbacks.
16580     * @param cmp_func The comparing function to be used to sort list
16581     * items <b>by #Elm_List_Item item handles</b>. This function will
16582     * receive two items and compare them, returning a non-negative integer
16583     * if the second item should be place after the first, or negative value
16584     * if should be placed before.
16585     *
16586     * @return The created item or @c NULL upon failure.
16587     *
16588     * @note This function inserts values into a list object assuming it was
16589     * sorted and the result will be sorted.
16590     *
16591     * A new item will be created and added to the list. Its position in
16592     * this list will be found comparing the new item with previously inserted
16593     * items using function @p cmp_func.
16594     *
16595     * Items created with this method can be deleted with
16596     * elm_list_item_del().
16597     *
16598     * Associated @p data can be properly freed when item is deleted if a
16599     * callback function is set with elm_list_item_del_cb_set().
16600     *
16601     * If a function is passed as argument, it will be called everytime this item
16602     * is selected, i.e., the user clicks over an unselected item.
16603     * If always select is enabled it will call this function every time
16604     * user clicks over an item (already selected or not).
16605     * If such function isn't needed, just passing
16606     * @c NULL as @p func is enough. The same should be done for @p data.
16607     *
16608     * @see elm_list_item_append() for a simple code example.
16609     * @see elm_list_always_select_mode_set()
16610     * @see elm_list_item_del()
16611     * @see elm_list_item_del_cb_set()
16612     * @see elm_list_clear()
16613     * @see elm_icon_add()
16614     *
16615     * @ingroup List
16616     */
16617    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);
16618
16619    /**
16620     * Remove all list's items.
16621     *
16622     * @param obj The list object
16623     *
16624     * @see elm_list_item_del()
16625     * @see elm_list_item_append()
16626     *
16627     * @ingroup List
16628     */
16629    EAPI void             elm_list_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
16630
16631    /**
16632     * Get a list of all the list items.
16633     *
16634     * @param obj The list object
16635     * @return An @c Eina_List of list items, #Elm_List_Item,
16636     * or @c NULL on failure.
16637     *
16638     * @see elm_list_item_append()
16639     * @see elm_list_item_del()
16640     * @see elm_list_clear()
16641     *
16642     * @ingroup List
16643     */
16644    EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16645
16646    /**
16647     * Get the selected item.
16648     *
16649     * @param obj The list object.
16650     * @return The selected list item.
16651     *
16652     * The selected item can be unselected with function
16653     * elm_list_item_selected_set().
16654     *
16655     * The selected item always will be highlighted on list.
16656     *
16657     * @see elm_list_selected_items_get()
16658     *
16659     * @ingroup List
16660     */
16661    EAPI Elm_List_Item   *elm_list_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16662
16663    /**
16664     * Return a list of the currently selected list items.
16665     *
16666     * @param obj The list object.
16667     * @return An @c Eina_List of list items, #Elm_List_Item,
16668     * or @c NULL on failure.
16669     *
16670     * Multiple items can be selected if multi select is enabled. It can be
16671     * done with elm_list_multi_select_set().
16672     *
16673     * @see elm_list_selected_item_get()
16674     * @see elm_list_multi_select_set()
16675     *
16676     * @ingroup List
16677     */
16678    EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16679
16680    /**
16681     * Set the selected state of an item.
16682     *
16683     * @param item The list item
16684     * @param selected The selected state
16685     *
16686     * This sets the selected state of the given item @p it.
16687     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
16688     *
16689     * If a new item is selected the previosly selected will be unselected,
16690     * unless multiple selection is enabled with elm_list_multi_select_set().
16691     * Previoulsy selected item can be get with function
16692     * elm_list_selected_item_get().
16693     *
16694     * Selected items will be highlighted.
16695     *
16696     * @see elm_list_item_selected_get()
16697     * @see elm_list_selected_item_get()
16698     * @see elm_list_multi_select_set()
16699     *
16700     * @ingroup List
16701     */
16702    EAPI void             elm_list_item_selected_set(Elm_List_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
16703
16704    /*
16705     * Get whether the @p item is selected or not.
16706     *
16707     * @param item The list item.
16708     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
16709     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
16710     *
16711     * @see elm_list_selected_item_set() for details.
16712     * @see elm_list_item_selected_get()
16713     *
16714     * @ingroup List
16715     */
16716    EAPI Eina_Bool        elm_list_item_selected_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16717
16718    /**
16719     * Set or unset item as a separator.
16720     *
16721     * @param it The list item.
16722     * @param setting @c EINA_TRUE to set item @p it as separator or
16723     * @c EINA_FALSE to unset, i.e., item will be used as a regular item.
16724     *
16725     * Items aren't set as separator by default.
16726     *
16727     * If set as separator it will display separator theme, so won't display
16728     * icons or label.
16729     *
16730     * @see elm_list_item_separator_get()
16731     *
16732     * @ingroup List
16733     */
16734    EAPI void             elm_list_item_separator_set(Elm_List_Item *it, Eina_Bool setting) EINA_ARG_NONNULL(1);
16735
16736    /**
16737     * Get a value whether item is a separator or not.
16738     *
16739     * @see elm_list_item_separator_set() for details.
16740     *
16741     * @param it The list item.
16742     * @return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
16743     * indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
16744     *
16745     * @ingroup List
16746     */
16747    EAPI Eina_Bool        elm_list_item_separator_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
16748
16749    /**
16750     * Show @p item in the list view.
16751     *
16752     * @param item The list item to be shown.
16753     *
16754     * It won't animate list until item is visible. If such behavior is wanted,
16755     * use elm_list_bring_in() intead.
16756     *
16757     * @ingroup List
16758     */
16759    EAPI void             elm_list_item_show(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16760
16761    /**
16762     * Bring in the given item to list view.
16763     *
16764     * @param item The item.
16765     *
16766     * This causes list to jump to the given item @p item and show it
16767     * (by scrolling), if it is not fully visible.
16768     *
16769     * This may use animation to do so and take a period of time.
16770     *
16771     * If animation isn't wanted, elm_list_item_show() can be used.
16772     *
16773     * @ingroup List
16774     */
16775    EAPI void             elm_list_item_bring_in(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16776
16777    /**
16778     * Delete them item from the list.
16779     *
16780     * @param item The item of list to be deleted.
16781     *
16782     * If deleting all list items is required, elm_list_clear()
16783     * should be used instead of getting items list and deleting each one.
16784     *
16785     * @see elm_list_clear()
16786     * @see elm_list_item_append()
16787     * @see elm_list_item_del_cb_set()
16788     *
16789     * @ingroup List
16790     */
16791    EAPI void             elm_list_item_del(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16792
16793    /**
16794     * Set the function called when a list item is freed.
16795     *
16796     * @param item The item to set the callback on
16797     * @param func The function called
16798     *
16799     * If there is a @p func, then it will be called prior item's memory release.
16800     * That will be called with the following arguments:
16801     * @li item's data;
16802     * @li item's Evas object;
16803     * @li item itself;
16804     *
16805     * This way, a data associated to a list item could be properly freed.
16806     *
16807     * @ingroup List
16808     */
16809    EAPI void             elm_list_item_del_cb_set(Elm_List_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
16810
16811    /**
16812     * Get the data associated to the item.
16813     *
16814     * @param item The list item
16815     * @return The data associated to @p item
16816     *
16817     * The return value is a pointer to data associated to @p item when it was
16818     * created, with function elm_list_item_append() or similar. If no data
16819     * was passed as argument, it will return @c NULL.
16820     *
16821     * @see elm_list_item_append()
16822     *
16823     * @ingroup List
16824     */
16825    EAPI void            *elm_list_item_data_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16826
16827    /**
16828     * Get the left side icon associated to the item.
16829     *
16830     * @param item The list item
16831     * @return The left side icon associated to @p item
16832     *
16833     * The return value is a pointer to the icon associated to @p item when
16834     * it was
16835     * created, with function elm_list_item_append() or similar, or later
16836     * with function elm_list_item_icon_set(). If no icon
16837     * was passed as argument, it will return @c NULL.
16838     *
16839     * @see elm_list_item_append()
16840     * @see elm_list_item_icon_set()
16841     *
16842     * @ingroup List
16843     */
16844    EAPI Evas_Object     *elm_list_item_icon_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16845
16846    /**
16847     * Set the left side icon associated to the item.
16848     *
16849     * @param item The list item
16850     * @param icon The left side icon object to associate with @p item
16851     *
16852     * The icon object to use at left side of the item. An
16853     * icon can be any Evas object, but usually it is an icon created
16854     * with elm_icon_add().
16855     *
16856     * Once the icon object is set, a previously set one will be deleted.
16857     * @warning Setting the same icon for two items will cause the icon to
16858     * dissapear from the first item.
16859     *
16860     * If an icon was passed as argument on item creation, with function
16861     * elm_list_item_append() or similar, it will be already
16862     * associated to the item.
16863     *
16864     * @see elm_list_item_append()
16865     * @see elm_list_item_icon_get()
16866     *
16867     * @ingroup List
16868     */
16869    EAPI void             elm_list_item_icon_set(Elm_List_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
16870
16871    /**
16872     * Get the right side icon associated to the item.
16873     *
16874     * @param item The list item
16875     * @return The right side icon associated to @p item
16876     *
16877     * The return value is a pointer to the icon associated to @p item when
16878     * it was
16879     * created, with function elm_list_item_append() or similar, or later
16880     * with function elm_list_item_icon_set(). If no icon
16881     * was passed as argument, it will return @c NULL.
16882     *
16883     * @see elm_list_item_append()
16884     * @see elm_list_item_icon_set()
16885     *
16886     * @ingroup List
16887     */
16888    EAPI Evas_Object     *elm_list_item_end_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16889
16890    /**
16891     * Set the right side icon associated to the item.
16892     *
16893     * @param item The list item
16894     * @param end The right side icon object to associate with @p item
16895     *
16896     * The icon object to use at right side of the item. An
16897     * icon can be any Evas object, but usually it is an icon created
16898     * with elm_icon_add().
16899     *
16900     * Once the icon object is set, a previously set one will be deleted.
16901     * @warning Setting the same icon for two items will cause the icon to
16902     * dissapear from the first item.
16903     *
16904     * If an icon was passed as argument on item creation, with function
16905     * elm_list_item_append() or similar, it will be already
16906     * associated to the item.
16907     *
16908     * @see elm_list_item_append()
16909     * @see elm_list_item_end_get()
16910     *
16911     * @ingroup List
16912     */
16913    EAPI void             elm_list_item_end_set(Elm_List_Item *item, Evas_Object *end) EINA_ARG_NONNULL(1);
16914
16915    /**
16916     * Gets the base object of the item.
16917     *
16918     * @param item The list item
16919     * @return The base object associated with @p item
16920     *
16921     * Base object is the @c Evas_Object that represents that item.
16922     *
16923     * @ingroup List
16924     */
16925    EAPI Evas_Object     *elm_list_item_object_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16926    EINA_DEPRECATED EAPI Evas_Object     *elm_list_item_base_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16927
16928    /**
16929     * Get the label of item.
16930     *
16931     * @param item The item of list.
16932     * @return The label of item.
16933     *
16934     * The return value is a pointer to the label associated to @p item when
16935     * it was created, with function elm_list_item_append(), or later
16936     * with function elm_list_item_label_set. If no label
16937     * was passed as argument, it will return @c NULL.
16938     *
16939     * @see elm_list_item_label_set() for more details.
16940     * @see elm_list_item_append()
16941     *
16942     * @ingroup List
16943     */
16944    EAPI const char      *elm_list_item_label_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16945
16946    /**
16947     * Set the label of item.
16948     *
16949     * @param item The item of list.
16950     * @param text The label of item.
16951     *
16952     * The label to be displayed by the item.
16953     * Label will be placed between left and right side icons (if set).
16954     *
16955     * If a label was passed as argument on item creation, with function
16956     * elm_list_item_append() or similar, it will be already
16957     * displayed by the item.
16958     *
16959     * @see elm_list_item_label_get()
16960     * @see elm_list_item_append()
16961     *
16962     * @ingroup List
16963     */
16964    EAPI void             elm_list_item_label_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
16965
16966
16967    /**
16968     * Get the item before @p it in list.
16969     *
16970     * @param it The list item.
16971     * @return The item before @p it, or @c NULL if none or on failure.
16972     *
16973     * @note If it is the first item, @c NULL will be returned.
16974     *
16975     * @see elm_list_item_append()
16976     * @see elm_list_items_get()
16977     *
16978     * @ingroup List
16979     */
16980    EAPI Elm_List_Item   *elm_list_item_prev(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
16981
16982    /**
16983     * Get the item after @p it in list.
16984     *
16985     * @param it The list item.
16986     * @return The item after @p it, or @c NULL if none or on failure.
16987     *
16988     * @note If it is the last item, @c NULL will be returned.
16989     *
16990     * @see elm_list_item_append()
16991     * @see elm_list_items_get()
16992     *
16993     * @ingroup List
16994     */
16995    EAPI Elm_List_Item   *elm_list_item_next(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
16996
16997    /**
16998     * Sets the disabled/enabled state of a list item.
16999     *
17000     * @param it The item.
17001     * @param disabled The disabled state.
17002     *
17003     * A disabled item cannot be selected or unselected. It will also
17004     * change its appearance (generally greyed out). This sets the
17005     * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
17006     * enabled).
17007     *
17008     * @ingroup List
17009     */
17010    EAPI void             elm_list_item_disabled_set(Elm_List_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
17011
17012    /**
17013     * Get a value whether list item is disabled or not.
17014     *
17015     * @param it The item.
17016     * @return The disabled state.
17017     *
17018     * @see elm_list_item_disabled_set() for more details.
17019     *
17020     * @ingroup List
17021     */
17022    EAPI Eina_Bool        elm_list_item_disabled_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
17023
17024    /**
17025     * Set the text to be shown in a given list item's tooltips.
17026     *
17027     * @param item Target item.
17028     * @param text The text to set in the content.
17029     *
17030     * Setup the text as tooltip to object. The item can have only one tooltip,
17031     * so any previous tooltip data - set with this function or
17032     * elm_list_item_tooltip_content_cb_set() - is removed.
17033     *
17034     * @see elm_object_tooltip_text_set() for more details.
17035     *
17036     * @ingroup List
17037     */
17038    EAPI void             elm_list_item_tooltip_text_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
17039
17040
17041    /**
17042     * @brief Disable size restrictions on an object's tooltip
17043     * @param item The tooltip's anchor object
17044     * @param disable If EINA_TRUE, size restrictions are disabled
17045     * @return EINA_FALSE on failure, EINA_TRUE on success
17046     *
17047     * This function allows a tooltip to expand beyond its parant window's canvas.
17048     * It will instead be limited only by the size of the display.
17049     */
17050    EAPI Eina_Bool        elm_list_item_tooltip_size_restrict_disable(Elm_List_Item *item, Eina_Bool disable) EINA_ARG_NONNULL(1);
17051    /**
17052     * @brief Retrieve size restriction state of an object's tooltip
17053     * @param obj The tooltip's anchor object
17054     * @return If EINA_TRUE, size restrictions are disabled
17055     *
17056     * This function returns whether a tooltip is allowed to expand beyond
17057     * its parant window's canvas.
17058     * It will instead be limited only by the size of the display.
17059     */
17060    EAPI Eina_Bool        elm_list_item_tooltip_size_restrict_disabled_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17061
17062    /**
17063     * Set the content to be shown in the tooltip item.
17064     *
17065     * Setup the tooltip to item. The item can have only one tooltip,
17066     * so any previous tooltip data is removed. @p func(with @p data) will
17067     * be called every time that need show the tooltip and it should
17068     * return a valid Evas_Object. This object is then managed fully by
17069     * tooltip system and is deleted when the tooltip is gone.
17070     *
17071     * @param item the list item being attached a tooltip.
17072     * @param func the function used to create the tooltip contents.
17073     * @param data what to provide to @a func as callback data/context.
17074     * @param del_cb called when data is not needed anymore, either when
17075     *        another callback replaces @a func, the tooltip is unset with
17076     *        elm_list_item_tooltip_unset() or the owner @a item
17077     *        dies. This callback receives as the first parameter the
17078     *        given @a data, and @c event_info is the item.
17079     *
17080     * @see elm_object_tooltip_content_cb_set() for more details.
17081     *
17082     * @ingroup List
17083     */
17084    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);
17085
17086    /**
17087     * Unset tooltip from item.
17088     *
17089     * @param item list item to remove previously set tooltip.
17090     *
17091     * Remove tooltip from item. The callback provided as del_cb to
17092     * elm_list_item_tooltip_content_cb_set() will be called to notify
17093     * it is not used anymore.
17094     *
17095     * @see elm_object_tooltip_unset() for more details.
17096     * @see elm_list_item_tooltip_content_cb_set()
17097     *
17098     * @ingroup List
17099     */
17100    EAPI void             elm_list_item_tooltip_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
17101
17102    /**
17103     * Sets a different style for this item tooltip.
17104     *
17105     * @note before you set a style you should define a tooltip with
17106     *       elm_list_item_tooltip_content_cb_set() or
17107     *       elm_list_item_tooltip_text_set()
17108     *
17109     * @param item list item with tooltip already set.
17110     * @param style the theme style to use (default, transparent, ...)
17111     *
17112     * @see elm_object_tooltip_style_set() for more details.
17113     *
17114     * @ingroup List
17115     */
17116    EAPI void             elm_list_item_tooltip_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
17117
17118    /**
17119     * Get the style for this item tooltip.
17120     *
17121     * @param item list item with tooltip already set.
17122     * @return style the theme style in use, defaults to "default". If the
17123     *         object does not have a tooltip set, then NULL is returned.
17124     *
17125     * @see elm_object_tooltip_style_get() for more details.
17126     * @see elm_list_item_tooltip_style_set()
17127     *
17128     * @ingroup List
17129     */
17130    EAPI const char      *elm_list_item_tooltip_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17131
17132    /**
17133     * Set the type of mouse pointer/cursor decoration to be shown,
17134     * when the mouse pointer is over the given list widget item
17135     *
17136     * @param item list item to customize cursor on
17137     * @param cursor the cursor type's name
17138     *
17139     * This function works analogously as elm_object_cursor_set(), but
17140     * here the cursor's changing area is restricted to the item's
17141     * area, and not the whole widget's. Note that that item cursors
17142     * have precedence over widget cursors, so that a mouse over an
17143     * item with custom cursor set will always show @b that cursor.
17144     *
17145     * If this function is called twice for an object, a previously set
17146     * cursor will be unset on the second call.
17147     *
17148     * @see elm_object_cursor_set()
17149     * @see elm_list_item_cursor_get()
17150     * @see elm_list_item_cursor_unset()
17151     *
17152     * @ingroup List
17153     */
17154    EAPI void             elm_list_item_cursor_set(Elm_List_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
17155
17156    /*
17157     * Get the type of mouse pointer/cursor decoration set to be shown,
17158     * when the mouse pointer is over the given list widget item
17159     *
17160     * @param item list item with custom cursor set
17161     * @return the cursor type's name or @c NULL, if no custom cursors
17162     * were set to @p item (and on errors)
17163     *
17164     * @see elm_object_cursor_get()
17165     * @see elm_list_item_cursor_set()
17166     * @see elm_list_item_cursor_unset()
17167     *
17168     * @ingroup List
17169     */
17170    EAPI const char      *elm_list_item_cursor_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17171
17172    /**
17173     * Unset any custom mouse pointer/cursor decoration set to be
17174     * shown, when the mouse pointer is over the given list widget
17175     * item, thus making it show the @b default cursor again.
17176     *
17177     * @param item a list item
17178     *
17179     * Use this call to undo any custom settings on this item's cursor
17180     * decoration, bringing it back to defaults (no custom style set).
17181     *
17182     * @see elm_object_cursor_unset()
17183     * @see elm_list_item_cursor_set()
17184     *
17185     * @ingroup List
17186     */
17187    EAPI void             elm_list_item_cursor_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
17188
17189    /**
17190     * Set a different @b style for a given custom cursor set for a
17191     * list item.
17192     *
17193     * @param item list item with custom cursor set
17194     * @param style the <b>theme style</b> to use (e.g. @c "default",
17195     * @c "transparent", etc)
17196     *
17197     * This function only makes sense when one is using custom mouse
17198     * cursor decorations <b>defined in a theme file</b>, which can have,
17199     * given a cursor name/type, <b>alternate styles</b> on it. It
17200     * works analogously as elm_object_cursor_style_set(), but here
17201     * applyed only to list item objects.
17202     *
17203     * @warning Before you set a cursor style you should have definen a
17204     *       custom cursor previously on the item, with
17205     *       elm_list_item_cursor_set()
17206     *
17207     * @see elm_list_item_cursor_engine_only_set()
17208     * @see elm_list_item_cursor_style_get()
17209     *
17210     * @ingroup List
17211     */
17212    EAPI void             elm_list_item_cursor_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
17213
17214    /**
17215     * Get the current @b style set for a given list item's custom
17216     * cursor
17217     *
17218     * @param item list item with custom cursor set.
17219     * @return style the cursor style in use. If the object does not
17220     *         have a cursor set, then @c NULL is returned.
17221     *
17222     * @see elm_list_item_cursor_style_set() for more details
17223     *
17224     * @ingroup List
17225     */
17226    EAPI const char      *elm_list_item_cursor_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17227
17228    /**
17229     * Set if the (custom)cursor for a given list item should be
17230     * searched in its theme, also, or should only rely on the
17231     * rendering engine.
17232     *
17233     * @param item item with custom (custom) cursor already set on
17234     * @param engine_only Use @c EINA_TRUE to have cursors looked for
17235     * only on those provided by the rendering engine, @c EINA_FALSE to
17236     * have them searched on the widget's theme, as well.
17237     *
17238     * @note This call is of use only if you've set a custom cursor
17239     * for list items, with elm_list_item_cursor_set().
17240     *
17241     * @note By default, cursors will only be looked for between those
17242     * provided by the rendering engine.
17243     *
17244     * @ingroup List
17245     */
17246    EAPI void             elm_list_item_cursor_engine_only_set(Elm_List_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
17247
17248    /**
17249     * Get if the (custom) cursor for a given list item is being
17250     * searched in its theme, also, or is only relying on the rendering
17251     * engine.
17252     *
17253     * @param item a list item
17254     * @return @c EINA_TRUE, if cursors are being looked for only on
17255     * those provided by the rendering engine, @c EINA_FALSE if they
17256     * are being searched on the widget's theme, as well.
17257     *
17258     * @see elm_list_item_cursor_engine_only_set(), for more details
17259     *
17260     * @ingroup List
17261     */
17262    EAPI Eina_Bool        elm_list_item_cursor_engine_only_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17263
17264    /**
17265     * @}
17266     */
17267
17268    /**
17269     * @defgroup Slider Slider
17270     * @ingroup Elementary
17271     *
17272     * @image html img/widget/slider/preview-00.png
17273     * @image latex img/widget/slider/preview-00.eps width=\textwidth
17274     *
17275     * The slider adds a dragable “slider” widget for selecting the value of
17276     * something within a range.
17277     *
17278     * A slider can be horizontal or vertical. It can contain an Icon and has a
17279     * primary label as well as a units label (that is formatted with floating
17280     * point values and thus accepts a printf-style format string, like
17281     * “%1.2f units”. There is also an indicator string that may be somewhere
17282     * else (like on the slider itself) that also accepts a format string like
17283     * units. Label, Icon Unit and Indicator strings/objects are optional.
17284     *
17285     * A slider may be inverted which means values invert, with high vales being
17286     * on the left or top and low values on the right or bottom (as opposed to
17287     * normally being low on the left or top and high on the bottom and right).
17288     *
17289     * The slider should have its minimum and maximum values set by the
17290     * application with  elm_slider_min_max_set() and value should also be set by
17291     * the application before use with  elm_slider_value_set(). The span of the
17292     * slider is its length (horizontally or vertically). This will be scaled by
17293     * the object or applications scaling factor. At any point code can query the
17294     * slider for its value with elm_slider_value_get().
17295     *
17296     * Smart callbacks one can listen to:
17297     * - "changed" - Whenever the slider value is changed by the user.
17298     * - "slider,drag,start" - dragging the slider indicator around has started.
17299     * - "slider,drag,stop" - dragging the slider indicator around has stopped.
17300     * - "delay,changed" - A short time after the value is changed by the user.
17301     * This will be called only when the user stops dragging for
17302     * a very short period or when they release their
17303     * finger/mouse, so it avoids possibly expensive reactions to
17304     * the value change.
17305     *
17306     * Available styles for it:
17307     * - @c "default"
17308     *
17309     * Default contents parts of the slider widget that you can use for are:
17310     * @li "elm.swallow.icon" - A icon of the slider
17311     * @li "elm.swallow.end" - A end part content of the slider
17312     * 
17313     * Here is an example on its usage:
17314     * @li @ref slider_example
17315     */
17316
17317 #define ELM_SLIDER_CONTENT_ICON "elm.swallow.icon"
17318 #define ELM_SLIDER_CONTENT_END "elm.swallow.end"
17319
17320    /**
17321     * @addtogroup Slider
17322     * @{
17323     */
17324
17325    /**
17326     * Add a new slider widget to the given parent Elementary
17327     * (container) object.
17328     *
17329     * @param parent The parent object.
17330     * @return a new slider widget handle or @c NULL, on errors.
17331     *
17332     * This function inserts a new slider widget on the canvas.
17333     *
17334     * @ingroup Slider
17335     */
17336    EAPI Evas_Object       *elm_slider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
17337
17338    /**
17339     * Set the label of a given slider widget
17340     *
17341     * @param obj The progress bar object
17342     * @param label The text label string, in UTF-8
17343     *
17344     * @ingroup Slider
17345     * @deprecated use elm_object_text_set() instead.
17346     */
17347    EINA_DEPRECATED EAPI void               elm_slider_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
17348
17349    /**
17350     * Get the label of a given slider widget
17351     *
17352     * @param obj The progressbar object
17353     * @return The text label string, in UTF-8
17354     *
17355     * @ingroup Slider
17356     * @deprecated use elm_object_text_get() instead.
17357     */
17358    EINA_DEPRECATED EAPI const char        *elm_slider_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17359
17360    /**
17361     * Set the icon object of the slider object.
17362     *
17363     * @param obj The slider object.
17364     * @param icon The icon object.
17365     *
17366     * On horizontal mode, icon is placed at left, and on vertical mode,
17367     * placed at top.
17368     *
17369     * @note Once the icon object is set, a previously set one will be deleted.
17370     * If you want to keep that old content object, use the
17371     * elm_slider_icon_unset() function.
17372     *
17373     * @warning If the object being set does not have minimum size hints set,
17374     * it won't get properly displayed.
17375     *
17376     * @ingroup Slider
17377     */
17378    EINA_DEPRECATED EAPI void               elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
17379
17380    /**
17381     * Unset an icon set on a given slider widget.
17382     *
17383     * @param obj The slider object.
17384     * @return The icon object that was being used, if any was set, or
17385     * @c NULL, otherwise (and on errors).
17386     *
17387     * On horizontal mode, icon is placed at left, and on vertical mode,
17388     * placed at top.
17389     *
17390     * This call will unparent and return the icon object which was set
17391     * for this widget, previously, on success.
17392     *
17393     * @see elm_slider_icon_set() for more details
17394     * @see elm_slider_icon_get()
17395     *
17396     * @ingroup Slider
17397     */
17398    EINA_DEPRECATED EAPI Evas_Object       *elm_slider_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
17399
17400    /**
17401     * Retrieve the icon object set for a given slider widget.
17402     *
17403     * @param obj The slider object.
17404     * @return The icon object's handle, if @p obj had one set, or @c NULL,
17405     * otherwise (and on errors).
17406     *
17407     * On horizontal mode, icon is placed at left, and on vertical mode,
17408     * placed at top.
17409     *
17410     * @see elm_slider_icon_set() for more details
17411     * @see elm_slider_icon_unset()
17412     *
17413     * @ingroup Slider
17414     */
17415    EINA_DEPRECATED EAPI Evas_Object       *elm_slider_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17416
17417    /**
17418     * Set the end object of the slider object.
17419     *
17420     * @param obj The slider object.
17421     * @param end The end object.
17422     *
17423     * On horizontal mode, end is placed at left, and on vertical mode,
17424     * placed at bottom.
17425     *
17426     * @note Once the icon object is set, a previously set one will be deleted.
17427     * If you want to keep that old content object, use the
17428     * elm_slider_end_unset() function.
17429     *
17430     * @warning If the object being set does not have minimum size hints set,
17431     * it won't get properly displayed.
17432     *
17433     * @ingroup Slider
17434     */
17435    EINA_DEPRECATED EAPI void               elm_slider_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1);
17436
17437    /**
17438     * Unset an end object set on a given slider widget.
17439     *
17440     * @param obj The slider object.
17441     * @return The end object that was being used, if any was set, or
17442     * @c NULL, otherwise (and on errors).
17443     *
17444     * On horizontal mode, end is placed at left, and on vertical mode,
17445     * placed at bottom.
17446     *
17447     * This call will unparent and return the icon object which was set
17448     * for this widget, previously, on success.
17449     *
17450     * @see elm_slider_end_set() for more details.
17451     * @see elm_slider_end_get()
17452     *
17453     * @ingroup Slider
17454     */
17455    EINA_DEPRECATED EAPI Evas_Object       *elm_slider_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
17456
17457    /**
17458     * Retrieve the end object set for a given slider widget.
17459     *
17460     * @param obj The slider object.
17461     * @return The end object's handle, if @p obj had one set, or @c NULL,
17462     * otherwise (and on errors).
17463     *
17464     * On horizontal mode, icon is placed at right, and on vertical mode,
17465     * placed at bottom.
17466     *
17467     * @see elm_slider_end_set() for more details.
17468     * @see elm_slider_end_unset()
17469     *
17470     * @ingroup Slider
17471     */
17472    EINA_DEPRECATED EAPI Evas_Object       *elm_slider_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17473
17474    /**
17475     * Set the (exact) length of the bar region of a given slider widget.
17476     *
17477     * @param obj The slider object.
17478     * @param size The length of the slider's bar region.
17479     *
17480     * This sets the minimum width (when in horizontal mode) or height
17481     * (when in vertical mode) of the actual bar area of the slider
17482     * @p obj. This in turn affects the object's minimum size. Use
17483     * this when you're not setting other size hints expanding on the
17484     * given direction (like weight and alignment hints) and you would
17485     * like it to have a specific size.
17486     *
17487     * @note Icon, end, label, indicator and unit text around @p obj
17488     * will require their
17489     * own space, which will make @p obj to require more the @p size,
17490     * actually.
17491     *
17492     * @see elm_slider_span_size_get()
17493     *
17494     * @ingroup Slider
17495     */
17496    EAPI void               elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
17497
17498    /**
17499     * Get the length set for the bar region of a given slider widget
17500     *
17501     * @param obj The slider object.
17502     * @return The length of the slider's bar region.
17503     *
17504     * If that size was not set previously, with
17505     * elm_slider_span_size_set(), this call will return @c 0.
17506     *
17507     * @ingroup Slider
17508     */
17509    EAPI Evas_Coord         elm_slider_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17510
17511    /**
17512     * Set the format string for the unit label.
17513     *
17514     * @param obj The slider object.
17515     * @param format The format string for the unit display.
17516     *
17517     * Unit label is displayed all the time, if set, after slider's bar.
17518     * In horizontal mode, at right and in vertical mode, at bottom.
17519     *
17520     * If @c NULL, unit label won't be visible. If not it sets the format
17521     * string for the label text. To the label text is provided a floating point
17522     * value, so the label text can display up to 1 floating point value.
17523     * Note that this is optional.
17524     *
17525     * Use a format string such as "%1.2f meters" for example, and it will
17526     * display values like: "3.14 meters" for a value equal to 3.14159.
17527     *
17528     * Default is unit label disabled.
17529     *
17530     * @see elm_slider_indicator_format_get()
17531     *
17532     * @ingroup Slider
17533     */
17534    EAPI void               elm_slider_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
17535
17536    /**
17537     * Get the unit label format of the slider.
17538     *
17539     * @param obj The slider object.
17540     * @return The unit label format string in UTF-8.
17541     *
17542     * Unit label is displayed all the time, if set, after slider's bar.
17543     * In horizontal mode, at right and in vertical mode, at bottom.
17544     *
17545     * @see elm_slider_unit_format_set() for more
17546     * information on how this works.
17547     *
17548     * @ingroup Slider
17549     */
17550    EAPI const char        *elm_slider_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17551
17552    /**
17553     * Set the format string for the indicator label.
17554     *
17555     * @param obj The slider object.
17556     * @param indicator The format string for the indicator display.
17557     *
17558     * The slider may display its value somewhere else then unit label,
17559     * for example, above the slider knob that is dragged around. This function
17560     * sets the format string used for this.
17561     *
17562     * If @c NULL, indicator label won't be visible. If not it sets the format
17563     * string for the label text. To the label text is provided a floating point
17564     * value, so the label text can display up to 1 floating point value.
17565     * Note that this is optional.
17566     *
17567     * Use a format string such as "%1.2f meters" for example, and it will
17568     * display values like: "3.14 meters" for a value equal to 3.14159.
17569     *
17570     * Default is indicator label disabled.
17571     *
17572     * @see elm_slider_indicator_format_get()
17573     *
17574     * @ingroup Slider
17575     */
17576    EAPI void               elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator) EINA_ARG_NONNULL(1);
17577
17578    /**
17579     * Get the indicator label format of the slider.
17580     *
17581     * @param obj The slider object.
17582     * @return The indicator label format string in UTF-8.
17583     *
17584     * The slider may display its value somewhere else then unit label,
17585     * for example, above the slider knob that is dragged around. This function
17586     * gets the format string used for this.
17587     *
17588     * @see elm_slider_indicator_format_set() for more
17589     * information on how this works.
17590     *
17591     * @ingroup Slider
17592     */
17593    EAPI const char        *elm_slider_indicator_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17594
17595    /**
17596     * Set the format function pointer for the indicator label
17597     *
17598     * @param obj The slider object.
17599     * @param func The indicator format function.
17600     * @param free_func The freeing function for the format string.
17601     *
17602     * Set the callback function to format the indicator string.
17603     *
17604     * @see elm_slider_indicator_format_set() for more info on how this works.
17605     *
17606     * @ingroup Slider
17607     */
17608   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);
17609
17610   /**
17611    * Set the format function pointer for the units label
17612    *
17613    * @param obj The slider object.
17614    * @param func The units format function.
17615    * @param free_func The freeing function for the format string.
17616    *
17617    * Set the callback function to format the indicator string.
17618    *
17619    * @see elm_slider_units_format_set() for more info on how this works.
17620    *
17621    * @ingroup Slider
17622    */
17623   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);
17624
17625   /**
17626    * Set the orientation of a given slider widget.
17627    *
17628    * @param obj The slider object.
17629    * @param horizontal Use @c EINA_TRUE to make @p obj to be
17630    * @b horizontal, @c EINA_FALSE to make it @b vertical.
17631    *
17632    * Use this function to change how your slider is to be
17633    * disposed: vertically or horizontally.
17634    *
17635    * By default it's displayed horizontally.
17636    *
17637    * @see elm_slider_horizontal_get()
17638    *
17639    * @ingroup Slider
17640    */
17641    EAPI void               elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
17642
17643    /**
17644     * Retrieve the orientation of a given slider widget
17645     *
17646     * @param obj The slider object.
17647     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
17648     * @c EINA_FALSE if it's @b vertical (and on errors).
17649     *
17650     * @see elm_slider_horizontal_set() for more details.
17651     *
17652     * @ingroup Slider
17653     */
17654    EAPI Eina_Bool          elm_slider_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17655
17656    /**
17657     * Set the minimum and maximum values for the slider.
17658     *
17659     * @param obj The slider object.
17660     * @param min The minimum value.
17661     * @param max The maximum value.
17662     *
17663     * Define the allowed range of values to be selected by the user.
17664     *
17665     * If actual value is less than @p min, it will be updated to @p min. If it
17666     * is bigger then @p max, will be updated to @p max. Actual value can be
17667     * get with elm_slider_value_get().
17668     *
17669     * By default, min is equal to 0.0, and max is equal to 1.0.
17670     *
17671     * @warning Maximum must be greater than minimum, otherwise behavior
17672     * is undefined.
17673     *
17674     * @see elm_slider_min_max_get()
17675     *
17676     * @ingroup Slider
17677     */
17678    EAPI void               elm_slider_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
17679
17680    /**
17681     * Get the minimum and maximum values of the slider.
17682     *
17683     * @param obj The slider object.
17684     * @param min Pointer where to store the minimum value.
17685     * @param max Pointer where to store the maximum value.
17686     *
17687     * @note If only one value is needed, the other pointer can be passed
17688     * as @c NULL.
17689     *
17690     * @see elm_slider_min_max_set() for details.
17691     *
17692     * @ingroup Slider
17693     */
17694    EAPI void               elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
17695
17696    /**
17697     * Set the value the slider displays.
17698     *
17699     * @param obj The slider object.
17700     * @param val The value to be displayed.
17701     *
17702     * Value will be presented on the unit label following format specified with
17703     * elm_slider_unit_format_set() and on indicator with
17704     * elm_slider_indicator_format_set().
17705     *
17706     * @warning The value must to be between min and max values. This values
17707     * are set by elm_slider_min_max_set().
17708     *
17709     * @see elm_slider_value_get()
17710     * @see elm_slider_unit_format_set()
17711     * @see elm_slider_indicator_format_set()
17712     * @see elm_slider_min_max_set()
17713     *
17714     * @ingroup Slider
17715     */
17716    EAPI void               elm_slider_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
17717
17718    /**
17719     * Get the value displayed by the spinner.
17720     *
17721     * @param obj The spinner object.
17722     * @return The value displayed.
17723     *
17724     * @see elm_spinner_value_set() for details.
17725     *
17726     * @ingroup Slider
17727     */
17728    EAPI double             elm_slider_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17729
17730    /**
17731     * Invert a given slider widget's displaying values order
17732     *
17733     * @param obj The slider object.
17734     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
17735     * @c EINA_FALSE to bring it back to default, non-inverted values.
17736     *
17737     * A slider may be @b inverted, in which state it gets its
17738     * values inverted, with high vales being on the left or top and
17739     * low values on the right or bottom, as opposed to normally have
17740     * the low values on the former and high values on the latter,
17741     * respectively, for horizontal and vertical modes.
17742     *
17743     * @see elm_slider_inverted_get()
17744     *
17745     * @ingroup Slider
17746     */
17747    EAPI void               elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
17748
17749    /**
17750     * Get whether a given slider widget's displaying values are
17751     * inverted or not.
17752     *
17753     * @param obj The slider object.
17754     * @return @c EINA_TRUE, if @p obj has inverted values,
17755     * @c EINA_FALSE otherwise (and on errors).
17756     *
17757     * @see elm_slider_inverted_set() for more details.
17758     *
17759     * @ingroup Slider
17760     */
17761    EAPI Eina_Bool          elm_slider_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17762
17763    /**
17764     * Set whether to enlarge slider indicator (augmented knob) or not.
17765     *
17766     * @param obj The slider object.
17767     * @param show @c EINA_TRUE will make it enlarge, @c EINA_FALSE will
17768     * let the knob always at default size.
17769     *
17770     * By default, indicator will be bigger while dragged by the user.
17771     *
17772     * @warning It won't display values set with
17773     * elm_slider_indicator_format_set() if you disable indicator.
17774     *
17775     * @ingroup Slider
17776     */
17777    EAPI void               elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show) EINA_ARG_NONNULL(1);
17778
17779    /**
17780     * Get whether a given slider widget's enlarging indicator or not.
17781     *
17782     * @param obj The slider object.
17783     * @return @c EINA_TRUE, if @p obj is enlarging indicator, or
17784     * @c EINA_FALSE otherwise (and on errors).
17785     *
17786     * @see elm_slider_indicator_show_set() for details.
17787     *
17788     * @ingroup Slider
17789     */
17790    EAPI Eina_Bool          elm_slider_indicator_show_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17791
17792    /**
17793     * @}
17794     */
17795
17796    /**
17797     * @addtogroup Actionslider Actionslider
17798     *
17799     * @image html img/widget/actionslider/preview-00.png
17800     * @image latex img/widget/actionslider/preview-00.eps
17801     *
17802     * An actionslider is a switcher for 2 or 3 labels with customizable magnet
17803     * properties. The user drags and releases the indicator, to choose a label.
17804     *
17805     * Labels occupy the following positions.
17806     * a. Left
17807     * b. Right
17808     * c. Center
17809     *
17810     * Positions can be enabled or disabled.
17811     *
17812     * Magnets can be set on the above positions.
17813     *
17814     * When the indicator is released, it will move to its nearest "enabled and magnetized" position.
17815     *
17816     * @note By default all positions are set as enabled.
17817     *
17818     * Signals that you can add callbacks for are:
17819     *
17820     * "selected" - when user selects an enabled position (the label is passed
17821     *              as event info)".
17822     * @n
17823     * "pos_changed" - when the indicator reaches any of the positions("left",
17824     *                 "right" or "center").
17825     *
17826     * See an example of actionslider usage @ref actionslider_example_page "here"
17827     * @{
17828     */
17829    typedef enum _Elm_Actionslider_Pos
17830      {
17831         ELM_ACTIONSLIDER_NONE = 0,
17832         ELM_ACTIONSLIDER_LEFT = 1 << 0,
17833         ELM_ACTIONSLIDER_CENTER = 1 << 1,
17834         ELM_ACTIONSLIDER_RIGHT = 1 << 2,
17835         ELM_ACTIONSLIDER_ALL = (1 << 3) -1
17836      } Elm_Actionslider_Pos;
17837
17838    /**
17839     * Add a new actionslider to the parent.
17840     *
17841     * @param parent The parent object
17842     * @return The new actionslider object or NULL if it cannot be created
17843     */
17844    EAPI Evas_Object          *elm_actionslider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
17845    /**
17846     * Set actionslider labels.
17847     *
17848     * @param obj The actionslider object
17849     * @param left_label The label to be set on the left.
17850     * @param center_label The label to be set on the center.
17851     * @param right_label The label to be set on the right.
17852     * @deprecated use elm_object_text_set() instead.
17853     */
17854    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);
17855    /**
17856     * Get actionslider labels.
17857     *
17858     * @param obj The actionslider object
17859     * @param left_label A char** to place the left_label of @p obj into.
17860     * @param center_label A char** to place the center_label of @p obj into.
17861     * @param right_label A char** to place the right_label of @p obj into.
17862     * @deprecated use elm_object_text_set() instead.
17863     */
17864    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);
17865    /**
17866     * Get actionslider selected label.
17867     *
17868     * @param obj The actionslider object
17869     * @return The selected label
17870     */
17871    EAPI const char           *elm_actionslider_selected_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17872    /**
17873     * Set actionslider indicator position.
17874     *
17875     * @param obj The actionslider object.
17876     * @param pos The position of the indicator.
17877     */
17878    EAPI void                  elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
17879    /**
17880     * Get actionslider indicator position.
17881     *
17882     * @param obj The actionslider object.
17883     * @return The position of the indicator.
17884     */
17885    EAPI Elm_Actionslider_Pos  elm_actionslider_indicator_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17886    /**
17887     * Set actionslider magnet position. To make multiple positions magnets @c or
17888     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT)
17889     *
17890     * @param obj The actionslider object.
17891     * @param pos Bit mask indicating the magnet positions.
17892     */
17893    EAPI void                  elm_actionslider_magnet_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
17894    /**
17895     * Get actionslider magnet position.
17896     *
17897     * @param obj The actionslider object.
17898     * @return The positions with magnet property.
17899     */
17900    EAPI Elm_Actionslider_Pos  elm_actionslider_magnet_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17901    /**
17902     * Set actionslider enabled position. To set multiple positions as enabled @c or
17903     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT).
17904     *
17905     * @note All the positions are enabled by default.
17906     *
17907     * @param obj The actionslider object.
17908     * @param pos Bit mask indicating the enabled positions.
17909     */
17910    EAPI void                  elm_actionslider_enabled_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
17911    /**
17912     * Get actionslider enabled position.
17913     *
17914     * @param obj The actionslider object.
17915     * @return The enabled positions.
17916     */
17917    EAPI Elm_Actionslider_Pos  elm_actionslider_enabled_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17918    /**
17919     * Set the label used on the indicator.
17920     *
17921     * @param obj The actionslider object
17922     * @param label The label to be set on the indicator.
17923     * @deprecated use elm_object_text_set() instead.
17924     */
17925    EINA_DEPRECATED EAPI void                  elm_actionslider_indicator_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
17926    /**
17927     * Get the label used on the indicator object.
17928     *
17929     * @param obj The actionslider object
17930     * @return The indicator label
17931     * @deprecated use elm_object_text_get() instead.
17932     */
17933    EINA_DEPRECATED EAPI const char           *elm_actionslider_indicator_label_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
17934    /**
17935     * @}
17936     */
17937
17938    /**
17939     * @defgroup Genlist Genlist
17940     *
17941     * @image html img/widget/genlist/preview-00.png
17942     * @image latex img/widget/genlist/preview-00.eps
17943     * @image html img/genlist.png
17944     * @image latex img/genlist.eps
17945     *
17946     * This widget aims to have more expansive list than the simple list in
17947     * Elementary that could have more flexible items and allow many more entries
17948     * while still being fast and low on memory usage. At the same time it was
17949     * also made to be able to do tree structures. But the price to pay is more
17950     * complexity when it comes to usage. If all you want is a simple list with
17951     * icons and a single label, use the normal @ref List object.
17952     *
17953     * Genlist has a fairly large API, mostly because it's relatively complex,
17954     * trying to be both expansive, powerful and efficient. First we will begin
17955     * an overview on the theory behind genlist.
17956     *
17957     * @section Genlist_Item_Class Genlist item classes - creating items
17958     *
17959     * In order to have the ability to add and delete items on the fly, genlist
17960     * implements a class (callback) system where the application provides a
17961     * structure with information about that type of item (genlist may contain
17962     * multiple different items with different classes, states and styles).
17963     * Genlist will call the functions in this struct (methods) when an item is
17964     * "realized" (i.e., created dynamically, while the user is scrolling the
17965     * grid). All objects will simply be deleted when no longer needed with
17966     * evas_object_del(). The #Elm_Genlist_Item_Class structure contains the
17967     * following members:
17968     * - @c item_style - This is a constant string and simply defines the name
17969     *   of the item style. It @b must be specified and the default should be @c
17970     *   "default".
17971     *
17972     * - @c func - A struct with pointers to functions that will be called when
17973     *   an item is going to be actually created. All of them receive a @c data
17974     *   parameter that will point to the same data passed to
17975     *   elm_genlist_item_append() and related item creation functions, and a @c
17976     *   obj parameter that points to the genlist object itself.
17977     *
17978     * The function pointers inside @c func are @c label_get, @c icon_get, @c
17979     * state_get and @c del. The 3 first functions also receive a @c part
17980     * parameter described below. A brief description of these functions follows:
17981     *
17982     * - @c label_get - The @c part parameter is the name string of one of the
17983     *   existing text parts in the Edje group implementing the item's theme.
17984     *   This function @b must return a strdup'()ed string, as the caller will
17985     *   free() it when done. See #Elm_Genlist_Item_Label_Get_Cb.
17986     * - @c content_get - The @c part parameter is the name string of one of the
17987     *   existing (content) swallow parts in the Edje group implementing the item's
17988     *   theme. It must return @c NULL, when no content is desired, or a valid
17989     *   object handle, otherwise.  The object will be deleted by the genlist on
17990     *   its deletion or when the item is "unrealized".  See
17991     *   #Elm_Genlist_Item_Icon_Get_Cb.
17992     * - @c func.state_get - The @c part parameter is the name string of one of
17993     *   the state parts in the Edje group implementing the item's theme. Return
17994     *   @c EINA_FALSE for false/off or @c EINA_TRUE for true/on. Genlists will
17995     *   emit a signal to its theming Edje object with @c "elm,state,XXX,active"
17996     *   and @c "elm" as "emission" and "source" arguments, respectively, when
17997     *   the state is true (the default is false), where @c XXX is the name of
17998     *   the (state) part.  See #Elm_Genlist_Item_State_Get_Cb.
17999     * - @c func.del - This is intended for use when genlist items are deleted,
18000     *   so any data attached to the item (e.g. its data parameter on creation)
18001     *   can be deleted. See #Elm_Genlist_Item_Del_Cb.
18002     *
18003     * available item styles:
18004     * - default
18005     * - default_style - The text part is a textblock
18006     *
18007     * @image html img/widget/genlist/preview-04.png
18008     * @image latex img/widget/genlist/preview-04.eps
18009     *
18010     * - double_label
18011     *
18012     * @image html img/widget/genlist/preview-01.png
18013     * @image latex img/widget/genlist/preview-01.eps
18014     *
18015     * - icon_top_text_bottom
18016     *
18017     * @image html img/widget/genlist/preview-02.png
18018     * @image latex img/widget/genlist/preview-02.eps
18019     *
18020     * - group_index
18021     *
18022     * @image html img/widget/genlist/preview-03.png
18023     * @image latex img/widget/genlist/preview-03.eps
18024     *
18025     * @section Genlist_Items Structure of items
18026     *
18027     * An item in a genlist can have 0 or more text labels (they can be regular
18028     * text or textblock Evas objects - that's up to the style to determine), 0
18029     * or more contents (which are simply objects swallowed into the genlist item's
18030     * theming Edje object) and 0 or more <b>boolean states</b>, which have the
18031     * behavior left to the user to define. The Edje part names for each of
18032     * these properties will be looked up, in the theme file for the genlist,
18033     * under the Edje (string) data items named @c "labels", @c "contents" and @c
18034     * "states", respectively. For each of those properties, if more than one
18035     * part is provided, they must have names listed separated by spaces in the
18036     * data fields. For the default genlist item theme, we have @b one label
18037     * part (@c "elm.text"), @b two content parts (@c "elm.swalllow.icon" and @c
18038     * "elm.swallow.end") and @b no state parts.
18039     *
18040     * A genlist item may be at one of several styles. Elementary provides one
18041     * by default - "default", but this can be extended by system or application
18042     * custom themes/overlays/extensions (see @ref Theme "themes" for more
18043     * details).
18044     *
18045     * @section Genlist_Manipulation Editing and Navigating
18046     *
18047     * Items can be added by several calls. All of them return a @ref
18048     * Elm_Genlist_Item handle that is an internal member inside the genlist.
18049     * They all take a data parameter that is meant to be used for a handle to
18050     * the applications internal data (eg the struct with the original item
18051     * data). The parent parameter is the parent genlist item this belongs to if
18052     * it is a tree or an indexed group, and NULL if there is no parent. The
18053     * flags can be a bitmask of #ELM_GENLIST_ITEM_NONE,
18054     * #ELM_GENLIST_ITEM_SUBITEMS and #ELM_GENLIST_ITEM_GROUP. If
18055     * #ELM_GENLIST_ITEM_SUBITEMS is set then this item is displayed as an item
18056     * that is able to expand and have child items.  If ELM_GENLIST_ITEM_GROUP
18057     * is set then this item is group index item that is displayed at the top
18058     * until the next group comes. The func parameter is a convenience callback
18059     * that is called when the item is selected and the data parameter will be
18060     * the func_data parameter, obj be the genlist object and event_info will be
18061     * the genlist item.
18062     *
18063     * elm_genlist_item_append() adds an item to the end of the list, or if
18064     * there is a parent, to the end of all the child items of the parent.
18065     * elm_genlist_item_prepend() is the same but adds to the beginning of
18066     * the list or children list. elm_genlist_item_insert_before() inserts at
18067     * item before another item and elm_genlist_item_insert_after() inserts after
18068     * the indicated item.
18069     *
18070     * The application can clear the list with elm_genlist_clear() which deletes
18071     * all the items in the list and elm_genlist_item_del() will delete a specific
18072     * item. elm_genlist_item_subitems_clear() will clear all items that are
18073     * children of the indicated parent item.
18074     *
18075     * To help inspect list items you can jump to the item at the top of the list
18076     * with elm_genlist_first_item_get() which will return the item pointer, and
18077     * similarly elm_genlist_last_item_get() gets the item at the end of the list.
18078     * elm_genlist_item_next_get() and elm_genlist_item_prev_get() get the next
18079     * and previous items respectively relative to the indicated item. Using
18080     * these calls you can walk the entire item list/tree. Note that as a tree
18081     * the items are flattened in the list, so elm_genlist_item_parent_get() will
18082     * let you know which item is the parent (and thus know how to skip them if
18083     * wanted).
18084     *
18085     * @section Genlist_Muti_Selection Multi-selection
18086     *
18087     * If the application wants multiple items to be able to be selected,
18088     * elm_genlist_multi_select_set() can enable this. If the list is
18089     * single-selection only (the default), then elm_genlist_selected_item_get()
18090     * will return the selected item, if any, or NULL I none is selected. If the
18091     * list is multi-select then elm_genlist_selected_items_get() will return a
18092     * list (that is only valid as long as no items are modified (added, deleted,
18093     * selected or unselected)).
18094     *
18095     * @section Genlist_Usage_Hints Usage hints
18096     *
18097     * There are also convenience functions. elm_genlist_item_genlist_get() will
18098     * return the genlist object the item belongs to. elm_genlist_item_show()
18099     * will make the scroller scroll to show that specific item so its visible.
18100     * elm_genlist_item_data_get() returns the data pointer set by the item
18101     * creation functions.
18102     *
18103     * If an item changes (state of boolean changes, label or contents change),
18104     * then use elm_genlist_item_update() to have genlist update the item with
18105     * the new state. Genlist will re-realize the item thus call the functions
18106     * in the _Elm_Genlist_Item_Class for that item.
18107     *
18108     * To programmatically (un)select an item use elm_genlist_item_selected_set().
18109     * To get its selected state use elm_genlist_item_selected_get(). Similarly
18110     * to expand/contract an item and get its expanded state, use
18111     * elm_genlist_item_expanded_set() and elm_genlist_item_expanded_get(). And
18112     * again to make an item disabled (unable to be selected and appear
18113     * differently) use elm_genlist_item_disabled_set() to set this and
18114     * elm_genlist_item_disabled_get() to get the disabled state.
18115     *
18116     * In general to indicate how the genlist should expand items horizontally to
18117     * fill the list area, use elm_genlist_horizontal_set(). Valid modes are
18118     * ELM_LIST_LIMIT and ELM_LIST_SCROLL. The default is ELM_LIST_SCROLL. This
18119     * mode means that if items are too wide to fit, the scroller will scroll
18120     * horizontally. Otherwise items are expanded to fill the width of the
18121     * viewport of the scroller. If it is ELM_LIST_LIMIT, items will be expanded
18122     * to the viewport width and limited to that size. This can be combined with
18123     * a different style that uses edjes' ellipsis feature (cutting text off like
18124     * this: "tex...").
18125     *
18126     * Items will only call their selection func and callback when first becoming
18127     * selected. Any further clicks will do nothing, unless you enable always
18128     * select with elm_genlist_always_select_mode_set(). This means even if
18129     * selected, every click will make the selected callbacks be called.
18130     * elm_genlist_no_select_mode_set() will turn off the ability to select
18131     * items entirely and they will neither appear selected nor call selected
18132     * callback functions.
18133     *
18134     * Remember that you can create new styles and add your own theme augmentation
18135     * per application with elm_theme_extension_add(). If you absolutely must
18136     * have a specific style that overrides any theme the user or system sets up
18137     * you can use elm_theme_overlay_add() to add such a file.
18138     *
18139     * @section Genlist_Implementation Implementation
18140     *
18141     * Evas tracks every object you create. Every time it processes an event
18142     * (mouse move, down, up etc.) it needs to walk through objects and find out
18143     * what event that affects. Even worse every time it renders display updates,
18144     * in order to just calculate what to re-draw, it needs to walk through many
18145     * many many objects. Thus, the more objects you keep active, the more
18146     * overhead Evas has in just doing its work. It is advisable to keep your
18147     * active objects to the minimum working set you need. Also remember that
18148     * object creation and deletion carries an overhead, so there is a
18149     * middle-ground, which is not easily determined. But don't keep massive lists
18150     * of objects you can't see or use. Genlist does this with list objects. It
18151     * creates and destroys them dynamically as you scroll around. It groups them
18152     * into blocks so it can determine the visibility etc. of a whole block at
18153     * once as opposed to having to walk the whole list. This 2-level list allows
18154     * for very large numbers of items to be in the list (tests have used up to
18155     * 2,000,000 items). Also genlist employs a queue for adding items. As items
18156     * may be different sizes, every item added needs to be calculated as to its
18157     * size and thus this presents a lot of overhead on populating the list, this
18158     * genlist employs a queue. Any item added is queued and spooled off over
18159     * time, actually appearing some time later, so if your list has many members
18160     * you may find it takes a while for them to all appear, with your process
18161     * consuming a lot of CPU while it is busy spooling.
18162     *
18163     * Genlist also implements a tree structure, but it does so with callbacks to
18164     * the application, with the application filling in tree structures when
18165     * requested (allowing for efficient building of a very deep tree that could
18166     * even be used for file-management). See the above smart signal callbacks for
18167     * details.
18168     *
18169     * @section Genlist_Smart_Events Genlist smart events
18170     *
18171     * Signals that you can add callbacks for are:
18172     * - @c "activated" - The user has double-clicked or pressed
18173     *   (enter|return|spacebar) on an item. The @c event_info parameter is the
18174     *   item that was activated.
18175     * - @c "clicked,double" - The user has double-clicked an item.  The @c
18176     *   event_info parameter is the item that was double-clicked.
18177     * - @c "selected" - This is called when a user has made an item selected.
18178     *   The event_info parameter is the genlist item that was selected.
18179     * - @c "unselected" - This is called when a user has made an item
18180     *   unselected. The event_info parameter is the genlist item that was
18181     *   unselected.
18182     * - @c "expanded" - This is called when elm_genlist_item_expanded_set() is
18183     *   called and the item is now meant to be expanded. The event_info
18184     *   parameter is the genlist item that was indicated to expand.  It is the
18185     *   job of this callback to then fill in the child items.
18186     * - @c "contracted" - This is called when elm_genlist_item_expanded_set() is
18187     *   called and the item is now meant to be contracted. The event_info
18188     *   parameter is the genlist item that was indicated to contract. It is the
18189     *   job of this callback to then delete the child items.
18190     * - @c "expand,request" - This is called when a user has indicated they want
18191     *   to expand a tree branch item. The callback should decide if the item can
18192     *   expand (has any children) and then call elm_genlist_item_expanded_set()
18193     *   appropriately to set the state. The event_info parameter is the genlist
18194     *   item that was indicated to expand.
18195     * - @c "contract,request" - This is called when a user has indicated they
18196     *   want to contract a tree branch item. The callback should decide if the
18197     *   item can contract (has any children) and then call
18198     *   elm_genlist_item_expanded_set() appropriately to set the state. The
18199     *   event_info parameter is the genlist item that was indicated to contract.
18200     * - @c "realized" - This is called when the item in the list is created as a
18201     *   real evas object. event_info parameter is the genlist item that was
18202     *   created. The object may be deleted at any time, so it is up to the
18203     *   caller to not use the object pointer from elm_genlist_item_object_get()
18204     *   in a way where it may point to freed objects.
18205     * - @c "unrealized" - This is called just before an item is unrealized.
18206     *   After this call content objects provided will be deleted and the item
18207     *   object itself delete or be put into a floating cache.
18208     * - @c "drag,start,up" - This is called when the item in the list has been
18209     *   dragged (not scrolled) up.
18210     * - @c "drag,start,down" - This is called when the item in the list has been
18211     *   dragged (not scrolled) down.
18212     * - @c "drag,start,left" - This is called when the item in the list has been
18213     *   dragged (not scrolled) left.
18214     * - @c "drag,start,right" - This is called when the item in the list has
18215     *   been dragged (not scrolled) right.
18216     * - @c "drag,stop" - This is called when the item in the list has stopped
18217     *   being dragged.
18218     * - @c "drag" - This is called when the item in the list is being dragged.
18219     * - @c "longpressed" - This is called when the item is pressed for a certain
18220     *   amount of time. By default it's 1 second.
18221     * - @c "scroll,anim,start" - This is called when scrolling animation has
18222     *   started.
18223     * - @c "scroll,anim,stop" - This is called when scrolling animation has
18224     *   stopped.
18225     * - @c "scroll,drag,start" - This is called when dragging the content has
18226     *   started.
18227     * - @c "scroll,drag,stop" - This is called when dragging the content has
18228     *   stopped.
18229     * - @c "edge,top" - This is called when the genlist is scrolled until
18230     *   the top edge.
18231     * - @c "edge,bottom" - This is called when the genlist is scrolled
18232     *   until the bottom edge.
18233     * - @c "edge,left" - This is called when the genlist is scrolled
18234     *   until the left edge.
18235     * - @c "edge,right" - This is called when the genlist is scrolled
18236     *   until the right edge.
18237     * - @c "multi,swipe,left" - This is called when the genlist is multi-touch
18238     *   swiped left.
18239     * - @c "multi,swipe,right" - This is called when the genlist is multi-touch
18240     *   swiped right.
18241     * - @c "multi,swipe,up" - This is called when the genlist is multi-touch
18242     *   swiped up.
18243     * - @c "multi,swipe,down" - This is called when the genlist is multi-touch
18244     *   swiped down.
18245     * - @c "multi,pinch,out" - This is called when the genlist is multi-touch
18246     *   pinched out.  "- @c multi,pinch,in" - This is called when the genlist is
18247     *   multi-touch pinched in.
18248     * - @c "swipe" - This is called when the genlist is swiped.
18249     * - @c "moved" - This is called when a genlist item is moved.
18250     * - @c "language,changed" - This is called when the program's language is
18251     *   changed.
18252     *
18253     * @section Genlist_Examples Examples
18254     *
18255     * Here is a list of examples that use the genlist, trying to show some of
18256     * its capabilities:
18257     * - @ref genlist_example_01
18258     * - @ref genlist_example_02
18259     * - @ref genlist_example_03
18260     * - @ref genlist_example_04
18261     * - @ref genlist_example_05
18262     */
18263
18264    /**
18265     * @addtogroup Genlist
18266     * @{
18267     */
18268
18269    /**
18270     * @enum _Elm_Genlist_Item_Flags
18271     * @typedef Elm_Genlist_Item_Flags
18272     *
18273     * Defines if the item is of any special type (has subitems or it's the
18274     * index of a group), or is just a simple item.
18275     *
18276     * @ingroup Genlist
18277     */
18278    typedef enum _Elm_Genlist_Item_Flags
18279      {
18280         ELM_GENLIST_ITEM_NONE = 0, /**< simple item */
18281         ELM_GENLIST_ITEM_SUBITEMS = (1 << 0), /**< may expand and have child items */
18282         ELM_GENLIST_ITEM_GROUP = (1 << 1) /**< index of a group of items */
18283      } Elm_Genlist_Item_Flags;
18284    typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class;  /**< Genlist item class definition structs */
18285    #define Elm_Genlist_Item_Class Elm_Gen_Item_Class
18286    typedef struct _Elm_Genlist_Item       Elm_Genlist_Item; /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
18287    #define Elm_Genlist_Item Elm_Gen_Item /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
18288    typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func; /**< Class functions for genlist item class */
18289    typedef char        *(*Elm_Genlist_Item_Label_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< Label fetching class function for genlist item classes. */
18290    typedef Evas_Object *(*Elm_Genlist_Item_Content_Get_Cb)  (void *data, Evas_Object *obj, const char *part); /**< Content (swallowed object) fetching class function for genlist item classes. */
18291    typedef Eina_Bool    (*Elm_Genlist_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< State fetching class function for genlist item classes. */
18292    typedef void         (*Elm_Genlist_Item_Del_Cb)      (void *data, Evas_Object *obj); /**< Deletion class function for genlist item classes. */
18293
18294    /**
18295     * @struct _Elm_Genlist_Item_Class
18296     *
18297     * Genlist item class definition structs.
18298     *
18299     * This struct contains the style and fetching functions that will define the
18300     * contents of each item.
18301     *
18302     * @see @ref Genlist_Item_Class
18303     */
18304    struct _Elm_Genlist_Item_Class
18305      {
18306         const char                *item_style; /**< style of this class. */
18307         struct Elm_Genlist_Item_Class_Func
18308           {
18309              Elm_Genlist_Item_Label_Get_Cb  label_get; /**< Label fetching class function for genlist item classes.*/
18310              Elm_Genlist_Item_Content_Get_Cb   content_get; /**< Content fetching class function for genlist item classes. */
18311              Elm_Genlist_Item_State_Get_Cb  state_get; /**< State fetching class function for genlist item classes. */
18312              Elm_Genlist_Item_Del_Cb        del; /**< Deletion class function for genlist item classes. */
18313           } func;
18314      };
18315    #define Elm_Genlist_Item_Class_Func Elm_Gen_Item_Class_Func
18316    /**
18317     * Add a new genlist widget to the given parent Elementary
18318     * (container) object
18319     *
18320     * @param parent The parent object
18321     * @return a new genlist widget handle or @c NULL, on errors
18322     *
18323     * This function inserts a new genlist widget on the canvas.
18324     *
18325     * @see elm_genlist_item_append()
18326     * @see elm_genlist_item_del()
18327     * @see elm_genlist_clear()
18328     *
18329     * @ingroup Genlist
18330     */
18331    EAPI Evas_Object      *elm_genlist_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
18332    /**
18333     * Remove all items from a given genlist widget.
18334     *
18335     * @param obj The genlist object
18336     *
18337     * This removes (and deletes) all items in @p obj, leaving it empty.
18338     *
18339     * @see elm_genlist_item_del(), to remove just one item.
18340     *
18341     * @ingroup Genlist
18342     */
18343    EINA_DEPRECATED EAPI void elm_genlist_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
18344    /**
18345     * Enable or disable multi-selection in the genlist
18346     *
18347     * @param obj The genlist object
18348     * @param multi Multi-select enable/disable. Default is disabled.
18349     *
18350     * This enables (@c EINA_TRUE) or disables (@c EINA_FALSE) multi-selection in
18351     * the list. This allows more than 1 item to be selected. To retrieve the list
18352     * of selected items, use elm_genlist_selected_items_get().
18353     *
18354     * @see elm_genlist_selected_items_get()
18355     * @see elm_genlist_multi_select_get()
18356     *
18357     * @ingroup Genlist
18358     */
18359    EAPI void              elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
18360    /**
18361     * Gets if multi-selection in genlist is enabled or disabled.
18362     *
18363     * @param obj The genlist object
18364     * @return Multi-select enabled/disabled
18365     * (@c EINA_TRUE = enabled/@c EINA_FALSE = disabled). Default is @c EINA_FALSE.
18366     *
18367     * @see elm_genlist_multi_select_set()
18368     *
18369     * @ingroup Genlist
18370     */
18371    EAPI Eina_Bool         elm_genlist_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18372    /**
18373     * This sets the horizontal stretching mode.
18374     *
18375     * @param obj The genlist object
18376     * @param mode The mode to use (one of #ELM_LIST_SCROLL or #ELM_LIST_LIMIT).
18377     *
18378     * This sets the mode used for sizing items horizontally. Valid modes
18379     * are #ELM_LIST_LIMIT and #ELM_LIST_SCROLL. The default is
18380     * ELM_LIST_SCROLL. This mode means that if items are too wide to fit,
18381     * the scroller will scroll horizontally. Otherwise items are expanded
18382     * to fill the width of the viewport of the scroller. If it is
18383     * ELM_LIST_LIMIT, items will be expanded to the viewport width and
18384     * limited to that size.
18385     *
18386     * @see elm_genlist_horizontal_get()
18387     *
18388     * @ingroup Genlist
18389     */
18390    EAPI void              elm_genlist_horizontal_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
18391    EINA_DEPRECATED EAPI void              elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
18392    /**
18393     * Gets the horizontal stretching mode.
18394     *
18395     * @param obj The genlist object
18396     * @return The mode to use
18397     * (#ELM_LIST_LIMIT, #ELM_LIST_SCROLL)
18398     *
18399     * @see elm_genlist_horizontal_set()
18400     *
18401     * @ingroup Genlist
18402     */
18403    EAPI Elm_List_Mode     elm_genlist_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18404    EINA_DEPRECATED EAPI Elm_List_Mode     elm_genlist_horizontal_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18405    /**
18406     * Set the always select mode.
18407     *
18408     * @param obj The genlist object
18409     * @param always_select The always select mode (@c EINA_TRUE = on, @c
18410     * EINA_FALSE = off). Default is @c EINA_FALSE.
18411     *
18412     * Items will only call their selection func and callback when first
18413     * becoming selected. Any further clicks will do nothing, unless you
18414     * enable always select with elm_genlist_always_select_mode_set().
18415     * This means that, even if selected, every click will make the selected
18416     * callbacks be called.
18417     *
18418     * @see elm_genlist_always_select_mode_get()
18419     *
18420     * @ingroup Genlist
18421     */
18422    EINA_DEPRECATED EAPI void              elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
18423    /**
18424     * Get the always select mode.
18425     *
18426     * @param obj The genlist object
18427     * @return The always select mode
18428     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18429     *
18430     * @see elm_genlist_always_select_mode_set()
18431     *
18432     * @ingroup Genlist
18433     */
18434    EINA_DEPRECATED EAPI Eina_Bool         elm_genlist_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18435    /**
18436     * Enable/disable the no select mode.
18437     *
18438     * @param obj The genlist object
18439     * @param no_select The no select mode
18440     * (EINA_TRUE = on, EINA_FALSE = off)
18441     *
18442     * This will turn off the ability to select items entirely and they
18443     * will neither appear selected nor call selected callback functions.
18444     *
18445     * @see elm_genlist_no_select_mode_get()
18446     *
18447     * @ingroup Genlist
18448     */
18449    EINA_DEPRECATED EAPI void              elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
18450    /**
18451     * Gets whether the no select mode is enabled.
18452     *
18453     * @param obj The genlist object
18454     * @return The no select mode
18455     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18456     *
18457     * @see elm_genlist_no_select_mode_set()
18458     *
18459     * @ingroup Genlist
18460     */
18461    EINA_DEPRECATED EAPI Eina_Bool         elm_genlist_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18462    /**
18463     * Enable/disable compress mode.
18464     *
18465     * @param obj The genlist object
18466     * @param compress The compress mode
18467     * (@c EINA_TRUE = on, @c EINA_FALSE = off). Default is @c EINA_FALSE.
18468     *
18469     * This will enable the compress mode where items are "compressed"
18470     * horizontally to fit the genlist scrollable viewport width. This is
18471     * special for genlist.  Do not rely on
18472     * elm_genlist_horizontal_set() being set to @c ELM_LIST_COMPRESS to
18473     * work as genlist needs to handle it specially.
18474     *
18475     * @see elm_genlist_compress_mode_get()
18476     *
18477     * @ingroup Genlist
18478     */
18479    EAPI void              elm_genlist_compress_mode_set(Evas_Object *obj, Eina_Bool compress) EINA_ARG_NONNULL(1);
18480    /**
18481     * Get whether the compress mode is enabled.
18482     *
18483     * @param obj The genlist object
18484     * @return The compress mode
18485     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18486     *
18487     * @see elm_genlist_compress_mode_set()
18488     *
18489     * @ingroup Genlist
18490     */
18491    EAPI Eina_Bool         elm_genlist_compress_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18492    /**
18493     * Enable/disable height-for-width mode.
18494     *
18495     * @param obj The genlist object
18496     * @param setting The height-for-width mode (@c EINA_TRUE = on,
18497     * @c EINA_FALSE = off). Default is @c EINA_FALSE.
18498     *
18499     * With height-for-width mode the item width will be fixed (restricted
18500     * to a minimum of) to the list width when calculating its size in
18501     * order to allow the height to be calculated based on it. This allows,
18502     * for instance, text block to wrap lines if the Edje part is
18503     * configured with "text.min: 0 1".
18504     *
18505     * @note This mode will make list resize slower as it will have to
18506     *       recalculate every item height again whenever the list width
18507     *       changes!
18508     *
18509     * @note When height-for-width mode is enabled, it also enables
18510     *       compress mode (see elm_genlist_compress_mode_set()) and
18511     *       disables homogeneous (see elm_genlist_homogeneous_set()).
18512     *
18513     * @ingroup Genlist
18514     */
18515    EAPI void              elm_genlist_height_for_width_mode_set(Evas_Object *obj, Eina_Bool height_for_width) EINA_ARG_NONNULL(1);
18516    /**
18517     * Get whether the height-for-width mode is enabled.
18518     *
18519     * @param obj The genlist object
18520     * @return The height-for-width mode (@c EINA_TRUE = on, @c EINA_FALSE =
18521     * off)
18522     *
18523     * @ingroup Genlist
18524     */
18525    EAPI Eina_Bool         elm_genlist_height_for_width_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18526    /**
18527     * Enable/disable horizontal and vertical bouncing effect.
18528     *
18529     * @param obj The genlist object
18530     * @param h_bounce Allow bounce horizontally (@c EINA_TRUE = on, @c
18531     * EINA_FALSE = off). Default is @c EINA_FALSE.
18532     * @param v_bounce Allow bounce vertically (@c EINA_TRUE = on, @c
18533     * EINA_FALSE = off). Default is @c EINA_TRUE.
18534     *
18535     * This will enable or disable the scroller bouncing effect for the
18536     * genlist. See elm_scroller_bounce_set() for details.
18537     *
18538     * @see elm_scroller_bounce_set()
18539     * @see elm_genlist_bounce_get()
18540     *
18541     * @ingroup Genlist
18542     */
18543    EINA_DEPRECATED EAPI void              elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
18544    /**
18545     * Get whether the horizontal and vertical bouncing effect is enabled.
18546     *
18547     * @param obj The genlist object
18548     * @param h_bounce Pointer to a bool to receive if the bounce horizontally
18549     * option is set.
18550     * @param v_bounce Pointer to a bool to receive if the bounce vertically
18551     * option is set.
18552     *
18553     * @see elm_genlist_bounce_set()
18554     *
18555     * @ingroup Genlist
18556     */
18557    EINA_DEPRECATED EAPI void              elm_genlist_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
18558    /**
18559     * Enable/disable homogenous mode.
18560     *
18561     * @param obj The genlist object
18562     * @param homogeneous Assume the items within the genlist are of the
18563     * same height and width (EINA_TRUE = on, EINA_FALSE = off). Default is @c
18564     * EINA_FALSE.
18565     *
18566     * This will enable the homogeneous mode where items are of the same
18567     * height and width so that genlist may do the lazy-loading at its
18568     * maximum (which increases the performance for scrolling the list). This
18569     * implies 'compressed' mode.
18570     *
18571     * @see elm_genlist_compress_mode_set()
18572     * @see elm_genlist_homogeneous_get()
18573     *
18574     * @ingroup Genlist
18575     */
18576    EAPI void              elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
18577    /**
18578     * Get whether the homogenous mode is enabled.
18579     *
18580     * @param obj The genlist object
18581     * @return Assume the items within the genlist are of the same height
18582     * and width (EINA_TRUE = on, EINA_FALSE = off)
18583     *
18584     * @see elm_genlist_homogeneous_set()
18585     *
18586     * @ingroup Genlist
18587     */
18588    EAPI Eina_Bool         elm_genlist_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18589    /**
18590     * Set the maximum number of items within an item block
18591     *
18592     * @param obj The genlist object
18593     * @param n   Maximum number of items within an item block. Default is 32.
18594     *
18595     * This will configure the block count to tune to the target with
18596     * particular performance matrix.
18597     *
18598     * A block of objects will be used to reduce the number of operations due to
18599     * many objects in the screen. It can determine the visibility, or if the
18600     * object has changed, it theme needs to be updated, etc. doing this kind of
18601     * calculation to the entire block, instead of per object.
18602     *
18603     * The default value for the block count is enough for most lists, so unless
18604     * you know you will have a lot of objects visible in the screen at the same
18605     * time, don't try to change this.
18606     *
18607     * @see elm_genlist_block_count_get()
18608     * @see @ref Genlist_Implementation
18609     *
18610     * @ingroup Genlist
18611     */
18612    EAPI void              elm_genlist_block_count_set(Evas_Object *obj, int n) EINA_ARG_NONNULL(1);
18613    /**
18614     * Get the maximum number of items within an item block
18615     *
18616     * @param obj The genlist object
18617     * @return Maximum number of items within an item block
18618     *
18619     * @see elm_genlist_block_count_set()
18620     *
18621     * @ingroup Genlist
18622     */
18623    EAPI int               elm_genlist_block_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18624    /**
18625     * Set the timeout in seconds for the longpress event.
18626     *
18627     * @param obj The genlist object
18628     * @param timeout timeout in seconds. Default is 1.
18629     *
18630     * This option will change how long it takes to send an event "longpressed"
18631     * after the mouse down signal is sent to the list. If this event occurs, no
18632     * "clicked" event will be sent.
18633     *
18634     * @see elm_genlist_longpress_timeout_set()
18635     *
18636     * @ingroup Genlist
18637     */
18638    EAPI void              elm_genlist_longpress_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
18639    /**
18640     * Get the timeout in seconds for the longpress event.
18641     *
18642     * @param obj The genlist object
18643     * @return timeout in seconds
18644     *
18645     * @see elm_genlist_longpress_timeout_get()
18646     *
18647     * @ingroup Genlist
18648     */
18649    EAPI double            elm_genlist_longpress_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18650    /**
18651     * Append a new item in a given genlist widget.
18652     *
18653     * @param obj The genlist object
18654     * @param itc The item class for the item
18655     * @param data The item data
18656     * @param parent The parent item, or NULL if none
18657     * @param flags Item flags
18658     * @param func Convenience function called when the item is selected
18659     * @param func_data Data passed to @p func above.
18660     * @return A handle to the item added or @c NULL if not possible
18661     *
18662     * This adds the given item to the end of the list or the end of
18663     * the children list if the @p parent is given.
18664     *
18665     * @see elm_genlist_item_prepend()
18666     * @see elm_genlist_item_insert_before()
18667     * @see elm_genlist_item_insert_after()
18668     * @see elm_genlist_item_del()
18669     *
18670     * @ingroup Genlist
18671     */
18672    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);
18673    /**
18674     * Prepend a new item in a given genlist widget.
18675     *
18676     * @param obj The genlist object
18677     * @param itc The item class for the item
18678     * @param data The item data
18679     * @param parent The parent item, or NULL if none
18680     * @param flags Item flags
18681     * @param func Convenience function called when the item is selected
18682     * @param func_data Data passed to @p func above.
18683     * @return A handle to the item added or NULL if not possible
18684     *
18685     * This adds an item to the beginning of the list or beginning of the
18686     * children of the parent if given.
18687     *
18688     * @see elm_genlist_item_append()
18689     * @see elm_genlist_item_insert_before()
18690     * @see elm_genlist_item_insert_after()
18691     * @see elm_genlist_item_del()
18692     *
18693     * @ingroup Genlist
18694     */
18695    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);
18696    /**
18697     * Insert an item before another in a genlist widget
18698     *
18699     * @param obj The genlist object
18700     * @param itc The item class for the item
18701     * @param data The item data
18702     * @param before The item to place this new one before.
18703     * @param flags Item flags
18704     * @param func Convenience function called when the item is selected
18705     * @param func_data Data passed to @p func above.
18706     * @return A handle to the item added or @c NULL if not possible
18707     *
18708     * This inserts an item before another in the list. It will be in the
18709     * same tree level or group as the item it is inserted before.
18710     *
18711     * @see elm_genlist_item_append()
18712     * @see elm_genlist_item_prepend()
18713     * @see elm_genlist_item_insert_after()
18714     * @see elm_genlist_item_del()
18715     *
18716     * @ingroup Genlist
18717     */
18718    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);
18719    /**
18720     * Insert an item after another in a genlist widget
18721     *
18722     * @param obj The genlist object
18723     * @param itc The item class for the item
18724     * @param data The item data
18725     * @param after The item to place this new one after.
18726     * @param flags Item flags
18727     * @param func Convenience function called when the item is selected
18728     * @param func_data Data passed to @p func above.
18729     * @return A handle to the item added or @c NULL if not possible
18730     *
18731     * This inserts an item after another in the list. It will be in the
18732     * same tree level or group as the item it is inserted after.
18733     *
18734     * @see elm_genlist_item_append()
18735     * @see elm_genlist_item_prepend()
18736     * @see elm_genlist_item_insert_before()
18737     * @see elm_genlist_item_del()
18738     *
18739     * @ingroup Genlist
18740     */
18741    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);
18742    /**
18743     * Insert a new item into the sorted genlist object
18744     *
18745     * @param obj The genlist object
18746     * @param itc The item class for the item
18747     * @param data The item data
18748     * @param parent The parent item, or NULL if none
18749     * @param flags Item flags
18750     * @param comp The function called for the sort
18751     * @param func Convenience function called when item selected
18752     * @param func_data Data passed to @p func above.
18753     * @return A handle to the item added or NULL if not possible
18754     *
18755     * @ingroup Genlist
18756     */
18757    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);
18758    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);
18759    /* operations to retrieve existing items */
18760    /**
18761     * Get the selectd item in the genlist.
18762     *
18763     * @param obj The genlist object
18764     * @return The selected item, or NULL if none is selected.
18765     *
18766     * This gets the selected item in the list (if multi-selection is enabled, only
18767     * the item that was first selected in the list is returned - which is not very
18768     * useful, so see elm_genlist_selected_items_get() for when multi-selection is
18769     * used).
18770     *
18771     * If no item is selected, NULL is returned.
18772     *
18773     * @see elm_genlist_selected_items_get()
18774     *
18775     * @ingroup Genlist
18776     */
18777    EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18778    /**
18779     * Get a list of selected items in the genlist.
18780     *
18781     * @param obj The genlist object
18782     * @return The list of selected items, or NULL if none are selected.
18783     *
18784     * It returns a list of the selected items. This list pointer is only valid so
18785     * long as the selection doesn't change (no items are selected or unselected, or
18786     * unselected implicitly by deletion). The list contains Elm_Genlist_Item
18787     * pointers. The order of the items in this list is the order which they were
18788     * selected, i.e. the first item in this list is the first item that was
18789     * selected, and so on.
18790     *
18791     * @note If not in multi-select mode, consider using function
18792     * elm_genlist_selected_item_get() instead.
18793     *
18794     * @see elm_genlist_multi_select_set()
18795     * @see elm_genlist_selected_item_get()
18796     *
18797     * @ingroup Genlist
18798     */
18799    EAPI const Eina_List  *elm_genlist_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18800    /**
18801     * Get the mode item style of items in the genlist
18802     * @param obj The genlist object
18803     * @return The mode item style string, or NULL if none is specified
18804     * 
18805     * This is a constant string and simply defines the name of the
18806     * style that will be used for mode animations. It can be
18807     * @c NULL if you don't plan to use Genlist mode. See
18808     * elm_genlist_item_mode_set() for more info.
18809     * 
18810     * @ingroup Genlist
18811     */
18812    EAPI const char       *elm_genlist_mode_item_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18813    /**
18814     * Set the mode item style of items in the genlist
18815     * @param obj The genlist object
18816     * @param style The mode item style string, or NULL if none is desired
18817     * 
18818     * This is a constant string and simply defines the name of the
18819     * style that will be used for mode animations. It can be
18820     * @c NULL if you don't plan to use Genlist mode. See
18821     * elm_genlist_item_mode_set() for more info.
18822     * 
18823     * @ingroup Genlist
18824     */
18825    EAPI void              elm_genlist_mode_item_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
18826    /**
18827     * Get a list of realized items in genlist
18828     *
18829     * @param obj The genlist object
18830     * @return The list of realized items, nor NULL if none are realized.
18831     *
18832     * This returns a list of the realized items in the genlist. The list
18833     * contains Elm_Genlist_Item pointers. The list must be freed by the
18834     * caller when done with eina_list_free(). The item pointers in the
18835     * list are only valid so long as those items are not deleted or the
18836     * genlist is not deleted.
18837     *
18838     * @see elm_genlist_realized_items_update()
18839     *
18840     * @ingroup Genlist
18841     */
18842    EAPI Eina_List        *elm_genlist_realized_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18843    /**
18844     * Get the item that is at the x, y canvas coords.
18845     *
18846     * @param obj The gelinst object.
18847     * @param x The input x coordinate
18848     * @param y The input y coordinate
18849     * @param posret The position relative to the item returned here
18850     * @return The item at the coordinates or NULL if none
18851     *
18852     * This returns the item at the given coordinates (which are canvas
18853     * relative, not object-relative). If an item is at that coordinate,
18854     * that item handle is returned, and if @p posret is not NULL, the
18855     * integer pointed to is set to a value of -1, 0 or 1, depending if
18856     * the coordinate is on the upper portion of that item (-1), on the
18857     * middle section (0) or on the lower part (1). If NULL is returned as
18858     * an item (no item found there), then posret may indicate -1 or 1
18859     * based if the coordinate is above or below all items respectively in
18860     * the genlist.
18861     *
18862     * @ingroup Genlist
18863     */
18864    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);
18865    /**
18866     * Get the first item in the genlist
18867     *
18868     * This returns the first item in the list.
18869     *
18870     * @param obj The genlist object
18871     * @return The first item, or NULL if none
18872     *
18873     * @ingroup Genlist
18874     */
18875    EINA_DEPRECATED EAPI Elm_Genlist_Item *elm_genlist_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18876    /**
18877     * Get the last item in the genlist
18878     *
18879     * This returns the last item in the list.
18880     *
18881     * @return The last item, or NULL if none
18882     *
18883     * @ingroup Genlist
18884     */
18885    EINA_DEPRECATED EAPI Elm_Genlist_Item *elm_genlist_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18886    /**
18887     * Set the scrollbar policy
18888     *
18889     * @param obj The genlist object
18890     * @param policy_h Horizontal scrollbar policy.
18891     * @param policy_v Vertical scrollbar policy.
18892     *
18893     * This sets the scrollbar visibility policy for the given genlist
18894     * scroller. #ELM_SMART_SCROLLER_POLICY_AUTO means the scrollbar is
18895     * made visible if it is needed, and otherwise kept hidden.
18896     * #ELM_SMART_SCROLLER_POLICY_ON turns it on all the time, and
18897     * #ELM_SMART_SCROLLER_POLICY_OFF always keeps it off. This applies
18898     * respectively for the horizontal and vertical scrollbars. Default is
18899     * #ELM_SMART_SCROLLER_POLICY_AUTO
18900     *
18901     * @see elm_genlist_scroller_policy_get()
18902     *
18903     * @ingroup Genlist
18904     */
18905    EAPI void              elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
18906    /**
18907     * Get the scrollbar policy
18908     *
18909     * @param obj The genlist object
18910     * @param policy_h Pointer to store the horizontal scrollbar policy.
18911     * @param policy_v Pointer to store the vertical scrollbar policy.
18912     *
18913     * @see elm_genlist_scroller_policy_set()
18914     *
18915     * @ingroup Genlist
18916     */
18917    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);
18918    /**
18919     * Get the @b next item in a genlist widget's internal list of items,
18920     * given a handle to one of those items.
18921     *
18922     * @param item The genlist item to fetch next from
18923     * @return The item after @p item, or @c NULL if there's none (and
18924     * on errors)
18925     *
18926     * This returns the item placed after the @p item, on the container
18927     * genlist.
18928     *
18929     * @see elm_genlist_item_prev_get()
18930     *
18931     * @ingroup Genlist
18932     */
18933    EINA_DEPRECATED EAPI Elm_Genlist_Item  *elm_genlist_item_next_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18934    /**
18935     * Get the @b previous item in a genlist widget's internal list of items,
18936     * given a handle to one of those items.
18937     *
18938     * @param item The genlist item to fetch previous from
18939     * @return The item before @p item, or @c NULL if there's none (and
18940     * on errors)
18941     *
18942     * This returns the item placed before the @p item, on the container
18943     * genlist.
18944     *
18945     * @see elm_genlist_item_next_get()
18946     *
18947     * @ingroup Genlist
18948     */
18949    EINA_DEPRECATED EAPI Elm_Genlist_Item  *elm_genlist_item_prev_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18950    /**
18951     * Get the genlist object's handle which contains a given genlist
18952     * item
18953     *
18954     * @param item The item to fetch the container from
18955     * @return The genlist (parent) object
18956     *
18957     * This returns the genlist object itself that an item belongs to.
18958     *
18959     * @ingroup Genlist
18960     */
18961    EINA_DEPRECATED EAPI Evas_Object       *elm_genlist_item_genlist_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18962    /**
18963     * Get the parent item of the given item
18964     *
18965     * @param it The item
18966     * @return The parent of the item or @c NULL if it has no parent.
18967     *
18968     * This returns the item that was specified as parent of the item @p it on
18969     * elm_genlist_item_append() and insertion related functions.
18970     *
18971     * @ingroup Genlist
18972     */
18973    EAPI Elm_Genlist_Item  *elm_genlist_item_parent_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
18974    /**
18975     * Remove all sub-items (children) of the given item
18976     *
18977     * @param it The item
18978     *
18979     * This removes all items that are children (and their descendants) of the
18980     * given item @p it.
18981     *
18982     * @see elm_genlist_clear()
18983     * @see elm_genlist_item_del()
18984     *
18985     * @ingroup Genlist
18986     */
18987    EAPI void               elm_genlist_item_subitems_clear(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18988    /**
18989     * Set whether a given genlist item is selected or not
18990     *
18991     * @param it The item
18992     * @param selected Use @c EINA_TRUE, to make it selected, @c
18993     * EINA_FALSE to make it unselected
18994     *
18995     * This sets the selected state of an item. If multi selection is
18996     * not enabled on the containing genlist and @p selected is @c
18997     * EINA_TRUE, any other previously selected items will get
18998     * unselected in favor of this new one.
18999     *
19000     * @see elm_genlist_item_selected_get()
19001     *
19002     * @ingroup Genlist
19003     */
19004    EINA_DEPRECATED EAPI void elm_genlist_item_selected_set(Elm_Genlist_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
19005    /**
19006     * Get whether a given genlist item is selected or not
19007     *
19008     * @param it The item
19009     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
19010     *
19011     * @see elm_genlist_item_selected_set() for more details
19012     *
19013     * @ingroup Genlist
19014     */
19015    EINA_DEPRECATED EAPI Eina_Bool elm_genlist_item_selected_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19016    /**
19017     * Sets the expanded state of an item.
19018     *
19019     * @param it The item
19020     * @param expanded The expanded state (@c EINA_TRUE expanded, @c EINA_FALSE not expanded).
19021     *
19022     * This function flags the item of type #ELM_GENLIST_ITEM_SUBITEMS as
19023     * expanded or not.
19024     *
19025     * The theme will respond to this change visually, and a signal "expanded" or
19026     * "contracted" will be sent from the genlist with a pointer to the item that
19027     * has been expanded/contracted.
19028     *
19029     * Calling this function won't show or hide any child of this item (if it is
19030     * a parent). You must manually delete and create them on the callbacks fo
19031     * the "expanded" or "contracted" signals.
19032     *
19033     * @see elm_genlist_item_expanded_get()
19034     *
19035     * @ingroup Genlist
19036     */
19037    EAPI void               elm_genlist_item_expanded_set(Elm_Genlist_Item *item, Eina_Bool expanded) EINA_ARG_NONNULL(1);
19038    /**
19039     * Get the expanded state of an item
19040     *
19041     * @param it The item
19042     * @return The expanded state
19043     *
19044     * This gets the expanded state of an item.
19045     *
19046     * @see elm_genlist_item_expanded_set()
19047     *
19048     * @ingroup Genlist
19049     */
19050    EAPI Eina_Bool          elm_genlist_item_expanded_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19051    /**
19052     * Get the depth of expanded item
19053     *
19054     * @param it The genlist item object
19055     * @return The depth of expanded item
19056     *
19057     * @ingroup Genlist
19058     */
19059    EAPI int                elm_genlist_item_expanded_depth_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19060    /**
19061     * Set whether a given genlist item is disabled or not.
19062     *
19063     * @param it The item
19064     * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
19065     * to enable it back.
19066     *
19067     * A disabled item cannot be selected or unselected. It will also
19068     * change its appearance, to signal the user it's disabled.
19069     *
19070     * @see elm_genlist_item_disabled_get()
19071     *
19072     * @ingroup Genlist
19073     */
19074    EAPI void               elm_genlist_item_disabled_set(Elm_Genlist_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
19075    /**
19076     * Get whether a given genlist item is disabled or not.
19077     *
19078     * @param it The item
19079     * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
19080     * (and on errors).
19081     *
19082     * @see elm_genlist_item_disabled_set() for more details
19083     *
19084     * @ingroup Genlist
19085     */
19086    EAPI Eina_Bool          elm_genlist_item_disabled_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19087    /**
19088     * Sets the display only state of an item.
19089     *
19090     * @param it The item
19091     * @param display_only @c EINA_TRUE if the item is display only, @c
19092     * EINA_FALSE otherwise.
19093     *
19094     * A display only item cannot be selected or unselected. It is for
19095     * display only and not selecting or otherwise clicking, dragging
19096     * etc. by the user, thus finger size rules will not be applied to
19097     * this item.
19098     *
19099     * It's good to set group index items to display only state.
19100     *
19101     * @see elm_genlist_item_display_only_get()
19102     *
19103     * @ingroup Genlist
19104     */
19105    EAPI void               elm_genlist_item_display_only_set(Elm_Genlist_Item *it, Eina_Bool display_only) EINA_ARG_NONNULL(1);
19106    /**
19107     * Get the display only state of an item
19108     *
19109     * @param it The item
19110     * @return @c EINA_TRUE if the item is display only, @c
19111     * EINA_FALSE otherwise.
19112     *
19113     * @see elm_genlist_item_display_only_set()
19114     *
19115     * @ingroup Genlist
19116     */
19117    EAPI Eina_Bool          elm_genlist_item_display_only_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19118    /**
19119     * Show the portion of a genlist's internal list containing a given
19120     * item, immediately.
19121     *
19122     * @param it The item to display
19123     *
19124     * This causes genlist to jump to the given item @p it and show it (by
19125     * immediately scrolling to that position), if it is not fully visible.
19126     *
19127     * @see elm_genlist_item_bring_in()
19128     * @see elm_genlist_item_top_show()
19129     * @see elm_genlist_item_middle_show()
19130     *
19131     * @ingroup Genlist
19132     */
19133    EAPI void               elm_genlist_item_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19134    /**
19135     * Animatedly bring in, to the visible are of a genlist, a given
19136     * item on it.
19137     *
19138     * @param it The item to display
19139     *
19140     * This causes genlist to jump to the given item @p it and show it (by
19141     * animatedly scrolling), if it is not fully visible. This may use animation
19142     * to do so and take a period of time
19143     *
19144     * @see elm_genlist_item_show()
19145     * @see elm_genlist_item_top_bring_in()
19146     * @see elm_genlist_item_middle_bring_in()
19147     *
19148     * @ingroup Genlist
19149     */
19150    EAPI void               elm_genlist_item_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19151    /**
19152     * Show the portion of a genlist's internal list containing a given
19153     * item, immediately.
19154     *
19155     * @param it The item to display
19156     *
19157     * This causes genlist to jump to the given item @p it and show it (by
19158     * immediately scrolling to that position), if it is not fully visible.
19159     *
19160     * The item will be positioned at the top of the genlist viewport.
19161     *
19162     * @see elm_genlist_item_show()
19163     * @see elm_genlist_item_top_bring_in()
19164     *
19165     * @ingroup Genlist
19166     */
19167    EAPI void               elm_genlist_item_top_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19168    /**
19169     * Animatedly bring in, to the visible are of a genlist, a given
19170     * item on it.
19171     *
19172     * @param it The item
19173     *
19174     * This causes genlist to jump to the given item @p it and show it (by
19175     * animatedly scrolling), if it is not fully visible. This may use animation
19176     * to do so and take a period of time
19177     *
19178     * The item will be positioned at the top of the genlist viewport.
19179     *
19180     * @see elm_genlist_item_bring_in()
19181     * @see elm_genlist_item_top_show()
19182     *
19183     * @ingroup Genlist
19184     */
19185    EAPI void               elm_genlist_item_top_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19186    /**
19187     * Show the portion of a genlist's internal list containing a given
19188     * item, immediately.
19189     *
19190     * @param it The item to display
19191     *
19192     * This causes genlist to jump to the given item @p it and show it (by
19193     * immediately scrolling to that position), if it is not fully visible.
19194     *
19195     * The item will be positioned at the middle of the genlist viewport.
19196     *
19197     * @see elm_genlist_item_show()
19198     * @see elm_genlist_item_middle_bring_in()
19199     *
19200     * @ingroup Genlist
19201     */
19202    EAPI void               elm_genlist_item_middle_show(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19203    /**
19204     * Animatedly bring in, to the visible are of a genlist, a given
19205     * item on it.
19206     *
19207     * @param it The item
19208     *
19209     * This causes genlist to jump to the given item @p it and show it (by
19210     * animatedly scrolling), if it is not fully visible. This may use animation
19211     * to do so and take a period of time
19212     *
19213     * The item will be positioned at the middle of the genlist viewport.
19214     *
19215     * @see elm_genlist_item_bring_in()
19216     * @see elm_genlist_item_middle_show()
19217     *
19218     * @ingroup Genlist
19219     */
19220    EAPI void               elm_genlist_item_middle_bring_in(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19221    /**
19222     * Remove a genlist item from the its parent, deleting it.
19223     *
19224     * @param item The item to be removed.
19225     * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
19226     *
19227     * @see elm_genlist_clear(), to remove all items in a genlist at
19228     * once.
19229     *
19230     * @ingroup Genlist
19231     */
19232    EAPI void               elm_genlist_item_del(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19233    /**
19234     * Return the data associated to a given genlist item
19235     *
19236     * @param item The genlist item.
19237     * @return the data associated to this item.
19238     *
19239     * This returns the @c data value passed on the
19240     * elm_genlist_item_append() and related item addition calls.
19241     *
19242     * @see elm_genlist_item_append()
19243     * @see elm_genlist_item_data_set()
19244     *
19245     * @ingroup Genlist
19246     */
19247    EAPI void              *elm_genlist_item_data_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19248    /**
19249     * Set the data associated to a given genlist item
19250     *
19251     * @param item The genlist item
19252     * @param data The new data pointer to set on it
19253     *
19254     * This @b overrides the @c data value passed on the
19255     * elm_genlist_item_append() and related item addition calls. This
19256     * function @b won't call elm_genlist_item_update() automatically,
19257     * so you'd issue it afterwards if you want to hove the item
19258     * updated to reflect the that new data.
19259     *
19260     * @see elm_genlist_item_data_get()
19261     *
19262     * @ingroup Genlist
19263     */
19264    EAPI void               elm_genlist_item_data_set(Elm_Genlist_Item *it, const void *data) EINA_ARG_NONNULL(1);
19265    /**
19266     * Tells genlist to "orphan" icons fetchs by the item class
19267     *
19268     * @param it The item
19269     *
19270     * This instructs genlist to release references to icons in the item,
19271     * meaning that they will no longer be managed by genlist and are
19272     * floating "orphans" that can be re-used elsewhere if the user wants
19273     * to.
19274     *
19275     * @ingroup Genlist
19276     */
19277    EAPI void               elm_genlist_item_contents_orphan(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19278    EINA_DEPRECATED EAPI void               elm_genlist_item_icons_orphan(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19279    /**
19280     * Get the real Evas object created to implement the view of a
19281     * given genlist item
19282     *
19283     * @param item The genlist item.
19284     * @return the Evas object implementing this item's view.
19285     *
19286     * This returns the actual Evas object used to implement the
19287     * specified genlist item's view. This may be @c NULL, as it may
19288     * not have been created or may have been deleted, at any time, by
19289     * the genlist. <b>Do not modify this object</b> (move, resize,
19290     * show, hide, etc.), as the genlist is controlling it. This
19291     * function is for querying, emitting custom signals or hooking
19292     * lower level callbacks for events on that object. Do not delete
19293     * this object under any circumstances.
19294     *
19295     * @see elm_genlist_item_data_get()
19296     *
19297     * @ingroup Genlist
19298     */
19299    EAPI const Evas_Object *elm_genlist_item_object_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19300    /**
19301     * Update the contents of an item
19302     *
19303     * @param it The item
19304     *
19305     * This updates an item by calling all the item class functions again
19306     * to get the icons, labels and states. Use this when the original
19307     * item data has changed and the changes are desired to be reflected.
19308     *
19309     * Use elm_genlist_realized_items_update() to update all already realized
19310     * items.
19311     *
19312     * @see elm_genlist_realized_items_update()
19313     *
19314     * @ingroup Genlist
19315     */
19316    EAPI void               elm_genlist_item_update(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19317    /**
19318     * Update the item class of an item
19319     *
19320     * @param it The item
19321     * @param itc The item class for the item
19322     *
19323     * This sets another class fo the item, changing the way that it is
19324     * displayed. After changing the item class, elm_genlist_item_update() is
19325     * called on the item @p it.
19326     *
19327     * @ingroup Genlist
19328     */
19329    EAPI void               elm_genlist_item_item_class_update(Elm_Genlist_Item *it, const Elm_Genlist_Item_Class *itc) EINA_ARG_NONNULL(1, 2);
19330    EAPI const Elm_Genlist_Item_Class *elm_genlist_item_item_class_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19331    /**
19332     * Set the text to be shown in a given genlist item's tooltips.
19333     *
19334     * @param item The genlist item
19335     * @param text The text to set in the content
19336     *
19337     * This call will setup the text to be used as tooltip to that item
19338     * (analogous to elm_object_tooltip_text_set(), but being item
19339     * tooltips with higher precedence than object tooltips). It can
19340     * have only one tooltip at a time, so any previous tooltip data
19341     * will get removed.
19342     *
19343     * In order to set an icon or something else as a tooltip, look at
19344     * elm_genlist_item_tooltip_content_cb_set().
19345     *
19346     * @ingroup Genlist
19347     */
19348    EAPI void               elm_genlist_item_tooltip_text_set(Elm_Genlist_Item *item, const char *text) EINA_ARG_NONNULL(1);
19349    /**
19350     * Set the content to be shown in a given genlist item's tooltips
19351     *
19352     * @param item The genlist item.
19353     * @param func The function returning the tooltip contents.
19354     * @param data What to provide to @a func as callback data/context.
19355     * @param del_cb Called when data is not needed anymore, either when
19356     *        another callback replaces @p func, the tooltip is unset with
19357     *        elm_genlist_item_tooltip_unset() or the owner @p item
19358     *        dies. This callback receives as its first parameter the
19359     *        given @p data, being @c event_info the item handle.
19360     *
19361     * This call will setup the tooltip's contents to @p item
19362     * (analogous to elm_object_tooltip_content_cb_set(), but being
19363     * item tooltips with higher precedence than object tooltips). It
19364     * can have only one tooltip at a time, so any previous tooltip
19365     * content will get removed. @p func (with @p data) will be called
19366     * every time Elementary needs to show the tooltip and it should
19367     * return a valid Evas object, which will be fully managed by the
19368     * tooltip system, getting deleted when the tooltip is gone.
19369     *
19370     * In order to set just a text as a tooltip, look at
19371     * elm_genlist_item_tooltip_text_set().
19372     *
19373     * @ingroup Genlist
19374     */
19375    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);
19376    /**
19377     * Unset a tooltip from a given genlist item
19378     *
19379     * @param item genlist item to remove a previously set tooltip from.
19380     *
19381     * This call removes any tooltip set on @p item. The callback
19382     * provided as @c del_cb to
19383     * elm_genlist_item_tooltip_content_cb_set() will be called to
19384     * notify it is not used anymore (and have resources cleaned, if
19385     * need be).
19386     *
19387     * @see elm_genlist_item_tooltip_content_cb_set()
19388     *
19389     * @ingroup Genlist
19390     */
19391    EAPI void               elm_genlist_item_tooltip_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19392    /**
19393     * Set a different @b style for a given genlist item's tooltip.
19394     *
19395     * @param item genlist item with tooltip set
19396     * @param style the <b>theme style</b> to use on tooltips (e.g. @c
19397     * "default", @c "transparent", etc)
19398     *
19399     * Tooltips can have <b>alternate styles</b> to be displayed on,
19400     * which are defined by the theme set on Elementary. This function
19401     * works analogously as elm_object_tooltip_style_set(), but here
19402     * applied only to genlist item objects. The default style for
19403     * tooltips is @c "default".
19404     *
19405     * @note before you set a style you should define a tooltip with
19406     *       elm_genlist_item_tooltip_content_cb_set() or
19407     *       elm_genlist_item_tooltip_text_set()
19408     *
19409     * @see elm_genlist_item_tooltip_style_get()
19410     *
19411     * @ingroup Genlist
19412     */
19413    EAPI void               elm_genlist_item_tooltip_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
19414    /**
19415     * Get the style set a given genlist item's tooltip.
19416     *
19417     * @param item genlist item with tooltip already set on.
19418     * @return style the theme style in use, which defaults to
19419     *         "default". If the object does not have a tooltip set,
19420     *         then @c NULL is returned.
19421     *
19422     * @see elm_genlist_item_tooltip_style_set() for more details
19423     *
19424     * @ingroup Genlist
19425     */
19426    EAPI const char        *elm_genlist_item_tooltip_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19427    /**
19428     * @brief Disable size restrictions on an object's tooltip
19429     * @param item The tooltip's anchor object
19430     * @param disable If EINA_TRUE, size restrictions are disabled
19431     * @return EINA_FALSE on failure, EINA_TRUE on success
19432     *
19433     * This function allows a tooltip to expand beyond its parant window's canvas.
19434     * It will instead be limited only by the size of the display.
19435     */
19436    EAPI Eina_Bool          elm_genlist_item_tooltip_size_restrict_disable(Elm_Genlist_Item *item, Eina_Bool disable);
19437    /**
19438     * @brief Retrieve size restriction state of an object's tooltip
19439     * @param item The tooltip's anchor object
19440     * @return If EINA_TRUE, size restrictions are disabled
19441     *
19442     * This function returns whether a tooltip is allowed to expand beyond
19443     * its parant window's canvas.
19444     * It will instead be limited only by the size of the display.
19445     */
19446    EAPI Eina_Bool          elm_genlist_item_tooltip_size_restrict_disabled_get(const Elm_Genlist_Item *item);
19447    /**
19448     * Set the type of mouse pointer/cursor decoration to be shown,
19449     * when the mouse pointer is over the given genlist widget item
19450     *
19451     * @param item genlist item to customize cursor on
19452     * @param cursor the cursor type's name
19453     *
19454     * This function works analogously as elm_object_cursor_set(), but
19455     * here the cursor's changing area is restricted to the item's
19456     * area, and not the whole widget's. Note that that item cursors
19457     * have precedence over widget cursors, so that a mouse over @p
19458     * item will always show cursor @p type.
19459     *
19460     * If this function is called twice for an object, a previously set
19461     * cursor will be unset on the second call.
19462     *
19463     * @see elm_object_cursor_set()
19464     * @see elm_genlist_item_cursor_get()
19465     * @see elm_genlist_item_cursor_unset()
19466     *
19467     * @ingroup Genlist
19468     */
19469    EAPI void               elm_genlist_item_cursor_set(Elm_Genlist_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
19470    /**
19471     * Get the type of mouse pointer/cursor decoration set to be shown,
19472     * when the mouse pointer is over the given genlist widget item
19473     *
19474     * @param item genlist item with custom cursor set
19475     * @return the cursor type's name or @c NULL, if no custom cursors
19476     * were set to @p item (and on errors)
19477     *
19478     * @see elm_object_cursor_get()
19479     * @see elm_genlist_item_cursor_set() for more details
19480     * @see elm_genlist_item_cursor_unset()
19481     *
19482     * @ingroup Genlist
19483     */
19484    EAPI const char        *elm_genlist_item_cursor_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19485    /**
19486     * Unset any custom mouse pointer/cursor decoration set to be
19487     * shown, when the mouse pointer is over the given genlist widget
19488     * item, thus making it show the @b default cursor again.
19489     *
19490     * @param item a genlist item
19491     *
19492     * Use this call to undo any custom settings on this item's cursor
19493     * decoration, bringing it back to defaults (no custom style set).
19494     *
19495     * @see elm_object_cursor_unset()
19496     * @see elm_genlist_item_cursor_set() for more details
19497     *
19498     * @ingroup Genlist
19499     */
19500    EAPI void               elm_genlist_item_cursor_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19501    /**
19502     * Set a different @b style for a given custom cursor set for a
19503     * genlist item.
19504     *
19505     * @param item genlist item with custom cursor set
19506     * @param style the <b>theme style</b> to use (e.g. @c "default",
19507     * @c "transparent", etc)
19508     *
19509     * This function only makes sense when one is using custom mouse
19510     * cursor decorations <b>defined in a theme file</b> , which can
19511     * have, given a cursor name/type, <b>alternate styles</b> on
19512     * it. It works analogously as elm_object_cursor_style_set(), but
19513     * here applied only to genlist item objects.
19514     *
19515     * @warning Before you set a cursor style you should have defined a
19516     *       custom cursor previously on the item, with
19517     *       elm_genlist_item_cursor_set()
19518     *
19519     * @see elm_genlist_item_cursor_engine_only_set()
19520     * @see elm_genlist_item_cursor_style_get()
19521     *
19522     * @ingroup Genlist
19523     */
19524    EAPI void               elm_genlist_item_cursor_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
19525    /**
19526     * Get the current @b style set for a given genlist item's custom
19527     * cursor
19528     *
19529     * @param item genlist item with custom cursor set.
19530     * @return style the cursor style in use. If the object does not
19531     *         have a cursor set, then @c NULL is returned.
19532     *
19533     * @see elm_genlist_item_cursor_style_set() for more details
19534     *
19535     * @ingroup Genlist
19536     */
19537    EAPI const char        *elm_genlist_item_cursor_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19538    /**
19539     * Set if the (custom) cursor for a given genlist item should be
19540     * searched in its theme, also, or should only rely on the
19541     * rendering engine.
19542     *
19543     * @param item item with custom (custom) cursor already set on
19544     * @param engine_only Use @c EINA_TRUE to have cursors looked for
19545     * only on those provided by the rendering engine, @c EINA_FALSE to
19546     * have them searched on the widget's theme, as well.
19547     *
19548     * @note This call is of use only if you've set a custom cursor
19549     * for genlist items, with elm_genlist_item_cursor_set().
19550     *
19551     * @note By default, cursors will only be looked for between those
19552     * provided by the rendering engine.
19553     *
19554     * @ingroup Genlist
19555     */
19556    EAPI void               elm_genlist_item_cursor_engine_only_set(Elm_Genlist_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
19557    /**
19558     * Get if the (custom) cursor for a given genlist item is being
19559     * searched in its theme, also, or is only relying on the rendering
19560     * engine.
19561     *
19562     * @param item a genlist item
19563     * @return @c EINA_TRUE, if cursors are being looked for only on
19564     * those provided by the rendering engine, @c EINA_FALSE if they
19565     * are being searched on the widget's theme, as well.
19566     *
19567     * @see elm_genlist_item_cursor_engine_only_set(), for more details
19568     *
19569     * @ingroup Genlist
19570     */
19571    EAPI Eina_Bool          elm_genlist_item_cursor_engine_only_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19572    /**
19573     * Update the contents of all realized items.
19574     *
19575     * @param obj The genlist object.
19576     *
19577     * This updates all realized items by calling all the item class functions again
19578     * to get the icons, labels and states. Use this when the original
19579     * item data has changed and the changes are desired to be reflected.
19580     *
19581     * To update just one item, use elm_genlist_item_update().
19582     *
19583     * @see elm_genlist_realized_items_get()
19584     * @see elm_genlist_item_update()
19585     *
19586     * @ingroup Genlist
19587     */
19588    EAPI void               elm_genlist_realized_items_update(Evas_Object *obj) EINA_ARG_NONNULL(1);
19589    /**
19590     * Activate a genlist mode on an item
19591     *
19592     * @param item The genlist item
19593     * @param mode Mode name
19594     * @param mode_set Boolean to define set or unset mode.
19595     *
19596     * A genlist mode is a different way of selecting an item. Once a mode is
19597     * activated on an item, any other selected item is immediately unselected.
19598     * This feature provides an easy way of implementing a new kind of animation
19599     * for selecting an item, without having to entirely rewrite the item style
19600     * theme. However, the elm_genlist_selected_* API can't be used to get what
19601     * item is activate for a mode.
19602     *
19603     * The current item style will still be used, but applying a genlist mode to
19604     * an item will select it using a different kind of animation.
19605     *
19606     * The current active item for a mode can be found by
19607     * elm_genlist_mode_item_get().
19608     *
19609     * The characteristics of genlist mode are:
19610     * - Only one mode can be active at any time, and for only one item.
19611     * - Genlist handles deactivating other items when one item is activated.
19612     * - A mode is defined in the genlist theme (edc), and more modes can easily
19613     *   be added.
19614     * - A mode style and the genlist item style are different things. They
19615     *   can be combined to provide a default style to the item, with some kind
19616     *   of animation for that item when the mode is activated.
19617     *
19618     * When a mode is activated on an item, a new view for that item is created.
19619     * The theme of this mode defines the animation that will be used to transit
19620     * the item from the old view to the new view. This second (new) view will be
19621     * active for that item while the mode is active on the item, and will be
19622     * destroyed after the mode is totally deactivated from that item.
19623     *
19624     * @see elm_genlist_mode_get()
19625     * @see elm_genlist_mode_item_get()
19626     *
19627     * @ingroup Genlist
19628     */
19629    EAPI void               elm_genlist_item_mode_set(Elm_Genlist_Item *it, const char *mode_type, Eina_Bool mode_set) EINA_ARG_NONNULL(1, 2);
19630    /**
19631     * Get the last (or current) genlist mode used.
19632     *
19633     * @param obj The genlist object
19634     *
19635     * This function just returns the name of the last used genlist mode. It will
19636     * be the current mode if it's still active.
19637     *
19638     * @see elm_genlist_item_mode_set()
19639     * @see elm_genlist_mode_item_get()
19640     *
19641     * @ingroup Genlist
19642     */
19643    EAPI const char        *elm_genlist_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19644    /**
19645     * Get active genlist mode item
19646     *
19647     * @param obj The genlist object
19648     * @return The active item for that current mode. Or @c NULL if no item is
19649     * activated with any mode.
19650     *
19651     * This function returns the item that was activated with a mode, by the
19652     * function elm_genlist_item_mode_set().
19653     *
19654     * @see elm_genlist_item_mode_set()
19655     * @see elm_genlist_mode_get()
19656     *
19657     * @ingroup Genlist
19658     */
19659    EAPI const Elm_Genlist_Item *elm_genlist_mode_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19660
19661    /**
19662     * Set reorder mode
19663     *
19664     * @param obj The genlist object
19665     * @param reorder_mode The reorder mode
19666     * (EINA_TRUE = on, EINA_FALSE = off)
19667     *
19668     * @ingroup Genlist
19669     */
19670    EAPI void               elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
19671
19672    /**
19673     * Get the reorder mode
19674     *
19675     * @param obj The genlist object
19676     * @return The reorder mode
19677     * (EINA_TRUE = on, EINA_FALSE = off)
19678     *
19679     * @ingroup Genlist
19680     */
19681    EAPI Eina_Bool          elm_genlist_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19682
19683    /**
19684     * @}
19685     */
19686
19687    /**
19688     * @defgroup Check Check
19689     *
19690     * @image html img/widget/check/preview-00.png
19691     * @image latex img/widget/check/preview-00.eps
19692     * @image html img/widget/check/preview-01.png
19693     * @image latex img/widget/check/preview-01.eps
19694     * @image html img/widget/check/preview-02.png
19695     * @image latex img/widget/check/preview-02.eps
19696     *
19697     * @brief The check widget allows for toggling a value between true and
19698     * false.
19699     *
19700     * Check objects are a lot like radio objects in layout and functionality
19701     * except they do not work as a group, but independently and only toggle the
19702     * value of a boolean from false to true (0 or 1). elm_check_state_set() sets
19703     * the boolean state (1 for true, 0 for false), and elm_check_state_get()
19704     * returns the current state. For convenience, like the radio objects, you
19705     * can set a pointer to a boolean directly with elm_check_state_pointer_set()
19706     * for it to modify.
19707     *
19708     * Signals that you can add callbacks for are:
19709     * "changed" - This is called whenever the user changes the state of one of
19710     *             the check object(event_info is NULL).
19711     *
19712     * Default contents parts of the check widget that you can use for are:
19713     * @li "elm.swallow.content" - A icon of the check
19714     *
19715     * Default text parts of the check widget that you can use for are:
19716     * @li "elm.text" - Label of the check
19717     *
19718     * @ref tutorial_check should give you a firm grasp of how to use this widget
19719     * .
19720     * @{
19721     */
19722    /**
19723     * @brief Add a new Check object
19724     *
19725     * @param parent The parent object
19726     * @return The new object or NULL if it cannot be created
19727     */
19728    EAPI Evas_Object *elm_check_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
19729    /**
19730     * @brief Set the text label of the check object
19731     *
19732     * @param obj The check object
19733     * @param label The text label string in UTF-8
19734     *
19735     * @deprecated use elm_object_text_set() instead.
19736     */
19737    EINA_DEPRECATED EAPI void         elm_check_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
19738    /**
19739     * @brief Get the text label of the check object
19740     *
19741     * @param obj The check object
19742     * @return The text label string in UTF-8
19743     *
19744     * @deprecated use elm_object_text_get() instead.
19745     */
19746    EINA_DEPRECATED EAPI const char  *elm_check_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19747    /**
19748     * @brief Set the icon object of the check object
19749     *
19750     * @param obj The check object
19751     * @param icon The icon object
19752     *
19753     * Once the icon object is set, a previously set one will be deleted.
19754     * If you want to keep that old content object, use the
19755     * elm_object_content_unset() function.
19756     */
19757    EINA_DEPRECATED EAPI void         elm_check_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
19758    /**
19759     * @brief Get the icon object of the check object
19760     *
19761     * @param obj The check object
19762     * @return The icon object
19763     */
19764    EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19765    /**
19766     * @brief Unset the icon used for the check object
19767     *
19768     * @param obj The check object
19769     * @return The icon object that was being used
19770     *
19771     * Unparent and return the icon object which was set for this widget.
19772     */
19773    EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
19774    /**
19775     * @brief Set the on/off state of the check object
19776     *
19777     * @param obj The check object
19778     * @param state The state to use (1 == on, 0 == off)
19779     *
19780     * This sets the state of the check. If set
19781     * with elm_check_state_pointer_set() the state of that variable is also
19782     * changed. Calling this @b doesn't cause the "changed" signal to be emited.
19783     */
19784    EAPI void         elm_check_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
19785    /**
19786     * @brief Get the state of the check object
19787     *
19788     * @param obj The check object
19789     * @return The boolean state
19790     */
19791    EAPI Eina_Bool    elm_check_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19792    /**
19793     * @brief Set a convenience pointer to a boolean to change
19794     *
19795     * @param obj The check object
19796     * @param statep Pointer to the boolean to modify
19797     *
19798     * This sets a pointer to a boolean, that, in addition to the check objects
19799     * state will also be modified directly. To stop setting the object pointed
19800     * to simply use NULL as the @p statep parameter. If @p statep is not NULL,
19801     * then when this is called, the check objects state will also be modified to
19802     * reflect the value of the boolean @p statep points to, just like calling
19803     * elm_check_state_set().
19804     */
19805    EAPI void         elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
19806    EINA_DEPRECATED EAPI void         elm_check_states_labels_set(Evas_Object *obj, const char *ontext, const char *offtext) EINA_ARG_NONNULL(1,2,3);
19807    EINA_DEPRECATED EAPI void         elm_check_states_labels_get(const Evas_Object *obj, const char **ontext, const char **offtext) EINA_ARG_NONNULL(1,2,3);
19808
19809    /**
19810     * @}
19811     */
19812
19813    /**
19814     * @defgroup Radio Radio
19815     *
19816     * @image html img/widget/radio/preview-00.png
19817     * @image latex img/widget/radio/preview-00.eps
19818     *
19819     * @brief Radio is a widget that allows for 1 or more options to be displayed
19820     * and have the user choose only 1 of them.
19821     *
19822     * A radio object contains an indicator, an optional Label and an optional
19823     * icon object. While it's possible to have a group of only one radio they,
19824     * are normally used in groups of 2 or more. To add a radio to a group use
19825     * elm_radio_group_add(). The radio object(s) will select from one of a set
19826     * of integer values, so any value they are configuring needs to be mapped to
19827     * a set of integers. To configure what value that radio object represents,
19828     * use  elm_radio_state_value_set() to set the integer it represents. To set
19829     * the value the whole group(which one is currently selected) is to indicate
19830     * use elm_radio_value_set() on any group member, and to get the groups value
19831     * use elm_radio_value_get(). For convenience the radio objects are also able
19832     * to directly set an integer(int) to the value that is selected. To specify
19833     * the pointer to this integer to modify, use elm_radio_value_pointer_set().
19834     * The radio objects will modify this directly. That implies the pointer must
19835     * point to valid memory for as long as the radio objects exist.
19836     *
19837     * Signals that you can add callbacks for are:
19838     * @li changed - This is called whenever the user changes the state of one of
19839     * the radio objects within the group of radio objects that work together.
19840     *
19841     * Default contents parts of the radio widget that you can use for are:
19842     * @li "elm.swallow.content" - A icon of the radio
19843     *
19844     * @ref tutorial_radio show most of this API in action.
19845     * @{
19846     */
19847    /**
19848     * @brief Add a new radio to the parent
19849     *
19850     * @param parent The parent object
19851     * @return The new object or NULL if it cannot be created
19852     */
19853    EAPI Evas_Object *elm_radio_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
19854    /**
19855     * @brief Set the text label of the radio object
19856     *
19857     * @param obj The radio object
19858     * @param label The text label string in UTF-8
19859     *
19860     * @deprecated use elm_object_text_set() instead.
19861     */
19862    EINA_DEPRECATED EAPI void         elm_radio_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
19863    /**
19864     * @brief Get the text label of the radio object
19865     *
19866     * @param obj The radio object
19867     * @return The text label string in UTF-8
19868     *
19869     * @deprecated use elm_object_text_set() instead.
19870     */
19871    EINA_DEPRECATED EAPI const char  *elm_radio_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19872    /**
19873     * @brief Set the icon object of the radio object
19874     *
19875     * @param obj The radio object
19876     * @param icon The icon object
19877     *
19878     * Once the icon object is set, a previously set one will be deleted. If you
19879     * want to keep that old content object, use the elm_radio_icon_unset()
19880     * function.
19881     */
19882    EINA_DEPRECATED EAPI void         elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
19883    /**
19884     * @brief Get the icon object of the radio object
19885     *
19886     * @param obj The radio object
19887     * @return The icon object
19888     *
19889     * @see elm_radio_icon_set()
19890     */
19891    EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19892    /**
19893     * @brief Unset the icon used for the radio object
19894     *
19895     * @param obj The radio object
19896     * @return The icon object that was being used
19897     *
19898     * Unparent and return the icon object which was set for this widget.
19899     *
19900     * @see elm_radio_icon_set()
19901     */
19902    EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
19903    /**
19904     * @brief Add this radio to a group of other radio objects
19905     *
19906     * @param obj The radio object
19907     * @param group Any object whose group the @p obj is to join.
19908     *
19909     * Radio objects work in groups. Each member should have a different integer
19910     * value assigned. In order to have them work as a group, they need to know
19911     * about each other. This adds the given radio object to the group of which
19912     * the group object indicated is a member.
19913     */
19914    EAPI void         elm_radio_group_add(Evas_Object *obj, Evas_Object *group) EINA_ARG_NONNULL(1);
19915    /**
19916     * @brief Set the integer value that this radio object represents
19917     *
19918     * @param obj The radio object
19919     * @param value The value to use if this radio object is selected
19920     *
19921     * This sets the value of the radio.
19922     */
19923    EAPI void         elm_radio_state_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
19924    /**
19925     * @brief Get the integer value that this radio object represents
19926     *
19927     * @param obj The radio object
19928     * @return The value used if this radio object is selected
19929     *
19930     * This gets the value of the radio.
19931     *
19932     * @see elm_radio_value_set()
19933     */
19934    EAPI int          elm_radio_state_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19935    /**
19936     * @brief Set the value of the radio.
19937     *
19938     * @param obj The radio object
19939     * @param value The value to use for the group
19940     *
19941     * This sets the value of the radio group and will also set the value if
19942     * pointed to, to the value supplied, but will not call any callbacks.
19943     */
19944    EAPI void         elm_radio_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
19945    /**
19946     * @brief Get the state of the radio object
19947     *
19948     * @param obj The radio object
19949     * @return The integer state
19950     */
19951    EAPI int          elm_radio_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19952    /**
19953     * @brief Set a convenience pointer to a integer to change
19954     *
19955     * @param obj The radio object
19956     * @param valuep Pointer to the integer to modify
19957     *
19958     * This sets a pointer to a integer, that, in addition to the radio objects
19959     * state will also be modified directly. To stop setting the object pointed
19960     * to simply use NULL as the @p valuep argument. If valuep is not NULL, then
19961     * when this is called, the radio objects state will also be modified to
19962     * reflect the value of the integer valuep points to, just like calling
19963     * elm_radio_value_set().
19964     */
19965    EAPI void         elm_radio_value_pointer_set(Evas_Object *obj, int *valuep) EINA_ARG_NONNULL(1);
19966    /**
19967     * @}
19968     */
19969
19970    /**
19971     * @defgroup Pager Pager
19972     *
19973     * @image html img/widget/pager/preview-00.png
19974     * @image latex img/widget/pager/preview-00.eps
19975     *
19976     * @brief Widget that allows flipping between 1 or more “pages” of objects.
19977     *
19978     * The flipping between “pages” of objects is animated. All content in pager
19979     * is kept in a stack, the last content to be added will be on the top of the
19980     * stack(be visible).
19981     *
19982     * Objects can be pushed or popped from the stack or deleted as normal.
19983     * Pushes and pops will animate (and a pop will delete the object once the
19984     * animation is finished). Any object already in the pager can be promoted to
19985     * the top(from its current stacking position) through the use of
19986     * elm_pager_content_promote(). Objects are pushed to the top with
19987     * elm_pager_content_push() and when the top item is no longer wanted, simply
19988     * pop it with elm_pager_content_pop() and it will also be deleted. If an
19989     * object is no longer needed and is not the top item, just delete it as
19990     * normal. You can query which objects are the top and bottom with
19991     * elm_pager_content_bottom_get() and elm_pager_content_top_get().
19992     *
19993     * Signals that you can add callbacks for are:
19994     * "hide,finished" - when the previous page is hided
19995     *
19996     * This widget has the following styles available:
19997     * @li default
19998     * @li fade
19999     * @li fade_translucide
20000     * @li fade_invisible
20001     * @note This styles affect only the flipping animations, the appearance when
20002     * not animating is unaffected by styles.
20003     *
20004     * @ref tutorial_pager gives a good overview of the usage of the API.
20005     * @{
20006     */
20007    /**
20008     * Add a new pager to the parent
20009     *
20010     * @param parent The parent object
20011     * @return The new object or NULL if it cannot be created
20012     *
20013     * @ingroup Pager
20014     */
20015    EAPI Evas_Object *elm_pager_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20016    /**
20017     * @brief Push an object to the top of the pager stack (and show it).
20018     *
20019     * @param obj The pager object
20020     * @param content The object to push
20021     *
20022     * The object pushed becomes a child of the pager, it will be controlled and
20023     * deleted when the pager is deleted.
20024     *
20025     * @note If the content is already in the stack use
20026     * elm_pager_content_promote().
20027     * @warning Using this function on @p content already in the stack results in
20028     * undefined behavior.
20029     */
20030    EAPI void         elm_pager_content_push(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
20031    /**
20032     * @brief Pop the object that is on top of the stack
20033     *
20034     * @param obj The pager object
20035     *
20036     * This pops the object that is on the top(visible) of the pager, makes it
20037     * disappear, then deletes the object. The object that was underneath it on
20038     * the stack will become visible.
20039     */
20040    EAPI void         elm_pager_content_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
20041    /**
20042     * @brief Moves an object already in the pager stack to the top of the stack.
20043     *
20044     * @param obj The pager object
20045     * @param content The object to promote
20046     *
20047     * This will take the @p content and move it to the top of the stack as
20048     * if it had been pushed there.
20049     *
20050     * @note If the content isn't already in the stack use
20051     * elm_pager_content_push().
20052     * @warning Using this function on @p content not already in the stack
20053     * results in undefined behavior.
20054     */
20055    EAPI void         elm_pager_content_promote(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
20056    /**
20057     * @brief Return the object at the bottom of the pager stack
20058     *
20059     * @param obj The pager object
20060     * @return The bottom object or NULL if none
20061     */
20062    EAPI Evas_Object *elm_pager_content_bottom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20063    /**
20064     * @brief  Return the object at the top of the pager stack
20065     *
20066     * @param obj The pager object
20067     * @return The top object or NULL if none
20068     */
20069    EAPI Evas_Object *elm_pager_content_top_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20070
20071    /**
20072     * @}
20073     */
20074
20075    /**
20076     * @defgroup Slideshow Slideshow
20077     *
20078     * @image html img/widget/slideshow/preview-00.png
20079     * @image latex img/widget/slideshow/preview-00.eps
20080     *
20081     * This widget, as the name indicates, is a pre-made image
20082     * slideshow panel, with API functions acting on (child) image
20083     * items presentation. Between those actions, are:
20084     * - advance to next/previous image
20085     * - select the style of image transition animation
20086     * - set the exhibition time for each image
20087     * - start/stop the slideshow
20088     *
20089     * The transition animations are defined in the widget's theme,
20090     * consequently new animations can be added without having to
20091     * update the widget's code.
20092     *
20093     * @section Slideshow_Items Slideshow items
20094     *
20095     * For slideshow items, just like for @ref Genlist "genlist" ones,
20096     * the user defines a @b classes, specifying functions that will be
20097     * called on the item's creation and deletion times.
20098     *
20099     * The #Elm_Slideshow_Item_Class structure contains the following
20100     * members:
20101     *
20102     * - @c func.get - When an item is displayed, this function is
20103     *   called, and it's where one should create the item object, de
20104     *   facto. For example, the object can be a pure Evas image object
20105     *   or an Elementary @ref Photocam "photocam" widget. See
20106     *   #SlideshowItemGetFunc.
20107     * - @c func.del - When an item is no more displayed, this function
20108     *   is called, where the user must delete any data associated to
20109     *   the item. See #SlideshowItemDelFunc.
20110     *
20111     * @section Slideshow_Caching Slideshow caching
20112     *
20113     * The slideshow provides facilities to have items adjacent to the
20114     * one being displayed <b>already "realized"</b> (i.e. loaded) for
20115     * you, so that the system does not have to decode image data
20116     * anymore at the time it has to actually switch images on its
20117     * viewport. The user is able to set the numbers of items to be
20118     * cached @b before and @b after the current item, in the widget's
20119     * item list.
20120     *
20121     * Smart events one can add callbacks for are:
20122     *
20123     * - @c "changed" - when the slideshow switches its view to a new
20124     *   item
20125     *
20126     * List of examples for the slideshow widget:
20127     * @li @ref slideshow_example
20128     */
20129
20130    /**
20131     * @addtogroup Slideshow
20132     * @{
20133     */
20134
20135    typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class; /**< Slideshow item class definition struct */
20136    typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func; /**< Class functions for slideshow item classes. */
20137    typedef struct _Elm_Slideshow_Item       Elm_Slideshow_Item; /**< Slideshow item handle */
20138    typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj); /**< Image fetching class function for slideshow item classes. */
20139    typedef void         (*SlideshowItemDelFunc) (void *data, Evas_Object *obj); /**< Deletion class function for slideshow item classes. */
20140
20141    /**
20142     * @struct _Elm_Slideshow_Item_Class
20143     *
20144     * Slideshow item class definition. See @ref Slideshow_Items for
20145     * field details.
20146     */
20147    struct _Elm_Slideshow_Item_Class
20148      {
20149         struct _Elm_Slideshow_Item_Class_Func
20150           {
20151              SlideshowItemGetFunc get;
20152              SlideshowItemDelFunc del;
20153           } func;
20154      }; /**< #Elm_Slideshow_Item_Class member definitions */
20155
20156    /**
20157     * Add a new slideshow widget to the given parent Elementary
20158     * (container) object
20159     *
20160     * @param parent The parent object
20161     * @return A new slideshow widget handle or @c NULL, on errors
20162     *
20163     * This function inserts a new slideshow widget on the canvas.
20164     *
20165     * @ingroup Slideshow
20166     */
20167    EAPI Evas_Object        *elm_slideshow_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20168
20169    /**
20170     * Add (append) a new item in a given slideshow widget.
20171     *
20172     * @param obj The slideshow object
20173     * @param itc The item class for the item
20174     * @param data The item's data
20175     * @return A handle to the item added or @c NULL, on errors
20176     *
20177     * Add a new item to @p obj's internal list of items, appending it.
20178     * The item's class must contain the function really fetching the
20179     * image object to show for this item, which could be an Evas image
20180     * object or an Elementary photo, for example. The @p data
20181     * parameter is going to be passed to both class functions of the
20182     * item.
20183     *
20184     * @see #Elm_Slideshow_Item_Class
20185     * @see elm_slideshow_item_sorted_insert()
20186     *
20187     * @ingroup Slideshow
20188     */
20189    EAPI Elm_Slideshow_Item *elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data) EINA_ARG_NONNULL(1);
20190
20191    /**
20192     * Insert a new item into the given slideshow widget, using the @p func
20193     * function to sort items (by item handles).
20194     *
20195     * @param obj The slideshow object
20196     * @param itc The item class for the item
20197     * @param data The item's data
20198     * @param func The comparing function to be used to sort slideshow
20199     * items <b>by #Elm_Slideshow_Item item handles</b>
20200     * @return Returns The slideshow item handle, on success, or
20201     * @c NULL, on errors
20202     *
20203     * Add a new item to @p obj's internal list of items, in a position
20204     * determined by the @p func comparing function. The item's class
20205     * must contain the function really fetching the image object to
20206     * show for this item, which could be an Evas image object or an
20207     * Elementary photo, for example. The @p data parameter is going to
20208     * be passed to both class functions of the item.
20209     *
20210     * @see #Elm_Slideshow_Item_Class
20211     * @see elm_slideshow_item_add()
20212     *
20213     * @ingroup Slideshow
20214     */
20215    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);
20216
20217    /**
20218     * Display a given slideshow widget's item, programmatically.
20219     *
20220     * @param obj The slideshow object
20221     * @param item The item to display on @p obj's viewport
20222     *
20223     * The change between the current item and @p item will use the
20224     * transition @p obj is set to use (@see
20225     * elm_slideshow_transition_set()).
20226     *
20227     * @ingroup Slideshow
20228     */
20229    EAPI void                elm_slideshow_show(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
20230
20231    /**
20232     * Slide to the @b next item, in a given slideshow widget
20233     *
20234     * @param obj The slideshow object
20235     *
20236     * The sliding animation @p obj is set to use will be the
20237     * transition effect used, after this call is issued.
20238     *
20239     * @note If the end of the slideshow's internal list of items is
20240     * reached, it'll wrap around to the list's beginning, again.
20241     *
20242     * @ingroup Slideshow
20243     */
20244    EAPI void                elm_slideshow_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
20245
20246    /**
20247     * Slide to the @b previous item, in a given slideshow widget
20248     *
20249     * @param obj The slideshow object
20250     *
20251     * The sliding animation @p obj is set to use will be the
20252     * transition effect used, after this call is issued.
20253     *
20254     * @note If the beginning of the slideshow's internal list of items
20255     * is reached, it'll wrap around to the list's end, again.
20256     *
20257     * @ingroup Slideshow
20258     */
20259    EAPI void                elm_slideshow_previous(Evas_Object *obj) EINA_ARG_NONNULL(1);
20260
20261    /**
20262     * Returns the list of sliding transition/effect names available, for a
20263     * given slideshow widget.
20264     *
20265     * @param obj The slideshow object
20266     * @return The list of transitions (list of @b stringshared strings
20267     * as data)
20268     *
20269     * The transitions, which come from @p obj's theme, must be an EDC
20270     * data item named @c "transitions" on the theme file, with (prefix)
20271     * names of EDC programs actually implementing them.
20272     *
20273     * The available transitions for slideshows on the default theme are:
20274     * - @c "fade" - the current item fades out, while the new one
20275     *   fades in to the slideshow's viewport.
20276     * - @c "black_fade" - the current item fades to black, and just
20277     *   then, the new item will fade in.
20278     * - @c "horizontal" - the current item slides horizontally, until
20279     *   it gets out of the slideshow's viewport, while the new item
20280     *   comes from the left to take its place.
20281     * - @c "vertical" - the current item slides vertically, until it
20282     *   gets out of the slideshow's viewport, while the new item comes
20283     *   from the bottom to take its place.
20284     * - @c "square" - the new item starts to appear from the middle of
20285     *   the current one, but with a tiny size, growing until its
20286     *   target (full) size and covering the old one.
20287     *
20288     * @warning The stringshared strings get no new references
20289     * exclusive to the user grabbing the list, here, so if you'd like
20290     * to use them out of this call's context, you'd better @c
20291     * eina_stringshare_ref() them.
20292     *
20293     * @see elm_slideshow_transition_set()
20294     *
20295     * @ingroup Slideshow
20296     */
20297    EAPI const Eina_List    *elm_slideshow_transitions_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20298
20299    /**
20300     * Set the current slide transition/effect in use for a given
20301     * slideshow widget
20302     *
20303     * @param obj The slideshow object
20304     * @param transition The new transition's name string
20305     *
20306     * If @p transition is implemented in @p obj's theme (i.e., is
20307     * contained in the list returned by
20308     * elm_slideshow_transitions_get()), this new sliding effect will
20309     * be used on the widget.
20310     *
20311     * @see elm_slideshow_transitions_get() for more details
20312     *
20313     * @ingroup Slideshow
20314     */
20315    EAPI void                elm_slideshow_transition_set(Evas_Object *obj, const char *transition) EINA_ARG_NONNULL(1);
20316
20317    /**
20318     * Get the current slide transition/effect in use for a given
20319     * slideshow widget
20320     *
20321     * @param obj The slideshow object
20322     * @return The current transition's name
20323     *
20324     * @see elm_slideshow_transition_set() for more details
20325     *
20326     * @ingroup Slideshow
20327     */
20328    EAPI const char         *elm_slideshow_transition_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20329
20330    /**
20331     * Set the interval between each image transition on a given
20332     * slideshow widget, <b>and start the slideshow, itself</b>
20333     *
20334     * @param obj The slideshow object
20335     * @param timeout The new displaying timeout for images
20336     *
20337     * After this call, the slideshow widget will start cycling its
20338     * view, sequentially and automatically, with the images of the
20339     * items it has. The time between each new image displayed is going
20340     * to be @p timeout, in @b seconds. If a different timeout was set
20341     * previously and an slideshow was in progress, it will continue
20342     * with the new time between transitions, after this call.
20343     *
20344     * @note A value less than or equal to 0 on @p timeout will disable
20345     * the widget's internal timer, thus halting any slideshow which
20346     * could be happening on @p obj.
20347     *
20348     * @see elm_slideshow_timeout_get()
20349     *
20350     * @ingroup Slideshow
20351     */
20352    EAPI void                elm_slideshow_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
20353
20354    /**
20355     * Get the interval set for image transitions on a given slideshow
20356     * widget.
20357     *
20358     * @param obj The slideshow object
20359     * @return Returns the timeout set on it
20360     *
20361     * @see elm_slideshow_timeout_set() for more details
20362     *
20363     * @ingroup Slideshow
20364     */
20365    EAPI double              elm_slideshow_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20366
20367    /**
20368     * Set if, after a slideshow is started, for a given slideshow
20369     * widget, its items should be displayed cyclically or not.
20370     *
20371     * @param obj The slideshow object
20372     * @param loop Use @c EINA_TRUE to make it cycle through items or
20373     * @c EINA_FALSE for it to stop at the end of @p obj's internal
20374     * list of items
20375     *
20376     * @note elm_slideshow_next() and elm_slideshow_previous() will @b
20377     * ignore what is set by this functions, i.e., they'll @b always
20378     * cycle through items. This affects only the "automatic"
20379     * slideshow, as set by elm_slideshow_timeout_set().
20380     *
20381     * @see elm_slideshow_loop_get()
20382     *
20383     * @ingroup Slideshow
20384     */
20385    EAPI void                elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop) EINA_ARG_NONNULL(1);
20386
20387    /**
20388     * Get if, after a slideshow is started, for a given slideshow
20389     * widget, its items are to be displayed cyclically or not.
20390     *
20391     * @param obj The slideshow object
20392     * @return @c EINA_TRUE, if the items in @p obj will be cycled
20393     * through or @c EINA_FALSE, otherwise
20394     *
20395     * @see elm_slideshow_loop_set() for more details
20396     *
20397     * @ingroup Slideshow
20398     */
20399    EAPI Eina_Bool           elm_slideshow_loop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20400
20401    /**
20402     * Remove all items from a given slideshow widget
20403     *
20404     * @param obj The slideshow object
20405     *
20406     * This removes (and deletes) all items in @p obj, leaving it
20407     * empty.
20408     *
20409     * @see elm_slideshow_item_del(), to remove just one item.
20410     *
20411     * @ingroup Slideshow
20412     */
20413    EAPI void                elm_slideshow_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
20414
20415    /**
20416     * Get the internal list of items in a given slideshow widget.
20417     *
20418     * @param obj The slideshow object
20419     * @return The list of items (#Elm_Slideshow_Item as data) or
20420     * @c NULL on errors.
20421     *
20422     * This list is @b not to be modified in any way and must not be
20423     * freed. Use the list members with functions like
20424     * elm_slideshow_item_del(), elm_slideshow_item_data_get().
20425     *
20426     * @warning This list is only valid until @p obj object's internal
20427     * items list is changed. It should be fetched again with another
20428     * call to this function when changes happen.
20429     *
20430     * @ingroup Slideshow
20431     */
20432    EAPI const Eina_List    *elm_slideshow_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20433
20434    /**
20435     * Delete a given item from a slideshow widget.
20436     *
20437     * @param item The slideshow item
20438     *
20439     * @ingroup Slideshow
20440     */
20441    EAPI void                elm_slideshow_item_del(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
20442
20443    /**
20444     * Return the data associated with a given slideshow item
20445     *
20446     * @param item The slideshow item
20447     * @return Returns the data associated to this item
20448     *
20449     * @ingroup Slideshow
20450     */
20451    EAPI void               *elm_slideshow_item_data_get(const Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
20452
20453    /**
20454     * Returns the currently displayed item, in a given slideshow widget
20455     *
20456     * @param obj The slideshow object
20457     * @return A handle to the item being displayed in @p obj or
20458     * @c NULL, if none is (and on errors)
20459     *
20460     * @ingroup Slideshow
20461     */
20462    EAPI Elm_Slideshow_Item *elm_slideshow_item_current_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20463
20464    /**
20465     * Get the real Evas object created to implement the view of a
20466     * given slideshow item
20467     *
20468     * @param item The slideshow item.
20469     * @return the Evas object implementing this item's view.
20470     *
20471     * This returns the actual Evas object used to implement the
20472     * specified slideshow item's view. This may be @c NULL, as it may
20473     * not have been created or may have been deleted, at any time, by
20474     * the slideshow. <b>Do not modify this object</b> (move, resize,
20475     * show, hide, etc.), as the slideshow is controlling it. This
20476     * function is for querying, emitting custom signals or hooking
20477     * lower level callbacks for events on that object. Do not delete
20478     * this object under any circumstances.
20479     *
20480     * @see elm_slideshow_item_data_get()
20481     *
20482     * @ingroup Slideshow
20483     */
20484    EAPI Evas_Object*        elm_slideshow_item_object_get(const Elm_Slideshow_Item* item) EINA_ARG_NONNULL(1);
20485
20486    /**
20487     * Get the the item, in a given slideshow widget, placed at
20488     * position @p nth, in its internal items list
20489     *
20490     * @param obj The slideshow object
20491     * @param nth The number of the item to grab a handle to (0 being
20492     * the first)
20493     * @return The item stored in @p obj at position @p nth or @c NULL,
20494     * if there's no item with that index (and on errors)
20495     *
20496     * @ingroup Slideshow
20497     */
20498    EAPI Elm_Slideshow_Item *elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth) EINA_ARG_NONNULL(1);
20499
20500    /**
20501     * Set the current slide layout in use for a given slideshow widget
20502     *
20503     * @param obj The slideshow object
20504     * @param layout The new layout's name string
20505     *
20506     * If @p layout is implemented in @p obj's theme (i.e., is contained
20507     * in the list returned by elm_slideshow_layouts_get()), this new
20508     * images layout will be used on the widget.
20509     *
20510     * @see elm_slideshow_layouts_get() for more details
20511     *
20512     * @ingroup Slideshow
20513     */
20514    EAPI void                elm_slideshow_layout_set(Evas_Object *obj, const char *layout) EINA_ARG_NONNULL(1);
20515
20516    /**
20517     * Get the current slide layout in use for a given slideshow widget
20518     *
20519     * @param obj The slideshow object
20520     * @return The current layout's name
20521     *
20522     * @see elm_slideshow_layout_set() for more details
20523     *
20524     * @ingroup Slideshow
20525     */
20526    EAPI const char         *elm_slideshow_layout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20527
20528    /**
20529     * Returns the list of @b layout names available, for a given
20530     * slideshow widget.
20531     *
20532     * @param obj The slideshow object
20533     * @return The list of layouts (list of @b stringshared strings
20534     * as data)
20535     *
20536     * Slideshow layouts will change how the widget is to dispose each
20537     * image item in its viewport, with regard to cropping, scaling,
20538     * etc.
20539     *
20540     * The layouts, which come from @p obj's theme, must be an EDC
20541     * data item name @c "layouts" on the theme file, with (prefix)
20542     * names of EDC programs actually implementing them.
20543     *
20544     * The available layouts for slideshows on the default theme are:
20545     * - @c "fullscreen" - item images with original aspect, scaled to
20546     *   touch top and down slideshow borders or, if the image's heigh
20547     *   is not enough, left and right slideshow borders.
20548     * - @c "not_fullscreen" - the same behavior as the @c "fullscreen"
20549     *   one, but always leaving 10% of the slideshow's dimensions of
20550     *   distance between the item image's borders and the slideshow
20551     *   borders, for each axis.
20552     *
20553     * @warning The stringshared strings get no new references
20554     * exclusive to the user grabbing the list, here, so if you'd like
20555     * to use them out of this call's context, you'd better @c
20556     * eina_stringshare_ref() them.
20557     *
20558     * @see elm_slideshow_layout_set()
20559     *
20560     * @ingroup Slideshow
20561     */
20562    EAPI const Eina_List    *elm_slideshow_layouts_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20563
20564    /**
20565     * Set the number of items to cache, on a given slideshow widget,
20566     * <b>before the current item</b>
20567     *
20568     * @param obj The slideshow object
20569     * @param count Number of items to cache before the current one
20570     *
20571     * The default value for this property is @c 2. See
20572     * @ref Slideshow_Caching "slideshow caching" for more details.
20573     *
20574     * @see elm_slideshow_cache_before_get()
20575     *
20576     * @ingroup Slideshow
20577     */
20578    EAPI void                elm_slideshow_cache_before_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
20579
20580    /**
20581     * Retrieve the number of items to cache, on a given slideshow widget,
20582     * <b>before the current item</b>
20583     *
20584     * @param obj The slideshow object
20585     * @return The number of items set to be cached before the current one
20586     *
20587     * @see elm_slideshow_cache_before_set() for more details
20588     *
20589     * @ingroup Slideshow
20590     */
20591    EAPI int                 elm_slideshow_cache_before_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20592
20593    /**
20594     * Set the number of items to cache, on a given slideshow widget,
20595     * <b>after the current item</b>
20596     *
20597     * @param obj The slideshow object
20598     * @param count Number of items to cache after the current one
20599     *
20600     * The default value for this property is @c 2. See
20601     * @ref Slideshow_Caching "slideshow caching" for more details.
20602     *
20603     * @see elm_slideshow_cache_after_get()
20604     *
20605     * @ingroup Slideshow
20606     */
20607    EAPI void                elm_slideshow_cache_after_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
20608
20609    /**
20610     * Retrieve the number of items to cache, on a given slideshow widget,
20611     * <b>after the current item</b>
20612     *
20613     * @param obj The slideshow object
20614     * @return The number of items set to be cached after the current one
20615     *
20616     * @see elm_slideshow_cache_after_set() for more details
20617     *
20618     * @ingroup Slideshow
20619     */
20620    EAPI int                 elm_slideshow_cache_after_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20621
20622    /**
20623     * Get the number of items stored in a given slideshow widget
20624     *
20625     * @param obj The slideshow object
20626     * @return The number of items on @p obj, at the moment of this call
20627     *
20628     * @ingroup Slideshow
20629     */
20630    EAPI unsigned int        elm_slideshow_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20631
20632    /**
20633     * @}
20634     */
20635
20636    /**
20637     * @defgroup Fileselector File Selector
20638     *
20639     * @image html img/widget/fileselector/preview-00.png
20640     * @image latex img/widget/fileselector/preview-00.eps
20641     *
20642     * A file selector is a widget that allows a user to navigate
20643     * through a file system, reporting file selections back via its
20644     * API.
20645     *
20646     * It contains shortcut buttons for home directory (@c ~) and to
20647     * jump one directory upwards (..), as well as cancel/ok buttons to
20648     * confirm/cancel a given selection. After either one of those two
20649     * former actions, the file selector will issue its @c "done" smart
20650     * callback.
20651     *
20652     * There's a text entry on it, too, showing the name of the current
20653     * selection. There's the possibility of making it editable, so it
20654     * is useful on file saving dialogs on applications, where one
20655     * gives a file name to save contents to, in a given directory in
20656     * the system. This custom file name will be reported on the @c
20657     * "done" smart callback (explained in sequence).
20658     *
20659     * Finally, it has a view to display file system items into in two
20660     * possible forms:
20661     * - list
20662     * - grid
20663     *
20664     * If Elementary is built with support of the Ethumb thumbnailing
20665     * library, the second form of view will display preview thumbnails
20666     * of files which it supports.
20667     *
20668     * Smart callbacks one can register to:
20669     *
20670     * - @c "selected" - the user has clicked on a file (when not in
20671     *      folders-only mode) or directory (when in folders-only mode)
20672     * - @c "directory,open" - the list has been populated with new
20673     *      content (@c event_info is a pointer to the directory's
20674     *      path, a @b stringshared string)
20675     * - @c "done" - the user has clicked on the "ok" or "cancel"
20676     *      buttons (@c event_info is a pointer to the selection's
20677     *      path, a @b stringshared string)
20678     *
20679     * Here is an example on its usage:
20680     * @li @ref fileselector_example
20681     */
20682
20683    /**
20684     * @addtogroup Fileselector
20685     * @{
20686     */
20687
20688    /**
20689     * Defines how a file selector widget is to layout its contents
20690     * (file system entries).
20691     */
20692    typedef enum _Elm_Fileselector_Mode
20693      {
20694         ELM_FILESELECTOR_LIST = 0, /**< layout as a list */
20695         ELM_FILESELECTOR_GRID, /**< layout as a grid */
20696         ELM_FILESELECTOR_LAST /**< sentinel (helper) value, not used */
20697      } Elm_Fileselector_Mode;
20698
20699    /**
20700     * Add a new file selector widget to the given parent Elementary
20701     * (container) object
20702     *
20703     * @param parent The parent object
20704     * @return a new file selector widget handle or @c NULL, on errors
20705     *
20706     * This function inserts a new file selector widget on the canvas.
20707     *
20708     * @ingroup Fileselector
20709     */
20710    EAPI Evas_Object          *elm_fileselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20711
20712    /**
20713     * Enable/disable the file name entry box where the user can type
20714     * in a name for a file, in a given file selector widget
20715     *
20716     * @param obj The file selector object
20717     * @param is_save @c EINA_TRUE to make the file selector a "saving
20718     * dialog", @c EINA_FALSE otherwise
20719     *
20720     * Having the entry editable is useful on file saving dialogs on
20721     * applications, where one gives a file name to save contents to,
20722     * in a given directory in the system. This custom file name will
20723     * be reported on the @c "done" smart callback.
20724     *
20725     * @see elm_fileselector_is_save_get()
20726     *
20727     * @ingroup Fileselector
20728     */
20729    EAPI void                  elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save) EINA_ARG_NONNULL(1);
20730
20731    /**
20732     * Get whether the given file selector is in "saving dialog" mode
20733     *
20734     * @param obj The file selector object
20735     * @return @c EINA_TRUE, if the file selector is in "saving dialog"
20736     * mode, @c EINA_FALSE otherwise (and on errors)
20737     *
20738     * @see elm_fileselector_is_save_set() for more details
20739     *
20740     * @ingroup Fileselector
20741     */
20742    EAPI Eina_Bool             elm_fileselector_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20743
20744    /**
20745     * Enable/disable folder-only view for a given file selector widget
20746     *
20747     * @param obj The file selector object
20748     * @param only @c EINA_TRUE to make @p obj only display
20749     * directories, @c EINA_FALSE to make files to be displayed in it
20750     * too
20751     *
20752     * If enabled, the widget's view will only display folder items,
20753     * naturally.
20754     *
20755     * @see elm_fileselector_folder_only_get()
20756     *
20757     * @ingroup Fileselector
20758     */
20759    EAPI void                  elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only) EINA_ARG_NONNULL(1);
20760
20761    /**
20762     * Get whether folder-only view is set for a given file selector
20763     * widget
20764     *
20765     * @param obj The file selector object
20766     * @return only @c EINA_TRUE if @p obj is only displaying
20767     * directories, @c EINA_FALSE if files are being displayed in it
20768     * too (and on errors)
20769     *
20770     * @see elm_fileselector_folder_only_get()
20771     *
20772     * @ingroup Fileselector
20773     */
20774    EAPI Eina_Bool             elm_fileselector_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20775
20776    /**
20777     * Enable/disable the "ok" and "cancel" buttons on a given file
20778     * selector widget
20779     *
20780     * @param obj The file selector object
20781     * @param only @c EINA_TRUE to show them, @c EINA_FALSE to hide.
20782     *
20783     * @note A file selector without those buttons will never emit the
20784     * @c "done" smart event, and is only usable if one is just hooking
20785     * to the other two events.
20786     *
20787     * @see elm_fileselector_buttons_ok_cancel_get()
20788     *
20789     * @ingroup Fileselector
20790     */
20791    EAPI void                  elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons) EINA_ARG_NONNULL(1);
20792
20793    /**
20794     * Get whether the "ok" and "cancel" buttons on a given file
20795     * selector widget are being shown.
20796     *
20797     * @param obj The file selector object
20798     * @return @c EINA_TRUE if they are being shown, @c EINA_FALSE
20799     * otherwise (and on errors)
20800     *
20801     * @see elm_fileselector_buttons_ok_cancel_set() for more details
20802     *
20803     * @ingroup Fileselector
20804     */
20805    EAPI Eina_Bool             elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20806
20807    /**
20808     * Enable/disable a tree view in the given file selector widget,
20809     * <b>if it's in @c #ELM_FILESELECTOR_LIST mode</b>
20810     *
20811     * @param obj The file selector object
20812     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
20813     * disable
20814     *
20815     * In a tree view, arrows are created on the sides of directories,
20816     * allowing them to expand in place.
20817     *
20818     * @note If it's in other mode, the changes made by this function
20819     * will only be visible when one switches back to "list" mode.
20820     *
20821     * @see elm_fileselector_expandable_get()
20822     *
20823     * @ingroup Fileselector
20824     */
20825    EAPI void                  elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand) EINA_ARG_NONNULL(1);
20826
20827    /**
20828     * Get whether tree view is enabled for the given file selector
20829     * widget
20830     *
20831     * @param obj The file selector object
20832     * @return @c EINA_TRUE if @p obj is in tree view, @c EINA_FALSE
20833     * otherwise (and or errors)
20834     *
20835     * @see elm_fileselector_expandable_set() for more details
20836     *
20837     * @ingroup Fileselector
20838     */
20839    EAPI Eina_Bool             elm_fileselector_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20840
20841    /**
20842     * Set, programmatically, the @b directory that a given file
20843     * selector widget will display contents from
20844     *
20845     * @param obj The file selector object
20846     * @param path The path to display in @p obj
20847     *
20848     * This will change the @b directory that @p obj is displaying. It
20849     * will also clear the text entry area on the @p obj object, which
20850     * displays select files' names.
20851     *
20852     * @see elm_fileselector_path_get()
20853     *
20854     * @ingroup Fileselector
20855     */
20856    EAPI void                  elm_fileselector_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
20857
20858    /**
20859     * Get the parent directory's path that a given file selector
20860     * widget is displaying
20861     *
20862     * @param obj The file selector object
20863     * @return The (full) path of the directory the file selector is
20864     * displaying, a @b stringshared string
20865     *
20866     * @see elm_fileselector_path_set()
20867     *
20868     * @ingroup Fileselector
20869     */
20870    EAPI const char           *elm_fileselector_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20871
20872    /**
20873     * Set, programmatically, the currently selected file/directory in
20874     * the given file selector widget
20875     *
20876     * @param obj The file selector object
20877     * @param path The (full) path to a file or directory
20878     * @return @c EINA_TRUE on success, @c EINA_FALSE on failure. The
20879     * latter case occurs if the directory or file pointed to do not
20880     * exist.
20881     *
20882     * @see elm_fileselector_selected_get()
20883     *
20884     * @ingroup Fileselector
20885     */
20886    EAPI Eina_Bool             elm_fileselector_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
20887
20888    /**
20889     * Get the currently selected item's (full) path, in the given file
20890     * selector widget
20891     *
20892     * @param obj The file selector object
20893     * @return The absolute path of the selected item, a @b
20894     * stringshared string
20895     *
20896     * @note Custom editions on @p obj object's text entry, if made,
20897     * will appear on the return string of this function, naturally.
20898     *
20899     * @see elm_fileselector_selected_set() for more details
20900     *
20901     * @ingroup Fileselector
20902     */
20903    EAPI const char           *elm_fileselector_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20904
20905    /**
20906     * Set the mode in which a given file selector widget will display
20907     * (layout) file system entries in its view
20908     *
20909     * @param obj The file selector object
20910     * @param mode The mode of the fileselector, being it one of
20911     * #ELM_FILESELECTOR_LIST (default) or #ELM_FILESELECTOR_GRID. The
20912     * first one, naturally, will display the files in a list. The
20913     * latter will make the widget to display its entries in a grid
20914     * form.
20915     *
20916     * @note By using elm_fileselector_expandable_set(), the user may
20917     * trigger a tree view for that list.
20918     *
20919     * @note If Elementary is built with support of the Ethumb
20920     * thumbnailing library, the second form of view will display
20921     * preview thumbnails of files which it supports. You must have
20922     * elm_need_ethumb() called in your Elementary for thumbnailing to
20923     * work, though.
20924     *
20925     * @see elm_fileselector_expandable_set().
20926     * @see elm_fileselector_mode_get().
20927     *
20928     * @ingroup Fileselector
20929     */
20930    EAPI void                  elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode) EINA_ARG_NONNULL(1);
20931
20932    /**
20933     * Get the mode in which a given file selector widget is displaying
20934     * (layouting) file system entries in its view
20935     *
20936     * @param obj The fileselector object
20937     * @return The mode in which the fileselector is at
20938     *
20939     * @see elm_fileselector_mode_set() for more details
20940     *
20941     * @ingroup Fileselector
20942     */
20943    EAPI Elm_Fileselector_Mode elm_fileselector_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20944
20945    /**
20946     * @}
20947     */
20948
20949    /**
20950     * @defgroup Progressbar Progress bar
20951     *
20952     * The progress bar is a widget for visually representing the
20953     * progress status of a given job/task.
20954     *
20955     * A progress bar may be horizontal or vertical. It may display an
20956     * icon besides it, as well as primary and @b units labels. The
20957     * former is meant to label the widget as a whole, while the
20958     * latter, which is formatted with floating point values (and thus
20959     * accepts a <c>printf</c>-style format string, like <c>"%1.2f
20960     * units"</c>), is meant to label the widget's <b>progress
20961     * value</b>. Label, icon and unit strings/objects are @b optional
20962     * for progress bars.
20963     *
20964     * A progress bar may be @b inverted, in which state it gets its
20965     * values inverted, with high values being on the left or top and
20966     * low values on the right or bottom, as opposed to normally have
20967     * the low values on the former and high values on the latter,
20968     * respectively, for horizontal and vertical modes.
20969     *
20970     * The @b span of the progress, as set by
20971     * elm_progressbar_span_size_set(), is its length (horizontally or
20972     * vertically), unless one puts size hints on the widget to expand
20973     * on desired directions, by any container. That length will be
20974     * scaled by the object or applications scaling factor. At any
20975     * point code can query the progress bar for its value with
20976     * elm_progressbar_value_get().
20977     *
20978     * Available widget styles for progress bars:
20979     * - @c "default"
20980     * - @c "wheel" (simple style, no text, no progression, only
20981     *      "pulse" effect is available)
20982     *
20983     * Default contents parts of the progressbar widget that you can use for are:
20984     * @li "elm.swallow.content" - A icon of the progressbar
20985     * 
20986     * Here is an example on its usage:
20987     * @li @ref progressbar_example
20988     */
20989
20990    /**
20991     * Add a new progress bar widget to the given parent Elementary
20992     * (container) object
20993     *
20994     * @param parent The parent object
20995     * @return a new progress bar widget handle or @c NULL, on errors
20996     *
20997     * This function inserts a new progress bar widget on the canvas.
20998     *
20999     * @ingroup Progressbar
21000     */
21001    EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21002
21003    /**
21004     * Set whether a given progress bar widget is at "pulsing mode" or
21005     * not.
21006     *
21007     * @param obj The progress bar object
21008     * @param pulse @c EINA_TRUE to put @p obj in pulsing mode,
21009     * @c EINA_FALSE to put it back to its default one
21010     *
21011     * By default, progress bars will display values from the low to
21012     * high value boundaries. There are, though, contexts in which the
21013     * state of progression of a given task is @b unknown.  For those,
21014     * one can set a progress bar widget to a "pulsing state", to give
21015     * the user an idea that some computation is being held, but
21016     * without exact progress values. In the default theme it will
21017     * animate its bar with the contents filling in constantly and back
21018     * to non-filled, in a loop. To start and stop this pulsing
21019     * animation, one has to explicitly call elm_progressbar_pulse().
21020     *
21021     * @see elm_progressbar_pulse_get()
21022     * @see elm_progressbar_pulse()
21023     *
21024     * @ingroup Progressbar
21025     */
21026    EAPI void         elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse) EINA_ARG_NONNULL(1);
21027
21028    /**
21029     * Get whether a given progress bar widget is at "pulsing mode" or
21030     * not.
21031     *
21032     * @param obj The progress bar object
21033     * @return @c EINA_TRUE, if @p obj is in pulsing mode, @c EINA_FALSE
21034     * if it's in the default one (and on errors)
21035     *
21036     * @ingroup Progressbar
21037     */
21038    EAPI Eina_Bool    elm_progressbar_pulse_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21039
21040    /**
21041     * Start/stop a given progress bar "pulsing" animation, if its
21042     * under that mode
21043     *
21044     * @param obj The progress bar object
21045     * @param state @c EINA_TRUE, to @b start the pulsing animation,
21046     * @c EINA_FALSE to @b stop it
21047     *
21048     * @note This call won't do anything if @p obj is not under "pulsing mode".
21049     *
21050     * @see elm_progressbar_pulse_set() for more details.
21051     *
21052     * @ingroup Progressbar
21053     */
21054    EAPI void         elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
21055
21056    /**
21057     * Set the progress value (in percentage) on a given progress bar
21058     * widget
21059     *
21060     * @param obj The progress bar object
21061     * @param val The progress value (@b must be between @c 0.0 and @c
21062     * 1.0)
21063     *
21064     * Use this call to set progress bar levels.
21065     *
21066     * @note If you passes a value out of the specified range for @p
21067     * val, it will be interpreted as the @b closest of the @b boundary
21068     * values in the range.
21069     *
21070     * @ingroup Progressbar
21071     */
21072    EAPI void         elm_progressbar_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
21073
21074    /**
21075     * Get the progress value (in percentage) on a given progress bar
21076     * widget
21077     *
21078     * @param obj The progress bar object
21079     * @return The value of the progressbar
21080     *
21081     * @see elm_progressbar_value_set() for more details
21082     *
21083     * @ingroup Progressbar
21084     */
21085    EAPI double       elm_progressbar_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21086
21087    /**
21088     * Set the label of a given progress bar widget
21089     *
21090     * @param obj The progress bar object
21091     * @param label The text label string, in UTF-8
21092     *
21093     * @ingroup Progressbar
21094     * @deprecated use elm_object_text_set() instead.
21095     */
21096    EINA_DEPRECATED EAPI void         elm_progressbar_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
21097
21098    /**
21099     * Get the label of a given progress bar widget
21100     *
21101     * @param obj The progressbar object
21102     * @return The text label string, in UTF-8
21103     *
21104     * @ingroup Progressbar
21105     * @deprecated use elm_object_text_set() instead.
21106     */
21107    EINA_DEPRECATED EAPI const char  *elm_progressbar_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21108
21109    /**
21110     * Set the icon object of a given progress bar widget
21111     *
21112     * @param obj The progress bar object
21113     * @param icon The icon object
21114     *
21115     * Use this call to decorate @p obj with an icon next to it.
21116     *
21117     * @note Once the icon object is set, a previously set one will be
21118     * deleted. If you want to keep that old content object, use the
21119     * elm_progressbar_icon_unset() function.
21120     *
21121     * @see elm_progressbar_icon_get()
21122     *
21123     * @ingroup Progressbar
21124     */
21125    EINA_DEPRECATED EAPI void         elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
21126
21127    /**
21128     * Retrieve the icon object set for a given progress bar widget
21129     *
21130     * @param obj The progress bar object
21131     * @return The icon object's handle, if @p obj had one set, or @c NULL,
21132     * otherwise (and on errors)
21133     *
21134     * @see elm_progressbar_icon_set() for more details
21135     *
21136     * @ingroup Progressbar
21137     */
21138    EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21139
21140    /**
21141     * Unset an icon set on a given progress bar widget
21142     *
21143     * @param obj The progress bar object
21144     * @return The icon object that was being used, if any was set, or
21145     * @c NULL, otherwise (and on errors)
21146     *
21147     * This call will unparent and return the icon object which was set
21148     * for this widget, previously, on success.
21149     *
21150     * @see elm_progressbar_icon_set() for more details
21151     *
21152     * @ingroup Progressbar
21153     */
21154    EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
21155
21156    /**
21157     * Set the (exact) length of the bar region of a given progress bar
21158     * widget
21159     *
21160     * @param obj The progress bar object
21161     * @param size The length of the progress bar's bar region
21162     *
21163     * This sets the minimum width (when in horizontal mode) or height
21164     * (when in vertical mode) of the actual bar area of the progress
21165     * bar @p obj. This in turn affects the object's minimum size. Use
21166     * this when you're not setting other size hints expanding on the
21167     * given direction (like weight and alignment hints) and you would
21168     * like it to have a specific size.
21169     *
21170     * @note Icon, label and unit text around @p obj will require their
21171     * own space, which will make @p obj to require more the @p size,
21172     * actually.
21173     *
21174     * @see elm_progressbar_span_size_get()
21175     *
21176     * @ingroup Progressbar
21177     */
21178    EAPI void         elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
21179
21180    /**
21181     * Get the length set for the bar region of a given progress bar
21182     * widget
21183     *
21184     * @param obj The progress bar object
21185     * @return The length of the progress bar's bar region
21186     *
21187     * If that size was not set previously, with
21188     * elm_progressbar_span_size_set(), this call will return @c 0.
21189     *
21190     * @ingroup Progressbar
21191     */
21192    EAPI Evas_Coord   elm_progressbar_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21193
21194    /**
21195     * Set the format string for a given progress bar widget's units
21196     * label
21197     *
21198     * @param obj The progress bar object
21199     * @param format The format string for @p obj's units label
21200     *
21201     * If @c NULL is passed on @p format, it will make @p obj's units
21202     * area to be hidden completely. If not, it'll set the <b>format
21203     * string</b> for the units label's @b text. The units label is
21204     * provided a floating point value, so the units text is up display
21205     * at most one floating point falue. Note that the units label is
21206     * optional. Use a format string such as "%1.2f meters" for
21207     * example.
21208     *
21209     * @note The default format string for a progress bar is an integer
21210     * percentage, as in @c "%.0f %%".
21211     *
21212     * @see elm_progressbar_unit_format_get()
21213     *
21214     * @ingroup Progressbar
21215     */
21216    EAPI void         elm_progressbar_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
21217
21218    /**
21219     * Retrieve the format string set for a given progress bar widget's
21220     * units label
21221     *
21222     * @param obj The progress bar object
21223     * @return The format set string for @p obj's units label or
21224     * @c NULL, if none was set (and on errors)
21225     *
21226     * @see elm_progressbar_unit_format_set() for more details
21227     *
21228     * @ingroup Progressbar
21229     */
21230    EAPI const char  *elm_progressbar_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21231
21232    /**
21233     * Set the orientation of a given progress bar widget
21234     *
21235     * @param obj The progress bar object
21236     * @param horizontal Use @c EINA_TRUE to make @p obj to be
21237     * @b horizontal, @c EINA_FALSE to make it @b vertical
21238     *
21239     * Use this function to change how your progress bar is to be
21240     * disposed: vertically or horizontally.
21241     *
21242     * @see elm_progressbar_horizontal_get()
21243     *
21244     * @ingroup Progressbar
21245     */
21246    EAPI void         elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
21247
21248    /**
21249     * Retrieve the orientation of a given progress bar widget
21250     *
21251     * @param obj The progress bar object
21252     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
21253     * @c EINA_FALSE if it's @b vertical (and on errors)
21254     *
21255     * @see elm_progressbar_horizontal_set() for more details
21256     *
21257     * @ingroup Progressbar
21258     */
21259    EAPI Eina_Bool    elm_progressbar_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21260
21261    /**
21262     * Invert a given progress bar widget's displaying values order
21263     *
21264     * @param obj The progress bar object
21265     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
21266     * @c EINA_FALSE to bring it back to default, non-inverted values.
21267     *
21268     * A progress bar may be @b inverted, in which state it gets its
21269     * values inverted, with high values being on the left or top and
21270     * low values on the right or bottom, as opposed to normally have
21271     * the low values on the former and high values on the latter,
21272     * respectively, for horizontal and vertical modes.
21273     *
21274     * @see elm_progressbar_inverted_get()
21275     *
21276     * @ingroup Progressbar
21277     */
21278    EAPI void         elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
21279
21280    /**
21281     * Get whether a given progress bar widget's displaying values are
21282     * inverted or not
21283     *
21284     * @param obj The progress bar object
21285     * @return @c EINA_TRUE, if @p obj has inverted values,
21286     * @c EINA_FALSE otherwise (and on errors)
21287     *
21288     * @see elm_progressbar_inverted_set() for more details
21289     *
21290     * @ingroup Progressbar
21291     */
21292    EAPI Eina_Bool    elm_progressbar_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21293
21294    /**
21295     * @defgroup Separator Separator
21296     *
21297     * @brief Separator is a very thin object used to separate other objects.
21298     *
21299     * A separator can be vertical or horizontal.
21300     *
21301     * @ref tutorial_separator is a good example of how to use a separator.
21302     * @{
21303     */
21304    /**
21305     * @brief Add a separator object to @p parent
21306     *
21307     * @param parent The parent object
21308     *
21309     * @return The separator object, or NULL upon failure
21310     */
21311    EAPI Evas_Object *elm_separator_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21312    /**
21313     * @brief Set the horizontal mode of a separator object
21314     *
21315     * @param obj The separator object
21316     * @param horizontal If true, the separator is horizontal
21317     */
21318    EAPI void         elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
21319    /**
21320     * @brief Get the horizontal mode of a separator object
21321     *
21322     * @param obj The separator object
21323     * @return If true, the separator is horizontal
21324     *
21325     * @see elm_separator_horizontal_set()
21326     */
21327    EAPI Eina_Bool    elm_separator_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21328    /**
21329     * @}
21330     */
21331
21332    /**
21333     * @defgroup Spinner Spinner
21334     * @ingroup Elementary
21335     *
21336     * @image html img/widget/spinner/preview-00.png
21337     * @image latex img/widget/spinner/preview-00.eps
21338     *
21339     * A spinner is a widget which allows the user to increase or decrease
21340     * numeric values using arrow buttons, or edit values directly, clicking
21341     * over it and typing the new value.
21342     *
21343     * By default the spinner will not wrap and has a label
21344     * of "%.0f" (just showing the integer value of the double).
21345     *
21346     * A spinner has a label that is formatted with floating
21347     * point values and thus accepts a printf-style format string, like
21348     * “%1.2f units”.
21349     *
21350     * It also allows specific values to be replaced by pre-defined labels.
21351     *
21352     * Smart callbacks one can register to:
21353     *
21354     * - "changed" - Whenever the spinner value is changed.
21355     * - "delay,changed" - A short time after the value is changed by the user.
21356     *    This will be called only when the user stops dragging for a very short
21357     *    period or when they release their finger/mouse, so it avoids possibly
21358     *    expensive reactions to the value change.
21359     *
21360     * Available styles for it:
21361     * - @c "default";
21362     * - @c "vertical": up/down buttons at the right side and text left aligned.
21363     *
21364     * Here is an example on its usage:
21365     * @ref spinner_example
21366     */
21367
21368    /**
21369     * @addtogroup Spinner
21370     * @{
21371     */
21372
21373    /**
21374     * Add a new spinner widget to the given parent Elementary
21375     * (container) object.
21376     *
21377     * @param parent The parent object.
21378     * @return a new spinner widget handle or @c NULL, on errors.
21379     *
21380     * This function inserts a new spinner widget on the canvas.
21381     *
21382     * @ingroup Spinner
21383     *
21384     */
21385    EAPI Evas_Object *elm_spinner_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21386
21387    /**
21388     * Set the format string of the displayed label.
21389     *
21390     * @param obj The spinner object.
21391     * @param fmt The format string for the label display.
21392     *
21393     * If @c NULL, this sets the format to "%.0f". If not it sets the format
21394     * string for the label text. The label text is provided a floating point
21395     * value, so the label text can display up to 1 floating point value.
21396     * Note that this is optional.
21397     *
21398     * Use a format string such as "%1.2f meters" for example, and it will
21399     * display values like: "3.14 meters" for a value equal to 3.14159.
21400     *
21401     * Default is "%0.f".
21402     *
21403     * @see elm_spinner_label_format_get()
21404     *
21405     * @ingroup Spinner
21406     */
21407    EAPI void         elm_spinner_label_format_set(Evas_Object *obj, const char *fmt) EINA_ARG_NONNULL(1);
21408
21409    /**
21410     * Get the label format of the spinner.
21411     *
21412     * @param obj The spinner object.
21413     * @return The text label format string in UTF-8.
21414     *
21415     * @see elm_spinner_label_format_set() for details.
21416     *
21417     * @ingroup Spinner
21418     */
21419    EAPI const char  *elm_spinner_label_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21420
21421    /**
21422     * Set the minimum and maximum values for the spinner.
21423     *
21424     * @param obj The spinner object.
21425     * @param min The minimum value.
21426     * @param max The maximum value.
21427     *
21428     * Define the allowed range of values to be selected by the user.
21429     *
21430     * If actual value is less than @p min, it will be updated to @p min. If it
21431     * is bigger then @p max, will be updated to @p max. Actual value can be
21432     * get with elm_spinner_value_get().
21433     *
21434     * By default, min is equal to 0, and max is equal to 100.
21435     *
21436     * @warning Maximum must be greater than minimum.
21437     *
21438     * @see elm_spinner_min_max_get()
21439     *
21440     * @ingroup Spinner
21441     */
21442    EAPI void         elm_spinner_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
21443
21444    /**
21445     * Get the minimum and maximum values of the spinner.
21446     *
21447     * @param obj The spinner object.
21448     * @param min Pointer where to store the minimum value.
21449     * @param max Pointer where to store the maximum value.
21450     *
21451     * @note If only one value is needed, the other pointer can be passed
21452     * as @c NULL.
21453     *
21454     * @see elm_spinner_min_max_set() for details.
21455     *
21456     * @ingroup Spinner
21457     */
21458    EAPI void         elm_spinner_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
21459
21460    /**
21461     * Set the step used to increment or decrement the spinner value.
21462     *
21463     * @param obj The spinner object.
21464     * @param step The step value.
21465     *
21466     * This value will be incremented or decremented to the displayed value.
21467     * It will be incremented while the user keep right or top arrow pressed,
21468     * and will be decremented while the user keep left or bottom arrow pressed.
21469     *
21470     * The interval to increment / decrement can be set with
21471     * elm_spinner_interval_set().
21472     *
21473     * By default step value is equal to 1.
21474     *
21475     * @see elm_spinner_step_get()
21476     *
21477     * @ingroup Spinner
21478     */
21479    EAPI void         elm_spinner_step_set(Evas_Object *obj, double step) EINA_ARG_NONNULL(1);
21480
21481    /**
21482     * Get the step used to increment or decrement the spinner value.
21483     *
21484     * @param obj The spinner object.
21485     * @return The step value.
21486     *
21487     * @see elm_spinner_step_get() for more details.
21488     *
21489     * @ingroup Spinner
21490     */
21491    EAPI double       elm_spinner_step_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21492
21493    /**
21494     * Set the value the spinner displays.
21495     *
21496     * @param obj The spinner object.
21497     * @param val The value to be displayed.
21498     *
21499     * Value will be presented on the label following format specified with
21500     * elm_spinner_format_set().
21501     *
21502     * @warning The value must to be between min and max values. This values
21503     * are set by elm_spinner_min_max_set().
21504     *
21505     * @see elm_spinner_value_get().
21506     * @see elm_spinner_format_set().
21507     * @see elm_spinner_min_max_set().
21508     *
21509     * @ingroup Spinner
21510     */
21511    EAPI void         elm_spinner_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
21512
21513    /**
21514     * Get the value displayed by the spinner.
21515     *
21516     * @param obj The spinner object.
21517     * @return The value displayed.
21518     *
21519     * @see elm_spinner_value_set() for details.
21520     *
21521     * @ingroup Spinner
21522     */
21523    EAPI double       elm_spinner_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21524
21525    /**
21526     * Set whether the spinner should wrap when it reaches its
21527     * minimum or maximum value.
21528     *
21529     * @param obj The spinner object.
21530     * @param wrap @c EINA_TRUE to enable wrap or @c EINA_FALSE to
21531     * disable it.
21532     *
21533     * Disabled by default. If disabled, when the user tries to increment the
21534     * value,
21535     * but displayed value plus step value is bigger than maximum value,
21536     * the spinner
21537     * won't allow it. The same happens when the user tries to decrement it,
21538     * but the value less step is less than minimum value.
21539     *
21540     * When wrap is enabled, in such situations it will allow these changes,
21541     * but will get the value that would be less than minimum and subtracts
21542     * from maximum. Or add the value that would be more than maximum to
21543     * the minimum.
21544     *
21545     * E.g.:
21546     * @li min value = 10
21547     * @li max value = 50
21548     * @li step value = 20
21549     * @li displayed value = 20
21550     *
21551     * When the user decrement value (using left or bottom arrow), it will
21552     * displays @c 40, because max - (min - (displayed - step)) is
21553     * @c 50 - (@c 10 - (@c 20 - @c 20)) = @c 40.
21554     *
21555     * @see elm_spinner_wrap_get().
21556     *
21557     * @ingroup Spinner
21558     */
21559    EAPI void         elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap) EINA_ARG_NONNULL(1);
21560
21561    /**
21562     * Get whether the spinner should wrap when it reaches its
21563     * minimum or maximum value.
21564     *
21565     * @param obj The spinner object
21566     * @return @c EINA_TRUE means wrap is enabled. @c EINA_FALSE indicates
21567     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
21568     *
21569     * @see elm_spinner_wrap_set() for details.
21570     *
21571     * @ingroup Spinner
21572     */
21573    EAPI Eina_Bool    elm_spinner_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21574
21575    /**
21576     * Set whether the spinner can be directly edited by the user or not.
21577     *
21578     * @param obj The spinner object.
21579     * @param editable @c EINA_TRUE to allow users to edit it or @c EINA_FALSE to
21580     * don't allow users to edit it directly.
21581     *
21582     * Spinner objects can have edition @b disabled, in which state they will
21583     * be changed only by arrows.
21584     * Useful for contexts
21585     * where you don't want your users to interact with it writting the value.
21586     * Specially
21587     * when using special values, the user can see real value instead
21588     * of special label on edition.
21589     *
21590     * It's enabled by default.
21591     *
21592     * @see elm_spinner_editable_get()
21593     *
21594     * @ingroup Spinner
21595     */
21596    EAPI void         elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
21597
21598    /**
21599     * Get whether the spinner can be directly edited by the user or not.
21600     *
21601     * @param obj The spinner object.
21602     * @return @c EINA_TRUE means edition is enabled. @c EINA_FALSE indicates
21603     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
21604     *
21605     * @see elm_spinner_editable_set() for details.
21606     *
21607     * @ingroup Spinner
21608     */
21609    EAPI Eina_Bool    elm_spinner_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21610
21611    /**
21612     * Set a special string to display in the place of the numerical value.
21613     *
21614     * @param obj The spinner object.
21615     * @param value The value to be replaced.
21616     * @param label The label to be used.
21617     *
21618     * It's useful for cases when a user should select an item that is
21619     * better indicated by a label than a value. For example, weekdays or months.
21620     *
21621     * E.g.:
21622     * @code
21623     * sp = elm_spinner_add(win);
21624     * elm_spinner_min_max_set(sp, 1, 3);
21625     * elm_spinner_special_value_add(sp, 1, "January");
21626     * elm_spinner_special_value_add(sp, 2, "February");
21627     * elm_spinner_special_value_add(sp, 3, "March");
21628     * evas_object_show(sp);
21629     * @endcode
21630     *
21631     * @ingroup Spinner
21632     */
21633    EAPI void         elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label) EINA_ARG_NONNULL(1);
21634
21635    /**
21636     * Set the interval on time updates for an user mouse button hold
21637     * on spinner widgets' arrows.
21638     *
21639     * @param obj The spinner object.
21640     * @param interval The (first) interval value in seconds.
21641     *
21642     * This interval value is @b decreased while the user holds the
21643     * mouse pointer either incrementing or decrementing spinner's value.
21644     *
21645     * This helps the user to get to a given value distant from the
21646     * current one easier/faster, as it will start to change quicker and
21647     * quicker on mouse button holds.
21648     *
21649     * The calculation for the next change interval value, starting from
21650     * the one set with this call, is the previous interval divided by
21651     * @c 1.05, so it decreases a little bit.
21652     *
21653     * The default starting interval value for automatic changes is
21654     * @c 0.85 seconds.
21655     *
21656     * @see elm_spinner_interval_get()
21657     *
21658     * @ingroup Spinner
21659     */
21660    EAPI void         elm_spinner_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
21661
21662    /**
21663     * Get the interval on time updates for an user mouse button hold
21664     * on spinner widgets' arrows.
21665     *
21666     * @param obj The spinner object.
21667     * @return The (first) interval value, in seconds, set on it.
21668     *
21669     * @see elm_spinner_interval_set() for more details.
21670     *
21671     * @ingroup Spinner
21672     */
21673    EAPI double       elm_spinner_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21674
21675    /**
21676     * @}
21677     */
21678
21679    /**
21680     * @defgroup Index Index
21681     *
21682     * @image html img/widget/index/preview-00.png
21683     * @image latex img/widget/index/preview-00.eps
21684     *
21685     * An index widget gives you an index for fast access to whichever
21686     * group of other UI items one might have. It's a list of text
21687     * items (usually letters, for alphabetically ordered access).
21688     *
21689     * Index widgets are by default hidden and just appear when the
21690     * user clicks over it's reserved area in the canvas. In its
21691     * default theme, it's an area one @ref Fingers "finger" wide on
21692     * the right side of the index widget's container.
21693     *
21694     * When items on the index are selected, smart callbacks get
21695     * called, so that its user can make other container objects to
21696     * show a given area or child object depending on the index item
21697     * selected. You'd probably be using an index together with @ref
21698     * List "lists", @ref Genlist "generic lists" or @ref Gengrid
21699     * "general grids".
21700     *
21701     * Smart events one  can add callbacks for are:
21702     * - @c "changed" - When the selected index item changes. @c
21703     *      event_info is the selected item's data pointer.
21704     * - @c "delay,changed" - When the selected index item changes, but
21705     *      after a small idling period. @c event_info is the selected
21706     *      item's data pointer.
21707     * - @c "selected" - When the user releases a mouse button and
21708     *      selects an item. @c event_info is the selected item's data
21709     *      pointer.
21710     * - @c "level,up" - when the user moves a finger from the first
21711     *      level to the second level
21712     * - @c "level,down" - when the user moves a finger from the second
21713     *      level to the first level
21714     *
21715     * The @c "delay,changed" event is so that it'll wait a small time
21716     * before actually reporting those events and, moreover, just the
21717     * last event happening on those time frames will actually be
21718     * reported.
21719     *
21720     * Here are some examples on its usage:
21721     * @li @ref index_example_01
21722     * @li @ref index_example_02
21723     */
21724
21725    /**
21726     * @addtogroup Index
21727     * @{
21728     */
21729
21730    typedef struct _Elm_Index_Item Elm_Index_Item; /**< Opaque handle for items of Elementary index widgets */
21731
21732    /**
21733     * Add a new index widget to the given parent Elementary
21734     * (container) object
21735     *
21736     * @param parent The parent object
21737     * @return a new index widget handle or @c NULL, on errors
21738     *
21739     * This function inserts a new index widget on the canvas.
21740     *
21741     * @ingroup Index
21742     */
21743    EAPI Evas_Object    *elm_index_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21744
21745    /**
21746     * Set whether a given index widget is or not visible,
21747     * programatically.
21748     *
21749     * @param obj The index object
21750     * @param active @c EINA_TRUE to show it, @c EINA_FALSE to hide it
21751     *
21752     * Not to be confused with visible as in @c evas_object_show() --
21753     * visible with regard to the widget's auto hiding feature.
21754     *
21755     * @see elm_index_active_get()
21756     *
21757     * @ingroup Index
21758     */
21759    EAPI void            elm_index_active_set(Evas_Object *obj, Eina_Bool active) EINA_ARG_NONNULL(1);
21760
21761    /**
21762     * Get whether a given index widget is currently visible or not.
21763     *
21764     * @param obj The index object
21765     * @return @c EINA_TRUE, if it's shown, @c EINA_FALSE otherwise
21766     *
21767     * @see elm_index_active_set() for more details
21768     *
21769     * @ingroup Index
21770     */
21771    EAPI Eina_Bool       elm_index_active_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21772
21773    /**
21774     * Set the items level for a given index widget.
21775     *
21776     * @param obj The index object.
21777     * @param level @c 0 or @c 1, the currently implemented levels.
21778     *
21779     * @see elm_index_item_level_get()
21780     *
21781     * @ingroup Index
21782     */
21783    EAPI void            elm_index_item_level_set(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
21784
21785    /**
21786     * Get the items level set for a given index widget.
21787     *
21788     * @param obj The index object.
21789     * @return @c 0 or @c 1, which are the levels @p obj might be at.
21790     *
21791     * @see elm_index_item_level_set() for more information
21792     *
21793     * @ingroup Index
21794     */
21795    EAPI int             elm_index_item_level_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21796
21797    /**
21798     * Returns the last selected item's data, for a given index widget.
21799     *
21800     * @param obj The index object.
21801     * @return The item @b data associated to the last selected item on
21802     * @p obj (or @c NULL, on errors).
21803     *
21804     * @warning The returned value is @b not an #Elm_Index_Item item
21805     * handle, but the data associated to it (see the @c item parameter
21806     * in elm_index_item_append(), as an example).
21807     *
21808     * @ingroup Index
21809     */
21810    EAPI void           *elm_index_item_selected_get(const Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
21811
21812    /**
21813     * Append a new item on a given index widget.
21814     *
21815     * @param obj The index object.
21816     * @param letter Letter under which the item should be indexed
21817     * @param item The item data to set for the index's item
21818     *
21819     * Despite the most common usage of the @p letter argument is for
21820     * single char strings, one could use arbitrary strings as index
21821     * entries.
21822     *
21823     * @c item will be the pointer returned back on @c "changed", @c
21824     * "delay,changed" and @c "selected" smart events.
21825     *
21826     * @ingroup Index
21827     */
21828    EAPI void            elm_index_item_append(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
21829
21830    /**
21831     * Prepend a new item on a given index widget.
21832     *
21833     * @param obj The index object.
21834     * @param letter Letter under which the item should be indexed
21835     * @param item The item data to set for the index's item
21836     *
21837     * Despite the most common usage of the @p letter argument is for
21838     * single char strings, one could use arbitrary strings as index
21839     * entries.
21840     *
21841     * @c item will be the pointer returned back on @c "changed", @c
21842     * "delay,changed" and @c "selected" smart events.
21843     *
21844     * @ingroup Index
21845     */
21846    EAPI void            elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
21847
21848    /**
21849     * Append a new item, on a given index widget, <b>after the item
21850     * having @p relative as data</b>.
21851     *
21852     * @param obj The index object.
21853     * @param letter Letter under which the item should be indexed
21854     * @param item The item data to set for the index's item
21855     * @param relative The item data of the index item to be the
21856     * predecessor of this new one
21857     *
21858     * Despite the most common usage of the @p letter argument is for
21859     * single char strings, one could use arbitrary strings as index
21860     * entries.
21861     *
21862     * @c item will be the pointer returned back on @c "changed", @c
21863     * "delay,changed" and @c "selected" smart events.
21864     *
21865     * @note If @p relative is @c NULL or if it's not found to be data
21866     * set on any previous item on @p obj, this function will behave as
21867     * elm_index_item_append().
21868     *
21869     * @ingroup Index
21870     */
21871    EAPI void            elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
21872
21873    /**
21874     * Prepend a new item, on a given index widget, <b>after the item
21875     * having @p relative as data</b>.
21876     *
21877     * @param obj The index object.
21878     * @param letter Letter under which the item should be indexed
21879     * @param item The item data to set for the index's item
21880     * @param relative The item data of the index item to be the
21881     * successor of this new one
21882     *
21883     * Despite the most common usage of the @p letter argument is for
21884     * single char strings, one could use arbitrary strings as index
21885     * entries.
21886     *
21887     * @c item will be the pointer returned back on @c "changed", @c
21888     * "delay,changed" and @c "selected" smart events.
21889     *
21890     * @note If @p relative is @c NULL or if it's not found to be data
21891     * set on any previous item on @p obj, this function will behave as
21892     * elm_index_item_prepend().
21893     *
21894     * @ingroup Index
21895     */
21896    EAPI void            elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
21897
21898    /**
21899     * Insert a new item into the given index widget, using @p cmp_func
21900     * function to sort items (by item handles).
21901     *
21902     * @param obj The index object.
21903     * @param letter Letter under which the item should be indexed
21904     * @param item The item data to set for the index's item
21905     * @param cmp_func The comparing function to be used to sort index
21906     * items <b>by #Elm_Index_Item item handles</b>
21907     * @param cmp_data_func A @b fallback function to be called for the
21908     * sorting of index items <b>by item data</b>). It will be used
21909     * when @p cmp_func returns @c 0 (equality), which means an index
21910     * item with provided item data already exists. To decide which
21911     * data item should be pointed to by the index item in question, @p
21912     * cmp_data_func will be used. If @p cmp_data_func returns a
21913     * non-negative value, the previous index item data will be
21914     * replaced by the given @p item pointer. If the previous data need
21915     * to be freed, it should be done by the @p cmp_data_func function,
21916     * because all references to it will be lost. If this function is
21917     * not provided (@c NULL is given), index items will be @b
21918     * duplicated, if @p cmp_func returns @c 0.
21919     *
21920     * Despite the most common usage of the @p letter argument is for
21921     * single char strings, one could use arbitrary strings as index
21922     * entries.
21923     *
21924     * @c item will be the pointer returned back on @c "changed", @c
21925     * "delay,changed" and @c "selected" smart events.
21926     *
21927     * @ingroup Index
21928     */
21929    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);
21930
21931    /**
21932     * Remove an item from a given index widget, <b>to be referenced by
21933     * it's data value</b>.
21934     *
21935     * @param obj The index object
21936     * @param item The item's data pointer for the item to be removed
21937     * from @p obj
21938     *
21939     * If a deletion callback is set, via elm_index_item_del_cb_set(),
21940     * that callback function will be called by this one.
21941     *
21942     * @warning The item to be removed from @p obj will be found via
21943     * its item data pointer, and not by an #Elm_Index_Item handle.
21944     *
21945     * @ingroup Index
21946     */
21947    EAPI void            elm_index_item_del(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
21948
21949    /**
21950     * Find a given index widget's item, <b>using item data</b>.
21951     *
21952     * @param obj The index object
21953     * @param item The item data pointed to by the desired index item
21954     * @return The index item handle, if found, or @c NULL otherwise
21955     *
21956     * @ingroup Index
21957     */
21958    EAPI Elm_Index_Item *elm_index_item_find(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
21959
21960    /**
21961     * Removes @b all items from a given index widget.
21962     *
21963     * @param obj The index object.
21964     *
21965     * If deletion callbacks are set, via elm_index_item_del_cb_set(),
21966     * that callback function will be called for each item in @p obj.
21967     *
21968     * @ingroup Index
21969     */
21970    EAPI void            elm_index_item_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
21971
21972    /**
21973     * Go to a given items level on a index widget
21974     *
21975     * @param obj The index object
21976     * @param level The index level (one of @c 0 or @c 1)
21977     *
21978     * @ingroup Index
21979     */
21980    EAPI void            elm_index_item_go(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
21981
21982    /**
21983     * Return the data associated with a given index widget item
21984     *
21985     * @param it The index widget item handle
21986     * @return The data associated with @p it
21987     *
21988     * @see elm_index_item_data_set()
21989     *
21990     * @ingroup Index
21991     */
21992    EAPI void           *elm_index_item_data_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
21993
21994    /**
21995     * Set the data associated with a given index widget item
21996     *
21997     * @param it The index widget item handle
21998     * @param data The new data pointer to set to @p it
21999     *
22000     * This sets new item data on @p it.
22001     *
22002     * @warning The old data pointer won't be touched by this function, so
22003     * the user had better to free that old data himself/herself.
22004     *
22005     * @ingroup Index
22006     */
22007    EAPI void            elm_index_item_data_set(Elm_Index_Item *it, const void *data) EINA_ARG_NONNULL(1);
22008
22009    /**
22010     * Set the function to be called when a given index widget item is freed.
22011     *
22012     * @param it The item to set the callback on
22013     * @param func The function to call on the item's deletion
22014     *
22015     * When called, @p func will have both @c data and @c event_info
22016     * arguments with the @p it item's data value and, naturally, the
22017     * @c obj argument with a handle to the parent index widget.
22018     *
22019     * @ingroup Index
22020     */
22021    EAPI void            elm_index_item_del_cb_set(Elm_Index_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
22022
22023    /**
22024     * Get the letter (string) set on a given index widget item.
22025     *
22026     * @param it The index item handle
22027     * @return The letter string set on @p it
22028     *
22029     * @ingroup Index
22030     */
22031    EAPI const char     *elm_index_item_letter_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
22032
22033    /**
22034     * @}
22035     */
22036
22037    /**
22038     * @defgroup Photocam Photocam
22039     *
22040     * @image html img/widget/photocam/preview-00.png
22041     * @image latex img/widget/photocam/preview-00.eps
22042     *
22043     * This is a widget specifically for displaying high-resolution digital
22044     * camera photos giving speedy feedback (fast load), low memory footprint
22045     * and zooming and panning as well as fitting logic. It is entirely focused
22046     * on jpeg images, and takes advantage of properties of the jpeg format (via
22047     * evas loader features in the jpeg loader).
22048     *
22049     * Signals that you can add callbacks for are:
22050     * @li "clicked" - This is called when a user has clicked the photo without
22051     *                 dragging around.
22052     * @li "press" - This is called when a user has pressed down on the photo.
22053     * @li "longpressed" - This is called when a user has pressed down on the
22054     *                     photo for a long time without dragging around.
22055     * @li "clicked,double" - This is called when a user has double-clicked the
22056     *                        photo.
22057     * @li "load" - Photo load begins.
22058     * @li "loaded" - This is called when the image file load is complete for the
22059     *                first view (low resolution blurry version).
22060     * @li "load,detail" - Photo detailed data load begins.
22061     * @li "loaded,detail" - This is called when the image file load is complete
22062     *                      for the detailed image data (full resolution needed).
22063     * @li "zoom,start" - Zoom animation started.
22064     * @li "zoom,stop" - Zoom animation stopped.
22065     * @li "zoom,change" - Zoom changed when using an auto zoom mode.
22066     * @li "scroll" - the content has been scrolled (moved)
22067     * @li "scroll,anim,start" - scrolling animation has started
22068     * @li "scroll,anim,stop" - scrolling animation has stopped
22069     * @li "scroll,drag,start" - dragging the contents around has started
22070     * @li "scroll,drag,stop" - dragging the contents around has stopped
22071     *
22072     * @ref tutorial_photocam shows the API in action.
22073     * @{
22074     */
22075    /**
22076     * @brief Types of zoom available.
22077     */
22078    typedef enum _Elm_Photocam_Zoom_Mode
22079      {
22080         ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0, /**< Zoom controled normally by elm_photocam_zoom_set */
22081         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT, /**< Zoom until photo fits in photocam */
22082         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL, /**< Zoom until photo fills photocam */
22083         ELM_PHOTOCAM_ZOOM_MODE_LAST
22084      } Elm_Photocam_Zoom_Mode;
22085    /**
22086     * @brief Add a new Photocam object
22087     *
22088     * @param parent The parent object
22089     * @return The new object or NULL if it cannot be created
22090     */
22091    EAPI Evas_Object           *elm_photocam_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22092    /**
22093     * @brief Set the photo file to be shown
22094     *
22095     * @param obj The photocam object
22096     * @param file The photo file
22097     * @return The return error (see EVAS_LOAD_ERROR_NONE, EVAS_LOAD_ERROR_GENERIC etc.)
22098     *
22099     * This sets (and shows) the specified file (with a relative or absolute
22100     * path) and will return a load error (same error that
22101     * evas_object_image_load_error_get() will return). The image will change and
22102     * adjust its size at this point and begin a background load process for this
22103     * photo that at some time in the future will be displayed at the full
22104     * quality needed.
22105     */
22106    EAPI Evas_Load_Error        elm_photocam_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
22107    /**
22108     * @brief Returns the path of the current image file
22109     *
22110     * @param obj The photocam object
22111     * @return Returns the path
22112     *
22113     * @see elm_photocam_file_set()
22114     */
22115    EAPI const char            *elm_photocam_file_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22116    /**
22117     * @brief Set the zoom level of the photo
22118     *
22119     * @param obj The photocam object
22120     * @param zoom The zoom level to set
22121     *
22122     * This sets the zoom level. 1 will be 1:1 pixel for pixel. 2 will be 2:1
22123     * (that is 2x2 photo pixels will display as 1 on-screen pixel). 4:1 will be
22124     * 4x4 photo pixels as 1 screen pixel, and so on. The @p zoom parameter must
22125     * be greater than 0. It is usggested to stick to powers of 2. (1, 2, 4, 8,
22126     * 16, 32, etc.).
22127     */
22128    EAPI void                   elm_photocam_zoom_set(Evas_Object *obj, double zoom) EINA_ARG_NONNULL(1);
22129    /**
22130     * @brief Get the zoom level of the photo
22131     *
22132     * @param obj The photocam object
22133     * @return The current zoom level
22134     *
22135     * This returns the current zoom level of the photocam object. Note that if
22136     * you set the fill mode to other than ELM_PHOTOCAM_ZOOM_MODE_MANUAL
22137     * (which is the default), the zoom level may be changed at any time by the
22138     * photocam object itself to account for photo size and photocam viewpoer
22139     * size.
22140     *
22141     * @see elm_photocam_zoom_set()
22142     * @see elm_photocam_zoom_mode_set()
22143     */
22144    EAPI double                 elm_photocam_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22145    /**
22146     * @brief Set the zoom mode
22147     *
22148     * @param obj The photocam object
22149     * @param mode The desired mode
22150     *
22151     * This sets the zoom mode to manual or one of several automatic levels.
22152     * Manual (ELM_PHOTOCAM_ZOOM_MODE_MANUAL) means that zoom is set manually by
22153     * elm_photocam_zoom_set() and will stay at that level until changed by code
22154     * or until zoom mode is changed. This is the default mode. The Automatic
22155     * modes will allow the photocam object to automatically adjust zoom mode
22156     * based on properties. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT) will adjust zoom so
22157     * the photo fits EXACTLY inside the scroll frame with no pixels outside this
22158     * area. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL will be similar but ensure no
22159     * pixels within the frame are left unfilled.
22160     */
22161    EAPI void                   elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode) EINA_ARG_NONNULL(1);
22162    /**
22163     * @brief Get the zoom mode
22164     *
22165     * @param obj The photocam object
22166     * @return The current zoom mode
22167     *
22168     * This gets the current zoom mode of the photocam object.
22169     *
22170     * @see elm_photocam_zoom_mode_set()
22171     */
22172    EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22173    /**
22174     * @brief Get the current image pixel width and height
22175     *
22176     * @param obj The photocam object
22177     * @param w A pointer to the width return
22178     * @param h A pointer to the height return
22179     *
22180     * This gets the current photo pixel width and height (for the original).
22181     * The size will be returned in the integers @p w and @p h that are pointed
22182     * to.
22183     */
22184    EAPI void                   elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
22185    /**
22186     * @brief Get the area of the image that is currently shown
22187     *
22188     * @param obj
22189     * @param x A pointer to the X-coordinate of region
22190     * @param y A pointer to the Y-coordinate of region
22191     * @param w A pointer to the width
22192     * @param h A pointer to the height
22193     *
22194     * @see elm_photocam_image_region_show()
22195     * @see elm_photocam_image_region_bring_in()
22196     */
22197    EAPI void                   elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
22198    /**
22199     * @brief Set the viewed portion of the image
22200     *
22201     * @param obj The photocam object
22202     * @param x X-coordinate of region in image original pixels
22203     * @param y Y-coordinate of region in image original pixels
22204     * @param w Width of region in image original pixels
22205     * @param h Height of region in image original pixels
22206     *
22207     * This shows the region of the image without using animation.
22208     */
22209    EAPI void                   elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
22210    /**
22211     * @brief Bring in the viewed portion of the image
22212     *
22213     * @param obj The photocam object
22214     * @param x X-coordinate of region in image original pixels
22215     * @param y Y-coordinate of region in image original pixels
22216     * @param w Width of region in image original pixels
22217     * @param h Height of region in image original pixels
22218     *
22219     * This shows the region of the image using animation.
22220     */
22221    EAPI void                   elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
22222    /**
22223     * @brief Set the paused state for photocam
22224     *
22225     * @param obj The photocam object
22226     * @param paused The pause state to set
22227     *
22228     * This sets the paused state to on(EINA_TRUE) or off (EINA_FALSE) for
22229     * photocam. The default is off. This will stop zooming using animation on
22230     * zoom levels changes and change instantly. This will stop any existing
22231     * animations that are running.
22232     */
22233    EAPI void                   elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
22234    /**
22235     * @brief Get the paused state for photocam
22236     *
22237     * @param obj The photocam object
22238     * @return The current paused state
22239     *
22240     * This gets the current paused state for the photocam object.
22241     *
22242     * @see elm_photocam_paused_set()
22243     */
22244    EAPI Eina_Bool              elm_photocam_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22245    /**
22246     * @brief Get the internal low-res image used for photocam
22247     *
22248     * @param obj The photocam object
22249     * @return The internal image object handle, or NULL if none exists
22250     *
22251     * This gets the internal image object inside photocam. Do not modify it. It
22252     * is for inspection only, and hooking callbacks to. Nothing else. It may be
22253     * deleted at any time as well.
22254     */
22255    EAPI Evas_Object           *elm_photocam_internal_image_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22256    /**
22257     * @brief Set the photocam scrolling bouncing.
22258     *
22259     * @param obj The photocam object
22260     * @param h_bounce bouncing for horizontal
22261     * @param v_bounce bouncing for vertical
22262     */
22263    EAPI void                   elm_photocam_bounce_set(Evas_Object *obj,  Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
22264    /**
22265     * @brief Get the photocam scrolling bouncing.
22266     *
22267     * @param obj The photocam object
22268     * @param h_bounce bouncing for horizontal
22269     * @param v_bounce bouncing for vertical
22270     *
22271     * @see elm_photocam_bounce_set()
22272     */
22273    EAPI void                   elm_photocam_bounce_get(const Evas_Object *obj,  Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
22274    /**
22275     * @}
22276     */
22277
22278    /**
22279     * @defgroup Map Map
22280     * @ingroup Elementary
22281     *
22282     * @image html img/widget/map/preview-00.png
22283     * @image latex img/widget/map/preview-00.eps
22284     *
22285     * This is a widget specifically for displaying a map. It uses basically
22286     * OpenStreetMap provider http://www.openstreetmap.org/,
22287     * but custom providers can be added.
22288     *
22289     * It supports some basic but yet nice features:
22290     * @li zoom and scroll
22291     * @li markers with content to be displayed when user clicks over it
22292     * @li group of markers
22293     * @li routes
22294     *
22295     * Smart callbacks one can listen to:
22296     *
22297     * - "clicked" - This is called when a user has clicked the map without
22298     *   dragging around.
22299     * - "press" - This is called when a user has pressed down on the map.
22300     * - "longpressed" - This is called when a user has pressed down on the map
22301     *   for a long time without dragging around.
22302     * - "clicked,double" - This is called when a user has double-clicked
22303     *   the map.
22304     * - "load,detail" - Map detailed data load begins.
22305     * - "loaded,detail" - This is called when all currently visible parts of
22306     *   the map are loaded.
22307     * - "zoom,start" - Zoom animation started.
22308     * - "zoom,stop" - Zoom animation stopped.
22309     * - "zoom,change" - Zoom changed when using an auto zoom mode.
22310     * - "scroll" - the content has been scrolled (moved).
22311     * - "scroll,anim,start" - scrolling animation has started.
22312     * - "scroll,anim,stop" - scrolling animation has stopped.
22313     * - "scroll,drag,start" - dragging the contents around has started.
22314     * - "scroll,drag,stop" - dragging the contents around has stopped.
22315     * - "downloaded" - This is called when all currently required map images
22316     *   are downloaded.
22317     * - "route,load" - This is called when route request begins.
22318     * - "route,loaded" - This is called when route request ends.
22319     * - "name,load" - This is called when name request begins.
22320     * - "name,loaded- This is called when name request ends.
22321     *
22322     * Available style for map widget:
22323     * - @c "default"
22324     *
22325     * Available style for markers:
22326     * - @c "radio"
22327     * - @c "radio2"
22328     * - @c "empty"
22329     *
22330     * Available style for marker bubble:
22331     * - @c "default"
22332     *
22333     * List of examples:
22334     * @li @ref map_example_01
22335     * @li @ref map_example_02
22336     * @li @ref map_example_03
22337     */
22338
22339    /**
22340     * @addtogroup Map
22341     * @{
22342     */
22343
22344    /**
22345     * @enum _Elm_Map_Zoom_Mode
22346     * @typedef Elm_Map_Zoom_Mode
22347     *
22348     * Set map's zoom behavior. It can be set to manual or automatic.
22349     *
22350     * Default value is #ELM_MAP_ZOOM_MODE_MANUAL.
22351     *
22352     * Values <b> don't </b> work as bitmask, only one can be choosen.
22353     *
22354     * @note Valid sizes are 2^zoom, consequently the map may be smaller
22355     * than the scroller view.
22356     *
22357     * @see elm_map_zoom_mode_set()
22358     * @see elm_map_zoom_mode_get()
22359     *
22360     * @ingroup Map
22361     */
22362    typedef enum _Elm_Map_Zoom_Mode
22363      {
22364         ELM_MAP_ZOOM_MODE_MANUAL, /**< Zoom controled manually by elm_map_zoom_set(). It's set by default. */
22365         ELM_MAP_ZOOM_MODE_AUTO_FIT, /**< Zoom until map fits inside the scroll frame with no pixels outside this area. */
22366         ELM_MAP_ZOOM_MODE_AUTO_FILL, /**< Zoom until map fills scroll, ensuring no pixels are left unfilled. */
22367         ELM_MAP_ZOOM_MODE_LAST
22368      } Elm_Map_Zoom_Mode;
22369
22370    /**
22371     * @enum _Elm_Map_Route_Sources
22372     * @typedef Elm_Map_Route_Sources
22373     *
22374     * Set route service to be used. By default used source is
22375     * #ELM_MAP_ROUTE_SOURCE_YOURS.
22376     *
22377     * @see elm_map_route_source_set()
22378     * @see elm_map_route_source_get()
22379     *
22380     * @ingroup Map
22381     */
22382    typedef enum _Elm_Map_Route_Sources
22383      {
22384         ELM_MAP_ROUTE_SOURCE_YOURS, /**< Routing service http://www.yournavigation.org/ . Set by default.*/
22385         ELM_MAP_ROUTE_SOURCE_MONAV, /**< MoNav offers exact routing without heuristic assumptions. Its routing core is based on Contraction Hierarchies. It's not working with Map yet. */
22386         ELM_MAP_ROUTE_SOURCE_ORS, /**< Open Route Service: http://www.openrouteservice.org/ . It's not working with Map yet. */
22387         ELM_MAP_ROUTE_SOURCE_LAST
22388      } Elm_Map_Route_Sources;
22389
22390    typedef enum _Elm_Map_Name_Sources
22391      {
22392         ELM_MAP_NAME_SOURCE_NOMINATIM,
22393         ELM_MAP_NAME_SOURCE_LAST
22394      } Elm_Map_Name_Sources;
22395
22396    /**
22397     * @enum _Elm_Map_Route_Type
22398     * @typedef Elm_Map_Route_Type
22399     *
22400     * Set type of transport used on route.
22401     *
22402     * @see elm_map_route_add()
22403     *
22404     * @ingroup Map
22405     */
22406    typedef enum _Elm_Map_Route_Type
22407      {
22408         ELM_MAP_ROUTE_TYPE_MOTOCAR, /**< Route should consider an automobile will be used. */
22409         ELM_MAP_ROUTE_TYPE_BICYCLE, /**< Route should consider a bicycle will be used by the user. */
22410         ELM_MAP_ROUTE_TYPE_FOOT, /**< Route should consider user will be walking. */
22411         ELM_MAP_ROUTE_TYPE_LAST
22412      } Elm_Map_Route_Type;
22413
22414    /**
22415     * @enum _Elm_Map_Route_Method
22416     * @typedef Elm_Map_Route_Method
22417     *
22418     * Set the routing method, what should be priorized, time or distance.
22419     *
22420     * @see elm_map_route_add()
22421     *
22422     * @ingroup Map
22423     */
22424    typedef enum _Elm_Map_Route_Method
22425      {
22426         ELM_MAP_ROUTE_METHOD_FASTEST, /**< Route should priorize time. */
22427         ELM_MAP_ROUTE_METHOD_SHORTEST, /**< Route should priorize distance. */
22428         ELM_MAP_ROUTE_METHOD_LAST
22429      } Elm_Map_Route_Method;
22430
22431    typedef enum _Elm_Map_Name_Method
22432      {
22433         ELM_MAP_NAME_METHOD_SEARCH,
22434         ELM_MAP_NAME_METHOD_REVERSE,
22435         ELM_MAP_NAME_METHOD_LAST
22436      } Elm_Map_Name_Method;
22437
22438    typedef struct _Elm_Map_Marker          Elm_Map_Marker; /**< A marker to be shown in a specific point of the map. Can be created with elm_map_marker_add() and deleted with elm_map_marker_remove(). */
22439    typedef struct _Elm_Map_Marker_Class    Elm_Map_Marker_Class; /**< Each marker must be associated to a class. It's required to add a mark. The class defines the style of the marker when a marker is displayed alone (not grouped). A new class can be created with elm_map_marker_class_new(). */
22440    typedef struct _Elm_Map_Group_Class     Elm_Map_Group_Class; /**< Each marker must be associated to a group class. It's required to add a mark. The group class defines the style of the marker when a marker is grouped to other markers. Markers with the same group are grouped if they are close. A new group class can be created with elm_map_marker_group_class_new(). */
22441    typedef struct _Elm_Map_Route           Elm_Map_Route; /**< A route to be shown in the map. Can be created with elm_map_route_add() and deleted with elm_map_route_remove(). */
22442    typedef struct _Elm_Map_Name            Elm_Map_Name; /**< A handle for specific coordinates. */
22443    typedef struct _Elm_Map_Track           Elm_Map_Track;
22444
22445    typedef Evas_Object *(*ElmMapMarkerGetFunc)      (Evas_Object *obj, Elm_Map_Marker *marker, void *data); /**< Bubble content fetching class function for marker classes. When the user click on a marker, a bubble is displayed with a content. */
22446    typedef void         (*ElmMapMarkerDelFunc)      (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o); /**< Function to delete bubble content for marker classes. */
22447    typedef Evas_Object *(*ElmMapMarkerIconGetFunc)  (Evas_Object *obj, Elm_Map_Marker *marker, void *data); /**< Icon fetching class function for marker classes. */
22448    typedef Evas_Object *(*ElmMapGroupIconGetFunc)   (Evas_Object *obj, void *data); /**< Icon fetching class function for markers group classes. */
22449
22450    typedef char        *(*ElmMapModuleSourceFunc) (void);
22451    typedef int          (*ElmMapModuleZoomMinFunc) (void);
22452    typedef int          (*ElmMapModuleZoomMaxFunc) (void);
22453    typedef char        *(*ElmMapModuleUrlFunc) (Evas_Object *obj, int x, int y, int zoom);
22454    typedef int          (*ElmMapModuleRouteSourceFunc) (void);
22455    typedef char        *(*ElmMapModuleRouteUrlFunc) (Evas_Object *obj, char *type_name, int method, double flon, double flat, double tlon, double tlat);
22456    typedef char        *(*ElmMapModuleNameUrlFunc) (Evas_Object *obj, int method, char *name, double lon, double lat);
22457    typedef Eina_Bool    (*ElmMapModuleGeoIntoCoordFunc) (const Evas_Object *obj, int zoom, double lon, double lat, int size, int *x, int *y);
22458    typedef Eina_Bool    (*ElmMapModuleCoordIntoGeoFunc) (const Evas_Object *obj, int zoom, int x, int y, int size, double *lon, double *lat);
22459
22460    /**
22461     * Add a new map widget to the given parent Elementary (container) object.
22462     *
22463     * @param parent The parent object.
22464     * @return a new map widget handle or @c NULL, on errors.
22465     *
22466     * This function inserts a new map widget on the canvas.
22467     *
22468     * @ingroup Map
22469     */
22470    EAPI Evas_Object          *elm_map_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22471
22472    /**
22473     * Set the zoom level of the map.
22474     *
22475     * @param obj The map object.
22476     * @param zoom The zoom level to set.
22477     *
22478     * This sets the zoom level.
22479     *
22480     * It will respect limits defined by elm_map_source_zoom_min_set() and
22481     * elm_map_source_zoom_max_set().
22482     *
22483     * By default these values are 0 (world map) and 18 (maximum zoom).
22484     *
22485     * This function should be used when zoom mode is set to
22486     * #ELM_MAP_ZOOM_MODE_MANUAL. This is the default mode, and can be set
22487     * with elm_map_zoom_mode_set().
22488     *
22489     * @see elm_map_zoom_mode_set().
22490     * @see elm_map_zoom_get().
22491     *
22492     * @ingroup Map
22493     */
22494    EAPI void                  elm_map_zoom_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
22495
22496    /**
22497     * Get the zoom level of the map.
22498     *
22499     * @param obj The map object.
22500     * @return The current zoom level.
22501     *
22502     * This returns the current zoom level of the map object.
22503     *
22504     * Note that if you set the fill mode to other than #ELM_MAP_ZOOM_MODE_MANUAL
22505     * (which is the default), the zoom level may be changed at any time by the
22506     * map object itself to account for map size and map viewport size.
22507     *
22508     * @see elm_map_zoom_set() for details.
22509     *
22510     * @ingroup Map
22511     */
22512    EAPI int                   elm_map_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22513
22514    /**
22515     * Set the zoom mode used by the map object.
22516     *
22517     * @param obj The map object.
22518     * @param mode The zoom mode of the map, being it one of
22519     * #ELM_MAP_ZOOM_MODE_MANUAL (default), #ELM_MAP_ZOOM_MODE_AUTO_FIT,
22520     * or #ELM_MAP_ZOOM_MODE_AUTO_FILL.
22521     *
22522     * This sets the zoom mode to manual or one of the automatic levels.
22523     * Manual (#ELM_MAP_ZOOM_MODE_MANUAL) means that zoom is set manually by
22524     * elm_map_zoom_set() and will stay at that level until changed by code
22525     * or until zoom mode is changed. This is the default mode.
22526     *
22527     * The Automatic modes will allow the map object to automatically
22528     * adjust zoom mode based on properties. #ELM_MAP_ZOOM_MODE_AUTO_FIT will
22529     * adjust zoom so the map fits inside the scroll frame with no pixels
22530     * outside this area. #ELM_MAP_ZOOM_MODE_AUTO_FILL will be similar but
22531     * ensure no pixels within the frame are left unfilled. Do not forget that
22532     * the valid sizes are 2^zoom, consequently the map may be smaller than
22533     * the scroller view.
22534     *
22535     * @see elm_map_zoom_set()
22536     *
22537     * @ingroup Map
22538     */
22539    EAPI void                  elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode) EINA_ARG_NONNULL(1);
22540
22541    /**
22542     * Get the zoom mode used by the map object.
22543     *
22544     * @param obj The map object.
22545     * @return The zoom mode of the map, being it one of
22546     * #ELM_MAP_ZOOM_MODE_MANUAL (default), #ELM_MAP_ZOOM_MODE_AUTO_FIT,
22547     * or #ELM_MAP_ZOOM_MODE_AUTO_FILL.
22548     *
22549     * This function returns the current zoom mode used by the map object.
22550     *
22551     * @see elm_map_zoom_mode_set() for more details.
22552     *
22553     * @ingroup Map
22554     */
22555    EAPI Elm_Map_Zoom_Mode     elm_map_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22556
22557    /**
22558     * Get the current coordinates of the map.
22559     *
22560     * @param obj The map object.
22561     * @param lon Pointer where to store longitude.
22562     * @param lat Pointer where to store latitude.
22563     *
22564     * This gets the current center coordinates of the map object. It can be
22565     * set by elm_map_geo_region_bring_in() and elm_map_geo_region_show().
22566     *
22567     * @see elm_map_geo_region_bring_in()
22568     * @see elm_map_geo_region_show()
22569     *
22570     * @ingroup Map
22571     */
22572    EAPI void                  elm_map_geo_region_get(const Evas_Object *obj, double *lon, double *lat) EINA_ARG_NONNULL(1);
22573
22574    /**
22575     * Animatedly bring in given coordinates to the center of the map.
22576     *
22577     * @param obj The map object.
22578     * @param lon Longitude to center at.
22579     * @param lat Latitude to center at.
22580     *
22581     * This causes map to jump to the given @p lat and @p lon coordinates
22582     * and show it (by scrolling) in the center of the viewport, if it is not
22583     * already centered. This will use animation to do so and take a period
22584     * of time to complete.
22585     *
22586     * @see elm_map_geo_region_show() for a function to avoid animation.
22587     * @see elm_map_geo_region_get()
22588     *
22589     * @ingroup Map
22590     */
22591    EAPI void                  elm_map_geo_region_bring_in(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
22592
22593    /**
22594     * Show the given coordinates at the center of the map, @b immediately.
22595     *
22596     * @param obj The map object.
22597     * @param lon Longitude to center at.
22598     * @param lat Latitude to center at.
22599     *
22600     * This causes map to @b redraw its viewport's contents to the
22601     * region contining the given @p lat and @p lon, that will be moved to the
22602     * center of the map.
22603     *
22604     * @see elm_map_geo_region_bring_in() for a function to move with animation.
22605     * @see elm_map_geo_region_get()
22606     *
22607     * @ingroup Map
22608     */
22609    EAPI void                  elm_map_geo_region_show(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
22610
22611    /**
22612     * Pause or unpause the map.
22613     *
22614     * @param obj The map object.
22615     * @param paused Use @c EINA_TRUE to pause the map @p obj or @c EINA_FALSE
22616     * to unpause it.
22617     *
22618     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
22619     * for map.
22620     *
22621     * The default is off.
22622     *
22623     * This will stop zooming using animation, changing zoom levels will
22624     * change instantly. This will stop any existing animations that are running.
22625     *
22626     * @see elm_map_paused_get()
22627     *
22628     * @ingroup Map
22629     */
22630    EAPI void                  elm_map_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
22631
22632    /**
22633     * Get a value whether map is paused or not.
22634     *
22635     * @param obj The map object.
22636     * @return @c EINA_TRUE means map is pause. @c EINA_FALSE indicates
22637     * it is not. If @p obj is @c NULL, @c EINA_FALSE is returned.
22638     *
22639     * This gets the current paused state for the map object.
22640     *
22641     * @see elm_map_paused_set() for details.
22642     *
22643     * @ingroup Map
22644     */
22645    EAPI Eina_Bool             elm_map_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22646
22647    /**
22648     * Set to show markers during zoom level changes or not.
22649     *
22650     * @param obj The map object.
22651     * @param paused Use @c EINA_TRUE to @b not show markers or @c EINA_FALSE
22652     * to show them.
22653     *
22654     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
22655     * for map.
22656     *
22657     * The default is off.
22658     *
22659     * This will stop zooming using animation, changing zoom levels will
22660     * change instantly. This will stop any existing animations that are running.
22661     *
22662     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
22663     * for the markers.
22664     *
22665     * The default  is off.
22666     *
22667     * Enabling it will force the map to stop displaying the markers during
22668     * zoom level changes. Set to on if you have a large number of markers.
22669     *
22670     * @see elm_map_paused_markers_get()
22671     *
22672     * @ingroup Map
22673     */
22674    EAPI void                  elm_map_paused_markers_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
22675
22676    /**
22677     * Get a value whether markers will be displayed on zoom level changes or not
22678     *
22679     * @param obj The map object.
22680     * @return @c EINA_TRUE means map @b won't display markers or @c EINA_FALSE
22681     * indicates it will. If @p obj is @c NULL, @c EINA_FALSE is returned.
22682     *
22683     * This gets the current markers paused state for the map object.
22684     *
22685     * @see elm_map_paused_markers_set() for details.
22686     *
22687     * @ingroup Map
22688     */
22689    EAPI Eina_Bool             elm_map_paused_markers_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22690
22691    /**
22692     * Get the information of downloading status.
22693     *
22694     * @param obj The map object.
22695     * @param try_num Pointer where to store number of tiles being downloaded.
22696     * @param finish_num Pointer where to store number of tiles successfully
22697     * downloaded.
22698     *
22699     * This gets the current downloading status for the map object, the number
22700     * of tiles being downloaded and the number of tiles already downloaded.
22701     *
22702     * @ingroup Map
22703     */
22704    EAPI void                  elm_map_utils_downloading_status_get(const Evas_Object *obj, int *try_num, int *finish_num) EINA_ARG_NONNULL(1, 2, 3);
22705
22706    /**
22707     * Convert a pixel coordinate (x,y) into a geographic coordinate
22708     * (longitude, latitude).
22709     *
22710     * @param obj The map object.
22711     * @param x the coordinate.
22712     * @param y the coordinate.
22713     * @param size the size in pixels of the map.
22714     * The map is a square and generally his size is : pow(2.0, zoom)*256.
22715     * @param lon Pointer where to store the longitude that correspond to x.
22716     * @param lat Pointer where to store the latitude that correspond to y.
22717     *
22718     * @note Origin pixel point is the top left corner of the viewport.
22719     * Map zoom and size are taken on account.
22720     *
22721     * @see elm_map_utils_convert_geo_into_coord() if you need the inverse.
22722     *
22723     * @ingroup Map
22724     */
22725    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);
22726
22727    /**
22728     * Convert a geographic coordinate (longitude, latitude) into a pixel
22729     * coordinate (x, y).
22730     *
22731     * @param obj The map object.
22732     * @param lon the longitude.
22733     * @param lat the latitude.
22734     * @param size the size in pixels of the map. The map is a square
22735     * and generally his size is : pow(2.0, zoom)*256.
22736     * @param x Pointer where to store the horizontal pixel coordinate that
22737     * correspond to the longitude.
22738     * @param y Pointer where to store the vertical pixel coordinate that
22739     * correspond to the latitude.
22740     *
22741     * @note Origin pixel point is the top left corner of the viewport.
22742     * Map zoom and size are taken on account.
22743     *
22744     * @see elm_map_utils_convert_coord_into_geo() if you need the inverse.
22745     *
22746     * @ingroup Map
22747     */
22748    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);
22749
22750    /**
22751     * Convert a geographic coordinate (longitude, latitude) into a name
22752     * (address).
22753     *
22754     * @param obj The map object.
22755     * @param lon the longitude.
22756     * @param lat the latitude.
22757     * @return name A #Elm_Map_Name handle for this coordinate.
22758     *
22759     * To get the string for this address, elm_map_name_address_get()
22760     * should be used.
22761     *
22762     * @see elm_map_utils_convert_name_into_coord() if you need the inverse.
22763     *
22764     * @ingroup Map
22765     */
22766    EAPI Elm_Map_Name         *elm_map_utils_convert_coord_into_name(const Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
22767
22768    /**
22769     * Convert a name (address) into a geographic coordinate
22770     * (longitude, latitude).
22771     *
22772     * @param obj The map object.
22773     * @param name The address.
22774     * @return name A #Elm_Map_Name handle for this address.
22775     *
22776     * To get the longitude and latitude, elm_map_name_region_get()
22777     * should be used.
22778     *
22779     * @see elm_map_utils_convert_coord_into_name() if you need the inverse.
22780     *
22781     * @ingroup Map
22782     */
22783    EAPI Elm_Map_Name         *elm_map_utils_convert_name_into_coord(const Evas_Object *obj, char *address) EINA_ARG_NONNULL(1, 2);
22784
22785    /**
22786     * Convert a pixel coordinate into a rotated pixel coordinate.
22787     *
22788     * @param obj The map object.
22789     * @param x horizontal coordinate of the point to rotate.
22790     * @param y vertical coordinate of the point to rotate.
22791     * @param cx rotation's center horizontal position.
22792     * @param cy rotation's center vertical position.
22793     * @param degree amount of degrees from 0.0 to 360.0 to rotate arount Z axis.
22794     * @param xx Pointer where to store rotated x.
22795     * @param yy Pointer where to store rotated y.
22796     *
22797     * @ingroup Map
22798     */
22799    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);
22800
22801    /**
22802     * Add a new marker to the map object.
22803     *
22804     * @param obj The map object.
22805     * @param lon The longitude of the marker.
22806     * @param lat The latitude of the marker.
22807     * @param clas The class, to use when marker @b isn't grouped to others.
22808     * @param clas_group The class group, to use when marker is grouped to others
22809     * @param data The data passed to the callbacks.
22810     *
22811     * @return The created marker or @c NULL upon failure.
22812     *
22813     * A marker will be created and shown in a specific point of the map, defined
22814     * by @p lon and @p lat.
22815     *
22816     * It will be displayed using style defined by @p class when this marker
22817     * is displayed alone (not grouped). A new class can be created with
22818     * elm_map_marker_class_new().
22819     *
22820     * If the marker is grouped to other markers, it will be displayed with
22821     * style defined by @p class_group. Markers with the same group are grouped
22822     * if they are close. A new group class can be created with
22823     * elm_map_marker_group_class_new().
22824     *
22825     * Markers created with this method can be deleted with
22826     * elm_map_marker_remove().
22827     *
22828     * A marker can have associated content to be displayed by a bubble,
22829     * when a user click over it, as well as an icon. These objects will
22830     * be fetch using class' callback functions.
22831     *
22832     * @see elm_map_marker_class_new()
22833     * @see elm_map_marker_group_class_new()
22834     * @see elm_map_marker_remove()
22835     *
22836     * @ingroup Map
22837     */
22838    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);
22839
22840    /**
22841     * Set the maximum numbers of markers' content to be displayed in a group.
22842     *
22843     * @param obj The map object.
22844     * @param max The maximum numbers of items displayed in a bubble.
22845     *
22846     * A bubble will be displayed when the user clicks over the group,
22847     * and will place the content of markers that belong to this group
22848     * inside it.
22849     *
22850     * A group can have a long list of markers, consequently the creation
22851     * of the content of the bubble can be very slow.
22852     *
22853     * In order to avoid this, a maximum number of items is displayed
22854     * in a bubble.
22855     *
22856     * By default this number is 30.
22857     *
22858     * Marker with the same group class are grouped if they are close.
22859     *
22860     * @see elm_map_marker_add()
22861     *
22862     * @ingroup Map
22863     */
22864    EAPI void                  elm_map_max_marker_per_group_set(Evas_Object *obj, int max) EINA_ARG_NONNULL(1);
22865
22866    /**
22867     * Remove a marker from the map.
22868     *
22869     * @param marker The marker to remove.
22870     *
22871     * @see elm_map_marker_add()
22872     *
22873     * @ingroup Map
22874     */
22875    EAPI void                  elm_map_marker_remove(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22876
22877    /**
22878     * Get the current coordinates of the marker.
22879     *
22880     * @param marker marker.
22881     * @param lat Pointer where to store the marker's latitude.
22882     * @param lon Pointer where to store the marker's longitude.
22883     *
22884     * These values are set when adding markers, with function
22885     * elm_map_marker_add().
22886     *
22887     * @see elm_map_marker_add()
22888     *
22889     * @ingroup Map
22890     */
22891    EAPI void                  elm_map_marker_region_get(const Elm_Map_Marker *marker, double *lon, double *lat) EINA_ARG_NONNULL(1);
22892
22893    /**
22894     * Animatedly bring in given marker to the center of the map.
22895     *
22896     * @param marker The marker to center at.
22897     *
22898     * This causes map to jump to the given @p marker's coordinates
22899     * and show it (by scrolling) in the center of the viewport, if it is not
22900     * already centered. This will use animation to do so and take a period
22901     * of time to complete.
22902     *
22903     * @see elm_map_marker_show() for a function to avoid animation.
22904     * @see elm_map_marker_region_get()
22905     *
22906     * @ingroup Map
22907     */
22908    EAPI void                  elm_map_marker_bring_in(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22909
22910    /**
22911     * Show the given marker at the center of the map, @b immediately.
22912     *
22913     * @param marker The marker to center at.
22914     *
22915     * This causes map to @b redraw its viewport's contents to the
22916     * region contining the given @p marker's coordinates, that will be
22917     * moved to the center of the map.
22918     *
22919     * @see elm_map_marker_bring_in() for a function to move with animation.
22920     * @see elm_map_markers_list_show() if more than one marker need to be
22921     * displayed.
22922     * @see elm_map_marker_region_get()
22923     *
22924     * @ingroup Map
22925     */
22926    EAPI void                  elm_map_marker_show(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22927
22928    /**
22929     * Move and zoom the map to display a list of markers.
22930     *
22931     * @param markers A list of #Elm_Map_Marker handles.
22932     *
22933     * The map will be centered on the center point of the markers in the list.
22934     * Then the map will be zoomed in order to fit the markers using the maximum
22935     * zoom which allows display of all the markers.
22936     *
22937     * @warning All the markers should belong to the same map object.
22938     *
22939     * @see elm_map_marker_show() to show a single marker.
22940     * @see elm_map_marker_bring_in()
22941     *
22942     * @ingroup Map
22943     */
22944    EAPI void                  elm_map_markers_list_show(Eina_List *markers) EINA_ARG_NONNULL(1);
22945
22946    /**
22947     * Get the Evas object returned by the ElmMapMarkerGetFunc callback
22948     *
22949     * @param marker The marker wich content should be returned.
22950     * @return Return the evas object if it exists, else @c NULL.
22951     *
22952     * To set callback function #ElmMapMarkerGetFunc for the marker class,
22953     * elm_map_marker_class_get_cb_set() should be used.
22954     *
22955     * This content is what will be inside the bubble that will be displayed
22956     * when an user clicks over the marker.
22957     *
22958     * This returns the actual Evas object used to be placed inside
22959     * the bubble. This may be @c NULL, as it may
22960     * not have been created or may have been deleted, at any time, by
22961     * the map. <b>Do not modify this object</b> (move, resize,
22962     * show, hide, etc.), as the map is controlling it. This
22963     * function is for querying, emitting custom signals or hooking
22964     * lower level callbacks for events on that object. Do not delete
22965     * this object under any circumstances.
22966     *
22967     * @ingroup Map
22968     */
22969    EAPI Evas_Object          *elm_map_marker_object_get(const Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22970
22971    /**
22972     * Update the marker
22973     *
22974     * @param marker The marker to be updated.
22975     *
22976     * If a content is set to this marker, it will call function to delete it,
22977     * #ElmMapMarkerDelFunc, and then will fetch the content again with
22978     * #ElmMapMarkerGetFunc.
22979     *
22980     * These functions are set for the marker class with
22981     * elm_map_marker_class_get_cb_set() and elm_map_marker_class_del_cb_set().
22982     *
22983     * @ingroup Map
22984     */
22985    EAPI void                  elm_map_marker_update(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22986
22987    /**
22988     * Close all the bubbles opened by the user.
22989     *
22990     * @param obj The map object.
22991     *
22992     * A bubble is displayed with a content fetched with #ElmMapMarkerGetFunc
22993     * when the user clicks on a marker.
22994     *
22995     * This functions is set for the marker class with
22996     * elm_map_marker_class_get_cb_set().
22997     *
22998     * @ingroup Map
22999     */
23000    EAPI void                  elm_map_bubbles_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
23001
23002    /**
23003     * Create a new group class.
23004     *
23005     * @param obj The map object.
23006     * @return Returns the new group class.
23007     *
23008     * Each marker must be associated to a group class. Markers in the same
23009     * group are grouped if they are close.
23010     *
23011     * The group class defines the style of the marker when a marker is grouped
23012     * to others markers. When it is alone, another class will be used.
23013     *
23014     * A group class will need to be provided when creating a marker with
23015     * elm_map_marker_add().
23016     *
23017     * Some properties and functions can be set by class, as:
23018     * - style, with elm_map_group_class_style_set()
23019     * - data - to be associated to the group class. It can be set using
23020     *   elm_map_group_class_data_set().
23021     * - min zoom to display markers, set with
23022     *   elm_map_group_class_zoom_displayed_set().
23023     * - max zoom to group markers, set using
23024     *   elm_map_group_class_zoom_grouped_set().
23025     * - visibility - set if markers will be visible or not, set with
23026     *   elm_map_group_class_hide_set().
23027     * - #ElmMapGroupIconGetFunc - used to fetch icon for markers group classes.
23028     *   It can be set using elm_map_group_class_icon_cb_set().
23029     *
23030     * @see elm_map_marker_add()
23031     * @see elm_map_group_class_style_set()
23032     * @see elm_map_group_class_data_set()
23033     * @see elm_map_group_class_zoom_displayed_set()
23034     * @see elm_map_group_class_zoom_grouped_set()
23035     * @see elm_map_group_class_hide_set()
23036     * @see elm_map_group_class_icon_cb_set()
23037     *
23038     * @ingroup Map
23039     */
23040    EAPI Elm_Map_Group_Class  *elm_map_group_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
23041
23042    /**
23043     * Set the marker's style of a group class.
23044     *
23045     * @param clas The group class.
23046     * @param style The style to be used by markers.
23047     *
23048     * Each marker must be associated to a group class, and will use the style
23049     * defined by such class when grouped to other markers.
23050     *
23051     * The following styles are provided by default theme:
23052     * @li @c radio - blue circle
23053     * @li @c radio2 - green circle
23054     * @li @c empty
23055     *
23056     * @see elm_map_group_class_new() for more details.
23057     * @see elm_map_marker_add()
23058     *
23059     * @ingroup Map
23060     */
23061    EAPI void                  elm_map_group_class_style_set(Elm_Map_Group_Class *clas, const char *style) EINA_ARG_NONNULL(1);
23062
23063    /**
23064     * Set the icon callback function of a group class.
23065     *
23066     * @param clas The group class.
23067     * @param icon_get The callback function that will return the icon.
23068     *
23069     * Each marker must be associated to a group class, and it can display a
23070     * custom icon. The function @p icon_get must return this icon.
23071     *
23072     * @see elm_map_group_class_new() for more details.
23073     * @see elm_map_marker_add()
23074     *
23075     * @ingroup Map
23076     */
23077    EAPI void                  elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, ElmMapGroupIconGetFunc icon_get) EINA_ARG_NONNULL(1);
23078
23079    /**
23080     * Set the data associated to the group class.
23081     *
23082     * @param clas The group class.
23083     * @param data The new user data.
23084     *
23085     * This data will be passed for callback functions, like icon get callback,
23086     * that can be set with elm_map_group_class_icon_cb_set().
23087     *
23088     * If a data was previously set, the object will lose the pointer for it,
23089     * so if needs to be freed, you must do it yourself.
23090     *
23091     * @see elm_map_group_class_new() for more details.
23092     * @see elm_map_group_class_icon_cb_set()
23093     * @see elm_map_marker_add()
23094     *
23095     * @ingroup Map
23096     */
23097    EAPI void                  elm_map_group_class_data_set(Elm_Map_Group_Class *clas, void *data) EINA_ARG_NONNULL(1);
23098
23099    /**
23100     * Set the minimum zoom from where the markers are displayed.
23101     *
23102     * @param clas The group class.
23103     * @param zoom The minimum zoom.
23104     *
23105     * Markers only will be displayed when the map is displayed at @p zoom
23106     * or bigger.
23107     *
23108     * @see elm_map_group_class_new() for more details.
23109     * @see elm_map_marker_add()
23110     *
23111     * @ingroup Map
23112     */
23113    EAPI void                  elm_map_group_class_zoom_displayed_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
23114
23115    /**
23116     * Set the zoom from where the markers are no more grouped.
23117     *
23118     * @param clas The group class.
23119     * @param zoom The maximum zoom.
23120     *
23121     * Markers only will be grouped when the map is displayed at
23122     * less than @p zoom.
23123     *
23124     * @see elm_map_group_class_new() for more details.
23125     * @see elm_map_marker_add()
23126     *
23127     * @ingroup Map
23128     */
23129    EAPI void                  elm_map_group_class_zoom_grouped_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
23130
23131    /**
23132     * Set if the markers associated to the group class @clas are hidden or not.
23133     *
23134     * @param clas The group class.
23135     * @param hide Use @c EINA_TRUE to hide markers or @c EINA_FALSE
23136     * to show them.
23137     *
23138     * If @p hide is @c EINA_TRUE the markers will be hidden, but default
23139     * is to show them.
23140     *
23141     * @ingroup Map
23142     */
23143    EAPI void                  elm_map_group_class_hide_set(Evas_Object *obj, Elm_Map_Group_Class *clas, Eina_Bool hide) EINA_ARG_NONNULL(1, 2);
23144
23145    /**
23146     * Create a new marker class.
23147     *
23148     * @param obj The map object.
23149     * @return Returns the new group class.
23150     *
23151     * Each marker must be associated to a class.
23152     *
23153     * The marker class defines the style of the marker when a marker is
23154     * displayed alone, i.e., not grouped to to others markers. When grouped
23155     * it will use group class style.
23156     *
23157     * A marker class will need to be provided when creating a marker with
23158     * elm_map_marker_add().
23159     *
23160     * Some properties and functions can be set by class, as:
23161     * - style, with elm_map_marker_class_style_set()
23162     * - #ElmMapMarkerIconGetFunc - used to fetch icon for markers classes.
23163     *   It can be set using elm_map_marker_class_icon_cb_set().
23164     * - #ElmMapMarkerGetFunc - used to fetch bubble content for marker classes.
23165     *   Set using elm_map_marker_class_get_cb_set().
23166     * - #ElmMapMarkerDelFunc - used to delete bubble content for marker classes.
23167     *   Set using elm_map_marker_class_del_cb_set().
23168     *
23169     * @see elm_map_marker_add()
23170     * @see elm_map_marker_class_style_set()
23171     * @see elm_map_marker_class_icon_cb_set()
23172     * @see elm_map_marker_class_get_cb_set()
23173     * @see elm_map_marker_class_del_cb_set()
23174     *
23175     * @ingroup Map
23176     */
23177    EAPI Elm_Map_Marker_Class *elm_map_marker_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
23178
23179    /**
23180     * Set the marker's style of a marker class.
23181     *
23182     * @param clas The marker class.
23183     * @param style The style to be used by markers.
23184     *
23185     * Each marker must be associated to a marker class, and will use the style
23186     * defined by such class when alone, i.e., @b not grouped to other markers.
23187     *
23188     * The following styles are provided by default theme:
23189     * @li @c radio
23190     * @li @c radio2
23191     * @li @c empty
23192     *
23193     * @see elm_map_marker_class_new() for more details.
23194     * @see elm_map_marker_add()
23195     *
23196     * @ingroup Map
23197     */
23198    EAPI void                  elm_map_marker_class_style_set(Elm_Map_Marker_Class *clas, const char *style) EINA_ARG_NONNULL(1);
23199
23200    /**
23201     * Set the icon callback function of a marker class.
23202     *
23203     * @param clas The marker class.
23204     * @param icon_get The callback function that will return the icon.
23205     *
23206     * Each marker must be associated to a marker class, and it can display a
23207     * custom icon. The function @p icon_get must return this icon.
23208     *
23209     * @see elm_map_marker_class_new() for more details.
23210     * @see elm_map_marker_add()
23211     *
23212     * @ingroup Map
23213     */
23214    EAPI void                  elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerIconGetFunc icon_get) EINA_ARG_NONNULL(1);
23215
23216    /**
23217     * Set the bubble content callback function of a marker class.
23218     *
23219     * @param clas The marker class.
23220     * @param get The callback function that will return the content.
23221     *
23222     * Each marker must be associated to a marker class, and it can display a
23223     * a content on a bubble that opens when the user click over the marker.
23224     * The function @p get must return this content object.
23225     *
23226     * If this content will need to be deleted, elm_map_marker_class_del_cb_set()
23227     * can be used.
23228     *
23229     * @see elm_map_marker_class_new() for more details.
23230     * @see elm_map_marker_class_del_cb_set()
23231     * @see elm_map_marker_add()
23232     *
23233     * @ingroup Map
23234     */
23235    EAPI void                  elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerGetFunc get) EINA_ARG_NONNULL(1);
23236
23237    /**
23238     * Set the callback function used to delete bubble content of a marker class.
23239     *
23240     * @param clas The marker class.
23241     * @param del The callback function that will delete the content.
23242     *
23243     * Each marker must be associated to a marker class, and it can display a
23244     * a content on a bubble that opens when the user click over the marker.
23245     * The function to return such content can be set with
23246     * elm_map_marker_class_get_cb_set().
23247     *
23248     * If this content must be freed, a callback function need to be
23249     * set for that task with this function.
23250     *
23251     * If this callback is defined it will have to delete (or not) the
23252     * object inside, but if the callback is not defined the object will be
23253     * destroyed with evas_object_del().
23254     *
23255     * @see elm_map_marker_class_new() for more details.
23256     * @see elm_map_marker_class_get_cb_set()
23257     * @see elm_map_marker_add()
23258     *
23259     * @ingroup Map
23260     */
23261    EAPI void                  elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerDelFunc del) EINA_ARG_NONNULL(1);
23262
23263    /**
23264     * Get the list of available sources.
23265     *
23266     * @param obj The map object.
23267     * @return The source names list.
23268     *
23269     * It will provide a list with all available sources, that can be set as
23270     * current source with elm_map_source_name_set(), or get with
23271     * elm_map_source_name_get().
23272     *
23273     * Available sources:
23274     * @li "Mapnik"
23275     * @li "Osmarender"
23276     * @li "CycleMap"
23277     * @li "Maplint"
23278     *
23279     * @see elm_map_source_name_set() for more details.
23280     * @see elm_map_source_name_get()
23281     *
23282     * @ingroup Map
23283     */
23284    EAPI const char          **elm_map_source_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23285
23286    /**
23287     * Set the source of the map.
23288     *
23289     * @param obj The map object.
23290     * @param source The source to be used.
23291     *
23292     * Map widget retrieves images that composes the map from a web service.
23293     * This web service can be set with this method.
23294     *
23295     * A different service can return a different maps with different
23296     * information and it can use different zoom values.
23297     *
23298     * The @p source_name need to match one of the names provided by
23299     * elm_map_source_names_get().
23300     *
23301     * The current source can be get using elm_map_source_name_get().
23302     *
23303     * @see elm_map_source_names_get()
23304     * @see elm_map_source_name_get()
23305     *
23306     *
23307     * @ingroup Map
23308     */
23309    EAPI void                  elm_map_source_name_set(Evas_Object *obj, const char *source_name) EINA_ARG_NONNULL(1);
23310
23311    /**
23312     * Get the name of currently used source.
23313     *
23314     * @param obj The map object.
23315     * @return Returns the name of the source in use.
23316     *
23317     * @see elm_map_source_name_set() for more details.
23318     *
23319     * @ingroup Map
23320     */
23321    EAPI const char           *elm_map_source_name_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23322
23323    /**
23324     * Set the source of the route service to be used by the map.
23325     *
23326     * @param obj The map object.
23327     * @param source The route service to be used, being it one of
23328     * #ELM_MAP_ROUTE_SOURCE_YOURS (default), #ELM_MAP_ROUTE_SOURCE_MONAV,
23329     * and #ELM_MAP_ROUTE_SOURCE_ORS.
23330     *
23331     * Each one has its own algorithm, so the route retrieved may
23332     * differ depending on the source route. Now, only the default is working.
23333     *
23334     * #ELM_MAP_ROUTE_SOURCE_YOURS is the routing service provided at
23335     * http://www.yournavigation.org/.
23336     *
23337     * #ELM_MAP_ROUTE_SOURCE_MONAV, offers exact routing without heuristic
23338     * assumptions. Its routing core is based on Contraction Hierarchies.
23339     *
23340     * #ELM_MAP_ROUTE_SOURCE_ORS, is provided at http://www.openrouteservice.org/
23341     *
23342     * @see elm_map_route_source_get().
23343     *
23344     * @ingroup Map
23345     */
23346    EAPI void                  elm_map_route_source_set(Evas_Object *obj, Elm_Map_Route_Sources source) EINA_ARG_NONNULL(1);
23347
23348    /**
23349     * Get the current route source.
23350     *
23351     * @param obj The map object.
23352     * @return The source of the route service used by the map.
23353     *
23354     * @see elm_map_route_source_set() for details.
23355     *
23356     * @ingroup Map
23357     */
23358    EAPI Elm_Map_Route_Sources elm_map_route_source_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23359
23360    /**
23361     * Set the minimum zoom of the source.
23362     *
23363     * @param obj The map object.
23364     * @param zoom New minimum zoom value to be used.
23365     *
23366     * By default, it's 0.
23367     *
23368     * @ingroup Map
23369     */
23370    EAPI void                  elm_map_source_zoom_min_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
23371
23372    /**
23373     * Get the minimum zoom of the source.
23374     *
23375     * @param obj The map object.
23376     * @return Returns the minimum zoom of the source.
23377     *
23378     * @see elm_map_source_zoom_min_set() for details.
23379     *
23380     * @ingroup Map
23381     */
23382    EAPI int                   elm_map_source_zoom_min_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23383
23384    /**
23385     * Set the maximum zoom of the source.
23386     *
23387     * @param obj The map object.
23388     * @param zoom New maximum zoom value to be used.
23389     *
23390     * By default, it's 18.
23391     *
23392     * @ingroup Map
23393     */
23394    EAPI void                  elm_map_source_zoom_max_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
23395
23396    /**
23397     * Get the maximum zoom of the source.
23398     *
23399     * @param obj The map object.
23400     * @return Returns the maximum zoom of the source.
23401     *
23402     * @see elm_map_source_zoom_min_set() for details.
23403     *
23404     * @ingroup Map
23405     */
23406    EAPI int                   elm_map_source_zoom_max_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23407
23408    /**
23409     * Set the user agent used by the map object to access routing services.
23410     *
23411     * @param obj The map object.
23412     * @param user_agent The user agent to be used by the map.
23413     *
23414     * User agent is a client application implementing a network protocol used
23415     * in communications within a client–server distributed computing system
23416     *
23417     * The @p user_agent identification string will transmitted in a header
23418     * field @c User-Agent.
23419     *
23420     * @see elm_map_user_agent_get()
23421     *
23422     * @ingroup Map
23423     */
23424    EAPI void                  elm_map_user_agent_set(Evas_Object *obj, const char *user_agent) EINA_ARG_NONNULL(1, 2);
23425
23426    /**
23427     * Get the user agent used by the map object.
23428     *
23429     * @param obj The map object.
23430     * @return The user agent identification string used by the map.
23431     *
23432     * @see elm_map_user_agent_set() for details.
23433     *
23434     * @ingroup Map
23435     */
23436    EAPI const char           *elm_map_user_agent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23437
23438    /**
23439     * Add a new route to the map object.
23440     *
23441     * @param obj The map object.
23442     * @param type The type of transport to be considered when tracing a route.
23443     * @param method The routing method, what should be priorized.
23444     * @param flon The start longitude.
23445     * @param flat The start latitude.
23446     * @param tlon The destination longitude.
23447     * @param tlat The destination latitude.
23448     *
23449     * @return The created route or @c NULL upon failure.
23450     *
23451     * A route will be traced by point on coordinates (@p flat, @p flon)
23452     * to point on coordinates (@p tlat, @p tlon), using the route service
23453     * set with elm_map_route_source_set().
23454     *
23455     * It will take @p type on consideration to define the route,
23456     * depending if the user will be walking or driving, the route may vary.
23457     * One of #ELM_MAP_ROUTE_TYPE_MOTOCAR, #ELM_MAP_ROUTE_TYPE_BICYCLE, or
23458     * #ELM_MAP_ROUTE_TYPE_FOOT need to be used.
23459     *
23460     * Another parameter is what the route should priorize, the minor distance
23461     * or the less time to be spend on the route. So @p method should be one
23462     * of #ELM_MAP_ROUTE_METHOD_SHORTEST or #ELM_MAP_ROUTE_METHOD_FASTEST.
23463     *
23464     * Routes created with this method can be deleted with
23465     * elm_map_route_remove(), colored with elm_map_route_color_set(),
23466     * and distance can be get with elm_map_route_distance_get().
23467     *
23468     * @see elm_map_route_remove()
23469     * @see elm_map_route_color_set()
23470     * @see elm_map_route_distance_get()
23471     * @see elm_map_route_source_set()
23472     *
23473     * @ingroup Map
23474     */
23475    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);
23476
23477    /**
23478     * Remove a route from the map.
23479     *
23480     * @param route The route to remove.
23481     *
23482     * @see elm_map_route_add()
23483     *
23484     * @ingroup Map
23485     */
23486    EAPI void                  elm_map_route_remove(Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23487
23488    /**
23489     * Set the route color.
23490     *
23491     * @param route The route object.
23492     * @param r Red channel value, from 0 to 255.
23493     * @param g Green channel value, from 0 to 255.
23494     * @param b Blue channel value, from 0 to 255.
23495     * @param a Alpha channel value, from 0 to 255.
23496     *
23497     * It uses an additive color model, so each color channel represents
23498     * how much of each primary colors must to be used. 0 represents
23499     * ausence of this color, so if all of the three are set to 0,
23500     * the color will be black.
23501     *
23502     * These component values should be integers in the range 0 to 255,
23503     * (single 8-bit byte).
23504     *
23505     * This sets the color used for the route. By default, it is set to
23506     * solid red (r = 255, g = 0, b = 0, a = 255).
23507     *
23508     * For alpha channel, 0 represents completely transparent, and 255, opaque.
23509     *
23510     * @see elm_map_route_color_get()
23511     *
23512     * @ingroup Map
23513     */
23514    EAPI void                  elm_map_route_color_set(Elm_Map_Route *route, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
23515
23516    /**
23517     * Get the route color.
23518     *
23519     * @param route The route object.
23520     * @param r Pointer where to store the red channel value.
23521     * @param g Pointer where to store the green channel value.
23522     * @param b Pointer where to store the blue channel value.
23523     * @param a Pointer where to store the alpha channel value.
23524     *
23525     * @see elm_map_route_color_set() for details.
23526     *
23527     * @ingroup Map
23528     */
23529    EAPI void                  elm_map_route_color_get(const Elm_Map_Route *route, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
23530
23531    /**
23532     * Get the route distance in kilometers.
23533     *
23534     * @param route The route object.
23535     * @return The distance of route (unit : km).
23536     *
23537     * @ingroup Map
23538     */
23539    EAPI double                elm_map_route_distance_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23540
23541    /**
23542     * Get the information of route nodes.
23543     *
23544     * @param route The route object.
23545     * @return Returns a string with the nodes of route.
23546     *
23547     * @ingroup Map
23548     */
23549    EAPI const char           *elm_map_route_node_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23550
23551    /**
23552     * Get the information of route waypoint.
23553     *
23554     * @param route the route object.
23555     * @return Returns a string with information about waypoint of route.
23556     *
23557     * @ingroup Map
23558     */
23559    EAPI const char           *elm_map_route_waypoint_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23560
23561    /**
23562     * Get the address of the name.
23563     *
23564     * @param name The name handle.
23565     * @return Returns the address string of @p name.
23566     *
23567     * This gets the coordinates of the @p name, created with one of the
23568     * conversion functions.
23569     *
23570     * @see elm_map_utils_convert_name_into_coord()
23571     * @see elm_map_utils_convert_coord_into_name()
23572     *
23573     * @ingroup Map
23574     */
23575    EAPI const char           *elm_map_name_address_get(const Elm_Map_Name *name) EINA_ARG_NONNULL(1);
23576
23577    /**
23578     * Get the current coordinates of the name.
23579     *
23580     * @param name The name handle.
23581     * @param lat Pointer where to store the latitude.
23582     * @param lon Pointer where to store The longitude.
23583     *
23584     * This gets the coordinates of the @p name, created with one of the
23585     * conversion functions.
23586     *
23587     * @see elm_map_utils_convert_name_into_coord()
23588     * @see elm_map_utils_convert_coord_into_name()
23589     *
23590     * @ingroup Map
23591     */
23592    EAPI void                  elm_map_name_region_get(const Elm_Map_Name *name, double *lon, double *lat) EINA_ARG_NONNULL(1);
23593
23594    /**
23595     * Remove a name from the map.
23596     *
23597     * @param name The name to remove.
23598     *
23599     * Basically the struct handled by @p name will be freed, so convertions
23600     * between address and coordinates will be lost.
23601     *
23602     * @see elm_map_utils_convert_name_into_coord()
23603     * @see elm_map_utils_convert_coord_into_name()
23604     *
23605     * @ingroup Map
23606     */
23607    EAPI void                  elm_map_name_remove(Elm_Map_Name *name) EINA_ARG_NONNULL(1);
23608
23609    /**
23610     * Rotate the map.
23611     *
23612     * @param obj The map object.
23613     * @param degree Angle from 0.0 to 360.0 to rotate arount Z axis.
23614     * @param cx Rotation's center horizontal position.
23615     * @param cy Rotation's center vertical position.
23616     *
23617     * @see elm_map_rotate_get()
23618     *
23619     * @ingroup Map
23620     */
23621    EAPI void                  elm_map_rotate_set(Evas_Object *obj, double degree, Evas_Coord cx, Evas_Coord cy) EINA_ARG_NONNULL(1);
23622
23623    /**
23624     * Get the rotate degree of the map
23625     *
23626     * @param obj The map object
23627     * @param degree Pointer where to store degrees from 0.0 to 360.0
23628     * to rotate arount Z axis.
23629     * @param cx Pointer where to store rotation's center horizontal position.
23630     * @param cy Pointer where to store rotation's center vertical position.
23631     *
23632     * @see elm_map_rotate_set() to set map rotation.
23633     *
23634     * @ingroup Map
23635     */
23636    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);
23637
23638    /**
23639     * Enable or disable mouse wheel to be used to zoom in / out the map.
23640     *
23641     * @param obj The map object.
23642     * @param disabled Use @c EINA_TRUE to disable mouse wheel or @c EINA_FALSE
23643     * to enable it.
23644     *
23645     * Mouse wheel can be used for the user to zoom in or zoom out the map.
23646     *
23647     * It's disabled by default.
23648     *
23649     * @see elm_map_wheel_disabled_get()
23650     *
23651     * @ingroup Map
23652     */
23653    EAPI void                  elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
23654
23655    /**
23656     * Get a value whether mouse wheel is enabled or not.
23657     *
23658     * @param obj The map object.
23659     * @return @c EINA_TRUE means map is disabled. @c EINA_FALSE indicates
23660     * it is enabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
23661     *
23662     * Mouse wheel can be used for the user to zoom in or zoom out the map.
23663     *
23664     * @see elm_map_wheel_disabled_set() for details.
23665     *
23666     * @ingroup Map
23667     */
23668    EAPI Eina_Bool             elm_map_wheel_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23669
23670 #ifdef ELM_EMAP
23671    /**
23672     * Add a track on the map
23673     *
23674     * @param obj The map object.
23675     * @param emap The emap route object.
23676     * @return The route object. This is an elm object of type Route.
23677     *
23678     * @see elm_route_add() for details.
23679     *
23680     * @ingroup Map
23681     */
23682    EAPI Evas_Object          *elm_map_track_add(Evas_Object *obj, EMap_Route *emap) EINA_ARG_NONNULL(1);
23683 #endif
23684
23685    /**
23686     * Remove a track from the map
23687     *
23688     * @param obj The map object.
23689     * @param route The track to remove.
23690     *
23691     * @ingroup Map
23692     */
23693    EAPI void                  elm_map_track_remove(Evas_Object *obj, Evas_Object *route) EINA_ARG_NONNULL(1);
23694
23695    /**
23696     * @}
23697     */
23698
23699    /* Route */
23700    EAPI Evas_Object *elm_route_add(Evas_Object *parent);
23701 #ifdef ELM_EMAP
23702    EAPI void elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
23703 #endif
23704    EAPI double elm_route_lon_min_get(Evas_Object *obj);
23705    EAPI double elm_route_lat_min_get(Evas_Object *obj);
23706    EAPI double elm_route_lon_max_get(Evas_Object *obj);
23707    EAPI double elm_route_lat_max_get(Evas_Object *obj);
23708
23709
23710    /**
23711     * @defgroup Panel Panel
23712     *
23713     * @image html img/widget/panel/preview-00.png
23714     * @image latex img/widget/panel/preview-00.eps
23715     *
23716     * @brief A panel is a type of animated container that contains subobjects.
23717     * It can be expanded or contracted by clicking the button on it's edge.
23718     *
23719     * Orientations are as follows:
23720     * @li ELM_PANEL_ORIENT_TOP
23721     * @li ELM_PANEL_ORIENT_LEFT
23722     * @li ELM_PANEL_ORIENT_RIGHT
23723     *
23724     * To set/get/unset the content of the panel, you can use
23725     * elm_object_content_set/get/unset APIs.
23726     * Once the content object is set, a previously set one will be deleted.
23727     * If you want to keep that old content object, use the
23728     * elm_object_content_unset() function
23729     *
23730     * @ref tutorial_panel shows one way to use this widget.
23731     * @{
23732     */
23733    typedef enum _Elm_Panel_Orient
23734      {
23735         ELM_PANEL_ORIENT_TOP, /**< Panel (dis)appears from the top */
23736         ELM_PANEL_ORIENT_BOTTOM, /**< Not implemented */
23737         ELM_PANEL_ORIENT_LEFT, /**< Panel (dis)appears from the left */
23738         ELM_PANEL_ORIENT_RIGHT, /**< Panel (dis)appears from the right */
23739      } Elm_Panel_Orient;
23740    /**
23741     * @brief Adds a panel object
23742     *
23743     * @param parent The parent object
23744     *
23745     * @return The panel object, or NULL on failure
23746     */
23747    EAPI Evas_Object          *elm_panel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
23748    /**
23749     * @brief Sets the orientation of the panel
23750     *
23751     * @param parent The parent object
23752     * @param orient The panel orientation. Can be one of the following:
23753     * @li ELM_PANEL_ORIENT_TOP
23754     * @li ELM_PANEL_ORIENT_LEFT
23755     * @li ELM_PANEL_ORIENT_RIGHT
23756     *
23757     * Sets from where the panel will (dis)appear.
23758     */
23759    EAPI void                  elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient) EINA_ARG_NONNULL(1);
23760    /**
23761     * @brief Get the orientation of the panel.
23762     *
23763     * @param obj The panel object
23764     * @return The Elm_Panel_Orient, or ELM_PANEL_ORIENT_LEFT on failure.
23765     */
23766    EAPI Elm_Panel_Orient      elm_panel_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23767    /**
23768     * @brief Set the content of the panel.
23769     *
23770     * @param obj The panel object
23771     * @param content The panel content
23772     *
23773     * Once the content object is set, a previously set one will be deleted.
23774     * If you want to keep that old content object, use the
23775     * elm_panel_content_unset() function.
23776     */
23777    EINA_DEPRECATED EAPI void                  elm_panel_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23778    /**
23779     * @brief Get the content of the panel.
23780     *
23781     * @param obj The panel object
23782     * @return The content that is being used
23783     *
23784     * Return the content object which is set for this widget.
23785     *
23786     * @see elm_panel_content_set()
23787     */
23788    EINA_DEPRECATED EAPI Evas_Object          *elm_panel_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23789    /**
23790     * @brief Unset the content of the panel.
23791     *
23792     * @param obj The panel object
23793     * @return The content that was being used
23794     *
23795     * Unparent and return the content object which was set for this widget.
23796     *
23797     * @see elm_panel_content_set()
23798     */
23799    EINA_DEPRECATED EAPI Evas_Object          *elm_panel_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23800    /**
23801     * @brief Set the state of the panel.
23802     *
23803     * @param obj The panel object
23804     * @param hidden If true, the panel will run the animation to contract
23805     */
23806    EAPI void                  elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden) EINA_ARG_NONNULL(1);
23807    /**
23808     * @brief Get the state of the panel.
23809     *
23810     * @param obj The panel object
23811     * @param hidden If true, the panel is in the "hide" state
23812     */
23813    EAPI Eina_Bool             elm_panel_hidden_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23814    /**
23815     * @brief Toggle the hidden state of the panel from code
23816     *
23817     * @param obj The panel object
23818     */
23819    EAPI void                  elm_panel_toggle(Evas_Object *obj) EINA_ARG_NONNULL(1);
23820    /**
23821     * @}
23822     */
23823
23824    /**
23825     * @defgroup Panes Panes
23826     * @ingroup Elementary
23827     *
23828     * @image html img/widget/panes/preview-00.png
23829     * @image latex img/widget/panes/preview-00.eps width=\textwidth
23830     *
23831     * @image html img/panes.png
23832     * @image latex img/panes.eps width=\textwidth
23833     *
23834     * The panes adds a dragable bar between two contents. When dragged
23835     * this bar will resize contents size.
23836     *
23837     * Panes can be displayed vertically or horizontally, and contents
23838     * size proportion can be customized (homogeneous by default).
23839     *
23840     * Smart callbacks one can listen to:
23841     * - "press" - The panes has been pressed (button wasn't released yet).
23842     * - "unpressed" - The panes was released after being pressed.
23843     * - "clicked" - The panes has been clicked>
23844     * - "clicked,double" - The panes has been double clicked
23845     *
23846     * Available styles for it:
23847     * - @c "default"
23848     *
23849     * Default contents parts of the panes widget that you can use for are:
23850     * @li "elm.swallow.left" - A leftside content of the panes
23851     * @li "elm.swallow.right" - A rightside content of the panes
23852     *
23853     * If panes is displayed vertically, left content will be displayed at
23854     * top.
23855     * 
23856     * Here is an example on its usage:
23857     * @li @ref panes_example
23858     */
23859
23860 #define ELM_PANES_CONTENT_LEFT "elm.swallow.left"
23861 #define ELM_PANES_CONTENT_RIGHT "elm.swallow.right"
23862
23863    /**
23864     * @addtogroup Panes
23865     * @{
23866     */
23867
23868    /**
23869     * Add a new panes widget to the given parent Elementary
23870     * (container) object.
23871     *
23872     * @param parent The parent object.
23873     * @return a new panes widget handle or @c NULL, on errors.
23874     *
23875     * This function inserts a new panes widget on the canvas.
23876     *
23877     * @ingroup Panes
23878     */
23879    EAPI Evas_Object          *elm_panes_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
23880
23881    /**
23882     * Set the left content of the panes widget.
23883     *
23884     * @param obj The panes object.
23885     * @param content The new left content object.
23886     *
23887     * Once the content object is set, a previously set one will be deleted.
23888     * If you want to keep that old content object, use the
23889     * elm_panes_content_left_unset() function.
23890     *
23891     * If panes is displayed vertically, left content will be displayed at
23892     * top.
23893     *
23894     * @see elm_panes_content_left_get()
23895     * @see elm_panes_content_right_set() to set content on the other side.
23896     *
23897     * @ingroup Panes
23898     */
23899    EINA_DEPRECATED EAPI void                  elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23900
23901    /**
23902     * Set the right content of the panes widget.
23903     *
23904     * @param obj The panes object.
23905     * @param content The new right content object.
23906     *
23907     * Once the content object is set, a previously set one will be deleted.
23908     * If you want to keep that old content object, use the
23909     * elm_panes_content_right_unset() function.
23910     *
23911     * If panes is displayed vertically, left content will be displayed at
23912     * bottom.
23913     *
23914     * @see elm_panes_content_right_get()
23915     * @see elm_panes_content_left_set() to set content on the other side.
23916     *
23917     * @ingroup Panes
23918     */
23919    EINA_DEPRECATED EAPI void                  elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23920
23921    /**
23922     * Get the left content of the panes.
23923     *
23924     * @param obj The panes object.
23925     * @return The left content object that is being used.
23926     *
23927     * Return the left content object which is set for this widget.
23928     *
23929     * @see elm_panes_content_left_set() for details.
23930     *
23931     * @ingroup Panes
23932     */
23933    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_left_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23934
23935    /**
23936     * Get the right content of the panes.
23937     *
23938     * @param obj The panes object
23939     * @return The right content object that is being used
23940     *
23941     * Return the right content object which is set for this widget.
23942     *
23943     * @see elm_panes_content_right_set() for details.
23944     *
23945     * @ingroup Panes
23946     */
23947    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_right_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23948
23949    /**
23950     * Unset the left content used for the panes.
23951     *
23952     * @param obj The panes object.
23953     * @return The left content object that was being used.
23954     *
23955     * Unparent and return the left content object which was set for this widget.
23956     *
23957     * @see elm_panes_content_left_set() for details.
23958     * @see elm_panes_content_left_get().
23959     *
23960     * @ingroup Panes
23961     */
23962    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_left_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23963
23964    /**
23965     * Unset the right content used for the panes.
23966     *
23967     * @param obj The panes object.
23968     * @return The right content object that was being used.
23969     *
23970     * Unparent and return the right content object which was set for this
23971     * widget.
23972     *
23973     * @see elm_panes_content_right_set() for details.
23974     * @see elm_panes_content_right_get().
23975     *
23976     * @ingroup Panes
23977     */
23978    EAPI Evas_Object          *elm_panes_content_right_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23979
23980    /**
23981     * Get the size proportion of panes widget's left side.
23982     *
23983     * @param obj The panes object.
23984     * @return float value between 0.0 and 1.0 representing size proportion
23985     * of left side.
23986     *
23987     * @see elm_panes_content_left_size_set() for more details.
23988     *
23989     * @ingroup Panes
23990     */
23991    EAPI double                elm_panes_content_left_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23992
23993    /**
23994     * Set the size proportion of panes widget's left side.
23995     *
23996     * @param obj The panes object.
23997     * @param size Value between 0.0 and 1.0 representing size proportion
23998     * of left side.
23999     *
24000     * By default it's homogeneous, i.e., both sides have the same size.
24001     *
24002     * If something different is required, it can be set with this function.
24003     * For example, if the left content should be displayed over
24004     * 75% of the panes size, @p size should be passed as @c 0.75.
24005     * This way, right content will be resized to 25% of panes size.
24006     *
24007     * If displayed vertically, left content is displayed at top, and
24008     * right content at bottom.
24009     *
24010     * @note This proportion will change when user drags the panes bar.
24011     *
24012     * @see elm_panes_content_left_size_get()
24013     *
24014     * @ingroup Panes
24015     */
24016    EAPI void                  elm_panes_content_left_size_set(Evas_Object *obj, double size) EINA_ARG_NONNULL(1);
24017
24018   /**
24019    * Set the orientation of a given panes widget.
24020    *
24021    * @param obj The panes object.
24022    * @param horizontal Use @c EINA_TRUE to make @p obj to be
24023    * @b horizontal, @c EINA_FALSE to make it @b vertical.
24024    *
24025    * Use this function to change how your panes is to be
24026    * disposed: vertically or horizontally.
24027    *
24028    * By default it's displayed horizontally.
24029    *
24030    * @see elm_panes_horizontal_get()
24031    *
24032    * @ingroup Panes
24033    */
24034    EAPI void                  elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
24035
24036    /**
24037     * Retrieve the orientation of a given panes widget.
24038     *
24039     * @param obj The panes object.
24040     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
24041     * @c EINA_FALSE if it's @b vertical (and on errors).
24042     *
24043     * @see elm_panes_horizontal_set() for more details.
24044     *
24045     * @ingroup Panes
24046     */
24047    EAPI Eina_Bool             elm_panes_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24048    EAPI void                  elm_panes_fixed_set(Evas_Object *obj, Eina_Bool fixed) EINA_ARG_NONNULL(1);
24049    EAPI Eina_Bool             elm_panes_fixed_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24050
24051    /**
24052     * @}
24053     */
24054
24055    /**
24056     * @defgroup Flip Flip
24057     *
24058     * @image html img/widget/flip/preview-00.png
24059     * @image latex img/widget/flip/preview-00.eps
24060     *
24061     * This widget holds 2 content objects(Evas_Object): one on the front and one
24062     * on the back. It allows you to flip from front to back and vice-versa using
24063     * various animations.
24064     *
24065     * If either the front or back contents are not set the flip will treat that
24066     * as transparent. So if you wore to set the front content but not the back,
24067     * and then call elm_flip_go() you would see whatever is below the flip.
24068     *
24069     * For a list of supported animations see elm_flip_go().
24070     *
24071     * Signals that you can add callbacks for are:
24072     * "animate,begin" - when a flip animation was started
24073     * "animate,done" - when a flip animation is finished
24074     *
24075     * @ref tutorial_flip show how to use most of the API.
24076     *
24077     * @{
24078     */
24079    typedef enum _Elm_Flip_Mode
24080      {
24081         ELM_FLIP_ROTATE_Y_CENTER_AXIS,
24082         ELM_FLIP_ROTATE_X_CENTER_AXIS,
24083         ELM_FLIP_ROTATE_XZ_CENTER_AXIS,
24084         ELM_FLIP_ROTATE_YZ_CENTER_AXIS,
24085         ELM_FLIP_CUBE_LEFT,
24086         ELM_FLIP_CUBE_RIGHT,
24087         ELM_FLIP_CUBE_UP,
24088         ELM_FLIP_CUBE_DOWN,
24089         ELM_FLIP_PAGE_LEFT,
24090         ELM_FLIP_PAGE_RIGHT,
24091         ELM_FLIP_PAGE_UP,
24092         ELM_FLIP_PAGE_DOWN
24093      } Elm_Flip_Mode;
24094    typedef enum _Elm_Flip_Interaction
24095      {
24096         ELM_FLIP_INTERACTION_NONE,
24097         ELM_FLIP_INTERACTION_ROTATE,
24098         ELM_FLIP_INTERACTION_CUBE,
24099         ELM_FLIP_INTERACTION_PAGE
24100      } Elm_Flip_Interaction;
24101    typedef enum _Elm_Flip_Direction
24102      {
24103         ELM_FLIP_DIRECTION_UP, /**< Allows interaction with the top of the widget */
24104         ELM_FLIP_DIRECTION_DOWN, /**< Allows interaction with the bottom of the widget */
24105         ELM_FLIP_DIRECTION_LEFT, /**< Allows interaction with the left portion of the widget */
24106         ELM_FLIP_DIRECTION_RIGHT /**< Allows interaction with the right portion of the widget */
24107      } Elm_Flip_Direction;
24108    /**
24109     * @brief Add a new flip to the parent
24110     *
24111     * @param parent The parent object
24112     * @return The new object or NULL if it cannot be created
24113     */
24114    EAPI Evas_Object *elm_flip_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24115    /**
24116     * @brief Set the front content of the flip widget.
24117     *
24118     * @param obj The flip object
24119     * @param content The new front content object
24120     *
24121     * Once the content object is set, a previously set one will be deleted.
24122     * If you want to keep that old content object, use the
24123     * elm_flip_content_front_unset() function.
24124     */
24125    EAPI void         elm_flip_content_front_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24126    /**
24127     * @brief Set the back content of the flip widget.
24128     *
24129     * @param obj The flip object
24130     * @param content The new back content object
24131     *
24132     * Once the content object is set, a previously set one will be deleted.
24133     * If you want to keep that old content object, use the
24134     * elm_flip_content_back_unset() function.
24135     */
24136    EAPI void         elm_flip_content_back_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24137    /**
24138     * @brief Get the front content used for the flip
24139     *
24140     * @param obj The flip object
24141     * @return The front content object that is being used
24142     *
24143     * Return the front content object which is set for this widget.
24144     */
24145    EAPI Evas_Object *elm_flip_content_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24146    /**
24147     * @brief Get the back content used for the flip
24148     *
24149     * @param obj The flip object
24150     * @return The back content object that is being used
24151     *
24152     * Return the back content object which is set for this widget.
24153     */
24154    EAPI Evas_Object *elm_flip_content_back_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24155    /**
24156     * @brief Unset the front content used for the flip
24157     *
24158     * @param obj The flip object
24159     * @return The front content object that was being used
24160     *
24161     * Unparent and return the front content object which was set for this widget.
24162     */
24163    EAPI Evas_Object *elm_flip_content_front_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24164    /**
24165     * @brief Unset the back content used for the flip
24166     *
24167     * @param obj The flip object
24168     * @return The back content object that was being used
24169     *
24170     * Unparent and return the back content object which was set for this widget.
24171     */
24172    EAPI Evas_Object *elm_flip_content_back_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24173    /**
24174     * @brief Get flip front visibility state
24175     *
24176     * @param obj The flip objct
24177     * @return EINA_TRUE if front front is showing, EINA_FALSE if the back is
24178     * showing.
24179     */
24180    EAPI Eina_Bool    elm_flip_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24181    /**
24182     * @brief Set flip perspective
24183     *
24184     * @param obj The flip object
24185     * @param foc The coordinate to set the focus on
24186     * @param x The X coordinate
24187     * @param y The Y coordinate
24188     *
24189     * @warning This function currently does nothing.
24190     */
24191    EAPI void         elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
24192    /**
24193     * @brief Runs the flip animation
24194     *
24195     * @param obj The flip object
24196     * @param mode The mode type
24197     *
24198     * Flips the front and back contents using the @p mode animation. This
24199     * efectively hides the currently visible content and shows the hidden one.
24200     *
24201     * There a number of possible animations to use for the flipping:
24202     * @li ELM_FLIP_ROTATE_X_CENTER_AXIS - Rotate the currently visible content
24203     * around a horizontal axis in the middle of its height, the other content
24204     * is shown as the other side of the flip.
24205     * @li ELM_FLIP_ROTATE_Y_CENTER_AXIS - Rotate the currently visible content
24206     * around a vertical axis in the middle of its width, the other content is
24207     * shown as the other side of the flip.
24208     * @li ELM_FLIP_ROTATE_XZ_CENTER_AXIS - Rotate the currently visible content
24209     * around a diagonal axis in the middle of its width, the other content is
24210     * shown as the other side of the flip.
24211     * @li ELM_FLIP_ROTATE_YZ_CENTER_AXIS - Rotate the currently visible content
24212     * around a diagonal axis in the middle of its height, the other content is
24213     * shown as the other side of the flip.
24214     * @li ELM_FLIP_CUBE_LEFT - Rotate the currently visible content to the left
24215     * as if the flip was a cube, the other content is show as the right face of
24216     * the cube.
24217     * @li ELM_FLIP_CUBE_RIGHT - Rotate the currently visible content to the
24218     * right as if the flip was a cube, the other content is show as the left
24219     * face of the cube.
24220     * @li ELM_FLIP_CUBE_UP - Rotate the currently visible content up as if the
24221     * flip was a cube, the other content is show as the bottom face of the cube.
24222     * @li ELM_FLIP_CUBE_DOWN - Rotate the currently visible content down as if
24223     * the flip was a cube, the other content is show as the upper face of the
24224     * cube.
24225     * @li ELM_FLIP_PAGE_LEFT - Move the currently visible content to the left as
24226     * if the flip was a book, the other content is shown as the page below that.
24227     * @li ELM_FLIP_PAGE_RIGHT - Move the currently visible content to the right
24228     * as if the flip was a book, the other content is shown as the page below
24229     * that.
24230     * @li ELM_FLIP_PAGE_UP - Move the currently visible content up as if the
24231     * flip was a book, the other content is shown as the page below that.
24232     * @li ELM_FLIP_PAGE_DOWN - Move the currently visible content down as if the
24233     * flip was a book, the other content is shown as the page below that.
24234     *
24235     * @image html elm_flip.png
24236     * @image latex elm_flip.eps width=\textwidth
24237     */
24238    EAPI void         elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode) EINA_ARG_NONNULL(1);
24239    /**
24240     * @brief Set the interactive flip mode
24241     *
24242     * @param obj The flip object
24243     * @param mode The interactive flip mode to use
24244     *
24245     * This sets if the flip should be interactive (allow user to click and
24246     * drag a side of the flip to reveal the back page and cause it to flip).
24247     * By default a flip is not interactive. You may also need to set which
24248     * sides of the flip are "active" for flipping and how much space they use
24249     * (a minimum of a finger size) with elm_flip_interacton_direction_enabled_set()
24250     * and elm_flip_interacton_direction_hitsize_set()
24251     *
24252     * The four avilable mode of interaction are:
24253     * @li ELM_FLIP_INTERACTION_NONE - No interaction is allowed
24254     * @li ELM_FLIP_INTERACTION_ROTATE - Interaction will cause rotate animation
24255     * @li ELM_FLIP_INTERACTION_CUBE - Interaction will cause cube animation
24256     * @li ELM_FLIP_INTERACTION_PAGE - Interaction will cause page animation
24257     *
24258     * @note ELM_FLIP_INTERACTION_ROTATE won't cause
24259     * ELM_FLIP_ROTATE_XZ_CENTER_AXIS or ELM_FLIP_ROTATE_YZ_CENTER_AXIS to
24260     * happen, those can only be acheived with elm_flip_go();
24261     */
24262    EAPI void         elm_flip_interaction_set(Evas_Object *obj, Elm_Flip_Interaction mode);
24263    /**
24264     * @brief Get the interactive flip mode
24265     *
24266     * @param obj The flip object
24267     * @return The interactive flip mode
24268     *
24269     * Returns the interactive flip mode set by elm_flip_interaction_set()
24270     */
24271    EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Evas_Object *obj);
24272    /**
24273     * @brief Set which directions of the flip respond to interactive flip
24274     *
24275     * @param obj The flip object
24276     * @param dir The direction to change
24277     * @param enabled If that direction is enabled or not
24278     *
24279     * By default all directions are disabled, so you may want to enable the
24280     * desired directions for flipping if you need interactive flipping. You must
24281     * call this function once for each direction that should be enabled.
24282     *
24283     * @see elm_flip_interaction_set()
24284     */
24285    EAPI void         elm_flip_interacton_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled);
24286    /**
24287     * @brief Get the enabled state of that flip direction
24288     *
24289     * @param obj The flip object
24290     * @param dir The direction to check
24291     * @return If that direction is enabled or not
24292     *
24293     * Gets the enabled state set by elm_flip_interacton_direction_enabled_set()
24294     *
24295     * @see elm_flip_interaction_set()
24296     */
24297    EAPI Eina_Bool    elm_flip_interacton_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir);
24298    /**
24299     * @brief Set the amount of the flip that is sensitive to interactive flip
24300     *
24301     * @param obj The flip object
24302     * @param dir The direction to modify
24303     * @param hitsize The amount of that dimension (0.0 to 1.0) to use
24304     *
24305     * Set the amount of the flip that is sensitive to interactive flip, with 0
24306     * representing no area in the flip and 1 representing the entire flip. There
24307     * is however a consideration to be made in that the area will never be
24308     * smaller than the finger size set(as set in your Elementary configuration).
24309     *
24310     * @see elm_flip_interaction_set()
24311     */
24312    EAPI void         elm_flip_interacton_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize);
24313    /**
24314     * @brief Get the amount of the flip that is sensitive to interactive flip
24315     *
24316     * @param obj The flip object
24317     * @param dir The direction to check
24318     * @return The size set for that direction
24319     *
24320     * Returns the amount os sensitive area set by
24321     * elm_flip_interacton_direction_hitsize_set().
24322     */
24323    EAPI double       elm_flip_interacton_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir);
24324    /**
24325     * @}
24326     */
24327
24328    /* scrolledentry */
24329    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24330    EINA_DEPRECATED EAPI void         elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
24331    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24332    EINA_DEPRECATED EAPI void         elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
24333    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24334    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
24335    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24336    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
24337    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24338    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24339    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
24340    EINA_DEPRECATED EAPI void         elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
24341    EINA_DEPRECATED EAPI void         elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
24342    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24343    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
24344    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
24345    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
24346    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
24347    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
24348    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
24349    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24350    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24351    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24352    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24353    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
24354    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
24355    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24356    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24357    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24358    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
24359    EINA_DEPRECATED EAPI int          elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24360    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
24361    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
24362    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
24363    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
24364    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);
24365    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
24366    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24367    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);
24368    EINA_DEPRECATED EAPI void         elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
24369    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);
24370    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1, 2);
24371    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24372    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24373    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
24374    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1, 2);
24375    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24376    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24377    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
24378    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);
24379    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);
24380    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);
24381    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);
24382    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);
24383    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);
24384    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
24385    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
24386    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
24387    EINA_DEPRECATED EAPI void         elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
24388    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24389    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
24390    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
24391
24392    /**
24393     * @defgroup Conformant Conformant
24394     * @ingroup Elementary
24395     *
24396     * @image html img/widget/conformant/preview-00.png
24397     * @image latex img/widget/conformant/preview-00.eps width=\textwidth
24398     *
24399     * @image html img/conformant.png
24400     * @image latex img/conformant.eps width=\textwidth
24401     *
24402     * The aim is to provide a widget that can be used in elementary apps to
24403     * account for space taken up by the indicator, virtual keypad & softkey
24404     * windows when running the illume2 module of E17.
24405     *
24406     * So conformant content will be sized and positioned considering the
24407     * space required for such stuff, and when they popup, as a keyboard
24408     * shows when an entry is selected, conformant content won't change.
24409     *
24410     * Available styles for it:
24411     * - @c "default"
24412     *
24413     * Default contents parts of the conformant widget that you can use for are:
24414     * @li "elm.swallow.content" - A content of the conformant
24415     *
24416     * See how to use this widget in this example:
24417     * @ref conformant_example
24418     */
24419
24420    /**
24421     * @addtogroup Conformant
24422     * @{
24423     */
24424
24425    /**
24426     * Add a new conformant widget to the given parent Elementary
24427     * (container) object.
24428     *
24429     * @param parent The parent object.
24430     * @return A new conformant widget handle or @c NULL, on errors.
24431     *
24432     * This function inserts a new conformant widget on the canvas.
24433     *
24434     * @ingroup Conformant
24435     */
24436    EAPI Evas_Object *elm_conformant_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24437
24438    /**
24439     * Set the content of the conformant widget.
24440     *
24441     * @param obj The conformant object.
24442     * @param content The content to be displayed by the conformant.
24443     *
24444     * Content will be sized and positioned considering the space required
24445     * to display a virtual keyboard. So it won't fill all the conformant
24446     * size. This way is possible to be sure that content won't resize
24447     * or be re-positioned after the keyboard is displayed.
24448     *
24449     * Once the content object is set, a previously set one will be deleted.
24450     * If you want to keep that old content object, use the
24451     * elm_object_content_unset() function.
24452     *
24453     * @see elm_object_content_unset()
24454     * @see elm_object_content_get()
24455     *
24456     * @ingroup Conformant
24457     */
24458    EINA_DEPRECATED EAPI void         elm_conformant_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24459
24460    /**
24461     * Get the content of the conformant widget.
24462     *
24463     * @param obj The conformant object.
24464     * @return The content that is being used.
24465     *
24466     * Return the content object which is set for this widget.
24467     * It won't be unparent from conformant. For that, use
24468     * elm_object_content_unset().
24469     *
24470     * @see elm_object_content_set().
24471     * @see elm_object_content_unset()
24472     *
24473     * @ingroup Conformant
24474     */
24475    EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24476
24477    /**
24478     * Unset the content of the conformant widget.
24479     *
24480     * @param obj The conformant object.
24481     * @return The content that was being used.
24482     *
24483     * Unparent and return the content object which was set for this widget.
24484     *
24485     * @see elm_object_content_set().
24486     *
24487     * @ingroup Conformant
24488     */
24489    EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24490
24491    /**
24492     * Returns the Evas_Object that represents the content area.
24493     *
24494     * @param obj The conformant object.
24495     * @return The content area of the widget.
24496     *
24497     * @ingroup Conformant
24498     */
24499    EAPI Evas_Object *elm_conformant_content_area_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24500
24501    /**
24502     * @}
24503     */
24504
24505    /**
24506     * @defgroup Mapbuf Mapbuf
24507     * @ingroup Elementary
24508     *
24509     * @image html img/widget/mapbuf/preview-00.png
24510     * @image latex img/widget/mapbuf/preview-00.eps width=\textwidth
24511     *
24512     * This holds one content object and uses an Evas Map of transformation
24513     * points to be later used with this content. So the content will be
24514     * moved, resized, etc as a single image. So it will improve performance
24515     * when you have a complex interafce, with a lot of elements, and will
24516     * need to resize or move it frequently (the content object and its
24517     * children).
24518     *
24519     * To set/get/unset the content of the mapbuf, you can use 
24520     * elm_object_content_set/get/unset APIs. 
24521     * Once the content object is set, a previously set one will be deleted.
24522     * If you want to keep that old content object, use the
24523     * elm_object_content_unset() function.
24524     *
24525     * To enable map, elm_mapbuf_enabled_set() should be used.
24526     * 
24527     * See how to use this widget in this example:
24528     * @ref mapbuf_example
24529     */
24530
24531    /**
24532     * @addtogroup Mapbuf
24533     * @{
24534     */
24535
24536    /**
24537     * Add a new mapbuf widget to the given parent Elementary
24538     * (container) object.
24539     *
24540     * @param parent The parent object.
24541     * @return A new mapbuf widget handle or @c NULL, on errors.
24542     *
24543     * This function inserts a new mapbuf widget on the canvas.
24544     *
24545     * @ingroup Mapbuf
24546     */
24547    EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24548
24549    /**
24550     * Set the content of the mapbuf.
24551     *
24552     * @param obj The mapbuf object.
24553     * @param content The content that will be filled in this mapbuf object.
24554     *
24555     * Once the content object is set, a previously set one will be deleted.
24556     * If you want to keep that old content object, use the
24557     * elm_mapbuf_content_unset() function.
24558     *
24559     * To enable map, elm_mapbuf_enabled_set() should be used.
24560     *
24561     * @ingroup Mapbuf
24562     */
24563    EINA_DEPRECATED EAPI void         elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24564
24565    /**
24566     * Get the content of the mapbuf.
24567     *
24568     * @param obj The mapbuf object.
24569     * @return The content that is being used.
24570     *
24571     * Return the content object which is set for this widget.
24572     *
24573     * @see elm_mapbuf_content_set() for details.
24574     *
24575     * @ingroup Mapbuf
24576     */
24577    EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24578
24579    /**
24580     * Unset the content of the mapbuf.
24581     *
24582     * @param obj The mapbuf object.
24583     * @return The content that was being used.
24584     *
24585     * Unparent and return the content object which was set for this widget.
24586     *
24587     * @see elm_mapbuf_content_set() for details.
24588     *
24589     * @ingroup Mapbuf
24590     */
24591    EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24592
24593    /**
24594     * Enable or disable the map.
24595     *
24596     * @param obj The mapbuf object.
24597     * @param enabled @c EINA_TRUE to enable map or @c EINA_FALSE to disable it.
24598     *
24599     * This enables the map that is set or disables it. On enable, the object
24600     * geometry will be saved, and the new geometry will change (position and
24601     * size) to reflect the map geometry set.
24602     *
24603     * Also, when enabled, alpha and smooth states will be used, so if the
24604     * content isn't solid, alpha should be enabled, for example, otherwise
24605     * a black retangle will fill the content.
24606     *
24607     * When disabled, the stored map will be freed and geometry prior to
24608     * enabling the map will be restored.
24609     *
24610     * It's disabled by default.
24611     *
24612     * @see elm_mapbuf_alpha_set()
24613     * @see elm_mapbuf_smooth_set()
24614     *
24615     * @ingroup Mapbuf
24616     */
24617    EAPI void         elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
24618
24619    /**
24620     * Get a value whether map is enabled or not.
24621     *
24622     * @param obj The mapbuf object.
24623     * @return @c EINA_TRUE means map is enabled. @c EINA_FALSE indicates
24624     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
24625     *
24626     * @see elm_mapbuf_enabled_set() for details.
24627     *
24628     * @ingroup Mapbuf
24629     */
24630    EAPI Eina_Bool    elm_mapbuf_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24631
24632    /**
24633     * Enable or disable smooth map rendering.
24634     *
24635     * @param obj The mapbuf object.
24636     * @param smooth @c EINA_TRUE to enable smooth map rendering or @c EINA_FALSE
24637     * to disable it.
24638     *
24639     * This sets smoothing for map rendering. If the object is a type that has
24640     * its own smoothing settings, then both the smooth settings for this object
24641     * and the map must be turned off.
24642     *
24643     * By default smooth maps are enabled.
24644     *
24645     * @ingroup Mapbuf
24646     */
24647    EAPI void         elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
24648
24649    /**
24650     * Get a value whether smooth map rendering is enabled or not.
24651     *
24652     * @param obj The mapbuf object.
24653     * @return @c EINA_TRUE means smooth map rendering is enabled. @c EINA_FALSE
24654     * indicates it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
24655     *
24656     * @see elm_mapbuf_smooth_set() for details.
24657     *
24658     * @ingroup Mapbuf
24659     */
24660    EAPI Eina_Bool    elm_mapbuf_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24661
24662    /**
24663     * Set or unset alpha flag for map rendering.
24664     *
24665     * @param obj The mapbuf object.
24666     * @param alpha @c EINA_TRUE to enable alpha blending or @c EINA_FALSE
24667     * to disable it.
24668     *
24669     * This sets alpha flag for map rendering. If the object is a type that has
24670     * its own alpha settings, then this will take precedence. Only image objects
24671     * have this currently. It stops alpha blending of the map area, and is
24672     * useful if you know the object and/or all sub-objects is 100% solid.
24673     *
24674     * Alpha is enabled by default.
24675     *
24676     * @ingroup Mapbuf
24677     */
24678    EAPI void         elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
24679
24680    /**
24681     * Get a value whether alpha blending is enabled or not.
24682     *
24683     * @param obj The mapbuf object.
24684     * @return @c EINA_TRUE means alpha blending is enabled. @c EINA_FALSE
24685     * indicates it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
24686     *
24687     * @see elm_mapbuf_alpha_set() for details.
24688     *
24689     * @ingroup Mapbuf
24690     */
24691    EAPI Eina_Bool    elm_mapbuf_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24692
24693    /**
24694     * @}
24695     */
24696
24697    /**
24698     * @defgroup Flipselector Flip Selector
24699     *
24700     * @image html img/widget/flipselector/preview-00.png
24701     * @image latex img/widget/flipselector/preview-00.eps
24702     *
24703     * A flip selector is a widget to show a set of @b text items, one
24704     * at a time, with the same sheet switching style as the @ref Clock
24705     * "clock" widget, when one changes the current displaying sheet
24706     * (thus, the "flip" in the name).
24707     *
24708     * User clicks to flip sheets which are @b held for some time will
24709     * make the flip selector to flip continuosly and automatically for
24710     * the user. The interval between flips will keep growing in time,
24711     * so that it helps the user to reach an item which is distant from
24712     * the current selection.
24713     *
24714     * Smart callbacks one can register to:
24715     * - @c "selected" - when the widget's selected text item is changed
24716     * - @c "overflowed" - when the widget's current selection is changed
24717     *   from the first item in its list to the last
24718     * - @c "underflowed" - when the widget's current selection is changed
24719     *   from the last item in its list to the first
24720     *
24721     * Available styles for it:
24722     * - @c "default"
24723     *
24724     * Here is an example on its usage:
24725     * @li @ref flipselector_example
24726     */
24727
24728    /**
24729     * @addtogroup Flipselector
24730     * @{
24731     */
24732
24733    typedef struct _Elm_Flipselector_Item Elm_Flipselector_Item; /**< Item handle for a flip selector widget. */
24734
24735    /**
24736     * Add a new flip selector widget to the given parent Elementary
24737     * (container) widget
24738     *
24739     * @param parent The parent object
24740     * @return a new flip selector widget handle or @c NULL, on errors
24741     *
24742     * This function inserts a new flip selector widget on the canvas.
24743     *
24744     * @ingroup Flipselector
24745     */
24746    EAPI Evas_Object               *elm_flipselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24747
24748    /**
24749     * Programmatically select the next item of a flip selector widget
24750     *
24751     * @param obj The flipselector object
24752     *
24753     * @note The selection will be animated. Also, if it reaches the
24754     * end of its list of member items, it will continue with the first
24755     * one onwards.
24756     *
24757     * @ingroup Flipselector
24758     */
24759    EAPI void                       elm_flipselector_flip_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
24760
24761    /**
24762     * Programmatically select the previous item of a flip selector
24763     * widget
24764     *
24765     * @param obj The flipselector object
24766     *
24767     * @note The selection will be animated.  Also, if it reaches the
24768     * beginning of its list of member items, it will continue with the
24769     * last one backwards.
24770     *
24771     * @ingroup Flipselector
24772     */
24773    EAPI void                       elm_flipselector_flip_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
24774
24775    /**
24776     * Append a (text) item to a flip selector widget
24777     *
24778     * @param obj The flipselector object
24779     * @param label The (text) label of the new item
24780     * @param func Convenience callback function to take place when
24781     * item is selected
24782     * @param data Data passed to @p func, above
24783     * @return A handle to the item added or @c NULL, on errors
24784     *
24785     * The widget's list of labels to show will be appended with the
24786     * given value. If the user wishes so, a callback function pointer
24787     * can be passed, which will get called when this same item is
24788     * selected.
24789     *
24790     * @note The current selection @b won't be modified by appending an
24791     * element to the list.
24792     *
24793     * @note The maximum length of the text label is going to be
24794     * determined <b>by the widget's theme</b>. Strings larger than
24795     * that value are going to be @b truncated.
24796     *
24797     * @ingroup Flipselector
24798     */
24799    EAPI Elm_Flipselector_Item     *elm_flipselector_item_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
24800
24801    /**
24802     * Prepend a (text) item to a flip selector widget
24803     *
24804     * @param obj The flipselector object
24805     * @param label The (text) label of the new item
24806     * @param func Convenience callback function to take place when
24807     * item is selected
24808     * @param data Data passed to @p func, above
24809     * @return A handle to the item added or @c NULL, on errors
24810     *
24811     * The widget's list of labels to show will be prepended with the
24812     * given value. If the user wishes so, a callback function pointer
24813     * can be passed, which will get called when this same item is
24814     * selected.
24815     *
24816     * @note The current selection @b won't be modified by prepending
24817     * an element to the list.
24818     *
24819     * @note The maximum length of the text label is going to be
24820     * determined <b>by the widget's theme</b>. Strings larger than
24821     * that value are going to be @b truncated.
24822     *
24823     * @ingroup Flipselector
24824     */
24825    EAPI Elm_Flipselector_Item     *elm_flipselector_item_prepend(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
24826
24827    /**
24828     * Get the internal list of items in a given flip selector widget.
24829     *
24830     * @param obj The flipselector object
24831     * @return The list of items (#Elm_Flipselector_Item as data) or
24832     * @c NULL on errors.
24833     *
24834     * This list is @b not to be modified in any way and must not be
24835     * freed. Use the list members with functions like
24836     * elm_flipselector_item_label_set(),
24837     * elm_flipselector_item_label_get(),
24838     * elm_flipselector_item_del(),
24839     * elm_flipselector_item_selected_get(),
24840     * elm_flipselector_item_selected_set().
24841     *
24842     * @warning This list is only valid until @p obj object's internal
24843     * items list is changed. It should be fetched again with another
24844     * call to this function when changes happen.
24845     *
24846     * @ingroup Flipselector
24847     */
24848    EAPI const Eina_List           *elm_flipselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24849
24850    /**
24851     * Get the first item in the given flip selector widget's list of
24852     * items.
24853     *
24854     * @param obj The flipselector object
24855     * @return The first item or @c NULL, if it has no items (and on
24856     * errors)
24857     *
24858     * @see elm_flipselector_item_append()
24859     * @see elm_flipselector_last_item_get()
24860     *
24861     * @ingroup Flipselector
24862     */
24863    EAPI Elm_Flipselector_Item     *elm_flipselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24864
24865    /**
24866     * Get the last item in the given flip selector widget's list of
24867     * items.
24868     *
24869     * @param obj The flipselector object
24870     * @return The last item or @c NULL, if it has no items (and on
24871     * errors)
24872     *
24873     * @see elm_flipselector_item_prepend()
24874     * @see elm_flipselector_first_item_get()
24875     *
24876     * @ingroup Flipselector
24877     */
24878    EAPI Elm_Flipselector_Item     *elm_flipselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24879
24880    /**
24881     * Get the currently selected item in a flip selector widget.
24882     *
24883     * @param obj The flipselector object
24884     * @return The selected item or @c NULL, if the widget has no items
24885     * (and on erros)
24886     *
24887     * @ingroup Flipselector
24888     */
24889    EAPI Elm_Flipselector_Item     *elm_flipselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24890
24891    /**
24892     * Set whether a given flip selector widget's item should be the
24893     * currently selected one.
24894     *
24895     * @param item The flip selector item
24896     * @param selected @c EINA_TRUE to select it, @c EINA_FALSE to unselect.
24897     *
24898     * This sets whether @p item is or not the selected (thus, under
24899     * display) one. If @p item is different than one under display,
24900     * the latter will be unselected. If the @p item is set to be
24901     * unselected, on the other hand, the @b first item in the widget's
24902     * internal members list will be the new selected one.
24903     *
24904     * @see elm_flipselector_item_selected_get()
24905     *
24906     * @ingroup Flipselector
24907     */
24908    EAPI void                       elm_flipselector_item_selected_set(Elm_Flipselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
24909
24910    /**
24911     * Get whether a given flip selector widget's item is the currently
24912     * selected one.
24913     *
24914     * @param item The flip selector item
24915     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
24916     * (or on errors).
24917     *
24918     * @see elm_flipselector_item_selected_set()
24919     *
24920     * @ingroup Flipselector
24921     */
24922    EAPI Eina_Bool                  elm_flipselector_item_selected_get(const Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24923
24924    /**
24925     * Delete a given item from a flip selector widget.
24926     *
24927     * @param item The item to delete
24928     *
24929     * @ingroup Flipselector
24930     */
24931    EAPI void                       elm_flipselector_item_del(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24932
24933    /**
24934     * Get the label of a given flip selector widget's item.
24935     *
24936     * @param item The item to get label from
24937     * @return The text label of @p item or @c NULL, on errors
24938     *
24939     * @see elm_flipselector_item_label_set()
24940     *
24941     * @ingroup Flipselector
24942     */
24943    EAPI const char                *elm_flipselector_item_label_get(const Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24944
24945    /**
24946     * Set the label of a given flip selector widget's item.
24947     *
24948     * @param item The item to set label on
24949     * @param label The text label string, in UTF-8 encoding
24950     *
24951     * @see elm_flipselector_item_label_get()
24952     *
24953     * @ingroup Flipselector
24954     */
24955    EAPI void                       elm_flipselector_item_label_set(Elm_Flipselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
24956
24957    /**
24958     * Gets the item before @p item in a flip selector widget's
24959     * internal list of items.
24960     *
24961     * @param item The item to fetch previous from
24962     * @return The item before the @p item, in its parent's list. If
24963     *         there is no previous item for @p item or there's an
24964     *         error, @c NULL is returned.
24965     *
24966     * @see elm_flipselector_item_next_get()
24967     *
24968     * @ingroup Flipselector
24969     */
24970    EAPI Elm_Flipselector_Item     *elm_flipselector_item_prev_get(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24971
24972    /**
24973     * Gets the item after @p item in a flip selector widget's
24974     * internal list of items.
24975     *
24976     * @param item The item to fetch next from
24977     * @return The item after the @p item, in its parent's list. If
24978     *         there is no next item for @p item or there's an
24979     *         error, @c NULL is returned.
24980     *
24981     * @see elm_flipselector_item_next_get()
24982     *
24983     * @ingroup Flipselector
24984     */
24985    EAPI Elm_Flipselector_Item     *elm_flipselector_item_next_get(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24986
24987    /**
24988     * Set the interval on time updates for an user mouse button hold
24989     * on a flip selector widget.
24990     *
24991     * @param obj The flip selector object
24992     * @param interval The (first) interval value in seconds
24993     *
24994     * This interval value is @b decreased while the user holds the
24995     * mouse pointer either flipping up or flipping doww a given flip
24996     * selector.
24997     *
24998     * This helps the user to get to a given item distant from the
24999     * current one easier/faster, as it will start to flip quicker and
25000     * quicker on mouse button holds.
25001     *
25002     * The calculation for the next flip interval value, starting from
25003     * the one set with this call, is the previous interval divided by
25004     * 1.05, so it decreases a little bit.
25005     *
25006     * The default starting interval value for automatic flips is
25007     * @b 0.85 seconds.
25008     *
25009     * @see elm_flipselector_interval_get()
25010     *
25011     * @ingroup Flipselector
25012     */
25013    EAPI void                       elm_flipselector_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
25014
25015    /**
25016     * Get the interval on time updates for an user mouse button hold
25017     * on a flip selector widget.
25018     *
25019     * @param obj The flip selector object
25020     * @return The (first) interval value, in seconds, set on it
25021     *
25022     * @see elm_flipselector_interval_set() for more details
25023     *
25024     * @ingroup Flipselector
25025     */
25026    EAPI double                     elm_flipselector_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25027    /**
25028     * @}
25029     */
25030
25031    /**
25032     * @addtogroup Calendar
25033     * @{
25034     */
25035
25036    /**
25037     * @enum _Elm_Calendar_Mark_Repeat
25038     * @typedef Elm_Calendar_Mark_Repeat
25039     *
25040     * Event periodicity, used to define if a mark should be repeated
25041     * @b beyond event's day. It's set when a mark is added.
25042     *
25043     * So, for a mark added to 13th May with periodicity set to WEEKLY,
25044     * there will be marks every week after this date. Marks will be displayed
25045     * at 13th, 20th, 27th, 3rd June ...
25046     *
25047     * Values don't work as bitmask, only one can be choosen.
25048     *
25049     * @see elm_calendar_mark_add()
25050     *
25051     * @ingroup Calendar
25052     */
25053    typedef enum _Elm_Calendar_Mark_Repeat
25054      {
25055         ELM_CALENDAR_UNIQUE, /**< Default value. Marks will be displayed only on event day. */
25056         ELM_CALENDAR_DAILY, /**< Marks will be displayed everyday after event day (inclusive). */
25057         ELM_CALENDAR_WEEKLY, /**< Marks will be displayed every week after event day (inclusive) - i.e. each seven days. */
25058         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*/
25059         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. */
25060      } Elm_Calendar_Mark_Repeat;
25061
25062    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(). */
25063
25064    /**
25065     * Add a new calendar widget to the given parent Elementary
25066     * (container) object.
25067     *
25068     * @param parent The parent object.
25069     * @return a new calendar widget handle or @c NULL, on errors.
25070     *
25071     * This function inserts a new calendar widget on the canvas.
25072     *
25073     * @ref calendar_example_01
25074     *
25075     * @ingroup Calendar
25076     */
25077    EAPI Evas_Object       *elm_calendar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25078
25079    /**
25080     * Get weekdays names displayed by the calendar.
25081     *
25082     * @param obj The calendar object.
25083     * @return Array of seven strings to be used as weekday names.
25084     *
25085     * By default, weekdays abbreviations get from system are displayed:
25086     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
25087     * The first string is related to Sunday, the second to Monday...
25088     *
25089     * @see elm_calendar_weekdays_name_set()
25090     *
25091     * @ref calendar_example_05
25092     *
25093     * @ingroup Calendar
25094     */
25095    EAPI const char       **elm_calendar_weekdays_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25096
25097    /**
25098     * Set weekdays names to be displayed by the calendar.
25099     *
25100     * @param obj The calendar object.
25101     * @param weekdays Array of seven strings to be used as weekday names.
25102     * @warning It must have 7 elements, or it will access invalid memory.
25103     * @warning The strings must be NULL terminated ('@\0').
25104     *
25105     * By default, weekdays abbreviations get from system are displayed:
25106     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
25107     *
25108     * The first string should be related to Sunday, the second to Monday...
25109     *
25110     * The usage should be like this:
25111     * @code
25112     *   const char *weekdays[] =
25113     *   {
25114     *      "Sunday", "Monday", "Tuesday", "Wednesday",
25115     *      "Thursday", "Friday", "Saturday"
25116     *   };
25117     *   elm_calendar_weekdays_names_set(calendar, weekdays);
25118     * @endcode
25119     *
25120     * @see elm_calendar_weekdays_name_get()
25121     *
25122     * @ref calendar_example_02
25123     *
25124     * @ingroup Calendar
25125     */
25126    EAPI void               elm_calendar_weekdays_names_set(Evas_Object *obj, const char *weekdays[]) EINA_ARG_NONNULL(1, 2);
25127
25128    /**
25129     * Set the minimum and maximum values for the year
25130     *
25131     * @param obj The calendar object
25132     * @param min The minimum year, greater than 1901;
25133     * @param max The maximum year;
25134     *
25135     * Maximum must be greater than minimum, except if you don't wan't to set
25136     * maximum year.
25137     * Default values are 1902 and -1.
25138     *
25139     * If the maximum year is a negative value, it will be limited depending
25140     * on the platform architecture (year 2037 for 32 bits);
25141     *
25142     * @see elm_calendar_min_max_year_get()
25143     *
25144     * @ref calendar_example_03
25145     *
25146     * @ingroup Calendar
25147     */
25148    EAPI void               elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max) EINA_ARG_NONNULL(1);
25149
25150    /**
25151     * Get the minimum and maximum values for the year
25152     *
25153     * @param obj The calendar object.
25154     * @param min The minimum year.
25155     * @param max The maximum year.
25156     *
25157     * Default values are 1902 and -1.
25158     *
25159     * @see elm_calendar_min_max_year_get() for more details.
25160     *
25161     * @ref calendar_example_05
25162     *
25163     * @ingroup Calendar
25164     */
25165    EAPI void               elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max) EINA_ARG_NONNULL(1);
25166
25167    /**
25168     * Enable or disable day selection
25169     *
25170     * @param obj The calendar object.
25171     * @param enabled @c EINA_TRUE to enable selection or @c EINA_FALSE to
25172     * disable it.
25173     *
25174     * Enabled by default. If disabled, the user still can select months,
25175     * but not days. Selected days are highlighted on calendar.
25176     * It should be used if you won't need such selection for the widget usage.
25177     *
25178     * When a day is selected, or month is changed, smart callbacks for
25179     * signal "changed" will be called.
25180     *
25181     * @see elm_calendar_day_selection_enable_get()
25182     *
25183     * @ref calendar_example_04
25184     *
25185     * @ingroup Calendar
25186     */
25187    EAPI void               elm_calendar_day_selection_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
25188
25189    /**
25190     * Get a value whether day selection is enabled or not.
25191     *
25192     * @see elm_calendar_day_selection_enable_set() for details.
25193     *
25194     * @param obj The calendar object.
25195     * @return EINA_TRUE means day selection is enabled. EINA_FALSE indicates
25196     * it's disabled. If @p obj is NULL, EINA_FALSE is returned.
25197     *
25198     * @ref calendar_example_05
25199     *
25200     * @ingroup Calendar
25201     */
25202    EAPI Eina_Bool          elm_calendar_day_selection_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25203
25204
25205    /**
25206     * Set selected date to be highlighted on calendar.
25207     *
25208     * @param obj The calendar object.
25209     * @param selected_time A @b tm struct to represent the selected date.
25210     *
25211     * Set the selected date, changing the displayed month if needed.
25212     * Selected date changes when the user goes to next/previous month or
25213     * select a day pressing over it on calendar.
25214     *
25215     * @see elm_calendar_selected_time_get()
25216     *
25217     * @ref calendar_example_04
25218     *
25219     * @ingroup Calendar
25220     */
25221    EAPI void               elm_calendar_selected_time_set(Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1);
25222
25223    /**
25224     * Get selected date.
25225     *
25226     * @param obj The calendar object
25227     * @param selected_time A @b tm struct to point to selected date
25228     * @return EINA_FALSE means an error ocurred and returned time shouldn't
25229     * be considered.
25230     *
25231     * Get date selected by the user or set by function
25232     * elm_calendar_selected_time_set().
25233     * Selected date changes when the user goes to next/previous month or
25234     * select a day pressing over it on calendar.
25235     *
25236     * @see elm_calendar_selected_time_get()
25237     *
25238     * @ref calendar_example_05
25239     *
25240     * @ingroup Calendar
25241     */
25242    EAPI Eina_Bool          elm_calendar_selected_time_get(const Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1, 2);
25243
25244    /**
25245     * Set a function to format the string that will be used to display
25246     * month and year;
25247     *
25248     * @param obj The calendar object
25249     * @param format_function Function to set the month-year string given
25250     * the selected date
25251     *
25252     * By default it uses strftime with "%B %Y" format string.
25253     * It should allocate the memory that will be used by the string,
25254     * that will be freed by the widget after usage.
25255     * A pointer to the string and a pointer to the time struct will be provided.
25256     *
25257     * Example:
25258     * @code
25259     * static char *
25260     * _format_month_year(struct tm *selected_time)
25261     * {
25262     *    char buf[32];
25263     *    if (!strftime(buf, sizeof(buf), "%B %Y", selected_time)) return NULL;
25264     *    return strdup(buf);
25265     * }
25266     *
25267     * elm_calendar_format_function_set(calendar, _format_month_year);
25268     * @endcode
25269     *
25270     * @ref calendar_example_02
25271     *
25272     * @ingroup Calendar
25273     */
25274    EAPI void               elm_calendar_format_function_set(Evas_Object *obj, char * (*format_function) (struct tm *stime)) EINA_ARG_NONNULL(1);
25275
25276    /**
25277     * Add a new mark to the calendar
25278     *
25279     * @param obj The calendar object
25280     * @param mark_type A string used to define the type of mark. It will be
25281     * emitted to the theme, that should display a related modification on these
25282     * days representation.
25283     * @param mark_time A time struct to represent the date of inclusion of the
25284     * mark. For marks that repeats it will just be displayed after the inclusion
25285     * date in the calendar.
25286     * @param repeat Repeat the event following this periodicity. Can be a unique
25287     * mark (that don't repeat), daily, weekly, monthly or annually.
25288     * @return The created mark or @p NULL upon failure.
25289     *
25290     * Add a mark that will be drawn in the calendar respecting the insertion
25291     * time and periodicity. It will emit the type as signal to the widget theme.
25292     * Default theme supports "holiday" and "checked", but it can be extended.
25293     *
25294     * It won't immediately update the calendar, drawing the marks.
25295     * For this, call elm_calendar_marks_draw(). However, when user selects
25296     * next or previous month calendar forces marks drawn.
25297     *
25298     * Marks created with this method can be deleted with
25299     * elm_calendar_mark_del().
25300     *
25301     * Example
25302     * @code
25303     * struct tm selected_time;
25304     * time_t current_time;
25305     *
25306     * current_time = time(NULL) + 5 * 84600;
25307     * localtime_r(&current_time, &selected_time);
25308     * elm_calendar_mark_add(cal, "holiday", selected_time,
25309     *     ELM_CALENDAR_ANNUALLY);
25310     *
25311     * current_time = time(NULL) + 1 * 84600;
25312     * localtime_r(&current_time, &selected_time);
25313     * elm_calendar_mark_add(cal, "checked", selected_time, ELM_CALENDAR_UNIQUE);
25314     *
25315     * elm_calendar_marks_draw(cal);
25316     * @endcode
25317     *
25318     * @see elm_calendar_marks_draw()
25319     * @see elm_calendar_mark_del()
25320     *
25321     * @ref calendar_example_06
25322     *
25323     * @ingroup Calendar
25324     */
25325    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);
25326
25327    /**
25328     * Delete mark from the calendar.
25329     *
25330     * @param mark The mark to be deleted.
25331     *
25332     * If deleting all calendar marks is required, elm_calendar_marks_clear()
25333     * should be used instead of getting marks list and deleting each one.
25334     *
25335     * @see elm_calendar_mark_add()
25336     *
25337     * @ref calendar_example_06
25338     *
25339     * @ingroup Calendar
25340     */
25341    EAPI void               elm_calendar_mark_del(Elm_Calendar_Mark *mark) EINA_ARG_NONNULL(1);
25342
25343    /**
25344     * Remove all calendar's marks
25345     *
25346     * @param obj The calendar object.
25347     *
25348     * @see elm_calendar_mark_add()
25349     * @see elm_calendar_mark_del()
25350     *
25351     * @ingroup Calendar
25352     */
25353    EAPI void               elm_calendar_marks_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
25354
25355
25356    /**
25357     * Get a list of all the calendar marks.
25358     *
25359     * @param obj The calendar object.
25360     * @return An @c Eina_List of calendar marks objects, or @c NULL on failure.
25361     *
25362     * @see elm_calendar_mark_add()
25363     * @see elm_calendar_mark_del()
25364     * @see elm_calendar_marks_clear()
25365     *
25366     * @ingroup Calendar
25367     */
25368    EAPI const Eina_List   *elm_calendar_marks_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25369
25370    /**
25371     * Draw calendar marks.
25372     *
25373     * @param obj The calendar object.
25374     *
25375     * Should be used after adding, removing or clearing marks.
25376     * It will go through the entire marks list updating the calendar.
25377     * If lots of marks will be added, add all the marks and then call
25378     * this function.
25379     *
25380     * When the month is changed, i.e. user selects next or previous month,
25381     * marks will be drawed.
25382     *
25383     * @see elm_calendar_mark_add()
25384     * @see elm_calendar_mark_del()
25385     * @see elm_calendar_marks_clear()
25386     *
25387     * @ref calendar_example_06
25388     *
25389     * @ingroup Calendar
25390     */
25391    EAPI void               elm_calendar_marks_draw(Evas_Object *obj) EINA_ARG_NONNULL(1);
25392
25393    /**
25394     * Set a day text color to the same that represents Saturdays.
25395     *
25396     * @param obj The calendar object.
25397     * @param pos The text position. Position is the cell counter, from left
25398     * to right, up to down. It starts on 0 and ends on 41.
25399     *
25400     * @deprecated use elm_calendar_mark_add() instead like:
25401     *
25402     * @code
25403     * struct tm t = { 0, 0, 12, 6, 0, 0, 6, 6, -1 };
25404     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
25405     * @endcode
25406     *
25407     * @see elm_calendar_mark_add()
25408     *
25409     * @ingroup Calendar
25410     */
25411    EINA_DEPRECATED EAPI void               elm_calendar_text_saturday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
25412
25413    /**
25414     * Set a day text color to the same that represents Sundays.
25415     *
25416     * @param obj The calendar object.
25417     * @param pos The text position. Position is the cell counter, from left
25418     * to right, up to down. It starts on 0 and ends on 41.
25419
25420     * @deprecated use elm_calendar_mark_add() instead like:
25421     *
25422     * @code
25423     * struct tm t = { 0, 0, 12, 7, 0, 0, 0, 0, -1 };
25424     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
25425     * @endcode
25426     *
25427     * @see elm_calendar_mark_add()
25428     *
25429     * @ingroup Calendar
25430     */
25431    EINA_DEPRECATED EAPI void               elm_calendar_text_sunday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
25432
25433    /**
25434     * Set a day text color to the same that represents Weekdays.
25435     *
25436     * @param obj The calendar object
25437     * @param pos The text position. Position is the cell counter, from left
25438     * to right, up to down. It starts on 0 and ends on 41.
25439     *
25440     * @deprecated use elm_calendar_mark_add() instead like:
25441     *
25442     * @code
25443     * struct tm t = { 0, 0, 12, 1, 0, 0, 0, 0, -1 };
25444     *
25445     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // monday
25446     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25447     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // tuesday
25448     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25449     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // wednesday
25450     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25451     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // thursday
25452     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25453     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // friday
25454     * @endcode
25455     *
25456     * @see elm_calendar_mark_add()
25457     *
25458     * @ingroup Calendar
25459     */
25460    EINA_DEPRECATED EAPI void               elm_calendar_text_weekday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
25461
25462    /**
25463     * Set the interval on time updates for an user mouse button hold
25464     * on calendar widgets' month selection.
25465     *
25466     * @param obj The calendar object
25467     * @param interval The (first) interval value in seconds
25468     *
25469     * This interval value is @b decreased while the user holds the
25470     * mouse pointer either selecting next or previous month.
25471     *
25472     * This helps the user to get to a given month distant from the
25473     * current one easier/faster, as it will start to change quicker and
25474     * quicker on mouse button holds.
25475     *
25476     * The calculation for the next change interval value, starting from
25477     * the one set with this call, is the previous interval divided by
25478     * 1.05, so it decreases a little bit.
25479     *
25480     * The default starting interval value for automatic changes is
25481     * @b 0.85 seconds.
25482     *
25483     * @see elm_calendar_interval_get()
25484     *
25485     * @ingroup Calendar
25486     */
25487    EAPI void               elm_calendar_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
25488
25489    /**
25490     * Get the interval on time updates for an user mouse button hold
25491     * on calendar widgets' month selection.
25492     *
25493     * @param obj The calendar object
25494     * @return The (first) interval value, in seconds, set on it
25495     *
25496     * @see elm_calendar_interval_set() for more details
25497     *
25498     * @ingroup Calendar
25499     */
25500    EAPI double             elm_calendar_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25501
25502    /**
25503     * @}
25504     */
25505
25506    /**
25507     * @defgroup Diskselector Diskselector
25508     * @ingroup Elementary
25509     *
25510     * @image html img/widget/diskselector/preview-00.png
25511     * @image latex img/widget/diskselector/preview-00.eps
25512     *
25513     * A diskselector is a kind of list widget. It scrolls horizontally,
25514     * and can contain label and icon objects. Three items are displayed
25515     * with the selected one in the middle.
25516     *
25517     * It can act like a circular list with round mode and labels can be
25518     * reduced for a defined length for side items.
25519     *
25520     * Smart callbacks one can listen to:
25521     * - "selected" - when item is selected, i.e. scroller stops.
25522     *
25523     * Available styles for it:
25524     * - @c "default"
25525     *
25526     * List of examples:
25527     * @li @ref diskselector_example_01
25528     * @li @ref diskselector_example_02
25529     */
25530
25531    /**
25532     * @addtogroup Diskselector
25533     * @{
25534     */
25535
25536    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(). */
25537
25538    /**
25539     * Add a new diskselector widget to the given parent Elementary
25540     * (container) object.
25541     *
25542     * @param parent The parent object.
25543     * @return a new diskselector widget handle or @c NULL, on errors.
25544     *
25545     * This function inserts a new diskselector widget on the canvas.
25546     *
25547     * @ingroup Diskselector
25548     */
25549    EAPI Evas_Object           *elm_diskselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25550
25551    /**
25552     * Enable or disable round mode.
25553     *
25554     * @param obj The diskselector object.
25555     * @param round @c EINA_TRUE to enable round mode or @c EINA_FALSE to
25556     * disable it.
25557     *
25558     * Disabled by default. If round mode is enabled the items list will
25559     * work like a circle list, so when the user reaches the last item,
25560     * the first one will popup.
25561     *
25562     * @see elm_diskselector_round_get()
25563     *
25564     * @ingroup Diskselector
25565     */
25566    EAPI void                   elm_diskselector_round_set(Evas_Object *obj, Eina_Bool round) EINA_ARG_NONNULL(1);
25567
25568    /**
25569     * Get a value whether round mode is enabled or not.
25570     *
25571     * @see elm_diskselector_round_set() for details.
25572     *
25573     * @param obj The diskselector object.
25574     * @return @c EINA_TRUE means round mode is enabled. @c EINA_FALSE indicates
25575     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
25576     *
25577     * @ingroup Diskselector
25578     */
25579    EAPI Eina_Bool              elm_diskselector_round_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25580
25581    /**
25582     * Get the side labels max length.
25583     *
25584     * @deprecated use elm_diskselector_side_label_length_get() instead:
25585     *
25586     * @param obj The diskselector object.
25587     * @return The max length defined for side labels, or 0 if not a valid
25588     * diskselector.
25589     *
25590     * @ingroup Diskselector
25591     */
25592    EINA_DEPRECATED EAPI int    elm_diskselector_side_label_lenght_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25593
25594    /**
25595     * Set the side labels max length.
25596     *
25597     * @deprecated use elm_diskselector_side_label_length_set() instead:
25598     *
25599     * @param obj The diskselector object.
25600     * @param len The max length defined for side labels.
25601     *
25602     * @ingroup Diskselector
25603     */
25604    EINA_DEPRECATED EAPI void   elm_diskselector_side_label_lenght_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
25605
25606    /**
25607     * Get the side labels max length.
25608     *
25609     * @see elm_diskselector_side_label_length_set() for details.
25610     *
25611     * @param obj The diskselector object.
25612     * @return The max length defined for side labels, or 0 if not a valid
25613     * diskselector.
25614     *
25615     * @ingroup Diskselector
25616     */
25617    EAPI int                    elm_diskselector_side_label_length_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25618
25619    /**
25620     * Set the side labels max length.
25621     *
25622     * @param obj The diskselector object.
25623     * @param len The max length defined for side labels.
25624     *
25625     * Length is the number of characters of items' label that will be
25626     * visible when it's set on side positions. It will just crop
25627     * the string after defined size. E.g.:
25628     *
25629     * An item with label "January" would be displayed on side position as
25630     * "Jan" if max length is set to 3, or "Janu", if this property
25631     * is set to 4.
25632     *
25633     * When it's selected, the entire label will be displayed, except for
25634     * width restrictions. In this case label will be cropped and "..."
25635     * will be concatenated.
25636     *
25637     * Default side label max length is 3.
25638     *
25639     * This property will be applyed over all items, included before or
25640     * later this function call.
25641     *
25642     * @ingroup Diskselector
25643     */
25644    EAPI void                   elm_diskselector_side_label_length_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
25645
25646    /**
25647     * Set the number of items to be displayed.
25648     *
25649     * @param obj The diskselector object.
25650     * @param num The number of items the diskselector will display.
25651     *
25652     * Default value is 3, and also it's the minimun. If @p num is less
25653     * than 3, it will be set to 3.
25654     *
25655     * Also, it can be set on theme, using data item @c display_item_num
25656     * on group "elm/diskselector/item/X", where X is style set.
25657     * E.g.:
25658     *
25659     * group { name: "elm/diskselector/item/X";
25660     * data {
25661     *     item: "display_item_num" "5";
25662     *     }
25663     *
25664     * @ingroup Diskselector
25665     */
25666    EAPI void                   elm_diskselector_display_item_num_set(Evas_Object *obj, int num) EINA_ARG_NONNULL(1);
25667
25668    /**
25669     * Get the number of items in the diskselector object.
25670     *
25671     * @param obj The diskselector object.
25672     *
25673     * @ingroup Diskselector
25674     */
25675    EAPI int                   elm_diskselector_display_item_num_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25676
25677    /**
25678     * Set bouncing behaviour when the scrolled content reaches an edge.
25679     *
25680     * Tell the internal scroller object whether it should bounce or not
25681     * when it reaches the respective edges for each axis.
25682     *
25683     * @param obj The diskselector object.
25684     * @param h_bounce Whether to bounce or not in the horizontal axis.
25685     * @param v_bounce Whether to bounce or not in the vertical axis.
25686     *
25687     * @see elm_scroller_bounce_set()
25688     *
25689     * @ingroup Diskselector
25690     */
25691    EAPI void                   elm_diskselector_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
25692
25693    /**
25694     * Get the bouncing behaviour of the internal scroller.
25695     *
25696     * Get whether the internal scroller should bounce when the edge of each
25697     * axis is reached scrolling.
25698     *
25699     * @param obj The diskselector object.
25700     * @param h_bounce Pointer where to store the bounce state of the horizontal
25701     * axis.
25702     * @param v_bounce Pointer where to store the bounce state of the vertical
25703     * axis.
25704     *
25705     * @see elm_scroller_bounce_get()
25706     * @see elm_diskselector_bounce_set()
25707     *
25708     * @ingroup Diskselector
25709     */
25710    EAPI void                   elm_diskselector_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
25711
25712    /**
25713     * Get the scrollbar policy.
25714     *
25715     * @see elm_diskselector_scroller_policy_get() for details.
25716     *
25717     * @param obj The diskselector object.
25718     * @param policy_h Pointer where to store horizontal scrollbar policy.
25719     * @param policy_v Pointer where to store vertical scrollbar policy.
25720     *
25721     * @ingroup Diskselector
25722     */
25723    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);
25724
25725    /**
25726     * Set the scrollbar policy.
25727     *
25728     * @param obj The diskselector object.
25729     * @param policy_h Horizontal scrollbar policy.
25730     * @param policy_v Vertical scrollbar policy.
25731     *
25732     * This sets the scrollbar visibility policy for the given scroller.
25733     * #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
25734     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
25735     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
25736     * This applies respectively for the horizontal and vertical scrollbars.
25737     *
25738     * The both are disabled by default, i.e., are set to
25739     * #ELM_SCROLLER_POLICY_OFF.
25740     *
25741     * @ingroup Diskselector
25742     */
25743    EAPI void                   elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
25744
25745    /**
25746     * Remove all diskselector's items.
25747     *
25748     * @param obj The diskselector object.
25749     *
25750     * @see elm_diskselector_item_del()
25751     * @see elm_diskselector_item_append()
25752     *
25753     * @ingroup Diskselector
25754     */
25755    EAPI void                   elm_diskselector_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
25756
25757    /**
25758     * Get a list of all the diskselector items.
25759     *
25760     * @param obj The diskselector object.
25761     * @return An @c Eina_List of diskselector items, #Elm_Diskselector_Item,
25762     * or @c NULL on failure.
25763     *
25764     * @see elm_diskselector_item_append()
25765     * @see elm_diskselector_item_del()
25766     * @see elm_diskselector_clear()
25767     *
25768     * @ingroup Diskselector
25769     */
25770    EAPI const Eina_List       *elm_diskselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25771
25772    /**
25773     * Appends a new item to the diskselector object.
25774     *
25775     * @param obj The diskselector object.
25776     * @param label The label of the diskselector item.
25777     * @param icon The icon object to use at left side of the item. An
25778     * icon can be any Evas object, but usually it is an icon created
25779     * with elm_icon_add().
25780     * @param func The function to call when the item is selected.
25781     * @param data The data to associate with the item for related callbacks.
25782     *
25783     * @return The created item or @c NULL upon failure.
25784     *
25785     * A new item will be created and appended to the diskselector, i.e., will
25786     * be set as last item. Also, if there is no selected item, it will
25787     * be selected. This will always happens for the first appended item.
25788     *
25789     * If no icon is set, label will be centered on item position, otherwise
25790     * the icon will be placed at left of the label, that will be shifted
25791     * to the right.
25792     *
25793     * Items created with this method can be deleted with
25794     * elm_diskselector_item_del().
25795     *
25796     * Associated @p data can be properly freed when item is deleted if a
25797     * callback function is set with elm_diskselector_item_del_cb_set().
25798     *
25799     * If a function is passed as argument, it will be called everytime this item
25800     * is selected, i.e., the user stops the diskselector with this
25801     * item on center position. If such function isn't needed, just passing
25802     * @c NULL as @p func is enough. The same should be done for @p data.
25803     *
25804     * Simple example (with no function callback or data associated):
25805     * @code
25806     * disk = elm_diskselector_add(win);
25807     * ic = elm_icon_add(win);
25808     * elm_icon_file_set(ic, "path/to/image", NULL);
25809     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
25810     * elm_diskselector_item_append(disk, "label", ic, NULL, NULL);
25811     * @endcode
25812     *
25813     * @see elm_diskselector_item_del()
25814     * @see elm_diskselector_item_del_cb_set()
25815     * @see elm_diskselector_clear()
25816     * @see elm_icon_add()
25817     *
25818     * @ingroup Diskselector
25819     */
25820    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);
25821
25822
25823    /**
25824     * Delete them item from the diskselector.
25825     *
25826     * @param it The item of diskselector to be deleted.
25827     *
25828     * If deleting all diskselector items is required, elm_diskselector_clear()
25829     * should be used instead of getting items list and deleting each one.
25830     *
25831     * @see elm_diskselector_clear()
25832     * @see elm_diskselector_item_append()
25833     * @see elm_diskselector_item_del_cb_set()
25834     *
25835     * @ingroup Diskselector
25836     */
25837    EAPI void                   elm_diskselector_item_del(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25838
25839    /**
25840     * Set the function called when a diskselector item is freed.
25841     *
25842     * @param it The item to set the callback on
25843     * @param func The function called
25844     *
25845     * If there is a @p func, then it will be called prior item's memory release.
25846     * That will be called with the following arguments:
25847     * @li item's data;
25848     * @li item's Evas object;
25849     * @li item itself;
25850     *
25851     * This way, a data associated to a diskselector item could be properly
25852     * freed.
25853     *
25854     * @ingroup Diskselector
25855     */
25856    EAPI void                   elm_diskselector_item_del_cb_set(Elm_Diskselector_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
25857
25858    /**
25859     * Get the data associated to the item.
25860     *
25861     * @param it The diskselector item
25862     * @return The data associated to @p it
25863     *
25864     * The return value is a pointer to data associated to @p item when it was
25865     * created, with function elm_diskselector_item_append(). If no data
25866     * was passed as argument, it will return @c NULL.
25867     *
25868     * @see elm_diskselector_item_append()
25869     *
25870     * @ingroup Diskselector
25871     */
25872    EAPI void                  *elm_diskselector_item_data_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25873
25874    /**
25875     * Set the icon associated to the item.
25876     *
25877     * @param it The diskselector item
25878     * @param icon The icon object to associate with @p it
25879     *
25880     * The icon object to use at left side of the item. An
25881     * icon can be any Evas object, but usually it is an icon created
25882     * with elm_icon_add().
25883     *
25884     * Once the icon object is set, a previously set one will be deleted.
25885     * @warning Setting the same icon for two items will cause the icon to
25886     * dissapear from the first item.
25887     *
25888     * If an icon was passed as argument on item creation, with function
25889     * elm_diskselector_item_append(), it will be already
25890     * associated to the item.
25891     *
25892     * @see elm_diskselector_item_append()
25893     * @see elm_diskselector_item_icon_get()
25894     *
25895     * @ingroup Diskselector
25896     */
25897    EAPI void                   elm_diskselector_item_icon_set(Elm_Diskselector_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
25898
25899    /**
25900     * Get the icon associated to the item.
25901     *
25902     * @param it The diskselector item
25903     * @return The icon associated to @p it
25904     *
25905     * The return value is a pointer to the icon associated to @p item when it was
25906     * created, with function elm_diskselector_item_append(), or later
25907     * with function elm_diskselector_item_icon_set. If no icon
25908     * was passed as argument, it will return @c NULL.
25909     *
25910     * @see elm_diskselector_item_append()
25911     * @see elm_diskselector_item_icon_set()
25912     *
25913     * @ingroup Diskselector
25914     */
25915    EAPI Evas_Object           *elm_diskselector_item_icon_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25916
25917    /**
25918     * Set the label of item.
25919     *
25920     * @param it The item of diskselector.
25921     * @param label The label of item.
25922     *
25923     * The label to be displayed by the item.
25924     *
25925     * If no icon is set, label will be centered on item position, otherwise
25926     * the icon will be placed at left of the label, that will be shifted
25927     * to the right.
25928     *
25929     * An item with label "January" would be displayed on side position as
25930     * "Jan" if max length is set to 3 with function
25931     * elm_diskselector_side_label_lenght_set(), or "Janu", if this property
25932     * is set to 4.
25933     *
25934     * When this @p item is selected, the entire label will be displayed,
25935     * except for width restrictions.
25936     * In this case label will be cropped and "..." will be concatenated,
25937     * but only for display purposes. It will keep the entire string, so
25938     * if diskselector is resized the remaining characters will be displayed.
25939     *
25940     * If a label was passed as argument on item creation, with function
25941     * elm_diskselector_item_append(), it will be already
25942     * displayed by the item.
25943     *
25944     * @see elm_diskselector_side_label_lenght_set()
25945     * @see elm_diskselector_item_label_get()
25946     * @see elm_diskselector_item_append()
25947     *
25948     * @ingroup Diskselector
25949     */
25950    EAPI void                   elm_diskselector_item_label_set(Elm_Diskselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
25951
25952    /**
25953     * Get the label of item.
25954     *
25955     * @param it The item of diskselector.
25956     * @return The label of item.
25957     *
25958     * The return value is a pointer to the label associated to @p item when it was
25959     * created, with function elm_diskselector_item_append(), or later
25960     * with function elm_diskselector_item_label_set. If no label
25961     * was passed as argument, it will return @c NULL.
25962     *
25963     * @see elm_diskselector_item_label_set() for more details.
25964     * @see elm_diskselector_item_append()
25965     *
25966     * @ingroup Diskselector
25967     */
25968    EAPI const char            *elm_diskselector_item_label_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25969
25970    /**
25971     * Get the selected item.
25972     *
25973     * @param obj The diskselector object.
25974     * @return The selected diskselector item.
25975     *
25976     * The selected item can be unselected with function
25977     * elm_diskselector_item_selected_set(), and the first item of
25978     * diskselector will be selected.
25979     *
25980     * The selected item always will be centered on diskselector, with
25981     * full label displayed, i.e., max lenght set to side labels won't
25982     * apply on the selected item. More details on
25983     * elm_diskselector_side_label_length_set().
25984     *
25985     * @ingroup Diskselector
25986     */
25987    EAPI Elm_Diskselector_Item *elm_diskselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25988
25989    /**
25990     * Set the selected state of an item.
25991     *
25992     * @param it The diskselector item
25993     * @param selected The selected state
25994     *
25995     * This sets the selected state of the given item @p it.
25996     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
25997     *
25998     * If a new item is selected the previosly selected will be unselected.
25999     * Previoulsy selected item can be get with function
26000     * elm_diskselector_selected_item_get().
26001     *
26002     * If the item @p it is unselected, the first item of diskselector will
26003     * be selected.
26004     *
26005     * Selected items will be visible on center position of diskselector.
26006     * So if it was on another position before selected, or was invisible,
26007     * diskselector will animate items until the selected item reaches center
26008     * position.
26009     *
26010     * @see elm_diskselector_item_selected_get()
26011     * @see elm_diskselector_selected_item_get()
26012     *
26013     * @ingroup Diskselector
26014     */
26015    EAPI void                   elm_diskselector_item_selected_set(Elm_Diskselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
26016
26017    /*
26018     * Get whether the @p item is selected or not.
26019     *
26020     * @param it The diskselector item.
26021     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
26022     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
26023     *
26024     * @see elm_diskselector_selected_item_set() for details.
26025     * @see elm_diskselector_item_selected_get()
26026     *
26027     * @ingroup Diskselector
26028     */
26029    EAPI Eina_Bool              elm_diskselector_item_selected_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26030
26031    /**
26032     * Get the first item of the diskselector.
26033     *
26034     * @param obj The diskselector object.
26035     * @return The first item, or @c NULL if none.
26036     *
26037     * The list of items follows append order. So it will return the first
26038     * item appended to the widget that wasn't deleted.
26039     *
26040     * @see elm_diskselector_item_append()
26041     * @see elm_diskselector_items_get()
26042     *
26043     * @ingroup Diskselector
26044     */
26045    EAPI Elm_Diskselector_Item *elm_diskselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26046
26047    /**
26048     * Get the last item of the diskselector.
26049     *
26050     * @param obj The diskselector object.
26051     * @return The last item, or @c NULL if none.
26052     *
26053     * The list of items follows append order. So it will return last first
26054     * item appended to the widget that wasn't deleted.
26055     *
26056     * @see elm_diskselector_item_append()
26057     * @see elm_diskselector_items_get()
26058     *
26059     * @ingroup Diskselector
26060     */
26061    EAPI Elm_Diskselector_Item *elm_diskselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26062
26063    /**
26064     * Get the item before @p item in diskselector.
26065     *
26066     * @param it The diskselector item.
26067     * @return The item before @p item, or @c NULL if none or on failure.
26068     *
26069     * The list of items follows append order. So it will return item appended
26070     * just before @p item and that wasn't deleted.
26071     *
26072     * If it is the first item, @c NULL will be returned.
26073     * First item can be get by elm_diskselector_first_item_get().
26074     *
26075     * @see elm_diskselector_item_append()
26076     * @see elm_diskselector_items_get()
26077     *
26078     * @ingroup Diskselector
26079     */
26080    EAPI Elm_Diskselector_Item *elm_diskselector_item_prev_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26081
26082    /**
26083     * Get the item after @p item in diskselector.
26084     *
26085     * @param it The diskselector item.
26086     * @return The item after @p item, or @c NULL if none or on failure.
26087     *
26088     * The list of items follows append order. So it will return item appended
26089     * just after @p item and that wasn't deleted.
26090     *
26091     * If it is the last item, @c NULL will be returned.
26092     * Last item can be get by elm_diskselector_last_item_get().
26093     *
26094     * @see elm_diskselector_item_append()
26095     * @see elm_diskselector_items_get()
26096     *
26097     * @ingroup Diskselector
26098     */
26099    EAPI Elm_Diskselector_Item *elm_diskselector_item_next_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26100
26101    /**
26102     * Set the text to be shown in the diskselector item.
26103     *
26104     * @param item Target item
26105     * @param text The text to set in the content
26106     *
26107     * Setup the text as tooltip to object. The item can have only one tooltip,
26108     * so any previous tooltip data is removed.
26109     *
26110     * @see elm_object_tooltip_text_set() for more details.
26111     *
26112     * @ingroup Diskselector
26113     */
26114    EAPI void                   elm_diskselector_item_tooltip_text_set(Elm_Diskselector_Item *item, const char *text) EINA_ARG_NONNULL(1);
26115
26116    /**
26117     * Set the content to be shown in the tooltip item.
26118     *
26119     * Setup the tooltip to item. The item can have only one tooltip,
26120     * so any previous tooltip data is removed. @p func(with @p data) will
26121     * be called every time that need show the tooltip and it should
26122     * return a valid Evas_Object. This object is then managed fully by
26123     * tooltip system and is deleted when the tooltip is gone.
26124     *
26125     * @param item the diskselector item being attached a tooltip.
26126     * @param func the function used to create the tooltip contents.
26127     * @param data what to provide to @a func as callback data/context.
26128     * @param del_cb called when data is not needed anymore, either when
26129     *        another callback replaces @p func, the tooltip is unset with
26130     *        elm_diskselector_item_tooltip_unset() or the owner @a item
26131     *        dies. This callback receives as the first parameter the
26132     *        given @a data, and @c event_info is the item.
26133     *
26134     * @see elm_object_tooltip_content_cb_set() for more details.
26135     *
26136     * @ingroup Diskselector
26137     */
26138    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);
26139
26140    /**
26141     * Unset tooltip from item.
26142     *
26143     * @param item diskselector item to remove previously set tooltip.
26144     *
26145     * Remove tooltip from item. The callback provided as del_cb to
26146     * elm_diskselector_item_tooltip_content_cb_set() will be called to notify
26147     * it is not used anymore.
26148     *
26149     * @see elm_object_tooltip_unset() for more details.
26150     * @see elm_diskselector_item_tooltip_content_cb_set()
26151     *
26152     * @ingroup Diskselector
26153     */
26154    EAPI void                   elm_diskselector_item_tooltip_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26155
26156
26157    /**
26158     * Sets a different style for this item tooltip.
26159     *
26160     * @note before you set a style you should define a tooltip with
26161     *       elm_diskselector_item_tooltip_content_cb_set() or
26162     *       elm_diskselector_item_tooltip_text_set()
26163     *
26164     * @param item diskselector item with tooltip already set.
26165     * @param style the theme style to use (default, transparent, ...)
26166     *
26167     * @see elm_object_tooltip_style_set() for more details.
26168     *
26169     * @ingroup Diskselector
26170     */
26171    EAPI void                   elm_diskselector_item_tooltip_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
26172
26173    /**
26174     * Get the style for this item tooltip.
26175     *
26176     * @param item diskselector item with tooltip already set.
26177     * @return style the theme style in use, defaults to "default". If the
26178     *         object does not have a tooltip set, then NULL is returned.
26179     *
26180     * @see elm_object_tooltip_style_get() for more details.
26181     * @see elm_diskselector_item_tooltip_style_set()
26182     *
26183     * @ingroup Diskselector
26184     */
26185    EAPI const char            *elm_diskselector_item_tooltip_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26186
26187    /**
26188     * Set the cursor to be shown when mouse is over the diskselector item
26189     *
26190     * @param item Target item
26191     * @param cursor the cursor name to be used.
26192     *
26193     * @see elm_object_cursor_set() for more details.
26194     *
26195     * @ingroup Diskselector
26196     */
26197    EAPI void                   elm_diskselector_item_cursor_set(Elm_Diskselector_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
26198
26199    /**
26200     * Get the cursor to be shown when mouse is over the diskselector item
26201     *
26202     * @param item diskselector item with cursor already set.
26203     * @return the cursor name.
26204     *
26205     * @see elm_object_cursor_get() for more details.
26206     * @see elm_diskselector_cursor_set()
26207     *
26208     * @ingroup Diskselector
26209     */
26210    EAPI const char            *elm_diskselector_item_cursor_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26211
26212
26213    /**
26214     * Unset the cursor to be shown when mouse is over the diskselector item
26215     *
26216     * @param item Target item
26217     *
26218     * @see elm_object_cursor_unset() for more details.
26219     * @see elm_diskselector_cursor_set()
26220     *
26221     * @ingroup Diskselector
26222     */
26223    EAPI void                   elm_diskselector_item_cursor_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26224
26225    /**
26226     * Sets a different style for this item cursor.
26227     *
26228     * @note before you set a style you should define a cursor with
26229     *       elm_diskselector_item_cursor_set()
26230     *
26231     * @param item diskselector item with cursor already set.
26232     * @param style the theme style to use (default, transparent, ...)
26233     *
26234     * @see elm_object_cursor_style_set() for more details.
26235     *
26236     * @ingroup Diskselector
26237     */
26238    EAPI void                   elm_diskselector_item_cursor_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
26239
26240
26241    /**
26242     * Get the style for this item cursor.
26243     *
26244     * @param item diskselector item with cursor already set.
26245     * @return style the theme style in use, defaults to "default". If the
26246     *         object does not have a cursor set, then @c NULL is returned.
26247     *
26248     * @see elm_object_cursor_style_get() for more details.
26249     * @see elm_diskselector_item_cursor_style_set()
26250     *
26251     * @ingroup Diskselector
26252     */
26253    EAPI const char            *elm_diskselector_item_cursor_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26254
26255
26256    /**
26257     * Set if the cursor set should be searched on the theme or should use
26258     * the provided by the engine, only.
26259     *
26260     * @note before you set if should look on theme you should define a cursor
26261     * with elm_diskselector_item_cursor_set().
26262     * By default it will only look for cursors provided by the engine.
26263     *
26264     * @param item widget item with cursor already set.
26265     * @param engine_only boolean to define if cursors set with
26266     * elm_diskselector_item_cursor_set() should be searched only
26267     * between cursors provided by the engine or searched on widget's
26268     * theme as well.
26269     *
26270     * @see elm_object_cursor_engine_only_set() for more details.
26271     *
26272     * @ingroup Diskselector
26273     */
26274    EAPI void                   elm_diskselector_item_cursor_engine_only_set(Elm_Diskselector_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
26275
26276    /**
26277     * Get the cursor engine only usage for this item cursor.
26278     *
26279     * @param item widget item with cursor already set.
26280     * @return engine_only boolean to define it cursors should be looked only
26281     * between the provided by the engine or searched on widget's theme as well.
26282     * If the item does not have a cursor set, then @c EINA_FALSE is returned.
26283     *
26284     * @see elm_object_cursor_engine_only_get() for more details.
26285     * @see elm_diskselector_item_cursor_engine_only_set()
26286     *
26287     * @ingroup Diskselector
26288     */
26289    EAPI Eina_Bool              elm_diskselector_item_cursor_engine_only_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26290
26291    /**
26292     * @}
26293     */
26294
26295    /**
26296     * @defgroup Colorselector Colorselector
26297     *
26298     * @{
26299     *
26300     * @image html img/widget/colorselector/preview-00.png
26301     * @image latex img/widget/colorselector/preview-00.eps
26302     *
26303     * @brief Widget for user to select a color.
26304     *
26305     * Signals that you can add callbacks for are:
26306     * "changed" - When the color value changes(event_info is NULL).
26307     *
26308     * See @ref tutorial_colorselector.
26309     */
26310    /**
26311     * @brief Add a new colorselector to the parent
26312     *
26313     * @param parent The parent object
26314     * @return The new object or NULL if it cannot be created
26315     *
26316     * @ingroup Colorselector
26317     */
26318    EAPI Evas_Object *elm_colorselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
26319    /**
26320     * Set a color for the colorselector
26321     *
26322     * @param obj   Colorselector object
26323     * @param r     r-value of color
26324     * @param g     g-value of color
26325     * @param b     b-value of color
26326     * @param a     a-value of color
26327     *
26328     * @ingroup Colorselector
26329     */
26330    EAPI void         elm_colorselector_color_set(Evas_Object *obj, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
26331    /**
26332     * Get a color from the colorselector
26333     *
26334     * @param obj   Colorselector object
26335     * @param r     integer pointer for r-value of color
26336     * @param g     integer pointer for g-value of color
26337     * @param b     integer pointer for b-value of color
26338     * @param a     integer pointer for a-value of color
26339     *
26340     * @ingroup Colorselector
26341     */
26342    EAPI void         elm_colorselector_color_get(const Evas_Object *obj, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
26343    /**
26344     * @}
26345     */
26346
26347    /**
26348     * @defgroup Ctxpopup Ctxpopup
26349     *
26350     * @image html img/widget/ctxpopup/preview-00.png
26351     * @image latex img/widget/ctxpopup/preview-00.eps
26352     *
26353     * @brief Context popup widet.
26354     *
26355     * A ctxpopup is a widget that, when shown, pops up a list of items.
26356     * It automatically chooses an area inside its parent object's view
26357     * (set via elm_ctxpopup_add() and elm_ctxpopup_hover_parent_set()) to
26358     * optimally fit into it. In the default theme, it will also point an
26359     * arrow to it's top left position at the time one shows it. Ctxpopup
26360     * items have a label and/or an icon. It is intended for a small
26361     * number of items (hence the use of list, not genlist).
26362     *
26363     * @note Ctxpopup is a especialization of @ref Hover.
26364     *
26365     * Signals that you can add callbacks for are:
26366     * "dismissed" - the ctxpopup was dismissed
26367     *
26368     * Default contents parts of the ctxpopup widget that you can use for are:
26369     * @li "elm.swallow.content" - A content of the ctxpopup
26370     *
26371     * @ref tutorial_ctxpopup shows the usage of a good deal of the API.
26372     * @{
26373     */
26374    typedef enum _Elm_Ctxpopup_Direction
26375      {
26376         ELM_CTXPOPUP_DIRECTION_DOWN, /**< ctxpopup show appear below clicked
26377                                           area */
26378         ELM_CTXPOPUP_DIRECTION_RIGHT, /**< ctxpopup show appear to the right of
26379                                            the clicked area */
26380         ELM_CTXPOPUP_DIRECTION_LEFT, /**< ctxpopup show appear to the left of
26381                                           the clicked area */
26382         ELM_CTXPOPUP_DIRECTION_UP, /**< ctxpopup show appear above the clicked
26383                                         area */
26384         ELM_CTXPOPUP_DIRECTION_UNKNOWN, /**< ctxpopup does not determine it's direction yet*/
26385      } Elm_Ctxpopup_Direction;
26386
26387    /**
26388     * @brief Add a new Ctxpopup object to the parent.
26389     *
26390     * @param parent Parent object
26391     * @return New object or @c NULL, if it cannot be created
26392     */
26393    EAPI Evas_Object  *elm_ctxpopup_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
26394    /**
26395     * @brief Set the Ctxpopup's parent
26396     *
26397     * @param obj The ctxpopup object
26398     * @param area The parent to use
26399     *
26400     * Set the parent object.
26401     *
26402     * @note elm_ctxpopup_add() will automatically call this function
26403     * with its @c parent argument.
26404     *
26405     * @see elm_ctxpopup_add()
26406     * @see elm_hover_parent_set()
26407     */
26408    EAPI void          elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1, 2);
26409    /**
26410     * @brief Get the Ctxpopup's parent
26411     *
26412     * @param obj The ctxpopup object
26413     *
26414     * @see elm_ctxpopup_hover_parent_set() for more information
26415     */
26416    EAPI Evas_Object  *elm_ctxpopup_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26417    /**
26418     * @brief Clear all items in the given ctxpopup object.
26419     *
26420     * @param obj Ctxpopup object
26421     */
26422    EAPI void          elm_ctxpopup_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
26423    /**
26424     * @brief Change the ctxpopup's orientation to horizontal or vertical.
26425     *
26426     * @param obj Ctxpopup object
26427     * @param horizontal @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical
26428     */
26429    EAPI void          elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
26430    /**
26431     * @brief Get the value of current ctxpopup object's orientation.
26432     *
26433     * @param obj Ctxpopup object
26434     * @return @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical mode (or errors)
26435     *
26436     * @see elm_ctxpopup_horizontal_set()
26437     */
26438    EAPI Eina_Bool     elm_ctxpopup_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26439    /**
26440     * @brief Add a new item to a ctxpopup object.
26441     *
26442     * @param obj Ctxpopup object
26443     * @param icon Icon to be set on new item
26444     * @param label The Label of the new item
26445     * @param func Convenience function called when item selected
26446     * @param data Data passed to @p func
26447     * @return A handle to the item added or @c NULL, on errors
26448     *
26449     * @warning Ctxpopup can't hold both an item list and a content at the same
26450     * time. When an item is added, any previous content will be removed.
26451     *
26452     * @see elm_ctxpopup_content_set()
26453     */
26454    Elm_Object_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);
26455    /**
26456     * @brief Delete the given item in a ctxpopup object.
26457     *
26458     * @param it Ctxpopup item to be deleted
26459     *
26460     * @see elm_ctxpopup_item_append()
26461     */
26462    EAPI void          elm_ctxpopup_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26463    /**
26464     * @brief Set the ctxpopup item's state as disabled or enabled.
26465     *
26466     * @param it Ctxpopup item to be enabled/disabled
26467     * @param disabled @c EINA_TRUE to disable it, @c EINA_FALSE to enable it
26468     *
26469     * When disabled the item is greyed out to indicate it's state.
26470     */
26471    EAPI void          elm_ctxpopup_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
26472    /**
26473     * @brief Get the ctxpopup item's disabled/enabled state.
26474     *
26475     * @param it Ctxpopup item to be enabled/disabled
26476     * @return disabled @c EINA_TRUE, if disabled, @c EINA_FALSE otherwise
26477     *
26478     * @see elm_ctxpopup_item_disabled_set()
26479     */
26480    EAPI Eina_Bool     elm_ctxpopup_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26481    /**
26482     * @brief Get the icon object for the given ctxpopup item.
26483     *
26484     * @param it Ctxpopup item
26485     * @return icon object or @c NULL, if the item does not have icon or an error
26486     * occurred
26487     *
26488     * @see elm_ctxpopup_item_append()
26489     * @see elm_ctxpopup_item_icon_set()
26490     */
26491    EAPI Evas_Object  *elm_ctxpopup_item_icon_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26492    /**
26493     * @brief Sets the side icon associated with the ctxpopup item
26494     *
26495     * @param it Ctxpopup item
26496     * @param icon Icon object to be set
26497     *
26498     * Once the icon object is set, a previously set one will be deleted.
26499     * @warning Setting the same icon for two items will cause the icon to
26500     * dissapear from the first item.
26501     *
26502     * @see elm_ctxpopup_item_append()
26503     */
26504    EAPI void          elm_ctxpopup_item_icon_set(Elm_Object_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
26505    /**
26506     * @brief Get the label for the given ctxpopup item.
26507     *
26508     * @param it Ctxpopup item
26509     * @return label string or @c NULL, if the item does not have label or an
26510     * error occured
26511     *
26512     * @see elm_ctxpopup_item_append()
26513     * @see elm_ctxpopup_item_label_set()
26514     */
26515    EAPI const char   *elm_ctxpopup_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26516    /**
26517     * @brief (Re)set the label on the given ctxpopup item.
26518     *
26519     * @param it Ctxpopup item
26520     * @param label String to set as label
26521     */
26522    EAPI void          elm_ctxpopup_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
26523    /**
26524     * @brief Set an elm widget as the content of the ctxpopup.
26525     *
26526     * @param obj Ctxpopup object
26527     * @param content Content to be swallowed
26528     *
26529     * If the content object is already set, a previous one will bedeleted. If
26530     * you want to keep that old content object, use the
26531     * elm_ctxpopup_content_unset() function.
26532     *
26533     * @deprecated use elm_object_content_set()
26534     *
26535     * @warning Ctxpopup can't hold both a item list and a content at the same
26536     * time. When a content is set, any previous items will be removed.
26537     */
26538    EINA_DEPRECATED EAPI void          elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1, 2);
26539    /**
26540     * @brief Unset the ctxpopup content
26541     *
26542     * @param obj Ctxpopup object
26543     * @return The content that was being used
26544     *
26545     * Unparent and return the content object which was set for this widget.
26546     *
26547     * @deprecated use elm_object_content_unset()
26548     *
26549     * @see elm_ctxpopup_content_set()
26550     */
26551    EINA_DEPRECATED EAPI Evas_Object  *elm_ctxpopup_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
26552    /**
26553     * @brief Set the direction priority of a ctxpopup.
26554     *
26555     * @param obj Ctxpopup object
26556     * @param first 1st priority of direction
26557     * @param second 2nd priority of direction
26558     * @param third 3th priority of direction
26559     * @param fourth 4th priority of direction
26560     *
26561     * This functions gives a chance to user to set the priority of ctxpopup
26562     * showing direction. This doesn't guarantee the ctxpopup will appear in the
26563     * requested direction.
26564     *
26565     * @see Elm_Ctxpopup_Direction
26566     */
26567    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);
26568    /**
26569     * @brief Get the direction priority of a ctxpopup.
26570     *
26571     * @param obj Ctxpopup object
26572     * @param first 1st priority of direction to be returned
26573     * @param second 2nd priority of direction to be returned
26574     * @param third 3th priority of direction to be returned
26575     * @param fourth 4th priority of direction to be returned
26576     *
26577     * @see elm_ctxpopup_direction_priority_set() for more information.
26578     */
26579    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);
26580
26581    /**
26582     * @brief Get the current direction of a ctxpopup.
26583     *
26584     * @param obj Ctxpopup object
26585     * @return current direction of a ctxpopup
26586     *
26587     * @warning Once the ctxpopup showed up, the direction would be determined
26588     */
26589    EAPI Elm_Ctxpopup_Direction elm_ctxpopup_direction_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26590
26591    /**
26592     * @}
26593     */
26594
26595    /* transit */
26596    /**
26597     *
26598     * @defgroup Transit Transit
26599     * @ingroup Elementary
26600     *
26601     * Transit is designed to apply various animated transition effects to @c
26602     * Evas_Object, such like translation, rotation, etc. For using these
26603     * effects, create an @ref Elm_Transit and add the desired transition effects.
26604     *
26605     * Once the effects are added into transit, they will be automatically
26606     * managed (their callback will be called until the duration is ended, and
26607     * they will be deleted on completion).
26608     *
26609     * Example:
26610     * @code
26611     * Elm_Transit *trans = elm_transit_add();
26612     * elm_transit_object_add(trans, obj);
26613     * elm_transit_effect_translation_add(trans, 0, 0, 280, 280
26614     * elm_transit_duration_set(transit, 1);
26615     * elm_transit_auto_reverse_set(transit, EINA_TRUE);
26616     * elm_transit_tween_mode_set(transit, ELM_TRANSIT_TWEEN_MODE_DECELERATE);
26617     * elm_transit_repeat_times_set(transit, 3);
26618     * @endcode
26619     *
26620     * Some transition effects are used to change the properties of objects. They
26621     * are:
26622     * @li @ref elm_transit_effect_translation_add
26623     * @li @ref elm_transit_effect_color_add
26624     * @li @ref elm_transit_effect_rotation_add
26625     * @li @ref elm_transit_effect_wipe_add
26626     * @li @ref elm_transit_effect_zoom_add
26627     * @li @ref elm_transit_effect_resizing_add
26628     *
26629     * Other transition effects are used to make one object disappear and another
26630     * object appear on its old place. These effects are:
26631     *
26632     * @li @ref elm_transit_effect_flip_add
26633     * @li @ref elm_transit_effect_resizable_flip_add
26634     * @li @ref elm_transit_effect_fade_add
26635     * @li @ref elm_transit_effect_blend_add
26636     *
26637     * It's also possible to make a transition chain with @ref
26638     * elm_transit_chain_transit_add.
26639     *
26640     * @warning We strongly recommend to use elm_transit just when edje can not do
26641     * the trick. Edje has more advantage than Elm_Transit, it has more flexibility and
26642     * animations can be manipulated inside the theme.
26643     *
26644     * List of examples:
26645     * @li @ref transit_example_01_explained
26646     * @li @ref transit_example_02_explained
26647     * @li @ref transit_example_03_c
26648     * @li @ref transit_example_04_c
26649     *
26650     * @{
26651     */
26652
26653    /**
26654     * @enum Elm_Transit_Tween_Mode
26655     *
26656     * The type of acceleration used in the transition.
26657     */
26658    typedef enum
26659      {
26660         ELM_TRANSIT_TWEEN_MODE_LINEAR, /**< Constant speed */
26661         ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL, /**< Starts slow, increase speed
26662                                              over time, then decrease again
26663                                              and stop slowly */
26664         ELM_TRANSIT_TWEEN_MODE_DECELERATE, /**< Starts fast and decrease
26665                                              speed over time */
26666         ELM_TRANSIT_TWEEN_MODE_ACCELERATE /**< Starts slow and increase speed
26667                                             over time */
26668      } Elm_Transit_Tween_Mode;
26669
26670    /**
26671     * @enum Elm_Transit_Effect_Flip_Axis
26672     *
26673     * The axis where flip effect should be applied.
26674     */
26675    typedef enum
26676      {
26677         ELM_TRANSIT_EFFECT_FLIP_AXIS_X, /**< Flip on X axis */
26678         ELM_TRANSIT_EFFECT_FLIP_AXIS_Y /**< Flip on Y axis */
26679      } Elm_Transit_Effect_Flip_Axis;
26680    /**
26681     * @enum Elm_Transit_Effect_Wipe_Dir
26682     *
26683     * The direction where the wipe effect should occur.
26684     */
26685    typedef enum
26686      {
26687         ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT, /**< Wipe to the left */
26688         ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT, /**< Wipe to the right */
26689         ELM_TRANSIT_EFFECT_WIPE_DIR_UP, /**< Wipe up */
26690         ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN /**< Wipe down */
26691      } Elm_Transit_Effect_Wipe_Dir;
26692    /** @enum Elm_Transit_Effect_Wipe_Type
26693     *
26694     * Whether the wipe effect should show or hide the object.
26695     */
26696    typedef enum
26697      {
26698         ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE, /**< Hide the object during the
26699                                              animation */
26700         ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW /**< Show the object during the
26701                                             animation */
26702      } Elm_Transit_Effect_Wipe_Type;
26703
26704    /**
26705     * @typedef Elm_Transit
26706     *
26707     * The Transit created with elm_transit_add(). This type has the information
26708     * about the objects which the transition will be applied, and the
26709     * transition effects that will be used. It also contains info about
26710     * duration, number of repetitions, auto-reverse, etc.
26711     */
26712    typedef struct _Elm_Transit Elm_Transit;
26713    typedef void Elm_Transit_Effect;
26714    /**
26715     * @typedef Elm_Transit_Effect_Transition_Cb
26716     *
26717     * Transition callback called for this effect on each transition iteration.
26718     */
26719    typedef void (*Elm_Transit_Effect_Transition_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit, double progress);
26720    /**
26721     * Elm_Transit_Effect_End_Cb
26722     *
26723     * Transition callback called for this effect when the transition is over.
26724     */
26725    typedef void (*Elm_Transit_Effect_End_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit);
26726
26727    /**
26728     * Elm_Transit_Del_Cb
26729     *
26730     * A callback called when the transit is deleted.
26731     */
26732    typedef void (*Elm_Transit_Del_Cb) (void *data, Elm_Transit *transit);
26733
26734    /**
26735     * Add new transit.
26736     *
26737     * @note Is not necessary to delete the transit object, it will be deleted at
26738     * the end of its operation.
26739     * @note The transit will start playing when the program enter in the main loop, is not
26740     * necessary to give a start to the transit.
26741     *
26742     * @return The transit object.
26743     *
26744     * @ingroup Transit
26745     */
26746    EAPI Elm_Transit                *elm_transit_add(void);
26747
26748    /**
26749     * Stops the animation and delete the @p transit object.
26750     *
26751     * Call this function if you wants to stop the animation before the duration
26752     * time. Make sure the @p transit object is still alive with
26753     * elm_transit_del_cb_set() function.
26754     * All added effects will be deleted, calling its repective data_free_cb
26755     * functions. The function setted by elm_transit_del_cb_set() will be called.
26756     *
26757     * @see elm_transit_del_cb_set()
26758     *
26759     * @param transit The transit object to be deleted.
26760     *
26761     * @ingroup Transit
26762     * @warning Just call this function if you are sure the transit is alive.
26763     */
26764    EAPI void                        elm_transit_del(Elm_Transit *transit) EINA_ARG_NONNULL(1);
26765
26766    /**
26767     * Add a new effect to the transit.
26768     *
26769     * @note The cb function and the data are the key to the effect. If you try to
26770     * add an already added effect, nothing is done.
26771     * @note After the first addition of an effect in @p transit, if its
26772     * effect list become empty again, the @p transit will be killed by
26773     * elm_transit_del(transit) function.
26774     *
26775     * Exemple:
26776     * @code
26777     * Elm_Transit *transit = elm_transit_add();
26778     * elm_transit_effect_add(transit,
26779     *                        elm_transit_effect_blend_op,
26780     *                        elm_transit_effect_blend_context_new(),
26781     *                        elm_transit_effect_blend_context_free);
26782     * @endcode
26783     *
26784     * @param transit The transit object.
26785     * @param transition_cb The operation function. It is called when the
26786     * animation begins, it is the function that actually performs the animation.
26787     * It is called with the @p data, @p transit and the time progression of the
26788     * animation (a double value between 0.0 and 1.0).
26789     * @param effect The context data of the effect.
26790     * @param end_cb The function to free the context data, it will be called
26791     * at the end of the effect, it must finalize the animation and free the
26792     * @p data.
26793     *
26794     * @ingroup Transit
26795     * @warning The transit free the context data at the and of the transition with
26796     * the data_free_cb function, do not use the context data in another transit.
26797     */
26798    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);
26799
26800    /**
26801     * Delete an added effect.
26802     *
26803     * This function will remove the effect from the @p transit, calling the
26804     * data_free_cb to free the @p data.
26805     *
26806     * @see elm_transit_effect_add()
26807     *
26808     * @note If the effect is not found, nothing is done.
26809     * @note If the effect list become empty, this function will call
26810     * elm_transit_del(transit), that is, it will kill the @p transit.
26811     *
26812     * @param transit The transit object.
26813     * @param transition_cb The operation function.
26814     * @param effect The context data of the effect.
26815     *
26816     * @ingroup Transit
26817     */
26818    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);
26819
26820    /**
26821     * Add new object to apply the effects.
26822     *
26823     * @note After the first addition of an object in @p transit, if its
26824     * object list become empty again, the @p transit will be killed by
26825     * elm_transit_del(transit) function.
26826     * @note If the @p obj belongs to another transit, the @p obj will be
26827     * removed from it and it will only belong to the @p transit. If the old
26828     * transit stays without objects, it will die.
26829     * @note When you add an object into the @p transit, its state from
26830     * evas_object_pass_events_get(obj) is saved, and it is applied when the
26831     * transit ends, if you change this state whith evas_object_pass_events_set()
26832     * after add the object, this state will change again when @p transit stops to
26833     * run.
26834     *
26835     * @param transit The transit object.
26836     * @param obj Object to be animated.
26837     *
26838     * @ingroup Transit
26839     * @warning It is not allowed to add a new object after transit begins to go.
26840     */
26841    EAPI void                        elm_transit_object_add(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
26842
26843    /**
26844     * Removes an added object from the transit.
26845     *
26846     * @note If the @p obj is not in the @p transit, nothing is done.
26847     * @note If the list become empty, this function will call
26848     * elm_transit_del(transit), that is, it will kill the @p transit.
26849     *
26850     * @param transit The transit object.
26851     * @param obj Object to be removed from @p transit.
26852     *
26853     * @ingroup Transit
26854     * @warning It is not allowed to remove objects after transit begins to go.
26855     */
26856    EAPI void                        elm_transit_object_remove(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
26857
26858    /**
26859     * Get the objects of the transit.
26860     *
26861     * @param transit The transit object.
26862     * @return a Eina_List with the objects from the transit.
26863     *
26864     * @ingroup Transit
26865     */
26866    EAPI const Eina_List            *elm_transit_objects_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26867
26868    /**
26869     * Enable/disable keeping up the objects states.
26870     * If it is not kept, the objects states will be reset when transition ends.
26871     *
26872     * @note @p transit can not be NULL.
26873     * @note One state includes geometry, color, map data.
26874     *
26875     * @param transit The transit object.
26876     * @param state_keep Keeping or Non Keeping.
26877     *
26878     * @ingroup Transit
26879     */
26880    EAPI void                        elm_transit_objects_final_state_keep_set(Elm_Transit *transit, Eina_Bool state_keep) EINA_ARG_NONNULL(1);
26881
26882    /**
26883     * Get a value whether the objects states will be reset or not.
26884     *
26885     * @note @p transit can not be NULL
26886     *
26887     * @see elm_transit_objects_final_state_keep_set()
26888     *
26889     * @param transit The transit object.
26890     * @return EINA_TRUE means the states of the objects will be reset.
26891     * If @p transit is NULL, EINA_FALSE is returned
26892     *
26893     * @ingroup Transit
26894     */
26895    EAPI Eina_Bool                   elm_transit_objects_final_state_keep_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26896
26897    /**
26898     * Set the event enabled when transit is operating.
26899     *
26900     * If @p enabled is EINA_TRUE, the objects of the transit will receives
26901     * events from mouse and keyboard during the animation.
26902     * @note When you add an object with elm_transit_object_add(), its state from
26903     * evas_object_pass_events_get(obj) is saved, and it is applied when the
26904     * transit ends, if you change this state with evas_object_pass_events_set()
26905     * after adding the object, this state will change again when @p transit stops
26906     * to run.
26907     *
26908     * @param transit The transit object.
26909     * @param enabled Events are received when enabled is @c EINA_TRUE, and
26910     * ignored otherwise.
26911     *
26912     * @ingroup Transit
26913     */
26914    EAPI void                        elm_transit_event_enabled_set(Elm_Transit *transit, Eina_Bool enabled) EINA_ARG_NONNULL(1);
26915
26916    /**
26917     * Get the value of event enabled status.
26918     *
26919     * @see elm_transit_event_enabled_set()
26920     *
26921     * @param transit The Transit object
26922     * @return EINA_TRUE, when event is enabled. If @p transit is NULL
26923     * EINA_FALSE is returned
26924     *
26925     * @ingroup Transit
26926     */
26927    EAPI Eina_Bool                   elm_transit_event_enabled_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26928
26929    /**
26930     * Set the user-callback function when the transit is deleted.
26931     *
26932     * @note Using this function twice will overwrite the first function setted.
26933     * @note the @p transit object will be deleted after call @p cb function.
26934     *
26935     * @param transit The transit object.
26936     * @param cb Callback function pointer. This function will be called before
26937     * the deletion of the transit.
26938     * @param data Callback funtion user data. It is the @p op parameter.
26939     *
26940     * @ingroup Transit
26941     */
26942    EAPI void                        elm_transit_del_cb_set(Elm_Transit *transit, Elm_Transit_Del_Cb cb, void *data) EINA_ARG_NONNULL(1);
26943
26944    /**
26945     * Set reverse effect automatically.
26946     *
26947     * If auto reverse is setted, after running the effects with the progress
26948     * parameter from 0 to 1, it will call the effecs again with the progress
26949     * from 1 to 0. The transit will last for a time iqual to (2 * duration * repeat),
26950     * where the duration was setted with the function elm_transit_add and
26951     * the repeat with the function elm_transit_repeat_times_set().
26952     *
26953     * @param transit The transit object.
26954     * @param reverse EINA_TRUE means the auto_reverse is on.
26955     *
26956     * @ingroup Transit
26957     */
26958    EAPI void                        elm_transit_auto_reverse_set(Elm_Transit *transit, Eina_Bool reverse) EINA_ARG_NONNULL(1);
26959
26960    /**
26961     * Get if the auto reverse is on.
26962     *
26963     * @see elm_transit_auto_reverse_set()
26964     *
26965     * @param transit The transit object.
26966     * @return EINA_TRUE means auto reverse is on. If @p transit is NULL
26967     * EINA_FALSE is returned
26968     *
26969     * @ingroup Transit
26970     */
26971    EAPI Eina_Bool                   elm_transit_auto_reverse_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26972
26973    /**
26974     * Set the transit repeat count. Effect will be repeated by repeat count.
26975     *
26976     * This function sets the number of repetition the transit will run after
26977     * the first one, that is, if @p repeat is 1, the transit will run 2 times.
26978     * If the @p repeat is a negative number, it will repeat infinite times.
26979     *
26980     * @note If this function is called during the transit execution, the transit
26981     * will run @p repeat times, ignoring the times it already performed.
26982     *
26983     * @param transit The transit object
26984     * @param repeat Repeat count
26985     *
26986     * @ingroup Transit
26987     */
26988    EAPI void                        elm_transit_repeat_times_set(Elm_Transit *transit, int repeat) EINA_ARG_NONNULL(1);
26989
26990    /**
26991     * Get the transit repeat count.
26992     *
26993     * @see elm_transit_repeat_times_set()
26994     *
26995     * @param transit The Transit object.
26996     * @return The repeat count. If @p transit is NULL
26997     * 0 is returned
26998     *
26999     * @ingroup Transit
27000     */
27001    EAPI int                         elm_transit_repeat_times_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27002
27003    /**
27004     * Set the transit animation acceleration type.
27005     *
27006     * This function sets the tween mode of the transit that can be:
27007     * ELM_TRANSIT_TWEEN_MODE_LINEAR - The default mode.
27008     * ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL - Starts in accelerate mode and ends decelerating.
27009     * ELM_TRANSIT_TWEEN_MODE_DECELERATE - The animation will be slowed over time.
27010     * ELM_TRANSIT_TWEEN_MODE_ACCELERATE - The animation will accelerate over time.
27011     *
27012     * @param transit The transit object.
27013     * @param tween_mode The tween type.
27014     *
27015     * @ingroup Transit
27016     */
27017    EAPI void                        elm_transit_tween_mode_set(Elm_Transit *transit, Elm_Transit_Tween_Mode tween_mode) EINA_ARG_NONNULL(1);
27018
27019    /**
27020     * Get the transit animation acceleration type.
27021     *
27022     * @note @p transit can not be NULL
27023     *
27024     * @param transit The transit object.
27025     * @return The tween type. If @p transit is NULL
27026     * ELM_TRANSIT_TWEEN_MODE_LINEAR is returned.
27027     *
27028     * @ingroup Transit
27029     */
27030    EAPI Elm_Transit_Tween_Mode      elm_transit_tween_mode_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27031
27032    /**
27033     * Set the transit animation time
27034     *
27035     * @note @p transit can not be NULL
27036     *
27037     * @param transit The transit object.
27038     * @param duration The animation time.
27039     *
27040     * @ingroup Transit
27041     */
27042    EAPI void                        elm_transit_duration_set(Elm_Transit *transit, double duration) EINA_ARG_NONNULL(1);
27043
27044    /**
27045     * Get the transit animation time
27046     *
27047     * @note @p transit can not be NULL
27048     *
27049     * @param transit The transit object.
27050     *
27051     * @return The transit animation time.
27052     *
27053     * @ingroup Transit
27054     */
27055    EAPI double                      elm_transit_duration_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27056
27057    /**
27058     * Starts the transition.
27059     * Once this API is called, the transit begins to measure the time.
27060     *
27061     * @note @p transit can not be NULL
27062     *
27063     * @param transit The transit object.
27064     *
27065     * @ingroup Transit
27066     */
27067    EAPI void                        elm_transit_go(Elm_Transit *transit) EINA_ARG_NONNULL(1);
27068
27069    /**
27070     * Pause/Resume the transition.
27071     *
27072     * If you call elm_transit_go again, the transit will be started from the
27073     * beginning, and will be unpaused.
27074     *
27075     * @note @p transit can not be NULL
27076     *
27077     * @param transit The transit object.
27078     * @param paused Whether the transition should be paused or not.
27079     *
27080     * @ingroup Transit
27081     */
27082    EAPI void                        elm_transit_paused_set(Elm_Transit *transit, Eina_Bool paused) EINA_ARG_NONNULL(1);
27083
27084    /**
27085     * Get the value of paused status.
27086     *
27087     * @see elm_transit_paused_set()
27088     *
27089     * @note @p transit can not be NULL
27090     *
27091     * @param transit The transit object.
27092     * @return EINA_TRUE means transition is paused. If @p transit is NULL
27093     * EINA_FALSE is returned
27094     *
27095     * @ingroup Transit
27096     */
27097    EAPI Eina_Bool                   elm_transit_paused_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27098
27099    /**
27100     * Get the time progression of the animation (a double value between 0.0 and 1.0).
27101     *
27102     * The value returned is a fraction (current time / total time). It
27103     * represents the progression position relative to the total.
27104     *
27105     * @note @p transit can not be NULL
27106     *
27107     * @param transit The transit object.
27108     *
27109     * @return The time progression value. If @p transit is NULL
27110     * 0 is returned
27111     *
27112     * @ingroup Transit
27113     */
27114    EAPI double                      elm_transit_progress_value_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27115
27116    /**
27117     * Makes the chain relationship between two transits.
27118     *
27119     * @note @p transit can not be NULL. Transit would have multiple chain transits.
27120     * @note @p chain_transit can not be NULL. Chain transits could be chained to the only one transit.
27121     *
27122     * @param transit The transit object.
27123     * @param chain_transit The chain transit object. This transit will be operated
27124     *        after transit is done.
27125     *
27126     * This function adds @p chain_transit transition to a chain after the @p
27127     * transit, and will be started as soon as @p transit ends. See @ref
27128     * transit_example_02_explained for a full example.
27129     *
27130     * @ingroup Transit
27131     */
27132    EAPI void                        elm_transit_chain_transit_add(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1, 2);
27133
27134    /**
27135     * Cut off the chain relationship between two transits.
27136     *
27137     * @note @p transit can not be NULL. Transit would have the chain relationship with @p chain transit.
27138     * @note @p chain_transit can not be NULL. Chain transits should be chained to the @p transit.
27139     *
27140     * @param transit The transit object.
27141     * @param chain_transit The chain transit object.
27142     *
27143     * This function remove the @p chain_transit transition from the @p transit.
27144     *
27145     * @ingroup Transit
27146     */
27147    EAPI void                        elm_transit_chain_transit_del(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1,2);
27148
27149    /**
27150     * Get the current chain transit list.
27151     *
27152     * @note @p transit can not be NULL.
27153     *
27154     * @param transit The transit object.
27155     * @return chain transit list.
27156     *
27157     * @ingroup Transit
27158     */
27159    EAPI Eina_List                  *elm_transit_chain_transits_get(const Elm_Transit *transit);
27160
27161    /**
27162     * Add the Resizing Effect to Elm_Transit.
27163     *
27164     * @note This API is one of the facades. It creates resizing effect context
27165     * and add it's required APIs to elm_transit_effect_add.
27166     *
27167     * @see elm_transit_effect_add()
27168     *
27169     * @param transit Transit object.
27170     * @param from_w Object width size when effect begins.
27171     * @param from_h Object height size when effect begins.
27172     * @param to_w Object width size when effect ends.
27173     * @param to_h Object height size when effect ends.
27174     * @return Resizing effect context data.
27175     *
27176     * @ingroup Transit
27177     */
27178    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);
27179
27180    /**
27181     * Add the Translation Effect to Elm_Transit.
27182     *
27183     * @note This API is one of the facades. It creates translation effect context
27184     * and add it's required APIs to elm_transit_effect_add.
27185     *
27186     * @see elm_transit_effect_add()
27187     *
27188     * @param transit Transit object.
27189     * @param from_dx X Position variation when effect begins.
27190     * @param from_dy Y Position variation when effect begins.
27191     * @param to_dx X Position variation when effect ends.
27192     * @param to_dy Y Position variation when effect ends.
27193     * @return Translation effect context data.
27194     *
27195     * @ingroup Transit
27196     * @warning It is highly recommended just create a transit with this effect when
27197     * the window that the objects of the transit belongs has already been created.
27198     * This is because this effect needs the geometry information about the objects,
27199     * and if the window was not created yet, it can get a wrong information.
27200     */
27201    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);
27202
27203    /**
27204     * Add the Zoom Effect to Elm_Transit.
27205     *
27206     * @note This API is one of the facades. It creates zoom effect context
27207     * and add it's required APIs to elm_transit_effect_add.
27208     *
27209     * @see elm_transit_effect_add()
27210     *
27211     * @param transit Transit object.
27212     * @param from_rate Scale rate when effect begins (1 is current rate).
27213     * @param to_rate Scale rate when effect ends.
27214     * @return Zoom effect context data.
27215     *
27216     * @ingroup Transit
27217     * @warning It is highly recommended just create a transit with this effect when
27218     * the window that the objects of the transit belongs has already been created.
27219     * This is because this effect needs the geometry information about the objects,
27220     * and if the window was not created yet, it can get a wrong information.
27221     */
27222    EAPI Elm_Transit_Effect *elm_transit_effect_zoom_add(Elm_Transit *transit, float from_rate, float to_rate);
27223
27224    /**
27225     * Add the Flip Effect to Elm_Transit.
27226     *
27227     * @note This API is one of the facades. It creates flip effect context
27228     * and add it's required APIs to elm_transit_effect_add.
27229     * @note This effect is applied to each pair of objects in the order they are listed
27230     * in the transit list of objects. The first object in the pair will be the
27231     * "front" object and the second will be the "back" object.
27232     *
27233     * @see elm_transit_effect_add()
27234     *
27235     * @param transit Transit object.
27236     * @param axis Flipping Axis(X or Y).
27237     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
27238     * @return Flip effect context data.
27239     *
27240     * @ingroup Transit
27241     * @warning It is highly recommended just create a transit with this effect when
27242     * the window that the objects of the transit belongs has already been created.
27243     * This is because this effect needs the geometry information about the objects,
27244     * and if the window was not created yet, it can get a wrong information.
27245     */
27246    EAPI Elm_Transit_Effect *elm_transit_effect_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
27247
27248    /**
27249     * Add the Resizable Flip Effect to Elm_Transit.
27250     *
27251     * @note This API is one of the facades. It creates resizable flip effect context
27252     * and add it's required APIs to elm_transit_effect_add.
27253     * @note This effect is applied to each pair of objects in the order they are listed
27254     * in the transit list of objects. The first object in the pair will be the
27255     * "front" object and the second will be the "back" object.
27256     *
27257     * @see elm_transit_effect_add()
27258     *
27259     * @param transit Transit object.
27260     * @param axis Flipping Axis(X or Y).
27261     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
27262     * @return Resizable flip effect context data.
27263     *
27264     * @ingroup Transit
27265     * @warning It is highly recommended just create a transit with this effect when
27266     * the window that the objects of the transit belongs has already been created.
27267     * This is because this effect needs the geometry information about the objects,
27268     * and if the window was not created yet, it can get a wrong information.
27269     */
27270    EAPI Elm_Transit_Effect *elm_transit_effect_resizable_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
27271
27272    /**
27273     * Add the Wipe Effect to Elm_Transit.
27274     *
27275     * @note This API is one of the facades. It creates wipe effect context
27276     * and add it's required APIs to elm_transit_effect_add.
27277     *
27278     * @see elm_transit_effect_add()
27279     *
27280     * @param transit Transit object.
27281     * @param type Wipe type. Hide or show.
27282     * @param dir Wipe Direction.
27283     * @return Wipe effect context data.
27284     *
27285     * @ingroup Transit
27286     * @warning It is highly recommended just create a transit with this effect when
27287     * the window that the objects of the transit belongs has already been created.
27288     * This is because this effect needs the geometry information about the objects,
27289     * and if the window was not created yet, it can get a wrong information.
27290     */
27291    EAPI Elm_Transit_Effect *elm_transit_effect_wipe_add(Elm_Transit *transit, Elm_Transit_Effect_Wipe_Type type, Elm_Transit_Effect_Wipe_Dir dir);
27292
27293    /**
27294     * Add the Color Effect to Elm_Transit.
27295     *
27296     * @note This API is one of the facades. It creates color effect context
27297     * and add it's required APIs to elm_transit_effect_add.
27298     *
27299     * @see elm_transit_effect_add()
27300     *
27301     * @param transit        Transit object.
27302     * @param  from_r        RGB R when effect begins.
27303     * @param  from_g        RGB G when effect begins.
27304     * @param  from_b        RGB B when effect begins.
27305     * @param  from_a        RGB A when effect begins.
27306     * @param  to_r          RGB R when effect ends.
27307     * @param  to_g          RGB G when effect ends.
27308     * @param  to_b          RGB B when effect ends.
27309     * @param  to_a          RGB A when effect ends.
27310     * @return               Color effect context data.
27311     *
27312     * @ingroup Transit
27313     */
27314    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);
27315
27316    /**
27317     * Add the Fade Effect to Elm_Transit.
27318     *
27319     * @note This API is one of the facades. It creates fade effect context
27320     * and add it's required APIs to elm_transit_effect_add.
27321     * @note This effect is applied to each pair of objects in the order they are listed
27322     * in the transit list of objects. The first object in the pair will be the
27323     * "before" object and the second will be the "after" object.
27324     *
27325     * @see elm_transit_effect_add()
27326     *
27327     * @param transit Transit object.
27328     * @return Fade effect context data.
27329     *
27330     * @ingroup Transit
27331     * @warning It is highly recommended just create a transit with this effect when
27332     * the window that the objects of the transit belongs has already been created.
27333     * This is because this effect needs the color information about the objects,
27334     * and if the window was not created yet, it can get a wrong information.
27335     */
27336    EAPI Elm_Transit_Effect *elm_transit_effect_fade_add(Elm_Transit *transit);
27337
27338    /**
27339     * Add the Blend Effect to Elm_Transit.
27340     *
27341     * @note This API is one of the facades. It creates blend effect context
27342     * and add it's required APIs to elm_transit_effect_add.
27343     * @note This effect is applied to each pair of objects in the order they are listed
27344     * in the transit list of objects. The first object in the pair will be the
27345     * "before" object and the second will be the "after" object.
27346     *
27347     * @see elm_transit_effect_add()
27348     *
27349     * @param transit Transit object.
27350     * @return Blend effect context data.
27351     *
27352     * @ingroup Transit
27353     * @warning It is highly recommended just create a transit with this effect when
27354     * the window that the objects of the transit belongs has already been created.
27355     * This is because this effect needs the color information about the objects,
27356     * and if the window was not created yet, it can get a wrong information.
27357     */
27358    EAPI Elm_Transit_Effect *elm_transit_effect_blend_add(Elm_Transit *transit);
27359
27360    /**
27361     * Add the Rotation Effect to Elm_Transit.
27362     *
27363     * @note This API is one of the facades. It creates rotation effect context
27364     * and add it's required APIs to elm_transit_effect_add.
27365     *
27366     * @see elm_transit_effect_add()
27367     *
27368     * @param transit Transit object.
27369     * @param from_degree Degree when effect begins.
27370     * @param to_degree Degree when effect is ends.
27371     * @return Rotation effect context data.
27372     *
27373     * @ingroup Transit
27374     * @warning It is highly recommended just create a transit with this effect when
27375     * the window that the objects of the transit belongs has already been created.
27376     * This is because this effect needs the geometry information about the objects,
27377     * and if the window was not created yet, it can get a wrong information.
27378     */
27379    EAPI Elm_Transit_Effect *elm_transit_effect_rotation_add(Elm_Transit *transit, float from_degree, float to_degree);
27380
27381    /**
27382     * Add the ImageAnimation Effect to Elm_Transit.
27383     *
27384     * @note This API is one of the facades. It creates image animation effect context
27385     * and add it's required APIs to elm_transit_effect_add.
27386     * The @p images parameter is a list images paths. This list and
27387     * its contents will be deleted at the end of the effect by
27388     * elm_transit_effect_image_animation_context_free() function.
27389     *
27390     * Example:
27391     * @code
27392     * char buf[PATH_MAX];
27393     * Eina_List *images = NULL;
27394     * Elm_Transit *transi = elm_transit_add();
27395     *
27396     * snprintf(buf, sizeof(buf), "%s/images/icon_11.png", PACKAGE_DATA_DIR);
27397     * images = eina_list_append(images, eina_stringshare_add(buf));
27398     *
27399     * snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
27400     * images = eina_list_append(images, eina_stringshare_add(buf));
27401     * elm_transit_effect_image_animation_add(transi, images);
27402     *
27403     * @endcode
27404     *
27405     * @see elm_transit_effect_add()
27406     *
27407     * @param transit Transit object.
27408     * @param images Eina_List of images file paths. This list and
27409     * its contents will be deleted at the end of the effect by
27410     * elm_transit_effect_image_animation_context_free() function.
27411     * @return Image Animation effect context data.
27412     *
27413     * @ingroup Transit
27414     */
27415    EAPI Elm_Transit_Effect *elm_transit_effect_image_animation_add(Elm_Transit *transit, Eina_List *images);
27416    /**
27417     * @}
27418     */
27419
27420    typedef struct _Elm_Store                      Elm_Store;
27421    typedef struct _Elm_Store_Filesystem           Elm_Store_Filesystem;
27422    typedef struct _Elm_Store_Item                 Elm_Store_Item;
27423    typedef struct _Elm_Store_Item_Filesystem      Elm_Store_Item_Filesystem;
27424    typedef struct _Elm_Store_Item_Info            Elm_Store_Item_Info;
27425    typedef struct _Elm_Store_Item_Info_Filesystem Elm_Store_Item_Info_Filesystem;
27426    typedef struct _Elm_Store_Item_Mapping         Elm_Store_Item_Mapping;
27427    typedef struct _Elm_Store_Item_Mapping_Empty   Elm_Store_Item_Mapping_Empty;
27428    typedef struct _Elm_Store_Item_Mapping_Icon    Elm_Store_Item_Mapping_Icon;
27429    typedef struct _Elm_Store_Item_Mapping_Photo   Elm_Store_Item_Mapping_Photo;
27430    typedef struct _Elm_Store_Item_Mapping_Custom  Elm_Store_Item_Mapping_Custom;
27431
27432    typedef Eina_Bool (*Elm_Store_Item_List_Cb) (void *data, Elm_Store_Item_Info *info);
27433    typedef void      (*Elm_Store_Item_Fetch_Cb) (void *data, Elm_Store_Item *sti);
27434    typedef void      (*Elm_Store_Item_Unfetch_Cb) (void *data, Elm_Store_Item *sti);
27435    typedef void     *(*Elm_Store_Item_Mapping_Cb) (void *data, Elm_Store_Item *sti, const char *part);
27436
27437    typedef enum
27438      {
27439         ELM_STORE_ITEM_MAPPING_NONE = 0,
27440         ELM_STORE_ITEM_MAPPING_LABEL, // const char * -> label
27441         ELM_STORE_ITEM_MAPPING_STATE, // Eina_Bool -> state
27442         ELM_STORE_ITEM_MAPPING_ICON, // char * -> icon path
27443         ELM_STORE_ITEM_MAPPING_PHOTO, // char * -> photo path
27444         ELM_STORE_ITEM_MAPPING_CUSTOM, // item->custom(it->data, it, part) -> void * (-> any)
27445         // can add more here as needed by common apps
27446         ELM_STORE_ITEM_MAPPING_LAST
27447      } Elm_Store_Item_Mapping_Type;
27448
27449    struct _Elm_Store_Item_Mapping_Icon
27450      {
27451         // FIXME: allow edje file icons
27452         int                   w, h;
27453         Elm_Icon_Lookup_Order lookup_order;
27454         Eina_Bool             standard_name : 1;
27455         Eina_Bool             no_scale : 1;
27456         Eina_Bool             smooth : 1;
27457         Eina_Bool             scale_up : 1;
27458         Eina_Bool             scale_down : 1;
27459      };
27460
27461    struct _Elm_Store_Item_Mapping_Empty
27462      {
27463         Eina_Bool             dummy;
27464      };
27465
27466    struct _Elm_Store_Item_Mapping_Photo
27467      {
27468         int                   size;
27469      };
27470
27471    struct _Elm_Store_Item_Mapping_Custom
27472      {
27473         Elm_Store_Item_Mapping_Cb func;
27474      };
27475
27476    struct _Elm_Store_Item_Mapping
27477      {
27478         Elm_Store_Item_Mapping_Type     type;
27479         const char                     *part;
27480         int                             offset;
27481         union
27482           {
27483              Elm_Store_Item_Mapping_Empty  empty;
27484              Elm_Store_Item_Mapping_Icon   icon;
27485              Elm_Store_Item_Mapping_Photo  photo;
27486              Elm_Store_Item_Mapping_Custom custom;
27487              // add more types here
27488           } details;
27489      };
27490
27491    struct _Elm_Store_Item_Info
27492      {
27493         Elm_Genlist_Item_Class       *item_class;
27494         const Elm_Store_Item_Mapping *mapping;
27495         void                         *data;
27496         char                         *sort_id;
27497      };
27498
27499    struct _Elm_Store_Item_Info_Filesystem
27500      {
27501         Elm_Store_Item_Info  base;
27502         char                *path;
27503      };
27504
27505 #define ELM_STORE_ITEM_MAPPING_END { ELM_STORE_ITEM_MAPPING_NONE, NULL, 0, { .empty = { EINA_TRUE } } }
27506 #define ELM_STORE_ITEM_MAPPING_OFFSET(st, it) offsetof(st, it)
27507
27508    EAPI void                    elm_store_free(Elm_Store *st);
27509
27510    EAPI Elm_Store              *elm_store_filesystem_new(void);
27511    EAPI void                    elm_store_filesystem_directory_set(Elm_Store *st, const char *dir) EINA_ARG_NONNULL(1);
27512    EAPI const char             *elm_store_filesystem_directory_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27513    EAPI const char             *elm_store_item_filesystem_path_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27514
27515    EAPI void                    elm_store_target_genlist_set(Elm_Store *st, Evas_Object *obj) EINA_ARG_NONNULL(1);
27516
27517    EAPI void                    elm_store_cache_set(Elm_Store *st, int max) EINA_ARG_NONNULL(1);
27518    EAPI int                     elm_store_cache_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27519    EAPI void                    elm_store_list_func_set(Elm_Store *st, Elm_Store_Item_List_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
27520    EAPI void                    elm_store_fetch_func_set(Elm_Store *st, Elm_Store_Item_Fetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
27521    EAPI void                    elm_store_fetch_thread_set(Elm_Store *st, Eina_Bool use_thread) EINA_ARG_NONNULL(1);
27522    EAPI Eina_Bool               elm_store_fetch_thread_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27523
27524    EAPI void                    elm_store_unfetch_func_set(Elm_Store *st, Elm_Store_Item_Unfetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
27525    EAPI void                    elm_store_sorted_set(Elm_Store *st, Eina_Bool sorted) EINA_ARG_NONNULL(1);
27526    EAPI Eina_Bool               elm_store_sorted_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27527    EAPI void                    elm_store_item_data_set(Elm_Store_Item *sti, void *data) EINA_ARG_NONNULL(1);
27528    EAPI void                   *elm_store_item_data_get(Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27529    EAPI const Elm_Store        *elm_store_item_store_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27530    EAPI const Elm_Genlist_Item *elm_store_item_genlist_item_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27531
27532    /**
27533     * @defgroup SegmentControl SegmentControl
27534     * @ingroup Elementary
27535     *
27536     * @image html img/widget/segment_control/preview-00.png
27537     * @image latex img/widget/segment_control/preview-00.eps width=\textwidth
27538     *
27539     * @image html img/segment_control.png
27540     * @image latex img/segment_control.eps width=\textwidth
27541     *
27542     * Segment control widget is a horizontal control made of multiple segment
27543     * items, each segment item functioning similar to discrete two state button.
27544     * A segment control groups the items together and provides compact
27545     * single button with multiple equal size segments.
27546     *
27547     * Segment item size is determined by base widget
27548     * size and the number of items added.
27549     * Only one segment item can be at selected state. A segment item can display
27550     * combination of Text and any Evas_Object like Images or other widget.
27551     *
27552     * Smart callbacks one can listen to:
27553     * - "changed" - When the user clicks on a segment item which is not
27554     *   previously selected and get selected. The event_info parameter is the
27555     *   segment item pointer.
27556     *
27557     * Available styles for it:
27558     * - @c "default"
27559     *
27560     * Here is an example on its usage:
27561     * @li @ref segment_control_example
27562     */
27563
27564    /**
27565     * @addtogroup SegmentControl
27566     * @{
27567     */
27568
27569    typedef struct _Elm_Segment_Item Elm_Segment_Item; /**< Item handle for a segment control widget. */
27570
27571    /**
27572     * Add a new segment control widget to the given parent Elementary
27573     * (container) object.
27574     *
27575     * @param parent The parent object.
27576     * @return a new segment control widget handle or @c NULL, on errors.
27577     *
27578     * This function inserts a new segment control widget on the canvas.
27579     *
27580     * @ingroup SegmentControl
27581     */
27582    EAPI Evas_Object      *elm_segment_control_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
27583
27584    /**
27585     * Append a new item to the segment control object.
27586     *
27587     * @param obj The segment control object.
27588     * @param icon The icon object to use for the left side of the item. An
27589     * icon can be any Evas object, but usually it is an icon created
27590     * with elm_icon_add().
27591     * @param label The label of the item.
27592     *        Note that, NULL is different from empty string "".
27593     * @return The created item or @c NULL upon failure.
27594     *
27595     * A new item will be created and appended to the segment control, i.e., will
27596     * be set as @b last item.
27597     *
27598     * If it should be inserted at another position,
27599     * elm_segment_control_item_insert_at() should be used instead.
27600     *
27601     * Items created with this function can be deleted with function
27602     * elm_segment_control_item_del() or elm_segment_control_item_del_at().
27603     *
27604     * @note @p label set to @c NULL is different from empty string "".
27605     * If an item
27606     * only has icon, it will be displayed bigger and centered. If it has
27607     * icon and label, even that an empty string, icon will be smaller and
27608     * positioned at left.
27609     *
27610     * Simple example:
27611     * @code
27612     * sc = elm_segment_control_add(win);
27613     * ic = elm_icon_add(win);
27614     * elm_icon_file_set(ic, "path/to/image", NULL);
27615     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
27616     * elm_segment_control_item_add(sc, ic, "label");
27617     * evas_object_show(sc);
27618     * @endcode
27619     *
27620     * @see elm_segment_control_item_insert_at()
27621     * @see elm_segment_control_item_del()
27622     *
27623     * @ingroup SegmentControl
27624     */
27625    EAPI Elm_Segment_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const char *label) EINA_ARG_NONNULL(1);
27626
27627    /**
27628     * Insert a new item to the segment control object at specified position.
27629     *
27630     * @param obj The segment control object.
27631     * @param icon The icon object to use for the left side of the item. An
27632     * icon can be any Evas object, but usually it is an icon created
27633     * with elm_icon_add().
27634     * @param label The label of the item.
27635     * @param index Item position. Value should be between 0 and items count.
27636     * @return The created item or @c NULL upon failure.
27637
27638     * Index values must be between @c 0, when item will be prepended to
27639     * segment control, and items count, that can be get with
27640     * elm_segment_control_item_count_get(), case when item will be appended
27641     * to segment control, just like elm_segment_control_item_add().
27642     *
27643     * Items created with this function can be deleted with function
27644     * elm_segment_control_item_del() or elm_segment_control_item_del_at().
27645     *
27646     * @note @p label set to @c NULL is different from empty string "".
27647     * If an item
27648     * only has icon, it will be displayed bigger and centered. If it has
27649     * icon and label, even that an empty string, icon will be smaller and
27650     * positioned at left.
27651     *
27652     * @see elm_segment_control_item_add()
27653     * @see elm_segment_control_item_count_get()
27654     * @see elm_segment_control_item_del()
27655     *
27656     * @ingroup SegmentControl
27657     */
27658    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);
27659
27660    /**
27661     * Remove a segment control item from its parent, deleting it.
27662     *
27663     * @param it The item to be removed.
27664     *
27665     * Items can be added with elm_segment_control_item_add() or
27666     * elm_segment_control_item_insert_at().
27667     *
27668     * @ingroup SegmentControl
27669     */
27670    EAPI void              elm_segment_control_item_del(Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
27671
27672    /**
27673     * Remove a segment control item at given index from its parent,
27674     * deleting it.
27675     *
27676     * @param obj The segment control object.
27677     * @param index The position of the segment control item to be deleted.
27678     *
27679     * Items can be added with elm_segment_control_item_add() or
27680     * elm_segment_control_item_insert_at().
27681     *
27682     * @ingroup SegmentControl
27683     */
27684    EAPI void              elm_segment_control_item_del_at(Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
27685
27686    /**
27687     * Get the Segment items count from segment control.
27688     *
27689     * @param obj The segment control object.
27690     * @return Segment items count.
27691     *
27692     * It will just return the number of items added to segment control @p obj.
27693     *
27694     * @ingroup SegmentControl
27695     */
27696    EAPI int               elm_segment_control_item_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27697
27698    /**
27699     * Get the item placed at specified index.
27700     *
27701     * @param obj The segment control object.
27702     * @param index The index of the segment item.
27703     * @return The segment control item or @c NULL on failure.
27704     *
27705     * Index is the position of an item in segment control widget. Its
27706     * range is from @c 0 to <tt> count - 1 </tt>.
27707     * Count is the number of items, that can be get with
27708     * elm_segment_control_item_count_get().
27709     *
27710     * @ingroup SegmentControl
27711     */
27712    EAPI Elm_Segment_Item *elm_segment_control_item_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
27713
27714    /**
27715     * Get the label of item.
27716     *
27717     * @param obj The segment control object.
27718     * @param index The index of the segment item.
27719     * @return The label of the item at @p index.
27720     *
27721     * The return value is a pointer to the label associated to the item when
27722     * it was created, with function elm_segment_control_item_add(), or later
27723     * with function elm_segment_control_item_label_set. If no label
27724     * was passed as argument, it will return @c NULL.
27725     *
27726     * @see elm_segment_control_item_label_set() for more details.
27727     * @see elm_segment_control_item_add()
27728     *
27729     * @ingroup SegmentControl
27730     */
27731    EAPI const char       *elm_segment_control_item_label_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
27732
27733    /**
27734     * Set the label of item.
27735     *
27736     * @param it The item of segment control.
27737     * @param text The label of item.
27738     *
27739     * The label to be displayed by the item.
27740     * Label will be at right of the icon (if set).
27741     *
27742     * If a label was passed as argument on item creation, with function
27743     * elm_control_segment_item_add(), it will be already
27744     * displayed by the item.
27745     *
27746     * @see elm_segment_control_item_label_get()
27747     * @see elm_segment_control_item_add()
27748     *
27749     * @ingroup SegmentControl
27750     */
27751    EAPI void              elm_segment_control_item_label_set(Elm_Segment_Item* it, const char* label) EINA_ARG_NONNULL(1);
27752
27753    /**
27754     * Get the icon associated to the item.
27755     *
27756     * @param obj The segment control object.
27757     * @param index The index of the segment item.
27758     * @return The left side icon associated to the item at @p index.
27759     *
27760     * The return value is a pointer to the icon associated to the item when
27761     * it was created, with function elm_segment_control_item_add(), or later
27762     * with function elm_segment_control_item_icon_set(). If no icon
27763     * was passed as argument, it will return @c NULL.
27764     *
27765     * @see elm_segment_control_item_add()
27766     * @see elm_segment_control_item_icon_set()
27767     *
27768     * @ingroup SegmentControl
27769     */
27770    EAPI Evas_Object      *elm_segment_control_item_icon_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
27771
27772    /**
27773     * Set the icon associated to the item.
27774     *
27775     * @param it The segment control item.
27776     * @param icon The icon object to associate with @p it.
27777     *
27778     * The icon object to use at left side of the item. An
27779     * icon can be any Evas object, but usually it is an icon created
27780     * with elm_icon_add().
27781     *
27782     * Once the icon object is set, a previously set one will be deleted.
27783     * @warning Setting the same icon for two items will cause the icon to
27784     * dissapear from the first item.
27785     *
27786     * If an icon was passed as argument on item creation, with function
27787     * elm_segment_control_item_add(), it will be already
27788     * associated to the item.
27789     *
27790     * @see elm_segment_control_item_add()
27791     * @see elm_segment_control_item_icon_get()
27792     *
27793     * @ingroup SegmentControl
27794     */
27795    EAPI void              elm_segment_control_item_icon_set(Elm_Segment_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
27796
27797    /**
27798     * Get the index of an item.
27799     *
27800     * @param it The segment control item.
27801     * @return The position of item in segment control widget.
27802     *
27803     * Index is the position of an item in segment control widget. Its
27804     * range is from @c 0 to <tt> count - 1 </tt>.
27805     * Count is the number of items, that can be get with
27806     * elm_segment_control_item_count_get().
27807     *
27808     * @ingroup SegmentControl
27809     */
27810    EAPI int               elm_segment_control_item_index_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
27811
27812    /**
27813     * Get the base object of the item.
27814     *
27815     * @param it The segment control item.
27816     * @return The base object associated with @p it.
27817     *
27818     * Base object is the @c Evas_Object that represents that item.
27819     *
27820     * @ingroup SegmentControl
27821     */
27822    EAPI Evas_Object      *elm_segment_control_item_object_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
27823
27824    /**
27825     * Get the selected item.
27826     *
27827     * @param obj The segment control object.
27828     * @return The selected item or @c NULL if none of segment items is
27829     * selected.
27830     *
27831     * The selected item can be unselected with function
27832     * elm_segment_control_item_selected_set().
27833     *
27834     * The selected item always will be highlighted on segment control.
27835     *
27836     * @ingroup SegmentControl
27837     */
27838    EAPI Elm_Segment_Item *elm_segment_control_item_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27839
27840    /**
27841     * Set the selected state of an item.
27842     *
27843     * @param it The segment control item
27844     * @param select The selected state
27845     *
27846     * This sets the selected state of the given item @p it.
27847     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
27848     *
27849     * If a new item is selected the previosly selected will be unselected.
27850     * Previoulsy selected item can be get with function
27851     * elm_segment_control_item_selected_get().
27852     *
27853     * The selected item always will be highlighted on segment control.
27854     *
27855     * @see elm_segment_control_item_selected_get()
27856     *
27857     * @ingroup SegmentControl
27858     */
27859    EAPI void              elm_segment_control_item_selected_set(Elm_Segment_Item *it, Eina_Bool select) EINA_ARG_NONNULL(1);
27860
27861    /**
27862     * @}
27863     */
27864
27865    /**
27866     * @defgroup Grid Grid
27867     *
27868     * The grid is a grid layout widget that lays out a series of children as a
27869     * fixed "grid" of widgets using a given percentage of the grid width and
27870     * height each using the child object.
27871     *
27872     * The Grid uses a "Virtual resolution" that is stretched to fill the grid
27873     * widgets size itself. The default is 100 x 100, so that means the
27874     * position and sizes of children will effectively be percentages (0 to 100)
27875     * of the width or height of the grid widget
27876     *
27877     * @{
27878     */
27879
27880    /**
27881     * Add a new grid to the parent
27882     *
27883     * @param parent The parent object
27884     * @return The new object or NULL if it cannot be created
27885     *
27886     * @ingroup Grid
27887     */
27888    EAPI Evas_Object *elm_grid_add(Evas_Object *parent);
27889
27890    /**
27891     * Set the virtual size of the grid
27892     *
27893     * @param obj The grid object
27894     * @param w The virtual width of the grid
27895     * @param h The virtual height of the grid
27896     *
27897     * @ingroup Grid
27898     */
27899    EAPI void         elm_grid_size_set(Evas_Object *obj, int w, int h);
27900
27901    /**
27902     * Get the virtual size of the grid
27903     *
27904     * @param obj The grid object
27905     * @param w Pointer to integer to store the virtual width of the grid
27906     * @param h Pointer to integer to store the virtual height of the grid
27907     *
27908     * @ingroup Grid
27909     */
27910    EAPI void         elm_grid_size_get(Evas_Object *obj, int *w, int *h);
27911
27912    /**
27913     * Pack child at given position and size
27914     *
27915     * @param obj The grid object
27916     * @param subobj The child to pack
27917     * @param x The virtual x coord at which to pack it
27918     * @param y The virtual y coord at which to pack it
27919     * @param w The virtual width at which to pack it
27920     * @param h The virtual height at which to pack it
27921     *
27922     * @ingroup Grid
27923     */
27924    EAPI void         elm_grid_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h);
27925
27926    /**
27927     * Unpack a child from a grid object
27928     *
27929     * @param obj The grid object
27930     * @param subobj The child to unpack
27931     *
27932     * @ingroup Grid
27933     */
27934    EAPI void         elm_grid_unpack(Evas_Object *obj, Evas_Object *subobj);
27935
27936    /**
27937     * Faster way to remove all child objects from a grid object.
27938     *
27939     * @param obj The grid object
27940     * @param clear If true, it will delete just removed children
27941     *
27942     * @ingroup Grid
27943     */
27944    EAPI void         elm_grid_clear(Evas_Object *obj, Eina_Bool clear);
27945
27946    /**
27947     * Set packing of an existing child at to position and size
27948     *
27949     * @param subobj The child to set packing of
27950     * @param x The virtual x coord at which to pack it
27951     * @param y The virtual y coord at which to pack it
27952     * @param w The virtual width at which to pack it
27953     * @param h The virtual height at which to pack it
27954     *
27955     * @ingroup Grid
27956     */
27957    EAPI void         elm_grid_pack_set(Evas_Object *subobj, int x, int y, int w, int h);
27958
27959    /**
27960     * get packing of a child
27961     *
27962     * @param subobj The child to query
27963     * @param x Pointer to integer to store the virtual x coord
27964     * @param y Pointer to integer to store the virtual y coord
27965     * @param w Pointer to integer to store the virtual width
27966     * @param h Pointer to integer to store the virtual height
27967     *
27968     * @ingroup Grid
27969     */
27970    EAPI void         elm_grid_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h);
27971
27972    /**
27973     * @}
27974     */
27975
27976    EAPI Evas_Object *elm_factory_add(Evas_Object *parent);
27977    EINA_DEPRECATED EAPI void         elm_factory_content_set(Evas_Object *obj, Evas_Object *content);
27978    EINA_DEPRECATED EAPI Evas_Object *elm_factory_content_get(const Evas_Object *obj);
27979    EAPI void         elm_factory_maxmin_mode_set(Evas_Object *obj, Eina_Bool enabled);
27980    EAPI Eina_Bool    elm_factory_maxmin_mode_get(const Evas_Object *obj);
27981    EAPI void         elm_factory_maxmin_reset_set(Evas_Object *obj);
27982
27983    /**
27984     * @defgroup Video Video
27985     *
27986     * @addtogroup Video
27987     * @{
27988     *
27989     * Elementary comes with two object that help design application that need
27990     * to display video. The main one, Elm_Video, display a video by using Emotion.
27991     * It does embedded the video inside an Edje object, so you can do some
27992     * animation depending on the video state change. It does also implement a
27993     * ressource management policy to remove this burden from the application writer.
27994     *
27995     * The second one, Elm_Player is a video player that need to be linked with and Elm_Video.
27996     * It take care of updating its content according to Emotion event and provide a
27997     * way to theme itself. It also does automatically raise the priority of the
27998     * linked Elm_Video so it will use the video decoder if available. It also does
27999     * activate the remember function on the linked Elm_Video object.
28000     *
28001     * Signals that you can add callback for are :
28002     *
28003     * "forward,clicked" - the user clicked the forward button.
28004     * "info,clicked" - the user clicked the info button.
28005     * "next,clicked" - the user clicked the next button.
28006     * "pause,clicked" - the user clicked the pause button.
28007     * "play,clicked" - the user clicked the play button.
28008     * "prev,clicked" - the user clicked the prev button.
28009     * "rewind,clicked" - the user clicked the rewind button.
28010     * "stop,clicked" - the user clicked the stop button.
28011     * 
28012     * To set the video of the player, you can use elm_object_content_set() API.
28013     * 
28014     */
28015
28016    /**
28017     * @brief Add a new Elm_Player object to the given parent Elementary (container) object.
28018     *
28019     * @param parent The parent object
28020     * @return a new player widget handle or @c NULL, on errors.
28021     *
28022     * This function inserts a new player widget on the canvas.
28023     *
28024     * @see elm_object_content_set()
28025     *
28026     * @ingroup Video
28027     */
28028    EAPI Evas_Object *elm_player_add(Evas_Object *parent);
28029
28030    /**
28031     * @brief Link a Elm_Payer with an Elm_Video object.
28032     *
28033     * @param player the Elm_Player object.
28034     * @param video The Elm_Video object.
28035     *
28036     * This mean that action on the player widget will affect the
28037     * video object and the state of the video will be reflected in
28038     * the player itself.
28039     *
28040     * @see elm_player_add()
28041     * @see elm_video_add()
28042     *
28043     * @ingroup Video
28044     */
28045    EINA_DEPRECATED EAPI void elm_player_video_set(Evas_Object *player, Evas_Object *video);
28046
28047    /**
28048     * @brief Add a new Elm_Video object to the given parent Elementary (container) object.
28049     *
28050     * @param parent The parent object
28051     * @return a new video widget handle or @c NULL, on errors.
28052     *
28053     * This function inserts a new video widget on the canvas.
28054     *
28055     * @seeelm_video_file_set()
28056     * @see elm_video_uri_set()
28057     *
28058     * @ingroup Video
28059     */
28060    EAPI Evas_Object *elm_video_add(Evas_Object *parent);
28061
28062    /**
28063     * @brief Define the file that will be the video source.
28064     *
28065     * @param video The video object to define the file for.
28066     * @param filename The file to target.
28067     *
28068     * This function will explicitly define a filename as a source
28069     * for the video of the Elm_Video object.
28070     *
28071     * @see elm_video_uri_set()
28072     * @see elm_video_add()
28073     * @see elm_player_add()
28074     *
28075     * @ingroup Video
28076     */
28077    EAPI void elm_video_file_set(Evas_Object *video, const char *filename);
28078
28079    /**
28080     * @brief Define the uri that will be the video source.
28081     *
28082     * @param video The video object to define the file for.
28083     * @param uri The uri to target.
28084     *
28085     * This function will define an uri as a source for the video of the
28086     * Elm_Video object. URI could be remote source of video, like http:// or local source
28087     * like for example WebCam who are most of the time v4l2:// (but that depend and
28088     * you should use Emotion API to request and list the available Webcam on your system).
28089     *
28090     * @see elm_video_file_set()
28091     * @see elm_video_add()
28092     * @see elm_player_add()
28093     *
28094     * @ingroup Video
28095     */
28096    EAPI void elm_video_uri_set(Evas_Object *video, const char *uri);
28097
28098    /**
28099     * @brief Get the underlying Emotion object.
28100     *
28101     * @param video The video object to proceed the request on.
28102     * @return the underlying Emotion object.
28103     *
28104     * @ingroup Video
28105     */
28106    EAPI Evas_Object *elm_video_emotion_get(Evas_Object *video);
28107
28108    /**
28109     * @brief Start to play the video
28110     *
28111     * @param video The video object to proceed the request on.
28112     *
28113     * Start to play the video and cancel all suspend state.
28114     *
28115     * @ingroup Video
28116     */
28117    EAPI void elm_video_play(Evas_Object *video);
28118
28119    /**
28120     * @brief Pause the video
28121     *
28122     * @param video The video object to proceed the request on.
28123     *
28124     * Pause the video and start a timer to trigger suspend mode.
28125     *
28126     * @ingroup Video
28127     */
28128    EAPI void elm_video_pause(Evas_Object *video);
28129
28130    /**
28131     * @brief Stop the video
28132     *
28133     * @param video The video object to proceed the request on.
28134     *
28135     * Stop the video and put the emotion in deep sleep mode.
28136     *
28137     * @ingroup Video
28138     */
28139    EAPI void elm_video_stop(Evas_Object *video);
28140
28141    /**
28142     * @brief Is the video actually playing.
28143     *
28144     * @param video The video object to proceed the request on.
28145     * @return EINA_TRUE if the video is actually playing.
28146     *
28147     * You should consider watching event on the object instead of polling
28148     * the object state.
28149     *
28150     * @ingroup Video
28151     */
28152    EAPI Eina_Bool elm_video_is_playing(Evas_Object *video);
28153
28154    /**
28155     * @brief Is it possible to seek inside the video.
28156     *
28157     * @param video The video object to proceed the request on.
28158     * @return EINA_TRUE if is possible to seek inside the video.
28159     *
28160     * @ingroup Video
28161     */
28162    EAPI Eina_Bool elm_video_is_seekable(Evas_Object *video);
28163
28164    /**
28165     * @brief Is the audio muted.
28166     *
28167     * @param video The video object to proceed the request on.
28168     * @return EINA_TRUE if the audio is muted.
28169     *
28170     * @ingroup Video
28171     */
28172    EAPI Eina_Bool elm_video_audio_mute_get(Evas_Object *video);
28173
28174    /**
28175     * @brief Change the mute state of the Elm_Video object.
28176     *
28177     * @param video The video object to proceed the request on.
28178     * @param mute The new mute state.
28179     *
28180     * @ingroup Video
28181     */
28182    EAPI void elm_video_audio_mute_set(Evas_Object *video, Eina_Bool mute);
28183
28184    /**
28185     * @brief Get the audio level of the current video.
28186     *
28187     * @param video The video object to proceed the request on.
28188     * @return the current audio level.
28189     *
28190     * @ingroup Video
28191     */
28192    EAPI double elm_video_audio_level_get(Evas_Object *video);
28193
28194    /**
28195     * @brief Set the audio level of anElm_Video object.
28196     *
28197     * @param video The video object to proceed the request on.
28198     * @param volume The new audio volume.
28199     *
28200     * @ingroup Video
28201     */
28202    EAPI void elm_video_audio_level_set(Evas_Object *video, double volume);
28203
28204    EAPI double elm_video_play_position_get(Evas_Object *video);
28205    EAPI void elm_video_play_position_set(Evas_Object *video, double position);
28206    EAPI double elm_video_play_length_get(Evas_Object *video);
28207    EAPI void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember);
28208    EAPI Eina_Bool elm_video_remember_position_get(Evas_Object *video);
28209    EAPI const char *elm_video_title_get(Evas_Object *video);
28210    /**
28211     * @}
28212     */
28213
28214    /**
28215     * @defgroup Naviframe Naviframe
28216     * @ingroup Elementary
28217     *
28218     * @brief Naviframe is a kind of view manager for the applications.
28219     *
28220     * Naviframe provides functions to switch different pages with stack
28221     * mechanism. It means if one page(item) needs to be changed to the new one,
28222     * then naviframe would push the new page to it's internal stack. Of course,
28223     * it can be back to the previous page by popping the top page. Naviframe
28224     * provides some transition effect while the pages are switching (same as
28225     * pager).
28226     *
28227     * Since each item could keep the different styles, users could keep the
28228     * same look & feel for the pages or different styles for the items in it's
28229     * application.
28230     *
28231     * Signals that you can add callback for are:
28232     * @li "transition,finished" - When the transition is finished in changing
28233     *     the item
28234     * @li "title,clicked" - User clicked title area
28235     *
28236     * Default contents parts of the naviframe items that you can use for are:
28237     * @li "elm.swallow.content" - A main content of the page
28238     * @li "elm.swallow.icon" - A icon in the title area
28239     * @li "elm.swallow.prev_btn" - A button to go to the previous page
28240     * @li "elm.swallow.next_btn" - A button to go to the next page
28241     *
28242     * Default text parts of the naviframe items that you can use for are:
28243     * @li "elm.text.title" - Title label in the title area
28244     * @li "elm.text.subtitle" - Sub-title label in the title area
28245     *
28246     * @ref tutorial_naviframe gives a good overview of the usage of the API.
28247     */
28248
28249 #define ELM_NAVIFRAME_ITEM_CONTENT_ICON "elm.swallow.icon"
28250 #define ELM_NAVIFRAME_ITEM_CONTENT_PREV_BTN "elm.swallow.prev_btn"
28251 #define ELM_NAVIFRAME_ITEM_CONTNET_NEXT_BTN "elm.swallow.next_btn"
28252 #define ELM_NAVIFRAME_ITEM_TEXT_SUBTITLE "elm.text.subtitle"
28253
28254    /**
28255     * @addtogroup Naviframe
28256     * @{
28257     */
28258
28259    /**
28260     * @brief Add a new Naviframe object to the parent.
28261     *
28262     * @param parent Parent object
28263     * @return New object or @c NULL, if it cannot be created
28264     *
28265     * @ingroup Naviframe
28266     */
28267    EAPI Evas_Object        *elm_naviframe_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
28268    /**
28269     * @brief Push a new item to the top of the naviframe stack (and show it).
28270     *
28271     * @param obj The naviframe object
28272     * @param title_label The label in the title area. The name of the title
28273     *        label part is "elm.text.title"
28274     * @param prev_btn The button to go to the previous item. If it is NULL,
28275     *        then naviframe will create a back button automatically. The name of
28276     *        the prev_btn part is "elm.swallow.prev_btn"
28277     * @param next_btn The button to go to the next item. Or It could be just an
28278     *        extra function button. The name of the next_btn part is
28279     *        "elm.swallow.next_btn"
28280     * @param content The main content object. The name of content part is
28281     *        "elm.swallow.content"
28282     * @param item_style The current item style name. @c NULL would be default.
28283     * @return The created item or @c NULL upon failure.
28284     *
28285     * The item pushed becomes one page of the naviframe, this item will be
28286     * deleted when it is popped.
28287     *
28288     * @see also elm_naviframe_item_style_set()
28289     *
28290     * The following styles are available for this item:
28291     * @li @c "default"
28292     *
28293     * @ingroup Naviframe
28294     */
28295    EAPI Elm_Object_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);
28296    /**
28297     * @brief Pop an item that is on top of the stack
28298     *
28299     * @param obj The naviframe object
28300     * @return @c NULL or the content object(if the
28301     *         elm_naviframe_content_preserve_on_pop_get is true).
28302     *
28303     * This pops an item that is on the top(visible) of the naviframe, makes it
28304     * disappear, then deletes the item. The item that was underneath it on the
28305     * stack will become visible.
28306     *
28307     * @see also elm_naviframe_content_preserve_on_pop_get()
28308     *
28309     * @ingroup Naviframe
28310     */
28311    EAPI Evas_Object        *elm_naviframe_item_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
28312    /**
28313     * @brief Pop the items between the top and the above one on the given item.
28314     *
28315     * @param it The naviframe item
28316     *
28317     * @ingroup Naviframe
28318     */
28319    EAPI void                elm_naviframe_item_pop_to(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28320    /**
28321    * Promote an item already in the naviframe stack to the top of the stack
28322    *
28323    * @param it The naviframe item
28324    *
28325    * This will take the indicated item and promote it to the top of the stack
28326    * as if it had been pushed there. The item must already be inside the
28327    * naviframe stack to work.
28328    *
28329    */
28330    EAPI void                elm_naviframe_item_promote(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28331    /**
28332     * @brief Delete the given item instantly.
28333     *
28334     * @param it The naviframe item
28335     *
28336     * This just deletes the given item from the naviframe item list instantly.
28337     * So this would not emit any signals for view transitions but just change
28338     * the current view if the given item is a top one.
28339     *
28340     * @ingroup Naviframe
28341     */
28342    EAPI void                elm_naviframe_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28343    /**
28344     * @brief preserve the content objects when items are popped.
28345     *
28346     * @param obj The naviframe object
28347     * @param preserve Enable the preserve mode if EINA_TRUE, disable otherwise
28348     *
28349     * @see also elm_naviframe_content_preserve_on_pop_get()
28350     *
28351     * @ingroup Naviframe
28352     */
28353    EAPI void                elm_naviframe_content_preserve_on_pop_set(Evas_Object *obj, Eina_Bool preserve) EINA_ARG_NONNULL(1);
28354    /**
28355     * @brief Get a value whether preserve mode is enabled or not.
28356     *
28357     * @param obj The naviframe object
28358     * @return If @c EINA_TRUE, preserve mode is enabled
28359     *
28360     * @see also elm_naviframe_content_preserve_on_pop_set()
28361     *
28362     * @ingroup Naviframe
28363     */
28364    EAPI Eina_Bool           elm_naviframe_content_preserve_on_pop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28365    /**
28366     * @brief Get a top item on the naviframe stack
28367     *
28368     * @param obj The naviframe object
28369     * @return The top item on the naviframe stack or @c NULL, if the stack is
28370     *         empty
28371     *
28372     * @ingroup Naviframe
28373     */
28374    EAPI Elm_Object_Item    *elm_naviframe_top_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28375    /**
28376     * @brief Get a bottom item on the naviframe stack
28377     *
28378     * @param obj The naviframe object
28379     * @return The bottom item on the naviframe stack or @c NULL, if the stack is
28380     *         empty
28381     *
28382     * @ingroup Naviframe
28383     */
28384    EAPI Elm_Object_Item    *elm_naviframe_bottom_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28385    /**
28386     * @brief Set an item style
28387     *
28388     * @param obj The naviframe item
28389     * @param item_style The current item style name. @c NULL would be default
28390     *
28391     * The following styles are available for this item:
28392     * @li @c "default"
28393     *
28394     * @see also elm_naviframe_item_style_get()
28395     *
28396     * @ingroup Naviframe
28397     */
28398    EAPI void                elm_naviframe_item_style_set(Elm_Object_Item *it, const char *item_style) EINA_ARG_NONNULL(1);
28399    /**
28400     * @brief Get an item style
28401     *
28402     * @param obj The naviframe item
28403     * @return The current item style name
28404     *
28405     * @see also elm_naviframe_item_style_set()
28406     *
28407     * @ingroup Naviframe
28408     */
28409    EAPI const char         *elm_naviframe_item_style_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28410    /**
28411     * @brief Show/Hide the title area
28412     *
28413     * @param it The naviframe item
28414     * @param visible If @c EINA_TRUE, title area will be visible, hidden
28415     *        otherwise
28416     *
28417     * When the title area is invisible, then the controls would be hidden so as     * to expand the content area to full-size.
28418     *
28419     * @see also elm_naviframe_item_title_visible_get()
28420     *
28421     * @ingroup Naviframe
28422     */
28423    EAPI void                elm_naviframe_item_title_visible_set(Elm_Object_Item *it, Eina_Bool visible) EINA_ARG_NONNULL(1);
28424    /**
28425     * @brief Get a value whether title area is visible or not.
28426     *
28427     * @param it The naviframe item
28428     * @return If @c EINA_TRUE, title area is visible
28429     *
28430     * @see also elm_naviframe_item_title_visible_set()
28431     *
28432     * @ingroup Naviframe
28433     */
28434    EAPI Eina_Bool           elm_naviframe_item_title_visible_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28435
28436    /**
28437     * @brief Set creating prev button automatically or not
28438     *
28439     * @param obj The naviframe object
28440     * @param auto_pushed If @c EINA_TRUE, the previous button(back button) will
28441     *        be created internally when you pass the @c NULL to the prev_btn
28442     *        parameter in elm_naviframe_item_push
28443     *
28444     * @see also elm_naviframe_item_push()
28445     */
28446    EAPI void                elm_naviframe_prev_btn_auto_pushed_set(Evas_Object *obj, Eina_Bool auto_pushed) EINA_ARG_NONNULL(1);
28447    /**
28448     * @brief Get a value whether prev button(back button) will be auto pushed or
28449     *        not.
28450     *
28451     * @param obj The naviframe object
28452     * @return If @c EINA_TRUE, prev button will be auto pushed.
28453     *
28454     * @see also elm_naviframe_item_push()
28455     *           elm_naviframe_prev_btn_auto_pushed_set()
28456     */
28457    EAPI Eina_Bool           elm_naviframe_prev_btn_auto_pushed_get(const Evas_Object *obj); EINA_ARG_NONNULL(1);
28458
28459    /**
28460     * @}
28461     */
28462
28463 #ifdef __cplusplus
28464 }
28465 #endif
28466
28467 #endif