new toolbar mode: always_select
[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.7.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 in which the widgets will be
33                           layouted.
34
35 @section license License
36
37 LGPL v2 (see COPYING in the base of Elementary's source). This applies to
38 all files in the source tree.
39
40 @section ack Acknowledgements
41 There is a lot that goes into making a widget set, and they don't happen out of
42 nothing. It's like trying to make everyone everywhere happy, regardless of age,
43 gender, race or nationality - and that is really tough. So thanks to people and
44 organisations behind this, as listed in the @ref authors page.
45 */
46
47
48 /**
49  * @defgroup Start Getting Started
50  *
51  * To write an Elementary app, you can get started with the following:
52  *
53 @code
54 #include <Elementary.h>
55 EAPI_MAIN int
56 elm_main(int argc, char **argv)
57 {
58    // create window(s) here and do any application init
59    elm_run(); // run main loop
60    elm_shutdown(); // after mainloop finishes running, shutdown
61    return 0; // exit 0 for exit code
62 }
63 ELM_MAIN()
64 @endcode
65  *
66  * To use autotools (which helps in many ways in the long run, like being able
67  * to immediately create releases of your software directly from your tree
68  * and ensure everything needed to build it is there) you will need a
69  * configure.ac, Makefile.am and autogen.sh file.
70  *
71  * configure.ac:
72  *
73 @verbatim
74 AC_INIT(myapp, 0.0.0, myname@mydomain.com)
75 AC_PREREQ(2.52)
76 AC_CONFIG_SRCDIR(configure.ac)
77 AM_CONFIG_HEADER(config.h)
78 AC_PROG_CC
79 AM_INIT_AUTOMAKE(1.6 dist-bzip2)
80 PKG_CHECK_MODULES([ELEMENTARY], elementary)
81 AC_OUTPUT(Makefile)
82 @endverbatim
83  *
84  * Makefile.am:
85  *
86 @verbatim
87 AUTOMAKE_OPTIONS = 1.4 foreign
88 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in configure depcomp install-sh missing
89
90 INCLUDES = -I$(top_srcdir)
91
92 bin_PROGRAMS = myapp
93
94 myapp_SOURCES = main.c
95 myapp_LDADD = @ELEMENTARY_LIBS@
96 myapp_CFLAGS = @ELEMENTARY_CFLAGS@
97 @endverbatim
98  *
99  * autogen.sh:
100  *
101 @verbatim
102 #!/bin/sh
103 echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
104 echo "Running autoheader..." ; autoheader || exit 1
105 echo "Running autoconf..." ; autoconf || exit 1
106 echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
107 ./configure "$@"
108 @endverbatim
109  *
110  * To generate all the things needed to bootstrap just run:
111  *
112 @verbatim
113 ./autogen.sh
114 @endverbatim
115  *
116  * This will generate Makefile.in's, the confgure script and everything else.
117  * After this it works like all normal autotools projects:
118 @verbatim
119 ./configure
120 make
121 sudo make install
122 @endverbatim
123  *
124  * Note sudo was assumed to get root permissions, as this would install in
125  * /usr/local which is system-owned. Use any way you like to gain root, or
126  * specify a different prefix with configure:
127  *
128 @verbatim
129 ./confiugre --prefix=$HOME/mysoftware
130 @endverbatim
131  *
132  * Also remember that autotools buys you some useful commands like:
133 @verbatim
134 make uninstall
135 @endverbatim
136  *
137  * This uninstalls the software after it was installed with "make install".
138  * It is very useful to clear up what you built if you wish to clean the
139  * system.
140  *
141 @verbatim
142 make distcheck
143 @endverbatim
144  *
145  * This firstly checks if your build tree is "clean" and ready for
146  * distribution. It also builds a tarball (myapp-0.0.0.tar.gz) that is
147  * ready to upload and distribute to the world, that contains the generated
148  * Makefile.in's and configure script. The users do not need to run
149  * autogen.sh - just configure and on. They don't need autotools installed.
150  * This tarball also builds cleanly, has all the sources it needs to build
151  * included (that is sources for your application, not libraries it depends
152  * on like Elementary). It builds cleanly in a buildroot and does not
153  * contain any files that are temporarily generated like binaries and other
154  * build-generated files, so the tarball is clean, and no need to worry
155  * about cleaning up your tree before packaging.
156  *
157 @verbatim
158 make clean
159 @endverbatim
160  *
161  * This cleans up all build files (binaries, objects etc.) from the tree.
162  *
163 @verbatim
164 make distclean
165 @endverbatim
166  *
167  * This cleans out all files from the build and from configure's output too.
168  *
169 @verbatim
170 make maintainer-clean
171 @endverbatim
172  *
173  * This deletes all the files autogen.sh will produce so the tree is clean
174  * to be put into a revision-control system (like CVS, SVN or GIT for example).
175  *
176  * There is a more advanced way of making use of the quicklaunch infrastructure
177  * in Elementary (which will not be covered here due to its more advanced
178  * nature).
179  *
180  * Now let's actually create an interactive "Hello World" gui that you can
181  * click the ok button to exit. It's more code because this now does something
182  * much more significant, but it's still very simple:
183  *
184 @code
185 #include <Elementary.h>
186
187 static void
188 on_done(void *data, Evas_Object *obj, void *event_info)
189 {
190    // quit the mainloop (elm_run function will return)
191    elm_exit();
192 }
193
194 EAPI_MAIN int
195 elm_main(int argc, char **argv)
196 {
197    Evas_Object *win, *bg, *box, *lab, *btn;
198
199    // new window - do the usual and give it a name, title and delete handler
200    win = elm_win_add(NULL, "hello", ELM_WIN_BASIC);
201    elm_win_title_set(win, "Hello");
202    // when the user clicks "close" on a window there is a request to delete
203    evas_object_smart_callback_add(win, "delete,request", on_done, NULL);
204
205    // add a standard bg
206    bg = elm_bg_add(win);
207    // add object as a resize object for the window (controls window minimum
208    // size as well as gets resized if window is resized)
209    elm_win_resize_object_add(win, bg);
210    evas_object_show(bg);
211
212    // add a box object - default is vertical. a box holds children in a row,
213    // either horizontally or vertically. nothing more.
214    box = elm_box_add(win);
215    // make the box hotizontal
216    elm_box_horizontal_set(box, EINA_TRUE);
217    // add object as a resize object for the window (controls window minimum
218    // size as well as gets resized if window is resized)
219    elm_win_resize_object_add(win, box);
220    evas_object_show(box);
221
222    // add a label widget, set the text and put it in the pad frame
223    lab = elm_label_add(win);
224    // set default text of the label
225    elm_object_text_set(lab, "Hello out there world!");
226    // pack the label at the end of the box
227    elm_box_pack_end(box, lab);
228    evas_object_show(lab);
229
230    // add an ok button
231    btn = elm_button_add(win);
232    // set default text of button to "OK"
233    elm_object_text_set(btn, "OK");
234    // pack the button at the end of the box
235    elm_box_pack_end(box, btn);
236    evas_object_show(btn);
237    // call on_done when button is clicked
238    evas_object_smart_callback_add(btn, "clicked", on_done, NULL);
239
240    // now we are done, show the window
241    evas_object_show(win);
242
243    // run the mainloop and process events and callbacks
244    elm_run();
245    return 0;
246 }
247 ELM_MAIN()
248 @endcode
249    *
250    */
251
252 /**
253 @page authors Authors
254 @author Carsten Haitzler <raster@@rasterman.com>
255 @author Gustavo Sverzut Barbieri <barbieri@@profusion.mobi>
256 @author Cedric Bail <cedric.bail@@free.fr>
257 @author Vincent Torri <vtorri@@univ-evry.fr>
258 @author Daniel Kolesa <quaker66@@gmail.com>
259 @author Jaime Thomas <avi.thomas@@gmail.com>
260 @author Swisscom - http://www.swisscom.ch/
261 @author Christopher Michael <devilhorns@@comcast.net>
262 @author Marco Trevisan (Treviño) <mail@@3v1n0.net>
263 @author Michael Bouchaud <michael.bouchaud@@gmail.com>
264 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
265 @author Brian Wang <brian.wang.0721@@gmail.com>
266 @author Mike Blumenkrantz (zmike) <mike@@zentific.com>
267 @author Samsung Electronics <tbd>
268 @author Samsung SAIT <tbd>
269 @author Brett Nash <nash@@nash.id.au>
270 @author Bruno Dilly <bdilly@@profusion.mobi>
271 @author Rafael Fonseca <rfonseca@@profusion.mobi>
272 @author Chuneon Park <hermet@@hermet.pe.kr>
273 @author Woohyun Jung <wh0705.jung@@samsung.com>
274 @author Jaehwan Kim <jae.hwan.kim@@samsung.com>
275 @author Wonguk Jeong <wonguk.jeong@@samsung.com>
276 @author Leandro A. F. Pereira <leandro@@profusion.mobi>
277 @author Helen Fornazier <helen.fornazier@@profusion.mobi>
278 @author Gustavo Lima Chaves <glima@@profusion.mobi>
279 @author Fabiano Fidêncio <fidencio@@profusion.mobi>
280 @author Tiago Falcão <tiago@@profusion.mobi>
281 @author Otavio Pontes <otavio@@profusion.mobi>
282 @author Viktor Kojouharov <vkojouharov@@gmail.com>
283 @author Daniel Juyung Seo (SeoZ) <juyung.seo@@samsung.com> <seojuyung2@@gmail.com>
284 @author Sangho Park <sangho.g.park@@samsung.com> <gouache95@@gmail.com>
285 @author Rajeev Ranjan (Rajeev) <rajeev.r@@samsung.com> <rajeev.jnnce@@gmail.com>
286 @author Seunggyun Kim <sgyun.kim@@samsung.com> <tmdrbs@@gmail.com>
287 @author Sohyun Kim <anna1014.kim@@samsung.com> <sohyun.anna@@gmail.com>
288 @author Jihoon Kim <jihoon48.kim@@samsung.com>
289 @author Jeonghyun Yun (arosis) <jh0506.yun@@samsung.com>
290 @author Tom Hacohen <tom@@stosb.com>
291 @author Aharon Hillel <a.hillel@@partner.samsung.com>
292 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
293 @author Shinwoo Kim <kimcinoo@@gmail.com>
294 @author Govindaraju SM <govi.sm@@samsung.com> <govism@@gmail.com>
295 @author Prince Kumar Dubey <prince.dubey@@samsung.com> <prince.dubey@@gmail.com>
296 @author Sung W. Park <sungwoo@gmail.com>
297 @author Thierry el Borgi <thierry@substantiel.fr>
298 @author Shilpa Singh <shilpa.singh@samsung.com> <shilpasingh.o@gmail.com>
299 @author Chanwook Jung <joey.jung@samsung.com>
300 @author Hyoyoung Chang <hyoyoung.chang@samsung.com>
301 @author Guillaume "Kuri" Friloux <guillaume.friloux@asp64.com>
302 @author Kim Yunhan <spbear@gmail.com>
303
304 Please contact <enlightenment-devel@lists.sourceforge.net> to get in
305 contact with the developers and maintainers.
306  */
307
308 #ifndef ELEMENTARY_H
309 #define ELEMENTARY_H
310
311 /**
312  * @file Elementary.h
313  * @brief Elementary's API
314  *
315  * Elementary API.
316  */
317
318 @ELM_UNIX_DEF@ ELM_UNIX
319 @ELM_WIN32_DEF@ ELM_WIN32
320 @ELM_WINCE_DEF@ ELM_WINCE
321 @ELM_EDBUS_DEF@ ELM_EDBUS
322 @ELM_EFREET_DEF@ ELM_EFREET
323 @ELM_ETHUMB_DEF@ ELM_ETHUMB
324 @ELM_WEB_DEF@ ELM_WEB
325 @ELM_EMAP_DEF@ ELM_EMAP
326 @ELM_DEBUG_DEF@ ELM_DEBUG
327 @ELM_ALLOCA_H_DEF@ ELM_ALLOCA_H
328 @ELM_LIBINTL_H_DEF@ ELM_LIBINTL_H
329
330 /* Standard headers for standard system calls etc. */
331 #include <stdio.h>
332 #include <stdlib.h>
333 #include <unistd.h>
334 #include <string.h>
335 #include <sys/types.h>
336 #include <sys/stat.h>
337 #include <sys/time.h>
338 #include <sys/param.h>
339 #include <dlfcn.h>
340 #include <math.h>
341 #include <fnmatch.h>
342 #include <limits.h>
343 #include <ctype.h>
344 #include <time.h>
345 #include <dirent.h>
346 #include <pwd.h>
347 #include <errno.h>
348
349 #ifdef ELM_UNIX
350 # include <locale.h>
351 # ifdef ELM_LIBINTL_H
352 #  include <libintl.h>
353 # endif
354 # include <signal.h>
355 # include <grp.h>
356 # include <glob.h>
357 #endif
358
359 #ifdef ELM_ALLOCA_H
360 # include <alloca.h>
361 #endif
362
363 #if defined (ELM_WIN32) || defined (ELM_WINCE)
364 # include <malloc.h>
365 # ifndef alloca
366 #  define alloca _alloca
367 # endif
368 #endif
369
370
371 /* EFL headers */
372 #include <Eina.h>
373 #include <Eet.h>
374 #include <Evas.h>
375 #include <Evas_GL.h>
376 #include <Ecore.h>
377 #include <Ecore_Evas.h>
378 #include <Ecore_File.h>
379 #include <Ecore_IMF.h>
380 #include <Ecore_Con.h>
381 #include <Edje.h>
382
383 #ifdef ELM_EDBUS
384 # include <E_DBus.h>
385 #endif
386
387 #ifdef ELM_EFREET
388 # include <Efreet.h>
389 # include <Efreet_Mime.h>
390 # include <Efreet_Trash.h>
391 #endif
392
393 #ifdef ELM_ETHUMB
394 # include <Ethumb_Client.h>
395 #endif
396
397 #ifdef ELM_EMAP
398 # include <EMap.h>
399 #endif
400
401 #ifdef EAPI
402 # undef EAPI
403 #endif
404
405 #ifdef _WIN32
406 # ifdef ELEMENTARY_BUILD
407 #  ifdef DLL_EXPORT
408 #   define EAPI __declspec(dllexport)
409 #  else
410 #   define EAPI
411 #  endif /* ! DLL_EXPORT */
412 # else
413 #  define EAPI __declspec(dllimport)
414 # endif /* ! EFL_EVAS_BUILD */
415 #else
416 # ifdef __GNUC__
417 #  if __GNUC__ >= 4
418 #   define EAPI __attribute__ ((visibility("default")))
419 #  else
420 #   define EAPI
421 #  endif
422 # else
423 #  define EAPI
424 # endif
425 #endif /* ! _WIN32 */
426
427 #ifdef _WIN32
428 # define EAPI_MAIN
429 #else
430 # define EAPI_MAIN EAPI
431 #endif
432
433 /* allow usage from c++ */
434 #ifdef __cplusplus
435 extern "C" {
436 #endif
437
438 #define ELM_VERSION_MAJOR @VMAJ@
439 #define ELM_VERSION_MINOR @VMIN@
440
441    typedef struct _Elm_Version
442      {
443         int major;
444         int minor;
445         int micro;
446         int revision;
447      } Elm_Version;
448
449    EAPI extern Elm_Version *elm_version;
450
451 /* handy macros */
452 #define ELM_RECTS_INTERSECT(x, y, w, h, xx, yy, ww, hh) (((x) < ((xx) + (ww))) && ((y) < ((yy) + (hh))) && (((x) + (w)) > (xx)) && (((y) + (h)) > (yy)))
453 #define ELM_PI 3.14159265358979323846
454
455    /**
456     * @defgroup General General
457     *
458     * @brief General Elementary API. Functions that don't relate to
459     * Elementary objects specifically.
460     *
461     * Here are documented functions which init/shutdown the library,
462     * that apply to generic Elementary objects, that deal with
463     * configuration, et cetera.
464     *
465     * @ref general_functions_example_page "This" example contemplates
466     * some of these functions.
467     */
468
469    /**
470     * @addtogroup General
471     * @{
472     */
473
474   /**
475    * Defines couple of standard Evas_Object layers to be used
476    * with evas_object_layer_set().
477    *
478    * @note whenever extending with new values, try to keep some padding
479    *       to siblings so there is room for further extensions.
480    */
481   typedef enum _Elm_Object_Layer
482     {
483        ELM_OBJECT_LAYER_BACKGROUND = EVAS_LAYER_MIN + 64, /**< where to place backgrounds */
484        ELM_OBJECT_LAYER_DEFAULT = 0, /**< Evas_Object default layer (and thus for Elementary) */
485        ELM_OBJECT_LAYER_FOCUS = EVAS_LAYER_MAX - 128, /**< where focus object visualization is */
486        ELM_OBJECT_LAYER_TOOLTIP = EVAS_LAYER_MAX - 64, /**< where to show tooltips */
487        ELM_OBJECT_LAYER_CURSOR = EVAS_LAYER_MAX - 32, /**< where to show cursors */
488        ELM_OBJECT_LAYER_LAST /**< last layer known by Elementary */
489     } Elm_Object_Layer;
490
491 /**************************************************************************/
492    EAPI extern int ELM_ECORE_EVENT_ETHUMB_CONNECT;
493
494    /**
495     * Emitted when any Elementary's policy value is changed.
496     */
497    EAPI extern int ELM_EVENT_POLICY_CHANGED;
498
499    /**
500     * @typedef Elm_Event_Policy_Changed
501     *
502     * Data on the event when an Elementary policy has changed
503     */
504     typedef struct _Elm_Event_Policy_Changed Elm_Event_Policy_Changed;
505
506    /**
507     * @struct _Elm_Event_Policy_Changed
508     *
509     * Data on the event when an Elementary policy has changed
510     */
511     struct _Elm_Event_Policy_Changed
512      {
513         unsigned int policy; /**< the policy identifier */
514         int          new_value; /**< value the policy had before the change */
515         int          old_value; /**< new value the policy got */
516     };
517
518    /**
519     * Policy identifiers.
520     */
521     typedef enum _Elm_Policy
522     {
523         ELM_POLICY_QUIT, /**< under which circumstances the application
524                           * should quit automatically. @see
525                           * Elm_Policy_Quit.
526                           */
527         ELM_POLICY_LAST
528     } Elm_Policy; /**< Elementary policy identifiers/groups enumeration.  @see elm_policy_set()
529  */
530
531    typedef enum _Elm_Policy_Quit
532      {
533         ELM_POLICY_QUIT_NONE = 0, /**< never quit the application
534                                    * automatically */
535         ELM_POLICY_QUIT_LAST_WINDOW_CLOSED /**< quit when the
536                                             * application's last
537                                             * window is closed */
538      } Elm_Policy_Quit; /**< Possible values for the #ELM_POLICY_QUIT policy */
539
540    typedef enum _Elm_Focus_Direction
541      {
542         ELM_FOCUS_PREVIOUS,
543         ELM_FOCUS_NEXT
544      } Elm_Focus_Direction;
545
546    typedef enum _Elm_Text_Format
547      {
548         ELM_TEXT_FORMAT_PLAIN_UTF8,
549         ELM_TEXT_FORMAT_MARKUP_UTF8
550      } Elm_Text_Format;
551
552    /**
553     * Line wrapping types.
554     */
555    typedef enum _Elm_Wrap_Type
556      {
557         ELM_WRAP_NONE = 0, /**< No wrap - value is zero */
558         ELM_WRAP_CHAR, /**< Char wrap - wrap between characters */
559         ELM_WRAP_WORD, /**< Word wrap - wrap in allowed wrapping points (as defined in the unicode standard) */
560         ELM_WRAP_MIXED, /**< Mixed wrap - Word wrap, and if that fails, char wrap. */
561         ELM_WRAP_LAST
562      } Elm_Wrap_Type;
563
564    typedef enum
565      {
566         ELM_INPUT_PANEL_LAYOUT_NORMAL,          /**< Default layout */
567         ELM_INPUT_PANEL_LAYOUT_NUMBER,          /**< Number layout */
568         ELM_INPUT_PANEL_LAYOUT_EMAIL,           /**< Email layout */
569         ELM_INPUT_PANEL_LAYOUT_URL,             /**< URL layout */
570         ELM_INPUT_PANEL_LAYOUT_PHONENUMBER,     /**< Phone Number layout */
571         ELM_INPUT_PANEL_LAYOUT_IP,              /**< IP layout */
572         ELM_INPUT_PANEL_LAYOUT_MONTH,           /**< Month layout */
573         ELM_INPUT_PANEL_LAYOUT_NUMBERONLY,      /**< Number Only layout */
574         ELM_INPUT_PANEL_LAYOUT_INVALID
575      } Elm_Input_Panel_Layout;
576
577    /**
578     * @typedef Elm_Object_Item
579     * An Elementary Object item handle.
580     * @ingroup General
581     */
582    typedef struct _Elm_Object_Item Elm_Object_Item;
583
584
585    /**
586     * Called back when a widget's tooltip is activated and needs content.
587     * @param data user-data given to elm_object_tooltip_content_cb_set()
588     * @param obj owner widget.
589     * @param tooltip The tooltip object (affix content to this!)
590     */
591    typedef Evas_Object *(*Elm_Tooltip_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip);
592
593    /**
594     * Called back when a widget's item tooltip is activated and needs content.
595     * @param data user-data given to elm_object_tooltip_content_cb_set()
596     * @param obj owner widget.
597     * @param tooltip The tooltip object (affix content to this!)
598     * @param item context dependent item. As an example, if tooltip was
599     *        set on Elm_List_Item, then it is of this type.
600     */
601    typedef Evas_Object *(*Elm_Tooltip_Item_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip, void *item);
602
603    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. */
604
605 #ifndef ELM_LIB_QUICKLAUNCH
606 #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 */
607 #else
608 #define ELM_MAIN() int main(int argc, char **argv) {return elm_quicklaunch_fallback(argc, argv);} /**< macro to be used after the elm_main() function */
609 #endif
610
611 /**************************************************************************/
612    /* General calls */
613
614    /**
615     * Initialize Elementary
616     *
617     * @param[in] argc System's argument count value
618     * @param[in] argv System's pointer to array of argument strings
619     * @return The init counter value.
620     *
621     * This function initializes Elementary and increments a counter of
622     * the number of calls to it. It returns the new counter's value.
623     *
624     * @warning This call is exported only for use by the @c ELM_MAIN()
625     * macro. There is no need to use this if you use this macro (which
626     * is highly advisable). An elm_main() should contain the entry
627     * point code for your application, having the same prototype as
628     * elm_init(), and @b not being static (putting the @c EAPI symbol
629     * in front of its type declaration is advisable). The @c
630     * ELM_MAIN() call should be placed just after it.
631     *
632     * Example:
633     * @dontinclude bg_example_01.c
634     * @skip static void
635     * @until ELM_MAIN
636     *
637     * See the full @ref bg_example_01_c "example".
638     *
639     * @see elm_shutdown().
640     * @ingroup General
641     */
642    EAPI int          elm_init(int argc, char **argv);
643
644    /**
645     * Shut down Elementary
646     *
647     * @return The init counter value.
648     *
649     * This should be called at the end of your application, just
650     * before it ceases to do any more processing. This will clean up
651     * any permanent resources your application may have allocated via
652     * Elementary that would otherwise persist.
653     *
654     * @see elm_init() for an example
655     *
656     * @ingroup General
657     */
658    EAPI int          elm_shutdown(void);
659
660    /**
661     * Run Elementary's main loop
662     *
663     * This call should be issued just after all initialization is
664     * completed. This function will not return until elm_exit() is
665     * called. It will keep looping, running the main
666     * (event/processing) loop for Elementary.
667     *
668     * @see elm_init() for an example
669     *
670     * @ingroup General
671     */
672    EAPI void         elm_run(void);
673
674    /**
675     * Exit Elementary's main loop
676     *
677     * If this call is issued, it will flag the main loop to cease
678     * processing and return back to its parent function (usually your
679     * elm_main() function).
680     *
681     * @see elm_init() for an example. There, just after a request to
682     * close the window comes, the main loop will be left.
683     *
684     * @note By using the #ELM_POLICY_QUIT on your Elementary
685     * applications, you'll this function called automatically for you.
686     *
687     * @ingroup General
688     */
689    EAPI void         elm_exit(void);
690
691    /**
692     * Provide information in order to make Elementary determine the @b
693     * run time location of the software in question, so other data files
694     * such as images, sound files, executable utilities, libraries,
695     * modules and locale files can be found.
696     *
697     * @param mainfunc This is your application's main function name,
698     *        whose binary's location is to be found. Providing @c NULL
699     *        will make Elementary not to use it
700     * @param dom This will be used as the application's "domain", in the
701     *        form of a prefix to any environment variables that may
702     *        override prefix detection and the directory name, inside the
703     *        standard share or data directories, where the software's
704     *        data files will be looked for.
705     * @param checkfile This is an (optional) magic file's path to check
706     *        for existence (and it must be located in the data directory,
707     *        under the share directory provided above). Its presence will
708     *        help determine the prefix found was correct. Pass @c NULL if
709     *        the check is not to be done.
710     *
711     * This function allows one to re-locate the application somewhere
712     * else after compilation, if the developer wishes for easier
713     * distribution of pre-compiled binaries.
714     *
715     * The prefix system is designed to locate where the given software is
716     * installed (under a common path prefix) at run time and then report
717     * specific locations of this prefix and common directories inside
718     * this prefix like the binary, library, data and locale directories,
719     * through the @c elm_app_*_get() family of functions.
720     *
721     * Call elm_app_info_set() early on before you change working
722     * directory or anything about @c argv[0], so it gets accurate
723     * information.
724     *
725     * It will then try and trace back which file @p mainfunc comes from,
726     * if provided, to determine the application's prefix directory.
727     *
728     * The @p dom parameter provides a string prefix to prepend before
729     * environment variables, allowing a fallback to @b specific
730     * environment variables to locate the software. You would most
731     * probably provide a lowercase string there, because it will also
732     * serve as directory domain, explained next. For environment
733     * variables purposes, this string is made uppercase. For example if
734     * @c "myapp" is provided as the prefix, then the program would expect
735     * @c "MYAPP_PREFIX" as a master environment variable to specify the
736     * exact install prefix for the software, or more specific environment
737     * variables like @c "MYAPP_BIN_DIR", @c "MYAPP_LIB_DIR", @c
738     * "MYAPP_DATA_DIR" and @c "MYAPP_LOCALE_DIR", which could be set by
739     * the user or scripts before launching. If not provided (@c NULL),
740     * environment variables will not be used to override compiled-in
741     * defaults or auto detections.
742     *
743     * The @p dom string also provides a subdirectory inside the system
744     * shared data directory for data files. For example, if the system
745     * directory is @c /usr/local/share, then this directory name is
746     * appended, creating @c /usr/local/share/myapp, if it @p was @c
747     * "myapp". It is expected the application installs data files in
748     * this directory.
749     *
750     * The @p checkfile is a file name or path of something inside the
751     * share or data directory to be used to test that the prefix
752     * detection worked. For example, your app will install a wallpaper
753     * image as @c /usr/local/share/myapp/images/wallpaper.jpg and so to
754     * check that this worked, provide @c "images/wallpaper.jpg" as the @p
755     * checkfile string.
756     *
757     * @see elm_app_compile_bin_dir_set()
758     * @see elm_app_compile_lib_dir_set()
759     * @see elm_app_compile_data_dir_set()
760     * @see elm_app_compile_locale_set()
761     * @see elm_app_prefix_dir_get()
762     * @see elm_app_bin_dir_get()
763     * @see elm_app_lib_dir_get()
764     * @see elm_app_data_dir_get()
765     * @see elm_app_locale_dir_get()
766     */
767    EAPI void         elm_app_info_set(void *mainfunc, const char *dom, const char *checkfile);
768
769    /**
770     * Provide information on the @b fallback application's binaries
771     * directory, on scenarios where they get overriden by
772     * elm_app_info_set().
773     *
774     * @param dir The path to the default binaries directory (compile time
775     * one)
776     *
777     * @note Elementary will as well use this path to determine actual
778     * names of binaries' directory paths, maybe changing it to be @c
779     * something/local/bin instead of @c something/bin, only, for
780     * example.
781     *
782     * @warning You should call this function @b before
783     * elm_app_info_set().
784     */
785    EAPI void         elm_app_compile_bin_dir_set(const char *dir);
786
787    /**
788     * Provide information on the @b fallback application's libraries
789     * directory, on scenarios where they get overriden by
790     * elm_app_info_set().
791     *
792     * @param dir The path to the default libraries directory (compile
793     * time one)
794     *
795     * @note Elementary will as well use this path to determine actual
796     * names of libraries' directory paths, maybe changing it to be @c
797     * something/lib32 or @c something/lib64 instead of @c something/lib,
798     * only, for example.
799     *
800     * @warning You should call this function @b before
801     * elm_app_info_set().
802     */
803    EAPI void         elm_app_compile_lib_dir_set(const char *dir);
804
805    /**
806     * Provide information on the @b fallback application's data
807     * directory, on scenarios where they get overriden by
808     * elm_app_info_set().
809     *
810     * @param dir The path to the default data directory (compile time
811     * one)
812     *
813     * @note Elementary will as well use this path to determine actual
814     * names of data directory paths, maybe changing it to be @c
815     * something/local/share instead of @c something/share, only, for
816     * example.
817     *
818     * @warning You should call this function @b before
819     * elm_app_info_set().
820     */
821    EAPI void         elm_app_compile_data_dir_set(const char *dir);
822
823    /**
824     * Provide information on the @b fallback application's locale
825     * directory, on scenarios where they get overriden by
826     * elm_app_info_set().
827     *
828     * @param dir The path to the default locale directory (compile time
829     * one)
830     *
831     * @warning You should call this function @b before
832     * elm_app_info_set().
833     */
834    EAPI void         elm_app_compile_locale_set(const char *dir);
835
836    /**
837     * Retrieve the application's run time prefix directory, as set by
838     * elm_app_info_set() and the way (environment) the application was
839     * run from.
840     *
841     * @return The directory prefix the application is actually using
842     */
843    EAPI const char  *elm_app_prefix_dir_get(void);
844
845    /**
846     * Retrieve the application's run time binaries prefix directory, as
847     * set by elm_app_info_set() and the way (environment) the application
848     * was run from.
849     *
850     * @return The binaries directory prefix the application is actually
851     * using
852     */
853    EAPI const char  *elm_app_bin_dir_get(void);
854
855    /**
856     * Retrieve the application's run time libraries prefix directory, as
857     * set by elm_app_info_set() and the way (environment) the application
858     * was run from.
859     *
860     * @return The libraries directory prefix the application is actually
861     * using
862     */
863    EAPI const char  *elm_app_lib_dir_get(void);
864
865    /**
866     * Retrieve the application's run time data prefix directory, as
867     * set by elm_app_info_set() and the way (environment) the application
868     * was run from.
869     *
870     * @return The data directory prefix the application is actually
871     * using
872     */
873    EAPI const char  *elm_app_data_dir_get(void);
874
875    /**
876     * Retrieve the application's run time locale prefix directory, as
877     * set by elm_app_info_set() and the way (environment) the application
878     * was run from.
879     *
880     * @return The locale directory prefix the application is actually
881     * using
882     */
883    EAPI const char  *elm_app_locale_dir_get(void);
884
885    EAPI void         elm_quicklaunch_mode_set(Eina_Bool ql_on);
886    EAPI Eina_Bool    elm_quicklaunch_mode_get(void);
887    EAPI int          elm_quicklaunch_init(int argc, char **argv);
888    EAPI int          elm_quicklaunch_sub_init(int argc, char **argv);
889    EAPI int          elm_quicklaunch_sub_shutdown(void);
890    EAPI int          elm_quicklaunch_shutdown(void);
891    EAPI void         elm_quicklaunch_seed(void);
892    EAPI Eina_Bool    elm_quicklaunch_prepare(int argc, char **argv);
893    EAPI Eina_Bool    elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (postfork_func) (void *data), void *postfork_data);
894    EAPI void         elm_quicklaunch_cleanup(void);
895    EAPI int          elm_quicklaunch_fallback(int argc, char **argv);
896    EAPI char        *elm_quicklaunch_exe_path_get(const char *exe);
897
898    EAPI Eina_Bool    elm_need_efreet(void);
899    EAPI Eina_Bool    elm_need_e_dbus(void);
900
901    /**
902     * This must be called before any other function that handle with
903     * elm_thumb objects or ethumb_client instances.
904     *
905     * @ingroup Thumb
906     */
907    EAPI Eina_Bool    elm_need_ethumb(void);
908
909    /**
910     * This must be called before any other function that handle with
911     * elm_web objects or ewk_view instances.
912     *
913     * @ingroup Web
914     */
915    EAPI Eina_Bool    elm_need_web(void);
916
917    /**
918     * Set a new policy's value (for a given policy group/identifier).
919     *
920     * @param policy policy identifier, as in @ref Elm_Policy.
921     * @param value policy value, which depends on the identifier
922     *
923     * @return @c EINA_TRUE on success or @c EINA_FALSE, on error.
924     *
925     * Elementary policies define applications' behavior,
926     * somehow. These behaviors are divided in policy groups (see
927     * #Elm_Policy enumeration). This call will emit the Ecore event
928     * #ELM_EVENT_POLICY_CHANGED, which can be hooked at with
929     * handlers. An #Elm_Event_Policy_Changed struct will be passed,
930     * then.
931     *
932     * @note Currently, we have only one policy identifier/group
933     * (#ELM_POLICY_QUIT), which has two possible values.
934     *
935     * @ingroup General
936     */
937    EAPI Eina_Bool    elm_policy_set(unsigned int policy, int value);
938
939    /**
940     * Gets the policy value set for given policy identifier.
941     *
942     * @param policy policy identifier, as in #Elm_Policy.
943     * @return The currently set policy value, for that
944     * identifier. Will be @c 0 if @p policy passed is invalid.
945     *
946     * @ingroup General
947     */
948    EAPI int          elm_policy_get(unsigned int policy);
949
950    /**
951     * Set a label of an object
952     *
953     * @param obj The Elementary object
954     * @param part The text part name to set (NULL for the default label)
955     * @param label The new text of the label
956     *
957     * @note Elementary objects may have many labels (e.g. Action Slider)
958     *
959     * @ingroup General
960     */
961    EAPI void         elm_object_text_part_set(Evas_Object *obj, const char *part, const char *label);
962
963 #define elm_object_text_set(obj, label) elm_object_text_part_set((obj), NULL, (label))
964
965    /**
966     * Get a label of an object
967     *
968     * @param obj The Elementary object
969     * @param part The text part name to get (NULL for the default label)
970     * @return text of the label or NULL for any error
971     *
972     * @note Elementary objects may have many labels (e.g. Action Slider)
973     *
974     * @ingroup General
975     */
976    EAPI const char  *elm_object_text_part_get(const Evas_Object *obj, const char *part);
977
978 #define elm_object_text_get(obj) elm_object_text_part_get((obj), NULL)
979
980    /**
981     * Set a content of an object
982     *
983     * @param obj The Elementary object
984     * @param part The content part name to set (NULL for the default content)
985     * @param content The new content of the object
986     *
987     * @note Elementary objects may have many contents
988     *
989     * @ingroup General
990     */
991    EAPI void elm_object_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
992
993 #define elm_object_content_set(obj, content) elm_object_content_part_set((obj), NULL, (content))
994
995    /**
996     * Get a content of an object
997     *
998     * @param obj The Elementary object
999     * @param item The content part name to get (NULL for the default content)
1000     * @return content of the object or NULL for any error
1001     *
1002     * @note Elementary objects may have many contents
1003     *
1004     * @ingroup General
1005     */
1006    EAPI Evas_Object *elm_object_content_part_get(const Evas_Object *obj, const char *part);
1007
1008 #define elm_object_content_get(obj) elm_object_content_part_get((obj), NULL)
1009
1010    /**
1011     * Unset a content of an object
1012     *
1013     * @param obj The Elementary object
1014     * @param item The content part name to unset (NULL for the default content)
1015     *
1016     * @note Elementary objects may have many contents
1017     *
1018     * @ingroup General
1019     */
1020    EAPI Evas_Object *elm_object_content_part_unset(Evas_Object *obj, const char *part);
1021
1022 #define elm_object_content_unset(obj) elm_object_content_part_unset((obj), NULL)
1023
1024    /**
1025     * Set a content of an object item
1026     *
1027     * @param it The Elementary object item
1028     * @param part The content part name to set (NULL for the default content)
1029     * @param content The new content of the object item
1030     *
1031     * @note Elementary object items may have many contents
1032     *
1033     * @ingroup General
1034     */
1035    EAPI void elm_object_item_content_part_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
1036
1037 #define elm_object_item_content_set(it, content) elm_object_item_content_part_set((it), NULL, (content))
1038
1039    /**
1040     * Get a content of an object item
1041     *
1042     * @param it The Elementary object item
1043     * @param part The content part name to unset (NULL for the default content)
1044     * @return content of the object item or NULL for any error
1045     *
1046     * @note Elementary object items may have many contents
1047     *
1048     * @ingroup General
1049     */
1050    EAPI Evas_Object *elm_object_item_content_part_get(const Elm_Object_Item *it, const char *part);
1051
1052 #define elm_object_item_content_get(it) elm_object_item_content_part_get((it), NULL)
1053
1054    /**
1055     * Unset a content of an object item
1056     *
1057     * @param it The Elementary object item
1058     * @param part The content part name to unset (NULL for the default content)
1059     *
1060     * @note Elementary object items may have many contents
1061     *
1062     * @ingroup General
1063     */
1064    EAPI Evas_Object *elm_object_item_content_part_unset(Elm_Object_Item *it, const char *part);
1065
1066 #define elm_object_item_content_unset(it) elm_object_item_content_part_unset((it), NULL)
1067
1068    /**
1069     * Set a label of an objec itemt
1070     *
1071     * @param it The Elementary object item
1072     * @param part The text part name to set (NULL for the default label)
1073     * @param label The new text of the label
1074     *
1075     * @note Elementary object items may have many labels
1076     *
1077     * @ingroup General
1078     */
1079    EAPI void elm_object_item_text_part_set(Elm_Object_Item *it, const char *part, const char *label);
1080
1081 #define elm_object_item_text_set(it, label) elm_object_item_text_part_set((it), NULL, (label))
1082
1083    /**
1084     * Get a label of an object
1085     *
1086     * @param it The Elementary object item
1087     * @param part The text part name to get (NULL for the default label)
1088     * @return text of the label or NULL for any error
1089     *
1090     * @note Elementary object items may have many labels
1091     *
1092     * @ingroup General
1093     */
1094    EAPI const char *elm_object_item_text_part_get(const Elm_Object_Item *it, const char *part);
1095
1096    /**
1097     * Set the text to read out when in accessibility mode
1098     *
1099     * @param obj The object which is to be described
1100     * @param txt The text that describes the widget to people with poor or no vision
1101     *
1102     * @ingroup General
1103     */
1104    EAPI void elm_object_access_info_set(Evas_Object *obj, const char *txt);
1105
1106    /**
1107     * Set the text to read out when in accessibility mode
1108     *
1109     * @param it The object item which is to be described
1110     * @param txt The text that describes the widget to people with poor or no vision
1111     *
1112     * @ingroup General
1113     */
1114    EAPI void elm_object_item_access_info_set(Elm_Object_Item *it, const char *txt);
1115
1116
1117 #define elm_object_item_text_get(it) elm_object_item_text_part_get((it), NULL)
1118
1119    /**
1120     * Get the data associated with an object item
1121     * @param it The object item
1122     * @return The data associated with @p it
1123     *
1124     * @ingroup General
1125     */
1126    EAPI void *elm_object_item_data_get(const Elm_Object_Item *it);
1127
1128    /**
1129     * Set the data associated with an object item
1130     * @param it The object item
1131     * @param data The data to be associated with @p it
1132     *
1133     * @ingroup General
1134     */
1135    EAPI void elm_object_item_data_set(Elm_Object_Item *it, void *data);
1136
1137    /**
1138     * Send a signal to the edje object of the widget item.
1139     *
1140     * This function sends a signal to the edje object of the obj item. An
1141     * edje program can respond to a signal by specifying matching
1142     * 'signal' and 'source' fields.
1143     *
1144     * @param it The Elementary object item
1145     * @param emission The signal's name.
1146     * @param source The signal's source.
1147     * @ingroup General
1148     */
1149    EAPI void             elm_object_item_signal_emit(Elm_Object_Item *it, const char *emission, const char *source) EINA_ARG_NONNULL(1);
1150
1151    /**
1152     * @}
1153     */
1154
1155    /**
1156     * @defgroup Caches Caches
1157     *
1158     * These are functions which let one fine-tune some cache values for
1159     * Elementary applications, thus allowing for performance adjustments.
1160     *
1161     * @{
1162     */
1163
1164    /**
1165     * @brief Flush all caches.
1166     *
1167     * Frees all data that was in cache and is not currently being used to reduce
1168     * memory usage. This frees Edje's, Evas' and Eet's cache. This is equivalent
1169     * to calling all of the following functions:
1170     * @li edje_file_cache_flush()
1171     * @li edje_collection_cache_flush()
1172     * @li eet_clearcache()
1173     * @li evas_image_cache_flush()
1174     * @li evas_font_cache_flush()
1175     * @li evas_render_dump()
1176     * @note Evas caches are flushed for every canvas associated with a window.
1177     *
1178     * @ingroup Caches
1179     */
1180    EAPI void         elm_all_flush(void);
1181
1182    /**
1183     * Get the configured cache flush interval time
1184     *
1185     * This gets the globally configured cache flush interval time, in
1186     * ticks
1187     *
1188     * @return The cache flush interval time
1189     * @ingroup Caches
1190     *
1191     * @see elm_all_flush()
1192     */
1193    EAPI int          elm_cache_flush_interval_get(void);
1194
1195    /**
1196     * Set the configured cache flush interval time
1197     *
1198     * This sets the globally configured cache flush interval time, in ticks
1199     *
1200     * @param size The cache flush interval time
1201     * @ingroup Caches
1202     *
1203     * @see elm_all_flush()
1204     */
1205    EAPI void         elm_cache_flush_interval_set(int size);
1206
1207    /**
1208     * Set the configured cache flush interval time for all applications on the
1209     * display
1210     *
1211     * This sets the globally configured cache flush interval time -- in ticks
1212     * -- for all applications on the display.
1213     *
1214     * @param size The cache flush interval time
1215     * @ingroup Caches
1216     */
1217    EAPI void         elm_cache_flush_interval_all_set(int size);
1218
1219    /**
1220     * Get the configured cache flush enabled state
1221     *
1222     * This gets the globally configured cache flush state - if it is enabled
1223     * or not. When cache flushing is enabled, elementary will regularly
1224     * (see elm_cache_flush_interval_get() ) flush caches and dump data out of
1225     * memory and allow usage to re-seed caches and data in memory where it
1226     * can do so. An idle application will thus minimise its memory usage as
1227     * data will be freed from memory and not be re-loaded as it is idle and
1228     * not rendering or doing anything graphically right now.
1229     *
1230     * @return The cache flush state
1231     * @ingroup Caches
1232     *
1233     * @see elm_all_flush()
1234     */
1235    EAPI Eina_Bool    elm_cache_flush_enabled_get(void);
1236
1237    /**
1238     * Set the configured cache flush enabled state
1239     *
1240     * This sets the globally configured cache flush enabled state
1241     *
1242     * @param size The cache flush enabled state
1243     * @ingroup Caches
1244     *
1245     * @see elm_all_flush()
1246     */
1247    EAPI void         elm_cache_flush_enabled_set(Eina_Bool enabled);
1248
1249    /**
1250     * Set the configured cache flush enabled state for all applications on the
1251     * display
1252     *
1253     * This sets the globally configured cache flush enabled state for all
1254     * applications on the display.
1255     *
1256     * @param size The cache flush enabled state
1257     * @ingroup Caches
1258     */
1259    EAPI void         elm_cache_flush_enabled_all_set(Eina_Bool enabled);
1260
1261    /**
1262     * Get the configured font cache size
1263     *
1264     * This gets the globally configured font cache size, in bytes
1265     *
1266     * @return The font cache size
1267     * @ingroup Caches
1268     */
1269    EAPI int          elm_font_cache_get(void);
1270
1271    /**
1272     * Set the configured font cache size
1273     *
1274     * This sets the globally configured font cache size, in bytes
1275     *
1276     * @param size The font cache size
1277     * @ingroup Caches
1278     */
1279    EAPI void         elm_font_cache_set(int size);
1280
1281    /**
1282     * Set the configured font cache size for all applications on the
1283     * display
1284     *
1285     * This sets the globally configured font cache size -- in bytes
1286     * -- for all applications on the display.
1287     *
1288     * @param size The font cache size
1289     * @ingroup Caches
1290     */
1291    EAPI void         elm_font_cache_all_set(int size);
1292
1293    /**
1294     * Get the configured image cache size
1295     *
1296     * This gets the globally configured image cache size, in bytes
1297     *
1298     * @return The image cache size
1299     * @ingroup Caches
1300     */
1301    EAPI int          elm_image_cache_get(void);
1302
1303    /**
1304     * Set the configured image cache size
1305     *
1306     * This sets the globally configured image cache size, in bytes
1307     *
1308     * @param size The image cache size
1309     * @ingroup Caches
1310     */
1311    EAPI void         elm_image_cache_set(int size);
1312
1313    /**
1314     * Set the configured image cache size for all applications on the
1315     * display
1316     *
1317     * This sets the globally configured image cache size -- in bytes
1318     * -- for all applications on the display.
1319     *
1320     * @param size The image cache size
1321     * @ingroup Caches
1322     */
1323    EAPI void         elm_image_cache_all_set(int size);
1324
1325    /**
1326     * Get the configured edje file cache size.
1327     *
1328     * This gets the globally configured edje file cache size, in number
1329     * of files.
1330     *
1331     * @return The edje file cache size
1332     * @ingroup Caches
1333     */
1334    EAPI int          elm_edje_file_cache_get(void);
1335
1336    /**
1337     * Set the configured edje file cache size
1338     *
1339     * This sets the globally configured edje file cache size, in number
1340     * of files.
1341     *
1342     * @param size The edje file cache size
1343     * @ingroup Caches
1344     */
1345    EAPI void         elm_edje_file_cache_set(int size);
1346
1347    /**
1348     * Set the configured edje file cache size for all applications on the
1349     * display
1350     *
1351     * This sets the globally configured edje file cache size -- in number
1352     * of files -- for all applications on the display.
1353     *
1354     * @param size The edje file cache size
1355     * @ingroup Caches
1356     */
1357    EAPI void         elm_edje_file_cache_all_set(int size);
1358
1359    /**
1360     * Get the configured edje collections (groups) cache size.
1361     *
1362     * This gets the globally configured edje collections cache size, in
1363     * number of collections.
1364     *
1365     * @return The edje collections cache size
1366     * @ingroup Caches
1367     */
1368    EAPI int          elm_edje_collection_cache_get(void);
1369
1370    /**
1371     * Set the configured edje collections (groups) cache size
1372     *
1373     * This sets the globally configured edje collections cache size, in
1374     * number of collections.
1375     *
1376     * @param size The edje collections cache size
1377     * @ingroup Caches
1378     */
1379    EAPI void         elm_edje_collection_cache_set(int size);
1380
1381    /**
1382     * Set the configured edje collections (groups) cache size for all
1383     * applications on the display
1384     *
1385     * This sets the globally configured edje collections cache size -- in
1386     * number of collections -- for all applications on the display.
1387     *
1388     * @param size The edje collections cache size
1389     * @ingroup Caches
1390     */
1391    EAPI void         elm_edje_collection_cache_all_set(int size);
1392
1393    /**
1394     * @}
1395     */
1396
1397    /**
1398     * @defgroup Scaling Widget Scaling
1399     *
1400     * Different widgets can be scaled independently. These functions
1401     * allow you to manipulate this scaling on a per-widget basis. The
1402     * object and all its children get their scaling factors multiplied
1403     * by the scale factor set. This is multiplicative, in that if a
1404     * child also has a scale size set it is in turn multiplied by its
1405     * parent's scale size. @c 1.0 means “don't scale”, @c 2.0 is
1406     * double size, @c 0.5 is half, etc.
1407     *
1408     * @ref general_functions_example_page "This" example contemplates
1409     * some of these functions.
1410     */
1411
1412    /**
1413     * Get the global scaling factor
1414     *
1415     * This gets the globally configured scaling factor that is applied to all
1416     * objects.
1417     *
1418     * @return The scaling factor
1419     * @ingroup Scaling
1420     */
1421    EAPI double       elm_scale_get(void);
1422
1423    /**
1424     * Set the global scaling factor
1425     *
1426     * This sets the globally configured scaling factor that is applied to all
1427     * objects.
1428     *
1429     * @param scale The scaling factor to set
1430     * @ingroup Scaling
1431     */
1432    EAPI void         elm_scale_set(double scale);
1433
1434    /**
1435     * Set the global scaling factor for all applications on the display
1436     *
1437     * This sets the globally configured scaling factor that is applied to all
1438     * objects for all applications.
1439     * @param scale The scaling factor to set
1440     * @ingroup Scaling
1441     */
1442    EAPI void         elm_scale_all_set(double scale);
1443
1444    /**
1445     * Set the scaling factor for a given Elementary object
1446     *
1447     * @param obj The Elementary to operate on
1448     * @param scale Scale factor (from @c 0.0 up, with @c 1.0 meaning
1449     * no scaling)
1450     *
1451     * @ingroup Scaling
1452     */
1453    EAPI void         elm_object_scale_set(Evas_Object *obj, double scale) EINA_ARG_NONNULL(1);
1454
1455    /**
1456     * Get the scaling factor for a given Elementary object
1457     *
1458     * @param obj The object
1459     * @return The scaling factor set by elm_object_scale_set()
1460     *
1461     * @ingroup Scaling
1462     */
1463    EAPI double       elm_object_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1464
1465    /**
1466     * @defgroup Password_last_show Password last input show
1467     *
1468     * Last show feature of password mode enables user to view
1469     * the last input entered for few seconds before masking it.
1470     * These functions allow to set this feature in password mode
1471     * of entry widget and also allow to manipulate the duration
1472     * for which the input has to be visible.
1473     *
1474     * @{
1475     */
1476
1477    /**
1478     * Get show last setting of password mode.
1479     *
1480     * This gets the show last input setting of password mode which might be
1481     * enabled or disabled.
1482     *
1483     * @return @c EINA_TRUE, if the last input show setting is enabled, @c EINA_FALSE
1484     *            if it's disabled.
1485     * @ingroup Password_last_show
1486     */
1487    EAPI Eina_Bool elm_password_show_last_get(void);
1488
1489    /**
1490     * Set show last setting in password mode.
1491     *
1492     * This enables or disables show last setting of password mode.
1493     *
1494     * @param password_show_last If EINA_TRUE enable's last input show in password mode.
1495     * @see elm_password_show_last_timeout_set()
1496     * @ingroup Password_last_show
1497     */
1498    EAPI void elm_password_show_last_set(Eina_Bool password_show_last);
1499
1500    /**
1501     * Get's the timeout value in last show password mode.
1502     *
1503     * This gets the time out value for which the last input entered in password
1504     * mode will be visible.
1505     *
1506     * @return The timeout value of last show password mode.
1507     * @ingroup Password_last_show
1508     */
1509    EAPI double elm_password_show_last_timeout_get(void);
1510
1511    /**
1512     * Set's the timeout value in last show password mode.
1513     *
1514     * This sets the time out value for which the last input entered in password
1515     * mode will be visible.
1516     *
1517     * @param password_show_last_timeout The timeout value.
1518     * @see elm_password_show_last_set()
1519     * @ingroup Password_last_show
1520     */
1521    EAPI void elm_password_show_last_timeout_set(double password_show_last_timeout);
1522
1523    /**
1524     * @}
1525     */
1526
1527    /**
1528     * @defgroup UI-Mirroring Selective Widget mirroring
1529     *
1530     * These functions allow you to set ui-mirroring on specific
1531     * widgets or the whole interface. Widgets can be in one of two
1532     * modes, automatic and manual.  Automatic means they'll be changed
1533     * according to the system mirroring mode and manual means only
1534     * explicit changes will matter. You are not supposed to change
1535     * mirroring state of a widget set to automatic, will mostly work,
1536     * but the behavior is not really defined.
1537     *
1538     * @{
1539     */
1540
1541    EAPI Eina_Bool    elm_mirrored_get(void);
1542    EAPI void         elm_mirrored_set(Eina_Bool mirrored);
1543
1544    /**
1545     * Get the system mirrored mode. This determines the default mirrored mode
1546     * of widgets.
1547     *
1548     * @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
1549     */
1550    EAPI Eina_Bool    elm_object_mirrored_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1551
1552    /**
1553     * Set the system mirrored mode. This determines the default mirrored mode
1554     * of widgets.
1555     *
1556     * @param mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
1557     */
1558    EAPI void         elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored) EINA_ARG_NONNULL(1);
1559
1560    /**
1561     * Returns the widget's mirrored mode setting.
1562     *
1563     * @param obj The widget.
1564     * @return mirrored mode setting of the object.
1565     *
1566     **/
1567    EAPI Eina_Bool    elm_object_mirrored_automatic_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1568
1569    /**
1570     * Sets the widget's mirrored mode setting.
1571     * When widget in automatic mode, it follows the system mirrored mode set by
1572     * elm_mirrored_set().
1573     * @param obj The widget.
1574     * @param automatic EINA_TRUE for auto mirrored mode. EINA_FALSE for manual.
1575     */
1576    EAPI void         elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic) EINA_ARG_NONNULL(1);
1577
1578    /**
1579     * @}
1580     */
1581
1582    /**
1583     * Set the style to use by a widget
1584     *
1585     * Sets the style name that will define the appearance of a widget. Styles
1586     * vary from widget to widget and may also be defined by other themes
1587     * by means of extensions and overlays.
1588     *
1589     * @param obj The Elementary widget to style
1590     * @param style The style name to use
1591     *
1592     * @see elm_theme_extension_add()
1593     * @see elm_theme_extension_del()
1594     * @see elm_theme_overlay_add()
1595     * @see elm_theme_overlay_del()
1596     *
1597     * @ingroup Styles
1598     */
1599    EAPI void         elm_object_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
1600    /**
1601     * Get the style used by the widget
1602     *
1603     * This gets the style being used for that widget. Note that the string
1604     * pointer is only valid as longas the object is valid and the style doesn't
1605     * change.
1606     *
1607     * @param obj The Elementary widget to query for its style
1608     * @return The style name used
1609     *
1610     * @see elm_object_style_set()
1611     *
1612     * @ingroup Styles
1613     */
1614    EAPI const char  *elm_object_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1615
1616    /**
1617     * @defgroup Styles Styles
1618     *
1619     * Widgets can have different styles of look. These generic API's
1620     * set styles of widgets, if they support them (and if the theme(s)
1621     * do).
1622     *
1623     * @ref general_functions_example_page "This" example contemplates
1624     * some of these functions.
1625     */
1626
1627    /**
1628     * Set the disabled state of an Elementary object.
1629     *
1630     * @param obj The Elementary object to operate on
1631     * @param disabled The state to put in in: @c EINA_TRUE for
1632     *        disabled, @c EINA_FALSE for enabled
1633     *
1634     * Elementary objects can be @b disabled, in which state they won't
1635     * receive input and, in general, will be themed differently from
1636     * their normal state, usually greyed out. Useful for contexts
1637     * where you don't want your users to interact with some of the
1638     * parts of you interface.
1639     *
1640     * This sets the state for the widget, either disabling it or
1641     * enabling it back.
1642     *
1643     * @ingroup Styles
1644     */
1645    EAPI void         elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
1646
1647    /**
1648     * Get the disabled state of an Elementary object.
1649     *
1650     * @param obj The Elementary object to operate on
1651     * @return @c EINA_TRUE, if the widget is disabled, @c EINA_FALSE
1652     *            if it's enabled (or on errors)
1653     *
1654     * This gets the state of the widget, which might be enabled or disabled.
1655     *
1656     * @ingroup Styles
1657     */
1658    EAPI Eina_Bool    elm_object_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1659
1660    /**
1661     * @defgroup WidgetNavigation Widget Tree Navigation.
1662     *
1663     * How to check if an Evas Object is an Elementary widget? How to
1664     * get the first elementary widget that is parent of the given
1665     * object?  These are all covered in widget tree navigation.
1666     *
1667     * @ref general_functions_example_page "This" example contemplates
1668     * some of these functions.
1669     */
1670
1671    /**
1672     * Check if the given Evas Object is an Elementary widget.
1673     *
1674     * @param obj the object to query.
1675     * @return @c EINA_TRUE if it is an elementary widget variant,
1676     *         @c EINA_FALSE otherwise
1677     * @ingroup WidgetNavigation
1678     */
1679    EAPI Eina_Bool    elm_object_widget_check(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1680
1681    /**
1682     * Get the first parent of the given object that is an Elementary
1683     * widget.
1684     *
1685     * @param obj the Elementary object to query parent from.
1686     * @return the parent object that is an Elementary widget, or @c
1687     *         NULL, if it was not found.
1688     *
1689     * Use this to query for an object's parent widget.
1690     *
1691     * @note Most of Elementary users wouldn't be mixing non-Elementary
1692     * smart objects in the objects tree of an application, as this is
1693     * an advanced usage of Elementary with Evas. So, except for the
1694     * application's window, which is the root of that tree, all other
1695     * objects would have valid Elementary widget parents.
1696     *
1697     * @ingroup WidgetNavigation
1698     */
1699    EAPI Evas_Object *elm_object_parent_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1700
1701    /**
1702     * Get the top level parent of an Elementary widget.
1703     *
1704     * @param obj The object to query.
1705     * @return The top level Elementary widget, or @c NULL if parent cannot be
1706     * found.
1707     * @ingroup WidgetNavigation
1708     */
1709    EAPI Evas_Object *elm_object_top_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1710
1711    /**
1712     * Get the string that represents this Elementary widget.
1713     *
1714     * @note Elementary is weird and exposes itself as a single
1715     *       Evas_Object_Smart_Class of type "elm_widget", so
1716     *       evas_object_type_get() always return that, making debug and
1717     *       language bindings hard. This function tries to mitigate this
1718     *       problem, but the solution is to change Elementary to use
1719     *       proper inheritance.
1720     *
1721     * @param obj the object to query.
1722     * @return Elementary widget name, or @c NULL if not a valid widget.
1723     * @ingroup WidgetNavigation
1724     */
1725    EAPI const char  *elm_object_widget_type_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1726
1727    /**
1728     * @defgroup Config Elementary Config
1729     *
1730     * Elementary configuration is formed by a set options bounded to a
1731     * given @ref Profile profile, like @ref Theme theme, @ref Fingers
1732     * "finger size", etc. These are functions with which one syncronizes
1733     * changes made to those values to the configuration storing files, de
1734     * facto. You most probably don't want to use the functions in this
1735     * group unlees you're writing an elementary configuration manager.
1736     *
1737     * @{
1738     */
1739
1740    /**
1741     * Save back Elementary's configuration, so that it will persist on
1742     * future sessions.
1743     *
1744     * @return @c EINA_TRUE, when sucessful. @c EINA_FALSE, otherwise.
1745     * @ingroup Config
1746     *
1747     * This function will take effect -- thus, do I/O -- immediately. Use
1748     * it when you want to apply all configuration changes at once. The
1749     * current configuration set will get saved onto the current profile
1750     * configuration file.
1751     *
1752     */
1753    EAPI Eina_Bool    elm_config_save(void);
1754
1755    /**
1756     * Reload Elementary's configuration, bounded to current selected
1757     * profile.
1758     *
1759     * @return @c EINA_TRUE, when sucessful. @c EINA_FALSE, otherwise.
1760     * @ingroup Config
1761     *
1762     * Useful when you want to force reloading of configuration values for
1763     * a profile. If one removes user custom configuration directories,
1764     * for example, it will force a reload with system values insted.
1765     *
1766     */
1767    EAPI void         elm_config_reload(void);
1768
1769    /**
1770     * @}
1771     */
1772
1773    /**
1774     * @defgroup Profile Elementary Profile
1775     *
1776     * Profiles are pre-set options that affect the whole look-and-feel of
1777     * Elementary-based applications. There are, for example, profiles
1778     * aimed at desktop computer applications and others aimed at mobile,
1779     * touchscreen-based ones. You most probably don't want to use the
1780     * functions in this group unlees you're writing an elementary
1781     * configuration manager.
1782     *
1783     * @{
1784     */
1785
1786    /**
1787     * Get Elementary's profile in use.
1788     *
1789     * This gets the global profile that is applied to all Elementary
1790     * applications.
1791     *
1792     * @return The profile's name
1793     * @ingroup Profile
1794     */
1795    EAPI const char  *elm_profile_current_get(void);
1796
1797    /**
1798     * Get an Elementary's profile directory path in the filesystem. One
1799     * may want to fetch a system profile's dir or an user one (fetched
1800     * inside $HOME).
1801     *
1802     * @param profile The profile's name
1803     * @param is_user Whether to lookup for an user profile (@c EINA_TRUE)
1804     *                or a system one (@c EINA_FALSE)
1805     * @return The profile's directory path.
1806     * @ingroup Profile
1807     *
1808     * @note You must free it with elm_profile_dir_free().
1809     */
1810    EAPI const char  *elm_profile_dir_get(const char *profile, Eina_Bool is_user);
1811
1812    /**
1813     * Free an Elementary's profile directory path, as returned by
1814     * elm_profile_dir_get().
1815     *
1816     * @param p_dir The profile's path
1817     * @ingroup Profile
1818     *
1819     */
1820    EAPI void         elm_profile_dir_free(const char *p_dir);
1821
1822    /**
1823     * Get Elementary's list of available profiles.
1824     *
1825     * @return The profiles list. List node data are the profile name
1826     *         strings.
1827     * @ingroup Profile
1828     *
1829     * @note One must free this list, after usage, with the function
1830     *       elm_profile_list_free().
1831     */
1832    EAPI Eina_List   *elm_profile_list_get(void);
1833
1834    /**
1835     * Free Elementary's list of available profiles.
1836     *
1837     * @param l The profiles list, as returned by elm_profile_list_get().
1838     * @ingroup Profile
1839     *
1840     */
1841    EAPI void         elm_profile_list_free(Eina_List *l);
1842
1843    /**
1844     * Set Elementary's profile.
1845     *
1846     * This sets the global profile that is applied to Elementary
1847     * applications. Just the process the call comes from will be
1848     * affected.
1849     *
1850     * @param profile The profile's name
1851     * @ingroup Profile
1852     *
1853     */
1854    EAPI void         elm_profile_set(const char *profile);
1855
1856    /**
1857     * Set Elementary's profile.
1858     *
1859     * This sets the global profile that is applied to all Elementary
1860     * applications. All running Elementary windows will be affected.
1861     *
1862     * @param profile The profile's name
1863     * @ingroup Profile
1864     *
1865     */
1866    EAPI void         elm_profile_all_set(const char *profile);
1867
1868    /**
1869     * @}
1870     */
1871
1872    /**
1873     * @defgroup Engine Elementary Engine
1874     *
1875     * These are functions setting and querying which rendering engine
1876     * Elementary will use for drawing its windows' pixels.
1877     *
1878     * The following are the available engines:
1879     * @li "software_x11"
1880     * @li "fb"
1881     * @li "directfb"
1882     * @li "software_16_x11"
1883     * @li "software_8_x11"
1884     * @li "xrender_x11"
1885     * @li "opengl_x11"
1886     * @li "software_gdi"
1887     * @li "software_16_wince_gdi"
1888     * @li "sdl"
1889     * @li "software_16_sdl"
1890     * @li "opengl_sdl"
1891     * @li "buffer"
1892     *
1893     * @{
1894     */
1895
1896    /**
1897     * @brief Get Elementary's rendering engine in use.
1898     *
1899     * @return The rendering engine's name
1900     * @note there's no need to free the returned string, here.
1901     *
1902     * This gets the global rendering engine that is applied to all Elementary
1903     * applications.
1904     *
1905     * @see elm_engine_set()
1906     */
1907    EAPI const char  *elm_engine_current_get(void);
1908
1909    /**
1910     * @brief Set Elementary's rendering engine for use.
1911     *
1912     * @param engine The rendering engine's name
1913     *
1914     * This sets global rendering engine that is applied to all Elementary
1915     * applications. Note that it will take effect only to Elementary windows
1916     * created after this is called.
1917     *
1918     * @see elm_win_add()
1919     */
1920    EAPI void         elm_engine_set(const char *engine);
1921
1922    /**
1923     * @}
1924     */
1925
1926    /**
1927     * @defgroup Fonts Elementary Fonts
1928     *
1929     * These are functions dealing with font rendering, selection and the
1930     * like for Elementary applications. One might fetch which system
1931     * fonts are there to use and set custom fonts for individual classes
1932     * of UI items containing text (text classes).
1933     *
1934     * @{
1935     */
1936
1937   typedef struct _Elm_Text_Class
1938     {
1939        const char *name;
1940        const char *desc;
1941     } Elm_Text_Class;
1942
1943   typedef struct _Elm_Font_Overlay
1944     {
1945        const char     *text_class;
1946        const char     *font;
1947        Evas_Font_Size  size;
1948     } Elm_Font_Overlay;
1949
1950   typedef struct _Elm_Font_Properties
1951     {
1952        const char *name;
1953        Eina_List  *styles;
1954     } Elm_Font_Properties;
1955
1956    /**
1957     * Get Elementary's list of supported text classes.
1958     *
1959     * @return The text classes list, with @c Elm_Text_Class blobs as data.
1960     * @ingroup Fonts
1961     *
1962     * Release the list with elm_text_classes_list_free().
1963     */
1964    EAPI const Eina_List     *elm_text_classes_list_get(void);
1965
1966    /**
1967     * Free Elementary's list of supported text classes.
1968     *
1969     * @ingroup Fonts
1970     *
1971     * @see elm_text_classes_list_get().
1972     */
1973    EAPI void                 elm_text_classes_list_free(const Eina_List *list);
1974
1975    /**
1976     * Get Elementary's list of font overlays, set with
1977     * elm_font_overlay_set().
1978     *
1979     * @return The font overlays list, with @c Elm_Font_Overlay blobs as
1980     * data.
1981     *
1982     * @ingroup Fonts
1983     *
1984     * For each text class, one can set a <b>font overlay</b> for it,
1985     * overriding the default font properties for that class coming from
1986     * the theme in use. There is no need to free this list.
1987     *
1988     * @see elm_font_overlay_set() and elm_font_overlay_unset().
1989     */
1990    EAPI const Eina_List     *elm_font_overlay_list_get(void);
1991
1992    /**
1993     * Set a font overlay for a given Elementary text class.
1994     *
1995     * @param text_class Text class name
1996     * @param font Font name and style string
1997     * @param size Font size
1998     *
1999     * @ingroup Fonts
2000     *
2001     * @p font has to be in the format returned by
2002     * elm_font_fontconfig_name_get(). @see elm_font_overlay_list_get()
2003     * and elm_font_overlay_unset().
2004     */
2005    EAPI void                 elm_font_overlay_set(const char *text_class, const char *font, Evas_Font_Size size);
2006
2007    /**
2008     * Unset a font overlay for a given Elementary text class.
2009     *
2010     * @param text_class Text class name
2011     *
2012     * @ingroup Fonts
2013     *
2014     * This will bring back text elements belonging to text class
2015     * @p text_class back to their default font settings.
2016     */
2017    EAPI void                 elm_font_overlay_unset(const char *text_class);
2018
2019    /**
2020     * Apply the changes made with elm_font_overlay_set() and
2021     * elm_font_overlay_unset() on the current Elementary window.
2022     *
2023     * @ingroup Fonts
2024     *
2025     * This applies all font overlays set to all objects in the UI.
2026     */
2027    EAPI void                 elm_font_overlay_apply(void);
2028
2029    /**
2030     * Apply the changes made with elm_font_overlay_set() and
2031     * elm_font_overlay_unset() on all Elementary application windows.
2032     *
2033     * @ingroup Fonts
2034     *
2035     * This applies all font overlays set to all objects in the UI.
2036     */
2037    EAPI void                 elm_font_overlay_all_apply(void);
2038
2039    /**
2040     * Translate a font (family) name string in fontconfig's font names
2041     * syntax into an @c Elm_Font_Properties struct.
2042     *
2043     * @param font The font name and styles string
2044     * @return the font properties struct
2045     *
2046     * @ingroup Fonts
2047     *
2048     * @note The reverse translation can be achived with
2049     * elm_font_fontconfig_name_get(), for one style only (single font
2050     * instance, not family).
2051     */
2052    EAPI Elm_Font_Properties *elm_font_properties_get(const char *font) EINA_ARG_NONNULL(1);
2053
2054    /**
2055     * Free font properties return by elm_font_properties_get().
2056     *
2057     * @param efp the font properties struct
2058     *
2059     * @ingroup Fonts
2060     */
2061    EAPI void                 elm_font_properties_free(Elm_Font_Properties *efp) EINA_ARG_NONNULL(1);
2062
2063    /**
2064     * Translate a font name, bound to a style, into fontconfig's font names
2065     * syntax.
2066     *
2067     * @param name The font (family) name
2068     * @param style The given style (may be @c NULL)
2069     *
2070     * @return the font name and style string
2071     *
2072     * @ingroup Fonts
2073     *
2074     * @note The reverse translation can be achived with
2075     * elm_font_properties_get(), for one style only (single font
2076     * instance, not family).
2077     */
2078    EAPI const char          *elm_font_fontconfig_name_get(const char *name, const char *style) EINA_ARG_NONNULL(1);
2079
2080    /**
2081     * Free the font string return by elm_font_fontconfig_name_get().
2082     *
2083     * @param efp the font properties struct
2084     *
2085     * @ingroup Fonts
2086     */
2087    EAPI void                 elm_font_fontconfig_name_free(const char *name) EINA_ARG_NONNULL(1);
2088
2089    /**
2090     * Create a font hash table of available system fonts.
2091     *
2092     * One must call it with @p list being the return value of
2093     * evas_font_available_list(). The hash will be indexed by font
2094     * (family) names, being its values @c Elm_Font_Properties blobs.
2095     *
2096     * @param list The list of available system fonts, as returned by
2097     * evas_font_available_list().
2098     * @return the font hash.
2099     *
2100     * @ingroup Fonts
2101     *
2102     * @note The user is supposed to get it populated at least with 3
2103     * default font families (Sans, Serif, Monospace), which should be
2104     * present on most systems.
2105     */
2106    EAPI Eina_Hash           *elm_font_available_hash_add(Eina_List *list);
2107
2108    /**
2109     * Free the hash return by elm_font_available_hash_add().
2110     *
2111     * @param hash the hash to be freed.
2112     *
2113     * @ingroup Fonts
2114     */
2115    EAPI void                 elm_font_available_hash_del(Eina_Hash *hash);
2116
2117    /**
2118     * @}
2119     */
2120
2121    /**
2122     * @defgroup Fingers Fingers
2123     *
2124     * Elementary is designed to be finger-friendly for touchscreens,
2125     * and so in addition to scaling for display resolution, it can
2126     * also scale based on finger "resolution" (or size). You can then
2127     * customize the granularity of the areas meant to receive clicks
2128     * on touchscreens.
2129     *
2130     * Different profiles may have pre-set values for finger sizes.
2131     *
2132     * @ref general_functions_example_page "This" example contemplates
2133     * some of these functions.
2134     *
2135     * @{
2136     */
2137
2138    /**
2139     * Get the configured "finger size"
2140     *
2141     * @return The finger size
2142     *
2143     * This gets the globally configured finger size, <b>in pixels</b>
2144     *
2145     * @ingroup Fingers
2146     */
2147    EAPI Evas_Coord       elm_finger_size_get(void);
2148
2149    /**
2150     * Set the configured finger size
2151     *
2152     * This sets the globally configured finger size in pixels
2153     *
2154     * @param size The finger size
2155     * @ingroup Fingers
2156     */
2157    EAPI void             elm_finger_size_set(Evas_Coord size);
2158
2159    /**
2160     * Set the configured finger size for all applications on the display
2161     *
2162     * This sets the globally configured finger size in pixels for all
2163     * applications on the display
2164     *
2165     * @param size The finger size
2166     * @ingroup Fingers
2167     */
2168    EAPI void             elm_finger_size_all_set(Evas_Coord size);
2169
2170    /**
2171     * @}
2172     */
2173
2174    /**
2175     * @defgroup Focus Focus
2176     *
2177     * An Elementary application has, at all times, one (and only one)
2178     * @b focused object. This is what determines where the input
2179     * events go to within the application's window. Also, focused
2180     * objects can be decorated differently, in order to signal to the
2181     * user where the input is, at a given moment.
2182     *
2183     * Elementary applications also have the concept of <b>focus
2184     * chain</b>: one can cycle through all the windows' focusable
2185     * objects by input (tab key) or programmatically. The default
2186     * focus chain for an application is the one define by the order in
2187     * which the widgets where added in code. One will cycle through
2188     * top level widgets, and, for each one containg sub-objects, cycle
2189     * through them all, before returning to the level
2190     * above. Elementary also allows one to set @b custom focus chains
2191     * for their applications.
2192     *
2193     * Besides the focused decoration a widget may exhibit, when it
2194     * gets focus, Elementary has a @b global focus highlight object
2195     * that can be enabled for a window. If one chooses to do so, this
2196     * extra highlight effect will surround the current focused object,
2197     * too.
2198     *
2199     * @note Some Elementary widgets are @b unfocusable, after
2200     * creation, by their very nature: they are not meant to be
2201     * interacted with input events, but are there just for visual
2202     * purposes.
2203     *
2204     * @ref general_functions_example_page "This" example contemplates
2205     * some of these functions.
2206     */
2207
2208    /**
2209     * Get the enable status of the focus highlight
2210     *
2211     * This gets whether the highlight on focused objects is enabled or not
2212     * @ingroup Focus
2213     */
2214    EAPI Eina_Bool        elm_focus_highlight_enabled_get(void);
2215
2216    /**
2217     * Set the enable status of the focus highlight
2218     *
2219     * Set whether to show or not the highlight on focused objects
2220     * @param enable Enable highlight if EINA_TRUE, disable otherwise
2221     * @ingroup Focus
2222     */
2223    EAPI void             elm_focus_highlight_enabled_set(Eina_Bool enable);
2224
2225    /**
2226     * Get the enable status of the highlight animation
2227     *
2228     * Get whether the focus highlight, if enabled, will animate its switch from
2229     * one object to the next
2230     * @ingroup Focus
2231     */
2232    EAPI Eina_Bool        elm_focus_highlight_animate_get(void);
2233
2234    /**
2235     * Set the enable status of the highlight animation
2236     *
2237     * Set whether the focus highlight, if enabled, will animate its switch from
2238     * one object to the next
2239     * @param animate Enable animation if EINA_TRUE, disable otherwise
2240     * @ingroup Focus
2241     */
2242    EAPI void             elm_focus_highlight_animate_set(Eina_Bool animate);
2243
2244    /**
2245     * Get the whether an Elementary object has the focus or not.
2246     *
2247     * @param obj The Elementary object to get the information from
2248     * @return @c EINA_TRUE, if the object is focused, @c EINA_FALSE if
2249     *            not (and on errors).
2250     *
2251     * @see elm_object_focus_set()
2252     *
2253     * @ingroup Focus
2254     */
2255    EAPI Eina_Bool        elm_object_focus_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2256
2257    /**
2258     * Set/unset focus to a given Elementary object.
2259     *
2260     * @param obj The Elementary object to operate on.
2261     * @param enable @c EINA_TRUE Set focus to a given object,
2262     *               @c EINA_FALSE Unset focus to a given object.
2263     *
2264     * @note When you set focus to this object, if it can handle focus, will
2265     * take the focus away from the one who had it previously and will, for
2266     * now on, be the one receiving input events. Unsetting focus will remove
2267     * the focus from @p obj, passing it back to the previous element in the
2268     * focus chain list.
2269     *
2270     * @see elm_object_focus_get(), elm_object_focus_custom_chain_get()
2271     *
2272     * @ingroup Focus
2273     */
2274    EAPI void             elm_object_focus_set(Evas_Object *obj, Eina_Bool focus) EINA_ARG_NONNULL(1);
2275
2276    /**
2277     * Make a given Elementary object the focused one.
2278     *
2279     * @param obj The Elementary object to make focused.
2280     *
2281     * @note This object, if it can handle focus, will take the focus
2282     * away from the one who had it previously and will, for now on, be
2283     * the one receiving input events.
2284     *
2285     * @see elm_object_focus_get()
2286     * @deprecated use elm_object_focus_set() instead.
2287     *
2288     * @ingroup Focus
2289     */
2290    EINA_DEPRECATED EAPI void             elm_object_focus(Evas_Object *obj) EINA_ARG_NONNULL(1);
2291
2292    /**
2293     * Remove the focus from an Elementary object
2294     *
2295     * @param obj The Elementary to take focus from
2296     *
2297     * This removes the focus from @p obj, passing it back to the
2298     * previous element in the focus chain list.
2299     *
2300     * @see elm_object_focus() and elm_object_focus_custom_chain_get()
2301     * @deprecated use elm_object_focus_set() instead.
2302     *
2303     * @ingroup Focus
2304     */
2305    EINA_DEPRECATED EAPI void             elm_object_unfocus(Evas_Object *obj) EINA_ARG_NONNULL(1);
2306
2307    /**
2308     * Set the ability for an Element object to be focused
2309     *
2310     * @param obj The Elementary object to operate on
2311     * @param enable @c EINA_TRUE if the object can be focused, @c
2312     *        EINA_FALSE if not (and on errors)
2313     *
2314     * This sets whether the object @p obj is able to take focus or
2315     * not. Unfocusable objects do nothing when programmatically
2316     * focused, being the nearest focusable parent object the one
2317     * really getting focus. Also, when they receive mouse input, they
2318     * will get the event, but not take away the focus from where it
2319     * was previously.
2320     *
2321     * @ingroup Focus
2322     */
2323    EAPI void             elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable) EINA_ARG_NONNULL(1);
2324
2325    /**
2326     * Get whether an Elementary object is focusable or not
2327     *
2328     * @param obj The Elementary object to operate on
2329     * @return @c EINA_TRUE if the object is allowed to be focused, @c
2330     *             EINA_FALSE if not (and on errors)
2331     *
2332     * @note Objects which are meant to be interacted with by input
2333     * events are created able to be focused, by default. All the
2334     * others are not.
2335     *
2336     * @ingroup Focus
2337     */
2338    EAPI Eina_Bool        elm_object_focus_allow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2339
2340    /**
2341     * Set custom focus chain.
2342     *
2343     * This function overwrites any previous custom focus chain within
2344     * the list of objects. The previous list will be deleted and this list
2345     * will be managed by elementary. After it is set, don't modify it.
2346     *
2347     * @note On focus cycle, only will be evaluated children of this container.
2348     *
2349     * @param obj The container object
2350     * @param objs Chain of objects to pass focus
2351     * @ingroup Focus
2352     */
2353    EAPI void             elm_object_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs) EINA_ARG_NONNULL(1);
2354
2355    /**
2356     * Unset a custom focus chain on a given Elementary widget
2357     *
2358     * @param obj The container object to remove focus chain from
2359     *
2360     * Any focus chain previously set on @p obj (for its child objects)
2361     * is removed entirely after this call.
2362     *
2363     * @ingroup Focus
2364     */
2365    EAPI void             elm_object_focus_custom_chain_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
2366
2367    /**
2368     * Get custom focus chain
2369     *
2370     * @param obj The container object
2371     * @ingroup Focus
2372     */
2373    EAPI const Eina_List *elm_object_focus_custom_chain_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2374
2375    /**
2376     * Append object to custom focus chain.
2377     *
2378     * @note If relative_child equal to NULL or not in custom chain, the object
2379     * will be added in end.
2380     *
2381     * @note On focus cycle, only will be evaluated children of this container.
2382     *
2383     * @param obj The container object
2384     * @param child The child to be added in custom chain
2385     * @param relative_child The relative object to position the child
2386     * @ingroup Focus
2387     */
2388    EAPI void             elm_object_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
2389
2390    /**
2391     * Prepend object to custom focus chain.
2392     *
2393     * @note If relative_child equal to NULL or not in custom chain, the object
2394     * will be added in begin.
2395     *
2396     * @note On focus cycle, only will be evaluated children of this container.
2397     *
2398     * @param obj The container object
2399     * @param child The child to be added in custom chain
2400     * @param relative_child The relative object to position the child
2401     * @ingroup Focus
2402     */
2403    EAPI void             elm_object_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
2404
2405    /**
2406     * Give focus to next object in object tree.
2407     *
2408     * Give focus to next object in focus chain of one object sub-tree.
2409     * If the last object of chain already have focus, the focus will go to the
2410     * first object of chain.
2411     *
2412     * @param obj The object root of sub-tree
2413     * @param dir Direction to cycle the focus
2414     *
2415     * @ingroup Focus
2416     */
2417    EAPI void             elm_object_focus_cycle(Evas_Object *obj, Elm_Focus_Direction dir) EINA_ARG_NONNULL(1);
2418
2419    /**
2420     * Give focus to near object in one direction.
2421     *
2422     * Give focus to near object in direction of one object.
2423     * If none focusable object in given direction, the focus will not change.
2424     *
2425     * @param obj The reference object
2426     * @param x Horizontal component of direction to focus
2427     * @param y Vertical component of direction to focus
2428     *
2429     * @ingroup Focus
2430     */
2431    EAPI void             elm_object_focus_direction_go(Evas_Object *obj, int x, int y) EINA_ARG_NONNULL(1);
2432
2433    /**
2434     * Make the elementary object and its children to be unfocusable
2435     * (or focusable).
2436     *
2437     * @param obj The Elementary object to operate on
2438     * @param tree_unfocusable @c EINA_TRUE for unfocusable,
2439     *        @c EINA_FALSE for focusable.
2440     *
2441     * This sets whether the object @p obj and its children objects
2442     * are able to take focus or not. If the tree is set as unfocusable,
2443     * newest focused object which is not in this tree will get focus.
2444     * This API can be helpful for an object to be deleted.
2445     * When an object will be deleted soon, it and its children may not
2446     * want to get focus (by focus reverting or by other focus controls).
2447     * Then, just use this API before deleting.
2448     *
2449     * @see elm_object_tree_unfocusable_get()
2450     *
2451     * @ingroup Focus
2452     */
2453    EAPI void             elm_object_tree_unfocusable_set(Evas_Object *obj, Eina_Bool tree_unfocusable); EINA_ARG_NONNULL(1);
2454
2455    /**
2456     * Get whether an Elementary object and its children are unfocusable or not.
2457     *
2458     * @param obj The Elementary object to get the information from
2459     * @return @c EINA_TRUE, if the tree is unfocussable,
2460     *         @c EINA_FALSE if not (and on errors).
2461     *
2462     * @see elm_object_tree_unfocusable_set()
2463     *
2464     * @ingroup Focus
2465     */
2466    EAPI Eina_Bool        elm_object_tree_unfocusable_get(const Evas_Object *obj); EINA_ARG_NONNULL(1);
2467
2468    /**
2469     * @defgroup Scrolling Scrolling
2470     *
2471     * These are functions setting how scrollable views in Elementary
2472     * widgets should behave on user interaction.
2473     *
2474     * @{
2475     */
2476
2477    /**
2478     * Get whether scrollers should bounce when they reach their
2479     * viewport's edge during a scroll.
2480     *
2481     * @return the thumb scroll bouncing state
2482     *
2483     * This is the default behavior for touch screens, in general.
2484     * @ingroup Scrolling
2485     */
2486    EAPI Eina_Bool        elm_scroll_bounce_enabled_get(void);
2487
2488    /**
2489     * Set whether scrollers should bounce when they reach their
2490     * viewport's edge during a scroll.
2491     *
2492     * @param enabled the thumb scroll bouncing state
2493     *
2494     * @see elm_thumbscroll_bounce_enabled_get()
2495     * @ingroup Scrolling
2496     */
2497    EAPI void             elm_scroll_bounce_enabled_set(Eina_Bool enabled);
2498
2499    /**
2500     * Set whether scrollers should bounce when they reach their
2501     * viewport's edge during a scroll, for all Elementary application
2502     * windows.
2503     *
2504     * @param enabled the thumb scroll bouncing state
2505     *
2506     * @see elm_thumbscroll_bounce_enabled_get()
2507     * @ingroup Scrolling
2508     */
2509    EAPI void             elm_scroll_bounce_enabled_all_set(Eina_Bool enabled);
2510
2511    /**
2512     * Get the amount of inertia a scroller will impose at bounce
2513     * animations.
2514     *
2515     * @return the thumb scroll bounce friction
2516     *
2517     * @ingroup Scrolling
2518     */
2519    EAPI double           elm_scroll_bounce_friction_get(void);
2520
2521    /**
2522     * Set the amount of inertia a scroller will impose at bounce
2523     * animations.
2524     *
2525     * @param friction the thumb scroll bounce friction
2526     *
2527     * @see elm_thumbscroll_bounce_friction_get()
2528     * @ingroup Scrolling
2529     */
2530    EAPI void             elm_scroll_bounce_friction_set(double friction);
2531
2532    /**
2533     * Set the amount of inertia a scroller will impose at bounce
2534     * animations, for all Elementary application windows.
2535     *
2536     * @param friction the thumb scroll bounce friction
2537     *
2538     * @see elm_thumbscroll_bounce_friction_get()
2539     * @ingroup Scrolling
2540     */
2541    EAPI void             elm_scroll_bounce_friction_all_set(double friction);
2542
2543    /**
2544     * Get the amount of inertia a <b>paged</b> scroller will impose at
2545     * page fitting animations.
2546     *
2547     * @return the page scroll friction
2548     *
2549     * @ingroup Scrolling
2550     */
2551    EAPI double           elm_scroll_page_scroll_friction_get(void);
2552
2553    /**
2554     * Set the amount of inertia a <b>paged</b> scroller will impose at
2555     * page fitting animations.
2556     *
2557     * @param friction the page scroll friction
2558     *
2559     * @see elm_thumbscroll_page_scroll_friction_get()
2560     * @ingroup Scrolling
2561     */
2562    EAPI void             elm_scroll_page_scroll_friction_set(double friction);
2563
2564    /**
2565     * Set the amount of inertia a <b>paged</b> scroller will impose at
2566     * page fitting animations, for all Elementary application windows.
2567     *
2568     * @param friction the page scroll friction
2569     *
2570     * @see elm_thumbscroll_page_scroll_friction_get()
2571     * @ingroup Scrolling
2572     */
2573    EAPI void             elm_scroll_page_scroll_friction_all_set(double friction);
2574
2575    /**
2576     * Get the amount of inertia a scroller will impose at region bring
2577     * animations.
2578     *
2579     * @return the bring in scroll friction
2580     *
2581     * @ingroup Scrolling
2582     */
2583    EAPI double           elm_scroll_bring_in_scroll_friction_get(void);
2584
2585    /**
2586     * Set the amount of inertia a scroller will impose at region bring
2587     * animations.
2588     *
2589     * @param friction the bring in scroll friction
2590     *
2591     * @see elm_thumbscroll_bring_in_scroll_friction_get()
2592     * @ingroup Scrolling
2593     */
2594    EAPI void             elm_scroll_bring_in_scroll_friction_set(double friction);
2595
2596    /**
2597     * Set the amount of inertia a scroller will impose at region bring
2598     * animations, for all Elementary application windows.
2599     *
2600     * @param friction the bring in scroll friction
2601     *
2602     * @see elm_thumbscroll_bring_in_scroll_friction_get()
2603     * @ingroup Scrolling
2604     */
2605    EAPI void             elm_scroll_bring_in_scroll_friction_all_set(double friction);
2606
2607    /**
2608     * Get the amount of inertia scrollers will impose at animations
2609     * triggered by Elementary widgets' zooming API.
2610     *
2611     * @return the zoom friction
2612     *
2613     * @ingroup Scrolling
2614     */
2615    EAPI double           elm_scroll_zoom_friction_get(void);
2616
2617    /**
2618     * Set the amount of inertia scrollers will impose at animations
2619     * triggered by Elementary widgets' zooming API.
2620     *
2621     * @param friction the zoom friction
2622     *
2623     * @see elm_thumbscroll_zoom_friction_get()
2624     * @ingroup Scrolling
2625     */
2626    EAPI void             elm_scroll_zoom_friction_set(double friction);
2627
2628    /**
2629     * Set the amount of inertia scrollers will impose at animations
2630     * triggered by Elementary widgets' zooming API, for all Elementary
2631     * application windows.
2632     *
2633     * @param friction the zoom friction
2634     *
2635     * @see elm_thumbscroll_zoom_friction_get()
2636     * @ingroup Scrolling
2637     */
2638    EAPI void             elm_scroll_zoom_friction_all_set(double friction);
2639
2640    /**
2641     * Get whether scrollers should be draggable from any point in their
2642     * views.
2643     *
2644     * @return the thumb scroll state
2645     *
2646     * @note This is the default behavior for touch screens, in general.
2647     * @note All other functions namespaced with "thumbscroll" will only
2648     *       have effect if this mode is enabled.
2649     *
2650     * @ingroup Scrolling
2651     */
2652    EAPI Eina_Bool        elm_scroll_thumbscroll_enabled_get(void);
2653
2654    /**
2655     * Set whether scrollers should be draggable from any point in their
2656     * views.
2657     *
2658     * @param enabled the thumb scroll state
2659     *
2660     * @see elm_thumbscroll_enabled_get()
2661     * @ingroup Scrolling
2662     */
2663    EAPI void             elm_scroll_thumbscroll_enabled_set(Eina_Bool enabled);
2664
2665    /**
2666     * Set whether scrollers should be draggable from any point in their
2667     * views, for all Elementary application windows.
2668     *
2669     * @param enabled the thumb scroll state
2670     *
2671     * @see elm_thumbscroll_enabled_get()
2672     * @ingroup Scrolling
2673     */
2674    EAPI void             elm_scroll_thumbscroll_enabled_all_set(Eina_Bool enabled);
2675
2676    /**
2677     * Get the number of pixels one should travel while dragging a
2678     * scroller's view to actually trigger scrolling.
2679     *
2680     * @return the thumb scroll threshould
2681     *
2682     * One would use higher values for touch screens, in general, because
2683     * of their inherent imprecision.
2684     * @ingroup Scrolling
2685     */
2686    EAPI unsigned int     elm_scroll_thumbscroll_threshold_get(void);
2687
2688    /**
2689     * Set the number of pixels one should travel while dragging a
2690     * scroller's view to actually trigger scrolling.
2691     *
2692     * @param threshold the thumb scroll threshould
2693     *
2694     * @see elm_thumbscroll_threshould_get()
2695     * @ingroup Scrolling
2696     */
2697    EAPI void             elm_scroll_thumbscroll_threshold_set(unsigned int threshold);
2698
2699    /**
2700     * Set the number of pixels one should travel while dragging a
2701     * scroller's view to actually trigger scrolling, for all Elementary
2702     * application windows.
2703     *
2704     * @param threshold the thumb scroll threshould
2705     *
2706     * @see elm_thumbscroll_threshould_get()
2707     * @ingroup Scrolling
2708     */
2709    EAPI void             elm_scroll_thumbscroll_threshold_all_set(unsigned int threshold);
2710
2711    /**
2712     * Get the minimum speed of mouse cursor movement which will trigger
2713     * list self scrolling animation after a mouse up event
2714     * (pixels/second).
2715     *
2716     * @return the thumb scroll momentum threshould
2717     *
2718     * @ingroup Scrolling
2719     */
2720    EAPI double           elm_scroll_thumbscroll_momentum_threshold_get(void);
2721
2722    /**
2723     * Set the minimum speed of mouse cursor movement which will trigger
2724     * list self scrolling animation after a mouse up event
2725     * (pixels/second).
2726     *
2727     * @param threshold the thumb scroll momentum threshould
2728     *
2729     * @see elm_thumbscroll_momentum_threshould_get()
2730     * @ingroup Scrolling
2731     */
2732    EAPI void             elm_scroll_thumbscroll_momentum_threshold_set(double threshold);
2733
2734    /**
2735     * Set the minimum speed of mouse cursor movement which will trigger
2736     * list self scrolling animation after a mouse up event
2737     * (pixels/second), for all Elementary application windows.
2738     *
2739     * @param threshold the thumb scroll momentum threshould
2740     *
2741     * @see elm_thumbscroll_momentum_threshould_get()
2742     * @ingroup Scrolling
2743     */
2744    EAPI void             elm_scroll_thumbscroll_momentum_threshold_all_set(double threshold);
2745
2746    /**
2747     * Get the amount of inertia a scroller will impose at self scrolling
2748     * animations.
2749     *
2750     * @return the thumb scroll friction
2751     *
2752     * @ingroup Scrolling
2753     */
2754    EAPI double           elm_scroll_thumbscroll_friction_get(void);
2755
2756    /**
2757     * Set the amount of inertia a scroller will impose at self scrolling
2758     * animations.
2759     *
2760     * @param friction the thumb scroll friction
2761     *
2762     * @see elm_thumbscroll_friction_get()
2763     * @ingroup Scrolling
2764     */
2765    EAPI void             elm_scroll_thumbscroll_friction_set(double friction);
2766
2767    /**
2768     * Set the amount of inertia a scroller will impose at self scrolling
2769     * animations, for all Elementary application windows.
2770     *
2771     * @param friction the thumb scroll friction
2772     *
2773     * @see elm_thumbscroll_friction_get()
2774     * @ingroup Scrolling
2775     */
2776    EAPI void             elm_scroll_thumbscroll_friction_all_set(double friction);
2777
2778    /**
2779     * Get the amount of lag between your actual mouse cursor dragging
2780     * movement and a scroller's view movement itself, while pushing it
2781     * into bounce state manually.
2782     *
2783     * @return the thumb scroll border friction
2784     *
2785     * @ingroup Scrolling
2786     */
2787    EAPI double           elm_scroll_thumbscroll_border_friction_get(void);
2788
2789    /**
2790     * Set the amount of lag between your actual mouse cursor dragging
2791     * movement and a scroller's view movement itself, while pushing it
2792     * into bounce state manually.
2793     *
2794     * @param friction the thumb scroll border friction. @c 0.0 for
2795     *        perfect synchrony between two movements, @c 1.0 for maximum
2796     *        lag.
2797     *
2798     * @see elm_thumbscroll_border_friction_get()
2799     * @note parameter value will get bound to 0.0 - 1.0 interval, always
2800     *
2801     * @ingroup Scrolling
2802     */
2803    EAPI void             elm_scroll_thumbscroll_border_friction_set(double friction);
2804
2805    /**
2806     * Set the amount of lag between your actual mouse cursor dragging
2807     * movement and a scroller's view movement itself, while pushing it
2808     * into bounce state manually, for all Elementary application windows.
2809     *
2810     * @param friction the thumb scroll border friction. @c 0.0 for
2811     *        perfect synchrony between two movements, @c 1.0 for maximum
2812     *        lag.
2813     *
2814     * @see elm_thumbscroll_border_friction_get()
2815     * @note parameter value will get bound to 0.0 - 1.0 interval, always
2816     *
2817     * @ingroup Scrolling
2818     */
2819    EAPI void             elm_scroll_thumbscroll_border_friction_all_set(double friction);
2820
2821    /**
2822     * @}
2823     */
2824
2825    /**
2826     * @defgroup Scrollhints Scrollhints
2827     *
2828     * Objects when inside a scroller can scroll, but this may not always be
2829     * desirable in certain situations. This allows an object to hint to itself
2830     * and parents to "not scroll" in one of 2 ways. If any child object of a
2831     * scroller has pushed a scroll freeze or hold then it affects all parent
2832     * scrollers until all children have released them.
2833     *
2834     * 1. To hold on scrolling. This means just flicking and dragging may no
2835     * longer scroll, but pressing/dragging near an edge of the scroller will
2836     * still scroll. This is automatically used by the entry object when
2837     * selecting text.
2838     *
2839     * 2. To totally freeze scrolling. This means it stops. until
2840     * popped/released.
2841     *
2842     * @{
2843     */
2844
2845    /**
2846     * Push the scroll hold by 1
2847     *
2848     * This increments the scroll hold count by one. If it is more than 0 it will
2849     * take effect on the parents of the indicated object.
2850     *
2851     * @param obj The object
2852     * @ingroup Scrollhints
2853     */
2854    EAPI void             elm_object_scroll_hold_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
2855
2856    /**
2857     * Pop the scroll hold by 1
2858     *
2859     * This decrements the scroll hold count by one. If it is more than 0 it will
2860     * take effect on the parents of the indicated object.
2861     *
2862     * @param obj The object
2863     * @ingroup Scrollhints
2864     */
2865    EAPI void             elm_object_scroll_hold_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
2866
2867    /**
2868     * Push the scroll freeze by 1
2869     *
2870     * This increments the scroll freeze count by one. If it is more
2871     * than 0 it will take effect on the parents of the indicated
2872     * object.
2873     *
2874     * @param obj The object
2875     * @ingroup Scrollhints
2876     */
2877    EAPI void             elm_object_scroll_freeze_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
2878
2879    /**
2880     * Pop the scroll freeze by 1
2881     *
2882     * This decrements the scroll freeze count by one. If it is more
2883     * than 0 it will take effect on the parents of the indicated
2884     * object.
2885     *
2886     * @param obj The object
2887     * @ingroup Scrollhints
2888     */
2889    EAPI void             elm_object_scroll_freeze_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
2890
2891    /**
2892     * Lock the scrolling of the given widget (and thus all parents)
2893     *
2894     * This locks the given object from scrolling in the X axis (and implicitly
2895     * also locks all parent scrollers too from doing the same).
2896     *
2897     * @param obj The object
2898     * @param lock The lock state (1 == locked, 0 == unlocked)
2899     * @ingroup Scrollhints
2900     */
2901    EAPI void             elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
2902
2903    /**
2904     * Lock the scrolling of the given widget (and thus all parents)
2905     *
2906     * This locks the given object from scrolling in the Y axis (and implicitly
2907     * also locks all parent scrollers too from doing the same).
2908     *
2909     * @param obj The object
2910     * @param lock The lock state (1 == locked, 0 == unlocked)
2911     * @ingroup Scrollhints
2912     */
2913    EAPI void             elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
2914
2915    /**
2916     * Get the scrolling lock of the given widget
2917     *
2918     * This gets the lock for X axis scrolling.
2919     *
2920     * @param obj The object
2921     * @ingroup Scrollhints
2922     */
2923    EAPI Eina_Bool        elm_object_scroll_lock_x_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2924
2925    /**
2926     * Get the scrolling lock of the given widget
2927     *
2928     * This gets the lock for X axis scrolling.
2929     *
2930     * @param obj The object
2931     * @ingroup Scrollhints
2932     */
2933    EAPI Eina_Bool        elm_object_scroll_lock_y_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2934
2935    /**
2936     * @}
2937     */
2938
2939    /**
2940     * Send a signal to the widget edje object.
2941     *
2942     * This function sends a signal to the edje object of the obj. An
2943     * edje program can respond to a signal by specifying matching
2944     * 'signal' and 'source' fields.
2945     *
2946     * @param obj The object
2947     * @param emission The signal's name.
2948     * @param source The signal's source.
2949     * @ingroup General
2950     */
2951    EAPI void             elm_object_signal_emit(Evas_Object *obj, const char *emission, const char *source) EINA_ARG_NONNULL(1);
2952
2953    /**
2954     * Add a callback for a signal emitted by widget edje object.
2955     *
2956     * This function connects a callback function to a signal emitted by the
2957     * edje object of the obj.
2958     * Globs can occur in either the emission or source name.
2959     *
2960     * @param obj The object
2961     * @param emission The signal's name.
2962     * @param source The signal's source.
2963     * @param func The callback function to be executed when the signal is
2964     * emitted.
2965     * @param data A pointer to data to pass in to the callback function.
2966     * @ingroup General
2967     */
2968    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);
2969
2970    /**
2971     * Remove a signal-triggered callback from a widget edje object.
2972     *
2973     * This function removes a callback, previoulsy attached to a
2974     * signal emitted by the edje object of the obj.  The parameters
2975     * emission, source and func must match exactly those passed to a
2976     * previous call to elm_object_signal_callback_add(). The data
2977     * pointer that was passed to this call will be returned.
2978     *
2979     * @param obj The object
2980     * @param emission The signal's name.
2981     * @param source The signal's source.
2982     * @param func The callback function to be executed when the signal is
2983     * emitted.
2984     * @return The data pointer
2985     * @ingroup General
2986     */
2987    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);
2988
2989    /**
2990     * Add a callback for input events (key up, key down, mouse wheel)
2991     * on a given Elementary widget
2992     *
2993     * @param obj The widget to add an event callback on
2994     * @param func The callback function to be executed when the event
2995     * happens
2996     * @param data Data to pass in to @p func
2997     *
2998     * Every widget in an Elementary interface set to receive focus,
2999     * with elm_object_focus_allow_set(), will propagate @b all of its
3000     * key up, key down and mouse wheel input events up to its parent
3001     * object, and so on. All of the focusable ones in this chain which
3002     * had an event callback set, with this call, will be able to treat
3003     * those events. There are two ways of making the propagation of
3004     * these event upwards in the tree of widgets to @b cease:
3005     * - Just return @c EINA_TRUE on @p func. @c EINA_FALSE will mean
3006     *   the event was @b not processed, so the propagation will go on.
3007     * - The @c event_info pointer passed to @p func will contain the
3008     *   event's structure and, if you OR its @c event_flags inner
3009     *   value to @c EVAS_EVENT_FLAG_ON_HOLD, you're telling Elementary
3010     *   one has already handled it, thus killing the event's
3011     *   propagation, too.
3012     *
3013     * @note Your event callback will be issued on those events taking
3014     * place only if no other child widget of @obj has consumed the
3015     * event already.
3016     *
3017     * @note Not to be confused with @c
3018     * evas_object_event_callback_add(), which will add event callbacks
3019     * per type on general Evas objects (no event propagation
3020     * infrastructure taken in account).
3021     *
3022     * @note Not to be confused with @c
3023     * elm_object_signal_callback_add(), which will add callbacks to @b
3024     * signals coming from a widget's theme, not input events.
3025     *
3026     * @note Not to be confused with @c
3027     * edje_object_signal_callback_add(), which does the same as
3028     * elm_object_signal_callback_add(), but directly on an Edje
3029     * object.
3030     *
3031     * @note Not to be confused with @c
3032     * evas_object_smart_callback_add(), which adds callbacks to smart
3033     * objects' <b>smart events</b>, and not input events.
3034     *
3035     * @see elm_object_event_callback_del()
3036     *
3037     * @ingroup General
3038     */
3039    EAPI void             elm_object_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
3040
3041    /**
3042     * Remove an event callback from a widget.
3043     *
3044     * This function removes a callback, previoulsy attached to event emission
3045     * by the @p obj.
3046     * The parameters func and data must match exactly those passed to
3047     * a previous call to elm_object_event_callback_add(). The data pointer that
3048     * was passed to this call will be returned.
3049     *
3050     * @param obj The object
3051     * @param func The callback function to be executed when the event is
3052     * emitted.
3053     * @param data Data to pass in to the callback function.
3054     * @return The data pointer
3055     * @ingroup General
3056     */
3057    EAPI void            *elm_object_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
3058
3059    /**
3060     * Adjust size of an element for finger usage.
3061     *
3062     * @param times_w How many fingers should fit horizontally
3063     * @param w Pointer to the width size to adjust
3064     * @param times_h How many fingers should fit vertically
3065     * @param h Pointer to the height size to adjust
3066     *
3067     * This takes width and height sizes (in pixels) as input and a
3068     * size multiple (which is how many fingers you want to place
3069     * within the area, being "finger" the size set by
3070     * elm_finger_size_set()), and adjusts the size to be large enough
3071     * to accommodate the resulting size -- if it doesn't already
3072     * accommodate it. On return the @p w and @p h sizes pointed to by
3073     * these parameters will be modified, on those conditions.
3074     *
3075     * @note This is kind of a low level Elementary call, most useful
3076     * on size evaluation times for widgets. An external user wouldn't
3077     * be calling, most of the time.
3078     *
3079     * @ingroup Fingers
3080     */
3081    EAPI void             elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h);
3082
3083    /**
3084     * Get the duration for occuring long press event.
3085     *
3086     * @return Timeout for long press event
3087     * @ingroup Longpress
3088     */
3089    EAPI double           elm_longpress_timeout_get(void);
3090
3091    /**
3092     * Set the duration for occuring long press event.
3093     *
3094     * @param lonpress_timeout Timeout for long press event
3095     * @ingroup Longpress
3096     */
3097    EAPI void             elm_longpress_timeout_set(double longpress_timeout);
3098
3099    /**
3100     * @defgroup Debug Debug
3101     * don't use it unless you are sure
3102     *
3103     * @{
3104     */
3105
3106    /**
3107     * Print Tree object hierarchy in stdout
3108     *
3109     * @param obj The root object
3110     * @ingroup Debug
3111     */
3112    EAPI void             elm_object_tree_dump(const Evas_Object *top);
3113
3114    /**
3115     * Print Elm Objects tree hierarchy in file as dot(graphviz) syntax.
3116     *
3117     * @param obj The root object
3118     * @param file The path of output file
3119     * @ingroup Debug
3120     */
3121    EAPI void             elm_object_tree_dot_dump(const Evas_Object *top, const char *file);
3122
3123    /**
3124     * @}
3125     */
3126
3127    /**
3128     * @defgroup Theme Theme
3129     *
3130     * Elementary uses Edje to theme its widgets, naturally. But for the most
3131     * part this is hidden behind a simpler interface that lets the user set
3132     * extensions and choose the style of widgets in a much easier way.
3133     *
3134     * Instead of thinking in terms of paths to Edje files and their groups
3135     * each time you want to change the appearance of a widget, Elementary
3136     * works so you can add any theme file with extensions or replace the
3137     * main theme at one point in the application, and then just set the style
3138     * of widgets with elm_object_style_set() and related functions. Elementary
3139     * will then look in its list of themes for a matching group and apply it,
3140     * and when the theme changes midway through the application, all widgets
3141     * will be updated accordingly.
3142     *
3143     * There are three concepts you need to know to understand how Elementary
3144     * theming works: default theme, extensions and overlays.
3145     *
3146     * Default theme, obviously enough, is the one that provides the default
3147     * look of all widgets. End users can change the theme used by Elementary
3148     * by setting the @c ELM_THEME environment variable before running an
3149     * application, or globally for all programs using the @c elementary_config
3150     * utility. Applications can change the default theme using elm_theme_set(),
3151     * but this can go against the user wishes, so it's not an adviced practice.
3152     *
3153     * Ideally, applications should find everything they need in the already
3154     * provided theme, but there may be occasions when that's not enough and
3155     * custom styles are required to correctly express the idea. For this
3156     * cases, Elementary has extensions.
3157     *
3158     * Extensions allow the application developer to write styles of its own
3159     * to apply to some widgets. This requires knowledge of how each widget
3160     * is themed, as extensions will always replace the entire group used by
3161     * the widget, so important signals and parts need to be there for the
3162     * object to behave properly (see documentation of Edje for details).
3163     * Once the theme for the extension is done, the application needs to add
3164     * it to the list of themes Elementary will look into, using
3165     * elm_theme_extension_add(), and set the style of the desired widgets as
3166     * he would normally with elm_object_style_set().
3167     *
3168     * Overlays, on the other hand, can replace the look of all widgets by
3169     * overriding the default style. Like extensions, it's up to the application
3170     * developer to write the theme for the widgets it wants, the difference
3171     * being that when looking for the theme, Elementary will check first the
3172     * list of overlays, then the set theme and lastly the list of extensions,
3173     * so with overlays it's possible to replace the default view and every
3174     * widget will be affected. This is very much alike to setting the whole
3175     * theme for the application and will probably clash with the end user
3176     * options, not to mention the risk of ending up with not matching styles
3177     * across the program. Unless there's a very special reason to use them,
3178     * overlays should be avoided for the resons exposed before.
3179     *
3180     * All these theme lists are handled by ::Elm_Theme instances. Elementary
3181     * keeps one default internally and every function that receives one of
3182     * these can be called with NULL to refer to this default (except for
3183     * elm_theme_free()). It's possible to create a new instance of a
3184     * ::Elm_Theme to set other theme for a specific widget (and all of its
3185     * children), but this is as discouraged, if not even more so, than using
3186     * overlays. Don't use this unless you really know what you are doing.
3187     *
3188     * But to be less negative about things, you can look at the following
3189     * examples:
3190     * @li @ref theme_example_01 "Using extensions"
3191     * @li @ref theme_example_02 "Using overlays"
3192     *
3193     * @{
3194     */
3195    /**
3196     * @typedef Elm_Theme
3197     *
3198     * Opaque handler for the list of themes Elementary looks for when
3199     * rendering widgets.
3200     *
3201     * Stay out of this unless you really know what you are doing. For most
3202     * cases, sticking to the default is all a developer needs.
3203     */
3204    typedef struct _Elm_Theme Elm_Theme;
3205
3206    /**
3207     * Create a new specific theme
3208     *
3209     * This creates an empty specific theme that only uses the default theme. A
3210     * specific theme has its own private set of extensions and overlays too
3211     * (which are empty by default). Specific themes do not fall back to themes
3212     * of parent objects. They are not intended for this use. Use styles, overlays
3213     * and extensions when needed, but avoid specific themes unless there is no
3214     * other way (example: you want to have a preview of a new theme you are
3215     * selecting in a "theme selector" window. The preview is inside a scroller
3216     * and should display what the theme you selected will look like, but not
3217     * actually apply it yet. The child of the scroller will have a specific
3218     * theme set to show this preview before the user decides to apply it to all
3219     * applications).
3220     */
3221    EAPI Elm_Theme       *elm_theme_new(void);
3222    /**
3223     * Free a specific theme
3224     *
3225     * @param th The theme to free
3226     *
3227     * This frees a theme created with elm_theme_new().
3228     */
3229    EAPI void             elm_theme_free(Elm_Theme *th);
3230    /**
3231     * Copy the theme fom the source to the destination theme
3232     *
3233     * @param th The source theme to copy from
3234     * @param thdst The destination theme to copy data to
3235     *
3236     * This makes a one-time static copy of all the theme config, extensions
3237     * and overlays from @p th to @p thdst. If @p th references a theme, then
3238     * @p thdst is also set to reference it, with all the theme settings,
3239     * overlays and extensions that @p th had.
3240     */
3241    EAPI void             elm_theme_copy(Elm_Theme *th, Elm_Theme *thdst);
3242    /**
3243     * Tell the source theme to reference the ref theme
3244     *
3245     * @param th The theme that will do the referencing
3246     * @param thref The theme that is the reference source
3247     *
3248     * This clears @p th to be empty and then sets it to refer to @p thref
3249     * so @p th acts as an override to @p thref, but where its overrides
3250     * don't apply, it will fall through to @p thref for configuration.
3251     */
3252    EAPI void             elm_theme_ref_set(Elm_Theme *th, Elm_Theme *thref);
3253    /**
3254     * Return the theme referred to
3255     *
3256     * @param th The theme to get the reference from
3257     * @return The referenced theme handle
3258     *
3259     * This gets the theme set as the reference theme by elm_theme_ref_set().
3260     * If no theme is set as a reference, NULL is returned.
3261     */
3262    EAPI Elm_Theme       *elm_theme_ref_get(Elm_Theme *th);
3263    /**
3264     * Return the default theme
3265     *
3266     * @return The default theme handle
3267     *
3268     * This returns the internal default theme setup handle that all widgets
3269     * use implicitly unless a specific theme is set. This is also often use
3270     * as a shorthand of NULL.
3271     */
3272    EAPI Elm_Theme       *elm_theme_default_get(void);
3273    /**
3274     * Prepends a theme overlay to the list of overlays
3275     *
3276     * @param th The theme to add to, or if NULL, the default theme
3277     * @param item The Edje file path to be used
3278     *
3279     * Use this if your application needs to provide some custom overlay theme
3280     * (An Edje file that replaces some default styles of widgets) where adding
3281     * new styles, or changing system theme configuration is not possible. Do
3282     * NOT use this instead of a proper system theme configuration. Use proper
3283     * configuration files, profiles, environment variables etc. to set a theme
3284     * so that the theme can be altered by simple confiugration by a user. Using
3285     * this call to achieve that effect is abusing the API and will create lots
3286     * of trouble.
3287     *
3288     * @see elm_theme_extension_add()
3289     */
3290    EAPI void             elm_theme_overlay_add(Elm_Theme *th, const char *item);
3291    /**
3292     * Delete a theme overlay from the list of overlays
3293     *
3294     * @param th The theme to delete from, or if NULL, the default theme
3295     * @param item The name of the theme overlay
3296     *
3297     * @see elm_theme_overlay_add()
3298     */
3299    EAPI void             elm_theme_overlay_del(Elm_Theme *th, const char *item);
3300    /**
3301     * Appends a theme extension to the list of extensions.
3302     *
3303     * @param th The theme to add to, or if NULL, the default theme
3304     * @param item The Edje file path to be used
3305     *
3306     * This is intended when an application needs more styles of widgets or new
3307     * widget themes that the default does not provide (or may not provide). The
3308     * application has "extended" usage by coming up with new custom style names
3309     * for widgets for specific uses, but as these are not "standard", they are
3310     * not guaranteed to be provided by a default theme. This means the
3311     * application is required to provide these extra elements itself in specific
3312     * Edje files. This call adds one of those Edje files to the theme search
3313     * path to be search after the default theme. The use of this call is
3314     * encouraged when default styles do not meet the needs of the application.
3315     * Use this call instead of elm_theme_overlay_add() for almost all cases.
3316     *
3317     * @see elm_object_style_set()
3318     */
3319    EAPI void             elm_theme_extension_add(Elm_Theme *th, const char *item);
3320    /**
3321     * Deletes a theme extension from the list of extensions.
3322     *
3323     * @param th The theme to delete from, or if NULL, the default theme
3324     * @param item The name of the theme extension
3325     *
3326     * @see elm_theme_extension_add()
3327     */
3328    EAPI void             elm_theme_extension_del(Elm_Theme *th, const char *item);
3329    /**
3330     * Set the theme search order for the given theme
3331     *
3332     * @param th The theme to set the search order, or if NULL, the default theme
3333     * @param theme Theme search string
3334     *
3335     * This sets the search string for the theme in path-notation from first
3336     * theme to search, to last, delimited by the : character. Example:
3337     *
3338     * "shiny:/path/to/file.edj:default"
3339     *
3340     * See the ELM_THEME environment variable for more information.
3341     *
3342     * @see elm_theme_get()
3343     * @see elm_theme_list_get()
3344     */
3345    EAPI void             elm_theme_set(Elm_Theme *th, const char *theme);
3346    /**
3347     * Return the theme search order
3348     *
3349     * @param th The theme to get the search order, or if NULL, the default theme
3350     * @return The internal search order path
3351     *
3352     * This function returns a colon separated string of theme elements as
3353     * returned by elm_theme_list_get().
3354     *
3355     * @see elm_theme_set()
3356     * @see elm_theme_list_get()
3357     */
3358    EAPI const char      *elm_theme_get(Elm_Theme *th);
3359    /**
3360     * Return a list of theme elements to be used in a theme.
3361     *
3362     * @param th Theme to get the list of theme elements from.
3363     * @return The internal list of theme elements
3364     *
3365     * This returns the internal list of theme elements (will only be valid as
3366     * long as the theme is not modified by elm_theme_set() or theme is not
3367     * freed by elm_theme_free(). This is a list of strings which must not be
3368     * altered as they are also internal. If @p th is NULL, then the default
3369     * theme element list is returned.
3370     *
3371     * A theme element can consist of a full or relative path to a .edj file,
3372     * or a name, without extension, for a theme to be searched in the known
3373     * theme paths for Elemementary.
3374     *
3375     * @see elm_theme_set()
3376     * @see elm_theme_get()
3377     */
3378    EAPI const Eina_List *elm_theme_list_get(const Elm_Theme *th);
3379    /**
3380     * Return the full patrh for a theme element
3381     *
3382     * @param f The theme element name
3383     * @param in_search_path Pointer to a boolean to indicate if item is in the search path or not
3384     * @return The full path to the file found.
3385     *
3386     * This returns a string you should free with free() on success, NULL on
3387     * failure. This will search for the given theme element, and if it is a
3388     * full or relative path element or a simple searchable name. The returned
3389     * path is the full path to the file, if searched, and the file exists, or it
3390     * is simply the full path given in the element or a resolved path if
3391     * relative to home. The @p in_search_path boolean pointed to is set to
3392     * EINA_TRUE if the file was a searchable file andis in the search path,
3393     * and EINA_FALSE otherwise.
3394     */
3395    EAPI char            *elm_theme_list_item_path_get(const char *f, Eina_Bool *in_search_path);
3396    /**
3397     * Flush the current theme.
3398     *
3399     * @param th Theme to flush
3400     *
3401     * This flushes caches that let elementary know where to find theme elements
3402     * in the given theme. If @p th is NULL, then the default theme is flushed.
3403     * Call this function if source theme data has changed in such a way as to
3404     * make any caches Elementary kept invalid.
3405     */
3406    EAPI void             elm_theme_flush(Elm_Theme *th);
3407    /**
3408     * This flushes all themes (default and specific ones).
3409     *
3410     * This will flush all themes in the current application context, by calling
3411     * elm_theme_flush() on each of them.
3412     */
3413    EAPI void             elm_theme_full_flush(void);
3414    /**
3415     * Set the theme for all elementary using applications on the current display
3416     *
3417     * @param theme The name of the theme to use. Format same as the ELM_THEME
3418     * environment variable.
3419     */
3420    EAPI void             elm_theme_all_set(const char *theme);
3421    /**
3422     * Return a list of theme elements in the theme search path
3423     *
3424     * @return A list of strings that are the theme element names.
3425     *
3426     * This lists all available theme files in the standard Elementary search path
3427     * for theme elements, and returns them in alphabetical order as theme
3428     * element names in a list of strings. Free this with
3429     * elm_theme_name_available_list_free() when you are done with the list.
3430     */
3431    EAPI Eina_List       *elm_theme_name_available_list_new(void);
3432    /**
3433     * Free the list returned by elm_theme_name_available_list_new()
3434     *
3435     * This frees the list of themes returned by
3436     * elm_theme_name_available_list_new(). Once freed the list should no longer
3437     * be used. a new list mys be created.
3438     */
3439    EAPI void             elm_theme_name_available_list_free(Eina_List *list);
3440    /**
3441     * Set a specific theme to be used for this object and its children
3442     *
3443     * @param obj The object to set the theme on
3444     * @param th The theme to set
3445     *
3446     * This sets a specific theme that will be used for the given object and any
3447     * child objects it has. If @p th is NULL then the theme to be used is
3448     * cleared and the object will inherit its theme from its parent (which
3449     * ultimately will use the default theme if no specific themes are set).
3450     *
3451     * Use special themes with great care as this will annoy users and make
3452     * configuration difficult. Avoid any custom themes at all if it can be
3453     * helped.
3454     */
3455    EAPI void             elm_object_theme_set(Evas_Object *obj, Elm_Theme *th) EINA_ARG_NONNULL(1);
3456    /**
3457     * Get the specific theme to be used
3458     *
3459     * @param obj The object to get the specific theme from
3460     * @return The specifc theme set.
3461     *
3462     * This will return a specific theme set, or NULL if no specific theme is
3463     * set on that object. It will not return inherited themes from parents, only
3464     * the specific theme set for that specific object. See elm_object_theme_set()
3465     * for more information.
3466     */
3467    EAPI Elm_Theme       *elm_object_theme_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3468
3469    /**
3470     * Get a data item from a theme
3471     *
3472     * @param th The theme, or NULL for default theme
3473     * @param key The data key to search with
3474     * @return The data value, or NULL on failure
3475     *
3476     * This function is used to return data items from edc in @p th, an overlay, or an extension.
3477     * It works the same way as edje_file_data_get() except that the return is stringshared.
3478     */
3479    EAPI const char      *elm_theme_data_get(Elm_Theme *th, const char *key) EINA_ARG_NONNULL(2);
3480    /**
3481     * @}
3482     */
3483
3484    /* win */
3485    /** @defgroup Win Win
3486     *
3487     * @image html img/widget/win/preview-00.png
3488     * @image latex img/widget/win/preview-00.eps
3489     *
3490     * The window class of Elementary.  Contains functions to manipulate
3491     * windows. The Evas engine used to render the window contents is specified
3492     * in the system or user elementary config files (whichever is found last),
3493     * and can be overridden with the ELM_ENGINE environment variable for
3494     * testing.  Engines that may be supported (depending on Evas and Ecore-Evas
3495     * compilation setup and modules actually installed at runtime) are (listed
3496     * in order of best supported and most likely to be complete and work to
3497     * lowest quality).
3498     *
3499     * @li "x11", "x", "software-x11", "software_x11" (Software rendering in X11)
3500     * @li "gl", "opengl", "opengl-x11", "opengl_x11" (OpenGL or OpenGL-ES2
3501     * rendering in X11)
3502     * @li "shot:..." (Virtual screenshot renderer - renders to output file and
3503     * exits)
3504     * @li "fb", "software-fb", "software_fb" (Linux framebuffer direct software
3505     * rendering)
3506     * @li "sdl", "software-sdl", "software_sdl" (SDL software rendering to SDL
3507     * buffer)
3508     * @li "gl-sdl", "gl_sdl", "opengl-sdl", "opengl_sdl" (OpenGL or OpenGL-ES2
3509     * rendering using SDL as the buffer)
3510     * @li "gdi", "software-gdi", "software_gdi" (Windows WIN32 rendering via
3511     * GDI with software)
3512     * @li "dfb", "directfb" (Rendering to a DirectFB window)
3513     * @li "x11-8", "x8", "software-8-x11", "software_8_x11" (Rendering in
3514     * grayscale using dedicated 8bit software engine in X11)
3515     * @li "x11-16", "x16", "software-16-x11", "software_16_x11" (Rendering in
3516     * X11 using 16bit software engine)
3517     * @li "wince-gdi", "software-16-wince-gdi", "software_16_wince_gdi"
3518     * (Windows CE rendering via GDI with 16bit software renderer)
3519     * @li "sdl-16", "software-16-sdl", "software_16_sdl" (Rendering to SDL
3520     * buffer with 16bit software renderer)
3521     *
3522     * All engines use a simple string to select the engine to render, EXCEPT
3523     * the "shot" engine. This actually encodes the output of the virtual
3524     * screenshot and how long to delay in the engine string. The engine string
3525     * is encoded in the following way:
3526     *
3527     *   "shot:[delay=XX][:][repeat=DDD][:][file=XX]"
3528     *
3529     * Where options are separated by a ":" char if more than one option is
3530     * given, with delay, if provided being the first option and file the last
3531     * (order is important). The delay specifies how long to wait after the
3532     * window is shown before doing the virtual "in memory" rendering and then
3533     * save the output to the file specified by the file option (and then exit).
3534     * If no delay is given, the default is 0.5 seconds. If no file is given the
3535     * default output file is "out.png". Repeat option is for continous
3536     * capturing screenshots. Repeat range is from 1 to 999 and filename is
3537     * fixed to "out001.png" Some examples of using the shot engine:
3538     *
3539     *   ELM_ENGINE="shot:delay=1.0:repeat=5:file=elm_test.png" elementary_test
3540     *   ELM_ENGINE="shot:delay=1.0:file=elm_test.png" elementary_test
3541     *   ELM_ENGINE="shot:file=elm_test2.png" elementary_test
3542     *   ELM_ENGINE="shot:delay=2.0" elementary_test
3543     *   ELM_ENGINE="shot:" elementary_test
3544     *
3545     * Signals that you can add callbacks for are:
3546     *
3547     * @li "delete,request": the user requested to close the window. See
3548     * elm_win_autodel_set().
3549     * @li "focus,in": window got focus
3550     * @li "focus,out": window lost focus
3551     * @li "moved": window that holds the canvas was moved
3552     *
3553     * Examples:
3554     * @li @ref win_example_01
3555     *
3556     * @{
3557     */
3558    /**
3559     * Defines the types of window that can be created
3560     *
3561     * These are hints set on the window so that a running Window Manager knows
3562     * how the window should be handled and/or what kind of decorations it
3563     * should have.
3564     *
3565     * Currently, only the X11 backed engines use them.
3566     */
3567    typedef enum _Elm_Win_Type
3568      {
3569         ELM_WIN_BASIC, /**< A normal window. Indicates a normal, top-level
3570                          window. Almost every window will be created with this
3571                          type. */
3572         ELM_WIN_DIALOG_BASIC, /**< Used for simple dialog windows/ */
3573         ELM_WIN_DESKTOP, /**< For special desktop windows, like a background
3574                            window holding desktop icons. */
3575         ELM_WIN_DOCK, /**< The window is used as a dock or panel. Usually would
3576                         be kept on top of any other window by the Window
3577                         Manager. */
3578         ELM_WIN_TOOLBAR, /**< The window is used to hold a floating toolbar, or
3579                            similar. */
3580         ELM_WIN_MENU, /**< Similar to #ELM_WIN_TOOLBAR. */
3581         ELM_WIN_UTILITY, /**< A persistent utility window, like a toolbox or
3582                            pallete. */
3583         ELM_WIN_SPLASH, /**< Splash window for a starting up application. */
3584         ELM_WIN_DROPDOWN_MENU, /**< The window is a dropdown menu, as when an
3585                                  entry in a menubar is clicked. Typically used
3586                                  with elm_win_override_set(). This hint exists
3587                                  for completion only, as the EFL way of
3588                                  implementing a menu would not normally use a
3589                                  separate window for its contents. */
3590         ELM_WIN_POPUP_MENU, /**< Like #ELM_WIN_DROPDOWN_MENU, but for the menu
3591                               triggered by right-clicking an object. */
3592         ELM_WIN_TOOLTIP, /**< The window is a tooltip. A short piece of
3593                            explanatory text that typically appear after the
3594                            mouse cursor hovers over an object for a while.
3595                            Typically used with elm_win_override_set() and also
3596                            not very commonly used in the EFL. */
3597         ELM_WIN_NOTIFICATION, /**< A notification window, like a warning about
3598                                 battery life or a new E-Mail received. */
3599         ELM_WIN_COMBO, /**< A window holding the contents of a combo box. Not
3600                          usually used in the EFL. */
3601         ELM_WIN_DND, /**< Used to indicate the window is a representation of an
3602                        object being dragged across different windows, or even
3603                        applications. Typically used with
3604                        elm_win_override_set(). */
3605         ELM_WIN_INLINED_IMAGE, /**< The window is rendered onto an image
3606                                  buffer. No actual window is created for this
3607                                  type, instead the window and all of its
3608                                  contents will be rendered to an image buffer.
3609                                  This allows to have children window inside a
3610                                  parent one just like any other object would
3611                                  be, and do other things like applying @c
3612                                  Evas_Map effects to it. This is the only type
3613                                  of window that requires the @c parent
3614                                  parameter of elm_win_add() to be a valid @c
3615                                  Evas_Object. */
3616      } Elm_Win_Type;
3617
3618    /**
3619     * The differents layouts that can be requested for the virtual keyboard.
3620     *
3621     * When the application window is being managed by Illume, it may request
3622     * any of the following layouts for the virtual keyboard.
3623     */
3624    typedef enum _Elm_Win_Keyboard_Mode
3625      {
3626         ELM_WIN_KEYBOARD_UNKNOWN, /**< Unknown keyboard state */
3627         ELM_WIN_KEYBOARD_OFF, /**< Request to deactivate the keyboard */
3628         ELM_WIN_KEYBOARD_ON, /**< Enable keyboard with default layout */
3629         ELM_WIN_KEYBOARD_ALPHA, /**< Alpha (a-z) keyboard layout */
3630         ELM_WIN_KEYBOARD_NUMERIC, /**< Numeric keyboard layout */
3631         ELM_WIN_KEYBOARD_PIN, /**< PIN keyboard layout */
3632         ELM_WIN_KEYBOARD_PHONE_NUMBER, /**< Phone keyboard layout */
3633         ELM_WIN_KEYBOARD_HEX, /**< Hexadecimal numeric keyboard layout */
3634         ELM_WIN_KEYBOARD_TERMINAL, /**< Full (QUERTY) keyboard layout */
3635         ELM_WIN_KEYBOARD_PASSWORD, /**< Password keyboard layout */
3636         ELM_WIN_KEYBOARD_IP, /**< IP keyboard layout */
3637         ELM_WIN_KEYBOARD_HOST, /**< Host keyboard layout */
3638         ELM_WIN_KEYBOARD_FILE, /**< File keyboard layout */
3639         ELM_WIN_KEYBOARD_URL, /**< URL keyboard layout */
3640         ELM_WIN_KEYBOARD_KEYPAD, /**< Keypad layout */
3641         ELM_WIN_KEYBOARD_J2ME /**< J2ME keyboard layout */
3642      } Elm_Win_Keyboard_Mode;
3643
3644    /**
3645     * Available commands that can be sent to the Illume manager.
3646     *
3647     * When running under an Illume session, a window may send commands to the
3648     * Illume manager to perform different actions.
3649     */
3650    typedef enum _Elm_Illume_Command
3651      {
3652         ELM_ILLUME_COMMAND_FOCUS_BACK, /**< Reverts focus to the previous
3653                                          window */
3654         ELM_ILLUME_COMMAND_FOCUS_FORWARD, /**< Sends focus to the next window\
3655                                             in the list */
3656         ELM_ILLUME_COMMAND_FOCUS_HOME, /**< Hides all windows to show the Home
3657                                          screen */
3658         ELM_ILLUME_COMMAND_CLOSE /**< Closes the currently active window */
3659      } Elm_Illume_Command;
3660
3661    /**
3662     * Adds a window object. If this is the first window created, pass NULL as
3663     * @p parent.
3664     *
3665     * @param parent Parent object to add the window to, or NULL
3666     * @param name The name of the window
3667     * @param type The window type, one of #Elm_Win_Type.
3668     *
3669     * The @p parent paramter can be @c NULL for every window @p type except
3670     * #ELM_WIN_INLINED_IMAGE, which needs a parent to retrieve the canvas on
3671     * which the image object will be created.
3672     *
3673     * @return The created object, or NULL on failure
3674     */
3675    EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type);
3676    /**
3677     * Add @p subobj as a resize object of window @p obj.
3678     *
3679     *
3680     * Setting an object as a resize object of the window means that the
3681     * @p subobj child's size and position will be controlled by the window
3682     * directly. That is, the object will be resized to match the window size
3683     * and should never be moved or resized manually by the developer.
3684     *
3685     * In addition, resize objects of the window control what the minimum size
3686     * of it will be, as well as whether it can or not be resized by the user.
3687     *
3688     * For the end user to be able to resize a window by dragging the handles
3689     * or borders provided by the Window Manager, or using any other similar
3690     * mechanism, all of the resize objects in the window should have their
3691     * evas_object_size_hint_weight_set() set to EVAS_HINT_EXPAND.
3692     *
3693     * @param obj The window object
3694     * @param subobj The resize object to add
3695     */
3696    EAPI void         elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
3697    /**
3698     * Delete @p subobj as a resize object of window @p obj.
3699     *
3700     * This function removes the object @p subobj from the resize objects of
3701     * the window @p obj. It will not delete the object itself, which will be
3702     * left unmanaged and should be deleted by the developer, manually handled
3703     * or set as child of some other container.
3704     *
3705     * @param obj The window object
3706     * @param subobj The resize object to add
3707     */
3708    EAPI void         elm_win_resize_object_del(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
3709    /**
3710     * Set the title of the window
3711     *
3712     * @param obj The window object
3713     * @param title The title to set
3714     */
3715    EAPI void         elm_win_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
3716    /**
3717     * Get the title of the window
3718     *
3719     * The returned string is an internal one and should not be freed or
3720     * modified. It will also be rendered invalid if a new title is set or if
3721     * the window is destroyed.
3722     *
3723     * @param obj The window object
3724     * @return The title
3725     */
3726    EAPI const char  *elm_win_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3727    /**
3728     * Set the window's autodel state.
3729     *
3730     * When closing the window in any way outside of the program control, like
3731     * pressing the X button in the titlebar or using a command from the
3732     * Window Manager, a "delete,request" signal is emitted to indicate that
3733     * this event occurred and the developer can take any action, which may
3734     * include, or not, destroying the window object.
3735     *
3736     * When the @p autodel parameter is set, the window will be automatically
3737     * destroyed when this event occurs, after the signal is emitted.
3738     * If @p autodel is @c EINA_FALSE, then the window will not be destroyed
3739     * and is up to the program to do so when it's required.
3740     *
3741     * @param obj The window object
3742     * @param autodel If true, the window will automatically delete itself when
3743     * closed
3744     */
3745    EAPI void         elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel) EINA_ARG_NONNULL(1);
3746    /**
3747     * Get the window's autodel state.
3748     *
3749     * @param obj The window object
3750     * @return If the window will automatically delete itself when closed
3751     *
3752     * @see elm_win_autodel_set()
3753     */
3754    EAPI Eina_Bool    elm_win_autodel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3755    /**
3756     * Activate a window object.
3757     *
3758     * This function sends a request to the Window Manager to activate the
3759     * window pointed by @p obj. If honored by the WM, the window will receive
3760     * the keyboard focus.
3761     *
3762     * @note This is just a request that a Window Manager may ignore, so calling
3763     * this function does not ensure in any way that the window will be the
3764     * active one after it.
3765     *
3766     * @param obj The window object
3767     */
3768    EAPI void         elm_win_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
3769    /**
3770     * Lower a window object.
3771     *
3772     * Places the window pointed by @p obj at the bottom of the stack, so that
3773     * no other window is covered by it.
3774     *
3775     * If elm_win_override_set() is not set, the Window Manager may ignore this
3776     * request.
3777     *
3778     * @param obj The window object
3779     */
3780    EAPI void         elm_win_lower(Evas_Object *obj) EINA_ARG_NONNULL(1);
3781    /**
3782     * Raise a window object.
3783     *
3784     * Places the window pointed by @p obj at the top of the stack, so that it's
3785     * not covered by any other window.
3786     *
3787     * If elm_win_override_set() is not set, the Window Manager may ignore this
3788     * request.
3789     *
3790     * @param obj The window object
3791     */
3792    EAPI void         elm_win_raise(Evas_Object *obj) EINA_ARG_NONNULL(1);
3793    /**
3794     * Set the borderless state of a window.
3795     *
3796     * This function requests the Window Manager to not draw any decoration
3797     * around the window.
3798     *
3799     * @param obj The window object
3800     * @param borderless If true, the window is borderless
3801     */
3802    EAPI void         elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless) EINA_ARG_NONNULL(1);
3803    /**
3804     * Get the borderless state of a window.
3805     *
3806     * @param obj The window object
3807     * @return If true, the window is borderless
3808     */
3809    EAPI Eina_Bool    elm_win_borderless_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3810    /**
3811     * Set the shaped state of a window.
3812     *
3813     * Shaped windows, when supported, will render the parts of the window that
3814     * has no content, transparent.
3815     *
3816     * If @p shaped is EINA_FALSE, then it is strongly adviced to have some
3817     * background object or cover the entire window in any other way, or the
3818     * parts of the canvas that have no data will show framebuffer artifacts.
3819     *
3820     * @param obj The window object
3821     * @param shaped If true, the window is shaped
3822     *
3823     * @see elm_win_alpha_set()
3824     */
3825    EAPI void         elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped) EINA_ARG_NONNULL(1);
3826    /**
3827     * Get the shaped state of a window.
3828     *
3829     * @param obj The window object
3830     * @return If true, the window is shaped
3831     *
3832     * @see elm_win_shaped_set()
3833     */
3834    EAPI Eina_Bool    elm_win_shaped_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3835    /**
3836     * Set the alpha channel state of a window.
3837     *
3838     * If @p alpha is EINA_TRUE, the alpha channel of the canvas will be enabled
3839     * possibly making parts of the window completely or partially transparent.
3840     * This is also subject to the underlying system supporting it, like for
3841     * example, running under a compositing manager. If no compositing is
3842     * available, enabling this option will instead fallback to using shaped
3843     * windows, with elm_win_shaped_set().
3844     *
3845     * @param obj The window object
3846     * @param alpha If true, the window has an alpha channel
3847     *
3848     * @see elm_win_alpha_set()
3849     */
3850    EAPI void         elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
3851    /**
3852     * Get the transparency state of a window.
3853     *
3854     * @param obj The window object
3855     * @return If true, the window is transparent
3856     *
3857     * @see elm_win_transparent_set()
3858     */
3859    EAPI Eina_Bool    elm_win_transparent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3860    /**
3861     * Set the transparency state of a window.
3862     *
3863     * Use elm_win_alpha_set() instead.
3864     *
3865     * @param obj The window object
3866     * @param transparent If true, the window is transparent
3867     *
3868     * @see elm_win_alpha_set()
3869     */
3870    EAPI void         elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent) EINA_ARG_NONNULL(1);
3871    /**
3872     * Get the alpha channel state of a window.
3873     *
3874     * @param obj The window object
3875     * @return If true, the window has an alpha channel
3876     */
3877    EAPI Eina_Bool    elm_win_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3878    /**
3879     * Set the override state of a window.
3880     *
3881     * A window with @p override set to EINA_TRUE will not be managed by the
3882     * Window Manager. This means that no decorations of any kind will be shown
3883     * for it, moving and resizing must be handled by the application, as well
3884     * as the window visibility.
3885     *
3886     * This should not be used for normal windows, and even for not so normal
3887     * ones, it should only be used when there's a good reason and with a lot
3888     * of care. Mishandling override windows may result situations that
3889     * disrupt the normal workflow of the end user.
3890     *
3891     * @param obj The window object
3892     * @param override If true, the window is overridden
3893     */
3894    EAPI void         elm_win_override_set(Evas_Object *obj, Eina_Bool override) EINA_ARG_NONNULL(1);
3895    /**
3896     * Get the override state of a window.
3897     *
3898     * @param obj The window object
3899     * @return If true, the window is overridden
3900     *
3901     * @see elm_win_override_set()
3902     */
3903    EAPI Eina_Bool    elm_win_override_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3904    /**
3905     * Set the fullscreen state of a window.
3906     *
3907     * @param obj The window object
3908     * @param fullscreen If true, the window is fullscreen
3909     */
3910    EAPI void         elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen) EINA_ARG_NONNULL(1);
3911    /**
3912     * Get the fullscreen state of a window.
3913     *
3914     * @param obj The window object
3915     * @return If true, the window is fullscreen
3916     */
3917    EAPI Eina_Bool    elm_win_fullscreen_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3918    /**
3919     * Set the maximized state of a window.
3920     *
3921     * @param obj The window object
3922     * @param maximized If true, the window is maximized
3923     */
3924    EAPI void         elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized) EINA_ARG_NONNULL(1);
3925    /**
3926     * Get the maximized state of a window.
3927     *
3928     * @param obj The window object
3929     * @return If true, the window is maximized
3930     */
3931    EAPI Eina_Bool    elm_win_maximized_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3932    /**
3933     * Set the iconified state of a window.
3934     *
3935     * @param obj The window object
3936     * @param iconified If true, the window is iconified
3937     */
3938    EAPI void         elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified) EINA_ARG_NONNULL(1);
3939    /**
3940     * Get the iconified state of a window.
3941     *
3942     * @param obj The window object
3943     * @return If true, the window is iconified
3944     */
3945    EAPI Eina_Bool    elm_win_iconified_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3946    /**
3947     * Set the layer of the window.
3948     *
3949     * What this means exactly will depend on the underlying engine used.
3950     *
3951     * In the case of X11 backed engines, the value in @p layer has the
3952     * following meanings:
3953     * @li < 3: The window will be placed below all others.
3954     * @li > 5: The window will be placed above all others.
3955     * @li other: The window will be placed in the default layer.
3956     *
3957     * @param obj The window object
3958     * @param layer The layer of the window
3959     */
3960    EAPI void         elm_win_layer_set(Evas_Object *obj, int layer) EINA_ARG_NONNULL(1);
3961    /**
3962     * Get the layer of the window.
3963     *
3964     * @param obj The window object
3965     * @return The layer of the window
3966     *
3967     * @see elm_win_layer_set()
3968     */
3969    EAPI int          elm_win_layer_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3970    /**
3971     * Set the rotation of the window.
3972     *
3973     * Most engines only work with multiples of 90.
3974     *
3975     * This function is used to set the orientation of the window @p obj to
3976     * match that of the screen. The window itself will be resized to adjust
3977     * to the new geometry of its contents. If you want to keep the window size,
3978     * see elm_win_rotation_with_resize_set().
3979     *
3980     * @param obj The window object
3981     * @param rotation The rotation of the window, in degrees (0-360),
3982     * counter-clockwise.
3983     */
3984    EAPI void         elm_win_rotation_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
3985    /**
3986     * Rotates the window and resizes it.
3987     *
3988     * Like elm_win_rotation_set(), but it also resizes the window's contents so
3989     * that they fit inside the current window geometry.
3990     *
3991     * @param obj The window object
3992     * @param layer The rotation of the window in degrees (0-360),
3993     * counter-clockwise.
3994     */
3995    EAPI void         elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
3996    /**
3997     * Get the rotation of the window.
3998     *
3999     * @param obj The window object
4000     * @return The rotation of the window in degrees (0-360)
4001     *
4002     * @see elm_win_rotation_set()
4003     * @see elm_win_rotation_with_resize_set()
4004     */
4005    EAPI int          elm_win_rotation_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4006    /**
4007     * Set the sticky state of the window.
4008     *
4009     * Hints the Window Manager that the window in @p obj should be left fixed
4010     * at its position even when the virtual desktop it's on moves or changes.
4011     *
4012     * @param obj The window object
4013     * @param sticky If true, the window's sticky state is enabled
4014     */
4015    EAPI void         elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky) EINA_ARG_NONNULL(1);
4016    /**
4017     * Get the sticky state of the window.
4018     *
4019     * @param obj The window object
4020     * @return If true, the window's sticky state is enabled
4021     *
4022     * @see elm_win_sticky_set()
4023     */
4024    EAPI Eina_Bool    elm_win_sticky_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4025    /**
4026     * Set if this window is an illume conformant window
4027     *
4028     * @param obj The window object
4029     * @param conformant The conformant flag (1 = conformant, 0 = non-conformant)
4030     */
4031    EAPI void         elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant) EINA_ARG_NONNULL(1);
4032    /**
4033     * Get if this window is an illume conformant window
4034     *
4035     * @param obj The window object
4036     * @return A boolean if this window is illume conformant or not
4037     */
4038    EAPI Eina_Bool    elm_win_conformant_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4039    /**
4040     * Set a window to be an illume quickpanel window
4041     *
4042     * By default window objects are not quickpanel windows.
4043     *
4044     * @param obj The window object
4045     * @param quickpanel The quickpanel flag (1 = quickpanel, 0 = normal window)
4046     */
4047    EAPI void         elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel) EINA_ARG_NONNULL(1);
4048    /**
4049     * Get if this window is a quickpanel or not
4050     *
4051     * @param obj The window object
4052     * @return A boolean if this window is a quickpanel or not
4053     */
4054    EAPI Eina_Bool    elm_win_quickpanel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4055    /**
4056     * Set the major priority of a quickpanel window
4057     *
4058     * @param obj The window object
4059     * @param priority The major priority for this quickpanel
4060     */
4061    EAPI void         elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
4062    /**
4063     * Get the major priority of a quickpanel window
4064     *
4065     * @param obj The window object
4066     * @return The major priority of this quickpanel
4067     */
4068    EAPI int          elm_win_quickpanel_priority_major_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4069    /**
4070     * Set the minor priority of a quickpanel window
4071     *
4072     * @param obj The window object
4073     * @param priority The minor priority for this quickpanel
4074     */
4075    EAPI void         elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
4076    /**
4077     * Get the minor priority of a quickpanel window
4078     *
4079     * @param obj The window object
4080     * @return The minor priority of this quickpanel
4081     */
4082    EAPI int          elm_win_quickpanel_priority_minor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4083    /**
4084     * Set which zone this quickpanel should appear in
4085     *
4086     * @param obj The window object
4087     * @param zone The requested zone for this quickpanel
4088     */
4089    EAPI void         elm_win_quickpanel_zone_set(Evas_Object *obj, int zone) EINA_ARG_NONNULL(1);
4090    /**
4091     * Get which zone this quickpanel should appear in
4092     *
4093     * @param obj The window object
4094     * @return The requested zone for this quickpanel
4095     */
4096    EAPI int          elm_win_quickpanel_zone_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4097    /**
4098     * Set the window to be skipped by keyboard focus
4099     *
4100     * This sets the window to be skipped by normal keyboard input. This means
4101     * a window manager will be asked to not focus this window as well as omit
4102     * it from things like the taskbar, pager, "alt-tab" list etc. etc.
4103     *
4104     * Call this and enable it on a window BEFORE you show it for the first time,
4105     * otherwise it may have no effect.
4106     *
4107     * Use this for windows that have only output information or might only be
4108     * interacted with by the mouse or fingers, and never for typing input.
4109     * Be careful that this may have side-effects like making the window
4110     * non-accessible in some cases unless the window is specially handled. Use
4111     * this with care.
4112     *
4113     * @param obj The window object
4114     * @param skip The skip flag state (EINA_TRUE if it is to be skipped)
4115     */
4116    EAPI void         elm_win_prop_focus_skip_set(Evas_Object *obj, Eina_Bool skip) EINA_ARG_NONNULL(1);
4117    /**
4118     * Send a command to the windowing environment
4119     *
4120     * This is intended to work in touchscreen or small screen device
4121     * environments where there is a more simplistic window management policy in
4122     * place. This uses the window object indicated to select which part of the
4123     * environment to control (the part that this window lives in), and provides
4124     * a command and an optional parameter structure (use NULL for this if not
4125     * needed).
4126     *
4127     * @param obj The window object that lives in the environment to control
4128     * @param command The command to send
4129     * @param params Optional parameters for the command
4130     */
4131    EAPI void         elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, void *params) EINA_ARG_NONNULL(1);
4132    /**
4133     * Get the inlined image object handle
4134     *
4135     * When you create a window with elm_win_add() of type ELM_WIN_INLINED_IMAGE,
4136     * then the window is in fact an evas image object inlined in the parent
4137     * canvas. You can get this object (be careful to not manipulate it as it
4138     * is under control of elementary), and use it to do things like get pixel
4139     * data, save the image to a file, etc.
4140     *
4141     * @param obj The window object to get the inlined image from
4142     * @return The inlined image object, or NULL if none exists
4143     */
4144    EAPI Evas_Object *elm_win_inlined_image_object_get(Evas_Object *obj);
4145    /**
4146     * Set the enabled status for the focus highlight in a window
4147     *
4148     * This function will enable or disable the focus highlight only for the
4149     * given window, regardless of the global setting for it
4150     *
4151     * @param obj The window where to enable the highlight
4152     * @param enabled The enabled value for the highlight
4153     */
4154    EAPI void         elm_win_focus_highlight_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
4155    /**
4156     * Get the enabled value of the focus highlight for this window
4157     *
4158     * @param obj The window in which to check if the focus highlight is enabled
4159     *
4160     * @return EINA_TRUE if enabled, EINA_FALSE otherwise
4161     */
4162    EAPI Eina_Bool    elm_win_focus_highlight_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4163    /**
4164     * Set the style for the focus highlight on this window
4165     *
4166     * Sets the style to use for theming the highlight of focused objects on
4167     * the given window. If @p style is NULL, the default will be used.
4168     *
4169     * @param obj The window where to set the style
4170     * @param style The style to set
4171     */
4172    EAPI void         elm_win_focus_highlight_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
4173    /**
4174     * Get the style set for the focus highlight object
4175     *
4176     * Gets the style set for this windows highilght object, or NULL if none
4177     * is set.
4178     *
4179     * @param obj The window to retrieve the highlights style from
4180     *
4181     * @return The style set or NULL if none was. Default is used in that case.
4182     */
4183    EAPI const char  *elm_win_focus_highlight_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4184    /*...
4185     * ecore_x_icccm_hints_set -> accepts_focus (add to ecore_evas)
4186     * ecore_x_icccm_hints_set -> window_group (add to ecore_evas)
4187     * ecore_x_icccm_size_pos_hints_set -> request_pos (add to ecore_evas)
4188     * ecore_x_icccm_client_leader_set -> l (add to ecore_evas)
4189     * ecore_x_icccm_window_role_set -> role (add to ecore_evas)
4190     * ecore_x_icccm_transient_for_set -> forwin (add to ecore_evas)
4191     * ecore_x_netwm_window_type_set -> type (add to ecore_evas)
4192     *
4193     * (add to ecore_x) set netwm argb icon! (add to ecore_evas)
4194     * (blank mouse, private mouse obj, defaultmouse)
4195     *
4196     */
4197    /**
4198     * Sets the keyboard mode of the window.
4199     *
4200     * @param obj The window object
4201     * @param mode The mode to set, one of #Elm_Win_Keyboard_Mode
4202     */
4203    EAPI void                  elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode) EINA_ARG_NONNULL(1);
4204    /**
4205     * Gets the keyboard mode of the window.
4206     *
4207     * @param obj The window object
4208     * @return The mode, one of #Elm_Win_Keyboard_Mode
4209     */
4210    EAPI Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4211    /**
4212     * Sets whether the window is a keyboard.
4213     *
4214     * @param obj The window object
4215     * @param is_keyboard If true, the window is a virtual keyboard
4216     */
4217    EAPI void                  elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard) EINA_ARG_NONNULL(1);
4218    /**
4219     * Gets whether the window is a keyboard.
4220     *
4221     * @param obj The window object
4222     * @return If the window is a virtual keyboard
4223     */
4224    EAPI Eina_Bool             elm_win_keyboard_win_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4225
4226    /**
4227     * Get the screen position of a window.
4228     *
4229     * @param obj The window object
4230     * @param x The int to store the x coordinate to
4231     * @param y The int to store the y coordinate to
4232     */
4233    EAPI void                  elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y) EINA_ARG_NONNULL(1);
4234    /**
4235     * @}
4236     */
4237
4238    /**
4239     * @defgroup Inwin Inwin
4240     *
4241     * @image html img/widget/inwin/preview-00.png
4242     * @image latex img/widget/inwin/preview-00.eps
4243     * @image html img/widget/inwin/preview-01.png
4244     * @image latex img/widget/inwin/preview-01.eps
4245     * @image html img/widget/inwin/preview-02.png
4246     * @image latex img/widget/inwin/preview-02.eps
4247     *
4248     * An inwin is a window inside a window that is useful for a quick popup.
4249     * It does not hover.
4250     *
4251     * It works by creating an object that will occupy the entire window, so it
4252     * must be created using an @ref Win "elm_win" as parent only. The inwin
4253     * object can be hidden or restacked below every other object if it's
4254     * needed to show what's behind it without destroying it. If this is done,
4255     * the elm_win_inwin_activate() function can be used to bring it back to
4256     * full visibility again.
4257     *
4258     * There are three styles available in the default theme. These are:
4259     * @li default: The inwin is sized to take over most of the window it's
4260     * placed in.
4261     * @li minimal: The size of the inwin will be the minimum necessary to show
4262     * its contents.
4263     * @li minimal_vertical: Horizontally, the inwin takes as much space as
4264     * possible, but it's sized vertically the most it needs to fit its\
4265     * contents.
4266     *
4267     * Some examples of Inwin can be found in the following:
4268     * @li @ref inwin_example_01
4269     *
4270     * @{
4271     */
4272    /**
4273     * Adds an inwin to the current window
4274     *
4275     * The @p obj used as parent @b MUST be an @ref Win "Elementary Window".
4276     * Never call this function with anything other than the top-most window
4277     * as its parameter, unless you are fond of undefined behavior.
4278     *
4279     * After creating the object, the widget will set itself as resize object
4280     * for the window with elm_win_resize_object_add(), so when shown it will
4281     * appear to cover almost the entire window (how much of it depends on its
4282     * content and the style used). It must not be added into other container
4283     * objects and it needs not be moved or resized manually.
4284     *
4285     * @param parent The parent object
4286     * @return The new object or NULL if it cannot be created
4287     */
4288    EAPI Evas_Object          *elm_win_inwin_add(Evas_Object *obj) EINA_ARG_NONNULL(1);
4289    /**
4290     * Activates an inwin object, ensuring its visibility
4291     *
4292     * This function will make sure that the inwin @p obj is completely visible
4293     * by calling evas_object_show() and evas_object_raise() on it, to bring it
4294     * to the front. It also sets the keyboard focus to it, which will be passed
4295     * onto its content.
4296     *
4297     * The object's theme will also receive the signal "elm,action,show" with
4298     * source "elm".
4299     *
4300     * @param obj The inwin to activate
4301     */
4302    EAPI void                  elm_win_inwin_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
4303    /**
4304     * Set the content of an inwin object.
4305     *
4306     * Once the content object is set, a previously set one will be deleted.
4307     * If you want to keep that old content object, use the
4308     * elm_win_inwin_content_unset() function.
4309     *
4310     * @param obj The inwin object
4311     * @param content The object to set as content
4312     */
4313    EAPI void                  elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
4314    /**
4315     * Get the content of an inwin object.
4316     *
4317     * Return the content object which is set for this widget.
4318     *
4319     * The returned object is valid as long as the inwin is still alive and no
4320     * other content is set on it. Deleting the object will notify the inwin
4321     * about it and this one will be left empty.
4322     *
4323     * If you need to remove an inwin's content to be reused somewhere else,
4324     * see elm_win_inwin_content_unset().
4325     *
4326     * @param obj The inwin object
4327     * @return The content that is being used
4328     */
4329    EAPI Evas_Object          *elm_win_inwin_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4330    /**
4331     * Unset the content of an inwin object.
4332     *
4333     * Unparent and return the content object which was set for this widget.
4334     *
4335     * @param obj The inwin object
4336     * @return The content that was being used
4337     */
4338    EAPI Evas_Object          *elm_win_inwin_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4339    /**
4340     * @}
4341     */
4342    /* X specific calls - won't work on non-x engines (return 0) */
4343
4344    /**
4345     * Get the Ecore_X_Window of an Evas_Object
4346     *
4347     * @param obj The object
4348     *
4349     * @return The Ecore_X_Window of @p obj
4350     *
4351     * @ingroup Win
4352     */
4353    EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4354
4355    /* smart callbacks called:
4356     * "delete,request" - the user requested to delete the window
4357     * "focus,in" - window got focus
4358     * "focus,out" - window lost focus
4359     * "moved" - window that holds the canvas was moved
4360     */
4361
4362    /**
4363     * @defgroup Bg Bg
4364     *
4365     * @image html img/widget/bg/preview-00.png
4366     * @image latex img/widget/bg/preview-00.eps
4367     *
4368     * @brief Background object, used for setting a solid color, image or Edje
4369     * group as background to a window or any container object.
4370     *
4371     * The bg object is used for setting a solid background to a window or
4372     * packing into any container object. It works just like an image, but has
4373     * some properties useful to a background, like setting it to tiled,
4374     * centered, scaled or stretched.
4375     *
4376     * Here is some sample code using it:
4377     * @li @ref bg_01_example_page
4378     * @li @ref bg_02_example_page
4379     * @li @ref bg_03_example_page
4380     */
4381
4382    /* bg */
4383    typedef enum _Elm_Bg_Option
4384      {
4385         ELM_BG_OPTION_CENTER,  /**< center the background */
4386         ELM_BG_OPTION_SCALE,   /**< scale the background retaining aspect ratio */
4387         ELM_BG_OPTION_STRETCH, /**< stretch the background to fill */
4388         ELM_BG_OPTION_TILE     /**< tile background at its original size */
4389      } Elm_Bg_Option;
4390
4391    /**
4392     * Add a new background to the parent
4393     *
4394     * @param parent The parent object
4395     * @return The new object or NULL if it cannot be created
4396     *
4397     * @ingroup Bg
4398     */
4399    EAPI Evas_Object  *elm_bg_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4400
4401    /**
4402     * Set the file (image or edje) used for the background
4403     *
4404     * @param obj The bg object
4405     * @param file The file path
4406     * @param group Optional key (group in Edje) within the file
4407     *
4408     * This sets the image file used in the background object. The image (or edje)
4409     * will be stretched (retaining aspect if its an image file) to completely fill
4410     * the bg object. This may mean some parts are not visible.
4411     *
4412     * @note  Once the image of @p obj is set, a previously set one will be deleted,
4413     * even if @p file is NULL.
4414     *
4415     * @ingroup Bg
4416     */
4417    EAPI void          elm_bg_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
4418
4419    /**
4420     * Get the file (image or edje) used for the background
4421     *
4422     * @param obj The bg object
4423     * @param file The file path
4424     * @param group Optional key (group in Edje) within the file
4425     *
4426     * @ingroup Bg
4427     */
4428    EAPI void          elm_bg_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
4429
4430    /**
4431     * Set the option used for the background image
4432     *
4433     * @param obj The bg object
4434     * @param option The desired background option (TILE, SCALE)
4435     *
4436     * This sets the option used for manipulating the display of the background
4437     * image. The image can be tiled or scaled.
4438     *
4439     * @ingroup Bg
4440     */
4441    EAPI void          elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option) EINA_ARG_NONNULL(1);
4442
4443    /**
4444     * Get the option used for the background image
4445     *
4446     * @param obj The bg object
4447     * @return The desired background option (CENTER, SCALE, STRETCH or TILE)
4448     *
4449     * @ingroup Bg
4450     */
4451    EAPI Elm_Bg_Option elm_bg_option_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4452    /**
4453     * Set the option used for the background color
4454     *
4455     * @param obj The bg object
4456     * @param r
4457     * @param g
4458     * @param b
4459     *
4460     * This sets the color used for the background rectangle. Its range goes
4461     * from 0 to 255.
4462     *
4463     * @ingroup Bg
4464     */
4465    EAPI void          elm_bg_color_set(Evas_Object *obj, int r, int g, int b) EINA_ARG_NONNULL(1);
4466    /**
4467     * Get the option used for the background color
4468     *
4469     * @param obj The bg object
4470     * @param r
4471     * @param g
4472     * @param b
4473     *
4474     * @ingroup Bg
4475     */
4476    EAPI void          elm_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b) EINA_ARG_NONNULL(1);
4477
4478    /**
4479     * Set the overlay object used for the background object.
4480     *
4481     * @param obj The bg object
4482     * @param overlay The overlay object
4483     *
4484     * This provides a way for elm_bg to have an 'overlay' that will be on top
4485     * of the bg. Once the over object is set, a previously set one will be
4486     * deleted, even if you set the new one to NULL. If you want to keep that
4487     * old content object, use the elm_bg_overlay_unset() function.
4488     *
4489     * @ingroup Bg
4490     */
4491
4492    EAPI void          elm_bg_overlay_set(Evas_Object *obj, Evas_Object *overlay) EINA_ARG_NONNULL(1);
4493
4494    /**
4495     * Get the overlay object used for the background object.
4496     *
4497     * @param obj The bg object
4498     * @return The content that is being used
4499     *
4500     * Return the content object which is set for this widget
4501     *
4502     * @ingroup Bg
4503     */
4504    EAPI Evas_Object  *elm_bg_overlay_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4505
4506    /**
4507     * Get the overlay object used for the background object.
4508     *
4509     * @param obj The bg object
4510     * @return The content that was being used
4511     *
4512     * Unparent and return the overlay object which was set for this widget
4513     *
4514     * @ingroup Bg
4515     */
4516    EAPI Evas_Object  *elm_bg_overlay_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4517
4518    /**
4519     * Set the size of the pixmap representation of the image.
4520     *
4521     * This option just makes sense if an image is going to be set in the bg.
4522     *
4523     * @param obj The bg object
4524     * @param w The new width of the image pixmap representation.
4525     * @param h The new height of the image pixmap representation.
4526     *
4527     * This function sets a new size for pixmap representation of the given bg
4528     * image. It allows the image to be loaded already in the specified size,
4529     * reducing the memory usage and load time when loading a big image with load
4530     * size set to a smaller size.
4531     *
4532     * NOTE: this is just a hint, the real size of the pixmap may differ
4533     * depending on the type of image being loaded, being bigger than requested.
4534     *
4535     * @ingroup Bg
4536     */
4537    EAPI void          elm_bg_load_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
4538    /* smart callbacks called:
4539     */
4540
4541    /**
4542     * @defgroup Icon Icon
4543     *
4544     * @image html img/widget/icon/preview-00.png
4545     * @image latex img/widget/icon/preview-00.eps
4546     *
4547     * An object that provides standard icon images (delete, edit, arrows, etc.)
4548     * or a custom file (PNG, JPG, EDJE, etc.) used for an icon.
4549     *
4550     * The icon image requested can be in the elementary theme, or in the
4551     * freedesktop.org paths. It's possible to set the order of preference from
4552     * where the image will be used.
4553     *
4554     * This API is very similar to @ref Image, but with ready to use images.
4555     *
4556     * Default images provided by the theme are described below.
4557     *
4558     * The first list contains icons that were first intended to be used in
4559     * toolbars, but can be used in many other places too:
4560     * @li home
4561     * @li close
4562     * @li apps
4563     * @li arrow_up
4564     * @li arrow_down
4565     * @li arrow_left
4566     * @li arrow_right
4567     * @li chat
4568     * @li clock
4569     * @li delete
4570     * @li edit
4571     * @li refresh
4572     * @li folder
4573     * @li file
4574     *
4575     * Now some icons that were designed to be used in menus (but again, you can
4576     * use them anywhere else):
4577     * @li menu/home
4578     * @li menu/close
4579     * @li menu/apps
4580     * @li menu/arrow_up
4581     * @li menu/arrow_down
4582     * @li menu/arrow_left
4583     * @li menu/arrow_right
4584     * @li menu/chat
4585     * @li menu/clock
4586     * @li menu/delete
4587     * @li menu/edit
4588     * @li menu/refresh
4589     * @li menu/folder
4590     * @li menu/file
4591     *
4592     * And here we have some media player specific icons:
4593     * @li media_player/forward
4594     * @li media_player/info
4595     * @li media_player/next
4596     * @li media_player/pause
4597     * @li media_player/play
4598     * @li media_player/prev
4599     * @li media_player/rewind
4600     * @li media_player/stop
4601     *
4602     * Signals that you can add callbacks for are:
4603     *
4604     * "clicked" - This is called when a user has clicked the icon
4605     *
4606     * An example of usage for this API follows:
4607     * @li @ref tutorial_icon
4608     */
4609
4610    /**
4611     * @addtogroup Icon
4612     * @{
4613     */
4614
4615    typedef enum _Elm_Icon_Type
4616      {
4617         ELM_ICON_NONE,
4618         ELM_ICON_FILE,
4619         ELM_ICON_STANDARD
4620      } Elm_Icon_Type;
4621    /**
4622     * @enum _Elm_Icon_Lookup_Order
4623     * @typedef Elm_Icon_Lookup_Order
4624     *
4625     * Lookup order used by elm_icon_standard_set(). Should look for icons in the
4626     * theme, FDO paths, or both?
4627     *
4628     * @ingroup Icon
4629     */
4630    typedef enum _Elm_Icon_Lookup_Order
4631      {
4632         ELM_ICON_LOOKUP_FDO_THEME, /**< icon look up order: freedesktop, theme */
4633         ELM_ICON_LOOKUP_THEME_FDO, /**< icon look up order: theme, freedesktop */
4634         ELM_ICON_LOOKUP_FDO,       /**< icon look up order: freedesktop */
4635         ELM_ICON_LOOKUP_THEME      /**< icon look up order: theme */
4636      } Elm_Icon_Lookup_Order;
4637
4638    /**
4639     * Add a new icon object to the parent.
4640     *
4641     * @param parent The parent object
4642     * @return The new object or NULL if it cannot be created
4643     *
4644     * @see elm_icon_file_set()
4645     *
4646     * @ingroup Icon
4647     */
4648    EAPI Evas_Object          *elm_icon_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4649    /**
4650     * Set the file that will be used as icon.
4651     *
4652     * @param obj The icon object
4653     * @param file The path to file that will be used as icon image
4654     * @param group The group that the icon belongs to in edje file
4655     *
4656     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
4657     *
4658     * @note The icon image set by this function can be changed by
4659     * elm_icon_standard_set().
4660     *
4661     * @see elm_icon_file_get()
4662     *
4663     * @ingroup Icon
4664     */
4665    EAPI Eina_Bool             elm_icon_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
4666    /**
4667     * Set a location in memory to be used as an icon
4668     *
4669     * @param obj The icon object
4670     * @param img The binary data that will be used as an image
4671     * @param size The size of binary data @p img
4672     * @param format Optional format of @p img to pass to the image loader
4673     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
4674     *
4675     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
4676     *
4677     * @note The icon image set by this function can be changed by
4678     * elm_icon_standard_set().
4679     *
4680     * @ingroup Icon
4681     */
4682    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);
4683    /**
4684     * Get the file that will be used as icon.
4685     *
4686     * @param obj The icon object
4687     * @param file The path to file that will be used as icon icon image
4688     * @param group The group that the icon belongs to in edje file
4689     *
4690     * @see elm_icon_file_set()
4691     *
4692     * @ingroup Icon
4693     */
4694    EAPI void                  elm_icon_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
4695    EAPI void                  elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
4696    /**
4697     * Set the icon by icon standards names.
4698     *
4699     * @param obj The icon object
4700     * @param name The icon name
4701     *
4702     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
4703     *
4704     * For example, freedesktop.org defines standard icon names such as "home",
4705     * "network", etc. There can be different icon sets to match those icon
4706     * keys. The @p name given as parameter is one of these "keys", and will be
4707     * used to look in the freedesktop.org paths and elementary theme. One can
4708     * change the lookup order with elm_icon_order_lookup_set().
4709     *
4710     * If name is not found in any of the expected locations and it is the
4711     * absolute path of an image file, this image will be used.
4712     *
4713     * @note The icon image set by this function can be changed by
4714     * elm_icon_file_set().
4715     *
4716     * @see elm_icon_standard_get()
4717     * @see elm_icon_file_set()
4718     *
4719     * @ingroup Icon
4720     */
4721    EAPI Eina_Bool             elm_icon_standard_set(Evas_Object *obj, const char *name) EINA_ARG_NONNULL(1);
4722    /**
4723     * Get the icon name set by icon standard names.
4724     *
4725     * @param obj The icon object
4726     * @return The icon name
4727     *
4728     * If the icon image was set using elm_icon_file_set() instead of
4729     * elm_icon_standard_set(), then this function will return @c NULL.
4730     *
4731     * @see elm_icon_standard_set()
4732     *
4733     * @ingroup Icon
4734     */
4735    EAPI const char           *elm_icon_standard_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4736    /**
4737     * Set the smooth effect for an icon object.
4738     *
4739     * @param obj The icon object
4740     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
4741     * otherwise. Default is @c EINA_TRUE.
4742     *
4743     * Set the scaling algorithm to be used when scaling the icon image. Smooth
4744     * scaling provides a better resulting image, but is slower.
4745     *
4746     * The smooth scaling should be disabled when making animations that change
4747     * the icon size, since they will be faster. Animations that don't require
4748     * resizing of the icon can keep the smooth scaling enabled (even if the icon
4749     * is already scaled, since the scaled icon image will be cached).
4750     *
4751     * @see elm_icon_smooth_get()
4752     *
4753     * @ingroup Icon
4754     */
4755    EAPI void                  elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
4756    /**
4757     * Get the smooth effect for an icon object.
4758     *
4759     * @param obj The icon object
4760     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
4761     *
4762     * @see elm_icon_smooth_set()
4763     *
4764     * @ingroup Icon
4765     */
4766    EAPI Eina_Bool             elm_icon_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4767    /**
4768     * Disable scaling of this object.
4769     *
4770     * @param obj The icon object.
4771     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
4772     * otherwise. Default is @c EINA_FALSE.
4773     *
4774     * This function disables scaling of the icon object through the function
4775     * elm_object_scale_set(). However, this does not affect the object
4776     * size/resize in any way. For that effect, take a look at
4777     * elm_icon_scale_set().
4778     *
4779     * @see elm_icon_no_scale_get()
4780     * @see elm_icon_scale_set()
4781     * @see elm_object_scale_set()
4782     *
4783     * @ingroup Icon
4784     */
4785    EAPI void                  elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
4786    /**
4787     * Get whether scaling is disabled on the object.
4788     *
4789     * @param obj The icon object
4790     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
4791     *
4792     * @see elm_icon_no_scale_set()
4793     *
4794     * @ingroup Icon
4795     */
4796    EAPI Eina_Bool             elm_icon_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4797    /**
4798     * Set if the object is (up/down) resizable.
4799     *
4800     * @param obj The icon object
4801     * @param scale_up A bool to set if the object is resizable up. Default is
4802     * @c EINA_TRUE.
4803     * @param scale_down A bool to set if the object is resizable down. Default
4804     * is @c EINA_TRUE.
4805     *
4806     * This function limits the icon object resize ability. If @p scale_up is set to
4807     * @c EINA_FALSE, the object can't have its height or width resized to a value
4808     * higher than the original icon size. Same is valid for @p scale_down.
4809     *
4810     * @see elm_icon_scale_get()
4811     *
4812     * @ingroup Icon
4813     */
4814    EAPI void                  elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
4815    /**
4816     * Get if the object is (up/down) resizable.
4817     *
4818     * @param obj The icon object
4819     * @param scale_up A bool to set if the object is resizable up
4820     * @param scale_down A bool to set if the object is resizable down
4821     *
4822     * @see elm_icon_scale_set()
4823     *
4824     * @ingroup Icon
4825     */
4826    EAPI void                  elm_icon_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
4827    /**
4828     * Get the object's image size
4829     *
4830     * @param obj The icon object
4831     * @param w A pointer to store the width in
4832     * @param h A pointer to store the height in
4833     *
4834     * @ingroup Icon
4835     */
4836    EAPI void                  elm_icon_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
4837    /**
4838     * Set if the icon fill the entire object area.
4839     *
4840     * @param obj The icon object
4841     * @param fill_outside @c EINA_TRUE if the object is filled outside,
4842     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
4843     *
4844     * When the icon object is resized to a different aspect ratio from the
4845     * original icon image, the icon image will still keep its aspect. This flag
4846     * tells how the image should fill the object's area. They are: keep the
4847     * entire icon inside the limits of height and width of the object (@p
4848     * fill_outside is @c EINA_FALSE) or let the extra width or height go outside
4849     * of the object, and the icon will fill the entire object (@p fill_outside
4850     * is @c EINA_TRUE).
4851     *
4852     * @note Unlike @ref Image, there's no option in icon to set the aspect ratio
4853     * retain property to false. Thus, the icon image will always keep its
4854     * original aspect ratio.
4855     *
4856     * @see elm_icon_fill_outside_get()
4857     * @see elm_image_fill_outside_set()
4858     *
4859     * @ingroup Icon
4860     */
4861    EAPI void                  elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
4862    /**
4863     * Get if the object is filled outside.
4864     *
4865     * @param obj The icon object
4866     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
4867     *
4868     * @see elm_icon_fill_outside_set()
4869     *
4870     * @ingroup Icon
4871     */
4872    EAPI Eina_Bool             elm_icon_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4873    /**
4874     * Set the prescale size for the icon.
4875     *
4876     * @param obj The icon object
4877     * @param size The prescale size. This value is used for both width and
4878     * height.
4879     *
4880     * This function sets a new size for pixmap representation of the given
4881     * icon. It allows the icon to be loaded already in the specified size,
4882     * reducing the memory usage and load time when loading a big icon with load
4883     * size set to a smaller size.
4884     *
4885     * It's equivalent to the elm_bg_load_size_set() function for bg.
4886     *
4887     * @note this is just a hint, the real size of the pixmap may differ
4888     * depending on the type of icon being loaded, being bigger than requested.
4889     *
4890     * @see elm_icon_prescale_get()
4891     * @see elm_bg_load_size_set()
4892     *
4893     * @ingroup Icon
4894     */
4895    EAPI void                  elm_icon_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
4896    /**
4897     * Get the prescale size for the icon.
4898     *
4899     * @param obj The icon object
4900     * @return The prescale size
4901     *
4902     * @see elm_icon_prescale_set()
4903     *
4904     * @ingroup Icon
4905     */
4906    EAPI int                   elm_icon_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4907    /**
4908     * Sets the icon lookup order used by elm_icon_standard_set().
4909     *
4910     * @param obj The icon object
4911     * @param order The icon lookup order (can be one of
4912     * ELM_ICON_LOOKUP_FDO_THEME, ELM_ICON_LOOKUP_THEME_FDO, ELM_ICON_LOOKUP_FDO
4913     * or ELM_ICON_LOOKUP_THEME)
4914     *
4915     * @see elm_icon_order_lookup_get()
4916     * @see Elm_Icon_Lookup_Order
4917     *
4918     * @ingroup Icon
4919     */
4920    EAPI void                  elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
4921    /**
4922     * Gets the icon lookup order.
4923     *
4924     * @param obj The icon object
4925     * @return The icon lookup order
4926     *
4927     * @see elm_icon_order_lookup_set()
4928     * @see Elm_Icon_Lookup_Order
4929     *
4930     * @ingroup Icon
4931     */
4932    EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4933    /**
4934     * Get if the icon supports animation or not.
4935     *
4936     * @param obj The icon object
4937     * @return @c EINA_TRUE if the icon supports animation,
4938     *         @c EINA_FALSE otherwise.
4939     *
4940     * Return if this elm icon's image can be animated. Currently Evas only
4941     * supports gif animation. If the return value is EINA_FALSE, other
4942     * elm_icon_animated_XXX APIs won't work.
4943     * @ingroup Icon
4944     */
4945    EAPI Eina_Bool           elm_icon_animated_available_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4946    /**
4947     * Set animation mode of the icon.
4948     *
4949     * @param obj The icon object
4950     * @param anim @c EINA_TRUE if the object do animation job,
4951     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
4952     *
4953     * Even though elm icon's file can be animated,
4954     * sometimes appication developer want to just first page of image.
4955     * In that time, don't call this function, because default value is EINA_FALSE
4956     * Only when you want icon support anition,
4957     * use this function and set animated to EINA_TURE
4958     * @ingroup Icon
4959     */
4960    EAPI void                elm_icon_animated_set(Evas_Object *obj, Eina_Bool animated) EINA_ARG_NONNULL(1);
4961    /**
4962     * Get animation mode of the icon.
4963     *
4964     * @param obj The icon object
4965     * @return The animation mode of the icon object
4966     * @see elm_icon_animated_set
4967     * @ingroup Icon
4968     */
4969    EAPI Eina_Bool           elm_icon_animated_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4970    /**
4971     * Set animation play mode of the icon.
4972     *
4973     * @param obj The icon object
4974     * @param play @c EINA_TRUE the object play animation images,
4975     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
4976     *
4977     * If you want to play elm icon's animation, you set play to EINA_TURE.
4978     * For example, you make gif player using this set/get API and click event.
4979     *
4980     * 1. Click event occurs
4981     * 2. Check play flag using elm_icon_animaged_play_get
4982     * 3. If elm icon was playing, set play to EINA_FALSE.
4983     *    Then animation will be stopped and vice versa
4984     * @ingroup Icon
4985     */
4986    EAPI void                elm_icon_animated_play_set(Evas_Object *obj, Eina_Bool play) EINA_ARG_NONNULL(1);
4987    /**
4988     * Get animation play mode of the icon.
4989     *
4990     * @param obj The icon object
4991     * @return The play mode of the icon object
4992     *
4993     * @see elm_icon_animated_lay_get
4994     * @ingroup Icon
4995     */
4996    EAPI Eina_Bool           elm_icon_animated_play_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4997
4998    /**
4999     * @}
5000     */
5001
5002    /**
5003     * @defgroup Image Image
5004     *
5005     * @image html img/widget/image/preview-00.png
5006     * @image latex img/widget/image/preview-00.eps
5007
5008     *
5009     * An object that allows one to load an image file to it. It can be used
5010     * anywhere like any other elementary widget.
5011     *
5012     * This widget provides most of the functionality provided from @ref Bg or @ref
5013     * Icon, but with a slightly different API (use the one that fits better your
5014     * needs).
5015     *
5016     * The features not provided by those two other image widgets are:
5017     * @li allowing to get the basic @c Evas_Object with elm_image_object_get();
5018     * @li change the object orientation with elm_image_orient_set();
5019     * @li and turning the image editable with elm_image_editable_set().
5020     *
5021     * Signals that you can add callbacks for are:
5022     *
5023     * @li @c "clicked" - This is called when a user has clicked the image
5024     *
5025     * An example of usage for this API follows:
5026     * @li @ref tutorial_image
5027     */
5028
5029    /**
5030     * @addtogroup Image
5031     * @{
5032     */
5033
5034    /**
5035     * @enum _Elm_Image_Orient
5036     * @typedef Elm_Image_Orient
5037     *
5038     * Possible orientation options for elm_image_orient_set().
5039     *
5040     * @image html elm_image_orient_set.png
5041     * @image latex elm_image_orient_set.eps width=\textwidth
5042     *
5043     * @ingroup Image
5044     */
5045    typedef enum _Elm_Image_Orient
5046      {
5047         ELM_IMAGE_ORIENT_NONE, /**< no orientation change */
5048         ELM_IMAGE_ROTATE_90_CW, /**< rotate 90 degrees clockwise */
5049         ELM_IMAGE_ROTATE_180_CW, /**< rotate 180 degrees clockwise */
5050         ELM_IMAGE_ROTATE_90_CCW, /**< rotate 90 degrees counter-clockwise (i.e. 270 degrees clockwise) */
5051         ELM_IMAGE_FLIP_HORIZONTAL, /**< flip image horizontally */
5052         ELM_IMAGE_FLIP_VERTICAL, /**< flip image vertically */
5053         ELM_IMAGE_FLIP_TRANSPOSE, /**< flip the image along the y = (side - x) line*/
5054         ELM_IMAGE_FLIP_TRANSVERSE /**< flip the image along the y = x line */
5055      } Elm_Image_Orient;
5056
5057    /**
5058     * Add a new image to the parent.
5059     *
5060     * @param parent The parent object
5061     * @return The new object or NULL if it cannot be created
5062     *
5063     * @see elm_image_file_set()
5064     *
5065     * @ingroup Image
5066     */
5067    EAPI Evas_Object     *elm_image_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5068    /**
5069     * Set the file that will be used as image.
5070     *
5071     * @param obj The image object
5072     * @param file The path to file that will be used as image
5073     * @param group The group that the image belongs in edje file (if it's an
5074     * edje image)
5075     *
5076     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5077     *
5078     * @see elm_image_file_get()
5079     *
5080     * @ingroup Image
5081     */
5082    EAPI Eina_Bool        elm_image_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
5083    /**
5084     * Get the file that will be used as image.
5085     *
5086     * @param obj The image object
5087     * @param file The path to file
5088     * @param group The group that the image belongs in edje file
5089     *
5090     * @see elm_image_file_set()
5091     *
5092     * @ingroup Image
5093     */
5094    EAPI void             elm_image_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
5095    /**
5096     * Set the smooth effect for an image.
5097     *
5098     * @param obj The image object
5099     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
5100     * otherwise. Default is @c EINA_TRUE.
5101     *
5102     * Set the scaling algorithm to be used when scaling the image. Smooth
5103     * scaling provides a better resulting image, but is slower.
5104     *
5105     * The smooth scaling should be disabled when making animations that change
5106     * the image size, since it will be faster. Animations that don't require
5107     * resizing of the image can keep the smooth scaling enabled (even if the
5108     * image is already scaled, since the scaled image will be cached).
5109     *
5110     * @see elm_image_smooth_get()
5111     *
5112     * @ingroup Image
5113     */
5114    EAPI void             elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
5115    /**
5116     * Get the smooth effect for an image.
5117     *
5118     * @param obj The image object
5119     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
5120     *
5121     * @see elm_image_smooth_get()
5122     *
5123     * @ingroup Image
5124     */
5125    EAPI Eina_Bool        elm_image_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5126    /**
5127     * Gets the current size of the image.
5128     *
5129     * @param obj The image object.
5130     * @param w Pointer to store width, or NULL.
5131     * @param h Pointer to store height, or NULL.
5132     *
5133     * This is the real size of the image, not the size of the object.
5134     *
5135     * On error, neither w or h will be written.
5136     *
5137     * @ingroup Image
5138     */
5139    EAPI void             elm_image_object_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
5140    /**
5141     * Disable scaling of this object.
5142     *
5143     * @param obj The image object.
5144     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
5145     * otherwise. Default is @c EINA_FALSE.
5146     *
5147     * This function disables scaling of the elm_image widget through the
5148     * function elm_object_scale_set(). However, this does not affect the widget
5149     * size/resize in any way. For that effect, take a look at
5150     * elm_image_scale_set().
5151     *
5152     * @see elm_image_no_scale_get()
5153     * @see elm_image_scale_set()
5154     * @see elm_object_scale_set()
5155     *
5156     * @ingroup Image
5157     */
5158    EAPI void             elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
5159    /**
5160     * Get whether scaling is disabled on the object.
5161     *
5162     * @param obj The image object
5163     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
5164     *
5165     * @see elm_image_no_scale_set()
5166     *
5167     * @ingroup Image
5168     */
5169    EAPI Eina_Bool        elm_image_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5170    /**
5171     * Set if the object is (up/down) resizable.
5172     *
5173     * @param obj The image object
5174     * @param scale_up A bool to set if the object is resizable up. Default is
5175     * @c EINA_TRUE.
5176     * @param scale_down A bool to set if the object is resizable down. Default
5177     * is @c EINA_TRUE.
5178     *
5179     * This function limits the image resize ability. If @p scale_up is set to
5180     * @c EINA_FALSE, the object can't have its height or width resized to a value
5181     * higher than the original image size. Same is valid for @p scale_down.
5182     *
5183     * @see elm_image_scale_get()
5184     *
5185     * @ingroup Image
5186     */
5187    EAPI void             elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
5188    /**
5189     * Get if the object is (up/down) resizable.
5190     *
5191     * @param obj The image object
5192     * @param scale_up A bool to set if the object is resizable up
5193     * @param scale_down A bool to set if the object is resizable down
5194     *
5195     * @see elm_image_scale_set()
5196     *
5197     * @ingroup Image
5198     */
5199    EAPI void             elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
5200    /**
5201     * Set if the image fill the entire object area when keeping the aspect ratio.
5202     *
5203     * @param obj The image object
5204     * @param fill_outside @c EINA_TRUE if the object is filled outside,
5205     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5206     *
5207     * When the image should keep its aspect ratio even if resized to another
5208     * aspect ratio, there are two possibilities to resize it: keep the entire
5209     * image inside the limits of height and width of the object (@p fill_outside
5210     * is @c EINA_FALSE) or let the extra width or height go outside of the object,
5211     * and the image will fill the entire object (@p fill_outside is @c EINA_TRUE).
5212     *
5213     * @note This option will have no effect if
5214     * elm_image_aspect_ratio_retained_set() is set to @c EINA_FALSE.
5215     *
5216     * @see elm_image_fill_outside_get()
5217     * @see elm_image_aspect_ratio_retained_set()
5218     *
5219     * @ingroup Image
5220     */
5221    EAPI void             elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
5222    /**
5223     * Get if the object is filled outside
5224     *
5225     * @param obj The image object
5226     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
5227     *
5228     * @see elm_image_fill_outside_set()
5229     *
5230     * @ingroup Image
5231     */
5232    EAPI Eina_Bool        elm_image_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5233    /**
5234     * Set the prescale size for the image
5235     *
5236     * @param obj The image object
5237     * @param size The prescale size. This value is used for both width and
5238     * height.
5239     *
5240     * This function sets a new size for pixmap representation of the given
5241     * image. It allows the image to be loaded already in the specified size,
5242     * reducing the memory usage and load time when loading a big image with load
5243     * size set to a smaller size.
5244     *
5245     * It's equivalent to the elm_bg_load_size_set() function for bg.
5246     *
5247     * @note this is just a hint, the real size of the pixmap may differ
5248     * depending on the type of image being loaded, being bigger than requested.
5249     *
5250     * @see elm_image_prescale_get()
5251     * @see elm_bg_load_size_set()
5252     *
5253     * @ingroup Image
5254     */
5255    EAPI void             elm_image_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
5256    /**
5257     * Get the prescale size for the image
5258     *
5259     * @param obj The image object
5260     * @return The prescale size
5261     *
5262     * @see elm_image_prescale_set()
5263     *
5264     * @ingroup Image
5265     */
5266    EAPI int              elm_image_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5267    /**
5268     * Set the image orientation.
5269     *
5270     * @param obj The image object
5271     * @param orient The image orientation
5272     * (one of #ELM_IMAGE_ORIENT_NONE, #ELM_IMAGE_ROTATE_90_CW,
5273     *  #ELM_IMAGE_ROTATE_180_CW, #ELM_IMAGE_ROTATE_90_CCW,
5274     *  #ELM_IMAGE_FLIP_HORIZONTAL, #ELM_IMAGE_FLIP_VERTICAL,
5275     *  #ELM_IMAGE_FLIP_TRANSPOSE, #ELM_IMAGE_FLIP_TRANSVERSE).
5276     *  Default is #ELM_IMAGE_ORIENT_NONE.
5277     *
5278     * This function allows to rotate or flip the given image.
5279     *
5280     * @see elm_image_orient_get()
5281     * @see @ref Elm_Image_Orient
5282     *
5283     * @ingroup Image
5284     */
5285    EAPI void             elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient) EINA_ARG_NONNULL(1);
5286    /**
5287     * Get the image orientation.
5288     *
5289     * @param obj The image object
5290     * @return The image orientation
5291     * (one of #ELM_IMAGE_ORIENT_NONE, #ELM_IMAGE_ROTATE_90_CW,
5292     *  #ELM_IMAGE_ROTATE_180_CW, #ELM_IMAGE_ROTATE_90_CCW,
5293     *  #ELM_IMAGE_FLIP_HORIZONTAL, #ELM_IMAGE_FLIP_VERTICAL,
5294     *  #ELM_IMAGE_FLIP_TRANSPOSE, #ELM_IMAGE_FLIP_TRANSVERSE)
5295     *
5296     * @see elm_image_orient_set()
5297     * @see @ref Elm_Image_Orient
5298     *
5299     * @ingroup Image
5300     */
5301    EAPI Elm_Image_Orient elm_image_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5302    /**
5303     * Make the image 'editable'.
5304     *
5305     * @param obj Image object.
5306     * @param set Turn on or off editability. Default is @c EINA_FALSE.
5307     *
5308     * This means the image is a valid drag target for drag and drop, and can be
5309     * cut or pasted too.
5310     *
5311     * @ingroup Image
5312     */
5313    EAPI void             elm_image_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
5314    /**
5315     * Make the image 'editable'.
5316     *
5317     * @param obj Image object.
5318     * @return Editability.
5319     *
5320     * This means the image is a valid drag target for drag and drop, and can be
5321     * cut or pasted too.
5322     *
5323     * @ingroup Image
5324     */
5325    EAPI Eina_Bool        elm_image_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5326    /**
5327     * Get the basic Evas_Image object from this object (widget).
5328     *
5329     * @param obj The image object to get the inlined image from
5330     * @return The inlined image object, or NULL if none exists
5331     *
5332     * This function allows one to get the underlying @c Evas_Object of type
5333     * Image from this elementary widget. It can be useful to do things like get
5334     * the pixel data, save the image to a file, etc.
5335     *
5336     * @note Be careful to not manipulate it, as it is under control of
5337     * elementary.
5338     *
5339     * @ingroup Image
5340     */
5341    EAPI Evas_Object     *elm_image_object_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5342    /**
5343     * Set whether the original aspect ratio of the image should be kept on resize.
5344     *
5345     * @param obj The image object.
5346     * @param retained @c EINA_TRUE if the image should retain the aspect,
5347     * @c EINA_FALSE otherwise.
5348     *
5349     * The original aspect ratio (width / height) of the image is usually
5350     * distorted to match the object's size. Enabling this option will retain
5351     * this original aspect, and the way that the image is fit into the object's
5352     * area depends on the option set by elm_image_fill_outside_set().
5353     *
5354     * @see elm_image_aspect_ratio_retained_get()
5355     * @see elm_image_fill_outside_set()
5356     *
5357     * @ingroup Image
5358     */
5359    EAPI void             elm_image_aspect_ratio_retained_set(Evas_Object *obj, Eina_Bool retained) EINA_ARG_NONNULL(1);
5360    /**
5361     * Get if the object retains the original aspect ratio.
5362     *
5363     * @param obj The image object.
5364     * @return @c EINA_TRUE if the object keeps the original aspect, @c EINA_FALSE
5365     * otherwise.
5366     *
5367     * @ingroup Image
5368     */
5369    EAPI Eina_Bool        elm_image_aspect_ratio_retained_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5370
5371    /**
5372     * @}
5373     */
5374
5375    /* glview */
5376    typedef void (*Elm_GLView_Func_Cb)(Evas_Object *obj);
5377
5378    typedef enum _Elm_GLView_Mode
5379      {
5380         ELM_GLVIEW_ALPHA   = 1,
5381         ELM_GLVIEW_DEPTH   = 2,
5382         ELM_GLVIEW_STENCIL = 4
5383      } Elm_GLView_Mode;
5384
5385    /**
5386     * Defines a policy for the glview resizing.
5387     *
5388     * @note Default is ELM_GLVIEW_RESIZE_POLICY_RECREATE
5389     */
5390    typedef enum _Elm_GLView_Resize_Policy
5391      {
5392         ELM_GLVIEW_RESIZE_POLICY_RECREATE = 1,      /**< Resize the internal surface along with the image */
5393         ELM_GLVIEW_RESIZE_POLICY_SCALE    = 2       /**< Only reize the internal image and not the surface */
5394      } Elm_GLView_Resize_Policy;
5395
5396    typedef enum _Elm_GLView_Render_Policy
5397      {
5398         ELM_GLVIEW_RENDER_POLICY_ON_DEMAND = 1,     /**< Render only when there is a need for redrawing */
5399         ELM_GLVIEW_RENDER_POLICY_ALWAYS    = 2      /**< Render always even when it is not visible */
5400      } Elm_GLView_Render_Policy;
5401
5402    /**
5403     * @defgroup GLView
5404     *
5405     * A simple GLView widget that allows GL rendering.
5406     *
5407     * Signals that you can add callbacks for are:
5408     *
5409     * @{
5410     */
5411
5412    /**
5413     * Add a new glview to the parent
5414     *
5415     * @param parent The parent object
5416     * @return The new object or NULL if it cannot be created
5417     *
5418     * @ingroup GLView
5419     */
5420    EAPI Evas_Object     *elm_glview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5421
5422    /**
5423     * Sets the size of the glview
5424     *
5425     * @param obj The glview object
5426     * @param width width of the glview object
5427     * @param height height of the glview object
5428     *
5429     * @ingroup GLView
5430     */
5431    EAPI void             elm_glview_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
5432
5433    /**
5434     * Gets the size of the glview.
5435     *
5436     * @param obj The glview object
5437     * @param width width of the glview object
5438     * @param height height of the glview object
5439     *
5440     * Note that this function returns the actual image size of the
5441     * glview.  This means that when the scale policy is set to
5442     * ELM_GLVIEW_RESIZE_POLICY_SCALE, it'll return the non-scaled
5443     * size.
5444     *
5445     * @ingroup GLView
5446     */
5447    EAPI void             elm_glview_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
5448
5449    /**
5450     * Gets the gl api struct for gl rendering
5451     *
5452     * @param obj The glview object
5453     * @return The api object or NULL if it cannot be created
5454     *
5455     * @ingroup GLView
5456     */
5457    EAPI Evas_GL_API     *elm_glview_gl_api_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5458
5459    /**
5460     * Set the mode of the GLView. Supports Three simple modes.
5461     *
5462     * @param obj The glview object
5463     * @param mode The mode Options OR'ed enabling Alpha, Depth, Stencil.
5464     * @return True if set properly.
5465     *
5466     * @ingroup GLView
5467     */
5468    EAPI Eina_Bool        elm_glview_mode_set(Evas_Object *obj, Elm_GLView_Mode mode) EINA_ARG_NONNULL(1);
5469
5470    /**
5471     * Set the resize policy for the glview object.
5472     *
5473     * @param obj The glview object.
5474     * @param policy The scaling policy.
5475     *
5476     * By default, the resize policy is set to
5477     * ELM_GLVIEW_RESIZE_POLICY_RECREATE.  When resize is called it
5478     * destroys the previous surface and recreates the newly specified
5479     * size. If the policy is set to ELM_GLVIEW_RESIZE_POLICY_SCALE,
5480     * however, glview only scales the image object and not the underlying
5481     * GL Surface.
5482     *
5483     * @ingroup GLView
5484     */
5485    EAPI Eina_Bool        elm_glview_resize_policy_set(Evas_Object *obj, Elm_GLView_Resize_Policy policy) EINA_ARG_NONNULL(1);
5486
5487    /**
5488     * Set the render policy for the glview object.
5489     *
5490     * @param obj The glview object.
5491     * @param policy The render policy.
5492     *
5493     * By default, the render policy is set to
5494     * ELM_GLVIEW_RENDER_POLICY_ON_DEMAND.  This policy is set such
5495     * that during the render loop, glview is only redrawn if it needs
5496     * to be redrawn. (i.e. When it is visible) If the policy is set to
5497     * ELM_GLVIEWW_RENDER_POLICY_ALWAYS, it redraws regardless of
5498     * whether it is visible/need redrawing or not.
5499     *
5500     * @ingroup GLView
5501     */
5502    EAPI Eina_Bool        elm_glview_render_policy_set(Evas_Object *obj, Elm_GLView_Render_Policy policy) EINA_ARG_NONNULL(1);
5503
5504    /**
5505     * Set the init function that runs once in the main loop.
5506     *
5507     * @param obj The glview object.
5508     * @param func The init function to be registered.
5509     *
5510     * The registered init function gets called once during the render loop.
5511     *
5512     * @ingroup GLView
5513     */
5514    EAPI void             elm_glview_init_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5515
5516    /**
5517     * Set the render function that runs in the main loop.
5518     *
5519     * @param obj The glview object.
5520     * @param func The delete function to be registered.
5521     *
5522     * The registered del function gets called when GLView object is deleted.
5523     *
5524     * @ingroup GLView
5525     */
5526    EAPI void             elm_glview_del_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5527
5528    /**
5529     * Set the resize function that gets called when resize happens.
5530     *
5531     * @param obj The glview object.
5532     * @param func The resize function to be registered.
5533     *
5534     * @ingroup GLView
5535     */
5536    EAPI void             elm_glview_resize_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5537
5538    /**
5539     * Set the render function that runs in the main loop.
5540     *
5541     * @param obj The glview object.
5542     * @param func The render function to be registered.
5543     *
5544     * @ingroup GLView
5545     */
5546    EAPI void             elm_glview_render_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5547
5548    /**
5549     * Notifies that there has been changes in the GLView.
5550     *
5551     * @param obj The glview object.
5552     *
5553     * @ingroup GLView
5554     */
5555    EAPI void             elm_glview_changed_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
5556
5557    /**
5558     * @}
5559     */
5560
5561    /* box */
5562    /**
5563     * @defgroup Box Box
5564     *
5565     * @image html img/widget/box/preview-00.png
5566     * @image latex img/widget/box/preview-00.eps width=\textwidth
5567     *
5568     * @image html img/box.png
5569     * @image latex img/box.eps width=\textwidth
5570     *
5571     * A box arranges objects in a linear fashion, governed by a layout function
5572     * that defines the details of this arrangement.
5573     *
5574     * By default, the box will use an internal function to set the layout to
5575     * a single row, either vertical or horizontal. This layout is affected
5576     * by a number of parameters, such as the homogeneous flag set by
5577     * elm_box_homogeneous_set(), the values given by elm_box_padding_set() and
5578     * elm_box_align_set() and the hints set to each object in the box.
5579     *
5580     * For this default layout, it's possible to change the orientation with
5581     * elm_box_horizontal_set(). The box will start in the vertical orientation,
5582     * placing its elements ordered from top to bottom. When horizontal is set,
5583     * the order will go from left to right. If the box is set to be
5584     * homogeneous, every object in it will be assigned the same space, that
5585     * of the largest object. Padding can be used to set some spacing between
5586     * the cell given to each object. The alignment of the box, set with
5587     * elm_box_align_set(), determines how the bounding box of all the elements
5588     * will be placed within the space given to the box widget itself.
5589     *
5590     * The size hints of each object also affect how they are placed and sized
5591     * within the box. evas_object_size_hint_min_set() will give the minimum
5592     * size the object can have, and the box will use it as the basis for all
5593     * latter calculations. Elementary widgets set their own minimum size as
5594     * needed, so there's rarely any need to use it manually.
5595     *
5596     * evas_object_size_hint_weight_set(), when not in homogeneous mode, is
5597     * used to tell whether the object will be allocated the minimum size it
5598     * needs or if the space given to it should be expanded. It's important
5599     * to realize that expanding the size given to the object is not the same
5600     * thing as resizing the object. It could very well end being a small
5601     * widget floating in a much larger empty space. If not set, the weight
5602     * for objects will normally be 0.0 for both axis, meaning the widget will
5603     * not be expanded. To take as much space possible, set the weight to
5604     * EVAS_HINT_EXPAND (defined to 1.0) for the desired axis to expand.
5605     *
5606     * Besides how much space each object is allocated, it's possible to control
5607     * how the widget will be placed within that space using
5608     * evas_object_size_hint_align_set(). By default, this value will be 0.5
5609     * for both axis, meaning the object will be centered, but any value from
5610     * 0.0 (left or top, for the @c x and @c y axis, respectively) to 1.0
5611     * (right or bottom) can be used. The special value EVAS_HINT_FILL, which
5612     * is -1.0, means the object will be resized to fill the entire space it
5613     * was allocated.
5614     *
5615     * In addition, customized functions to define the layout can be set, which
5616     * allow the application developer to organize the objects within the box
5617     * in any number of ways.
5618     *
5619     * The special elm_box_layout_transition() function can be used
5620     * to switch from one layout to another, animating the motion of the
5621     * children of the box.
5622     *
5623     * @note Objects should not be added to box objects using _add() calls.
5624     *
5625     * Some examples on how to use boxes follow:
5626     * @li @ref box_example_01
5627     * @li @ref box_example_02
5628     *
5629     * @{
5630     */
5631    /**
5632     * @typedef Elm_Box_Transition
5633     *
5634     * Opaque handler containing the parameters to perform an animated
5635     * transition of the layout the box uses.
5636     *
5637     * @see elm_box_transition_new()
5638     * @see elm_box_layout_set()
5639     * @see elm_box_layout_transition()
5640     */
5641    typedef struct _Elm_Box_Transition Elm_Box_Transition;
5642
5643    /**
5644     * Add a new box to the parent
5645     *
5646     * By default, the box will be in vertical mode and non-homogeneous.
5647     *
5648     * @param parent The parent object
5649     * @return The new object or NULL if it cannot be created
5650     */
5651    EAPI Evas_Object        *elm_box_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5652    /**
5653     * Set the horizontal orientation
5654     *
5655     * By default, box object arranges their contents vertically from top to
5656     * bottom.
5657     * By calling this function with @p horizontal as EINA_TRUE, the box will
5658     * become horizontal, arranging contents from left to right.
5659     *
5660     * @note This flag is ignored if a custom layout function is set.
5661     *
5662     * @param obj The box object
5663     * @param horizontal The horizontal flag (EINA_TRUE = horizontal,
5664     * EINA_FALSE = vertical)
5665     */
5666    EAPI void                elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
5667    /**
5668     * Get the horizontal orientation
5669     *
5670     * @param obj The box object
5671     * @return EINA_TRUE if the box is set to horizontal mode, EINA_FALSE otherwise
5672     */
5673    EAPI Eina_Bool           elm_box_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5674    /**
5675     * Set the box to arrange its children homogeneously
5676     *
5677     * If enabled, homogeneous layout makes all items the same size, according
5678     * to the size of the largest of its children.
5679     *
5680     * @note This flag is ignored if a custom layout function is set.
5681     *
5682     * @param obj The box object
5683     * @param homogeneous The homogeneous flag
5684     */
5685    EAPI void                elm_box_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
5686    /**
5687     * Get whether the box is using homogeneous mode or not
5688     *
5689     * @param obj The box object
5690     * @return EINA_TRUE if it's homogeneous, EINA_FALSE otherwise
5691     */
5692    EAPI Eina_Bool           elm_box_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5693    EINA_DEPRECATED EAPI void elm_box_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
5694    EINA_DEPRECATED EAPI Eina_Bool elm_box_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5695    /**
5696     * Add an object to the beginning of the pack list
5697     *
5698     * Pack @p subobj into the box @p obj, placing it first in the list of
5699     * children objects. The actual position the object will get on screen
5700     * depends on the layout used. If no custom layout is set, it will be at
5701     * the top or left, depending if the box is vertical or horizontal,
5702     * respectively.
5703     *
5704     * @param obj The box object
5705     * @param subobj The object to add to the box
5706     *
5707     * @see elm_box_pack_end()
5708     * @see elm_box_pack_before()
5709     * @see elm_box_pack_after()
5710     * @see elm_box_unpack()
5711     * @see elm_box_unpack_all()
5712     * @see elm_box_clear()
5713     */
5714    EAPI void                elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
5715    /**
5716     * Add an object at the end of the pack list
5717     *
5718     * Pack @p subobj into the box @p obj, placing it last in the list of
5719     * children objects. The actual position the object will get on screen
5720     * depends on the layout used. If no custom layout is set, it will be at
5721     * the bottom or right, depending if the box is vertical or horizontal,
5722     * respectively.
5723     *
5724     * @param obj The box object
5725     * @param subobj The object to add to the box
5726     *
5727     * @see elm_box_pack_start()
5728     * @see elm_box_pack_before()
5729     * @see elm_box_pack_after()
5730     * @see elm_box_unpack()
5731     * @see elm_box_unpack_all()
5732     * @see elm_box_clear()
5733     */
5734    EAPI void                elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
5735    /**
5736     * Adds an object to the box before the indicated object
5737     *
5738     * This will add the @p subobj to the box indicated before the object
5739     * indicated with @p before. If @p before is not already in the box, results
5740     * are undefined. Before means either to the left of the indicated object or
5741     * above it depending on orientation.
5742     *
5743     * @param obj The box object
5744     * @param subobj The object to add to the box
5745     * @param before The object before which to add it
5746     *
5747     * @see elm_box_pack_start()
5748     * @see elm_box_pack_end()
5749     * @see elm_box_pack_after()
5750     * @see elm_box_unpack()
5751     * @see elm_box_unpack_all()
5752     * @see elm_box_clear()
5753     */
5754    EAPI void                elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before) EINA_ARG_NONNULL(1);
5755    /**
5756     * Adds an object to the box after the indicated object
5757     *
5758     * This will add the @p subobj to the box indicated after the object
5759     * indicated with @p after. If @p after is not already in the box, results
5760     * are undefined. After means either to the right of the indicated object or
5761     * below it depending on orientation.
5762     *
5763     * @param obj The box object
5764     * @param subobj The object to add to the box
5765     * @param after The object after which to add it
5766     *
5767     * @see elm_box_pack_start()
5768     * @see elm_box_pack_end()
5769     * @see elm_box_pack_before()
5770     * @see elm_box_unpack()
5771     * @see elm_box_unpack_all()
5772     * @see elm_box_clear()
5773     */
5774    EAPI void                elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after) EINA_ARG_NONNULL(1);
5775    /**
5776     * Clear the box of all children
5777     *
5778     * Remove all the elements contained by the box, deleting the respective
5779     * objects.
5780     *
5781     * @param obj The box object
5782     *
5783     * @see elm_box_unpack()
5784     * @see elm_box_unpack_all()
5785     */
5786    EAPI void                elm_box_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
5787    /**
5788     * Unpack a box item
5789     *
5790     * Remove the object given by @p subobj from the box @p obj without
5791     * deleting it.
5792     *
5793     * @param obj The box object
5794     *
5795     * @see elm_box_unpack_all()
5796     * @see elm_box_clear()
5797     */
5798    EAPI void                elm_box_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
5799    /**
5800     * Remove all items from the box, without deleting them
5801     *
5802     * Clear the box from all children, but don't delete the respective objects.
5803     * If no other references of the box children exist, the objects will never
5804     * be deleted, and thus the application will leak the memory. Make sure
5805     * when using this function that you hold a reference to all the objects
5806     * in the box @p obj.
5807     *
5808     * @param obj The box object
5809     *
5810     * @see elm_box_clear()
5811     * @see elm_box_unpack()
5812     */
5813    EAPI void                elm_box_unpack_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
5814    /**
5815     * Retrieve a list of the objects packed into the box
5816     *
5817     * Returns a new @c Eina_List with a pointer to @c Evas_Object in its nodes.
5818     * The order of the list corresponds to the packing order the box uses.
5819     *
5820     * You must free this list with eina_list_free() once you are done with it.
5821     *
5822     * @param obj The box object
5823     */
5824    EAPI const Eina_List    *elm_box_children_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5825    /**
5826     * Set the space (padding) between the box's elements.
5827     *
5828     * Extra space in pixels that will be added between a box child and its
5829     * neighbors after its containing cell has been calculated. This padding
5830     * is set for all elements in the box, besides any possible padding that
5831     * individual elements may have through their size hints.
5832     *
5833     * @param obj The box object
5834     * @param horizontal The horizontal space between elements
5835     * @param vertical The vertical space between elements
5836     */
5837    EAPI void                elm_box_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
5838    /**
5839     * Get the space (padding) between the box's elements.
5840     *
5841     * @param obj The box object
5842     * @param horizontal The horizontal space between elements
5843     * @param vertical The vertical space between elements
5844     *
5845     * @see elm_box_padding_set()
5846     */
5847    EAPI void                elm_box_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
5848    /**
5849     * Set the alignment of the whole bouding box of contents.
5850     *
5851     * Sets how the bounding box containing all the elements of the box, after
5852     * their sizes and position has been calculated, will be aligned within
5853     * the space given for the whole box widget.
5854     *
5855     * @param obj The box object
5856     * @param horizontal The horizontal alignment of elements
5857     * @param vertical The vertical alignment of elements
5858     */
5859    EAPI void                elm_box_align_set(Evas_Object *obj, double horizontal, double vertical) EINA_ARG_NONNULL(1);
5860    /**
5861     * Get the alignment of the whole bouding box of contents.
5862     *
5863     * @param obj The box object
5864     * @param horizontal The horizontal alignment of elements
5865     * @param vertical The vertical alignment of elements
5866     *
5867     * @see elm_box_align_set()
5868     */
5869    EAPI void                elm_box_align_get(const Evas_Object *obj, double *horizontal, double *vertical) EINA_ARG_NONNULL(1);
5870
5871    /**
5872     * Force the box to recalculate its children packing.
5873     *
5874     * If any children was added or removed, box will not calculate the
5875     * values immediately rather leaving it to the next main loop
5876     * iteration. While this is great as it would save lots of
5877     * recalculation, whenever you need to get the position of a just
5878     * added item you must force recalculate before doing so.
5879     *
5880     * @param obj The box object.
5881     */
5882    EAPI void                 elm_box_recalculate(Evas_Object *obj);
5883
5884    /**
5885     * Set the layout defining function to be used by the box
5886     *
5887     * Whenever anything changes that requires the box in @p obj to recalculate
5888     * the size and position of its elements, the function @p cb will be called
5889     * to determine what the layout of the children will be.
5890     *
5891     * Once a custom function is set, everything about the children layout
5892     * is defined by it. The flags set by elm_box_horizontal_set() and
5893     * elm_box_homogeneous_set() no longer have any meaning, and the values
5894     * given by elm_box_padding_set() and elm_box_align_set() are up to this
5895     * layout function to decide if they are used and how. These last two
5896     * will be found in the @c priv parameter, of type @c Evas_Object_Box_Data,
5897     * passed to @p cb. The @c Evas_Object the function receives is not the
5898     * Elementary widget, but the internal Evas Box it uses, so none of the
5899     * functions described here can be used on it.
5900     *
5901     * Any of the layout functions in @c Evas can be used here, as well as the
5902     * special elm_box_layout_transition().
5903     *
5904     * The final @p data argument received by @p cb is the same @p data passed
5905     * here, and the @p free_data function will be called to free it
5906     * whenever the box is destroyed or another layout function is set.
5907     *
5908     * Setting @p cb to NULL will revert back to the default layout function.
5909     *
5910     * @param obj The box object
5911     * @param cb The callback function used for layout
5912     * @param data Data that will be passed to layout function
5913     * @param free_data Function called to free @p data
5914     *
5915     * @see elm_box_layout_transition()
5916     */
5917    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);
5918    /**
5919     * Special layout function that animates the transition from one layout to another
5920     *
5921     * Normally, when switching the layout function for a box, this will be
5922     * reflected immediately on screen on the next render, but it's also
5923     * possible to do this through an animated transition.
5924     *
5925     * This is done by creating an ::Elm_Box_Transition and setting the box
5926     * layout to this function.
5927     *
5928     * For example:
5929     * @code
5930     * Elm_Box_Transition *t = elm_box_transition_new(1.0,
5931     *                            evas_object_box_layout_vertical, // start
5932     *                            NULL, // data for initial layout
5933     *                            NULL, // free function for initial data
5934     *                            evas_object_box_layout_horizontal, // end
5935     *                            NULL, // data for final layout
5936     *                            NULL, // free function for final data
5937     *                            anim_end, // will be called when animation ends
5938     *                            NULL); // data for anim_end function\
5939     * elm_box_layout_set(box, elm_box_layout_transition, t,
5940     *                    elm_box_transition_free);
5941     * @endcode
5942     *
5943     * @note This function can only be used with elm_box_layout_set(). Calling
5944     * it directly will not have the expected results.
5945     *
5946     * @see elm_box_transition_new
5947     * @see elm_box_transition_free
5948     * @see elm_box_layout_set
5949     */
5950    EAPI void                elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data);
5951    /**
5952     * Create a new ::Elm_Box_Transition to animate the switch of layouts
5953     *
5954     * If you want to animate the change from one layout to another, you need
5955     * to set the layout function of the box to elm_box_layout_transition(),
5956     * passing as user data to it an instance of ::Elm_Box_Transition with the
5957     * necessary information to perform this animation. The free function to
5958     * set for the layout is elm_box_transition_free().
5959     *
5960     * The parameters to create an ::Elm_Box_Transition sum up to how long
5961     * will it be, in seconds, a layout function to describe the initial point,
5962     * another for the final position of the children and one function to be
5963     * called when the whole animation ends. This last function is useful to
5964     * set the definitive layout for the box, usually the same as the end
5965     * layout for the animation, but could be used to start another transition.
5966     *
5967     * @param start_layout The layout function that will be used to start the animation
5968     * @param start_layout_data The data to be passed the @p start_layout function
5969     * @param start_layout_free_data Function to free @p start_layout_data
5970     * @param end_layout The layout function that will be used to end the animation
5971     * @param end_layout_free_data The data to be passed the @p end_layout function
5972     * @param end_layout_free_data Function to free @p end_layout_data
5973     * @param transition_end_cb Callback function called when animation ends
5974     * @param transition_end_data Data to be passed to @p transition_end_cb
5975     * @return An instance of ::Elm_Box_Transition
5976     *
5977     * @see elm_box_transition_new
5978     * @see elm_box_layout_transition
5979     */
5980    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);
5981    /**
5982     * Free a Elm_Box_Transition instance created with elm_box_transition_new().
5983     *
5984     * This function is mostly useful as the @c free_data parameter in
5985     * elm_box_layout_set() when elm_box_layout_transition().
5986     *
5987     * @param data The Elm_Box_Transition instance to be freed.
5988     *
5989     * @see elm_box_transition_new
5990     * @see elm_box_layout_transition
5991     */
5992    EAPI void                elm_box_transition_free(void *data);
5993    /**
5994     * @}
5995     */
5996
5997    /* button */
5998    /**
5999     * @defgroup Button Button
6000     *
6001     * @image html img/widget/button/preview-00.png
6002     * @image latex img/widget/button/preview-00.eps
6003     * @image html img/widget/button/preview-01.png
6004     * @image latex img/widget/button/preview-01.eps
6005     * @image html img/widget/button/preview-02.png
6006     * @image latex img/widget/button/preview-02.eps
6007     *
6008     * This is a push-button. Press it and run some function. It can contain
6009     * a simple label and icon object and it also has an autorepeat feature.
6010     *
6011     * This widgets emits the following signals:
6012     * @li "clicked": the user clicked the button (press/release).
6013     * @li "repeated": the user pressed the button without releasing it.
6014     * @li "pressed": button was pressed.
6015     * @li "unpressed": button was released after being pressed.
6016     * In all three cases, the @c event parameter of the callback will be
6017     * @c NULL.
6018     *
6019     * Also, defined in the default theme, the button has the following styles
6020     * available:
6021     * @li default: a normal button.
6022     * @li anchor: Like default, but the button fades away when the mouse is not
6023     * over it, leaving only the text or icon.
6024     * @li hoversel_vertical: Internally used by @ref Hoversel to give a
6025     * continuous look across its options.
6026     * @li hoversel_vertical_entry: Another internal for @ref Hoversel.
6027     *
6028     * Follow through a complete example @ref button_example_01 "here".
6029     * @{
6030     */
6031    /**
6032     * Add a new button to the parent's canvas
6033     *
6034     * @param parent The parent object
6035     * @return The new object or NULL if it cannot be created
6036     */
6037    EAPI Evas_Object *elm_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6038    /**
6039     * Set the label used in the button
6040     *
6041     * The passed @p label can be NULL to clean any existing text in it and
6042     * leave the button as an icon only object.
6043     *
6044     * @param obj The button object
6045     * @param label The text will be written on the button
6046     * @deprecated use elm_object_text_set() instead.
6047     */
6048    EINA_DEPRECATED EAPI void         elm_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6049    /**
6050     * Get the label set for the button
6051     *
6052     * The string returned is an internal pointer and should not be freed or
6053     * altered. It will also become invalid when the button is destroyed.
6054     * The string returned, if not NULL, is a stringshare, so if you need to
6055     * keep it around even after the button is destroyed, you can use
6056     * eina_stringshare_ref().
6057     *
6058     * @param obj The button object
6059     * @return The text set to the label, or NULL if nothing is set
6060     * @deprecated use elm_object_text_set() instead.
6061     */
6062    EINA_DEPRECATED EAPI const char  *elm_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6063    /**
6064     * Set the icon used for the button
6065     *
6066     * Setting a new icon will delete any other that was previously set, making
6067     * any reference to them invalid. If you need to maintain the previous
6068     * object alive, unset it first with elm_button_icon_unset().
6069     *
6070     * @param obj The button object
6071     * @param icon The icon object for the button
6072     */
6073    EAPI void         elm_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6074    /**
6075     * Get the icon used for the button
6076     *
6077     * Return the icon object which is set for this widget. If the button is
6078     * destroyed or another icon is set, the returned object will be deleted
6079     * and any reference to it will be invalid.
6080     *
6081     * @param obj The button object
6082     * @return The icon object that is being used
6083     *
6084     * @see elm_button_icon_unset()
6085     */
6086    EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6087    /**
6088     * Remove the icon set without deleting it and return the object
6089     *
6090     * This function drops the reference the button holds of the icon object
6091     * and returns this last object. It is used in case you want to remove any
6092     * icon, or set another one, without deleting the actual object. The button
6093     * will be left without an icon set.
6094     *
6095     * @param obj The button object
6096     * @return The icon object that was being used
6097     */
6098    EAPI Evas_Object *elm_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6099    /**
6100     * Turn on/off the autorepeat event generated when the button is kept pressed
6101     *
6102     * When off, no autorepeat is performed and buttons emit a normal @c clicked
6103     * signal when they are clicked.
6104     *
6105     * When on, keeping a button pressed will continuously emit a @c repeated
6106     * signal until the button is released. The time it takes until it starts
6107     * emitting the signal is given by
6108     * elm_button_autorepeat_initial_timeout_set(), and the time between each
6109     * new emission by elm_button_autorepeat_gap_timeout_set().
6110     *
6111     * @param obj The button object
6112     * @param on  A bool to turn on/off the event
6113     */
6114    EAPI void         elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on) EINA_ARG_NONNULL(1);
6115    /**
6116     * Get whether the autorepeat feature is enabled
6117     *
6118     * @param obj The button object
6119     * @return EINA_TRUE if autorepeat is on, EINA_FALSE otherwise
6120     *
6121     * @see elm_button_autorepeat_set()
6122     */
6123    EAPI Eina_Bool    elm_button_autorepeat_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6124    /**
6125     * Set the initial timeout before the autorepeat event is generated
6126     *
6127     * Sets the timeout, in seconds, since the button is pressed until the
6128     * first @c repeated signal is emitted. If @p t is 0.0 or less, there
6129     * won't be any delay and the even will be fired the moment the button is
6130     * pressed.
6131     *
6132     * @param obj The button object
6133     * @param t   Timeout in seconds
6134     *
6135     * @see elm_button_autorepeat_set()
6136     * @see elm_button_autorepeat_gap_timeout_set()
6137     */
6138    EAPI void         elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
6139    /**
6140     * Get the initial timeout before the autorepeat event is generated
6141     *
6142     * @param obj The button object
6143     * @return Timeout in seconds
6144     *
6145     * @see elm_button_autorepeat_initial_timeout_set()
6146     */
6147    EAPI double       elm_button_autorepeat_initial_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6148    /**
6149     * Set the interval between each generated autorepeat event
6150     *
6151     * After the first @c repeated event is fired, all subsequent ones will
6152     * follow after a delay of @p t seconds for each.
6153     *
6154     * @param obj The button object
6155     * @param t   Interval in seconds
6156     *
6157     * @see elm_button_autorepeat_initial_timeout_set()
6158     */
6159    EAPI void         elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
6160    /**
6161     * Get the interval between each generated autorepeat event
6162     *
6163     * @param obj The button object
6164     * @return Interval in seconds
6165     */
6166    EAPI double       elm_button_autorepeat_gap_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6167    /**
6168     * @}
6169     */
6170
6171    /**
6172     * @defgroup File_Selector_Button File Selector Button
6173     *
6174     * @image html img/widget/fileselector_button/preview-00.png
6175     * @image latex img/widget/fileselector_button/preview-00.eps
6176     * @image html img/widget/fileselector_button/preview-01.png
6177     * @image latex img/widget/fileselector_button/preview-01.eps
6178     * @image html img/widget/fileselector_button/preview-02.png
6179     * @image latex img/widget/fileselector_button/preview-02.eps
6180     *
6181     * This is a button that, when clicked, creates an Elementary
6182     * window (or inner window) <b> with a @ref Fileselector "file
6183     * selector widget" within</b>. When a file is chosen, the (inner)
6184     * window is closed and the button emits a signal having the
6185     * selected file as it's @c event_info.
6186     *
6187     * This widget encapsulates operations on its internal file
6188     * selector on its own API. There is less control over its file
6189     * selector than that one would have instatiating one directly.
6190     *
6191     * The following styles are available for this button:
6192     * @li @c "default"
6193     * @li @c "anchor"
6194     * @li @c "hoversel_vertical"
6195     * @li @c "hoversel_vertical_entry"
6196     *
6197     * Smart callbacks one can register to:
6198     * - @c "file,chosen" - the user has selected a path, whose string
6199     *   pointer comes as the @c event_info data (a stringshared
6200     *   string)
6201     *
6202     * Here is an example on its usage:
6203     * @li @ref fileselector_button_example
6204     *
6205     * @see @ref File_Selector_Entry for a similar widget.
6206     * @{
6207     */
6208
6209    /**
6210     * Add a new file selector button widget to the given parent
6211     * Elementary (container) object
6212     *
6213     * @param parent The parent object
6214     * @return a new file selector button widget handle or @c NULL, on
6215     * errors
6216     */
6217    EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6218
6219    /**
6220     * Set the label for a given file selector button widget
6221     *
6222     * @param obj The file selector button widget
6223     * @param label The text label to be displayed on @p obj
6224     *
6225     * @deprecated use elm_object_text_set() instead.
6226     */
6227    EINA_DEPRECATED EAPI void         elm_fileselector_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6228
6229    /**
6230     * Get the label set for a given file selector button widget
6231     *
6232     * @param obj The file selector button widget
6233     * @return The button label
6234     *
6235     * @deprecated use elm_object_text_set() instead.
6236     */
6237    EINA_DEPRECATED EAPI const char  *elm_fileselector_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6238
6239    /**
6240     * Set the icon on a given file selector button widget
6241     *
6242     * @param obj The file selector button widget
6243     * @param icon The icon object for the button
6244     *
6245     * Once the icon object is set, a previously set one will be
6246     * deleted. If you want to keep the latter, use the
6247     * elm_fileselector_button_icon_unset() function.
6248     *
6249     * @see elm_fileselector_button_icon_get()
6250     */
6251    EAPI void         elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6252
6253    /**
6254     * Get the icon set for a given file selector button widget
6255     *
6256     * @param obj The file selector button widget
6257     * @return The icon object currently set on @p obj or @c NULL, if
6258     * none is
6259     *
6260     * @see elm_fileselector_button_icon_set()
6261     */
6262    EAPI Evas_Object *elm_fileselector_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6263
6264    /**
6265     * Unset the icon used in a given file selector button widget
6266     *
6267     * @param obj The file selector button widget
6268     * @return The icon object that was being used on @p obj or @c
6269     * NULL, on errors
6270     *
6271     * Unparent and return the icon object which was set for this
6272     * widget.
6273     *
6274     * @see elm_fileselector_button_icon_set()
6275     */
6276    EAPI Evas_Object *elm_fileselector_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6277
6278    /**
6279     * Set the title for a given file selector button widget's window
6280     *
6281     * @param obj The file selector button widget
6282     * @param title The title string
6283     *
6284     * This will change the window's title, when the file selector pops
6285     * out after a click on the button. Those windows have the default
6286     * (unlocalized) value of @c "Select a file" as titles.
6287     *
6288     * @note It will only take any effect if the file selector
6289     * button widget is @b not under "inwin mode".
6290     *
6291     * @see elm_fileselector_button_window_title_get()
6292     */
6293    EAPI void         elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
6294
6295    /**
6296     * Get the title set for a given file selector button widget's
6297     * window
6298     *
6299     * @param obj The file selector button widget
6300     * @return Title of the file selector button's window
6301     *
6302     * @see elm_fileselector_button_window_title_get() for more details
6303     */
6304    EAPI const char  *elm_fileselector_button_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6305
6306    /**
6307     * Set the size of a given file selector button widget's window,
6308     * holding the file selector itself.
6309     *
6310     * @param obj The file selector button widget
6311     * @param width The window's width
6312     * @param height The window's height
6313     *
6314     * @note it will only take any effect if the file selector button
6315     * widget is @b not under "inwin mode". The default size for the
6316     * window (when applicable) is 400x400 pixels.
6317     *
6318     * @see elm_fileselector_button_window_size_get()
6319     */
6320    EAPI void         elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
6321
6322    /**
6323     * Get the size of a given file selector button widget's window,
6324     * holding the file selector itself.
6325     *
6326     * @param obj The file selector button widget
6327     * @param width Pointer into which to store the width value
6328     * @param height Pointer into which to store the height value
6329     *
6330     * @note Use @c NULL pointers on the size values you're not
6331     * interested in: they'll be ignored by the function.
6332     *
6333     * @see elm_fileselector_button_window_size_set(), for more details
6334     */
6335    EAPI void         elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
6336
6337    /**
6338     * Set the initial file system path for a given file selector
6339     * button widget
6340     *
6341     * @param obj The file selector button widget
6342     * @param path The path string
6343     *
6344     * It must be a <b>directory</b> path, which will have the contents
6345     * displayed initially in the file selector's view, when invoked
6346     * from @p obj. The default initial path is the @c "HOME"
6347     * environment variable's value.
6348     *
6349     * @see elm_fileselector_button_path_get()
6350     */
6351    EAPI void         elm_fileselector_button_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
6352
6353    /**
6354     * Get the initial file system path set for a given file selector
6355     * button widget
6356     *
6357     * @param obj The file selector button widget
6358     * @return path The path string
6359     *
6360     * @see elm_fileselector_button_path_set() for more details
6361     */
6362    EAPI const char  *elm_fileselector_button_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6363
6364    /**
6365     * Enable/disable a tree view in the given file selector button
6366     * widget's internal file selector
6367     *
6368     * @param obj The file selector button widget
6369     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
6370     * disable
6371     *
6372     * This has the same effect as elm_fileselector_expandable_set(),
6373     * but now applied to a file selector button's internal file
6374     * selector.
6375     *
6376     * @note There's no way to put a file selector button's internal
6377     * file selector in "grid mode", as one may do with "pure" file
6378     * selectors.
6379     *
6380     * @see elm_fileselector_expandable_get()
6381     */
6382    EAPI void         elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6383
6384    /**
6385     * Get whether tree view is enabled for the given file selector
6386     * button widget's internal file selector
6387     *
6388     * @param obj The file selector button widget
6389     * @return @c EINA_TRUE if @p obj widget's internal file selector
6390     * is in tree view, @c EINA_FALSE otherwise (and or errors)
6391     *
6392     * @see elm_fileselector_expandable_set() for more details
6393     */
6394    EAPI Eina_Bool    elm_fileselector_button_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6395
6396    /**
6397     * Set whether a given file selector button widget's internal file
6398     * selector is to display folders only or the directory contents,
6399     * as well.
6400     *
6401     * @param obj The file selector button widget
6402     * @param only @c EINA_TRUE to make @p obj widget's internal file
6403     * selector only display directories, @c EINA_FALSE to make files
6404     * to be displayed in it too
6405     *
6406     * This has the same effect as elm_fileselector_folder_only_set(),
6407     * but now applied to a file selector button's internal file
6408     * selector.
6409     *
6410     * @see elm_fileselector_folder_only_get()
6411     */
6412    EAPI void         elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6413
6414    /**
6415     * Get whether a given file selector button widget's internal file
6416     * selector is displaying folders only or the directory contents,
6417     * as well.
6418     *
6419     * @param obj The file selector button widget
6420     * @return @c EINA_TRUE if @p obj widget's internal file
6421     * selector is only displaying directories, @c EINA_FALSE if files
6422     * are being displayed in it too (and on errors)
6423     *
6424     * @see elm_fileselector_button_folder_only_set() for more details
6425     */
6426    EAPI Eina_Bool    elm_fileselector_button_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6427
6428    /**
6429     * Enable/disable the file name entry box where the user can type
6430     * in a name for a file, in a given file selector button widget's
6431     * internal file selector.
6432     *
6433     * @param obj The file selector button widget
6434     * @param is_save @c EINA_TRUE to make @p obj widget's internal
6435     * file selector a "saving dialog", @c EINA_FALSE otherwise
6436     *
6437     * This has the same effect as elm_fileselector_is_save_set(),
6438     * but now applied to a file selector button's internal file
6439     * selector.
6440     *
6441     * @see elm_fileselector_is_save_get()
6442     */
6443    EAPI void         elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6444
6445    /**
6446     * Get whether the given file selector button widget's internal
6447     * file selector is in "saving dialog" mode
6448     *
6449     * @param obj The file selector button widget
6450     * @return @c EINA_TRUE, if @p obj widget's internal file selector
6451     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
6452     * errors)
6453     *
6454     * @see elm_fileselector_button_is_save_set() for more details
6455     */
6456    EAPI Eina_Bool    elm_fileselector_button_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6457
6458    /**
6459     * Set whether a given file selector button widget's internal file
6460     * selector will raise an Elementary "inner window", instead of a
6461     * dedicated Elementary window. By default, it won't.
6462     *
6463     * @param obj The file selector button widget
6464     * @param value @c EINA_TRUE to make it use an inner window, @c
6465     * EINA_TRUE to make it use a dedicated window
6466     *
6467     * @see elm_win_inwin_add() for more information on inner windows
6468     * @see elm_fileselector_button_inwin_mode_get()
6469     */
6470    EAPI void         elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6471
6472    /**
6473     * Get whether a given file selector button widget's internal file
6474     * selector will raise an Elementary "inner window", instead of a
6475     * dedicated Elementary window.
6476     *
6477     * @param obj The file selector button widget
6478     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
6479     * if it will use a dedicated window
6480     *
6481     * @see elm_fileselector_button_inwin_mode_set() for more details
6482     */
6483    EAPI Eina_Bool    elm_fileselector_button_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6484
6485    /**
6486     * @}
6487     */
6488
6489     /**
6490     * @defgroup File_Selector_Entry File Selector Entry
6491     *
6492     * @image html img/widget/fileselector_entry/preview-00.png
6493     * @image latex img/widget/fileselector_entry/preview-00.eps
6494     *
6495     * This is an entry made to be filled with or display a <b>file
6496     * system path string</b>. Besides the entry itself, the widget has
6497     * a @ref File_Selector_Button "file selector button" on its side,
6498     * which will raise an internal @ref Fileselector "file selector widget",
6499     * when clicked, for path selection aided by file system
6500     * navigation.
6501     *
6502     * This file selector may appear in an Elementary window or in an
6503     * inner window. When a file is chosen from it, the (inner) window
6504     * is closed and the selected file's path string is exposed both as
6505     * an smart event and as the new text on the entry.
6506     *
6507     * This widget encapsulates operations on its internal file
6508     * selector on its own API. There is less control over its file
6509     * selector than that one would have instatiating one directly.
6510     *
6511     * Smart callbacks one can register to:
6512     * - @c "changed" - The text within the entry was changed
6513     * - @c "activated" - The entry has had editing finished and
6514     *   changes are to be "committed"
6515     * - @c "press" - The entry has been clicked
6516     * - @c "longpressed" - The entry has been clicked (and held) for a
6517     *   couple seconds
6518     * - @c "clicked" - The entry has been clicked
6519     * - @c "clicked,double" - The entry has been double clicked
6520     * - @c "focused" - The entry has received focus
6521     * - @c "unfocused" - The entry has lost focus
6522     * - @c "selection,paste" - A paste action has occurred on the
6523     *   entry
6524     * - @c "selection,copy" - A copy action has occurred on the entry
6525     * - @c "selection,cut" - A cut action has occurred on the entry
6526     * - @c "unpressed" - The file selector entry's button was released
6527     *   after being pressed.
6528     * - @c "file,chosen" - The user has selected a path via the file
6529     *   selector entry's internal file selector, whose string pointer
6530     *   comes as the @c event_info data (a stringshared string)
6531     *
6532     * Here is an example on its usage:
6533     * @li @ref fileselector_entry_example
6534     *
6535     * @see @ref File_Selector_Button for a similar widget.
6536     * @{
6537     */
6538
6539    /**
6540     * Add a new file selector entry widget to the given parent
6541     * Elementary (container) object
6542     *
6543     * @param parent The parent object
6544     * @return a new file selector entry widget handle or @c NULL, on
6545     * errors
6546     */
6547    EAPI Evas_Object *elm_fileselector_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6548
6549    /**
6550     * Set the label for a given file selector entry widget's button
6551     *
6552     * @param obj The file selector entry widget
6553     * @param label The text label to be displayed on @p obj widget's
6554     * button
6555     *
6556     * @deprecated use elm_object_text_set() instead.
6557     */
6558    EINA_DEPRECATED EAPI void         elm_fileselector_entry_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6559
6560    /**
6561     * Get the label set for a given file selector entry widget's button
6562     *
6563     * @param obj The file selector entry widget
6564     * @return The widget button's label
6565     *
6566     * @deprecated use elm_object_text_set() instead.
6567     */
6568    EINA_DEPRECATED EAPI const char  *elm_fileselector_entry_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6569
6570    /**
6571     * Set the icon on a given file selector entry widget's button
6572     *
6573     * @param obj The file selector entry widget
6574     * @param icon The icon object for the entry's button
6575     *
6576     * Once the icon object is set, a previously set one will be
6577     * deleted. If you want to keep the latter, use the
6578     * elm_fileselector_entry_button_icon_unset() function.
6579     *
6580     * @see elm_fileselector_entry_button_icon_get()
6581     */
6582    EAPI void         elm_fileselector_entry_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6583
6584    /**
6585     * Get the icon set for a given file selector entry widget's button
6586     *
6587     * @param obj The file selector entry widget
6588     * @return The icon object currently set on @p obj widget's button
6589     * or @c NULL, if none is
6590     *
6591     * @see elm_fileselector_entry_button_icon_set()
6592     */
6593    EAPI Evas_Object *elm_fileselector_entry_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6594
6595    /**
6596     * Unset the icon used in a given file selector entry widget's
6597     * button
6598     *
6599     * @param obj The file selector entry widget
6600     * @return The icon object that was being used on @p obj widget's
6601     * button or @c NULL, on errors
6602     *
6603     * Unparent and return the icon object which was set for this
6604     * widget's button.
6605     *
6606     * @see elm_fileselector_entry_button_icon_set()
6607     */
6608    EAPI Evas_Object *elm_fileselector_entry_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6609
6610    /**
6611     * Set the title for a given file selector entry widget's window
6612     *
6613     * @param obj The file selector entry widget
6614     * @param title The title string
6615     *
6616     * This will change the window's title, when the file selector pops
6617     * out after a click on the entry's button. Those windows have the
6618     * default (unlocalized) value of @c "Select a file" as titles.
6619     *
6620     * @note It will only take any effect if the file selector
6621     * entry widget is @b not under "inwin mode".
6622     *
6623     * @see elm_fileselector_entry_window_title_get()
6624     */
6625    EAPI void         elm_fileselector_entry_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
6626
6627    /**
6628     * Get the title set for a given file selector entry widget's
6629     * window
6630     *
6631     * @param obj The file selector entry widget
6632     * @return Title of the file selector entry's window
6633     *
6634     * @see elm_fileselector_entry_window_title_get() for more details
6635     */
6636    EAPI const char  *elm_fileselector_entry_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6637
6638    /**
6639     * Set the size of a given file selector entry widget's window,
6640     * holding the file selector itself.
6641     *
6642     * @param obj The file selector entry widget
6643     * @param width The window's width
6644     * @param height The window's height
6645     *
6646     * @note it will only take any effect if the file selector entry
6647     * widget is @b not under "inwin mode". The default size for the
6648     * window (when applicable) is 400x400 pixels.
6649     *
6650     * @see elm_fileselector_entry_window_size_get()
6651     */
6652    EAPI void         elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
6653
6654    /**
6655     * Get the size of a given file selector entry widget's window,
6656     * holding the file selector itself.
6657     *
6658     * @param obj The file selector entry widget
6659     * @param width Pointer into which to store the width value
6660     * @param height Pointer into which to store the height value
6661     *
6662     * @note Use @c NULL pointers on the size values you're not
6663     * interested in: they'll be ignored by the function.
6664     *
6665     * @see elm_fileselector_entry_window_size_set(), for more details
6666     */
6667    EAPI void         elm_fileselector_entry_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
6668
6669    /**
6670     * Set the initial file system path and the entry's path string for
6671     * a given file selector entry widget
6672     *
6673     * @param obj The file selector entry widget
6674     * @param path The path string
6675     *
6676     * It must be a <b>directory</b> path, which will have the contents
6677     * displayed initially in the file selector's view, when invoked
6678     * from @p obj. The default initial path is the @c "HOME"
6679     * environment variable's value.
6680     *
6681     * @see elm_fileselector_entry_path_get()
6682     */
6683    EAPI void         elm_fileselector_entry_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
6684
6685    /**
6686     * Get the entry's path string for a given file selector entry
6687     * widget
6688     *
6689     * @param obj The file selector entry widget
6690     * @return path The path string
6691     *
6692     * @see elm_fileselector_entry_path_set() for more details
6693     */
6694    EAPI const char  *elm_fileselector_entry_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6695
6696    /**
6697     * Enable/disable a tree view in the given file selector entry
6698     * widget's internal file selector
6699     *
6700     * @param obj The file selector entry widget
6701     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
6702     * disable
6703     *
6704     * This has the same effect as elm_fileselector_expandable_set(),
6705     * but now applied to a file selector entry's internal file
6706     * selector.
6707     *
6708     * @note There's no way to put a file selector entry's internal
6709     * file selector in "grid mode", as one may do with "pure" file
6710     * selectors.
6711     *
6712     * @see elm_fileselector_expandable_get()
6713     */
6714    EAPI void         elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6715
6716    /**
6717     * Get whether tree view is enabled for the given file selector
6718     * entry widget's internal file selector
6719     *
6720     * @param obj The file selector entry widget
6721     * @return @c EINA_TRUE if @p obj widget's internal file selector
6722     * is in tree view, @c EINA_FALSE otherwise (and or errors)
6723     *
6724     * @see elm_fileselector_expandable_set() for more details
6725     */
6726    EAPI Eina_Bool    elm_fileselector_entry_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6727
6728    /**
6729     * Set whether a given file selector entry widget's internal file
6730     * selector is to display folders only or the directory contents,
6731     * as well.
6732     *
6733     * @param obj The file selector entry widget
6734     * @param only @c EINA_TRUE to make @p obj widget's internal file
6735     * selector only display directories, @c EINA_FALSE to make files
6736     * to be displayed in it too
6737     *
6738     * This has the same effect as elm_fileselector_folder_only_set(),
6739     * but now applied to a file selector entry's internal file
6740     * selector.
6741     *
6742     * @see elm_fileselector_folder_only_get()
6743     */
6744    EAPI void         elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6745
6746    /**
6747     * Get whether a given file selector entry widget's internal file
6748     * selector is displaying folders only or the directory contents,
6749     * as well.
6750     *
6751     * @param obj The file selector entry widget
6752     * @return @c EINA_TRUE if @p obj widget's internal file
6753     * selector is only displaying directories, @c EINA_FALSE if files
6754     * are being displayed in it too (and on errors)
6755     *
6756     * @see elm_fileselector_entry_folder_only_set() for more details
6757     */
6758    EAPI Eina_Bool    elm_fileselector_entry_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6759
6760    /**
6761     * Enable/disable the file name entry box where the user can type
6762     * in a name for a file, in a given file selector entry widget's
6763     * internal file selector.
6764     *
6765     * @param obj The file selector entry widget
6766     * @param is_save @c EINA_TRUE to make @p obj widget's internal
6767     * file selector a "saving dialog", @c EINA_FALSE otherwise
6768     *
6769     * This has the same effect as elm_fileselector_is_save_set(),
6770     * but now applied to a file selector entry's internal file
6771     * selector.
6772     *
6773     * @see elm_fileselector_is_save_get()
6774     */
6775    EAPI void         elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6776
6777    /**
6778     * Get whether the given file selector entry widget's internal
6779     * file selector is in "saving dialog" mode
6780     *
6781     * @param obj The file selector entry widget
6782     * @return @c EINA_TRUE, if @p obj widget's internal file selector
6783     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
6784     * errors)
6785     *
6786     * @see elm_fileselector_entry_is_save_set() for more details
6787     */
6788    EAPI Eina_Bool    elm_fileselector_entry_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6789
6790    /**
6791     * Set whether a given file selector entry widget's internal file
6792     * selector will raise an Elementary "inner window", instead of a
6793     * dedicated Elementary window. By default, it won't.
6794     *
6795     * @param obj The file selector entry widget
6796     * @param value @c EINA_TRUE to make it use an inner window, @c
6797     * EINA_TRUE to make it use a dedicated window
6798     *
6799     * @see elm_win_inwin_add() for more information on inner windows
6800     * @see elm_fileselector_entry_inwin_mode_get()
6801     */
6802    EAPI void         elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6803
6804    /**
6805     * Get whether a given file selector entry widget's internal file
6806     * selector will raise an Elementary "inner window", instead of a
6807     * dedicated Elementary window.
6808     *
6809     * @param obj The file selector entry widget
6810     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
6811     * if it will use a dedicated window
6812     *
6813     * @see elm_fileselector_entry_inwin_mode_set() for more details
6814     */
6815    EAPI Eina_Bool    elm_fileselector_entry_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6816
6817    /**
6818     * Set the initial file system path for a given file selector entry
6819     * widget
6820     *
6821     * @param obj The file selector entry widget
6822     * @param path The path string
6823     *
6824     * It must be a <b>directory</b> path, which will have the contents
6825     * displayed initially in the file selector's view, when invoked
6826     * from @p obj. The default initial path is the @c "HOME"
6827     * environment variable's value.
6828     *
6829     * @see elm_fileselector_entry_path_get()
6830     */
6831    EAPI void         elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
6832
6833    /**
6834     * Get the parent directory's path to the latest file selection on
6835     * a given filer selector entry widget
6836     *
6837     * @param obj The file selector object
6838     * @return The (full) path of the directory of the last selection
6839     * on @p obj widget, a @b stringshared string
6840     *
6841     * @see elm_fileselector_entry_path_set()
6842     */
6843    EAPI const char  *elm_fileselector_entry_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6844
6845    /**
6846     * @}
6847     */
6848
6849    /**
6850     * @defgroup Scroller Scroller
6851     *
6852     * A scroller holds a single object and "scrolls it around". This means that
6853     * it allows the user to use a scrollbar (or a finger) to drag the viewable
6854     * region around, allowing to move through a much larger object that is
6855     * contained in the scroller. The scroiller will always have a small minimum
6856     * size by default as it won't be limited by the contents of the scroller.
6857     *
6858     * Signals that you can add callbacks for are:
6859     * @li "edge,left" - the left edge of the content has been reached
6860     * @li "edge,right" - the right edge of the content has been reached
6861     * @li "edge,top" - the top edge of the content has been reached
6862     * @li "edge,bottom" - the bottom edge of the content has been reached
6863     * @li "scroll" - the content has been scrolled (moved)
6864     * @li "scroll,anim,start" - scrolling animation has started
6865     * @li "scroll,anim,stop" - scrolling animation has stopped
6866     * @li "scroll,drag,start" - dragging the contents around has started
6867     * @li "scroll,drag,stop" - dragging the contents around has stopped
6868     * @note The "scroll,anim,*" and "scroll,drag,*" signals are only emitted by
6869     * user intervetion.
6870     *
6871     * @note When Elemementary is in embedded mode the scrollbars will not be
6872     * dragable, they appear merely as indicators of how much has been scrolled.
6873     * @note When Elementary is in desktop mode the thumbscroll(a.k.a.
6874     * fingerscroll) won't work.
6875     *
6876     * In @ref tutorial_scroller you'll find an example of how to use most of
6877     * this API.
6878     * @{
6879     */
6880    /**
6881     * @brief Type that controls when scrollbars should appear.
6882     *
6883     * @see elm_scroller_policy_set()
6884     */
6885    typedef enum _Elm_Scroller_Policy
6886      {
6887         ELM_SCROLLER_POLICY_AUTO = 0, /**< Show scrollbars as needed */
6888         ELM_SCROLLER_POLICY_ON, /**< Always show scrollbars */
6889         ELM_SCROLLER_POLICY_OFF, /**< Never show scrollbars */
6890         ELM_SCROLLER_POLICY_LAST
6891      } Elm_Scroller_Policy;
6892    /**
6893     * @brief Add a new scroller to the parent
6894     *
6895     * @param parent The parent object
6896     * @return The new object or NULL if it cannot be created
6897     */
6898    EAPI Evas_Object *elm_scroller_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6899    /**
6900     * @brief Set the content of the scroller widget (the object to be scrolled around).
6901     *
6902     * @param obj The scroller object
6903     * @param content The new content object
6904     *
6905     * Once the content object is set, a previously set one will be deleted.
6906     * If you want to keep that old content object, use the
6907     * elm_scroller_content_unset() function.
6908     */
6909    EAPI void         elm_scroller_content_set(Evas_Object *obj, Evas_Object *child) EINA_ARG_NONNULL(1);
6910    /**
6911     * @brief Get the content of the scroller widget
6912     *
6913     * @param obj The slider object
6914     * @return The content that is being used
6915     *
6916     * Return the content object which is set for this widget
6917     *
6918     * @see elm_scroller_content_set()
6919     */
6920    EAPI Evas_Object *elm_scroller_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6921    /**
6922     * @brief Unset the content of the scroller widget
6923     *
6924     * @param obj The slider object
6925     * @return The content that was being used
6926     *
6927     * Unparent and return the content object which was set for this widget
6928     *
6929     * @see elm_scroller_content_set()
6930     */
6931    EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6932    /**
6933     * @brief Set custom theme elements for the scroller
6934     *
6935     * @param obj The scroller object
6936     * @param widget The widget name to use (default is "scroller")
6937     * @param base The base name to use (default is "base")
6938     */
6939    EAPI void         elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base) EINA_ARG_NONNULL(1, 2, 3);
6940    /**
6941     * @brief Make the scroller minimum size limited to the minimum size of the content
6942     *
6943     * @param obj The scroller object
6944     * @param w Enable limiting minimum size horizontally
6945     * @param h Enable limiting minimum size vertically
6946     *
6947     * By default the scroller will be as small as its design allows,
6948     * irrespective of its content. This will make the scroller minimum size the
6949     * right size horizontally and/or vertically to perfectly fit its content in
6950     * that direction.
6951     */
6952    EAPI void         elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h) EINA_ARG_NONNULL(1);
6953    /**
6954     * @brief Show a specific virtual region within the scroller content object
6955     *
6956     * @param obj The scroller object
6957     * @param x X coordinate of the region
6958     * @param y Y coordinate of the region
6959     * @param w Width of the region
6960     * @param h Height of the region
6961     *
6962     * This will ensure all (or part if it does not fit) of the designated
6963     * region in the virtual content object (0, 0 starting at the top-left of the
6964     * virtual content object) is shown within the scroller.
6965     */
6966    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);
6967    /**
6968     * @brief Set the scrollbar visibility policy
6969     *
6970     * @param obj The scroller object
6971     * @param policy_h Horizontal scrollbar policy
6972     * @param policy_v Vertical scrollbar policy
6973     *
6974     * This sets the scrollbar visibility policy for the given scroller.
6975     * ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is
6976     * needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns it on all
6977     * the time, and ELM_SCROLLER_POLICY_OFF always keeps it off. This applies
6978     * respectively for the horizontal and vertical scrollbars.
6979     */
6980    EAPI void         elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
6981    /**
6982     * @brief Gets scrollbar visibility policy
6983     *
6984     * @param obj The scroller object
6985     * @param policy_h Horizontal scrollbar policy
6986     * @param policy_v Vertical scrollbar policy
6987     *
6988     * @see elm_scroller_policy_set()
6989     */
6990    EAPI void         elm_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) EINA_ARG_NONNULL(1);
6991    /**
6992     * @brief Get the currently visible content region
6993     *
6994     * @param obj The scroller object
6995     * @param x X coordinate of the region
6996     * @param y Y coordinate of the region
6997     * @param w Width of the region
6998     * @param h Height of the region
6999     *
7000     * This gets the current region in the content object that is visible through
7001     * the scroller. The region co-ordinates are returned in the @p x, @p y, @p
7002     * w, @p h values pointed to.
7003     *
7004     * @note All coordinates are relative to the content.
7005     *
7006     * @see elm_scroller_region_show()
7007     */
7008    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);
7009    /**
7010     * @brief Get the size of the content object
7011     *
7012     * @param obj The scroller object
7013     * @param w Width return
7014     * @param h Height return
7015     *
7016     * This gets the size of the content object of the scroller.
7017     */
7018    EAPI void         elm_scroller_child_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
7019    /**
7020     * @brief Set bouncing behavior
7021     *
7022     * @param obj The scroller object
7023     * @param h_bounce Will the scroller bounce horizontally or not
7024     * @param v_bounce Will the scroller bounce vertically or not
7025     *
7026     * When scrolling, the scroller may "bounce" when reaching an edge of the
7027     * content object. This is a visual way to indicate the end has been reached.
7028     * This is enabled by default for both axis. This will set if it is enabled
7029     * for that axis with the boolean parameters for each axis.
7030     */
7031    EAPI void         elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
7032    /**
7033     * @brief Get the bounce mode
7034     *
7035     * @param obj The Scroller object
7036     * @param h_bounce Allow bounce horizontally
7037     * @param v_bounce Allow bounce vertically
7038     *
7039     * @see elm_scroller_bounce_set()
7040     */
7041    EAPI void         elm_scroller_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
7042    /**
7043     * @brief Set scroll page size relative to viewport size.
7044     *
7045     * @param obj The scroller object
7046     * @param h_pagerel The horizontal page relative size
7047     * @param v_pagerel The vertical page relative size
7048     *
7049     * The scroller is capable of limiting scrolling by the user to "pages". That
7050     * is to jump by and only show a "whole page" at a time as if the continuous
7051     * area of the scroller content is split into page sized pieces. This sets
7052     * the size of a page relative to the viewport of the scroller. 1.0 is "1
7053     * viewport" is size (horizontally or vertically). 0.0 turns it off in that
7054     * axis. This is mutually exclusive with page size
7055     * (see elm_scroller_page_size_set()  for more information). Likewise 0.5
7056     * is "half a viewport". Sane usable valus are normally between 0.0 and 1.0
7057     * including 1.0. If you only want 1 axis to be page "limited", use 0.0 for
7058     * the other axis.
7059     */
7060    EAPI void         elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
7061    /**
7062     * @brief Set scroll page size.
7063     *
7064     * @param obj The scroller object
7065     * @param h_pagesize The horizontal page size
7066     * @param v_pagesize The vertical page size
7067     *
7068     * This sets the page size to an absolute fixed value, with 0 turning it off
7069     * for that axis.
7070     *
7071     * @see elm_scroller_page_relative_set()
7072     */
7073    EAPI void         elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
7074    /**
7075     * @brief Get scroll current page number.
7076     *
7077     * @param obj The scroller object
7078     * @param h_pagenumber The horizontal page number
7079     * @param v_pagenumber The vertical page number
7080     *
7081     * The page number starts from 0. 0 is the first page.
7082     * Current page means the page which meet the top-left of the viewport.
7083     * If there are two or more pages in the viewport, it returns the number of page
7084     * which meet the top-left of the viewport.
7085     *
7086     * @see elm_scroller_last_page_get()
7087     * @see elm_scroller_page_show()
7088     * @see elm_scroller_page_brint_in()
7089     */
7090    EAPI void         elm_scroller_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
7091    /**
7092     * @brief Get scroll last page number.
7093     *
7094     * @param obj The scroller object
7095     * @param h_pagenumber The horizontal page number
7096     * @param v_pagenumber The vertical page number
7097     *
7098     * The page number starts from 0. 0 is the first page.
7099     * This returns the last page number among the pages.
7100     *
7101     * @see elm_scroller_current_page_get()
7102     * @see elm_scroller_page_show()
7103     * @see elm_scroller_page_brint_in()
7104     */
7105    EAPI void         elm_scroller_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
7106    /**
7107     * Show a specific virtual region within the scroller content object by page number.
7108     *
7109     * @param obj The scroller object
7110     * @param h_pagenumber The horizontal page number
7111     * @param v_pagenumber The vertical page number
7112     *
7113     * 0, 0 of the indicated page is located at the top-left of the viewport.
7114     * This will jump to the page directly without animation.
7115     *
7116     * Example of usage:
7117     *
7118     * @code
7119     * sc = elm_scroller_add(win);
7120     * elm_scroller_content_set(sc, content);
7121     * elm_scroller_page_relative_set(sc, 1, 0);
7122     * elm_scroller_current_page_get(sc, &h_page, &v_page);
7123     * elm_scroller_page_show(sc, h_page + 1, v_page);
7124     * @endcode
7125     *
7126     * @see elm_scroller_page_bring_in()
7127     */
7128    EAPI void         elm_scroller_page_show(Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
7129    /**
7130     * Show a specific virtual region within the scroller content object by page number.
7131     *
7132     * @param obj The scroller object
7133     * @param h_pagenumber The horizontal page number
7134     * @param v_pagenumber The vertical page number
7135     *
7136     * 0, 0 of the indicated page is located at the top-left of the viewport.
7137     * This will slide to the page with animation.
7138     *
7139     * Example of usage:
7140     *
7141     * @code
7142     * sc = elm_scroller_add(win);
7143     * elm_scroller_content_set(sc, content);
7144     * elm_scroller_page_relative_set(sc, 1, 0);
7145     * elm_scroller_last_page_get(sc, &h_page, &v_page);
7146     * elm_scroller_page_bring_in(sc, h_page, v_page);
7147     * @endcode
7148     *
7149     * @see elm_scroller_page_show()
7150     */
7151    EAPI void         elm_scroller_page_bring_in(Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
7152    /**
7153     * @brief Show a specific virtual region within the scroller content object.
7154     *
7155     * @param obj The scroller object
7156     * @param x X coordinate of the region
7157     * @param y Y coordinate of the region
7158     * @param w Width of the region
7159     * @param h Height of the region
7160     *
7161     * This will ensure all (or part if it does not fit) of the designated
7162     * region in the virtual content object (0, 0 starting at the top-left of the
7163     * virtual content object) is shown within the scroller. Unlike
7164     * elm_scroller_region_show(), this allow the scroller to "smoothly slide"
7165     * to this location (if configuration in general calls for transitions). It
7166     * may not jump immediately to the new location and make take a while and
7167     * show other content along the way.
7168     *
7169     * @see elm_scroller_region_show()
7170     */
7171    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);
7172    /**
7173     * @brief Set event propagation on a scroller
7174     *
7175     * @param obj The scroller object
7176     * @param propagation If propagation is enabled or not
7177     *
7178     * This enables or disabled event propagation from the scroller content to
7179     * the scroller and its parent. By default event propagation is disabled.
7180     */
7181    EAPI void         elm_scroller_propagate_events_set(Evas_Object *obj, Eina_Bool propagation);
7182    /**
7183     * @brief Get event propagation for a scroller
7184     *
7185     * @param obj The scroller object
7186     * @return The propagation state
7187     *
7188     * This gets the event propagation for a scroller.
7189     *
7190     * @see elm_scroller_propagate_events_set()
7191     */
7192    EAPI Eina_Bool    elm_scroller_propagate_events_get(const Evas_Object *obj);
7193    /**
7194     * @}
7195     */
7196
7197    /**
7198     * @defgroup Label Label
7199     *
7200     * @image html img/widget/label/preview-00.png
7201     * @image latex img/widget/label/preview-00.eps
7202     *
7203     * @brief Widget to display text, with simple html-like markup.
7204     *
7205     * The Label widget @b doesn't allow text to overflow its boundaries, if the
7206     * text doesn't fit the geometry of the label it will be ellipsized or be
7207     * cut. Elementary provides several themes for this widget:
7208     * @li default - No animation
7209     * @li marker - Centers the text in the label and make it bold by default
7210     * @li slide_long - The entire text appears from the right of the screen and
7211     * slides until it disappears in the left of the screen(reappering on the
7212     * right again).
7213     * @li slide_short - The text appears in the left of the label and slides to
7214     * the right to show the overflow. When all of the text has been shown the
7215     * position is reset.
7216     * @li slide_bounce - The text appears in the left of the label and slides to
7217     * the right to show the overflow. When all of the text has been shown the
7218     * animation reverses, moving the text to the left.
7219     *
7220     * Custom themes can of course invent new markup tags and style them any way
7221     * they like.
7222     *
7223     * See @ref tutorial_label for a demonstration of how to use a label widget.
7224     * @{
7225     */
7226    /**
7227     * @brief Add a new label to the parent
7228     *
7229     * @param parent The parent object
7230     * @return The new object or NULL if it cannot be created
7231     */
7232    EAPI Evas_Object *elm_label_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7233    /**
7234     * @brief Set the label on the label object
7235     *
7236     * @param obj The label object
7237     * @param label The label will be used on the label object
7238     * @deprecated See elm_object_text_set()
7239     */
7240    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 */
7241    /**
7242     * @brief Get the label used on the label object
7243     *
7244     * @param obj The label object
7245     * @return The string inside the label
7246     * @deprecated See elm_object_text_get()
7247     */
7248    EINA_DEPRECATED EAPI const char *elm_label_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); /* deprecated, use elm_object_text_get instead */
7249    /**
7250     * @brief Set the wrapping behavior of the label
7251     *
7252     * @param obj The label object
7253     * @param wrap To wrap text or not
7254     *
7255     * By default no wrapping is done. Possible values for @p wrap are:
7256     * @li ELM_WRAP_NONE - No wrapping
7257     * @li ELM_WRAP_CHAR - wrap between characters
7258     * @li ELM_WRAP_WORD - wrap between words
7259     * @li ELM_WRAP_MIXED - Word wrap, and if that fails, char wrap
7260     */
7261    EAPI void         elm_label_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
7262    /**
7263     * @brief Get the wrapping behavior of the label
7264     *
7265     * @param obj The label object
7266     * @return Wrap type
7267     *
7268     * @see elm_label_line_wrap_set()
7269     */
7270    EAPI Elm_Wrap_Type elm_label_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7271    /**
7272     * @brief Set wrap width of the label
7273     *
7274     * @param obj The label object
7275     * @param w The wrap width in pixels at a minimum where words need to wrap
7276     *
7277     * This function sets the maximum width size hint of the label.
7278     *
7279     * @warning This is only relevant if the label is inside a container.
7280     */
7281    EAPI void         elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w) EINA_ARG_NONNULL(1);
7282    /**
7283     * @brief Get wrap width of the label
7284     *
7285     * @param obj The label object
7286     * @return The wrap width in pixels at a minimum where words need to wrap
7287     *
7288     * @see elm_label_wrap_width_set()
7289     */
7290    EAPI Evas_Coord   elm_label_wrap_width_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7291    /**
7292     * @brief Set wrap height of the label
7293     *
7294     * @param obj The label object
7295     * @param h The wrap height in pixels at a minimum where words need to wrap
7296     *
7297     * This function sets the maximum height size hint of the label.
7298     *
7299     * @warning This is only relevant if the label is inside a container.
7300     */
7301    EAPI void         elm_label_wrap_height_set(Evas_Object *obj, Evas_Coord h) EINA_ARG_NONNULL(1);
7302    /**
7303     * @brief get wrap width of the label
7304     *
7305     * @param obj The label object
7306     * @return The wrap height in pixels at a minimum where words need to wrap
7307     */
7308    EAPI Evas_Coord   elm_label_wrap_height_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7309    /**
7310     * @brief Set the font size on the label object.
7311     *
7312     * @param obj The label object
7313     * @param size font size
7314     *
7315     * @warning NEVER use this. It is for hyper-special cases only. use styles
7316     * instead. e.g. "big", "medium", "small" - or better name them by use:
7317     * "title", "footnote", "quote" etc.
7318     */
7319    EAPI void         elm_label_fontsize_set(Evas_Object *obj, int fontsize) EINA_ARG_NONNULL(1);
7320    /**
7321     * @brief Set the text color on the label object
7322     *
7323     * @param obj The label object
7324     * @param r Red property background color of The label object
7325     * @param g Green property background color of The label object
7326     * @param b Blue property background color of The label object
7327     * @param a Alpha property background color of The label object
7328     *
7329     * @warning NEVER use this. It is for hyper-special cases only. use styles
7330     * instead. e.g. "big", "medium", "small" - or better name them by use:
7331     * "title", "footnote", "quote" etc.
7332     */
7333    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);
7334    /**
7335     * @brief Set the text align on the label object
7336     *
7337     * @param obj The label object
7338     * @param align align mode ("left", "center", "right")
7339     *
7340     * @warning NEVER use this. It is for hyper-special cases only. use styles
7341     * instead. e.g. "big", "medium", "small" - or better name them by use:
7342     * "title", "footnote", "quote" etc.
7343     */
7344    EAPI void         elm_label_text_align_set(Evas_Object *obj, const char *alignmode) EINA_ARG_NONNULL(1);
7345    /**
7346     * @brief Set background color of the label
7347     *
7348     * @param obj The label object
7349     * @param r Red property background color of The label object
7350     * @param g Green property background color of The label object
7351     * @param b Blue property background color of The label object
7352     * @param a Alpha property background alpha of The label object
7353     *
7354     * @warning NEVER use this. It is for hyper-special cases only. use styles
7355     * instead. e.g. "big", "medium", "small" - or better name them by use:
7356     * "title", "footnote", "quote" etc.
7357     */
7358    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);
7359    /**
7360     * @brief Set the ellipsis behavior of the label
7361     *
7362     * @param obj The label object
7363     * @param ellipsis To ellipsis text or not
7364     *
7365     * If set to true and the text doesn't fit in the label an ellipsis("...")
7366     * will be shown at the end of the widget.
7367     *
7368     * @warning This doesn't work with slide(elm_label_slide_set()) or if the
7369     * choosen wrap method was ELM_WRAP_WORD.
7370     */
7371    EAPI void         elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis) EINA_ARG_NONNULL(1);
7372    /**
7373     * @brief Set the text slide of the label
7374     *
7375     * @param obj The label object
7376     * @param slide To start slide or stop
7377     *
7378     * If set to true the text of the label will slide throught the length of
7379     * label.
7380     *
7381     * @warning This only work with the themes "slide_short", "slide_long" and
7382     * "slide_bounce".
7383     */
7384    EAPI void         elm_label_slide_set(Evas_Object *obj, Eina_Bool slide) EINA_ARG_NONNULL(1);
7385    /**
7386     * @brief Get the text slide mode of the label
7387     *
7388     * @param obj The label object
7389     * @return slide slide mode value
7390     *
7391     * @see elm_label_slide_set()
7392     */
7393    EAPI Eina_Bool    elm_label_slide_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
7394    /**
7395     * @brief Set the slide duration(speed) of the label
7396     *
7397     * @param obj The label object
7398     * @return The duration in seconds in moving text from slide begin position
7399     * to slide end position
7400     */
7401    EAPI void         elm_label_slide_duration_set(Evas_Object *obj, double duration) EINA_ARG_NONNULL(1);
7402    /**
7403     * @brief Get the slide duration(speed) of the label
7404     *
7405     * @param obj The label object
7406     * @return The duration time in moving text from slide begin position to slide end position
7407     *
7408     * @see elm_label_slide_duration_set()
7409     */
7410    EAPI double       elm_label_slide_duration_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
7411    /**
7412     * @}
7413     */
7414
7415    /**
7416     * @defgroup Toggle Toggle
7417     *
7418     * @image html img/widget/toggle/preview-00.png
7419     * @image latex img/widget/toggle/preview-00.eps
7420     *
7421     * @brief A toggle is a slider which can be used to toggle between
7422     * two values.  It has two states: on and off.
7423     *
7424     * Signals that you can add callbacks for are:
7425     * @li "changed" - Whenever the toggle value has been changed.  Is not called
7426     *                 until the toggle is released by the cursor (assuming it
7427     *                 has been triggered by the cursor in the first place).
7428     *
7429     * @ref tutorial_toggle show how to use a toggle.
7430     * @{
7431     */
7432    /**
7433     * @brief Add a toggle to @p parent.
7434     *
7435     * @param parent The parent object
7436     *
7437     * @return The toggle object
7438     */
7439    EAPI Evas_Object *elm_toggle_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7440    /**
7441     * @brief Sets the label to be displayed with the toggle.
7442     *
7443     * @param obj The toggle object
7444     * @param label The label to be displayed
7445     *
7446     * @deprecated use elm_object_text_set() instead.
7447     */
7448    EINA_DEPRECATED EAPI void         elm_toggle_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
7449    /**
7450     * @brief Gets the label of the toggle
7451     *
7452     * @param obj  toggle object
7453     * @return The label of the toggle
7454     *
7455     * @deprecated use elm_object_text_get() instead.
7456     */
7457    EINA_DEPRECATED EAPI const char  *elm_toggle_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7458    /**
7459     * @brief Set the icon used for the toggle
7460     *
7461     * @param obj The toggle object
7462     * @param icon The icon object for the button
7463     *
7464     * Once the icon object is set, a previously set one will be deleted
7465     * If you want to keep that old content object, use the
7466     * elm_toggle_icon_unset() function.
7467     */
7468    EAPI void         elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
7469    /**
7470     * @brief Get the icon used for the toggle
7471     *
7472     * @param obj The toggle object
7473     * @return The icon object that is being used
7474     *
7475     * Return the icon object which is set for this widget.
7476     *
7477     * @see elm_toggle_icon_set()
7478     */
7479    EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7480    /**
7481     * @brief Unset the icon used for the toggle
7482     *
7483     * @param obj The toggle object
7484     * @return The icon object that was being used
7485     *
7486     * Unparent and return the icon object which was set for this widget.
7487     *
7488     * @see elm_toggle_icon_set()
7489     */
7490    EAPI Evas_Object *elm_toggle_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7491    /**
7492     * @brief Sets the labels to be associated with the on and off states of the toggle.
7493     *
7494     * @param obj The toggle object
7495     * @param onlabel The label displayed when the toggle is in the "on" state
7496     * @param offlabel The label displayed when the toggle is in the "off" state
7497     */
7498    EAPI void         elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel) EINA_ARG_NONNULL(1);
7499    /**
7500     * @brief Gets the labels associated with the on and off states of the toggle.
7501     *
7502     * @param obj The toggle object
7503     * @param onlabel A char** to place the onlabel of @p obj into
7504     * @param offlabel A char** to place the offlabel of @p obj into
7505     */
7506    EAPI void         elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel) EINA_ARG_NONNULL(1);
7507    /**
7508     * @brief Sets the state of the toggle to @p state.
7509     *
7510     * @param obj The toggle object
7511     * @param state The state of @p obj
7512     */
7513    EAPI void         elm_toggle_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
7514    /**
7515     * @brief Gets the state of the toggle to @p state.
7516     *
7517     * @param obj The toggle object
7518     * @return The state of @p obj
7519     */
7520    EAPI Eina_Bool    elm_toggle_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7521    /**
7522     * @brief Sets the state pointer of the toggle to @p statep.
7523     *
7524     * @param obj The toggle object
7525     * @param statep The state pointer of @p obj
7526     */
7527    EAPI void         elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
7528    /**
7529     * @}
7530     */
7531
7532    /**
7533     * @defgroup Frame Frame
7534     *
7535     * @image html img/widget/frame/preview-00.png
7536     * @image latex img/widget/frame/preview-00.eps
7537     *
7538     * @brief Frame is a widget that holds some content and has a title.
7539     *
7540     * The default look is a frame with a title, but Frame supports multple
7541     * styles:
7542     * @li default
7543     * @li pad_small
7544     * @li pad_medium
7545     * @li pad_large
7546     * @li pad_huge
7547     * @li outdent_top
7548     * @li outdent_bottom
7549     *
7550     * Of all this styles only default shows the title. Frame emits no signals.
7551     *
7552     * For a detailed example see the @ref tutorial_frame.
7553     *
7554     * @{
7555     */
7556    /**
7557     * @brief Add a new frame to the parent
7558     *
7559     * @param parent The parent object
7560     * @return The new object or NULL if it cannot be created
7561     */
7562    EAPI Evas_Object *elm_frame_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7563    /**
7564     * @brief Set the frame label
7565     *
7566     * @param obj The frame object
7567     * @param label The label of this frame object
7568     *
7569     * @deprecated use elm_object_text_set() instead.
7570     */
7571    EINA_DEPRECATED EAPI void         elm_frame_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
7572    /**
7573     * @brief Get the frame label
7574     *
7575     * @param obj The frame object
7576     *
7577     * @return The label of this frame objet or NULL if unable to get frame
7578     *
7579     * @deprecated use elm_object_text_get() instead.
7580     */
7581    EINA_DEPRECATED EAPI const char  *elm_frame_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7582    /**
7583     * @brief Set the content of the frame widget
7584     *
7585     * Once the content object is set, a previously set one will be deleted.
7586     * If you want to keep that old content object, use the
7587     * elm_frame_content_unset() function.
7588     *
7589     * @param obj The frame object
7590     * @param content The content will be filled in this frame object
7591     */
7592    EAPI void         elm_frame_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
7593    /**
7594     * @brief Get the content of the frame widget
7595     *
7596     * Return the content object which is set for this widget
7597     *
7598     * @param obj The frame object
7599     * @return The content that is being used
7600     */
7601    EAPI Evas_Object *elm_frame_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7602    /**
7603     * @brief Unset the content of the frame widget
7604     *
7605     * Unparent and return the content object which was set for this widget
7606     *
7607     * @param obj The frame object
7608     * @return The content that was being used
7609     */
7610    EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7611    /**
7612     * @}
7613     */
7614
7615    /**
7616     * @defgroup Table Table
7617     *
7618     * A container widget to arrange other widgets in a table where items can
7619     * also span multiple columns or rows - even overlap (and then be raised or
7620     * lowered accordingly to adjust stacking if they do overlap).
7621     *
7622     * The followin are examples of how to use a table:
7623     * @li @ref tutorial_table_01
7624     * @li @ref tutorial_table_02
7625     *
7626     * @{
7627     */
7628    /**
7629     * @brief Add a new table to the parent
7630     *
7631     * @param parent The parent object
7632     * @return The new object or NULL if it cannot be created
7633     */
7634    EAPI Evas_Object *elm_table_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7635    /**
7636     * @brief Set the homogeneous layout in the table
7637     *
7638     * @param obj The layout object
7639     * @param homogeneous A boolean to set if the layout is homogeneous in the
7640     * table (EINA_TRUE = homogeneous,  EINA_FALSE = no homogeneous)
7641     */
7642    EAPI void         elm_table_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
7643    /**
7644     * @brief Get the current table homogeneous mode.
7645     *
7646     * @param obj The table object
7647     * @return A boolean to indicating if the layout is homogeneous in the table
7648     * (EINA_TRUE = homogeneous,  EINA_FALSE = no homogeneous)
7649     */
7650    EAPI Eina_Bool    elm_table_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7651    /**
7652     * @warning <b>Use elm_table_homogeneous_set() instead</b>
7653     */
7654    EINA_DEPRECATED EAPI void elm_table_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
7655    /**
7656     * @warning <b>Use elm_table_homogeneous_get() instead</b>
7657     */
7658    EINA_DEPRECATED EAPI Eina_Bool elm_table_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7659    /**
7660     * @brief Set padding between cells.
7661     *
7662     * @param obj The layout object.
7663     * @param horizontal set the horizontal padding.
7664     * @param vertical set the vertical padding.
7665     *
7666     * Default value is 0.
7667     */
7668    EAPI void         elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
7669    /**
7670     * @brief Get padding between cells.
7671     *
7672     * @param obj The layout object.
7673     * @param horizontal set the horizontal padding.
7674     * @param vertical set the vertical padding.
7675     */
7676    EAPI void         elm_table_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
7677    /**
7678     * @brief Add a subobject on the table with the coordinates passed
7679     *
7680     * @param obj The table object
7681     * @param subobj The subobject to be added to the table
7682     * @param x Row number
7683     * @param y Column number
7684     * @param w rowspan
7685     * @param h colspan
7686     *
7687     * @note All positioning inside the table is relative to rows and columns, so
7688     * a value of 0 for x and y, means the top left cell of the table, and a
7689     * value of 1 for w and h means @p subobj only takes that 1 cell.
7690     */
7691    EAPI void         elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
7692    /**
7693     * @brief Remove child from table.
7694     *
7695     * @param obj The table object
7696     * @param subobj The subobject
7697     */
7698    EAPI void         elm_table_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
7699    /**
7700     * @brief Faster way to remove all child objects from a table object.
7701     *
7702     * @param obj The table object
7703     * @param clear If true, will delete children, else just remove from table.
7704     */
7705    EAPI void         elm_table_clear(Evas_Object *obj, Eina_Bool clear) EINA_ARG_NONNULL(1);
7706    /**
7707     * @brief Set the packing location of an existing child of the table
7708     *
7709     * @param subobj The subobject to be modified in the table
7710     * @param x Row number
7711     * @param y Column number
7712     * @param w rowspan
7713     * @param h colspan
7714     *
7715     * Modifies the position of an object already in the table.
7716     *
7717     * @note All positioning inside the table is relative to rows and columns, so
7718     * a value of 0 for x and y, means the top left cell of the table, and a
7719     * value of 1 for w and h means @p subobj only takes that 1 cell.
7720     */
7721    EAPI void         elm_table_pack_set(Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
7722    /**
7723     * @brief Get the packing location of an existing child of the table
7724     *
7725     * @param subobj The subobject to be modified in the table
7726     * @param x Row number
7727     * @param y Column number
7728     * @param w rowspan
7729     * @param h colspan
7730     *
7731     * @see elm_table_pack_set()
7732     */
7733    EAPI void         elm_table_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
7734    /**
7735     * @}
7736     */
7737
7738    /**
7739     * @defgroup Gengrid Gengrid (Generic grid)
7740     *
7741     * This widget aims to position objects in a grid layout while
7742     * actually creating and rendering only the visible ones, using the
7743     * same idea as the @ref Genlist "genlist": the user defines a @b
7744     * class for each item, specifying functions that will be called at
7745     * object creation, deletion, etc. When those items are selected by
7746     * the user, a callback function is issued. Users may interact with
7747     * a gengrid via the mouse (by clicking on items to select them and
7748     * clicking on the grid's viewport and swiping to pan the whole
7749     * view) or via the keyboard, navigating through item with the
7750     * arrow keys.
7751     *
7752     * @section Gengrid_Layouts Gengrid layouts
7753     *
7754     * Gengrids may layout its items in one of two possible layouts:
7755     * - horizontal or
7756     * - vertical.
7757     *
7758     * When in "horizontal mode", items will be placed in @b columns,
7759     * from top to bottom and, when the space for a column is filled,
7760     * another one is started on the right, thus expanding the grid
7761     * horizontally, making for horizontal scrolling. When in "vertical
7762     * mode" , though, items will be placed in @b rows, from left to
7763     * right and, when the space for a row is filled, another one is
7764     * started below, thus expanding the grid vertically (and making
7765     * for vertical scrolling).
7766     *
7767     * @section Gengrid_Items Gengrid items
7768     *
7769     * An item in a gengrid can have 0 or more text labels (they can be
7770     * regular text or textblock Evas objects - that's up to the style
7771     * to determine), 0 or more icons (which are simply objects
7772     * swallowed into the gengrid item's theming Edje object) and 0 or
7773     * more <b>boolean states</b>, which have the behavior left to the
7774     * user to define. The Edje part names for each of these properties
7775     * will be looked up, in the theme file for the gengrid, under the
7776     * Edje (string) data items named @c "labels", @c "icons" and @c
7777     * "states", respectively. For each of those properties, if more
7778     * than one part is provided, they must have names listed separated
7779     * by spaces in the data fields. For the default gengrid item
7780     * theme, we have @b one label part (@c "elm.text"), @b two icon
7781     * parts (@c "elm.swalllow.icon" and @c "elm.swallow.end") and @b
7782     * no state parts.
7783     *
7784     * A gengrid item may be at one of several styles. Elementary
7785     * provides one by default - "default", but this can be extended by
7786     * system or application custom themes/overlays/extensions (see
7787     * @ref Theme "themes" for more details).
7788     *
7789     * @section Gengrid_Item_Class Gengrid item classes
7790     *
7791     * In order to have the ability to add and delete items on the fly,
7792     * gengrid implements a class (callback) system where the
7793     * application provides a structure with information about that
7794     * type of item (gengrid may contain multiple different items with
7795     * different classes, states and styles). Gengrid will call the
7796     * functions in this struct (methods) when an item is "realized"
7797     * (i.e., created dynamically, while the user is scrolling the
7798     * grid). All objects will simply be deleted when no longer needed
7799     * with evas_object_del(). The #Elm_GenGrid_Item_Class structure
7800     * contains the following members:
7801     * - @c item_style - This is a constant string and simply defines
7802     * the name of the item style. It @b must be specified and the
7803     * default should be @c "default".
7804     * - @c func.label_get - This function is called when an item
7805     * object is actually created. The @c data parameter will point to
7806     * the same data passed to elm_gengrid_item_append() and related
7807     * item creation functions. The @c obj parameter is the gengrid
7808     * object itself, while the @c part one is the name string of one
7809     * of the existing text parts in the Edje group implementing the
7810     * item's theme. This function @b must return a strdup'()ed string,
7811     * as the caller will free() it when done. See
7812     * #Elm_Gengrid_Item_Label_Get_Cb.
7813     * - @c func.icon_get - This function is called when an item object
7814     * is actually created. The @c data parameter will point to the
7815     * same data passed to elm_gengrid_item_append() and related item
7816     * creation functions. The @c obj parameter is the gengrid object
7817     * itself, while the @c part one is the name string of one of the
7818     * existing (icon) swallow parts in the Edje group implementing the
7819     * item's theme. It must return @c NULL, when no icon is desired,
7820     * or a valid object handle, otherwise. The object will be deleted
7821     * by the gengrid on its deletion or when the item is "unrealized".
7822     * See #Elm_Gengrid_Item_Icon_Get_Cb.
7823     * - @c func.state_get - This function is called when an item
7824     * object is actually created. The @c data parameter will point to
7825     * the same data passed to elm_gengrid_item_append() and related
7826     * item creation functions. The @c obj parameter is the gengrid
7827     * object itself, while the @c part one is the name string of one
7828     * of the state parts in the Edje group implementing the item's
7829     * theme. Return @c EINA_FALSE for false/off or @c EINA_TRUE for
7830     * true/on. Gengrids will emit a signal to its theming Edje object
7831     * with @c "elm,state,XXX,active" and @c "elm" as "emission" and
7832     * "source" arguments, respectively, when the state is true (the
7833     * default is false), where @c XXX is the name of the (state) part.
7834     * See #Elm_Gengrid_Item_State_Get_Cb.
7835     * - @c func.del - This is called when elm_gengrid_item_del() is
7836     * called on an item or elm_gengrid_clear() is called on the
7837     * gengrid. This is intended for use when gengrid items are
7838     * deleted, so any data attached to the item (e.g. its data
7839     * parameter on creation) can be deleted. See #Elm_Gengrid_Item_Del_Cb.
7840     *
7841     * @section Gengrid_Usage_Hints Usage hints
7842     *
7843     * If the user wants to have multiple items selected at the same
7844     * time, elm_gengrid_multi_select_set() will permit it. If the
7845     * gengrid is single-selection only (the default), then
7846     * elm_gengrid_select_item_get() will return the selected item or
7847     * @c NULL, if none is selected. If the gengrid is under
7848     * multi-selection, then elm_gengrid_selected_items_get() will
7849     * return a list (that is only valid as long as no items are
7850     * modified (added, deleted, selected or unselected) of child items
7851     * on a gengrid.
7852     *
7853     * If an item changes (internal (boolean) state, label or icon
7854     * changes), then use elm_gengrid_item_update() to have gengrid
7855     * update the item with the new state. A gengrid will re-"realize"
7856     * the item, thus calling the functions in the
7857     * #Elm_Gengrid_Item_Class set for that item.
7858     *
7859     * To programmatically (un)select an item, use
7860     * elm_gengrid_item_selected_set(). To get its selected state use
7861     * elm_gengrid_item_selected_get(). To make an item disabled
7862     * (unable to be selected and appear differently) use
7863     * elm_gengrid_item_disabled_set() to set this and
7864     * elm_gengrid_item_disabled_get() to get the disabled state.
7865     *
7866     * Grid cells will only have their selection smart callbacks called
7867     * when firstly getting selected. Any further clicks will do
7868     * nothing, unless you enable the "always select mode", with
7869     * elm_gengrid_always_select_mode_set(), thus making every click to
7870     * issue selection callbacks. elm_gengrid_no_select_mode_set() will
7871     * turn off the ability to select items entirely in the widget and
7872     * they will neither appear selected nor call the selection smart
7873     * callbacks.
7874     *
7875     * Remember that you can create new styles and add your own theme
7876     * augmentation per application with elm_theme_extension_add(). If
7877     * you absolutely must have a specific style that overrides any
7878     * theme the user or system sets up you can use
7879     * elm_theme_overlay_add() to add such a file.
7880     *
7881     * @section Gengrid_Smart_Events Gengrid smart events
7882     *
7883     * Smart events that you can add callbacks for are:
7884     * - @c "activated" - The user has double-clicked or pressed
7885     *   (enter|return|spacebar) on an item. The @c event_info parameter
7886     *   is the gengrid item that was activated.
7887     * - @c "clicked,double" - The user has double-clicked an item.
7888     *   The @c event_info parameter is the gengrid item that was double-clicked.
7889     * - @c "longpressed" - This is called when the item is pressed for a certain
7890     *   amount of time. By default it's 1 second.
7891     * - @c "selected" - The user has made an item selected. The
7892     *   @c event_info parameter is the gengrid item that was selected.
7893     * - @c "unselected" - The user has made an item unselected. The
7894     *   @c event_info parameter is the gengrid item that was unselected.
7895     * - @c "realized" - This is called when the item in the gengrid
7896     *   has its implementing Evas object instantiated, de facto. @c
7897     *   event_info is the gengrid item that was created. The object
7898     *   may be deleted at any time, so it is highly advised to the
7899     *   caller @b not to use the object pointer returned from
7900     *   elm_gengrid_item_object_get(), because it may point to freed
7901     *   objects.
7902     * - @c "unrealized" - This is called when the implementing Evas
7903     *   object for this item is deleted. @c event_info is the gengrid
7904     *   item that was deleted.
7905     * - @c "changed" - Called when an item is added, removed, resized
7906     *   or moved and when the gengrid is resized or gets "horizontal"
7907     *   property changes.
7908     * - @c "scroll,anim,start" - This is called when scrolling animation has
7909     *   started.
7910     * - @c "scroll,anim,stop" - This is called when scrolling animation has
7911     *   stopped.
7912     * - @c "drag,start,up" - Called when the item in the gengrid has
7913     *   been dragged (not scrolled) up.
7914     * - @c "drag,start,down" - Called when the item in the gengrid has
7915     *   been dragged (not scrolled) down.
7916     * - @c "drag,start,left" - Called when the item in the gengrid has
7917     *   been dragged (not scrolled) left.
7918     * - @c "drag,start,right" - Called when the item in the gengrid has
7919     *   been dragged (not scrolled) right.
7920     * - @c "drag,stop" - Called when the item in the gengrid has
7921     *   stopped being dragged.
7922     * - @c "drag" - Called when the item in the gengrid is being
7923     *   dragged.
7924     * - @c "scroll" - called when the content has been scrolled
7925     *   (moved).
7926     * - @c "scroll,drag,start" - called when dragging the content has
7927     *   started.
7928     * - @c "scroll,drag,stop" - called when dragging the content has
7929     *   stopped.
7930     * - @c "scroll,edge,top" - This is called when the gengrid is scrolled until
7931     *   the top edge.
7932     * - @c "scroll,edge,bottom" - This is called when the gengrid is scrolled
7933     *   until the bottom edge.
7934     * - @c "scroll,edge,left" - This is called when the gengrid is scrolled
7935     *   until the left edge.
7936     * - @c "scroll,edge,right" - This is called when the gengrid is scrolled
7937     *   until the right edge.
7938     *
7939     * List of gengrid examples:
7940     * @li @ref gengrid_example
7941     */
7942
7943    /**
7944     * @addtogroup Gengrid
7945     * @{
7946     */
7947
7948    typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class; /**< Gengrid item class definition structs */
7949    typedef struct _Elm_Gengrid_Item_Class_Func Elm_Gengrid_Item_Class_Func; /**< Class functions for gengrid item classes. */
7950    typedef struct _Elm_Gengrid_Item Elm_Gengrid_Item; /**< Gengrid item handles */
7951    typedef char        *(*Elm_Gengrid_Item_Label_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< Label fetching class function for gengrid item classes. */
7952    typedef Evas_Object *(*Elm_Gengrid_Item_Icon_Get_Cb)  (void *data, Evas_Object *obj, const char *part); /**< Icon fetching class function for gengrid item classes. */
7953    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. */
7954    typedef void         (*Elm_Gengrid_Item_Del_Cb)      (void *data, Evas_Object *obj); /**< Deletion class function for gengrid item classes. */
7955
7956    typedef char        *(*GridItemLabelGetFunc) (void *data, Evas_Object *obj, const char *part) EINA_DEPRECATED; /** DEPRECATED. Use Elm_Gengrid_Item_Label_Get_Cb. */
7957    typedef Evas_Object *(*GridItemIconGetFunc)  (void *data, Evas_Object *obj, const char *part) EINA_DEPRECATED; /** DEPRECATED. Use Elm_Gengrid_Item_Icon_Get_Cb. */
7958    typedef Eina_Bool    (*GridItemStateGetFunc) (void *data, Evas_Object *obj, const char *part) EINA_DEPRECATED; /** DEPRECATED. Use Elm_Gengrid_Item_State_Get_Cb. */
7959    typedef void         (*GridItemDelFunc)      (void *data, Evas_Object *obj) EINA_DEPRECATED; /** DEPRECATED. Use Elm_Gengrid_Item_Del_Cb. */
7960
7961    /**
7962     * @struct _Elm_Gengrid_Item_Class
7963     *
7964     * Gengrid item class definition. See @ref Gengrid_Item_Class for
7965     * field details.
7966     */
7967    struct _Elm_Gengrid_Item_Class
7968      {
7969         const char             *item_style;
7970         struct _Elm_Gengrid_Item_Class_Func
7971           {
7972              Elm_Gengrid_Item_Label_Get_Cb label_get;
7973              Elm_Gengrid_Item_Icon_Get_Cb  icon_get;
7974              Elm_Gengrid_Item_State_Get_Cb state_get;
7975              Elm_Gengrid_Item_Del_Cb       del;
7976           } func;
7977      }; /**< #Elm_Gengrid_Item_Class member definitions */
7978
7979    /**
7980     * Add a new gengrid widget to the given parent Elementary
7981     * (container) object
7982     *
7983     * @param parent The parent object
7984     * @return a new gengrid widget handle or @c NULL, on errors
7985     *
7986     * This function inserts a new gengrid widget on the canvas.
7987     *
7988     * @see elm_gengrid_item_size_set()
7989     * @see elm_gengrid_group_item_size_set()
7990     * @see elm_gengrid_horizontal_set()
7991     * @see elm_gengrid_item_append()
7992     * @see elm_gengrid_item_del()
7993     * @see elm_gengrid_clear()
7994     *
7995     * @ingroup Gengrid
7996     */
7997    EAPI Evas_Object       *elm_gengrid_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7998
7999    /**
8000     * Set the size for the items of a given gengrid widget
8001     *
8002     * @param obj The gengrid object.
8003     * @param w The items' width.
8004     * @param h The items' height;
8005     *
8006     * A gengrid, after creation, has still no information on the size
8007     * to give to each of its cells. So, you most probably will end up
8008     * with squares one @ref Fingers "finger" wide, the default
8009     * size. Use this function to force a custom size for you items,
8010     * making them as big as you wish.
8011     *
8012     * @see elm_gengrid_item_size_get()
8013     *
8014     * @ingroup Gengrid
8015     */
8016    EAPI void               elm_gengrid_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
8017
8018    /**
8019     * Get the size set for the items of a given gengrid widget
8020     *
8021     * @param obj The gengrid object.
8022     * @param w Pointer to a variable where to store the items' width.
8023     * @param h Pointer to a variable where to store the items' height.
8024     *
8025     * @note Use @c NULL pointers on the size values you're not
8026     * interested in: they'll be ignored by the function.
8027     *
8028     * @see elm_gengrid_item_size_get() for more details
8029     *
8030     * @ingroup Gengrid
8031     */
8032    EAPI void               elm_gengrid_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
8033
8034    /**
8035     * Set the size for the group items of a given gengrid widget
8036     *
8037     * @param obj The gengrid object.
8038     * @param w The group items' width.
8039     * @param h The group items' height;
8040     *
8041     * A gengrid, after creation, has still no information on the size
8042     * to give to each of its cells. So, you most probably will end up
8043     * with squares one @ref Fingers "finger" wide, the default
8044     * size. Use this function to force a custom size for you group items,
8045     * making them as big as you wish.
8046     *
8047     * @see elm_gengrid_group_item_size_get()
8048     *
8049     * @ingroup Gengrid
8050     */
8051    EAPI void               elm_gengrid_group_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
8052
8053    /**
8054     * Get the size set for the group items of a given gengrid widget
8055     *
8056     * @param obj The gengrid object.
8057     * @param w Pointer to a variable where to store the group items' width.
8058     * @param h Pointer to a variable where to store the group items' height.
8059     *
8060     * @note Use @c NULL pointers on the size values you're not
8061     * interested in: they'll be ignored by the function.
8062     *
8063     * @see elm_gengrid_group_item_size_get() for more details
8064     *
8065     * @ingroup Gengrid
8066     */
8067    EAPI void               elm_gengrid_group_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
8068
8069    /**
8070     * Set the items grid's alignment within a given gengrid widget
8071     *
8072     * @param obj The gengrid object.
8073     * @param align_x Alignment in the horizontal axis (0 <= align_x <= 1).
8074     * @param align_y Alignment in the vertical axis (0 <= align_y <= 1).
8075     *
8076     * This sets the alignment of the whole grid of items of a gengrid
8077     * within its given viewport. By default, those values are both
8078     * 0.5, meaning that the gengrid will have its items grid placed
8079     * exactly in the middle of its viewport.
8080     *
8081     * @note If given alignment values are out of the cited ranges,
8082     * they'll be changed to the nearest boundary values on the valid
8083     * ranges.
8084     *
8085     * @see elm_gengrid_align_get()
8086     *
8087     * @ingroup Gengrid
8088     */
8089    EAPI void               elm_gengrid_align_set(Evas_Object *obj, double align_x, double align_y) EINA_ARG_NONNULL(1);
8090
8091    /**
8092     * Get the items grid's alignment values within a given gengrid
8093     * widget
8094     *
8095     * @param obj The gengrid object.
8096     * @param align_x Pointer to a variable where to store the
8097     * horizontal alignment.
8098     * @param align_y Pointer to a variable where to store the vertical
8099     * alignment.
8100     *
8101     * @note Use @c NULL pointers on the alignment values you're not
8102     * interested in: they'll be ignored by the function.
8103     *
8104     * @see elm_gengrid_align_set() for more details
8105     *
8106     * @ingroup Gengrid
8107     */
8108    EAPI void               elm_gengrid_align_get(const Evas_Object *obj, double *align_x, double *align_y) EINA_ARG_NONNULL(1);
8109
8110    /**
8111     * Set whether a given gengrid widget is or not able have items
8112     * @b reordered
8113     *
8114     * @param obj The gengrid object
8115     * @param reorder_mode Use @c EINA_TRUE to turn reoderding on,
8116     * @c EINA_FALSE to turn it off
8117     *
8118     * If a gengrid is set to allow reordering, a click held for more
8119     * than 0.5 over a given item will highlight it specially,
8120     * signalling the gengrid has entered the reordering state. From
8121     * that time on, the user will be able to, while still holding the
8122     * mouse button down, move the item freely in the gengrid's
8123     * viewport, replacing to said item to the locations it goes to.
8124     * The replacements will be animated and, whenever the user
8125     * releases the mouse button, the item being replaced gets a new
8126     * definitive place in the grid.
8127     *
8128     * @see elm_gengrid_reorder_mode_get()
8129     *
8130     * @ingroup Gengrid
8131     */
8132    EAPI void               elm_gengrid_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
8133
8134    /**
8135     * Get whether a given gengrid widget is or not able have items
8136     * @b reordered
8137     *
8138     * @param obj The gengrid object
8139     * @return @c EINA_TRUE, if reoderding is on, @c EINA_FALSE if it's
8140     * off
8141     *
8142     * @see elm_gengrid_reorder_mode_set() for more details
8143     *
8144     * @ingroup Gengrid
8145     */
8146    EAPI Eina_Bool          elm_gengrid_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8147
8148    /**
8149     * Append a new item in a given gengrid widget.
8150     *
8151     * @param obj The gengrid object.
8152     * @param gic The item class for the item.
8153     * @param data The item data.
8154     * @param func Convenience function called when the item is
8155     * selected.
8156     * @param func_data Data to be passed to @p func.
8157     * @return A handle to the item added or @c NULL, on errors.
8158     *
8159     * This adds an item to the beginning of the gengrid.
8160     *
8161     * @see elm_gengrid_item_prepend()
8162     * @see elm_gengrid_item_insert_before()
8163     * @see elm_gengrid_item_insert_after()
8164     * @see elm_gengrid_item_del()
8165     *
8166     * @ingroup Gengrid
8167     */
8168    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);
8169
8170    /**
8171     * Prepend a new item in a given gengrid widget.
8172     *
8173     * @param obj The gengrid object.
8174     * @param gic The item class for the item.
8175     * @param data The item data.
8176     * @param func Convenience function called when the item is
8177     * selected.
8178     * @param func_data Data to be passed to @p func.
8179     * @return A handle to the item added or @c NULL, on errors.
8180     *
8181     * This adds an item to the end of the gengrid.
8182     *
8183     * @see elm_gengrid_item_append()
8184     * @see elm_gengrid_item_insert_before()
8185     * @see elm_gengrid_item_insert_after()
8186     * @see elm_gengrid_item_del()
8187     *
8188     * @ingroup Gengrid
8189     */
8190    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);
8191
8192    /**
8193     * Insert an item before another in a gengrid widget
8194     *
8195     * @param obj The gengrid object.
8196     * @param gic The item class for the item.
8197     * @param data The item data.
8198     * @param relative The item to place this new one before.
8199     * @param func Convenience function called when the item is
8200     * selected.
8201     * @param func_data Data to be passed to @p func.
8202     * @return A handle to the item added or @c NULL, on errors.
8203     *
8204     * This inserts an item before another in the gengrid.
8205     *
8206     * @see elm_gengrid_item_append()
8207     * @see elm_gengrid_item_prepend()
8208     * @see elm_gengrid_item_insert_after()
8209     * @see elm_gengrid_item_del()
8210     *
8211     * @ingroup Gengrid
8212     */
8213    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);
8214
8215    /**
8216     * Insert an item after another in a gengrid widget
8217     *
8218     * @param obj The gengrid object.
8219     * @param gic The item class for the item.
8220     * @param data The item data.
8221     * @param relative The item to place this new one after.
8222     * @param func Convenience function called when the item is
8223     * selected.
8224     * @param func_data Data to be passed to @p func.
8225     * @return A handle to the item added or @c NULL, on errors.
8226     *
8227     * This inserts an item after another in the gengrid.
8228     *
8229     * @see elm_gengrid_item_append()
8230     * @see elm_gengrid_item_prepend()
8231     * @see elm_gengrid_item_insert_after()
8232     * @see elm_gengrid_item_del()
8233     *
8234     * @ingroup Gengrid
8235     */
8236    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);
8237
8238    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);
8239
8240    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);
8241
8242    /**
8243     * Set whether items on a given gengrid widget are to get their
8244     * selection callbacks issued for @b every subsequent selection
8245     * click on them or just for the first click.
8246     *
8247     * @param obj The gengrid object
8248     * @param always_select @c EINA_TRUE to make items "always
8249     * selected", @c EINA_FALSE, otherwise
8250     *
8251     * By default, grid items will only call their selection callback
8252     * function when firstly getting selected, any subsequent further
8253     * clicks will do nothing. With this call, you make those
8254     * subsequent clicks also to issue the selection callbacks.
8255     *
8256     * @note <b>Double clicks</b> will @b always be reported on items.
8257     *
8258     * @see elm_gengrid_always_select_mode_get()
8259     *
8260     * @ingroup Gengrid
8261     */
8262    EAPI void               elm_gengrid_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
8263
8264    /**
8265     * Get whether items on a given gengrid widget have their selection
8266     * callbacks issued for @b every subsequent selection click on them
8267     * or just for the first click.
8268     *
8269     * @param obj The gengrid object.
8270     * @return @c EINA_TRUE if the gengrid items are "always selected",
8271     * @c EINA_FALSE, otherwise
8272     *
8273     * @see elm_gengrid_always_select_mode_set() for more details
8274     *
8275     * @ingroup Gengrid
8276     */
8277    EAPI Eina_Bool          elm_gengrid_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8278
8279    /**
8280     * Set whether items on a given gengrid widget can be selected or not.
8281     *
8282     * @param obj The gengrid object
8283     * @param no_select @c EINA_TRUE to make items selectable,
8284     * @c EINA_FALSE otherwise
8285     *
8286     * This will make items in @p obj selectable or not. In the latter
8287     * case, any user interaction on the gengrid items will neither make
8288     * them appear selected nor them call their selection callback
8289     * functions.
8290     *
8291     * @see elm_gengrid_no_select_mode_get()
8292     *
8293     * @ingroup Gengrid
8294     */
8295    EAPI void               elm_gengrid_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
8296
8297    /**
8298     * Get whether items on a given gengrid widget can be selected or
8299     * not.
8300     *
8301     * @param obj The gengrid object
8302     * @return @c EINA_TRUE, if items are selectable, @c EINA_FALSE
8303     * otherwise
8304     *
8305     * @see elm_gengrid_no_select_mode_set() for more details
8306     *
8307     * @ingroup Gengrid
8308     */
8309    EAPI Eina_Bool          elm_gengrid_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8310
8311    /**
8312     * Enable or disable multi-selection in a given gengrid widget
8313     *
8314     * @param obj The gengrid object.
8315     * @param multi @c EINA_TRUE, to enable multi-selection,
8316     * @c EINA_FALSE to disable it.
8317     *
8318     * Multi-selection is the ability for one to have @b more than one
8319     * item selected, on a given gengrid, simultaneously. When it is
8320     * enabled, a sequence of clicks on different items will make them
8321     * all selected, progressively. A click on an already selected item
8322     * will unselect it. If interecting via the keyboard,
8323     * multi-selection is enabled while holding the "Shift" key.
8324     *
8325     * @note By default, multi-selection is @b disabled on gengrids
8326     *
8327     * @see elm_gengrid_multi_select_get()
8328     *
8329     * @ingroup Gengrid
8330     */
8331    EAPI void               elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
8332
8333    /**
8334     * Get whether multi-selection is enabled or disabled for a given
8335     * gengrid widget
8336     *
8337     * @param obj The gengrid object.
8338     * @return @c EINA_TRUE, if multi-selection is enabled, @c
8339     * EINA_FALSE otherwise
8340     *
8341     * @see elm_gengrid_multi_select_set() for more details
8342     *
8343     * @ingroup Gengrid
8344     */
8345    EAPI Eina_Bool          elm_gengrid_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8346
8347    /**
8348     * Enable or disable bouncing effect for a given gengrid widget
8349     *
8350     * @param obj The gengrid object
8351     * @param h_bounce @c EINA_TRUE, to enable @b horizontal bouncing,
8352     * @c EINA_FALSE to disable it
8353     * @param v_bounce @c EINA_TRUE, to enable @b vertical bouncing,
8354     * @c EINA_FALSE to disable it
8355     *
8356     * The bouncing effect occurs whenever one reaches the gengrid's
8357     * edge's while panning it -- it will scroll past its limits a
8358     * little bit and return to the edge again, in a animated for,
8359     * automatically.
8360     *
8361     * @note By default, gengrids have bouncing enabled on both axis
8362     *
8363     * @see elm_gengrid_bounce_get()
8364     *
8365     * @ingroup Gengrid
8366     */
8367    EAPI void               elm_gengrid_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
8368
8369    /**
8370     * Get whether bouncing effects are enabled or disabled, for a
8371     * given gengrid widget, on each axis
8372     *
8373     * @param obj The gengrid object
8374     * @param h_bounce Pointer to a variable where to store the
8375     * horizontal bouncing flag.
8376     * @param v_bounce Pointer to a variable where to store the
8377     * vertical bouncing flag.
8378     *
8379     * @see elm_gengrid_bounce_set() for more details
8380     *
8381     * @ingroup Gengrid
8382     */
8383    EAPI void               elm_gengrid_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
8384
8385    /**
8386     * Set a given gengrid widget's scrolling page size, relative to
8387     * its viewport size.
8388     *
8389     * @param obj The gengrid object
8390     * @param h_pagerel The horizontal page (relative) size
8391     * @param v_pagerel The vertical page (relative) size
8392     *
8393     * The gengrid's scroller is capable of binding scrolling by the
8394     * user to "pages". It means that, while scrolling and, specially
8395     * after releasing the mouse button, the grid will @b snap to the
8396     * nearest displaying page's area. When page sizes are set, the
8397     * grid's continuous content area is split into (equal) page sized
8398     * pieces.
8399     *
8400     * This function sets the size of a page <b>relatively to the
8401     * viewport dimensions</b> of the gengrid, for each axis. A value
8402     * @c 1.0 means "the exact viewport's size", in that axis, while @c
8403     * 0.0 turns paging off in that axis. Likewise, @c 0.5 means "half
8404     * a viewport". Sane usable values are, than, between @c 0.0 and @c
8405     * 1.0. Values beyond those will make it behave behave
8406     * inconsistently. If you only want one axis to snap to pages, use
8407     * the value @c 0.0 for the other one.
8408     *
8409     * There is a function setting page size values in @b absolute
8410     * values, too -- elm_gengrid_page_size_set(). Naturally, its use
8411     * is mutually exclusive to this one.
8412     *
8413     * @see elm_gengrid_page_relative_get()
8414     *
8415     * @ingroup Gengrid
8416     */
8417    EAPI void               elm_gengrid_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
8418
8419    /**
8420     * Get a given gengrid widget's scrolling page size, relative to
8421     * its viewport size.
8422     *
8423     * @param obj The gengrid object
8424     * @param h_pagerel Pointer to a variable where to store the
8425     * horizontal page (relative) size
8426     * @param v_pagerel Pointer to a variable where to store the
8427     * vertical page (relative) size
8428     *
8429     * @see elm_gengrid_page_relative_set() for more details
8430     *
8431     * @ingroup Gengrid
8432     */
8433    EAPI void               elm_gengrid_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel) EINA_ARG_NONNULL(1);
8434
8435    /**
8436     * Set a given gengrid widget's scrolling page size
8437     *
8438     * @param obj The gengrid object
8439     * @param h_pagerel The horizontal page size, in pixels
8440     * @param v_pagerel The vertical page size, in pixels
8441     *
8442     * The gengrid's scroller is capable of binding scrolling by the
8443     * user to "pages". It means that, while scrolling and, specially
8444     * after releasing the mouse button, the grid will @b snap to the
8445     * nearest displaying page's area. When page sizes are set, the
8446     * grid's continuous content area is split into (equal) page sized
8447     * pieces.
8448     *
8449     * This function sets the size of a page of the gengrid, in pixels,
8450     * for each axis. Sane usable values are, between @c 0 and the
8451     * dimensions of @p obj, for each axis. Values beyond those will
8452     * make it behave behave inconsistently. If you only want one axis
8453     * to snap to pages, use the value @c 0 for the other one.
8454     *
8455     * There is a function setting page size values in @b relative
8456     * values, too -- elm_gengrid_page_relative_set(). Naturally, its
8457     * use is mutually exclusive to this one.
8458     *
8459     * @ingroup Gengrid
8460     */
8461    EAPI void               elm_gengrid_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
8462
8463    /**
8464     * @brief Get gengrid current page number.
8465     *
8466     * @param obj The gengrid object
8467     * @param h_pagenumber The horizontal page number
8468     * @param v_pagenumber The vertical page number
8469     *
8470     * The page number starts from 0. 0 is the first page.
8471     * Current page means the page which meet the top-left of the viewport.
8472     * If there are two or more pages in the viewport, it returns the number of page
8473     * which meet the top-left of the viewport.
8474     *
8475     * @see elm_gengrid_last_page_get()
8476     * @see elm_gengrid_page_show()
8477     * @see elm_gengrid_page_brint_in()
8478     */
8479    EAPI void         elm_gengrid_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
8480
8481    /**
8482     * @brief Get scroll last page number.
8483     *
8484     * @param obj The gengrid object
8485     * @param h_pagenumber The horizontal page number
8486     * @param v_pagenumber The vertical page number
8487     *
8488     * The page number starts from 0. 0 is the first page.
8489     * This returns the last page number among the pages.
8490     *
8491     * @see elm_gengrid_current_page_get()
8492     * @see elm_gengrid_page_show()
8493     * @see elm_gengrid_page_brint_in()
8494     */
8495    EAPI void         elm_gengrid_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
8496
8497    /**
8498     * Show a specific virtual region within the gengrid content object by page number.
8499     *
8500     * @param obj The gengrid object
8501     * @param h_pagenumber The horizontal page number
8502     * @param v_pagenumber The vertical page number
8503     *
8504     * 0, 0 of the indicated page is located at the top-left of the viewport.
8505     * This will jump to the page directly without animation.
8506     *
8507     * Example of usage:
8508     *
8509     * @code
8510     * sc = elm_gengrid_add(win);
8511     * elm_gengrid_content_set(sc, content);
8512     * elm_gengrid_page_relative_set(sc, 1, 0);
8513     * elm_gengrid_current_page_get(sc, &h_page, &v_page);
8514     * elm_gengrid_page_show(sc, h_page + 1, v_page);
8515     * @endcode
8516     *
8517     * @see elm_gengrid_page_bring_in()
8518     */
8519    EAPI void         elm_gengrid_page_show(const Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
8520
8521    /**
8522     * Show a specific virtual region within the gengrid content object by page number.
8523     *
8524     * @param obj The gengrid object
8525     * @param h_pagenumber The horizontal page number
8526     * @param v_pagenumber The vertical page number
8527     *
8528     * 0, 0 of the indicated page is located at the top-left of the viewport.
8529     * This will slide to the page with animation.
8530     *
8531     * Example of usage:
8532     *
8533     * @code
8534     * sc = elm_gengrid_add(win);
8535     * elm_gengrid_content_set(sc, content);
8536     * elm_gengrid_page_relative_set(sc, 1, 0);
8537     * elm_gengrid_last_page_get(sc, &h_page, &v_page);
8538     * elm_gengrid_page_bring_in(sc, h_page, v_page);
8539     * @endcode
8540     *
8541     * @see elm_gengrid_page_show()
8542     */
8543     EAPI void         elm_gengrid_page_bring_in(const Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
8544
8545    /**
8546     * Set for what direction a given gengrid widget will expand while
8547     * placing its items.
8548     *
8549     * @param obj The gengrid object.
8550     * @param setting @c EINA_TRUE to make the gengrid expand
8551     * horizontally, @c EINA_FALSE to expand vertically.
8552     *
8553     * When in "horizontal mode" (@c EINA_TRUE), items will be placed
8554     * in @b columns, from top to bottom and, when the space for a
8555     * column is filled, another one is started on the right, thus
8556     * expanding the grid horizontally. When in "vertical mode"
8557     * (@c EINA_FALSE), though, items will be placed in @b rows, from left
8558     * to right and, when the space for a row is filled, another one is
8559     * started below, thus expanding the grid vertically.
8560     *
8561     * @see elm_gengrid_horizontal_get()
8562     *
8563     * @ingroup Gengrid
8564     */
8565    EAPI void               elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
8566
8567    /**
8568     * Get for what direction a given gengrid widget will expand while
8569     * placing its items.
8570     *
8571     * @param obj The gengrid object.
8572     * @return @c EINA_TRUE, if @p obj is set to expand horizontally,
8573     * @c EINA_FALSE if it's set to expand vertically.
8574     *
8575     * @see elm_gengrid_horizontal_set() for more detais
8576     *
8577     * @ingroup Gengrid
8578     */
8579    EAPI Eina_Bool          elm_gengrid_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8580
8581    /**
8582     * Get the first item in a given gengrid widget
8583     *
8584     * @param obj The gengrid object
8585     * @return The first item's handle or @c NULL, if there are no
8586     * items in @p obj (and on errors)
8587     *
8588     * This returns the first item in the @p obj's internal list of
8589     * items.
8590     *
8591     * @see elm_gengrid_last_item_get()
8592     *
8593     * @ingroup Gengrid
8594     */
8595    EAPI Elm_Gengrid_Item  *elm_gengrid_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8596
8597    /**
8598     * Get the last item in a given gengrid widget
8599     *
8600     * @param obj The gengrid object
8601     * @return The last item's handle or @c NULL, if there are no
8602     * items in @p obj (and on errors)
8603     *
8604     * This returns the last item in the @p obj's internal list of
8605     * items.
8606     *
8607     * @see elm_gengrid_first_item_get()
8608     *
8609     * @ingroup Gengrid
8610     */
8611    EAPI Elm_Gengrid_Item  *elm_gengrid_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8612
8613    /**
8614     * Get the @b next item in a gengrid widget's internal list of items,
8615     * given a handle to one of those items.
8616     *
8617     * @param item The gengrid item to fetch next from
8618     * @return The item after @p item, or @c NULL if there's none (and
8619     * on errors)
8620     *
8621     * This returns the item placed after the @p item, on the container
8622     * gengrid.
8623     *
8624     * @see elm_gengrid_item_prev_get()
8625     *
8626     * @ingroup Gengrid
8627     */
8628    EAPI Elm_Gengrid_Item  *elm_gengrid_item_next_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8629
8630    /**
8631     * Get the @b previous item in a gengrid widget's internal list of items,
8632     * given a handle to one of those items.
8633     *
8634     * @param item The gengrid item to fetch previous from
8635     * @return The item before @p item, or @c NULL if there's none (and
8636     * on errors)
8637     *
8638     * This returns the item placed before the @p item, on the container
8639     * gengrid.
8640     *
8641     * @see elm_gengrid_item_next_get()
8642     *
8643     * @ingroup Gengrid
8644     */
8645    EAPI Elm_Gengrid_Item  *elm_gengrid_item_prev_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8646
8647    /**
8648     * Get the gengrid object's handle which contains a given gengrid
8649     * item
8650     *
8651     * @param item The item to fetch the container from
8652     * @return The gengrid (parent) object
8653     *
8654     * This returns the gengrid object itself that an item belongs to.
8655     *
8656     * @ingroup Gengrid
8657     */
8658    EAPI Evas_Object       *elm_gengrid_item_gengrid_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8659
8660    /**
8661     * Remove a gengrid item from the its parent, deleting it.
8662     *
8663     * @param item The item to be removed.
8664     * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
8665     *
8666     * @see elm_gengrid_clear(), to remove all items in a gengrid at
8667     * once.
8668     *
8669     * @ingroup Gengrid
8670     */
8671    EAPI void               elm_gengrid_item_del(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8672
8673    /**
8674     * Update the contents of a given gengrid item
8675     *
8676     * @param item The gengrid item
8677     *
8678     * This updates an item by calling all the item class functions
8679     * again to get the icons, labels and states. Use this when the
8680     * original item data has changed and you want thta changes to be
8681     * reflected.
8682     *
8683     * @ingroup Gengrid
8684     */
8685    EAPI void               elm_gengrid_item_update(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8686    EAPI const Elm_Gengrid_Item_Class *elm_gengrid_item_item_class_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8687    EAPI void               elm_gengrid_item_item_class_set(Elm_Gengrid_Item *item, const Elm_Gengrid_Item_Class *gic) EINA_ARG_NONNULL(1, 2);
8688
8689    /**
8690     * Return the data associated to a given gengrid item
8691     *
8692     * @param item The gengrid item.
8693     * @return the data associated to this item.
8694     *
8695     * This returns the @c data value passed on the
8696     * elm_gengrid_item_append() and related item addition calls.
8697     *
8698     * @see elm_gengrid_item_append()
8699     * @see elm_gengrid_item_data_set()
8700     *
8701     * @ingroup Gengrid
8702     */
8703    EAPI void              *elm_gengrid_item_data_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8704
8705    /**
8706     * Set the data associated to a given gengrid item
8707     *
8708     * @param item The gengrid item
8709     * @param data The new data pointer to set on it
8710     *
8711     * This @b overrides the @c data value passed on the
8712     * elm_gengrid_item_append() and related item addition calls. This
8713     * function @b won't call elm_gengrid_item_update() automatically,
8714     * so you'd issue it afterwards if you want to hove the item
8715     * updated to reflect the that new data.
8716     *
8717     * @see elm_gengrid_item_data_get()
8718     *
8719     * @ingroup Gengrid
8720     */
8721    EAPI void               elm_gengrid_item_data_set(Elm_Gengrid_Item *item, const void *data) EINA_ARG_NONNULL(1);
8722
8723    /**
8724     * Get a given gengrid item's position, relative to the whole
8725     * gengrid's grid area.
8726     *
8727     * @param item The Gengrid item.
8728     * @param x Pointer to variable where to store the item's <b>row
8729     * number</b>.
8730     * @param y Pointer to variable where to store the item's <b>column
8731     * number</b>.
8732     *
8733     * This returns the "logical" position of the item whithin the
8734     * gengrid. For example, @c (0, 1) would stand for first row,
8735     * second column.
8736     *
8737     * @ingroup Gengrid
8738     */
8739    EAPI void               elm_gengrid_item_pos_get(const Elm_Gengrid_Item *item, unsigned int *x, unsigned int *y) EINA_ARG_NONNULL(1);
8740
8741    /**
8742     * Set whether a given gengrid item is selected or not
8743     *
8744     * @param item The gengrid item
8745     * @param selected Use @c EINA_TRUE, to make it selected, @c
8746     * EINA_FALSE to make it unselected
8747     *
8748     * This sets the selected state of an item. If multi selection is
8749     * not enabled on the containing gengrid and @p selected is @c
8750     * EINA_TRUE, any other previously selected items will get
8751     * unselected in favor of this new one.
8752     *
8753     * @see elm_gengrid_item_selected_get()
8754     *
8755     * @ingroup Gengrid
8756     */
8757    EAPI void               elm_gengrid_item_selected_set(Elm_Gengrid_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
8758
8759    /**
8760     * Get whether a given gengrid item is selected or not
8761     *
8762     * @param item The gengrid item
8763     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
8764     *
8765     * @see elm_gengrid_item_selected_set() for more details
8766     *
8767     * @ingroup Gengrid
8768     */
8769    EAPI Eina_Bool          elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8770
8771    /**
8772     * Get the real Evas object created to implement the view of a
8773     * given gengrid item
8774     *
8775     * @param item The gengrid item.
8776     * @return the Evas object implementing this item's view.
8777     *
8778     * This returns the actual Evas object used to implement the
8779     * specified gengrid item's view. This may be @c NULL, as it may
8780     * not have been created or may have been deleted, at any time, by
8781     * the gengrid. <b>Do not modify this object</b> (move, resize,
8782     * show, hide, etc.), as the gengrid is controlling it. This
8783     * function is for querying, emitting custom signals or hooking
8784     * lower level callbacks for events on that object. Do not delete
8785     * this object under any circumstances.
8786     *
8787     * @see elm_gengrid_item_data_get()
8788     *
8789     * @ingroup Gengrid
8790     */
8791    EAPI const Evas_Object *elm_gengrid_item_object_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8792
8793    /**
8794     * Show the portion of a gengrid's internal grid containing a given
8795     * item, @b immediately.
8796     *
8797     * @param item The item to display
8798     *
8799     * This causes gengrid to @b redraw its viewport's contents to the
8800     * region contining the given @p item item, if it is not fully
8801     * visible.
8802     *
8803     * @see elm_gengrid_item_bring_in()
8804     *
8805     * @ingroup Gengrid
8806     */
8807    EAPI void               elm_gengrid_item_show(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8808
8809    /**
8810     * Animatedly bring in, to the visible are of a gengrid, a given
8811     * item on it.
8812     *
8813     * @param item The gengrid item to display
8814     *
8815     * This causes gengrig to jump to the given @p item item and show
8816     * it (by scrolling), if it is not fully visible. This will use
8817     * animation to do so and take a period of time to complete.
8818     *
8819     * @see elm_gengrid_item_show()
8820     *
8821     * @ingroup Gengrid
8822     */
8823    EAPI void               elm_gengrid_item_bring_in(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8824
8825    /**
8826     * Set whether a given gengrid item is disabled or not.
8827     *
8828     * @param item The gengrid item
8829     * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
8830     * to enable it back.
8831     *
8832     * A disabled item cannot be selected or unselected. It will also
8833     * change its appearance, to signal the user it's disabled.
8834     *
8835     * @see elm_gengrid_item_disabled_get()
8836     *
8837     * @ingroup Gengrid
8838     */
8839    EAPI void               elm_gengrid_item_disabled_set(Elm_Gengrid_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
8840
8841    /**
8842     * Get whether a given gengrid item is disabled or not.
8843     *
8844     * @param item The gengrid item
8845     * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
8846     * (and on errors).
8847     *
8848     * @see elm_gengrid_item_disabled_set() for more details
8849     *
8850     * @ingroup Gengrid
8851     */
8852    EAPI Eina_Bool          elm_gengrid_item_disabled_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8853
8854    /**
8855     * Set the text to be shown in a given gengrid item's tooltips.
8856     *
8857     * @param item The gengrid item
8858     * @param text The text to set in the content
8859     *
8860     * This call will setup the text to be used as tooltip to that item
8861     * (analogous to elm_object_tooltip_text_set(), but being item
8862     * tooltips with higher precedence than object tooltips). It can
8863     * have only one tooltip at a time, so any previous tooltip data
8864     * will get removed.
8865     *
8866     * @ingroup Gengrid
8867     */
8868    EAPI void               elm_gengrid_item_tooltip_text_set(Elm_Gengrid_Item *item, const char *text) EINA_ARG_NONNULL(1);
8869
8870    /**
8871     * Set the content to be shown in a given gengrid item's tooltips
8872     *
8873     * @param item The gengrid item.
8874     * @param func The function returning the tooltip contents.
8875     * @param data What to provide to @a func as callback data/context.
8876     * @param del_cb Called when data is not needed anymore, either when
8877     *        another callback replaces @p func, the tooltip is unset with
8878     *        elm_gengrid_item_tooltip_unset() or the owner @p item
8879     *        dies. This callback receives as its first parameter the
8880     *        given @p data, being @c event_info the item handle.
8881     *
8882     * This call will setup the tooltip's contents to @p item
8883     * (analogous to elm_object_tooltip_content_cb_set(), but being
8884     * item tooltips with higher precedence than object tooltips). It
8885     * can have only one tooltip at a time, so any previous tooltip
8886     * content will get removed. @p func (with @p data) will be called
8887     * every time Elementary needs to show the tooltip and it should
8888     * return a valid Evas object, which will be fully managed by the
8889     * tooltip system, getting deleted when the tooltip is gone.
8890     *
8891     * @ingroup Gengrid
8892     */
8893    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);
8894
8895    /**
8896     * Unset a tooltip from a given gengrid item
8897     *
8898     * @param item gengrid item to remove a previously set tooltip from.
8899     *
8900     * This call removes any tooltip set on @p item. The callback
8901     * provided as @c del_cb to
8902     * elm_gengrid_item_tooltip_content_cb_set() will be called to
8903     * notify it is not used anymore (and have resources cleaned, if
8904     * need be).
8905     *
8906     * @see elm_gengrid_item_tooltip_content_cb_set()
8907     *
8908     * @ingroup Gengrid
8909     */
8910    EAPI void               elm_gengrid_item_tooltip_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8911
8912    /**
8913     * Set a different @b style for a given gengrid item's tooltip.
8914     *
8915     * @param item gengrid item with tooltip set
8916     * @param style the <b>theme style</b> to use on tooltips (e.g. @c
8917     * "default", @c "transparent", etc)
8918     *
8919     * Tooltips can have <b>alternate styles</b> to be displayed on,
8920     * which are defined by the theme set on Elementary. This function
8921     * works analogously as elm_object_tooltip_style_set(), but here
8922     * applied only to gengrid item objects. The default style for
8923     * tooltips is @c "default".
8924     *
8925     * @note before you set a style you should define a tooltip with
8926     *       elm_gengrid_item_tooltip_content_cb_set() or
8927     *       elm_gengrid_item_tooltip_text_set()
8928     *
8929     * @see elm_gengrid_item_tooltip_style_get()
8930     *
8931     * @ingroup Gengrid
8932     */
8933    EAPI void               elm_gengrid_item_tooltip_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
8934
8935    /**
8936     * Get the style set a given gengrid item's tooltip.
8937     *
8938     * @param item gengrid item with tooltip already set on.
8939     * @return style the theme style in use, which defaults to
8940     *         "default". If the object does not have a tooltip set,
8941     *         then @c NULL is returned.
8942     *
8943     * @see elm_gengrid_item_tooltip_style_set() for more details
8944     *
8945     * @ingroup Gengrid
8946     */
8947    EAPI const char        *elm_gengrid_item_tooltip_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8948    /**
8949     * @brief Disable size restrictions on an object's tooltip
8950     * @param item The tooltip's anchor object
8951     * @param disable If EINA_TRUE, size restrictions are disabled
8952     * @return EINA_FALSE on failure, EINA_TRUE on success
8953     *
8954     * This function allows a tooltip to expand beyond its parant window's canvas.
8955     * It will instead be limited only by the size of the display.
8956     */
8957    EAPI Eina_Bool          elm_gengrid_item_tooltip_size_restrict_disable(Elm_Gengrid_Item *item, Eina_Bool disable);
8958    /**
8959     * @brief Retrieve size restriction state of an object's tooltip
8960     * @param item The tooltip's anchor object
8961     * @return If EINA_TRUE, size restrictions are disabled
8962     *
8963     * This function returns whether a tooltip is allowed to expand beyond
8964     * its parant window's canvas.
8965     * It will instead be limited only by the size of the display.
8966     */
8967    EAPI Eina_Bool          elm_gengrid_item_tooltip_size_restrict_disabled_get(const Elm_Gengrid_Item *item);
8968    /**
8969     * Set the type of mouse pointer/cursor decoration to be shown,
8970     * when the mouse pointer is over the given gengrid widget item
8971     *
8972     * @param item gengrid item to customize cursor on
8973     * @param cursor the cursor type's name
8974     *
8975     * This function works analogously as elm_object_cursor_set(), but
8976     * here the cursor's changing area is restricted to the item's
8977     * area, and not the whole widget's. Note that that item cursors
8978     * have precedence over widget cursors, so that a mouse over @p
8979     * item will always show cursor @p type.
8980     *
8981     * If this function is called twice for an object, a previously set
8982     * cursor will be unset on the second call.
8983     *
8984     * @see elm_object_cursor_set()
8985     * @see elm_gengrid_item_cursor_get()
8986     * @see elm_gengrid_item_cursor_unset()
8987     *
8988     * @ingroup Gengrid
8989     */
8990    EAPI void               elm_gengrid_item_cursor_set(Elm_Gengrid_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
8991
8992    /**
8993     * Get the type of mouse pointer/cursor decoration set to be shown,
8994     * when the mouse pointer is over the given gengrid widget item
8995     *
8996     * @param item gengrid item with custom cursor set
8997     * @return the cursor type's name or @c NULL, if no custom cursors
8998     * were set to @p item (and on errors)
8999     *
9000     * @see elm_object_cursor_get()
9001     * @see elm_gengrid_item_cursor_set() for more details
9002     * @see elm_gengrid_item_cursor_unset()
9003     *
9004     * @ingroup Gengrid
9005     */
9006    EAPI const char        *elm_gengrid_item_cursor_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9007
9008    /**
9009     * Unset any custom mouse pointer/cursor decoration set to be
9010     * shown, when the mouse pointer is over the given gengrid widget
9011     * item, thus making it show the @b default cursor again.
9012     *
9013     * @param item a gengrid item
9014     *
9015     * Use this call to undo any custom settings on this item's cursor
9016     * decoration, bringing it back to defaults (no custom style set).
9017     *
9018     * @see elm_object_cursor_unset()
9019     * @see elm_gengrid_item_cursor_set() for more details
9020     *
9021     * @ingroup Gengrid
9022     */
9023    EAPI void               elm_gengrid_item_cursor_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9024
9025    /**
9026     * Set a different @b style for a given custom cursor set for a
9027     * gengrid item.
9028     *
9029     * @param item gengrid item with custom cursor set
9030     * @param style the <b>theme style</b> to use (e.g. @c "default",
9031     * @c "transparent", etc)
9032     *
9033     * This function only makes sense when one is using custom mouse
9034     * cursor decorations <b>defined in a theme file</b> , which can
9035     * have, given a cursor name/type, <b>alternate styles</b> on
9036     * it. It works analogously as elm_object_cursor_style_set(), but
9037     * here applied only to gengrid item objects.
9038     *
9039     * @warning Before you set a cursor style you should have defined a
9040     *       custom cursor previously on the item, with
9041     *       elm_gengrid_item_cursor_set()
9042     *
9043     * @see elm_gengrid_item_cursor_engine_only_set()
9044     * @see elm_gengrid_item_cursor_style_get()
9045     *
9046     * @ingroup Gengrid
9047     */
9048    EAPI void               elm_gengrid_item_cursor_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
9049
9050    /**
9051     * Get the current @b style set for a given gengrid item's custom
9052     * cursor
9053     *
9054     * @param item gengrid item with custom cursor set.
9055     * @return style the cursor style in use. If the object does not
9056     *         have a cursor set, then @c NULL is returned.
9057     *
9058     * @see elm_gengrid_item_cursor_style_set() for more details
9059     *
9060     * @ingroup Gengrid
9061     */
9062    EAPI const char        *elm_gengrid_item_cursor_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9063
9064    /**
9065     * Set if the (custom) cursor for a given gengrid item should be
9066     * searched in its theme, also, or should only rely on the
9067     * rendering engine.
9068     *
9069     * @param item item with custom (custom) cursor already set on
9070     * @param engine_only Use @c EINA_TRUE to have cursors looked for
9071     * only on those provided by the rendering engine, @c EINA_FALSE to
9072     * have them searched on the widget's theme, as well.
9073     *
9074     * @note This call is of use only if you've set a custom cursor
9075     * for gengrid items, with elm_gengrid_item_cursor_set().
9076     *
9077     * @note By default, cursors will only be looked for between those
9078     * provided by the rendering engine.
9079     *
9080     * @ingroup Gengrid
9081     */
9082    EAPI void               elm_gengrid_item_cursor_engine_only_set(Elm_Gengrid_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
9083
9084    /**
9085     * Get if the (custom) cursor for a given gengrid item is being
9086     * searched in its theme, also, or is only relying on the rendering
9087     * engine.
9088     *
9089     * @param item a gengrid item
9090     * @return @c EINA_TRUE, if cursors are being looked for only on
9091     * those provided by the rendering engine, @c EINA_FALSE if they
9092     * are being searched on the widget's theme, as well.
9093     *
9094     * @see elm_gengrid_item_cursor_engine_only_set(), for more details
9095     *
9096     * @ingroup Gengrid
9097     */
9098    EAPI Eina_Bool          elm_gengrid_item_cursor_engine_only_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9099
9100    /**
9101     * Remove all items from a given gengrid widget
9102     *
9103     * @param obj The gengrid object.
9104     *
9105     * This removes (and deletes) all items in @p obj, leaving it
9106     * empty.
9107     *
9108     * @see elm_gengrid_item_del(), to remove just one item.
9109     *
9110     * @ingroup Gengrid
9111     */
9112    EAPI void               elm_gengrid_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
9113
9114    /**
9115     * Get the selected item in a given gengrid widget
9116     *
9117     * @param obj The gengrid object.
9118     * @return The selected item's handleor @c NULL, if none is
9119     * selected at the moment (and on errors)
9120     *
9121     * This returns the selected item in @p obj. If multi selection is
9122     * enabled on @p obj (@see elm_gengrid_multi_select_set()), only
9123     * the first item in the list is selected, which might not be very
9124     * useful. For that case, see elm_gengrid_selected_items_get().
9125     *
9126     * @ingroup Gengrid
9127     */
9128    EAPI Elm_Gengrid_Item  *elm_gengrid_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9129
9130    /**
9131     * Get <b>a list</b> of selected items in a given gengrid
9132     *
9133     * @param obj The gengrid object.
9134     * @return The list of selected items or @c NULL, if none is
9135     * selected at the moment (and on errors)
9136     *
9137     * This returns a list of the selected items, in the order that
9138     * they appear in the grid. This list is only valid as long as no
9139     * more items are selected or unselected (or unselected implictly
9140     * by deletion). The list contains #Elm_Gengrid_Item pointers as
9141     * data, naturally.
9142     *
9143     * @see elm_gengrid_selected_item_get()
9144     *
9145     * @ingroup Gengrid
9146     */
9147    EAPI const Eina_List   *elm_gengrid_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9148
9149    /**
9150     * @}
9151     */
9152
9153    /**
9154     * @defgroup Clock Clock
9155     *
9156     * @image html img/widget/clock/preview-00.png
9157     * @image latex img/widget/clock/preview-00.eps
9158     *
9159     * This is a @b digital clock widget. In its default theme, it has a
9160     * vintage "flipping numbers clock" appearance, which will animate
9161     * sheets of individual algarisms individually as time goes by.
9162     *
9163     * A newly created clock will fetch system's time (already
9164     * considering local time adjustments) to start with, and will tick
9165     * accondingly. It may or may not show seconds.
9166     *
9167     * Clocks have an @b edition mode. When in it, the sheets will
9168     * display extra arrow indications on the top and bottom and the
9169     * user may click on them to raise or lower the time values. After
9170     * it's told to exit edition mode, it will keep ticking with that
9171     * new time set (it keeps the difference from local time).
9172     *
9173     * Also, when under edition mode, user clicks on the cited arrows
9174     * which are @b held for some time will make the clock to flip the
9175     * sheet, thus editing the time, continuosly and automatically for
9176     * the user. The interval between sheet flips will keep growing in
9177     * time, so that it helps the user to reach a time which is distant
9178     * from the one set.
9179     *
9180     * The time display is, by default, in military mode (24h), but an
9181     * am/pm indicator may be optionally shown, too, when it will
9182     * switch to 12h.
9183     *
9184     * Smart callbacks one can register to:
9185     * - "changed" - the clock's user changed the time
9186     *
9187     * Here is an example on its usage:
9188     * @li @ref clock_example
9189     */
9190
9191    /**
9192     * @addtogroup Clock
9193     * @{
9194     */
9195
9196    /**
9197     * Identifiers for which clock digits should be editable, when a
9198     * clock widget is in edition mode. Values may be ORed together to
9199     * make a mask, naturally.
9200     *
9201     * @see elm_clock_edit_set()
9202     * @see elm_clock_digit_edit_set()
9203     */
9204    typedef enum _Elm_Clock_Digedit
9205      {
9206         ELM_CLOCK_NONE         = 0, /**< Default value. Means that all digits are editable, when in edition mode. */
9207         ELM_CLOCK_HOUR_DECIMAL = 1 << 0, /**< Decimal algarism of hours value should be editable */
9208         ELM_CLOCK_HOUR_UNIT    = 1 << 1, /**< Unit algarism of hours value should be editable */
9209         ELM_CLOCK_MIN_DECIMAL  = 1 << 2, /**< Decimal algarism of minutes value should be editable */
9210         ELM_CLOCK_MIN_UNIT     = 1 << 3, /**< Unit algarism of minutes value should be editable */
9211         ELM_CLOCK_SEC_DECIMAL  = 1 << 4, /**< Decimal algarism of seconds value should be editable */
9212         ELM_CLOCK_SEC_UNIT     = 1 << 5, /**< Unit algarism of seconds value should be editable */
9213         ELM_CLOCK_ALL          = (1 << 6) - 1 /**< All digits should be editable */
9214      } Elm_Clock_Digedit;
9215
9216    /**
9217     * Add a new clock widget to the given parent Elementary
9218     * (container) object
9219     *
9220     * @param parent The parent object
9221     * @return a new clock widget handle or @c NULL, on errors
9222     *
9223     * This function inserts a new clock widget on the canvas.
9224     *
9225     * @ingroup Clock
9226     */
9227    EAPI Evas_Object      *elm_clock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9228
9229    /**
9230     * Set a clock widget's time, programmatically
9231     *
9232     * @param obj The clock widget object
9233     * @param hrs The hours to set
9234     * @param min The minutes to set
9235     * @param sec The secondes to set
9236     *
9237     * This function updates the time that is showed by the clock
9238     * widget.
9239     *
9240     *  Values @b must be set within the following ranges:
9241     * - 0 - 23, for hours
9242     * - 0 - 59, for minutes
9243     * - 0 - 59, for seconds,
9244     *
9245     * even if the clock is not in "military" mode.
9246     *
9247     * @warning The behavior for values set out of those ranges is @b
9248     * indefined.
9249     *
9250     * @ingroup Clock
9251     */
9252    EAPI void              elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec) EINA_ARG_NONNULL(1);
9253
9254    /**
9255     * Get a clock widget's time values
9256     *
9257     * @param obj The clock object
9258     * @param[out] hrs Pointer to the variable to get the hours value
9259     * @param[out] min Pointer to the variable to get the minutes value
9260     * @param[out] sec Pointer to the variable to get the seconds value
9261     *
9262     * This function gets the time set for @p obj, returning
9263     * it on the variables passed as the arguments to function
9264     *
9265     * @note Use @c NULL pointers on the time values you're not
9266     * interested in: they'll be ignored by the function.
9267     *
9268     * @ingroup Clock
9269     */
9270    EAPI void              elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec) EINA_ARG_NONNULL(1);
9271
9272    /**
9273     * Set whether a given clock widget is under <b>edition mode</b> or
9274     * under (default) displaying-only mode.
9275     *
9276     * @param obj The clock object
9277     * @param edit @c EINA_TRUE to put it in edition, @c EINA_FALSE to
9278     * put it back to "displaying only" mode
9279     *
9280     * This function makes a clock's time to be editable or not <b>by
9281     * user interaction</b>. When in edition mode, clocks @b stop
9282     * ticking, until one brings them back to canonical mode. The
9283     * elm_clock_digit_edit_set() function will influence which digits
9284     * of the clock will be editable. By default, all of them will be
9285     * (#ELM_CLOCK_NONE).
9286     *
9287     * @note am/pm sheets, if being shown, will @b always be editable
9288     * under edition mode.
9289     *
9290     * @see elm_clock_edit_get()
9291     *
9292     * @ingroup Clock
9293     */
9294    EAPI void              elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
9295
9296    /**
9297     * Retrieve whether a given clock widget is under <b>edition
9298     * mode</b> or under (default) displaying-only mode.
9299     *
9300     * @param obj The clock object
9301     * @param edit @c EINA_TRUE, if it's in edition mode, @c EINA_FALSE
9302     * otherwise
9303     *
9304     * This function retrieves whether the clock's time can be edited
9305     * or not by user interaction.
9306     *
9307     * @see elm_clock_edit_set() for more details
9308     *
9309     * @ingroup Clock
9310     */
9311    EAPI Eina_Bool         elm_clock_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9312
9313    /**
9314     * Set what digits of the given clock widget should be editable
9315     * when in edition mode.
9316     *
9317     * @param obj The clock object
9318     * @param digedit Bit mask indicating the digits to be editable
9319     * (values in #Elm_Clock_Digedit).
9320     *
9321     * If the @p digedit param is #ELM_CLOCK_NONE, editing will be
9322     * disabled on @p obj (same effect as elm_clock_edit_set(), with @c
9323     * EINA_FALSE).
9324     *
9325     * @see elm_clock_digit_edit_get()
9326     *
9327     * @ingroup Clock
9328     */
9329    EAPI void              elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit) EINA_ARG_NONNULL(1);
9330
9331    /**
9332     * Retrieve what digits of the given clock widget should be
9333     * editable when in edition mode.
9334     *
9335     * @param obj The clock object
9336     * @return Bit mask indicating the digits to be editable
9337     * (values in #Elm_Clock_Digedit).
9338     *
9339     * @see elm_clock_digit_edit_set() for more details
9340     *
9341     * @ingroup Clock
9342     */
9343    EAPI Elm_Clock_Digedit elm_clock_digit_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9344
9345    /**
9346     * Set if the given clock widget must show hours in military or
9347     * am/pm mode
9348     *
9349     * @param obj The clock object
9350     * @param am_pm @c EINA_TRUE to put it in am/pm mode, @c EINA_FALSE
9351     * to military mode
9352     *
9353     * This function sets if the clock must show hours in military or
9354     * am/pm mode. In some countries like Brazil the military mode
9355     * (00-24h-format) is used, in opposition to the USA, where the
9356     * am/pm mode is more commonly used.
9357     *
9358     * @see elm_clock_show_am_pm_get()
9359     *
9360     * @ingroup Clock
9361     */
9362    EAPI void              elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm) EINA_ARG_NONNULL(1);
9363
9364    /**
9365     * Get if the given clock widget shows hours in military or am/pm
9366     * mode
9367     *
9368     * @param obj The clock object
9369     * @return @c EINA_TRUE, if in am/pm mode, @c EINA_FALSE if in
9370     * military
9371     *
9372     * This function gets if the clock shows hours in military or am/pm
9373     * mode.
9374     *
9375     * @see elm_clock_show_am_pm_set() for more details
9376     *
9377     * @ingroup Clock
9378     */
9379    EAPI Eina_Bool         elm_clock_show_am_pm_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9380
9381    /**
9382     * Set if the given clock widget must show time with seconds or not
9383     *
9384     * @param obj The clock object
9385     * @param seconds @c EINA_TRUE to show seconds, @c EINA_FALSE otherwise
9386     *
9387     * This function sets if the given clock must show or not elapsed
9388     * seconds. By default, they are @b not shown.
9389     *
9390     * @see elm_clock_show_seconds_get()
9391     *
9392     * @ingroup Clock
9393     */
9394    EAPI void              elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds) EINA_ARG_NONNULL(1);
9395
9396    /**
9397     * Get whether the given clock widget is showing time with seconds
9398     * or not
9399     *
9400     * @param obj The clock object
9401     * @return @c EINA_TRUE if it's showing seconds, @c EINA_FALSE otherwise
9402     *
9403     * This function gets whether @p obj is showing or not the elapsed
9404     * seconds.
9405     *
9406     * @see elm_clock_show_seconds_set()
9407     *
9408     * @ingroup Clock
9409     */
9410    EAPI Eina_Bool         elm_clock_show_seconds_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9411
9412    /**
9413     * Set the interval on time updates for an user mouse button hold
9414     * on clock widgets' time edition.
9415     *
9416     * @param obj The clock object
9417     * @param interval The (first) interval value in seconds
9418     *
9419     * This interval value is @b decreased while the user holds the
9420     * mouse pointer either incrementing or decrementing a given the
9421     * clock digit's value.
9422     *
9423     * This helps the user to get to a given time distant from the
9424     * current one easier/faster, as it will start to flip quicker and
9425     * quicker on mouse button holds.
9426     *
9427     * The calculation for the next flip interval value, starting from
9428     * the one set with this call, is the previous interval divided by
9429     * 1.05, so it decreases a little bit.
9430     *
9431     * The default starting interval value for automatic flips is
9432     * @b 0.85 seconds.
9433     *
9434     * @see elm_clock_interval_get()
9435     *
9436     * @ingroup Clock
9437     */
9438    EAPI void              elm_clock_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
9439
9440    /**
9441     * Get the interval on time updates for an user mouse button hold
9442     * on clock widgets' time edition.
9443     *
9444     * @param obj The clock object
9445     * @return The (first) interval value, in seconds, set on it
9446     *
9447     * @see elm_clock_interval_set() for more details
9448     *
9449     * @ingroup Clock
9450     */
9451    EAPI double            elm_clock_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9452
9453    /**
9454     * @}
9455     */
9456
9457    /**
9458     * @defgroup Layout Layout
9459     *
9460     * @image html img/widget/layout/preview-00.png
9461     * @image latex img/widget/layout/preview-00.eps width=\textwidth
9462     *
9463     * @image html img/layout-predefined.png
9464     * @image latex img/layout-predefined.eps width=\textwidth
9465     *
9466     * This is a container widget that takes a standard Edje design file and
9467     * wraps it very thinly in a widget.
9468     *
9469     * An Edje design (theme) file has a very wide range of possibilities to
9470     * describe the behavior of elements added to the Layout. Check out the Edje
9471     * documentation and the EDC reference to get more information about what can
9472     * be done with Edje.
9473     *
9474     * Just like @ref List, @ref Box, and other container widgets, any
9475     * object added to the Layout will become its child, meaning that it will be
9476     * deleted if the Layout is deleted, move if the Layout is moved, and so on.
9477     *
9478     * The Layout widget can contain as many Contents, Boxes or Tables as
9479     * described in its theme file. For instance, objects can be added to
9480     * different Tables by specifying the respective Table part names. The same
9481     * is valid for Content and Box.
9482     *
9483     * The objects added as child of the Layout will behave as described in the
9484     * part description where they were added. There are 3 possible types of
9485     * parts where a child can be added:
9486     *
9487     * @section secContent Content (SWALLOW part)
9488     *
9489     * Only one object can be added to the @c SWALLOW part (but you still can
9490     * have many @c SWALLOW parts and one object on each of them). Use the @c
9491     * elm_layout_content_* set of functions to set, retrieve and unset objects
9492     * as content of the @c SWALLOW. After being set to this part, the object
9493     * size, position, visibility, clipping and other description properties
9494     * will be totally controled by the description of the given part (inside
9495     * the Edje theme file).
9496     *
9497     * One can use @c evas_object_size_hint_* functions on the child to have some
9498     * kind of control over its behavior, but the resulting behavior will still
9499     * depend heavily on the @c SWALLOW part description.
9500     *
9501     * The Edje theme also can change the part description, based on signals or
9502     * scripts running inside the theme. This change can also be animated. All of
9503     * this will affect the child object set as content accordingly. The object
9504     * size will be changed if the part size is changed, it will animate move if
9505     * the part is moving, and so on.
9506     *
9507     * The following picture demonstrates a Layout widget with a child object
9508     * added to its @c SWALLOW:
9509     *
9510     * @image html layout_swallow.png
9511     * @image latex layout_swallow.eps width=\textwidth
9512     *
9513     * @section secBox Box (BOX part)
9514     *
9515     * An Edje @c BOX part is very similar to the Elementary @ref Box widget. It
9516     * allows one to add objects to the box and have them distributed along its
9517     * area, accordingly to the specified @a layout property (now by @a layout we
9518     * mean the chosen layouting design of the Box, not the Layout widget
9519     * itself).
9520     *
9521     * A similar effect for having a box with its position, size and other things
9522     * controled by the Layout theme would be to create an Elementary @ref Box
9523     * widget and add it as a Content in the @c SWALLOW part.
9524     *
9525     * The main difference of using the Layout Box is that its behavior, the box
9526     * properties like layouting format, padding, align, etc. will be all
9527     * controled by the theme. This means, for example, that a signal could be
9528     * sent to the Layout theme (with elm_object_signal_emit()) and the theme
9529     * handled the signal by changing the box padding, or align, or both. Using
9530     * the Elementary @ref Box widget is not necessarily harder or easier, it
9531     * just depends on the circunstances and requirements.
9532     *
9533     * The Layout Box can be used through the @c elm_layout_box_* set of
9534     * functions.
9535     *
9536     * The following picture demonstrates a Layout widget with many child objects
9537     * added to its @c BOX part:
9538     *
9539     * @image html layout_box.png
9540     * @image latex layout_box.eps width=\textwidth
9541     *
9542     * @section secTable Table (TABLE part)
9543     *
9544     * Just like the @ref secBox, the Layout Table is very similar to the
9545     * Elementary @ref Table widget. It allows one to add objects to the Table
9546     * specifying the row and column where the object should be added, and any
9547     * column or row span if necessary.
9548     *
9549     * Again, we could have this design by adding a @ref Table widget to the @c
9550     * SWALLOW part using elm_layout_content_set(). The same difference happens
9551     * here when choosing to use the Layout Table (a @c TABLE part) instead of
9552     * the @ref Table plus @c SWALLOW part. It's just a matter of convenience.
9553     *
9554     * The Layout Table can be used through the @c elm_layout_table_* set of
9555     * functions.
9556     *
9557     * The following picture demonstrates a Layout widget with many child objects
9558     * added to its @c TABLE part:
9559     *
9560     * @image html layout_table.png
9561     * @image latex layout_table.eps width=\textwidth
9562     *
9563     * @section secPredef Predefined Layouts
9564     *
9565     * Another interesting thing about the Layout widget is that it offers some
9566     * predefined themes that come with the default Elementary theme. These
9567     * themes can be set by the call elm_layout_theme_set(), and provide some
9568     * basic functionality depending on the theme used.
9569     *
9570     * Most of them already send some signals, some already provide a toolbar or
9571     * back and next buttons.
9572     *
9573     * These are available predefined theme layouts. All of them have class = @c
9574     * layout, group = @c application, and style = one of the following options:
9575     *
9576     * @li @c toolbar-content - application with toolbar and main content area
9577     * @li @c toolbar-content-back - application with toolbar and main content
9578     * area with a back button and title area
9579     * @li @c toolbar-content-back-next - application with toolbar and main
9580     * content area with a back and next buttons and title area
9581     * @li @c content-back - application with a main content area with a back
9582     * button and title area
9583     * @li @c content-back-next - application with a main content area with a
9584     * back and next buttons and title area
9585     * @li @c toolbar-vbox - application with toolbar and main content area as a
9586     * vertical box
9587     * @li @c toolbar-table - application with toolbar and main content area as a
9588     * table
9589     *
9590     * @section secExamples Examples
9591     *
9592     * Some examples of the Layout widget can be found here:
9593     * @li @ref layout_example_01
9594     * @li @ref layout_example_02
9595     * @li @ref layout_example_03
9596     * @li @ref layout_example_edc
9597     *
9598     */
9599
9600    /**
9601     * Add a new layout to the parent
9602     *
9603     * @param parent The parent object
9604     * @return The new object or NULL if it cannot be created
9605     *
9606     * @see elm_layout_file_set()
9607     * @see elm_layout_theme_set()
9608     *
9609     * @ingroup Layout
9610     */
9611    EAPI Evas_Object       *elm_layout_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9612    /**
9613     * Set the file that will be used as layout
9614     *
9615     * @param obj The layout object
9616     * @param file The path to file (edj) that will be used as layout
9617     * @param group The group that the layout belongs in edje file
9618     *
9619     * @return (1 = success, 0 = error)
9620     *
9621     * @ingroup Layout
9622     */
9623    EAPI Eina_Bool          elm_layout_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
9624    /**
9625     * Set the edje group from the elementary theme that will be used as layout
9626     *
9627     * @param obj The layout object
9628     * @param clas the clas of the group
9629     * @param group the group
9630     * @param style the style to used
9631     *
9632     * @return (1 = success, 0 = error)
9633     *
9634     * @ingroup Layout
9635     */
9636    EAPI Eina_Bool          elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style) EINA_ARG_NONNULL(1);
9637    /**
9638     * Set the layout content.
9639     *
9640     * @param obj The layout object
9641     * @param swallow The swallow part name in the edje file
9642     * @param content The child that will be added in this layout object
9643     *
9644     * Once the content object is set, a previously set one will be deleted.
9645     * If you want to keep that old content object, use the
9646     * elm_layout_content_unset() function.
9647     *
9648     * @note In an Edje theme, the part used as a content container is called @c
9649     * SWALLOW. This is why the parameter name is called @p swallow, but it is
9650     * expected to be a part name just like the second parameter of
9651     * elm_layout_box_append().
9652     *
9653     * @see elm_layout_box_append()
9654     * @see elm_layout_content_get()
9655     * @see elm_layout_content_unset()
9656     * @see @ref secBox
9657     *
9658     * @ingroup Layout
9659     */
9660    EAPI void               elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
9661    /**
9662     * Get the child object in the given content part.
9663     *
9664     * @param obj The layout object
9665     * @param swallow The SWALLOW part to get its content
9666     *
9667     * @return The swallowed object or NULL if none or an error occurred
9668     *
9669     * @see elm_layout_content_set()
9670     *
9671     * @ingroup Layout
9672     */
9673    EAPI Evas_Object       *elm_layout_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
9674    /**
9675     * Unset the layout content.
9676     *
9677     * @param obj The layout object
9678     * @param swallow The swallow part name in the edje file
9679     * @return The content that was being used
9680     *
9681     * Unparent and return the content object which was set for this part.
9682     *
9683     * @see elm_layout_content_set()
9684     *
9685     * @ingroup Layout
9686     */
9687     EAPI Evas_Object       *elm_layout_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
9688    /**
9689     * Set the text of the given part
9690     *
9691     * @param obj The layout object
9692     * @param part The TEXT part where to set the text
9693     * @param text The text to set
9694     *
9695     * @ingroup Layout
9696     * @deprecated use elm_object_text_* instead.
9697     */
9698    EINA_DEPRECATED EAPI void               elm_layout_text_set(Evas_Object *obj, const char *part, const char *text) EINA_ARG_NONNULL(1);
9699    /**
9700     * Get the text set in the given part
9701     *
9702     * @param obj The layout object
9703     * @param part The TEXT part to retrieve the text off
9704     *
9705     * @return The text set in @p part
9706     *
9707     * @ingroup Layout
9708     * @deprecated use elm_object_text_* instead.
9709     */
9710    EINA_DEPRECATED EAPI const char        *elm_layout_text_get(const Evas_Object *obj, const char *part) EINA_ARG_NONNULL(1);
9711    /**
9712     * Append child to layout box part.
9713     *
9714     * @param obj the layout object
9715     * @param part the box part to which the object will be appended.
9716     * @param child the child object to append to box.
9717     *
9718     * Once the object is appended, it will become child of the layout. Its
9719     * lifetime will be bound to the layout, whenever the layout dies the child
9720     * will be deleted automatically. One should use elm_layout_box_remove() to
9721     * make this layout forget about the object.
9722     *
9723     * @see elm_layout_box_prepend()
9724     * @see elm_layout_box_insert_before()
9725     * @see elm_layout_box_insert_at()
9726     * @see elm_layout_box_remove()
9727     *
9728     * @ingroup Layout
9729     */
9730    EAPI void               elm_layout_box_append(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
9731    /**
9732     * Prepend child to layout box part.
9733     *
9734     * @param obj the layout object
9735     * @param part the box part to prepend.
9736     * @param child the child object to prepend to box.
9737     *
9738     * Once the object is prepended, it will become child of the layout. Its
9739     * lifetime will be bound to the layout, whenever the layout dies the child
9740     * will be deleted automatically. One should use elm_layout_box_remove() to
9741     * make this layout forget about the object.
9742     *
9743     * @see elm_layout_box_append()
9744     * @see elm_layout_box_insert_before()
9745     * @see elm_layout_box_insert_at()
9746     * @see elm_layout_box_remove()
9747     *
9748     * @ingroup Layout
9749     */
9750    EAPI void               elm_layout_box_prepend(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
9751    /**
9752     * Insert child to layout box part before a reference object.
9753     *
9754     * @param obj the layout object
9755     * @param part the box part to insert.
9756     * @param child the child object to insert into box.
9757     * @param reference another reference object to insert before in box.
9758     *
9759     * Once the object is inserted, it will become child of the layout. Its
9760     * lifetime will be bound to the layout, whenever the layout dies the child
9761     * will be deleted automatically. One should use elm_layout_box_remove() to
9762     * make this layout forget about the object.
9763     *
9764     * @see elm_layout_box_append()
9765     * @see elm_layout_box_prepend()
9766     * @see elm_layout_box_insert_before()
9767     * @see elm_layout_box_remove()
9768     *
9769     * @ingroup Layout
9770     */
9771    EAPI void               elm_layout_box_insert_before(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference) EINA_ARG_NONNULL(1);
9772    /**
9773     * Insert child to layout box part at a given position.
9774     *
9775     * @param obj the layout object
9776     * @param part the box part to insert.
9777     * @param child the child object to insert into box.
9778     * @param pos the numeric position >=0 to insert the child.
9779     *
9780     * Once the object is inserted, it will become child of the layout. Its
9781     * lifetime will be bound to the layout, whenever the layout dies the child
9782     * will be deleted automatically. One should use elm_layout_box_remove() to
9783     * make this layout forget about the object.
9784     *
9785     * @see elm_layout_box_append()
9786     * @see elm_layout_box_prepend()
9787     * @see elm_layout_box_insert_before()
9788     * @see elm_layout_box_remove()
9789     *
9790     * @ingroup Layout
9791     */
9792    EAPI void               elm_layout_box_insert_at(Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos) EINA_ARG_NONNULL(1);
9793    /**
9794     * Remove a child of the given part box.
9795     *
9796     * @param obj The layout object
9797     * @param part The box part name to remove child.
9798     * @param child The object to remove from box.
9799     * @return The object that was being used, or NULL if not found.
9800     *
9801     * The object will be removed from the box part and its lifetime will
9802     * not be handled by the layout anymore. This is equivalent to
9803     * elm_layout_content_unset() for box.
9804     *
9805     * @see elm_layout_box_append()
9806     * @see elm_layout_box_remove_all()
9807     *
9808     * @ingroup Layout
9809     */
9810    EAPI Evas_Object       *elm_layout_box_remove(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1, 2, 3);
9811    /**
9812     * Remove all child of the given part box.
9813     *
9814     * @param obj The layout object
9815     * @param part The box part name to remove child.
9816     * @param clear If EINA_TRUE, then all objects will be deleted as
9817     *        well, otherwise they will just be removed and will be
9818     *        dangling on the canvas.
9819     *
9820     * The objects will be removed from the box part and their lifetime will
9821     * not be handled by the layout anymore. This is equivalent to
9822     * elm_layout_box_remove() for all box children.
9823     *
9824     * @see elm_layout_box_append()
9825     * @see elm_layout_box_remove()
9826     *
9827     * @ingroup Layout
9828     */
9829    EAPI void               elm_layout_box_remove_all(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
9830    /**
9831     * Insert child to layout table part.
9832     *
9833     * @param obj the layout object
9834     * @param part the box part to pack child.
9835     * @param child_obj the child object to pack into table.
9836     * @param col the column to which the child should be added. (>= 0)
9837     * @param row the row to which the child should be added. (>= 0)
9838     * @param colspan how many columns should be used to store this object. (>=
9839     *        1)
9840     * @param rowspan how many rows should be used to store this object. (>= 1)
9841     *
9842     * Once the object is inserted, it will become child of the table. Its
9843     * lifetime will be bound to the layout, and whenever the layout dies the
9844     * child will be deleted automatically. One should use
9845     * elm_layout_table_remove() to make this layout forget about the object.
9846     *
9847     * If @p colspan or @p rowspan are bigger than 1, that object will occupy
9848     * more space than a single cell. For instance, the following code:
9849     * @code
9850     * elm_layout_table_pack(layout, "table_part", child, 0, 1, 3, 1);
9851     * @endcode
9852     *
9853     * Would result in an object being added like the following picture:
9854     *
9855     * @image html layout_colspan.png
9856     * @image latex layout_colspan.eps width=\textwidth
9857     *
9858     * @see elm_layout_table_unpack()
9859     * @see elm_layout_table_clear()
9860     *
9861     * @ingroup Layout
9862     */
9863    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);
9864    /**
9865     * Unpack (remove) a child of the given part table.
9866     *
9867     * @param obj The layout object
9868     * @param part The table part name to remove child.
9869     * @param child_obj The object to remove from table.
9870     * @return The object that was being used, or NULL if not found.
9871     *
9872     * The object will be unpacked from the table part and its lifetime
9873     * will not be handled by the layout anymore. This is equivalent to
9874     * elm_layout_content_unset() for table.
9875     *
9876     * @see elm_layout_table_pack()
9877     * @see elm_layout_table_clear()
9878     *
9879     * @ingroup Layout
9880     */
9881    EAPI Evas_Object       *elm_layout_table_unpack(Evas_Object *obj, const char *part, Evas_Object *child_obj) EINA_ARG_NONNULL(1, 2, 3);
9882    /**
9883     * Remove all child of the given part table.
9884     *
9885     * @param obj The layout object
9886     * @param part The table part name to remove child.
9887     * @param clear If EINA_TRUE, then all objects will be deleted as
9888     *        well, otherwise they will just be removed and will be
9889     *        dangling on the canvas.
9890     *
9891     * The objects will be removed from the table part and their lifetime will
9892     * not be handled by the layout anymore. This is equivalent to
9893     * elm_layout_table_unpack() for all table children.
9894     *
9895     * @see elm_layout_table_pack()
9896     * @see elm_layout_table_unpack()
9897     *
9898     * @ingroup Layout
9899     */
9900    EAPI void               elm_layout_table_clear(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
9901    /**
9902     * Get the edje layout
9903     *
9904     * @param obj The layout object
9905     *
9906     * @return A Evas_Object with the edje layout settings loaded
9907     * with function elm_layout_file_set
9908     *
9909     * This returns the edje object. It is not expected to be used to then
9910     * swallow objects via edje_object_part_swallow() for example. Use
9911     * elm_layout_content_set() instead so child object handling and sizing is
9912     * done properly.
9913     *
9914     * @note This function should only be used if you really need to call some
9915     * low level Edje function on this edje object. All the common stuff (setting
9916     * text, emitting signals, hooking callbacks to signals, etc.) can be done
9917     * with proper elementary functions.
9918     *
9919     * @see elm_object_signal_callback_add()
9920     * @see elm_object_signal_emit()
9921     * @see elm_object_text_part_set()
9922     * @see elm_layout_content_set()
9923     * @see elm_layout_box_append()
9924     * @see elm_layout_table_pack()
9925     * @see elm_layout_data_get()
9926     *
9927     * @ingroup Layout
9928     */
9929    EAPI Evas_Object       *elm_layout_edje_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9930    /**
9931     * Get the edje data from the given layout
9932     *
9933     * @param obj The layout object
9934     * @param key The data key
9935     *
9936     * @return The edje data string
9937     *
9938     * This function fetches data specified inside the edje theme of this layout.
9939     * This function return NULL if data is not found.
9940     *
9941     * In EDC this comes from a data block within the group block that @p
9942     * obj was loaded from. E.g.
9943     *
9944     * @code
9945     * collections {
9946     *   group {
9947     *     name: "a_group";
9948     *     data {
9949     *       item: "key1" "value1";
9950     *       item: "key2" "value2";
9951     *     }
9952     *   }
9953     * }
9954     * @endcode
9955     *
9956     * @ingroup Layout
9957     */
9958    EAPI const char        *elm_layout_data_get(const Evas_Object *obj, const char *key) EINA_ARG_NONNULL(1, 2);
9959    /**
9960     * Eval sizing
9961     *
9962     * @param obj The layout object
9963     *
9964     * Manually forces a sizing re-evaluation. This is useful when the minimum
9965     * size required by the edje theme of this layout has changed. The change on
9966     * the minimum size required by the edje theme is not immediately reported to
9967     * the elementary layout, so one needs to call this function in order to tell
9968     * the widget (layout) that it needs to reevaluate its own size.
9969     *
9970     * The minimum size of the theme is calculated based on minimum size of
9971     * parts, the size of elements inside containers like box and table, etc. All
9972     * of this can change due to state changes, and that's when this function
9973     * should be called.
9974     *
9975     * Also note that a standard signal of "size,eval" "elm" emitted from the
9976     * edje object will cause this to happen too.
9977     *
9978     * @ingroup Layout
9979     */
9980    EAPI void               elm_layout_sizing_eval(Evas_Object *obj) EINA_ARG_NONNULL(1);
9981
9982    /**
9983     * Sets a specific cursor for an edje part.
9984     *
9985     * @param obj The layout object.
9986     * @param part_name a part from loaded edje group.
9987     * @param cursor cursor name to use, see Elementary_Cursor.h
9988     *
9989     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
9990     *         part not exists or it has "mouse_events: 0".
9991     *
9992     * @ingroup Layout
9993     */
9994    EAPI Eina_Bool          elm_layout_part_cursor_set(Evas_Object *obj, const char *part_name, const char *cursor) EINA_ARG_NONNULL(1, 2);
9995
9996    /**
9997     * Get the cursor to be shown when mouse is over an edje part
9998     *
9999     * @param obj The layout object.
10000     * @param part_name a part from loaded edje group.
10001     * @return the cursor name.
10002     *
10003     * @ingroup Layout
10004     */
10005    EAPI const char        *elm_layout_part_cursor_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10006
10007    /**
10008     * Unsets a cursor previously set with elm_layout_part_cursor_set().
10009     *
10010     * @param obj The layout object.
10011     * @param part_name a part from loaded edje group, that had a cursor set
10012     *        with elm_layout_part_cursor_set().
10013     *
10014     * @ingroup Layout
10015     */
10016    EAPI void               elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10017
10018    /**
10019     * Sets a specific cursor style for an edje part.
10020     *
10021     * @param obj The layout object.
10022     * @param part_name a part from loaded edje group.
10023     * @param style the theme style to use (default, transparent, ...)
10024     *
10025     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10026     *         part not exists or it did not had a cursor set.
10027     *
10028     * @ingroup Layout
10029     */
10030    EAPI Eina_Bool          elm_layout_part_cursor_style_set(Evas_Object *obj, const char *part_name, const char *style) EINA_ARG_NONNULL(1, 2);
10031
10032    /**
10033     * Gets a specific cursor style for an edje part.
10034     *
10035     * @param obj The layout object.
10036     * @param part_name a part from loaded edje group.
10037     *
10038     * @return the theme style in use, defaults to "default". If the
10039     *         object does not have a cursor set, then NULL is returned.
10040     *
10041     * @ingroup Layout
10042     */
10043    EAPI const char        *elm_layout_part_cursor_style_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10044
10045    /**
10046     * Sets if the cursor set should be searched on the theme or should use
10047     * the provided by the engine, only.
10048     *
10049     * @note before you set if should look on theme you should define a
10050     * cursor with elm_layout_part_cursor_set(). By default it will only
10051     * look for cursors provided by the engine.
10052     *
10053     * @param obj The layout object.
10054     * @param part_name a part from loaded edje group.
10055     * @param engine_only if cursors should be just provided by the engine
10056     *        or should also search on widget's theme as well
10057     *
10058     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10059     *         part not exists or it did not had a cursor set.
10060     *
10061     * @ingroup Layout
10062     */
10063    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);
10064
10065    /**
10066     * Gets a specific cursor engine_only for an edje part.
10067     *
10068     * @param obj The layout object.
10069     * @param part_name a part from loaded edje group.
10070     *
10071     * @return whenever the cursor is just provided by engine or also from theme.
10072     *
10073     * @ingroup Layout
10074     */
10075    EAPI Eina_Bool          elm_layout_part_cursor_engine_only_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10076
10077 /**
10078  * @def elm_layout_icon_set
10079  * Convienience macro to set the icon object in a layout that follows the
10080  * Elementary naming convention for its parts.
10081  *
10082  * @ingroup Layout
10083  */
10084 #define elm_layout_icon_set(_ly, _obj) \
10085   do { \
10086     const char *sig; \
10087     elm_layout_content_set((_ly), "elm.swallow.icon", (_obj)); \
10088     if ((_obj)) sig = "elm,state,icon,visible"; \
10089     else sig = "elm,state,icon,hidden"; \
10090     elm_object_signal_emit((_ly), sig, "elm"); \
10091   } while (0)
10092
10093 /**
10094  * @def elm_layout_icon_get
10095  * Convienience macro to get the icon object from a layout that follows the
10096  * Elementary naming convention for its parts.
10097  *
10098  * @ingroup Layout
10099  */
10100 #define elm_layout_icon_get(_ly) \
10101   elm_layout_content_get((_ly), "elm.swallow.icon")
10102
10103 /**
10104  * @def elm_layout_end_set
10105  * Convienience macro to set the end object in a layout that follows the
10106  * Elementary naming convention for its parts.
10107  *
10108  * @ingroup Layout
10109  */
10110 #define elm_layout_end_set(_ly, _obj) \
10111   do { \
10112     const char *sig; \
10113     elm_layout_content_set((_ly), "elm.swallow.end", (_obj)); \
10114     if ((_obj)) sig = "elm,state,end,visible"; \
10115     else sig = "elm,state,end,hidden"; \
10116     elm_object_signal_emit((_ly), sig, "elm"); \
10117   } while (0)
10118
10119 /**
10120  * @def elm_layout_end_get
10121  * Convienience macro to get the end object in a layout that follows the
10122  * Elementary naming convention for its parts.
10123  *
10124  * @ingroup Layout
10125  */
10126 #define elm_layout_end_get(_ly) \
10127   elm_layout_content_get((_ly), "elm.swallow.end")
10128
10129 /**
10130  * @def elm_layout_label_set
10131  * Convienience macro to set the label in a layout that follows the
10132  * Elementary naming convention for its parts.
10133  *
10134  * @ingroup Layout
10135  * @deprecated use elm_object_text_* instead.
10136  */
10137 #define elm_layout_label_set(_ly, _txt) \
10138   elm_layout_text_set((_ly), "elm.text", (_txt))
10139
10140 /**
10141  * @def elm_layout_label_get
10142  * Convienience macro to get the label in a layout that follows the
10143  * Elementary naming convention for its parts.
10144  *
10145  * @ingroup Layout
10146  * @deprecated use elm_object_text_* instead.
10147  */
10148 #define elm_layout_label_get(_ly) \
10149   elm_layout_text_get((_ly), "elm.text")
10150
10151    /* smart callbacks called:
10152     * "theme,changed" - when elm theme is changed.
10153     */
10154
10155    /**
10156     * @defgroup Notify Notify
10157     *
10158     * @image html img/widget/notify/preview-00.png
10159     * @image latex img/widget/notify/preview-00.eps
10160     *
10161     * Display a container in a particular region of the parent(top, bottom,
10162     * etc.  A timeout can be set to automatically hide the notify. This is so
10163     * that, after an evas_object_show() on a notify object, if a timeout was set
10164     * on it, it will @b automatically get hidden after that time.
10165     *
10166     * Signals that you can add callbacks for are:
10167     * @li "timeout" - when timeout happens on notify and it's hidden
10168     * @li "block,clicked" - when a click outside of the notify happens
10169     *
10170     * @ref tutorial_notify show usage of the API.
10171     *
10172     * @{
10173     */
10174    /**
10175     * @brief Possible orient values for notify.
10176     *
10177     * This values should be used in conjunction to elm_notify_orient_set() to
10178     * set the position in which the notify should appear(relative to its parent)
10179     * and in conjunction with elm_notify_orient_get() to know where the notify
10180     * is appearing.
10181     */
10182    typedef enum _Elm_Notify_Orient
10183      {
10184         ELM_NOTIFY_ORIENT_TOP, /**< Notify should appear in the top of parent, default */
10185         ELM_NOTIFY_ORIENT_CENTER, /**< Notify should appear in the center of parent */
10186         ELM_NOTIFY_ORIENT_BOTTOM, /**< Notify should appear in the bottom of parent */
10187         ELM_NOTIFY_ORIENT_LEFT, /**< Notify should appear in the left of parent */
10188         ELM_NOTIFY_ORIENT_RIGHT, /**< Notify should appear in the right of parent */
10189         ELM_NOTIFY_ORIENT_TOP_LEFT, /**< Notify should appear in the top left of parent */
10190         ELM_NOTIFY_ORIENT_TOP_RIGHT, /**< Notify should appear in the top right of parent */
10191         ELM_NOTIFY_ORIENT_BOTTOM_LEFT, /**< Notify should appear in the bottom left of parent */
10192         ELM_NOTIFY_ORIENT_BOTTOM_RIGHT, /**< Notify should appear in the bottom right of parent */
10193         ELM_NOTIFY_ORIENT_LAST /**< Sentinel value, @b don't use */
10194      } Elm_Notify_Orient;
10195    /**
10196     * @brief Add a new notify to the parent
10197     *
10198     * @param parent The parent object
10199     * @return The new object or NULL if it cannot be created
10200     */
10201    EAPI Evas_Object      *elm_notify_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10202    /**
10203     * @brief Set the content of the notify widget
10204     *
10205     * @param obj The notify object
10206     * @param content The content will be filled in this notify object
10207     *
10208     * Once the content object is set, a previously set one will be deleted. If
10209     * you want to keep that old content object, use the
10210     * elm_notify_content_unset() function.
10211     */
10212    EAPI void              elm_notify_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
10213    /**
10214     * @brief Unset the content of the notify widget
10215     *
10216     * @param obj The notify object
10217     * @return The content that was being used
10218     *
10219     * Unparent and return the content object which was set for this widget
10220     *
10221     * @see elm_notify_content_set()
10222     */
10223    EAPI Evas_Object      *elm_notify_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
10224    /**
10225     * @brief Return the content of the notify widget
10226     *
10227     * @param obj The notify object
10228     * @return The content that is being used
10229     *
10230     * @see elm_notify_content_set()
10231     */
10232    EAPI Evas_Object      *elm_notify_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10233    /**
10234     * @brief Set the notify parent
10235     *
10236     * @param obj The notify object
10237     * @param content The new parent
10238     *
10239     * Once the parent object is set, a previously set one will be disconnected
10240     * and replaced.
10241     */
10242    EAPI void              elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
10243    /**
10244     * @brief Get the notify parent
10245     *
10246     * @param obj The notify object
10247     * @return The parent
10248     *
10249     * @see elm_notify_parent_set()
10250     */
10251    EAPI Evas_Object      *elm_notify_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10252    /**
10253     * @brief Set the orientation
10254     *
10255     * @param obj The notify object
10256     * @param orient The new orientation
10257     *
10258     * Sets the position in which the notify will appear in its parent.
10259     *
10260     * @see @ref Elm_Notify_Orient for possible values.
10261     */
10262    EAPI void              elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient) EINA_ARG_NONNULL(1);
10263    /**
10264     * @brief Return the orientation
10265     * @param obj The notify object
10266     * @return The orientation of the notification
10267     *
10268     * @see elm_notify_orient_set()
10269     * @see Elm_Notify_Orient
10270     */
10271    EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10272    /**
10273     * @brief Set the time interval after which the notify window is going to be
10274     * hidden.
10275     *
10276     * @param obj The notify object
10277     * @param time The timeout in seconds
10278     *
10279     * This function sets a timeout and starts the timer controlling when the
10280     * notify is hidden. Since calling evas_object_show() on a notify restarts
10281     * the timer controlling when the notify is hidden, setting this before the
10282     * notify is shown will in effect mean starting the timer when the notify is
10283     * shown.
10284     *
10285     * @note Set a value <= 0.0 to disable a running timer.
10286     *
10287     * @note If the value > 0.0 and the notify is previously visible, the
10288     * timer will be started with this value, canceling any running timer.
10289     */
10290    EAPI void              elm_notify_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
10291    /**
10292     * @brief Return the timeout value (in seconds)
10293     * @param obj the notify object
10294     *
10295     * @see elm_notify_timeout_set()
10296     */
10297    EAPI double            elm_notify_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10298    /**
10299     * @brief Sets whether events should be passed to by a click outside
10300     * its area.
10301     *
10302     * @param obj The notify object
10303     * @param repeats EINA_TRUE Events are repeats, else no
10304     *
10305     * When true if the user clicks outside the window the events will be caught
10306     * by the others widgets, else the events are blocked.
10307     *
10308     * @note The default value is EINA_TRUE.
10309     */
10310    EAPI void              elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat) EINA_ARG_NONNULL(1);
10311    /**
10312     * @brief Return true if events are repeat below the notify object
10313     * @param obj the notify object
10314     *
10315     * @see elm_notify_repeat_events_set()
10316     */
10317    EAPI Eina_Bool         elm_notify_repeat_events_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10318    /**
10319     * @}
10320     */
10321
10322    /**
10323     * @defgroup Hover Hover
10324     *
10325     * @image html img/widget/hover/preview-00.png
10326     * @image latex img/widget/hover/preview-00.eps
10327     *
10328     * A Hover object will hover over its @p parent object at the @p target
10329     * location. Anything in the background will be given a darker coloring to
10330     * indicate that the hover object is on top (at the default theme). When the
10331     * hover is clicked it is dismissed(hidden), if the contents of the hover are
10332     * clicked that @b doesn't cause the hover to be dismissed.
10333     *
10334     * @note The hover object will take up the entire space of @p target
10335     * object.
10336     *
10337     * Elementary has the following styles for the hover widget:
10338     * @li default
10339     * @li popout
10340     * @li menu
10341     * @li hoversel_vertical
10342     *
10343     * The following are the available position for content:
10344     * @li left
10345     * @li top-left
10346     * @li top
10347     * @li top-right
10348     * @li right
10349     * @li bottom-right
10350     * @li bottom
10351     * @li bottom-left
10352     * @li middle
10353     * @li smart
10354     *
10355     * Signals that you can add callbacks for are:
10356     * @li "clicked" - the user clicked the empty space in the hover to dismiss
10357     * @li "smart,changed" - a content object placed under the "smart"
10358     *                   policy was replaced to a new slot direction.
10359     *
10360     * See @ref tutorial_hover for more information.
10361     *
10362     * @{
10363     */
10364    typedef enum _Elm_Hover_Axis
10365      {
10366         ELM_HOVER_AXIS_NONE, /**< ELM_HOVER_AXIS_NONE -- no prefered orientation */
10367         ELM_HOVER_AXIS_HORIZONTAL, /**< ELM_HOVER_AXIS_HORIZONTAL -- horizontal */
10368         ELM_HOVER_AXIS_VERTICAL, /**< ELM_HOVER_AXIS_VERTICAL -- vertical */
10369         ELM_HOVER_AXIS_BOTH /**< ELM_HOVER_AXIS_BOTH -- both */
10370      } Elm_Hover_Axis;
10371    /**
10372     * @brief Adds a hover object to @p parent
10373     *
10374     * @param parent The parent object
10375     * @return The hover object or NULL if one could not be created
10376     */
10377    EAPI Evas_Object *elm_hover_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10378    /**
10379     * @brief Sets the target object for the hover.
10380     *
10381     * @param obj The hover object
10382     * @param target The object to center the hover onto. The hover
10383     *
10384     * This function will cause the hover to be centered on the target object.
10385     */
10386    EAPI void         elm_hover_target_set(Evas_Object *obj, Evas_Object *target) EINA_ARG_NONNULL(1);
10387    /**
10388     * @brief Gets the target object for the hover.
10389     *
10390     * @param obj The hover object
10391     * @param parent The object to locate the hover over.
10392     *
10393     * @see elm_hover_target_set()
10394     */
10395    EAPI Evas_Object *elm_hover_target_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10396    /**
10397     * @brief Sets the parent object for the hover.
10398     *
10399     * @param obj The hover object
10400     * @param parent The object to locate the hover over.
10401     *
10402     * This function will cause the hover to take up the entire space that the
10403     * parent object fills.
10404     */
10405    EAPI void         elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
10406    /**
10407     * @brief Gets the parent object for the hover.
10408     *
10409     * @param obj The hover object
10410     * @return The parent object to locate the hover over.
10411     *
10412     * @see elm_hover_parent_set()
10413     */
10414    EAPI Evas_Object *elm_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10415    /**
10416     * @brief Sets the content of the hover object and the direction in which it
10417     * will pop out.
10418     *
10419     * @param obj The hover object
10420     * @param swallow The direction that the object will be displayed
10421     * at. Accepted values are "left", "top-left", "top", "top-right",
10422     * "right", "bottom-right", "bottom", "bottom-left", "middle" and
10423     * "smart".
10424     * @param content The content to place at @p swallow
10425     *
10426     * Once the content object is set for a given direction, a previously
10427     * set one (on the same direction) will be deleted. If you want to
10428     * keep that old content object, use the elm_hover_content_unset()
10429     * function.
10430     *
10431     * All directions may have contents at the same time, except for
10432     * "smart". This is a special placement hint and its use case
10433     * independs of the calculations coming from
10434     * elm_hover_best_content_location_get(). Its use is for cases when
10435     * one desires only one hover content, but with a dinamic special
10436     * placement within the hover area. The content's geometry, whenever
10437     * it changes, will be used to decide on a best location not
10438     * extrapolating the hover's parent object view to show it in (still
10439     * being the hover's target determinant of its medium part -- move and
10440     * resize it to simulate finger sizes, for example). If one of the
10441     * directions other than "smart" are used, a previously content set
10442     * using it will be deleted, and vice-versa.
10443     */
10444    EAPI void         elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
10445    /**
10446     * @brief Get the content of the hover object, in a given direction.
10447     *
10448     * Return the content object which was set for this widget in the
10449     * @p swallow direction.
10450     *
10451     * @param obj The hover object
10452     * @param swallow The direction that the object was display at.
10453     * @return The content that was being used
10454     *
10455     * @see elm_hover_content_set()
10456     */
10457    EAPI Evas_Object *elm_hover_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10458    /**
10459     * @brief Unset the content of the hover object, in a given direction.
10460     *
10461     * Unparent and return the content object set at @p swallow direction.
10462     *
10463     * @param obj The hover object
10464     * @param swallow The direction that the object was display at.
10465     * @return The content that was being used.
10466     *
10467     * @see elm_hover_content_set()
10468     */
10469    EAPI Evas_Object *elm_hover_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10470    /**
10471     * @brief Returns the best swallow location for content in the hover.
10472     *
10473     * @param obj The hover object
10474     * @param pref_axis The preferred orientation axis for the hover object to use
10475     * @return The edje location to place content into the hover or @c
10476     *         NULL, on errors.
10477     *
10478     * Best is defined here as the location at which there is the most available
10479     * space.
10480     *
10481     * @p pref_axis may be one of
10482     * - @c ELM_HOVER_AXIS_NONE -- no prefered orientation
10483     * - @c ELM_HOVER_AXIS_HORIZONTAL -- horizontal
10484     * - @c ELM_HOVER_AXIS_VERTICAL -- vertical
10485     * - @c ELM_HOVER_AXIS_BOTH -- both
10486     *
10487     * If ELM_HOVER_AXIS_HORIZONTAL is choosen the returned position will
10488     * nescessarily be along the horizontal axis("left" or "right"). If
10489     * ELM_HOVER_AXIS_VERTICAL is choosen the returned position will nescessarily
10490     * be along the vertical axis("top" or "bottom"). Chossing
10491     * ELM_HOVER_AXIS_BOTH or ELM_HOVER_AXIS_NONE has the same effect and the
10492     * returned position may be in either axis.
10493     *
10494     * @see elm_hover_content_set()
10495     */
10496    EAPI const char  *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis) EINA_ARG_NONNULL(1);
10497    /**
10498     * @}
10499     */
10500
10501    /* entry */
10502    /**
10503     * @defgroup Entry Entry
10504     *
10505     * @image html img/widget/entry/preview-00.png
10506     * @image latex img/widget/entry/preview-00.eps width=\textwidth
10507     * @image html img/widget/entry/preview-01.png
10508     * @image latex img/widget/entry/preview-01.eps width=\textwidth
10509     * @image html img/widget/entry/preview-02.png
10510     * @image latex img/widget/entry/preview-02.eps width=\textwidth
10511     * @image html img/widget/entry/preview-03.png
10512     * @image latex img/widget/entry/preview-03.eps width=\textwidth
10513     *
10514     * An entry is a convenience widget which shows a box that the user can
10515     * enter text into. Entries by default don't scroll, so they grow to
10516     * accomodate the entire text, resizing the parent window as needed. This
10517     * can be changed with the elm_entry_scrollable_set() function.
10518     *
10519     * They can also be single line or multi line (the default) and when set
10520     * to multi line mode they support text wrapping in any of the modes
10521     * indicated by #Elm_Wrap_Type.
10522     *
10523     * Other features include password mode, filtering of inserted text with
10524     * elm_entry_text_filter_append() and related functions, inline "items" and
10525     * formatted markup text.
10526     *
10527     * @section entry-markup Formatted text
10528     *
10529     * The markup tags supported by the Entry are defined by the theme, but
10530     * even when writing new themes or extensions it's a good idea to stick to
10531     * a sane default, to maintain coherency and avoid application breakages.
10532     * Currently defined by the default theme are the following tags:
10533     * @li \<br\>: Inserts a line break.
10534     * @li \<ps\>: Inserts a paragraph separator. This is preferred over line
10535     * breaks.
10536     * @li \<tab\>: Inserts a tab.
10537     * @li \<em\>...\</em\>: Emphasis. Sets the @em oblique style for the
10538     * enclosed text.
10539     * @li \<b\>...\</b\>: Sets the @b bold style for the enclosed text.
10540     * @li \<link\>...\</link\>: Underlines the enclosed text.
10541     * @li \<hilight\>...\</hilight\>: Hilights the enclosed text.
10542     *
10543     * @section entry-special Special markups
10544     *
10545     * Besides those used to format text, entries support two special markup
10546     * tags used to insert clickable portions of text or items inlined within
10547     * the text.
10548     *
10549     * @subsection entry-anchors Anchors
10550     *
10551     * Anchors are similar to HTML anchors. Text can be surrounded by \<a\> and
10552     * \</a\> tags and an event will be generated when this text is clicked,
10553     * like this:
10554     *
10555     * @code
10556     * This text is outside <a href=anc-01>but this one is an anchor</a>
10557     * @endcode
10558     *
10559     * The @c href attribute in the opening tag gives the name that will be
10560     * used to identify the anchor and it can be any valid utf8 string.
10561     *
10562     * When an anchor is clicked, an @c "anchor,clicked" signal is emitted with
10563     * an #Elm_Entry_Anchor_Info in the @c event_info parameter for the
10564     * callback function. The same applies for "anchor,in" (mouse in), "anchor,out"
10565     * (mouse out), "anchor,down" (mouse down), and "anchor,up" (mouse up) events on
10566     * an anchor.
10567     *
10568     * @subsection entry-items Items
10569     *
10570     * Inlined in the text, any other @c Evas_Object can be inserted by using
10571     * \<item\> tags this way:
10572     *
10573     * @code
10574     * <item size=16x16 vsize=full href=emoticon/haha></item>
10575     * @endcode
10576     *
10577     * Just like with anchors, the @c href identifies each item, but these need,
10578     * in addition, to indicate their size, which is done using any one of
10579     * @c size, @c absize or @c relsize attributes. These attributes take their
10580     * value in the WxH format, where W is the width and H the height of the
10581     * item.
10582     *
10583     * @li absize: Absolute pixel size for the item. Whatever value is set will
10584     * be the item's size regardless of any scale value the object may have
10585     * been set to. The final line height will be adjusted to fit larger items.
10586     * @li size: Similar to @c absize, but it's adjusted to the scale value set
10587     * for the object.
10588     * @li relsize: Size is adjusted for the item to fit within the current
10589     * line height.
10590     *
10591     * Besides their size, items are specificed a @c vsize value that affects
10592     * how their final size and position are calculated. The possible values
10593     * are:
10594     * @li ascent: Item will be placed within the line's baseline and its
10595     * ascent. That is, the height between the line where all characters are
10596     * positioned and the highest point in the line. For @c size and @c absize
10597     * items, the descent value will be added to the total line height to make
10598     * them fit. @c relsize items will be adjusted to fit within this space.
10599     * @li full: Items will be placed between the descent and ascent, or the
10600     * lowest point in the line and its highest.
10601     *
10602     * The next image shows different configurations of items and how they
10603     * are the previously mentioned options affect their sizes. In all cases,
10604     * the green line indicates the ascent, blue for the baseline and red for
10605     * the descent.
10606     *
10607     * @image html entry_item.png
10608     * @image latex entry_item.eps width=\textwidth
10609     *
10610     * And another one to show how size differs from absize. In the first one,
10611     * the scale value is set to 1.0, while the second one is using one of 2.0.
10612     *
10613     * @image html entry_item_scale.png
10614     * @image latex entry_item_scale.eps width=\textwidth
10615     *
10616     * After the size for an item is calculated, the entry will request an
10617     * object to place in its space. For this, the functions set with
10618     * elm_entry_item_provider_append() and related functions will be called
10619     * in order until one of them returns a @c non-NULL value. If no providers
10620     * are available, or all of them return @c NULL, then the entry falls back
10621     * to one of the internal defaults, provided the name matches with one of
10622     * them.
10623     *
10624     * All of the following are currently supported:
10625     *
10626     * - emoticon/angry
10627     * - emoticon/angry-shout
10628     * - emoticon/crazy-laugh
10629     * - emoticon/evil-laugh
10630     * - emoticon/evil
10631     * - emoticon/goggle-smile
10632     * - emoticon/grumpy
10633     * - emoticon/grumpy-smile
10634     * - emoticon/guilty
10635     * - emoticon/guilty-smile
10636     * - emoticon/haha
10637     * - emoticon/half-smile
10638     * - emoticon/happy-panting
10639     * - emoticon/happy
10640     * - emoticon/indifferent
10641     * - emoticon/kiss
10642     * - emoticon/knowing-grin
10643     * - emoticon/laugh
10644     * - emoticon/little-bit-sorry
10645     * - emoticon/love-lots
10646     * - emoticon/love
10647     * - emoticon/minimal-smile
10648     * - emoticon/not-happy
10649     * - emoticon/not-impressed
10650     * - emoticon/omg
10651     * - emoticon/opensmile
10652     * - emoticon/smile
10653     * - emoticon/sorry
10654     * - emoticon/squint-laugh
10655     * - emoticon/surprised
10656     * - emoticon/suspicious
10657     * - emoticon/tongue-dangling
10658     * - emoticon/tongue-poke
10659     * - emoticon/uh
10660     * - emoticon/unhappy
10661     * - emoticon/very-sorry
10662     * - emoticon/what
10663     * - emoticon/wink
10664     * - emoticon/worried
10665     * - emoticon/wtf
10666     *
10667     * Alternatively, an item may reference an image by its path, using
10668     * the URI form @c file:///path/to/an/image.png and the entry will then
10669     * use that image for the item.
10670     *
10671     * @section entry-files Loading and saving files
10672     *
10673     * Entries have convinience functions to load text from a file and save
10674     * changes back to it after a short delay. The automatic saving is enabled
10675     * by default, but can be disabled with elm_entry_autosave_set() and files
10676     * can be loaded directly as plain text or have any markup in them
10677     * recognized. See elm_entry_file_set() for more details.
10678     *
10679     * @section entry-signals Emitted signals
10680     *
10681     * This widget emits the following signals:
10682     *
10683     * @li "changed": The text within the entry was changed.
10684     * @li "changed,user": The text within the entry was changed because of user interaction.
10685     * @li "activated": The enter key was pressed on a single line entry.
10686     * @li "press": A mouse button has been pressed on the entry.
10687     * @li "longpressed": A mouse button has been pressed and held for a couple
10688     * seconds.
10689     * @li "clicked": The entry has been clicked (mouse press and release).
10690     * @li "clicked,double": The entry has been double clicked.
10691     * @li "clicked,triple": The entry has been triple clicked.
10692     * @li "focused": The entry has received focus.
10693     * @li "unfocused": The entry has lost focus.
10694     * @li "selection,paste": A paste of the clipboard contents was requested.
10695     * @li "selection,copy": A copy of the selected text into the clipboard was
10696     * requested.
10697     * @li "selection,cut": A cut of the selected text into the clipboard was
10698     * requested.
10699     * @li "selection,start": A selection has begun and no previous selection
10700     * existed.
10701     * @li "selection,changed": The current selection has changed.
10702     * @li "selection,cleared": The current selection has been cleared.
10703     * @li "cursor,changed": The cursor has changed position.
10704     * @li "anchor,clicked": An anchor has been clicked. The event_info
10705     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10706     * @li "anchor,in": Mouse cursor has moved into an anchor. The event_info
10707     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10708     * @li "anchor,out": Mouse cursor has moved out of an anchor. The event_info
10709     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10710     * @li "anchor,up": Mouse button has been unpressed on an anchor. The event_info
10711     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10712     * @li "anchor,down": Mouse button has been pressed on an anchor. The event_info
10713     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10714     * @li "preedit,changed": The preedit string has changed.
10715     *
10716     * @section entry-examples
10717     *
10718     * An overview of the Entry API can be seen in @ref entry_example_01
10719     *
10720     * @{
10721     */
10722    /**
10723     * @typedef Elm_Entry_Anchor_Info
10724     *
10725     * The info sent in the callback for the "anchor,clicked" signals emitted
10726     * by entries.
10727     */
10728    typedef struct _Elm_Entry_Anchor_Info Elm_Entry_Anchor_Info;
10729    /**
10730     * @struct _Elm_Entry_Anchor_Info
10731     *
10732     * The info sent in the callback for the "anchor,clicked" signals emitted
10733     * by entries.
10734     */
10735    struct _Elm_Entry_Anchor_Info
10736      {
10737         const char *name; /**< The name of the anchor, as stated in its href */
10738         int         button; /**< The mouse button used to click on it */
10739         Evas_Coord  x, /**< Anchor geometry, relative to canvas */
10740                     y, /**< Anchor geometry, relative to canvas */
10741                     w, /**< Anchor geometry, relative to canvas */
10742                     h; /**< Anchor geometry, relative to canvas */
10743      };
10744    /**
10745     * @typedef Elm_Entry_Filter_Cb
10746     * This callback type is used by entry filters to modify text.
10747     * @param data The data specified as the last param when adding the filter
10748     * @param entry The entry object
10749     * @param text A pointer to the location of the text being filtered. This data can be modified,
10750     * but any additional allocations must be managed by the user.
10751     * @see elm_entry_text_filter_append
10752     * @see elm_entry_text_filter_prepend
10753     */
10754    typedef void (*Elm_Entry_Filter_Cb)(void *data, Evas_Object *entry, char **text);
10755
10756    /**
10757     * This adds an entry to @p parent object.
10758     *
10759     * By default, entries are:
10760     * @li not scrolled
10761     * @li multi-line
10762     * @li word wrapped
10763     * @li autosave is enabled
10764     *
10765     * @param parent The parent object
10766     * @return The new object or NULL if it cannot be created
10767     */
10768    EAPI Evas_Object *elm_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10769    /**
10770     * Sets the entry to single line mode.
10771     *
10772     * In single line mode, entries don't ever wrap when the text reaches the
10773     * edge, and instead they keep growing horizontally. Pressing the @c Enter
10774     * key will generate an @c "activate" event instead of adding a new line.
10775     *
10776     * When @p single_line is @c EINA_FALSE, line wrapping takes effect again
10777     * and pressing enter will break the text into a different line
10778     * without generating any events.
10779     *
10780     * @param obj The entry object
10781     * @param single_line If true, the text in the entry
10782     * will be on a single line.
10783     */
10784    EAPI void         elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
10785    /**
10786     * Gets whether the entry is set to be single line.
10787     *
10788     * @param obj The entry object
10789     * @return single_line If true, the text in the entry is set to display
10790     * on a single line.
10791     *
10792     * @see elm_entry_single_line_set()
10793     */
10794    EAPI Eina_Bool    elm_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10795    /**
10796     * Sets the entry to password mode.
10797     *
10798     * In password mode, entries are implicitly single line and the display of
10799     * any text in them is replaced with asterisks (*).
10800     *
10801     * @param obj The entry object
10802     * @param password If true, password mode is enabled.
10803     */
10804    EAPI void         elm_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
10805    /**
10806     * Gets whether the entry is set to password mode.
10807     *
10808     * @param obj The entry object
10809     * @return If true, the entry is set to display all characters
10810     * as asterisks (*).
10811     *
10812     * @see elm_entry_password_set()
10813     */
10814    EAPI Eina_Bool    elm_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10815    /**
10816     * This sets the text displayed within the entry to @p entry.
10817     *
10818     * @param obj The entry object
10819     * @param entry The text to be displayed
10820     *
10821     * @deprecated Use elm_object_text_set() instead.
10822     */
10823    EAPI void         elm_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
10824    /**
10825     * This returns the text currently shown in object @p entry.
10826     * See also elm_entry_entry_set().
10827     *
10828     * @param obj The entry object
10829     * @return The currently displayed text or NULL on failure
10830     *
10831     * @deprecated Use elm_object_text_get() instead.
10832     */
10833    EAPI const char  *elm_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10834    /**
10835     * Appends @p entry to the text of the entry.
10836     *
10837     * Adds the text in @p entry to the end of any text already present in the
10838     * widget.
10839     *
10840     * The appended text is subject to any filters set for the widget.
10841     *
10842     * @param obj The entry object
10843     * @param entry The text to be displayed
10844     *
10845     * @see elm_entry_text_filter_append()
10846     */
10847    EAPI void         elm_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
10848    /**
10849     * Gets whether the entry is empty.
10850     *
10851     * Empty means no text at all. If there are any markup tags, like an item
10852     * tag for which no provider finds anything, and no text is displayed, this
10853     * function still returns EINA_FALSE.
10854     *
10855     * @param obj The entry object
10856     * @return EINA_TRUE if the entry is empty, EINA_FALSE otherwise.
10857     */
10858    EAPI Eina_Bool    elm_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10859    /**
10860     * Gets any selected text within the entry.
10861     *
10862     * If there's any selected text in the entry, this function returns it as
10863     * a string in markup format. NULL is returned if no selection exists or
10864     * if an error occurred.
10865     *
10866     * The returned value points to an internal string and should not be freed
10867     * or modified in any way. If the @p entry object is deleted or its
10868     * contents are changed, the returned pointer should be considered invalid.
10869     *
10870     * @param obj The entry object
10871     * @return The selected text within the entry or NULL on failure
10872     */
10873    EAPI const char  *elm_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10874    /**
10875     * Inserts the given text into the entry at the current cursor position.
10876     *
10877     * This inserts text at the cursor position as if it was typed
10878     * by the user (note that this also allows markup which a user
10879     * can't just "type" as it would be converted to escaped text, so this
10880     * call can be used to insert things like emoticon items or bold push/pop
10881     * tags, other font and color change tags etc.)
10882     *
10883     * If any selection exists, it will be replaced by the inserted text.
10884     *
10885     * The inserted text is subject to any filters set for the widget.
10886     *
10887     * @param obj The entry object
10888     * @param entry The text to insert
10889     *
10890     * @see elm_entry_text_filter_append()
10891     */
10892    EAPI void         elm_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
10893    /**
10894     * Set the line wrap type to use on multi-line entries.
10895     *
10896     * Sets the wrap type used by the entry to any of the specified in
10897     * #Elm_Wrap_Type. This tells how the text will be implicitly cut into a new
10898     * line (without inserting a line break or paragraph separator) when it
10899     * reaches the far edge of the widget.
10900     *
10901     * Note that this only makes sense for multi-line entries. A widget set
10902     * to be single line will never wrap.
10903     *
10904     * @param obj The entry object
10905     * @param wrap The wrap mode to use. See #Elm_Wrap_Type for details on them
10906     */
10907    EAPI void         elm_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
10908    /**
10909     * Gets the wrap mode the entry was set to use.
10910     *
10911     * @param obj The entry object
10912     * @return Wrap type
10913     *
10914     * @see also elm_entry_line_wrap_set()
10915     */
10916    EAPI Elm_Wrap_Type elm_entry_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10917    /**
10918     * Sets if the entry is to be editable or not.
10919     *
10920     * By default, entries are editable and when focused, any text input by the
10921     * user will be inserted at the current cursor position. But calling this
10922     * function with @p editable as EINA_FALSE will prevent the user from
10923     * inputting text into the entry.
10924     *
10925     * The only way to change the text of a non-editable entry is to use
10926     * elm_object_text_set(), elm_entry_entry_insert() and other related
10927     * functions.
10928     *
10929     * @param obj The entry object
10930     * @param editable If EINA_TRUE, user input will be inserted in the entry,
10931     * if not, the entry is read-only and no user input is allowed.
10932     */
10933    EAPI void         elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
10934    /**
10935     * Gets whether the entry is editable or not.
10936     *
10937     * @param obj The entry object
10938     * @return If true, the entry is editable by the user.
10939     * If false, it is not editable by the user
10940     *
10941     * @see elm_entry_editable_set()
10942     */
10943    EAPI Eina_Bool    elm_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10944    /**
10945     * This drops any existing text selection within the entry.
10946     *
10947     * @param obj The entry object
10948     */
10949    EAPI void         elm_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
10950    /**
10951     * This selects all text within the entry.
10952     *
10953     * @param obj The entry object
10954     */
10955    EAPI void         elm_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
10956    /**
10957     * This moves the cursor one place to the right within the entry.
10958     *
10959     * @param obj The entry object
10960     * @return EINA_TRUE upon success, EINA_FALSE upon failure
10961     */
10962    EAPI Eina_Bool    elm_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
10963    /**
10964     * This moves the cursor one place to the left within the entry.
10965     *
10966     * @param obj The entry object
10967     * @return EINA_TRUE upon success, EINA_FALSE upon failure
10968     */
10969    EAPI Eina_Bool    elm_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
10970    /**
10971     * This moves the cursor one line up within the entry.
10972     *
10973     * @param obj The entry object
10974     * @return EINA_TRUE upon success, EINA_FALSE upon failure
10975     */
10976    EAPI Eina_Bool    elm_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
10977    /**
10978     * This moves the cursor one line down within the entry.
10979     *
10980     * @param obj The entry object
10981     * @return EINA_TRUE upon success, EINA_FALSE upon failure
10982     */
10983    EAPI Eina_Bool    elm_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
10984    /**
10985     * This moves the cursor to the beginning of the entry.
10986     *
10987     * @param obj The entry object
10988     */
10989    EAPI void         elm_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
10990    /**
10991     * This moves the cursor to the end of the entry.
10992     *
10993     * @param obj The entry object
10994     */
10995    EAPI void         elm_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
10996    /**
10997     * This moves the cursor to the beginning of the current line.
10998     *
10999     * @param obj The entry object
11000     */
11001    EAPI void         elm_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11002    /**
11003     * This moves the cursor to the end of the current line.
11004     *
11005     * @param obj The entry object
11006     */
11007    EAPI void         elm_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11008    /**
11009     * This begins a selection within the entry as though
11010     * the user were holding down the mouse button to make a selection.
11011     *
11012     * @param obj The entry object
11013     */
11014    EAPI void         elm_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
11015    /**
11016     * This ends a selection within the entry as though
11017     * the user had just released the mouse button while making a selection.
11018     *
11019     * @param obj The entry object
11020     */
11021    EAPI void         elm_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
11022    /**
11023     * Gets whether a format node exists at the current cursor position.
11024     *
11025     * A format node is anything that defines how the text is rendered. It can
11026     * be a visible format node, such as a line break or a paragraph separator,
11027     * or an invisible one, such as bold begin or end tag.
11028     * This function returns whether any format node exists at the current
11029     * cursor position.
11030     *
11031     * @param obj The entry object
11032     * @return EINA_TRUE if the current cursor position contains a format node,
11033     * EINA_FALSE otherwise.
11034     *
11035     * @see elm_entry_cursor_is_visible_format_get()
11036     */
11037    EAPI Eina_Bool    elm_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11038    /**
11039     * Gets if the current cursor position holds a visible format node.
11040     *
11041     * @param obj The entry object
11042     * @return EINA_TRUE if the current cursor is a visible format, EINA_FALSE
11043     * if it's an invisible one or no format exists.
11044     *
11045     * @see elm_entry_cursor_is_format_get()
11046     */
11047    EAPI Eina_Bool    elm_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11048    /**
11049     * Gets the character pointed by the cursor at its current position.
11050     *
11051     * This function returns a string with the utf8 character stored at the
11052     * current cursor position.
11053     * Only the text is returned, any format that may exist will not be part
11054     * of the return value.
11055     *
11056     * @param obj The entry object
11057     * @return The text pointed by the cursors.
11058     */
11059    EAPI const char  *elm_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11060    /**
11061     * This function returns the geometry of the cursor.
11062     *
11063     * It's useful if you want to draw something on the cursor (or where it is),
11064     * or for example in the case of scrolled entry where you want to show the
11065     * cursor.
11066     *
11067     * @param obj The entry object
11068     * @param x returned geometry
11069     * @param y returned geometry
11070     * @param w returned geometry
11071     * @param h returned geometry
11072     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11073     */
11074    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);
11075    /**
11076     * Sets the cursor position in the entry to the given value
11077     *
11078     * The value in @p pos is the index of the character position within the
11079     * contents of the string as returned by elm_entry_cursor_pos_get().
11080     *
11081     * @param obj The entry object
11082     * @param pos The position of the cursor
11083     */
11084    EAPI void         elm_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
11085    /**
11086     * Retrieves the current position of the cursor in the entry
11087     *
11088     * @param obj The entry object
11089     * @return The cursor position
11090     */
11091    EAPI int          elm_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11092    /**
11093     * This executes a "cut" action on the selected text in the entry.
11094     *
11095     * @param obj The entry object
11096     */
11097    EAPI void         elm_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
11098    /**
11099     * This executes a "copy" action on the selected text in the entry.
11100     *
11101     * @param obj The entry object
11102     */
11103    EAPI void         elm_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
11104    /**
11105     * This executes a "paste" action in the entry.
11106     *
11107     * @param obj The entry object
11108     */
11109    EAPI void         elm_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
11110    /**
11111     * This clears and frees the items in a entry's contextual (longpress)
11112     * menu.
11113     *
11114     * @param obj The entry object
11115     *
11116     * @see elm_entry_context_menu_item_add()
11117     */
11118    EAPI void         elm_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
11119    /**
11120     * This adds an item to the entry's contextual menu.
11121     *
11122     * A longpress on an entry will make the contextual menu show up, if this
11123     * hasn't been disabled with elm_entry_context_menu_disabled_set().
11124     * By default, this menu provides a few options like enabling selection mode,
11125     * which is useful on embedded devices that need to be explicit about it,
11126     * and when a selection exists it also shows the copy and cut actions.
11127     *
11128     * With this function, developers can add other options to this menu to
11129     * perform any action they deem necessary.
11130     *
11131     * @param obj The entry object
11132     * @param label The item's text label
11133     * @param icon_file The item's icon file
11134     * @param icon_type The item's icon type
11135     * @param func The callback to execute when the item is clicked
11136     * @param data The data to associate with the item for related functions
11137     */
11138    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);
11139    /**
11140     * This disables the entry's contextual (longpress) menu.
11141     *
11142     * @param obj The entry object
11143     * @param disabled If true, the menu is disabled
11144     */
11145    EAPI void         elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
11146    /**
11147     * This returns whether the entry's contextual (longpress) menu is
11148     * disabled.
11149     *
11150     * @param obj The entry object
11151     * @return If true, the menu is disabled
11152     */
11153    EAPI Eina_Bool    elm_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11154    /**
11155     * This appends a custom item provider to the list for that entry
11156     *
11157     * This appends the given callback. The list is walked from beginning to end
11158     * with each function called given the item href string in the text. If the
11159     * function returns an object handle other than NULL (it should create an
11160     * object to do this), then this object is used to replace that item. If
11161     * not the next provider is called until one provides an item object, or the
11162     * default provider in entry does.
11163     *
11164     * @param obj The entry object
11165     * @param func The function called to provide the item object
11166     * @param data The data passed to @p func
11167     *
11168     * @see @ref entry-items
11169     */
11170    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);
11171    /**
11172     * This prepends a custom item provider to the list for that entry
11173     *
11174     * This prepends the given callback. See elm_entry_item_provider_append() for
11175     * more information
11176     *
11177     * @param obj The entry object
11178     * @param func The function called to provide the item object
11179     * @param data The data passed to @p func
11180     */
11181    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);
11182    /**
11183     * This removes a custom item provider to the list for that entry
11184     *
11185     * This removes the given callback. See elm_entry_item_provider_append() for
11186     * more information
11187     *
11188     * @param obj The entry object
11189     * @param func The function called to provide the item object
11190     * @param data The data passed to @p func
11191     */
11192    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);
11193    /**
11194     * Append a filter function for text inserted in the entry
11195     *
11196     * Append the given callback to the list. This functions will be called
11197     * whenever any text is inserted into the entry, with the text to be inserted
11198     * as a parameter. The callback function is free to alter the text in any way
11199     * it wants, but it must remember to free the given pointer and update it.
11200     * If the new text is to be discarded, the function can free it and set its
11201     * text parameter to NULL. This will also prevent any following filters from
11202     * being called.
11203     *
11204     * @param obj The entry object
11205     * @param func The function to use as text filter
11206     * @param data User data to pass to @p func
11207     */
11208    EAPI void         elm_entry_text_filter_append(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11209    /**
11210     * Prepend a filter function for text insdrted in the entry
11211     *
11212     * Prepend the given callback to the list. See elm_entry_text_filter_append()
11213     * for more information
11214     *
11215     * @param obj The entry object
11216     * @param func The function to use as text filter
11217     * @param data User data to pass to @p func
11218     */
11219    EAPI void         elm_entry_text_filter_prepend(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11220    /**
11221     * Remove a filter from the list
11222     *
11223     * Removes the given callback from the filter list. See
11224     * elm_entry_text_filter_append() for more information.
11225     *
11226     * @param obj The entry object
11227     * @param func The filter function to remove
11228     * @param data The user data passed when adding the function
11229     */
11230    EAPI void         elm_entry_text_filter_remove(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11231    /**
11232     * This converts a markup (HTML-like) string into UTF-8.
11233     *
11234     * The returned string is a malloc'ed buffer and it should be freed when
11235     * not needed anymore.
11236     *
11237     * @param s The string (in markup) to be converted
11238     * @return The converted string (in UTF-8). It should be freed.
11239     */
11240    EAPI char        *elm_entry_markup_to_utf8(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
11241    /**
11242     * This converts a UTF-8 string into markup (HTML-like).
11243     *
11244     * The returned string is a malloc'ed buffer and it should be freed when
11245     * not needed anymore.
11246     *
11247     * @param s The string (in UTF-8) to be converted
11248     * @return The converted string (in markup). It should be freed.
11249     */
11250    EAPI char        *elm_entry_utf8_to_markup(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
11251    /**
11252     * This sets the file (and implicitly loads it) for the text to display and
11253     * then edit. All changes are written back to the file after a short delay if
11254     * the entry object is set to autosave (which is the default).
11255     *
11256     * If the entry had any other file set previously, any changes made to it
11257     * will be saved if the autosave feature is enabled, otherwise, the file
11258     * will be silently discarded and any non-saved changes will be lost.
11259     *
11260     * @param obj The entry object
11261     * @param file The path to the file to load and save
11262     * @param format The file format
11263     */
11264    EAPI void         elm_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
11265    /**
11266     * Gets the file being edited by the entry.
11267     *
11268     * This function can be used to retrieve any file set on the entry for
11269     * edition, along with the format used to load and save it.
11270     *
11271     * @param obj The entry object
11272     * @param file The path to the file to load and save
11273     * @param format The file format
11274     */
11275    EAPI void         elm_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
11276    /**
11277     * This function writes any changes made to the file set with
11278     * elm_entry_file_set()
11279     *
11280     * @param obj The entry object
11281     */
11282    EAPI void         elm_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
11283    /**
11284     * This sets the entry object to 'autosave' the loaded text file or not.
11285     *
11286     * @param obj The entry object
11287     * @param autosave Autosave the loaded file or not
11288     *
11289     * @see elm_entry_file_set()
11290     */
11291    EAPI void         elm_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
11292    /**
11293     * This gets the entry object's 'autosave' status.
11294     *
11295     * @param obj The entry object
11296     * @return Autosave the loaded file or not
11297     *
11298     * @see elm_entry_file_set()
11299     */
11300    EAPI Eina_Bool    elm_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11301    /**
11302     * Control pasting of text and images for the widget.
11303     *
11304     * Normally the entry allows both text and images to be pasted.  By setting
11305     * textonly to be true, this prevents images from being pasted.
11306     *
11307     * Note this only changes the behaviour of text.
11308     *
11309     * @param obj The entry object
11310     * @param textonly paste mode - EINA_TRUE is text only, EINA_FALSE is
11311     * text+image+other.
11312     */
11313    EAPI void         elm_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
11314    /**
11315     * Getting elm_entry text paste/drop mode.
11316     *
11317     * In textonly mode, only text may be pasted or dropped into the widget.
11318     *
11319     * @param obj The entry object
11320     * @return If the widget only accepts text from pastes.
11321     */
11322    EAPI Eina_Bool    elm_entry_cnp_textonly_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11323    /**
11324     * Enable or disable scrolling in entry
11325     *
11326     * Normally the entry is not scrollable unless you enable it with this call.
11327     *
11328     * @param obj The entry object
11329     * @param scroll EINA_TRUE if it is to be scrollable, EINA_FALSE otherwise
11330     */
11331    EAPI void         elm_entry_scrollable_set(Evas_Object *obj, Eina_Bool scroll);
11332    /**
11333     * Get the scrollable state of the entry
11334     *
11335     * Normally the entry is not scrollable. This gets the scrollable state
11336     * of the entry. See elm_entry_scrollable_set() for more information.
11337     *
11338     * @param obj The entry object
11339     * @return The scrollable state
11340     */
11341    EAPI Eina_Bool    elm_entry_scrollable_get(const Evas_Object *obj);
11342    /**
11343     * This sets a widget to be displayed to the left of a scrolled entry.
11344     *
11345     * @param obj The scrolled entry object
11346     * @param icon The widget to display on the left side of the scrolled
11347     * entry.
11348     *
11349     * @note A previously set widget will be destroyed.
11350     * @note If the object being set does not have minimum size hints set,
11351     * it won't get properly displayed.
11352     *
11353     * @see elm_entry_end_set()
11354     */
11355    EAPI void         elm_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
11356    /**
11357     * Gets the leftmost widget of the scrolled entry. This object is
11358     * owned by the scrolled entry and should not be modified.
11359     *
11360     * @param obj The scrolled entry object
11361     * @return the left widget inside the scroller
11362     */
11363    EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *obj);
11364    /**
11365     * Unset the leftmost widget of the scrolled entry, unparenting and
11366     * returning it.
11367     *
11368     * @param obj The scrolled entry object
11369     * @return the previously set icon sub-object of this entry, on
11370     * success.
11371     *
11372     * @see elm_entry_icon_set()
11373     */
11374    EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj);
11375    /**
11376     * Sets the visibility of the left-side widget of the scrolled entry,
11377     * set by elm_entry_icon_set().
11378     *
11379     * @param obj The scrolled entry object
11380     * @param setting EINA_TRUE if the object should be displayed,
11381     * EINA_FALSE if not.
11382     */
11383    EAPI void         elm_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
11384    /**
11385     * This sets a widget to be displayed to the end of a scrolled entry.
11386     *
11387     * @param obj The scrolled entry object
11388     * @param end The widget to display on the right side of the scrolled
11389     * entry.
11390     *
11391     * @note A previously set widget will be destroyed.
11392     * @note If the object being set does not have minimum size hints set,
11393     * it won't get properly displayed.
11394     *
11395     * @see elm_entry_icon_set
11396     */
11397    EAPI void         elm_entry_end_set(Evas_Object *obj, Evas_Object *end);
11398    /**
11399     * Gets the endmost widget of the scrolled entry. This object is owned
11400     * by the scrolled entry and should not be modified.
11401     *
11402     * @param obj The scrolled entry object
11403     * @return the right widget inside the scroller
11404     */
11405    EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj);
11406    /**
11407     * Unset the endmost widget of the scrolled entry, unparenting and
11408     * returning it.
11409     *
11410     * @param obj The scrolled entry object
11411     * @return the previously set icon sub-object of this entry, on
11412     * success.
11413     *
11414     * @see elm_entry_icon_set()
11415     */
11416    EAPI Evas_Object *elm_entry_end_unset(Evas_Object *obj);
11417    /**
11418     * Sets the visibility of the end widget of the scrolled entry, set by
11419     * elm_entry_end_set().
11420     *
11421     * @param obj The scrolled entry object
11422     * @param setting EINA_TRUE if the object should be displayed,
11423     * EINA_FALSE if not.
11424     */
11425    EAPI void         elm_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
11426    /**
11427     * This sets the scrolled entry's scrollbar policy (ie. enabling/disabling
11428     * them).
11429     *
11430     * Setting an entry to single-line mode with elm_entry_single_line_set()
11431     * will automatically disable the display of scrollbars when the entry
11432     * moves inside its scroller.
11433     *
11434     * @param obj The scrolled entry object
11435     * @param h The horizontal scrollbar policy to apply
11436     * @param v The vertical scrollbar policy to apply
11437     */
11438    EAPI void         elm_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
11439    /**
11440     * This enables/disables bouncing within the entry.
11441     *
11442     * This function sets whether the entry will bounce when scrolling reaches
11443     * the end of the contained entry.
11444     *
11445     * @param obj The scrolled entry object
11446     * @param h The horizontal bounce state
11447     * @param v The vertical bounce state
11448     */
11449    EAPI void         elm_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
11450    /**
11451     * Get the bounce mode
11452     *
11453     * @param obj The Entry object
11454     * @param h_bounce Allow bounce horizontally
11455     * @param v_bounce Allow bounce vertically
11456     */
11457    EAPI void         elm_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
11458
11459    /* pre-made filters for entries */
11460    /**
11461     * @typedef Elm_Entry_Filter_Limit_Size
11462     *
11463     * Data for the elm_entry_filter_limit_size() entry filter.
11464     */
11465    typedef struct _Elm_Entry_Filter_Limit_Size Elm_Entry_Filter_Limit_Size;
11466    /**
11467     * @struct _Elm_Entry_Filter_Limit_Size
11468     *
11469     * Data for the elm_entry_filter_limit_size() entry filter.
11470     */
11471    struct _Elm_Entry_Filter_Limit_Size
11472      {
11473         int max_char_count; /**< The maximum number of characters allowed. */
11474         int max_byte_count; /**< The maximum number of bytes allowed*/
11475      };
11476    /**
11477     * Filter inserted text based on user defined character and byte limits
11478     *
11479     * Add this filter to an entry to limit the characters that it will accept
11480     * based the the contents of the provided #Elm_Entry_Filter_Limit_Size.
11481     * The funtion works on the UTF-8 representation of the string, converting
11482     * it from the set markup, thus not accounting for any format in it.
11483     *
11484     * The user must create an #Elm_Entry_Filter_Limit_Size structure and pass
11485     * it as data when setting the filter. In it, it's possible to set limits
11486     * by character count or bytes (any of them is disabled if 0), and both can
11487     * be set at the same time. In that case, it first checks for characters,
11488     * then bytes.
11489     *
11490     * The function will cut the inserted text in order to allow only the first
11491     * number of characters that are still allowed. The cut is made in
11492     * characters, even when limiting by bytes, in order to always contain
11493     * valid ones and avoid half unicode characters making it in.
11494     *
11495     * This filter, like any others, does not apply when setting the entry text
11496     * directly with elm_object_text_set() (or the deprecated
11497     * elm_entry_entry_set()).
11498     */
11499    EAPI void         elm_entry_filter_limit_size(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 2, 3);
11500    /**
11501     * @typedef Elm_Entry_Filter_Accept_Set
11502     *
11503     * Data for the elm_entry_filter_accept_set() entry filter.
11504     */
11505    typedef struct _Elm_Entry_Filter_Accept_Set Elm_Entry_Filter_Accept_Set;
11506    /**
11507     * @struct _Elm_Entry_Filter_Accept_Set
11508     *
11509     * Data for the elm_entry_filter_accept_set() entry filter.
11510     */
11511    struct _Elm_Entry_Filter_Accept_Set
11512      {
11513         const char *accepted; /**< Set of characters accepted in the entry. */
11514         const char *rejected; /**< Set of characters rejected from the entry. */
11515      };
11516    /**
11517     * Filter inserted text based on accepted or rejected sets of characters
11518     *
11519     * Add this filter to an entry to restrict the set of accepted characters
11520     * based on the sets in the provided #Elm_Entry_Filter_Accept_Set.
11521     * This structure contains both accepted and rejected sets, but they are
11522     * mutually exclusive.
11523     *
11524     * The @c accepted set takes preference, so if it is set, the filter will
11525     * only work based on the accepted characters, ignoring anything in the
11526     * @c rejected value. If @c accepted is @c NULL, then @c rejected is used.
11527     *
11528     * In both cases, the function filters by matching utf8 characters to the
11529     * raw markup text, so it can be used to remove formatting tags.
11530     *
11531     * This filter, like any others, does not apply when setting the entry text
11532     * directly with elm_object_text_set() (or the deprecated
11533     * elm_entry_entry_set()).
11534     */
11535    EAPI void         elm_entry_filter_accept_set(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 3);
11536    /**
11537     * Set the input panel layout of the entry
11538     *
11539     * @param obj The entry object
11540     * @param layout layout type
11541     */
11542    EAPI void elm_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout) EINA_ARG_NONNULL(1);
11543    /**
11544     * Get the input panel layout of the entry
11545     *
11546     * @param obj The entry object
11547     * @return layout type
11548     *
11549     * @see elm_entry_input_panel_layout_set
11550     */
11551    EAPI Elm_Input_Panel_Layout elm_entry_input_panel_layout_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
11552    /**
11553     * @}
11554     */
11555
11556    /* composite widgets - these basically put together basic widgets above
11557     * in convenient packages that do more than basic stuff */
11558
11559    /* anchorview */
11560    /**
11561     * @defgroup Anchorview Anchorview
11562     *
11563     * @image html img/widget/anchorview/preview-00.png
11564     * @image latex img/widget/anchorview/preview-00.eps
11565     *
11566     * Anchorview is for displaying text that contains markup with anchors
11567     * like <c>\<a href=1234\>something\</\></c> in it.
11568     *
11569     * Besides being styled differently, the anchorview widget provides the
11570     * necessary functionality so that clicking on these anchors brings up a
11571     * popup with user defined content such as "call", "add to contacts" or
11572     * "open web page". This popup is provided using the @ref Hover widget.
11573     *
11574     * This widget is very similar to @ref Anchorblock, so refer to that
11575     * widget for an example. The only difference Anchorview has is that the
11576     * widget is already provided with scrolling functionality, so if the
11577     * text set to it is too large to fit in the given space, it will scroll,
11578     * whereas the @ref Anchorblock widget will keep growing to ensure all the
11579     * text can be displayed.
11580     *
11581     * This widget emits the following signals:
11582     * @li "anchor,clicked": will be called when an anchor is clicked. The
11583     * @p event_info parameter on the callback will be a pointer of type
11584     * ::Elm_Entry_Anchorview_Info.
11585     *
11586     * See @ref Anchorblock for an example on how to use both of them.
11587     *
11588     * @see Anchorblock
11589     * @see Entry
11590     * @see Hover
11591     *
11592     * @{
11593     */
11594    /**
11595     * @typedef Elm_Entry_Anchorview_Info
11596     *
11597     * The info sent in the callback for "anchor,clicked" signals emitted by
11598     * the Anchorview widget.
11599     */
11600    typedef struct _Elm_Entry_Anchorview_Info Elm_Entry_Anchorview_Info;
11601    /**
11602     * @struct _Elm_Entry_Anchorview_Info
11603     *
11604     * The info sent in the callback for "anchor,clicked" signals emitted by
11605     * the Anchorview widget.
11606     */
11607    struct _Elm_Entry_Anchorview_Info
11608      {
11609         const char     *name; /**< Name of the anchor, as indicated in its href
11610                                    attribute */
11611         int             button; /**< The mouse button used to click on it */
11612         Evas_Object    *hover; /**< The hover object to use for the popup */
11613         struct {
11614              Evas_Coord    x, y, w, h;
11615         } anchor, /**< Geometry selection of text used as anchor */
11616           hover_parent; /**< Geometry of the object used as parent by the
11617                              hover */
11618         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
11619                                              for content on the left side of
11620                                              the hover. Before calling the
11621                                              callback, the widget will make the
11622                                              necessary calculations to check
11623                                              which sides are fit to be set with
11624                                              content, based on the position the
11625                                              hover is activated and its distance
11626                                              to the edges of its parent object
11627                                              */
11628         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
11629                                               the right side of the hover.
11630                                               See @ref hover_left */
11631         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
11632                                             of the hover. See @ref hover_left */
11633         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
11634                                                below the hover. See @ref
11635                                                hover_left */
11636      };
11637    /**
11638     * Add a new Anchorview object
11639     *
11640     * @param parent The parent object
11641     * @return The new object or NULL if it cannot be created
11642     */
11643    EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
11644    /**
11645     * Set the text to show in the anchorview
11646     *
11647     * Sets the text of the anchorview to @p text. This text can include markup
11648     * format tags, including <c>\<a href=anchorname\></c> to begin a segment of
11649     * text that will be specially styled and react to click events, ended with
11650     * either of \</a\> or \</\>. When clicked, the anchor will emit an
11651     * "anchor,clicked" signal that you can attach a callback to with
11652     * evas_object_smart_callback_add(). The name of the anchor given in the
11653     * event info struct will be the one set in the href attribute, in this
11654     * case, anchorname.
11655     *
11656     * Other markup can be used to style the text in different ways, but it's
11657     * up to the style defined in the theme which tags do what.
11658     * @deprecated use elm_object_text_set() instead.
11659     */
11660    EINA_DEPRECATED EAPI void         elm_anchorview_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
11661    /**
11662     * Get the markup text set for the anchorview
11663     *
11664     * Retrieves the text set on the anchorview, with markup tags included.
11665     *
11666     * @param obj The anchorview object
11667     * @return The markup text set or @c NULL if nothing was set or an error
11668     * occurred
11669     * @deprecated use elm_object_text_set() instead.
11670     */
11671    EINA_DEPRECATED EAPI const char  *elm_anchorview_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11672    /**
11673     * Set the parent of the hover popup
11674     *
11675     * Sets the parent object to use by the hover created by the anchorview
11676     * when an anchor is clicked. See @ref Hover for more details on this.
11677     * If no parent is set, the same anchorview object will be used.
11678     *
11679     * @param obj The anchorview object
11680     * @param parent The object to use as parent for the hover
11681     */
11682    EAPI void         elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
11683    /**
11684     * Get the parent of the hover popup
11685     *
11686     * Get the object used as parent for the hover created by the anchorview
11687     * widget. See @ref Hover for more details on this.
11688     *
11689     * @param obj The anchorview object
11690     * @return The object used as parent for the hover, NULL if none is set.
11691     */
11692    EAPI Evas_Object *elm_anchorview_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11693    /**
11694     * Set the style that the hover should use
11695     *
11696     * When creating the popup hover, anchorview will request that it's
11697     * themed according to @p style.
11698     *
11699     * @param obj The anchorview object
11700     * @param style The style to use for the underlying hover
11701     *
11702     * @see elm_object_style_set()
11703     */
11704    EAPI void         elm_anchorview_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
11705    /**
11706     * Get the style that the hover should use
11707     *
11708     * Get the style the hover created by anchorview will use.
11709     *
11710     * @param obj The anchorview object
11711     * @return The style to use by the hover. NULL means the default is used.
11712     *
11713     * @see elm_object_style_set()
11714     */
11715    EAPI const char  *elm_anchorview_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11716    /**
11717     * Ends the hover popup in the anchorview
11718     *
11719     * When an anchor is clicked, the anchorview widget will create a hover
11720     * object to use as a popup with user provided content. This function
11721     * terminates this popup, returning the anchorview to its normal state.
11722     *
11723     * @param obj The anchorview object
11724     */
11725    EAPI void         elm_anchorview_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
11726    /**
11727     * Set bouncing behaviour when the scrolled content reaches an edge
11728     *
11729     * Tell the internal scroller object whether it should bounce or not
11730     * when it reaches the respective edges for each axis.
11731     *
11732     * @param obj The anchorview object
11733     * @param h_bounce Whether to bounce or not in the horizontal axis
11734     * @param v_bounce Whether to bounce or not in the vertical axis
11735     *
11736     * @see elm_scroller_bounce_set()
11737     */
11738    EAPI void         elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
11739    /**
11740     * Get the set bouncing behaviour of the internal scroller
11741     *
11742     * Get whether the internal scroller should bounce when the edge of each
11743     * axis is reached scrolling.
11744     *
11745     * @param obj The anchorview object
11746     * @param h_bounce Pointer where to store the bounce state of the horizontal
11747     *                 axis
11748     * @param v_bounce Pointer where to store the bounce state of the vertical
11749     *                 axis
11750     *
11751     * @see elm_scroller_bounce_get()
11752     */
11753    EAPI void         elm_anchorview_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
11754    /**
11755     * Appends a custom item provider to the given anchorview
11756     *
11757     * Appends the given function to the list of items providers. This list is
11758     * called, one function at a time, with the given @p data pointer, the
11759     * anchorview object and, in the @p item parameter, the item name as
11760     * referenced in its href string. Following functions in the list will be
11761     * called in order until one of them returns something different to NULL,
11762     * which should be an Evas_Object which will be used in place of the item
11763     * element.
11764     *
11765     * Items in the markup text take the form \<item relsize=16x16 vsize=full
11766     * href=item/name\>\</item\>
11767     *
11768     * @param obj The anchorview object
11769     * @param func The function to add to the list of providers
11770     * @param data User data that will be passed to the callback function
11771     *
11772     * @see elm_entry_item_provider_append()
11773     */
11774    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);
11775    /**
11776     * Prepend a custom item provider to the given anchorview
11777     *
11778     * Like elm_anchorview_item_provider_append(), but it adds the function
11779     * @p func to the beginning of the list, instead of the end.
11780     *
11781     * @param obj The anchorview object
11782     * @param func The function to add to the list of providers
11783     * @param data User data that will be passed to the callback function
11784     */
11785    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);
11786    /**
11787     * Remove a custom item provider from the list of the given anchorview
11788     *
11789     * Removes the function and data pairing that matches @p func and @p data.
11790     * That is, unless the same function and same user data are given, the
11791     * function will not be removed from the list. This allows us to add the
11792     * same callback several times, with different @p data pointers and be
11793     * able to remove them later without conflicts.
11794     *
11795     * @param obj The anchorview object
11796     * @param func The function to remove from the list
11797     * @param data The data matching the function to remove from the list
11798     */
11799    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);
11800    /**
11801     * @}
11802     */
11803
11804    /* anchorblock */
11805    /**
11806     * @defgroup Anchorblock Anchorblock
11807     *
11808     * @image html img/widget/anchorblock/preview-00.png
11809     * @image latex img/widget/anchorblock/preview-00.eps
11810     *
11811     * Anchorblock is for displaying text that contains markup with anchors
11812     * like <c>\<a href=1234\>something\</\></c> in it.
11813     *
11814     * Besides being styled differently, the anchorblock widget provides the
11815     * necessary functionality so that clicking on these anchors brings up a
11816     * popup with user defined content such as "call", "add to contacts" or
11817     * "open web page". This popup is provided using the @ref Hover widget.
11818     *
11819     * This widget emits the following signals:
11820     * @li "anchor,clicked": will be called when an anchor is clicked. The
11821     * @p event_info parameter on the callback will be a pointer of type
11822     * ::Elm_Entry_Anchorblock_Info.
11823     *
11824     * @see Anchorview
11825     * @see Entry
11826     * @see Hover
11827     *
11828     * Since examples are usually better than plain words, we might as well
11829     * try @ref tutorial_anchorblock_example "one".
11830     */
11831    /**
11832     * @addtogroup Anchorblock
11833     * @{
11834     */
11835    /**
11836     * @typedef Elm_Entry_Anchorblock_Info
11837     *
11838     * The info sent in the callback for "anchor,clicked" signals emitted by
11839     * the Anchorblock widget.
11840     */
11841    typedef struct _Elm_Entry_Anchorblock_Info Elm_Entry_Anchorblock_Info;
11842    /**
11843     * @struct _Elm_Entry_Anchorblock_Info
11844     *
11845     * The info sent in the callback for "anchor,clicked" signals emitted by
11846     * the Anchorblock widget.
11847     */
11848    struct _Elm_Entry_Anchorblock_Info
11849      {
11850         const char     *name; /**< Name of the anchor, as indicated in its href
11851                                    attribute */
11852         int             button; /**< The mouse button used to click on it */
11853         Evas_Object    *hover; /**< The hover object to use for the popup */
11854         struct {
11855              Evas_Coord    x, y, w, h;
11856         } anchor, /**< Geometry selection of text used as anchor */
11857           hover_parent; /**< Geometry of the object used as parent by the
11858                              hover */
11859         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
11860                                              for content on the left side of
11861                                              the hover. Before calling the
11862                                              callback, the widget will make the
11863                                              necessary calculations to check
11864                                              which sides are fit to be set with
11865                                              content, based on the position the
11866                                              hover is activated and its distance
11867                                              to the edges of its parent object
11868                                              */
11869         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
11870                                               the right side of the hover.
11871                                               See @ref hover_left */
11872         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
11873                                             of the hover. See @ref hover_left */
11874         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
11875                                                below the hover. See @ref
11876                                                hover_left */
11877      };
11878    /**
11879     * Add a new Anchorblock object
11880     *
11881     * @param parent The parent object
11882     * @return The new object or NULL if it cannot be created
11883     */
11884    EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
11885    /**
11886     * Set the text to show in the anchorblock
11887     *
11888     * Sets the text of the anchorblock to @p text. This text can include markup
11889     * format tags, including <c>\<a href=anchorname\></a></c> to begin a segment
11890     * of text that will be specially styled and react to click events, ended
11891     * with either of \</a\> or \</\>. When clicked, the anchor will emit an
11892     * "anchor,clicked" signal that you can attach a callback to with
11893     * evas_object_smart_callback_add(). The name of the anchor given in the
11894     * event info struct will be the one set in the href attribute, in this
11895     * case, anchorname.
11896     *
11897     * Other markup can be used to style the text in different ways, but it's
11898     * up to the style defined in the theme which tags do what.
11899     * @deprecated use elm_object_text_set() instead.
11900     */
11901    EINA_DEPRECATED EAPI void         elm_anchorblock_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
11902    /**
11903     * Get the markup text set for the anchorblock
11904     *
11905     * Retrieves the text set on the anchorblock, with markup tags included.
11906     *
11907     * @param obj The anchorblock object
11908     * @return The markup text set or @c NULL if nothing was set or an error
11909     * occurred
11910     * @deprecated use elm_object_text_set() instead.
11911     */
11912    EINA_DEPRECATED EAPI const char  *elm_anchorblock_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11913    /**
11914     * Set the parent of the hover popup
11915     *
11916     * Sets the parent object to use by the hover created by the anchorblock
11917     * when an anchor is clicked. See @ref Hover for more details on this.
11918     *
11919     * @param obj The anchorblock object
11920     * @param parent The object to use as parent for the hover
11921     */
11922    EAPI void         elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
11923    /**
11924     * Get the parent of the hover popup
11925     *
11926     * Get the object used as parent for the hover created by the anchorblock
11927     * widget. See @ref Hover for more details on this.
11928     * If no parent is set, the same anchorblock object will be used.
11929     *
11930     * @param obj The anchorblock object
11931     * @return The object used as parent for the hover, NULL if none is set.
11932     */
11933    EAPI Evas_Object *elm_anchorblock_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11934    /**
11935     * Set the style that the hover should use
11936     *
11937     * When creating the popup hover, anchorblock will request that it's
11938     * themed according to @p style.
11939     *
11940     * @param obj The anchorblock object
11941     * @param style The style to use for the underlying hover
11942     *
11943     * @see elm_object_style_set()
11944     */
11945    EAPI void         elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
11946    /**
11947     * Get the style that the hover should use
11948     *
11949     * Get the style the hover created by anchorblock will use.
11950     *
11951     * @param obj The anchorblock object
11952     * @return The style to use by the hover. NULL means the default is used.
11953     *
11954     * @see elm_object_style_set()
11955     */
11956    EAPI const char  *elm_anchorblock_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11957    /**
11958     * Ends the hover popup in the anchorblock
11959     *
11960     * When an anchor is clicked, the anchorblock widget will create a hover
11961     * object to use as a popup with user provided content. This function
11962     * terminates this popup, returning the anchorblock to its normal state.
11963     *
11964     * @param obj The anchorblock object
11965     */
11966    EAPI void         elm_anchorblock_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
11967    /**
11968     * Appends a custom item provider to the given anchorblock
11969     *
11970     * Appends the given function to the list of items providers. This list is
11971     * called, one function at a time, with the given @p data pointer, the
11972     * anchorblock object and, in the @p item parameter, the item name as
11973     * referenced in its href string. Following functions in the list will be
11974     * called in order until one of them returns something different to NULL,
11975     * which should be an Evas_Object which will be used in place of the item
11976     * element.
11977     *
11978     * Items in the markup text take the form \<item relsize=16x16 vsize=full
11979     * href=item/name\>\</item\>
11980     *
11981     * @param obj The anchorblock object
11982     * @param func The function to add to the list of providers
11983     * @param data User data that will be passed to the callback function
11984     *
11985     * @see elm_entry_item_provider_append()
11986     */
11987    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);
11988    /**
11989     * Prepend a custom item provider to the given anchorblock
11990     *
11991     * Like elm_anchorblock_item_provider_append(), but it adds the function
11992     * @p func to the beginning of the list, instead of the end.
11993     *
11994     * @param obj The anchorblock object
11995     * @param func The function to add to the list of providers
11996     * @param data User data that will be passed to the callback function
11997     */
11998    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);
11999    /**
12000     * Remove a custom item provider from the list of the given anchorblock
12001     *
12002     * Removes the function and data pairing that matches @p func and @p data.
12003     * That is, unless the same function and same user data are given, the
12004     * function will not be removed from the list. This allows us to add the
12005     * same callback several times, with different @p data pointers and be
12006     * able to remove them later without conflicts.
12007     *
12008     * @param obj The anchorblock object
12009     * @param func The function to remove from the list
12010     * @param data The data matching the function to remove from the list
12011     */
12012    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);
12013    /**
12014     * @}
12015     */
12016
12017    /**
12018     * @defgroup Bubble Bubble
12019     *
12020     * @image html img/widget/bubble/preview-00.png
12021     * @image latex img/widget/bubble/preview-00.eps
12022     * @image html img/widget/bubble/preview-01.png
12023     * @image latex img/widget/bubble/preview-01.eps
12024     * @image html img/widget/bubble/preview-02.png
12025     * @image latex img/widget/bubble/preview-02.eps
12026     *
12027     * @brief The Bubble is a widget to show text similarly to how speech is
12028     * represented in comics.
12029     *
12030     * The bubble widget contains 5 important visual elements:
12031     * @li The frame is a rectangle with rounded rectangles and an "arrow".
12032     * @li The @p icon is an image to which the frame's arrow points to.
12033     * @li The @p label is a text which appears to the right of the icon if the
12034     * corner is "top_left" or "bottom_left" and is right aligned to the frame
12035     * otherwise.
12036     * @li The @p info is a text which appears to the right of the label. Info's
12037     * font is of a ligther color than label.
12038     * @li The @p content is an evas object that is shown inside the frame.
12039     *
12040     * The position of the arrow, icon, label and info depends on which corner is
12041     * selected. The four available corners are:
12042     * @li "top_left" - Default
12043     * @li "top_right"
12044     * @li "bottom_left"
12045     * @li "bottom_right"
12046     *
12047     * Signals that you can add callbacks for are:
12048     * @li "clicked" - This is called when a user has clicked the bubble.
12049     *
12050     * For an example of using a buble see @ref bubble_01_example_page "this".
12051     *
12052     * @{
12053     */
12054    /**
12055     * Add a new bubble to the parent
12056     *
12057     * @param parent The parent object
12058     * @return The new object or NULL if it cannot be created
12059     *
12060     * This function adds a text bubble to the given parent evas object.
12061     */
12062    EAPI Evas_Object *elm_bubble_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12063    /**
12064     * Set the label of the bubble
12065     *
12066     * @param obj The bubble object
12067     * @param label The string to set in the label
12068     *
12069     * This function sets the title of the bubble. Where this appears depends on
12070     * the selected corner.
12071     * @deprecated use elm_object_text_set() instead.
12072     */
12073    EINA_DEPRECATED EAPI void         elm_bubble_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
12074    /**
12075     * Get the label of the bubble
12076     *
12077     * @param obj The bubble object
12078     * @return The string of set in the label
12079     *
12080     * This function gets the title of the bubble.
12081     * @deprecated use elm_object_text_get() instead.
12082     */
12083    EINA_DEPRECATED EAPI const char  *elm_bubble_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12084    /**
12085     * Set the info of the bubble
12086     *
12087     * @param obj The bubble object
12088     * @param info The given info about the bubble
12089     *
12090     * This function sets the info of the bubble. Where this appears depends on
12091     * the selected corner.
12092     * @deprecated use elm_object_text_part_set() instead. (with "info" as the parameter).
12093     */
12094    EINA_DEPRECATED EAPI void         elm_bubble_info_set(Evas_Object *obj, const char *info) EINA_ARG_NONNULL(1);
12095    /**
12096     * Get the info of the bubble
12097     *
12098     * @param obj The bubble object
12099     *
12100     * @return The "info" string of the bubble
12101     *
12102     * This function gets the info text.
12103     * @deprecated use elm_object_text_part_get() instead. (with "info" as the parameter).
12104     */
12105    EINA_DEPRECATED EAPI const char  *elm_bubble_info_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12106    /**
12107     * Set the content to be shown in the bubble
12108     *
12109     * Once the content object is set, a previously set one will be deleted.
12110     * If you want to keep the old content object, use the
12111     * elm_bubble_content_unset() function.
12112     *
12113     * @param obj The bubble object
12114     * @param content The given content of the bubble
12115     *
12116     * This function sets the content shown on the middle of the bubble.
12117     */
12118    EAPI void         elm_bubble_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
12119    /**
12120     * Get the content shown in the bubble
12121     *
12122     * Return the content object which is set for this widget.
12123     *
12124     * @param obj The bubble object
12125     * @return The content that is being used
12126     */
12127    EAPI Evas_Object *elm_bubble_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12128    /**
12129     * Unset the content shown in the bubble
12130     *
12131     * Unparent and return the content object which was set for this widget.
12132     *
12133     * @param obj The bubble object
12134     * @return The content that was being used
12135     */
12136    EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
12137    /**
12138     * Set the icon of the bubble
12139     *
12140     * Once the icon object is set, a previously set one will be deleted.
12141     * If you want to keep the old content object, use the
12142     * elm_icon_content_unset() function.
12143     *
12144     * @param obj The bubble object
12145     * @param icon The given icon for the bubble
12146     */
12147    EAPI void         elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
12148    /**
12149     * Get the icon of the bubble
12150     *
12151     * @param obj The bubble object
12152     * @return The icon for the bubble
12153     *
12154     * This function gets the icon shown on the top left of bubble.
12155     */
12156    EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12157    /**
12158     * Unset the icon of the bubble
12159     *
12160     * Unparent and return the icon object which was set for this widget.
12161     *
12162     * @param obj The bubble object
12163     * @return The icon that was being used
12164     */
12165    EAPI Evas_Object *elm_bubble_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
12166    /**
12167     * Set the corner of the bubble
12168     *
12169     * @param obj The bubble object.
12170     * @param corner The given corner for the bubble.
12171     *
12172     * This function sets the corner of the bubble. The corner will be used to
12173     * determine where the arrow in the frame points to and where label, icon and
12174     * info arre shown.
12175     *
12176     * Possible values for corner are:
12177     * @li "top_left" - Default
12178     * @li "top_right"
12179     * @li "bottom_left"
12180     * @li "bottom_right"
12181     */
12182    EAPI void         elm_bubble_corner_set(Evas_Object *obj, const char *corner) EINA_ARG_NONNULL(1, 2);
12183    /**
12184     * Get the corner of the bubble
12185     *
12186     * @param obj The bubble object.
12187     * @return The given corner for the bubble.
12188     *
12189     * This function gets the selected corner of the bubble.
12190     */
12191    EAPI const char  *elm_bubble_corner_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12192    /**
12193     * @}
12194     */
12195
12196    /**
12197     * @defgroup Photo Photo
12198     *
12199     * For displaying the photo of a person (contact). Simple yet
12200     * with a very specific purpose.
12201     *
12202     * Signals that you can add callbacks for are:
12203     *
12204     * "clicked" - This is called when a user has clicked the photo
12205     * "drag,start" - Someone started dragging the image out of the object
12206     * "drag,end" - Dragged item was dropped (somewhere)
12207     *
12208     * @{
12209     */
12210
12211    /**
12212     * Add a new photo to the parent
12213     *
12214     * @param parent The parent object
12215     * @return The new object or NULL if it cannot be created
12216     *
12217     * @ingroup Photo
12218     */
12219    EAPI Evas_Object *elm_photo_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12220
12221    /**
12222     * Set the file that will be used as photo
12223     *
12224     * @param obj The photo object
12225     * @param file The path to file that will be used as photo
12226     *
12227     * @return (1 = success, 0 = error)
12228     *
12229     * @ingroup Photo
12230     */
12231    EAPI Eina_Bool    elm_photo_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
12232
12233     /**
12234     * Set the file that will be used as thumbnail in the photo.
12235     *
12236     * @param obj The photo object.
12237     * @param file The path to file that will be used as thumb.
12238     * @param group The key used in case of an EET file.
12239     *
12240     * @ingroup Photo
12241     */
12242    EAPI void         elm_photo_thumb_set(const Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
12243
12244    /**
12245     * Set the size that will be used on the photo
12246     *
12247     * @param obj The photo object
12248     * @param size The size that the photo will be
12249     *
12250     * @ingroup Photo
12251     */
12252    EAPI void         elm_photo_size_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
12253
12254    /**
12255     * Set if the photo should be completely visible or not.
12256     *
12257     * @param obj The photo object
12258     * @param fill if true the photo will be completely visible
12259     *
12260     * @ingroup Photo
12261     */
12262    EAPI void         elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill) EINA_ARG_NONNULL(1);
12263
12264    /**
12265     * Set editability of the photo.
12266     *
12267     * An editable photo can be dragged to or from, and can be cut or
12268     * pasted too.  Note that pasting an image or dropping an item on
12269     * the image will delete the existing content.
12270     *
12271     * @param obj The photo object.
12272     * @param set To set of clear editablity.
12273     */
12274    EAPI void         elm_photo_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
12275
12276    /**
12277     * @}
12278     */
12279
12280    /* gesture layer */
12281    /**
12282     * @defgroup Elm_Gesture_Layer Gesture Layer
12283     * Gesture Layer Usage:
12284     *
12285     * Use Gesture Layer to detect gestures.
12286     * The advantage is that you don't have to implement
12287     * gesture detection, just set callbacks of gesture state.
12288     * By using gesture layer we make standard interface.
12289     *
12290     * In order to use Gesture Layer you start with @ref elm_gesture_layer_add
12291     * with a parent object parameter.
12292     * Next 'activate' gesture layer with a @ref elm_gesture_layer_attach
12293     * call. Usually with same object as target (2nd parameter).
12294     *
12295     * Now you need to tell gesture layer what gestures you follow.
12296     * This is done with @ref elm_gesture_layer_cb_set call.
12297     * By setting the callback you actually saying to gesture layer:
12298     * I would like to know when the gesture @ref Elm_Gesture_Types
12299     * switches to state @ref Elm_Gesture_State.
12300     *
12301     * Next, you need to implement the actual action that follows the input
12302     * in your callback.
12303     *
12304     * Note that if you like to stop being reported about a gesture, just set
12305     * all callbacks referring this gesture to NULL.
12306     * (again with @ref elm_gesture_layer_cb_set)
12307     *
12308     * The information reported by gesture layer to your callback is depending
12309     * on @ref Elm_Gesture_Types:
12310     * @ref Elm_Gesture_Taps_Info is the info reported for tap gestures:
12311     * @ref ELM_GESTURE_N_TAPS, @ref ELM_GESTURE_N_LONG_TAPS,
12312     * @ref ELM_GESTURE_N_DOUBLE_TAPS, @ref ELM_GESTURE_N_TRIPLE_TAPS.
12313     *
12314     * @ref Elm_Gesture_Momentum_Info is info reported for momentum gestures:
12315     * @ref ELM_GESTURE_MOMENTUM.
12316     *
12317     * @ref Elm_Gesture_Line_Info is the info reported for line gestures:
12318     * (this also contains @ref Elm_Gesture_Momentum_Info internal structure)
12319     * @ref ELM_GESTURE_N_LINES, @ref ELM_GESTURE_N_FLICKS.
12320     * Note that we consider a flick as a line-gesture that should be completed
12321     * in flick-time-limit as defined in @ref Config.
12322     *
12323     * @ref Elm_Gesture_Zoom_Info is the info reported for @ref ELM_GESTURE_ZOOM gesture.
12324     *
12325     * @ref Elm_Gesture_Rotate_Info is the info reported for @ref ELM_GESTURE_ROTATE gesture.
12326     *
12327     *
12328     * Gesture Layer Tweaks:
12329     *
12330     * Note that line, flick, gestures can start without the need to remove fingers from surface.
12331     * When user fingers rests on same-spot gesture is ended and starts again when fingers moved.
12332     *
12333     * Setting glayer_continues_enable to false in @ref Config will change this behavior
12334     * so gesture starts when user touches (a *DOWN event) touch-surface
12335     * and ends when no fingers touches surface (a *UP event).
12336     */
12337
12338    /**
12339     * @enum _Elm_Gesture_Types
12340     * Enum of supported gesture types.
12341     * @ingroup Elm_Gesture_Layer
12342     */
12343    enum _Elm_Gesture_Types
12344      {
12345         ELM_GESTURE_FIRST = 0,
12346
12347         ELM_GESTURE_N_TAPS, /**< N fingers single taps */
12348         ELM_GESTURE_N_LONG_TAPS, /**< N fingers single long-taps */
12349         ELM_GESTURE_N_DOUBLE_TAPS, /**< N fingers double-single taps */
12350         ELM_GESTURE_N_TRIPLE_TAPS, /**< N fingers triple-single taps */
12351
12352         ELM_GESTURE_MOMENTUM, /**< Reports momentum in the dircetion of move */
12353
12354         ELM_GESTURE_N_LINES, /**< N fingers line gesture */
12355         ELM_GESTURE_N_FLICKS, /**< N fingers flick gesture */
12356
12357         ELM_GESTURE_ZOOM, /**< Zoom */
12358         ELM_GESTURE_ROTATE, /**< Rotate */
12359
12360         ELM_GESTURE_LAST
12361      };
12362
12363    /**
12364     * @typedef Elm_Gesture_Types
12365     * gesture types enum
12366     * @ingroup Elm_Gesture_Layer
12367     */
12368    typedef enum _Elm_Gesture_Types Elm_Gesture_Types;
12369
12370    /**
12371     * @enum _Elm_Gesture_State
12372     * Enum of gesture states.
12373     * @ingroup Elm_Gesture_Layer
12374     */
12375    enum _Elm_Gesture_State
12376      {
12377         ELM_GESTURE_STATE_UNDEFINED = -1, /**< Gesture not STARTed */
12378         ELM_GESTURE_STATE_START,          /**< Gesture STARTed     */
12379         ELM_GESTURE_STATE_MOVE,           /**< Gesture is ongoing  */
12380         ELM_GESTURE_STATE_END,            /**< Gesture completed   */
12381         ELM_GESTURE_STATE_ABORT    /**< Onging gesture was ABORTed */
12382      };
12383
12384    /**
12385     * @typedef Elm_Gesture_State
12386     * gesture states enum
12387     * @ingroup Elm_Gesture_Layer
12388     */
12389    typedef enum _Elm_Gesture_State Elm_Gesture_State;
12390
12391    /**
12392     * @struct _Elm_Gesture_Taps_Info
12393     * Struct holds taps info for user
12394     * @ingroup Elm_Gesture_Layer
12395     */
12396    struct _Elm_Gesture_Taps_Info
12397      {
12398         Evas_Coord x, y;         /**< Holds center point between fingers */
12399         unsigned int n;          /**< Number of fingers tapped           */
12400         unsigned int timestamp;  /**< event timestamp       */
12401      };
12402
12403    /**
12404     * @typedef Elm_Gesture_Taps_Info
12405     * holds taps info for user
12406     * @ingroup Elm_Gesture_Layer
12407     */
12408    typedef struct _Elm_Gesture_Taps_Info Elm_Gesture_Taps_Info;
12409
12410    /**
12411     * @struct _Elm_Gesture_Momentum_Info
12412     * Struct holds momentum info for user
12413     * x1 and y1 are not necessarily in sync
12414     * x1 holds x value of x direction starting point
12415     * and same holds for y1.
12416     * This is noticeable when doing V-shape movement
12417     * @ingroup Elm_Gesture_Layer
12418     */
12419    struct _Elm_Gesture_Momentum_Info
12420      {  /* Report line ends, timestamps, and momentum computed        */
12421         Evas_Coord x1; /**< Final-swipe direction starting point on X */
12422         Evas_Coord y1; /**< Final-swipe direction starting point on Y */
12423         Evas_Coord x2; /**< Final-swipe direction ending point on X   */
12424         Evas_Coord y2; /**< Final-swipe direction ending point on Y   */
12425
12426         unsigned int tx; /**< Timestamp of start of final x-swipe */
12427         unsigned int ty; /**< Timestamp of start of final y-swipe */
12428
12429         Evas_Coord mx; /**< Momentum on X */
12430         Evas_Coord my; /**< Momentum on Y */
12431      };
12432
12433    /**
12434     * @typedef Elm_Gesture_Momentum_Info
12435     * holds momentum info for user
12436     * @ingroup Elm_Gesture_Layer
12437     */
12438     typedef struct _Elm_Gesture_Momentum_Info Elm_Gesture_Momentum_Info;
12439
12440    /**
12441     * @struct _Elm_Gesture_Line_Info
12442     * Struct holds line info for user
12443     * @ingroup Elm_Gesture_Layer
12444     */
12445    struct _Elm_Gesture_Line_Info
12446      {  /* Report line ends, timestamps, and momentum computed      */
12447         Elm_Gesture_Momentum_Info momentum; /**< Line momentum info */
12448         unsigned int n;            /**< Number of fingers (lines)   */
12449         /* FIXME should be radians, bot degrees */
12450         double angle;              /**< Angle (direction) of lines  */
12451      };
12452
12453    /**
12454     * @typedef Elm_Gesture_Line_Info
12455     * Holds line info for user
12456     * @ingroup Elm_Gesture_Layer
12457     */
12458     typedef struct  _Elm_Gesture_Line_Info Elm_Gesture_Line_Info;
12459
12460    /**
12461     * @struct _Elm_Gesture_Zoom_Info
12462     * Struct holds zoom info for user
12463     * @ingroup Elm_Gesture_Layer
12464     */
12465    struct _Elm_Gesture_Zoom_Info
12466      {
12467         Evas_Coord x, y;       /**< Holds zoom center point reported to user  */
12468         Evas_Coord radius; /**< Holds radius between fingers reported to user */
12469         double zoom;            /**< Zoom value: 1.0 means no zoom             */
12470         double momentum;        /**< Zoom momentum: zoom growth per second (NOT YET SUPPORTED) */
12471      };
12472
12473    /**
12474     * @typedef Elm_Gesture_Zoom_Info
12475     * Holds zoom info for user
12476     * @ingroup Elm_Gesture_Layer
12477     */
12478    typedef struct _Elm_Gesture_Zoom_Info Elm_Gesture_Zoom_Info;
12479
12480    /**
12481     * @struct _Elm_Gesture_Rotate_Info
12482     * Struct holds rotation info for user
12483     * @ingroup Elm_Gesture_Layer
12484     */
12485    struct _Elm_Gesture_Rotate_Info
12486      {
12487         Evas_Coord x, y;   /**< Holds zoom center point reported to user      */
12488         Evas_Coord radius; /**< Holds radius between fingers reported to user */
12489         double base_angle; /**< Holds start-angle */
12490         double angle;      /**< Rotation value: 0.0 means no rotation         */
12491         double momentum;   /**< Rotation momentum: rotation done per second (NOT YET SUPPORTED) */
12492      };
12493
12494    /**
12495     * @typedef Elm_Gesture_Rotate_Info
12496     * Holds rotation info for user
12497     * @ingroup Elm_Gesture_Layer
12498     */
12499    typedef struct _Elm_Gesture_Rotate_Info Elm_Gesture_Rotate_Info;
12500
12501    /**
12502     * @typedef Elm_Gesture_Event_Cb
12503     * User callback used to stream gesture info from gesture layer
12504     * @param data user data
12505     * @param event_info gesture report info
12506     * Returns a flag field to be applied on the causing event.
12507     * You should probably return EVAS_EVENT_FLAG_ON_HOLD if your widget acted
12508     * upon the event, in an irreversible way.
12509     *
12510     * @ingroup Elm_Gesture_Layer
12511     */
12512    typedef Evas_Event_Flags (*Elm_Gesture_Event_Cb) (void *data, void *event_info);
12513
12514    /**
12515     * Use function to set callbacks to be notified about
12516     * change of state of gesture.
12517     * When a user registers a callback with this function
12518     * this means this gesture has to be tested.
12519     *
12520     * When ALL callbacks for a gesture are set to NULL
12521     * it means user isn't interested in gesture-state
12522     * and it will not be tested.
12523     *
12524     * @param obj Pointer to gesture-layer.
12525     * @param idx The gesture you would like to track its state.
12526     * @param cb callback function pointer.
12527     * @param cb_type what event this callback tracks: START, MOVE, END, ABORT.
12528     * @param data user info to be sent to callback (usually, Smart Data)
12529     *
12530     * @ingroup Elm_Gesture_Layer
12531     */
12532    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);
12533
12534    /**
12535     * Call this function to get repeat-events settings.
12536     *
12537     * @param obj Pointer to gesture-layer.
12538     *
12539     * @return repeat events settings.
12540     * @see elm_gesture_layer_hold_events_set()
12541     * @ingroup Elm_Gesture_Layer
12542     */
12543    EAPI Eina_Bool elm_gesture_layer_hold_events_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
12544
12545    /**
12546     * This function called in order to make gesture-layer repeat events.
12547     * Set this of you like to get the raw events only if gestures were not detected.
12548     * Clear this if you like gesture layer to fwd events as testing gestures.
12549     *
12550     * @param obj Pointer to gesture-layer.
12551     * @param r Repeat: TRUE/FALSE
12552     *
12553     * @ingroup Elm_Gesture_Layer
12554     */
12555    EAPI void elm_gesture_layer_hold_events_set(Evas_Object *obj, Eina_Bool r) EINA_ARG_NONNULL(1);
12556
12557    /**
12558     * This function sets step-value for zoom action.
12559     * Set step to any positive value.
12560     * Cancel step setting by setting to 0.0
12561     *
12562     * @param obj Pointer to gesture-layer.
12563     * @param s new zoom step value.
12564     *
12565     * @ingroup Elm_Gesture_Layer
12566     */
12567    EAPI void elm_gesture_layer_zoom_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
12568
12569    /**
12570     * This function sets step-value for rotate action.
12571     * Set step to any positive value.
12572     * Cancel step setting by setting to 0.0
12573     *
12574     * @param obj Pointer to gesture-layer.
12575     * @param s new roatate step value.
12576     *
12577     * @ingroup Elm_Gesture_Layer
12578     */
12579    EAPI void elm_gesture_layer_rotate_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
12580
12581    /**
12582     * This function called to attach gesture-layer to an Evas_Object.
12583     * @param obj Pointer to gesture-layer.
12584     * @param t Pointer to underlying object (AKA Target)
12585     *
12586     * @return TRUE, FALSE on success, failure.
12587     *
12588     * @ingroup Elm_Gesture_Layer
12589     */
12590    EAPI Eina_Bool elm_gesture_layer_attach(Evas_Object *obj, Evas_Object *t) EINA_ARG_NONNULL(1, 2);
12591
12592    /**
12593     * Call this function to construct a new gesture-layer object.
12594     * This does not activate the gesture layer. You have to
12595     * call elm_gesture_layer_attach in order to 'activate' gesture-layer.
12596     *
12597     * @param parent the parent object.
12598     *
12599     * @return Pointer to new gesture-layer object.
12600     *
12601     * @ingroup Elm_Gesture_Layer
12602     */
12603    EAPI Evas_Object *elm_gesture_layer_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12604
12605    /**
12606     * @defgroup Thumb Thumb
12607     *
12608     * @image html img/widget/thumb/preview-00.png
12609     * @image latex img/widget/thumb/preview-00.eps
12610     *
12611     * A thumb object is used for displaying the thumbnail of an image or video.
12612     * You must have compiled Elementary with Ethumb_Client support and the DBus
12613     * service must be present and auto-activated in order to have thumbnails to
12614     * be generated.
12615     *
12616     * Once the thumbnail object becomes visible, it will check if there is a
12617     * previously generated thumbnail image for the file set on it. If not, it
12618     * will start generating this thumbnail.
12619     *
12620     * Different config settings will cause different thumbnails to be generated
12621     * even on the same file.
12622     *
12623     * Generated thumbnails are stored under @c $HOME/.thumbnails/. Check the
12624     * Ethumb documentation to change this path, and to see other configuration
12625     * options.
12626     *
12627     * Signals that you can add callbacks for are:
12628     *
12629     * - "clicked" - This is called when a user has clicked the thumb without dragging
12630     *             around.
12631     * - "clicked,double" - This is called when a user has double-clicked the thumb.
12632     * - "press" - This is called when a user has pressed down the thumb.
12633     * - "generate,start" - The thumbnail generation started.
12634     * - "generate,stop" - The generation process stopped.
12635     * - "generate,error" - The generation failed.
12636     * - "load,error" - The thumbnail image loading failed.
12637     *
12638     * available styles:
12639     * - default
12640     * - noframe
12641     *
12642     * An example of use of thumbnail:
12643     *
12644     * - @ref thumb_example_01
12645     */
12646
12647    /**
12648     * @addtogroup Thumb
12649     * @{
12650     */
12651
12652    /**
12653     * @enum _Elm_Thumb_Animation_Setting
12654     * @typedef Elm_Thumb_Animation_Setting
12655     *
12656     * Used to set if a video thumbnail is animating or not.
12657     *
12658     * @ingroup Thumb
12659     */
12660    typedef enum _Elm_Thumb_Animation_Setting
12661      {
12662         ELM_THUMB_ANIMATION_START = 0, /**< Play animation once */
12663         ELM_THUMB_ANIMATION_LOOP,      /**< Keep playing animation until stop is requested */
12664         ELM_THUMB_ANIMATION_STOP,      /**< Stop playing the animation */
12665         ELM_THUMB_ANIMATION_LAST
12666      } Elm_Thumb_Animation_Setting;
12667
12668    /**
12669     * Add a new thumb object to the parent.
12670     *
12671     * @param parent The parent object.
12672     * @return The new object or NULL if it cannot be created.
12673     *
12674     * @see elm_thumb_file_set()
12675     * @see elm_thumb_ethumb_client_get()
12676     *
12677     * @ingroup Thumb
12678     */
12679    EAPI Evas_Object                 *elm_thumb_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12680    /**
12681     * Reload thumbnail if it was generated before.
12682     *
12683     * @param obj The thumb object to reload
12684     *
12685     * This is useful if the ethumb client configuration changed, like its
12686     * size, aspect or any other property one set in the handle returned
12687     * by elm_thumb_ethumb_client_get().
12688     *
12689     * If the options didn't change, the thumbnail won't be generated again, but
12690     * the old one will still be used.
12691     *
12692     * @see elm_thumb_file_set()
12693     *
12694     * @ingroup Thumb
12695     */
12696    EAPI void                         elm_thumb_reload(Evas_Object *obj) EINA_ARG_NONNULL(1);
12697    /**
12698     * Set the file that will be used as thumbnail.
12699     *
12700     * @param obj The thumb object.
12701     * @param file The path to file that will be used as thumb.
12702     * @param key The key used in case of an EET file.
12703     *
12704     * The file can be an image or a video (in that case, acceptable extensions are:
12705     * avi, mp4, ogv, mov, mpg and wmv). To start the video animation, use the
12706     * function elm_thumb_animate().
12707     *
12708     * @see elm_thumb_file_get()
12709     * @see elm_thumb_reload()
12710     * @see elm_thumb_animate()
12711     *
12712     * @ingroup Thumb
12713     */
12714    EAPI void                         elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key) EINA_ARG_NONNULL(1);
12715    /**
12716     * Get the image or video path and key used to generate the thumbnail.
12717     *
12718     * @param obj The thumb object.
12719     * @param file Pointer to filename.
12720     * @param key Pointer to key.
12721     *
12722     * @see elm_thumb_file_set()
12723     * @see elm_thumb_path_get()
12724     *
12725     * @ingroup Thumb
12726     */
12727    EAPI void                         elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
12728    /**
12729     * Get the path and key to the image or video generated by ethumb.
12730     *
12731     * One just need to make sure that the thumbnail was generated before getting
12732     * its path; otherwise, the path will be NULL. One way to do that is by asking
12733     * for the path when/after the "generate,stop" smart callback is called.
12734     *
12735     * @param obj The thumb object.
12736     * @param file Pointer to thumb path.
12737     * @param key Pointer to thumb key.
12738     *
12739     * @see elm_thumb_file_get()
12740     *
12741     * @ingroup Thumb
12742     */
12743    EAPI void                         elm_thumb_path_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
12744    /**
12745     * Set the animation state for the thumb object. If its content is an animated
12746     * video, you may start/stop the animation or tell it to play continuously and
12747     * looping.
12748     *
12749     * @param obj The thumb object.
12750     * @param setting The animation setting.
12751     *
12752     * @see elm_thumb_file_set()
12753     *
12754     * @ingroup Thumb
12755     */
12756    EAPI void                         elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s) EINA_ARG_NONNULL(1);
12757    /**
12758     * Get the animation state for the thumb object.
12759     *
12760     * @param obj The thumb object.
12761     * @return getting The animation setting or @c ELM_THUMB_ANIMATION_LAST,
12762     * on errors.
12763     *
12764     * @see elm_thumb_animate_set()
12765     *
12766     * @ingroup Thumb
12767     */
12768    EAPI Elm_Thumb_Animation_Setting  elm_thumb_animate_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12769    /**
12770     * Get the ethumb_client handle so custom configuration can be made.
12771     *
12772     * @return Ethumb_Client instance or NULL.
12773     *
12774     * This must be called before the objects are created to be sure no object is
12775     * visible and no generation started.
12776     *
12777     * Example of usage:
12778     *
12779     * @code
12780     * #include <Elementary.h>
12781     * #ifndef ELM_LIB_QUICKLAUNCH
12782     * EAPI_MAIN int
12783     * elm_main(int argc, char **argv)
12784     * {
12785     *    Ethumb_Client *client;
12786     *
12787     *    elm_need_ethumb();
12788     *
12789     *    // ... your code
12790     *
12791     *    client = elm_thumb_ethumb_client_get();
12792     *    if (!client)
12793     *      {
12794     *         ERR("could not get ethumb_client");
12795     *         return 1;
12796     *      }
12797     *    ethumb_client_size_set(client, 100, 100);
12798     *    ethumb_client_crop_align_set(client, 0.5, 0.5);
12799     *    // ... your code
12800     *
12801     *    // Create elm_thumb objects here
12802     *
12803     *    elm_run();
12804     *    elm_shutdown();
12805     *    return 0;
12806     * }
12807     * #endif
12808     * ELM_MAIN()
12809     * @endcode
12810     *
12811     * @note There's only one client handle for Ethumb, so once a configuration
12812     * change is done to it, any other request for thumbnails (for any thumbnail
12813     * object) will use that configuration. Thus, this configuration is global.
12814     *
12815     * @ingroup Thumb
12816     */
12817    EAPI void                        *elm_thumb_ethumb_client_get(void);
12818    /**
12819     * Get the ethumb_client connection state.
12820     *
12821     * @return EINA_TRUE if the client is connected to the server or EINA_FALSE
12822     * otherwise.
12823     */
12824    EAPI Eina_Bool                    elm_thumb_ethumb_client_connected(void);
12825    /**
12826     * Make the thumbnail 'editable'.
12827     *
12828     * @param obj Thumb object.
12829     * @param set Turn on or off editability. Default is @c EINA_FALSE.
12830     *
12831     * This means the thumbnail is a valid drag target for drag and drop, and can be
12832     * cut or pasted too.
12833     *
12834     * @see elm_thumb_editable_get()
12835     *
12836     * @ingroup Thumb
12837     */
12838    EAPI Eina_Bool                    elm_thumb_editable_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
12839    /**
12840     * Make the thumbnail 'editable'.
12841     *
12842     * @param obj Thumb object.
12843     * @return Editability.
12844     *
12845     * This means the thumbnail is a valid drag target for drag and drop, and can be
12846     * cut or pasted too.
12847     *
12848     * @see elm_thumb_editable_set()
12849     *
12850     * @ingroup Thumb
12851     */
12852    EAPI Eina_Bool                    elm_thumb_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12853
12854    /**
12855     * @}
12856     */
12857
12858    /**
12859     * @defgroup Web Web
12860     *
12861     * @image html img/widget/web/preview-00.png
12862     * @image latex img/widget/web/preview-00.eps
12863     *
12864     * A web object is used for displaying web pages (HTML/CSS/JS)
12865     * using WebKit-EFL. You must have compiled Elementary with
12866     * ewebkit support.
12867     *
12868     * Signals that you can add callbacks for are:
12869     * @li "download,request": A file download has been requested. Event info is
12870     * a pointer to a Elm_Web_Download
12871     * @li "editorclient,contents,changed": Editor client's contents changed
12872     * @li "editorclient,selection,changed": Editor client's selection changed
12873     * @li "frame,created": A new frame was created. Event info is an
12874     * Evas_Object which can be handled with WebKit's ewk_frame API
12875     * @li "icon,received": An icon was received by the main frame
12876     * @li "inputmethod,changed": Input method changed. Event info is an
12877     * Eina_Bool indicating whether it's enabled or not
12878     * @li "js,windowobject,clear": JS window object has been cleared
12879     * @li "link,hover,in": Mouse cursor is hovering over a link. Event info
12880     * is a char *link[2], where the first string contains the URL the link
12881     * points to, and the second one the title of the link
12882     * @li "link,hover,out": Mouse cursor left the link
12883     * @li "load,document,finished": Loading of a document finished. Event info
12884     * is the frame that finished loading
12885     * @li "load,error": Load failed. Event info is a pointer to
12886     * Elm_Web_Frame_Load_Error
12887     * @li "load,finished": Load finished. Event info is NULL on success, on
12888     * error it's a pointer to Elm_Web_Frame_Load_Error
12889     * @li "load,newwindow,show": A new window was created and is ready to be
12890     * shown
12891     * @li "load,progress": Overall load progress. Event info is a pointer to
12892     * a double containing a value between 0.0 and 1.0
12893     * @li "load,provisional": Started provisional load
12894     * @li "load,started": Loading of a document started
12895     * @li "menubar,visible,get": Queries if the menubar is visible. Event info
12896     * is a pointer to Eina_Bool where the callback should set EINA_TRUE if
12897     * the menubar is visible, or EINA_FALSE in case it's not
12898     * @li "menubar,visible,set": Informs menubar visibility. Event info is
12899     * an Eina_Bool indicating the visibility
12900     * @li "popup,created": A dropdown widget was activated, requesting its
12901     * popup menu to be created. Event info is a pointer to Elm_Web_Menu
12902     * @li "popup,willdelete": The web object is ready to destroy the popup
12903     * object created. Event info is a pointer to Elm_Web_Menu
12904     * @li "ready": Page is fully loaded
12905     * @li "scrollbars,visible,get": Queries visibility of scrollbars. Event
12906     * info is a pointer to Eina_Bool where the visibility state should be set
12907     * @li "scrollbars,visible,set": Informs scrollbars visibility. Event info
12908     * is an Eina_Bool with the visibility state set
12909     * @li "statusbar,text,set": Text of the statusbar changed. Even info is
12910     * a string with the new text
12911     * @li "statusbar,visible,get": Queries visibility of the status bar.
12912     * Event info is a pointer to Eina_Bool where the visibility state should be
12913     * set.
12914     * @li "statusbar,visible,set": Informs statusbar visibility. Event info is
12915     * an Eina_Bool with the visibility value
12916     * @li "title,changed": Title of the main frame changed. Event info is a
12917     * string with the new title
12918     * @li "toolbars,visible,get": Queries visibility of toolbars. Event info
12919     * is a pointer to Eina_Bool where the visibility state should be set
12920     * @li "toolbars,visible,set": Informs the visibility of toolbars. Event
12921     * info is an Eina_Bool with the visibility state
12922     * @li "tooltip,text,set": Show and set text of a tooltip. Event info is
12923     * a string with the text to show
12924     * @li "uri,changed": URI of the main frame changed. Event info is a string
12925     * with the new URI
12926     * @li "view,resized": The web object internal's view changed sized
12927     * @li "windows,close,request": A JavaScript request to close the current
12928     * window was requested
12929     * @li "zoom,animated,end": Animated zoom finished
12930     *
12931     * available styles:
12932     * - default
12933     *
12934     * An example of use of web:
12935     *
12936     * - @ref web_example_01 TBD
12937     */
12938
12939    /**
12940     * @addtogroup Web
12941     * @{
12942     */
12943
12944    /**
12945     * Structure used to report load errors.
12946     *
12947     * Load errors are reported as signal by elm_web. All the strings are
12948     * temporary references and should @b not be used after the signal
12949     * callback returns. If it's required, make copies with strdup() or
12950     * eina_stringshare_add() (they are not even guaranteed to be
12951     * stringshared, so must use eina_stringshare_add() and not
12952     * eina_stringshare_ref()).
12953     */
12954    typedef struct _Elm_Web_Frame_Load_Error Elm_Web_Frame_Load_Error;
12955    /**
12956     * Structure used to report load errors.
12957     *
12958     * Load errors are reported as signal by elm_web. All the strings are
12959     * temporary references and should @b not be used after the signal
12960     * callback returns. If it's required, make copies with strdup() or
12961     * eina_stringshare_add() (they are not even guaranteed to be
12962     * stringshared, so must use eina_stringshare_add() and not
12963     * eina_stringshare_ref()).
12964     */
12965    struct _Elm_Web_Frame_Load_Error
12966      {
12967         int code; /**< Numeric error code */
12968         Eina_Bool is_cancellation; /**< Error produced by cancelling a request */
12969         const char *domain; /**< Error domain name */
12970         const char *description; /**< Error description (already localized) */
12971         const char *failing_url; /**< The URL that failed to load */
12972         Evas_Object *frame; /**< Frame object that produced the error */
12973      };
12974
12975    /**
12976     * The possibles types that the items in a menu can be
12977     */
12978    typedef enum _Elm_Web_Menu_Item_Type Elm_Web_Menu_Item_Type;
12979    /**
12980     * The possibles types that the items in a menu can be
12981     */
12982    enum _Elm_Web_Menu_Item_Type
12983      {
12984         ELM_WEB_MENU_SEPARATOR,
12985         ELM_WEB_MENU_GROUP,
12986         ELM_WEB_MENU_OPTION
12987      };
12988
12989    /**
12990     * Structure describing the items in a menu
12991     */
12992    typedef struct _Elm_Web_Menu_Item Elm_Web_Menu_Item;
12993    /**
12994     * Structure describing the items in a menu
12995     */
12996    struct _Elm_Web_Menu_Item
12997      {
12998         const char *text; /**< The text for the item */
12999         Elm_Web_Menu_Item_Type type; /**< The type of the item */
13000      };
13001
13002    /**
13003     * Structure describing the menu of a popup
13004     *
13005     * This structure will be passed as the @c event_info for the "popup,create"
13006     * signal, which is emitted when a dropdown menu is opened. Users wanting
13007     * to handle these popups by themselves should listen to this signal and
13008     * set the @c handled property of the struct to @c EINA_TRUE. Leaving this
13009     * property as @c EINA_FALSE means that the user will not handle the popup
13010     * and the default implementation will be used.
13011     *
13012     * When the popup is ready to be dismissed, a "popup,willdelete" signal
13013     * will be emitted to notify the user that it can destroy any objects and
13014     * free all data related to it.
13015     *
13016     * @see elm_web_popup_selected_set()
13017     * @see elm_web_popup_destroy()
13018     */
13019    typedef struct _Elm_Web_Menu Elm_Web_Menu;
13020    /**
13021     * Structure describing the menu of a popup
13022     *
13023     * This structure will be passed as the @c event_info for the "popup,create"
13024     * signal, which is emitted when a dropdown menu is opened. Users wanting
13025     * to handle these popups by themselves should listen to this signal and
13026     * set the @c handled property of the struct to @c EINA_TRUE. Leaving this
13027     * property as @c EINA_FALSE means that the user will not handle the popup
13028     * and the default implementation will be used.
13029     *
13030     * When the popup is ready to be dismissed, a "popup,willdelete" signal
13031     * will be emitted to notify the user that it can destroy any objects and
13032     * free all data related to it.
13033     *
13034     * @see elm_web_popup_selected_set()
13035     * @see elm_web_popup_destroy()
13036     */
13037    struct _Elm_Web_Menu
13038      {
13039         Eina_List *items; /**< List of #Elm_Web_Menu_Item */
13040         int x; /**< The X position of the popup, relative to the elm_web object */
13041         int y; /**< The Y position of the popup, relative to the elm_web object */
13042         int width; /**< Width of the popup menu */
13043         int height; /**< Height of the popup menu */
13044
13045         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. */
13046      };
13047
13048    typedef struct _Elm_Web_Download Elm_Web_Download;
13049    struct _Elm_Web_Download
13050      {
13051         const char *url;
13052      };
13053
13054    /**
13055     * Opaque handler containing the features (such as statusbar, menubar, etc)
13056     * that are to be set on a newly requested window.
13057     */
13058    typedef struct _Elm_Web_Window_Features Elm_Web_Window_Features;
13059    /**
13060     * Callback type for the create_window hook.
13061     *
13062     * The function parameters are:
13063     * @li @p data User data pointer set when setting the hook function
13064     * @li @p obj The elm_web object requesting the new window
13065     * @li @p js Set to @c EINA_TRUE if the request was originated from
13066     * JavaScript. @c EINA_FALSE otherwise.
13067     * @li @p window_features A pointer of #Elm_Web_Window_Features indicating
13068     * the features requested for the new window.
13069     *
13070     * The returned value of the function should be the @c elm_web widget where
13071     * the request will be loaded. That is, if a new window or tab is created,
13072     * the elm_web widget in it should be returned, and @b NOT the window
13073     * object.
13074     * Returning @c NULL should cancel the request.
13075     *
13076     * @see elm_web_window_create_hook_set()
13077     */
13078    typedef Evas_Object *(*Elm_Web_Window_Open)(void *data, Evas_Object *obj, Eina_Bool js, const Elm_Web_Window_Features *window_features);
13079    /**
13080     * Callback type for the JS alert hook.
13081     *
13082     * The function parameters are:
13083     * @li @p data User data pointer set when setting the hook function
13084     * @li @p obj The elm_web object requesting the new window
13085     * @li @p message The message to show in the alert dialog
13086     *
13087     * The function should return the object representing the alert dialog.
13088     * Elm_Web will run a second main loop to handle the dialog and normal
13089     * flow of the application will be restored when the object is deleted, so
13090     * the user should handle the popup properly in order to delete the object
13091     * when the action is finished.
13092     * If the function returns @c NULL the popup will be ignored.
13093     *
13094     * @see elm_web_dialog_alert_hook_set()
13095     */
13096    typedef Evas_Object *(*Elm_Web_Dialog_Alert)(void *data, Evas_Object *obj, const char *message);
13097    /**
13098     * Callback type for the JS confirm hook.
13099     *
13100     * The function parameters are:
13101     * @li @p data User data pointer set when setting the hook function
13102     * @li @p obj The elm_web object requesting the new window
13103     * @li @p message The message to show in the confirm dialog
13104     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13105     * the user selected @c Ok, @c EINA_FALSE otherwise.
13106     *
13107     * The function should return the object representing the confirm dialog.
13108     * Elm_Web will run a second main loop to handle the dialog and normal
13109     * flow of the application will be restored when the object is deleted, so
13110     * the user should handle the popup properly in order to delete the object
13111     * when the action is finished.
13112     * If the function returns @c NULL the popup will be ignored.
13113     *
13114     * @see elm_web_dialog_confirm_hook_set()
13115     */
13116    typedef Evas_Object *(*Elm_Web_Dialog_Confirm)(void *data, Evas_Object *obj, const char *message, Eina_Bool *ret);
13117    /**
13118     * Callback type for the JS prompt hook.
13119     *
13120     * The function parameters are:
13121     * @li @p data User data pointer set when setting the hook function
13122     * @li @p obj The elm_web object requesting the new window
13123     * @li @p message The message to show in the prompt dialog
13124     * @li @p def_value The default value to present the user in the entry
13125     * @li @p value Pointer where to store the value given by the user. Must
13126     * be a malloc'ed string or @c NULL if the user cancelled the popup.
13127     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13128     * the user selected @c Ok, @c EINA_FALSE otherwise.
13129     *
13130     * The function should return the object representing the prompt dialog.
13131     * Elm_Web will run a second main loop to handle the dialog and normal
13132     * flow of the application will be restored when the object is deleted, so
13133     * the user should handle the popup properly in order to delete the object
13134     * when the action is finished.
13135     * If the function returns @c NULL the popup will be ignored.
13136     *
13137     * @see elm_web_dialog_prompt_hook_set()
13138     */
13139    typedef Evas_Object *(*Elm_Web_Dialog_Prompt)(void *data, Evas_Object *obj, const char *message, const char *def_value, char **value, Eina_Bool *ret);
13140    /**
13141     * Callback type for the JS file selector hook.
13142     *
13143     * The function parameters are:
13144     * @li @p data User data pointer set when setting the hook function
13145     * @li @p obj The elm_web object requesting the new window
13146     * @li @p allows_multiple @c EINA_TRUE if multiple files can be selected.
13147     * @li @p accept_types Mime types accepted
13148     * @li @p selected Pointer where to store the list of malloc'ed strings
13149     * containing the path to each file selected. Must be @c NULL if the file
13150     * dialog is cancelled
13151     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13152     * the user selected @c Ok, @c EINA_FALSE otherwise.
13153     *
13154     * The function should return the object representing the file selector
13155     * dialog.
13156     * Elm_Web will run a second main loop to handle the dialog and normal
13157     * flow of the application will be restored when the object is deleted, so
13158     * the user should handle the popup properly in order to delete the object
13159     * when the action is finished.
13160     * If the function returns @c NULL the popup will be ignored.
13161     *
13162     * @see elm_web_dialog_file selector_hook_set()
13163     */
13164    typedef Evas_Object *(*Elm_Web_Dialog_File_Selector)(void *data, Evas_Object *obj, Eina_Bool allows_multiple, const char *accept_types, Eina_List **selected, Eina_Bool *ret);
13165    /**
13166     * Callback type for the JS console message hook.
13167     *
13168     * When a console message is added from JavaScript, any set function to the
13169     * console message hook will be called for the user to handle. There is no
13170     * default implementation of this hook.
13171     *
13172     * The function parameters are:
13173     * @li @p data User data pointer set when setting the hook function
13174     * @li @p obj The elm_web object that originated the message
13175     * @li @p message The message sent
13176     * @li @p line_number The line number
13177     * @li @p source_id Source id
13178     *
13179     * @see elm_web_console_message_hook_set()
13180     */
13181    typedef void (*Elm_Web_Console_Message)(void *data, Evas_Object *obj, const char *message, unsigned int line_number, const char *source_id);
13182    /**
13183     * Add a new web object to the parent.
13184     *
13185     * @param parent The parent object.
13186     * @return The new object or NULL if it cannot be created.
13187     *
13188     * @see elm_web_uri_set()
13189     * @see elm_web_webkit_view_get()
13190     */
13191    EAPI Evas_Object                 *elm_web_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13192
13193    /**
13194     * Get internal ewk_view object from web object.
13195     *
13196     * Elementary may not provide some low level features of EWebKit,
13197     * instead of cluttering the API with proxy methods we opted to
13198     * return the internal reference. Be careful using it as it may
13199     * interfere with elm_web behavior.
13200     *
13201     * @param obj The web object.
13202     * @return The internal ewk_view object or NULL if it does not
13203     *         exist. (Failure to create or Elementary compiled without
13204     *         ewebkit)
13205     *
13206     * @see elm_web_add()
13207     */
13208    EAPI Evas_Object                 *elm_web_webkit_view_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13209
13210    /**
13211     * Sets the function to call when a new window is requested
13212     *
13213     * This hook will be called when a request to create a new window is
13214     * issued from the web page loaded.
13215     * There is no default implementation for this feature, so leaving this
13216     * unset or passing @c NULL in @p func will prevent new windows from
13217     * opening.
13218     *
13219     * @param obj The web object where to set the hook function
13220     * @param func The hook function to be called when a window is requested
13221     * @param data User data
13222     */
13223    EAPI void                         elm_web_window_create_hook_set(Evas_Object *obj, Elm_Web_Window_Open func, void *data);
13224    /**
13225     * Sets the function to call when an alert dialog
13226     *
13227     * This hook will be called when a JavaScript alert dialog is requested.
13228     * If no function is set or @c NULL is passed in @p func, the default
13229     * implementation will take place.
13230     *
13231     * @param obj The web object where to set the hook function
13232     * @param func The callback function to be used
13233     * @param data User data
13234     *
13235     * @see elm_web_inwin_mode_set()
13236     */
13237    EAPI void                         elm_web_dialog_alert_hook_set(Evas_Object *obj, Elm_Web_Dialog_Alert func, void *data);
13238    /**
13239     * Sets the function to call when an confirm dialog
13240     *
13241     * This hook will be called when a JavaScript confirm dialog is requested.
13242     * If no function is set or @c NULL is passed in @p func, the default
13243     * implementation will take place.
13244     *
13245     * @param obj The web object where to set the hook function
13246     * @param func The callback function to be used
13247     * @param data User data
13248     *
13249     * @see elm_web_inwin_mode_set()
13250     */
13251    EAPI void                         elm_web_dialog_confirm_hook_set(Evas_Object *obj, Elm_Web_Dialog_Confirm func, void *data);
13252    /**
13253     * Sets the function to call when an prompt dialog
13254     *
13255     * This hook will be called when a JavaScript prompt dialog is requested.
13256     * If no function is set or @c NULL is passed in @p func, the default
13257     * implementation will take place.
13258     *
13259     * @param obj The web object where to set the hook function
13260     * @param func The callback function to be used
13261     * @param data User data
13262     *
13263     * @see elm_web_inwin_mode_set()
13264     */
13265    EAPI void                         elm_web_dialog_prompt_hook_set(Evas_Object *obj, Elm_Web_Dialog_Prompt func, void *data);
13266    /**
13267     * Sets the function to call when an file selector dialog
13268     *
13269     * This hook will be called when a JavaScript file selector dialog is
13270     * requested.
13271     * If no function is set or @c NULL is passed in @p func, the default
13272     * implementation will take place.
13273     *
13274     * @param obj The web object where to set the hook function
13275     * @param func The callback function to be used
13276     * @param data User data
13277     *
13278     * @see elm_web_inwin_mode_set()
13279     */
13280    EAPI void                         elm_web_dialog_file_selector_hook_set(Evas_Object *obj, Elm_Web_Dialog_File_Selector func, void *data);
13281    /**
13282     * Sets the function to call when a console message is emitted from JS
13283     *
13284     * This hook will be called when a console message is emitted from
13285     * JavaScript. There is no default implementation for this feature.
13286     *
13287     * @param obj The web object where to set the hook function
13288     * @param func The callback function to be used
13289     * @param data User data
13290     */
13291    EAPI void                         elm_web_console_message_hook_set(Evas_Object *obj, Elm_Web_Console_Message func, void *data);
13292    /**
13293     * Gets the status of the tab propagation
13294     *
13295     * @param obj The web object to query
13296     * @return EINA_TRUE if tab propagation is enabled, EINA_FALSE otherwise
13297     *
13298     * @see elm_web_tab_propagate_set()
13299     */
13300    EAPI Eina_Bool                    elm_web_tab_propagate_get(const Evas_Object *obj);
13301    /**
13302     * Sets whether to use tab propagation
13303     *
13304     * If tab propagation is enabled, whenever the user presses the Tab key,
13305     * Elementary will handle it and switch focus to the next widget.
13306     * The default value is disabled, where WebKit will handle the Tab key to
13307     * cycle focus though its internal objects, jumping to the next widget
13308     * only when that cycle ends.
13309     *
13310     * @param obj The web object
13311     * @param propagate Whether to propagate Tab keys to Elementary or not
13312     */
13313    EAPI void                         elm_web_tab_propagate_set(Evas_Object *obj, Eina_Bool propagate);
13314    /**
13315     * Sets the URI for the web object
13316     *
13317     * It must be a full URI, with resource included, in the form
13318     * http://www.enlightenment.org or file:///tmp/something.html
13319     *
13320     * @param obj The web object
13321     * @param uri The URI to set
13322     * @return EINA_TRUE if the URI could be, EINA_FALSE if an error occurred
13323     */
13324    EAPI Eina_Bool                    elm_web_uri_set(Evas_Object *obj, const char *uri);
13325    /**
13326     * Gets the current URI for the object
13327     *
13328     * The returned string must not be freed and is guaranteed to be
13329     * stringshared.
13330     *
13331     * @param obj The web object
13332     * @return A stringshared internal string with the current URI, or NULL on
13333     * failure
13334     */
13335    EAPI const char                  *elm_web_uri_get(const Evas_Object *obj);
13336    /**
13337     * Gets the current title
13338     *
13339     * The returned string must not be freed and is guaranteed to be
13340     * stringshared.
13341     *
13342     * @param obj The web object
13343     * @return A stringshared internal string with the current title, or NULL on
13344     * failure
13345     */
13346    EAPI const char                  *elm_web_title_get(const Evas_Object *obj);
13347    /**
13348     * Sets the background color to be used by the web object
13349     *
13350     * This is the color that will be used by default when the loaded page
13351     * does not set it's own. Color values are pre-multiplied.
13352     *
13353     * @param obj The web object
13354     * @param r Red component
13355     * @param g Green component
13356     * @param b Blue component
13357     * @param a Alpha component
13358     */
13359    EAPI void                         elm_web_bg_color_set(Evas_Object *obj, int r, int g, int b, int a);
13360    /**
13361     * Gets the background color to be used by the web object
13362     *
13363     * This is the color that will be used by default when the loaded page
13364     * does not set it's own. Color values are pre-multiplied.
13365     *
13366     * @param obj The web object
13367     * @param r Red component
13368     * @param g Green component
13369     * @param b Blue component
13370     * @param a Alpha component
13371     */
13372    EAPI void                         elm_web_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a);
13373    /**
13374     * Gets a copy of the currently selected text
13375     *
13376     * The string returned must be freed by the user when it's done with it.
13377     *
13378     * @param obj The web object
13379     * @return A newly allocated string, or NULL if nothing is selected or an
13380     * error occurred
13381     */
13382    EAPI char                        *elm_view_selection_get(const Evas_Object *obj);
13383    /**
13384     * Tells the web object which index in the currently open popup was selected
13385     *
13386     * When the user handles the popup creation from the "popup,created" signal,
13387     * it needs to tell the web object which item was selected by calling this
13388     * function with the index corresponding to the item.
13389     *
13390     * @param obj The web object
13391     * @param index The index selected
13392     *
13393     * @see elm_web_popup_destroy()
13394     */
13395    EAPI void                         elm_web_popup_selected_set(Evas_Object *obj, int index);
13396    /**
13397     * Dismisses an open dropdown popup
13398     *
13399     * When the popup from a dropdown widget is to be dismissed, either after
13400     * selecting an option or to cancel it, this function must be called, which
13401     * will later emit an "popup,willdelete" signal to notify the user that
13402     * any memory and objects related to this popup can be freed.
13403     *
13404     * @param obj The web object
13405     * @return EINA_TRUE if the menu was successfully destroyed, or EINA_FALSE
13406     * if there was no menu to destroy
13407     */
13408    EAPI Eina_Bool                    elm_web_popup_destroy(Evas_Object *obj);
13409    /**
13410     * Searches the given string in a document.
13411     *
13412     * @param obj The web object where to search the text
13413     * @param string String to search
13414     * @param case_sensitive If search should be case sensitive or not
13415     * @param forward If search is from cursor and on or backwards
13416     * @param wrap If search should wrap at the end
13417     *
13418     * @return @c EINA_TRUE if the given string was found, @c EINA_FALSE if not
13419     * or failure
13420     */
13421    EAPI Eina_Bool                    elm_web_text_search(const Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool forward, Eina_Bool wrap);
13422    /**
13423     * Marks matches of the given string in a document.
13424     *
13425     * @param obj The web object where to search text
13426     * @param string String to match
13427     * @param case_sensitive If match should be case sensitive or not
13428     * @param highlight If matches should be highlighted
13429     * @param limit Maximum amount of matches, or zero to unlimited
13430     *
13431     * @return number of matched @a string
13432     */
13433    EAPI unsigned int                 elm_web_text_matches_mark(Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit);
13434    /**
13435     * Clears all marked matches in the document
13436     *
13437     * @param obj The web object
13438     *
13439     * @return EINA_TRUE on success, EINA_FALSE otherwise
13440     */
13441    EAPI Eina_Bool                    elm_web_text_matches_unmark_all(Evas_Object *obj);
13442    /**
13443     * Sets whether to highlight the matched marks
13444     *
13445     * If enabled, marks set with elm_web_text_matches_mark() will be
13446     * highlighted.
13447     *
13448     * @param obj The web object
13449     * @param highlight Whether to highlight the marks or not
13450     *
13451     * @return EINA_TRUE on success, EINA_FALSE otherwise
13452     */
13453    EAPI Eina_Bool                    elm_web_text_matches_highlight_set(Evas_Object *obj, Eina_Bool highlight);
13454    /**
13455     * Gets whether highlighting marks is enabled
13456     *
13457     * @param The web object
13458     *
13459     * @return EINA_TRUE is marks are set to be highlighted, EINA_FALSE
13460     * otherwise
13461     */
13462    EAPI Eina_Bool                    elm_web_text_matches_highlight_get(const Evas_Object *obj);
13463    /**
13464     * Gets the overall loading progress of the page
13465     *
13466     * Returns the estimated loading progress of the page, with a value between
13467     * 0.0 and 1.0. This is an estimated progress accounting for all the frames
13468     * included in the page.
13469     *
13470     * @param The web object
13471     *
13472     * @return A value between 0.0 and 1.0 indicating the progress, or -1.0 on
13473     * failure
13474     */
13475    EAPI double                       elm_web_load_progress_get(const Evas_Object *obj);
13476    /**
13477     * Stops loading the current page
13478     *
13479     * Cancels the loading of the current page in the web object. This will
13480     * cause a "load,error" signal to be emitted, with the is_cancellation
13481     * flag set to EINA_TRUE.
13482     *
13483     * @param obj The web object
13484     *
13485     * @return EINA_TRUE if the cancel was successful, EINA_FALSE otherwise
13486     */
13487    EAPI Eina_Bool                    elm_web_stop(Evas_Object *obj);
13488    /**
13489     * Requests a reload of the current document in the object
13490     *
13491     * @param obj The web object
13492     *
13493     * @return EINA_TRUE on success, EINA_FALSE otherwise
13494     */
13495    EAPI Eina_Bool                    elm_web_reload(Evas_Object *obj);
13496    /**
13497     * Requests a reload of the current document, avoiding any existing caches
13498     *
13499     * @param obj The web object
13500     *
13501     * @return EINA_TRUE on success, EINA_FALSE otherwise
13502     */
13503    EAPI Eina_Bool                    elm_web_reload_full(Evas_Object *obj);
13504    /**
13505     * Goes back one step in the browsing history
13506     *
13507     * This is equivalent to calling elm_web_object_navigate(obj, -1);
13508     *
13509     * @param obj The web object
13510     *
13511     * @return EINA_TRUE on success, EINA_FALSE otherwise
13512     *
13513     * @see elm_web_history_enable_set()
13514     * @see elm_web_back_possible()
13515     * @see elm_web_forward()
13516     * @see elm_web_navigate()
13517     */
13518    EAPI Eina_Bool                    elm_web_back(Evas_Object *obj);
13519    /**
13520     * Goes forward one step in the browsing history
13521     *
13522     * This is equivalent to calling elm_web_object_navigate(obj, 1);
13523     *
13524     * @param obj The web object
13525     *
13526     * @return EINA_TRUE on success, EINA_FALSE otherwise
13527     *
13528     * @see elm_web_history_enable_set()
13529     * @see elm_web_forward_possible()
13530     * @see elm_web_back()
13531     * @see elm_web_navigate()
13532     */
13533    EAPI Eina_Bool                    elm_web_forward(Evas_Object *obj);
13534    /**
13535     * Jumps the given number of steps in the browsing history
13536     *
13537     * The @p steps value can be a negative integer to back in history, or a
13538     * positive to move forward.
13539     *
13540     * @param obj The web object
13541     * @param steps The number of steps to jump
13542     *
13543     * @return EINA_TRUE on success, EINA_FALSE on error or if not enough
13544     * history exists to jump the given number of steps
13545     *
13546     * @see elm_web_history_enable_set()
13547     * @see elm_web_navigate_possible()
13548     * @see elm_web_back()
13549     * @see elm_web_forward()
13550     */
13551    EAPI Eina_Bool                    elm_web_navigate(Evas_Object *obj, int steps);
13552    /**
13553     * Queries whether it's possible to go back in history
13554     *
13555     * @param obj The web object
13556     *
13557     * @return EINA_TRUE if it's possible to back in history, EINA_FALSE
13558     * otherwise
13559     */
13560    EAPI Eina_Bool                    elm_web_back_possible(Evas_Object *obj);
13561    /**
13562     * Queries whether it's possible to go forward in history
13563     *
13564     * @param obj The web object
13565     *
13566     * @return EINA_TRUE if it's possible to forward in history, EINA_FALSE
13567     * otherwise
13568     */
13569    EAPI Eina_Bool                    elm_web_forward_possible(Evas_Object *obj);
13570    /**
13571     * Queries whether it's possible to jump the given number of steps
13572     *
13573     * The @p steps value can be a negative integer to back in history, or a
13574     * positive to move forward.
13575     *
13576     * @param obj The web object
13577     * @param steps The number of steps to check for
13578     *
13579     * @return EINA_TRUE if enough history exists to perform the given jump,
13580     * EINA_FALSE otherwise
13581     */
13582    EAPI Eina_Bool                    elm_web_navigate_possible(Evas_Object *obj, int steps);
13583    /**
13584     * Gets whether browsing history is enabled for the given object
13585     *
13586     * @param obj The web object
13587     *
13588     * @return EINA_TRUE if history is enabled, EINA_FALSE otherwise
13589     */
13590    EAPI Eina_Bool                    elm_web_history_enable_get(const Evas_Object *obj);
13591    /**
13592     * Enables or disables the browsing history
13593     *
13594     * @param obj The web object
13595     * @param enable Whether to enable or disable the browsing history
13596     */
13597    EAPI void                         elm_web_history_enable_set(Evas_Object *obj, Eina_Bool enable);
13598    /**
13599     * Gets whether text-only zoom is set
13600     *
13601     * @param obj The web object
13602     *
13603     * @return EINA_TRUE if zoom is set to affect only text, EINA_FALSE
13604     * otherwise
13605     *
13606     * @see elm_web_zoom_text_only_set()
13607     */
13608    EAPI Eina_Bool                    elm_web_zoom_text_only_get(const Evas_Object *obj);
13609    /**
13610     * Enables or disables zoom to affect only text
13611     *
13612     * If set, then the zoom level set to the page will only be applied on text,
13613     * leaving other objects, such as images, at their original size.
13614     *
13615     * @param obj The web object
13616     * @param setting EINA_TRUE to use text-only zoom, EINA_FALSE to have zoom
13617     * affect the entire page
13618     */
13619    EAPI void                         elm_web_zoom_text_only_set(Evas_Object *obj, Eina_Bool setting);
13620    /**
13621     * Sets the default dialogs to use an Inwin instead of a normal window
13622     *
13623     * If set, then the default implementation for the JavaScript dialogs and
13624     * file selector will be opened in an Inwin. Otherwise they will use a
13625     * normal separated window.
13626     *
13627     * @param obj The web object
13628     * @param value EINA_TRUE to use Inwin, EINA_FALSE to use a normal window
13629     */
13630    EAPI void                         elm_web_inwin_mode_set(Evas_Object *obj, Eina_Bool value);
13631    /**
13632     * Gets whether Inwin mode is set for the current object
13633     *
13634     * @param obj The web object
13635     *
13636     * @return EINA_TRUE if Inwin mode is set, EINA_FALSE otherwise
13637     */
13638    EAPI Eina_Bool                    elm_web_inwin_mode_get(const Evas_Object *obj);
13639
13640    EAPI void                         elm_web_window_features_ref(Elm_Web_Window_Features *wf);
13641    EAPI void                         elm_web_window_features_unref(Elm_Web_Window_Features *wf);
13642    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);
13643    EAPI void                         elm_web_window_features_int_property_get(const Elm_Web_Window_Features *wf, int *x, int *y, int *w, int *h);
13644
13645    /**
13646     * @}
13647     */
13648
13649    /**
13650     * @defgroup Hoversel Hoversel
13651     *
13652     * @image html img/widget/hoversel/preview-00.png
13653     * @image latex img/widget/hoversel/preview-00.eps
13654     *
13655     * A hoversel is a button that pops up a list of items (automatically
13656     * choosing the direction to display) that have a label and, optionally, an
13657     * icon to select from. It is a convenience widget to avoid the need to do
13658     * all the piecing together yourself. It is intended for a small number of
13659     * items in the hoversel menu (no more than 8), though is capable of many
13660     * more.
13661     *
13662     * Signals that you can add callbacks for are:
13663     * "clicked" - the user clicked the hoversel button and popped up the sel
13664     * "selected" - an item in the hoversel list is selected. event_info is the item
13665     * "dismissed" - the hover is dismissed
13666     *
13667     * See @ref tutorial_hoversel for an example.
13668     * @{
13669     */
13670    typedef struct _Elm_Hoversel_Item Elm_Hoversel_Item; /**< Item of Elm_Hoversel. Sub-type of Elm_Widget_Item */
13671    /**
13672     * @brief Add a new Hoversel object
13673     *
13674     * @param parent The parent object
13675     * @return The new object or NULL if it cannot be created
13676     */
13677    EAPI Evas_Object       *elm_hoversel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13678    /**
13679     * @brief This sets the hoversel to expand horizontally.
13680     *
13681     * @param obj The hoversel object
13682     * @param horizontal If true, the hover will expand horizontally to the
13683     * right.
13684     *
13685     * @note The initial button will display horizontally regardless of this
13686     * setting.
13687     */
13688    EAPI void               elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
13689    /**
13690     * @brief This returns whether the hoversel is set to expand horizontally.
13691     *
13692     * @param obj The hoversel object
13693     * @return If true, the hover will expand horizontally to the right.
13694     *
13695     * @see elm_hoversel_horizontal_set()
13696     */
13697    EAPI Eina_Bool          elm_hoversel_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13698    /**
13699     * @brief Set the Hover parent
13700     *
13701     * @param obj The hoversel object
13702     * @param parent The parent to use
13703     *
13704     * Sets the hover parent object, the area that will be darkened when the
13705     * hoversel is clicked. Should probably be the window that the hoversel is
13706     * in. See @ref Hover objects for more information.
13707     */
13708    EAPI void               elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
13709    /**
13710     * @brief Get the Hover parent
13711     *
13712     * @param obj The hoversel object
13713     * @return The used parent
13714     *
13715     * Gets the hover parent object.
13716     *
13717     * @see elm_hoversel_hover_parent_set()
13718     */
13719    EAPI Evas_Object       *elm_hoversel_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13720    /**
13721     * @brief Set the hoversel button label
13722     *
13723     * @param obj The hoversel object
13724     * @param label The label text.
13725     *
13726     * This sets the label of the button that is always visible (before it is
13727     * clicked and expanded).
13728     *
13729     * @deprecated elm_object_text_set()
13730     */
13731    EINA_DEPRECATED EAPI void               elm_hoversel_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
13732    /**
13733     * @brief Get the hoversel button label
13734     *
13735     * @param obj The hoversel object
13736     * @return The label text.
13737     *
13738     * @deprecated elm_object_text_get()
13739     */
13740    EINA_DEPRECATED EAPI const char        *elm_hoversel_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13741    /**
13742     * @brief Set the icon of the hoversel button
13743     *
13744     * @param obj The hoversel object
13745     * @param icon The icon object
13746     *
13747     * Sets the icon of the button that is always visible (before it is clicked
13748     * and expanded).  Once the icon object is set, a previously set one will be
13749     * deleted, if you want to keep that old content object, use the
13750     * elm_hoversel_icon_unset() function.
13751     *
13752     * @see elm_button_icon_set()
13753     */
13754    EAPI void               elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
13755    /**
13756     * @brief Get the icon of the hoversel button
13757     *
13758     * @param obj The hoversel object
13759     * @return The icon object
13760     *
13761     * Get the icon of the button that is always visible (before it is clicked
13762     * and expanded). Also see elm_button_icon_get().
13763     *
13764     * @see elm_hoversel_icon_set()
13765     */
13766    EAPI Evas_Object       *elm_hoversel_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13767    /**
13768     * @brief Get and unparent the icon of the hoversel button
13769     *
13770     * @param obj The hoversel object
13771     * @return The icon object that was being used
13772     *
13773     * Unparent and return the icon of the button that is always visible
13774     * (before it is clicked and expanded).
13775     *
13776     * @see elm_hoversel_icon_set()
13777     * @see elm_button_icon_unset()
13778     */
13779    EAPI Evas_Object       *elm_hoversel_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
13780    /**
13781     * @brief This triggers the hoversel popup from code, the same as if the user
13782     * had clicked the button.
13783     *
13784     * @param obj The hoversel object
13785     */
13786    EAPI void               elm_hoversel_hover_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
13787    /**
13788     * @brief This dismisses the hoversel popup as if the user had clicked
13789     * outside the hover.
13790     *
13791     * @param obj The hoversel object
13792     */
13793    EAPI void               elm_hoversel_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
13794    /**
13795     * @brief Returns whether the hoversel is expanded.
13796     *
13797     * @param obj The hoversel object
13798     * @return  This will return EINA_TRUE if the hoversel is expanded or
13799     * EINA_FALSE if it is not expanded.
13800     */
13801    EAPI Eina_Bool          elm_hoversel_expanded_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13802    /**
13803     * @brief This will remove all the children items from the hoversel.
13804     *
13805     * @param obj The hoversel object
13806     *
13807     * @warning Should @b not be called while the hoversel is active; use
13808     * elm_hoversel_expanded_get() to check first.
13809     *
13810     * @see elm_hoversel_item_del_cb_set()
13811     * @see elm_hoversel_item_del()
13812     */
13813    EAPI void               elm_hoversel_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
13814    /**
13815     * @brief Get the list of items within the given hoversel.
13816     *
13817     * @param obj The hoversel object
13818     * @return Returns a list of Elm_Hoversel_Item*
13819     *
13820     * @see elm_hoversel_item_add()
13821     */
13822    EAPI const Eina_List   *elm_hoversel_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13823    /**
13824     * @brief Add an item to the hoversel button
13825     *
13826     * @param obj The hoversel object
13827     * @param label The text label to use for the item (NULL if not desired)
13828     * @param icon_file An image file path on disk to use for the icon or standard
13829     * icon name (NULL if not desired)
13830     * @param icon_type The icon type if relevant
13831     * @param func Convenience function to call when this item is selected
13832     * @param data Data to pass to item-related functions
13833     * @return A handle to the item added.
13834     *
13835     * This adds an item to the hoversel to show when it is clicked. Note: if you
13836     * need to use an icon from an edje file then use
13837     * elm_hoversel_item_icon_set() right after the this function, and set
13838     * icon_file to NULL here.
13839     *
13840     * For more information on what @p icon_file and @p icon_type are see the
13841     * @ref Icon "icon documentation".
13842     */
13843    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);
13844    /**
13845     * @brief Delete an item from the hoversel
13846     *
13847     * @param item The item to delete
13848     *
13849     * This deletes the item from the hoversel (should not be called while the
13850     * hoversel is active; use elm_hoversel_expanded_get() to check first).
13851     *
13852     * @see elm_hoversel_item_add()
13853     * @see elm_hoversel_item_del_cb_set()
13854     */
13855    EAPI void               elm_hoversel_item_del(Elm_Hoversel_Item *item) EINA_ARG_NONNULL(1);
13856    /**
13857     * @brief Set the function to be called when an item from the hoversel is
13858     * freed.
13859     *
13860     * @param item The item to set the callback on
13861     * @param func The function called
13862     *
13863     * That function will receive these parameters:
13864     * @li void *item_data
13865     * @li Evas_Object *the_item_object
13866     * @li Elm_Hoversel_Item *the_object_struct
13867     *
13868     * @see elm_hoversel_item_add()
13869     */
13870    EAPI void               elm_hoversel_item_del_cb_set(Elm_Hoversel_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
13871    /**
13872     * @brief This returns the data pointer supplied with elm_hoversel_item_add()
13873     * that will be passed to associated function callbacks.
13874     *
13875     * @param item The item to get the data from
13876     * @return The data pointer set with elm_hoversel_item_add()
13877     *
13878     * @see elm_hoversel_item_add()
13879     */
13880    EAPI void              *elm_hoversel_item_data_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
13881    /**
13882     * @brief This returns the label text of the given hoversel item.
13883     *
13884     * @param item The item to get the label
13885     * @return The label text of the hoversel item
13886     *
13887     * @see elm_hoversel_item_add()
13888     */
13889    EAPI const char        *elm_hoversel_item_label_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
13890    /**
13891     * @brief This sets the icon for the given hoversel item.
13892     *
13893     * @param item The item to set the icon
13894     * @param icon_file An image file path on disk to use for the icon or standard
13895     * icon name
13896     * @param icon_group The edje group to use if @p icon_file is an edje file. Set this
13897     * to NULL if the icon is not an edje file
13898     * @param icon_type The icon type
13899     *
13900     * The icon can be loaded from the standard set, from an image file, or from
13901     * an edje file.
13902     *
13903     * @see elm_hoversel_item_add()
13904     */
13905    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);
13906    /**
13907     * @brief Get the icon object of the hoversel item
13908     *
13909     * @param item The item to get the icon from
13910     * @param icon_file The image file path on disk used for the icon or standard
13911     * icon name
13912     * @param icon_group The edje group used if @p icon_file is an edje file. NULL
13913     * if the icon is not an edje file
13914     * @param icon_type The icon type
13915     *
13916     * @see elm_hoversel_item_icon_set()
13917     * @see elm_hoversel_item_add()
13918     */
13919    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);
13920    /**
13921     * @}
13922     */
13923
13924    /**
13925     * @defgroup Toolbar Toolbar
13926     * @ingroup Elementary
13927     *
13928     * @image html img/widget/toolbar/preview-00.png
13929     * @image latex img/widget/toolbar/preview-00.eps width=\textwidth
13930     *
13931     * @image html img/toolbar.png
13932     * @image latex img/toolbar.eps width=\textwidth
13933     *
13934     * A toolbar is a widget that displays a list of items inside
13935     * a box. It can be scrollable, show a menu with items that don't fit
13936     * to toolbar size or even crop them.
13937     *
13938     * Only one item can be selected at a time.
13939     *
13940     * Items can have multiple states, or show menus when selected by the user.
13941     *
13942     * Smart callbacks one can listen to:
13943     * - "clicked" - when the user clicks on a toolbar item and becomes selected.
13944     *
13945     * Available styles for it:
13946     * - @c "default"
13947     * - @c "transparent" - no background or shadow, just show the content
13948     *
13949     * List of examples:
13950     * @li @ref toolbar_example_01
13951     * @li @ref toolbar_example_02
13952     * @li @ref toolbar_example_03
13953     */
13954
13955    /**
13956     * @addtogroup Toolbar
13957     * @{
13958     */
13959
13960    /**
13961     * @enum _Elm_Toolbar_Shrink_Mode
13962     * @typedef Elm_Toolbar_Shrink_Mode
13963     *
13964     * Set toolbar's items display behavior, it can be scrollabel,
13965     * show a menu with exceeding items, or simply hide them.
13966     *
13967     * @note Default value is #ELM_TOOLBAR_SHRINK_MENU. It reads value
13968     * from elm config.
13969     *
13970     * Values <b> don't </b> work as bitmask, only one can be choosen.
13971     *
13972     * @see elm_toolbar_mode_shrink_set()
13973     * @see elm_toolbar_mode_shrink_get()
13974     *
13975     * @ingroup Toolbar
13976     */
13977    typedef enum _Elm_Toolbar_Shrink_Mode
13978      {
13979         ELM_TOOLBAR_SHRINK_NONE,   /**< Set toolbar minimun size to fit all the items. */
13980         ELM_TOOLBAR_SHRINK_HIDE,   /**< Hide exceeding items. */
13981         ELM_TOOLBAR_SHRINK_SCROLL, /**< Allow accessing exceeding items through a scroller. */
13982         ELM_TOOLBAR_SHRINK_MENU    /**< Inserts a button to pop up a menu with exceeding items. */
13983      } Elm_Toolbar_Shrink_Mode;
13984
13985    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(). */
13986
13987    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(). */
13988
13989    /**
13990     * Add a new toolbar widget to the given parent Elementary
13991     * (container) object.
13992     *
13993     * @param parent The parent object.
13994     * @return a new toolbar widget handle or @c NULL, on errors.
13995     *
13996     * This function inserts a new toolbar widget on the canvas.
13997     *
13998     * @ingroup Toolbar
13999     */
14000    EAPI Evas_Object            *elm_toolbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
14001
14002    /**
14003     * Set the icon size, in pixels, to be used by toolbar items.
14004     *
14005     * @param obj The toolbar object
14006     * @param icon_size The icon size in pixels
14007     *
14008     * @note Default value is @c 32. It reads value from elm config.
14009     *
14010     * @see elm_toolbar_icon_size_get()
14011     *
14012     * @ingroup Toolbar
14013     */
14014    EAPI void                    elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size) EINA_ARG_NONNULL(1);
14015
14016    /**
14017     * Get the icon size, in pixels, to be used by toolbar items.
14018     *
14019     * @param obj The toolbar object.
14020     * @return The icon size in pixels.
14021     *
14022     * @see elm_toolbar_icon_size_set() for details.
14023     *
14024     * @ingroup Toolbar
14025     */
14026    EAPI int                     elm_toolbar_icon_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14027
14028    /**
14029     * Sets icon lookup order, for toolbar items' icons.
14030     *
14031     * @param obj The toolbar object.
14032     * @param order The icon lookup order.
14033     *
14034     * Icons added before calling this function will not be affected.
14035     * The default lookup order is #ELM_ICON_LOOKUP_THEME_FDO.
14036     *
14037     * @see elm_toolbar_icon_order_lookup_get()
14038     *
14039     * @ingroup Toolbar
14040     */
14041    EAPI void                    elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
14042
14043    /**
14044     * Gets the icon lookup order.
14045     *
14046     * @param obj The toolbar object.
14047     * @return The icon lookup order.
14048     *
14049     * @see elm_toolbar_icon_order_lookup_set() for details.
14050     *
14051     * @ingroup Toolbar
14052     */
14053    EAPI Elm_Icon_Lookup_Order   elm_toolbar_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14054
14055    /**
14056     * Set whether the toolbar should always have an item selected.
14057     *
14058     * @param obj The toolbar object.
14059     * @param wrap @c EINA_TRUE to enable always-select mode or @c EINA_FALSE to
14060     * disable it.
14061     *
14062     * This will cause the toolbar to always have an item selected, and clicking
14063     * the selected item will not cause a selected event to be emitted. Enabling this mode
14064     * will immediately select the first toolbar item.
14065     *
14066     * Always-selected is disabled by default.
14067     *
14068     * @see elm_toolbar_always_select_mode_get().
14069     *
14070     * @ingroup Toolbar
14071     */
14072    EAPI void                    elm_toolbar_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
14073
14074    /**
14075     * Get whether the toolbar should always have an item selected.
14076     *
14077     * @param obj The toolbar object.
14078     * @return @c EINA_TRUE means an item will always be selected, @c EINA_FALSE indicates
14079     * that it is possible to have no items selected. If @p obj is @c NULL, @c EINA_FALSE is returned.
14080     *
14081     * @see elm_toolbar_always_select_mode_set() for details.
14082     *
14083     * @ingroup Toolbar
14084     */
14085    EAPI Eina_Bool               elm_toolbar_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14086
14087    /**
14088     * Set whether the toolbar items' should be selected by the user or not.
14089     *
14090     * @param obj The toolbar object.
14091     * @param wrap @c EINA_TRUE to disable selection or @c EINA_FALSE to
14092     * enable it.
14093     *
14094     * This will turn off the ability to select items entirely and they will
14095     * neither appear selected nor emit selected signals. The clicked
14096     * callback function will still be called.
14097     *
14098     * Selection is enabled by default.
14099     *
14100     * @see elm_toolbar_no_select_mode_get().
14101     *
14102     * @ingroup Toolbar
14103     */
14104    EAPI void                    elm_toolbar_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
14105
14106    /**
14107     * Set whether the toolbar items' should be selected by the user or not.
14108     *
14109     * @param obj The toolbar object.
14110     * @return @c EINA_TRUE means items can be selected. @c EINA_FALSE indicates
14111     * they can't. If @p obj is @c NULL, @c EINA_FALSE is returned.
14112     *
14113     * @see elm_toolbar_no_select_mode_set() for details.
14114     *
14115     * @ingroup Toolbar
14116     */
14117    EAPI Eina_Bool               elm_toolbar_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14118
14119    /**
14120     * Append item to the toolbar.
14121     *
14122     * @param obj The toolbar object.
14123     * @param icon A string with icon name or the absolute path of an image file.
14124     * @param label The label of the item.
14125     * @param func The function to call when the item is clicked.
14126     * @param data The data to associate with the item for related callbacks.
14127     * @return The created item or @c NULL upon failure.
14128     *
14129     * A new item will be created and appended to the toolbar, i.e., will
14130     * be set as @b last item.
14131     *
14132     * Items created with this method can be deleted with
14133     * elm_toolbar_item_del().
14134     *
14135     * Associated @p data can be properly freed when item is deleted if a
14136     * callback function is set with elm_toolbar_item_del_cb_set().
14137     *
14138     * If a function is passed as argument, it will be called everytime this item
14139     * is selected, i.e., the user clicks over an unselected item.
14140     * If such function isn't needed, just passing
14141     * @c NULL as @p func is enough. The same should be done for @p data.
14142     *
14143     * Toolbar will load icon image from fdo or current theme.
14144     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14145     * If an absolute path is provided it will load it direct from a file.
14146     *
14147     * @see elm_toolbar_item_icon_set()
14148     * @see elm_toolbar_item_del()
14149     * @see elm_toolbar_item_del_cb_set()
14150     *
14151     * @ingroup Toolbar
14152     */
14153    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);
14154
14155    /**
14156     * Prepend item to the toolbar.
14157     *
14158     * @param obj The toolbar object.
14159     * @param icon A string with icon name or the absolute path of an image file.
14160     * @param label The label of the item.
14161     * @param func The function to call when the item is clicked.
14162     * @param data The data to associate with the item for related callbacks.
14163     * @return The created item or @c NULL upon failure.
14164     *
14165     * A new item will be created and prepended to the toolbar, i.e., will
14166     * be set as @b first item.
14167     *
14168     * Items created with this method can be deleted with
14169     * elm_toolbar_item_del().
14170     *
14171     * Associated @p data can be properly freed when item is deleted if a
14172     * callback function is set with elm_toolbar_item_del_cb_set().
14173     *
14174     * If a function is passed as argument, it will be called everytime this item
14175     * is selected, i.e., the user clicks over an unselected item.
14176     * If such function isn't needed, just passing
14177     * @c NULL as @p func is enough. The same should be done for @p data.
14178     *
14179     * Toolbar will load icon image from fdo or current theme.
14180     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14181     * If an absolute path is provided it will load it direct from a file.
14182     *
14183     * @see elm_toolbar_item_icon_set()
14184     * @see elm_toolbar_item_del()
14185     * @see elm_toolbar_item_del_cb_set()
14186     *
14187     * @ingroup Toolbar
14188     */
14189    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);
14190
14191    /**
14192     * Insert a new item into the toolbar object before item @p before.
14193     *
14194     * @param obj The toolbar object.
14195     * @param before The toolbar item to insert before.
14196     * @param icon A string with icon name or the absolute path of an image file.
14197     * @param label The label of the item.
14198     * @param func The function to call when the item is clicked.
14199     * @param data The data to associate with the item for related callbacks.
14200     * @return The created item or @c NULL upon failure.
14201     *
14202     * A new item will be created and added to the toolbar. Its position in
14203     * this toolbar will be just before item @p before.
14204     *
14205     * Items created with this method can be deleted with
14206     * elm_toolbar_item_del().
14207     *
14208     * Associated @p data can be properly freed when item is deleted if a
14209     * callback function is set with elm_toolbar_item_del_cb_set().
14210     *
14211     * If a function is passed as argument, it will be called everytime this item
14212     * is selected, i.e., the user clicks over an unselected item.
14213     * If such function isn't needed, just passing
14214     * @c NULL as @p func is enough. The same should be done for @p data.
14215     *
14216     * Toolbar will load icon image from fdo or current theme.
14217     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14218     * If an absolute path is provided it will load it direct from a file.
14219     *
14220     * @see elm_toolbar_item_icon_set()
14221     * @see elm_toolbar_item_del()
14222     * @see elm_toolbar_item_del_cb_set()
14223     *
14224     * @ingroup Toolbar
14225     */
14226    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);
14227
14228    /**
14229     * Insert a new item into the toolbar object after item @p after.
14230     *
14231     * @param obj The toolbar object.
14232     * @param before The toolbar item to insert before.
14233     * @param icon A string with icon name or the absolute path of an image file.
14234     * @param label The label of the item.
14235     * @param func The function to call when the item is clicked.
14236     * @param data The data to associate with the item for related callbacks.
14237     * @return The created item or @c NULL upon failure.
14238     *
14239     * A new item will be created and added to the toolbar. Its position in
14240     * this toolbar will be just after item @p after.
14241     *
14242     * Items created with this method can be deleted with
14243     * elm_toolbar_item_del().
14244     *
14245     * Associated @p data can be properly freed when item is deleted if a
14246     * callback function is set with elm_toolbar_item_del_cb_set().
14247     *
14248     * If a function is passed as argument, it will be called everytime this item
14249     * is selected, i.e., the user clicks over an unselected item.
14250     * If such function isn't needed, just passing
14251     * @c NULL as @p func is enough. The same should be done for @p data.
14252     *
14253     * Toolbar will load icon image from fdo or current theme.
14254     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14255     * If an absolute path is provided it will load it direct from a file.
14256     *
14257     * @see elm_toolbar_item_icon_set()
14258     * @see elm_toolbar_item_del()
14259     * @see elm_toolbar_item_del_cb_set()
14260     *
14261     * @ingroup Toolbar
14262     */
14263    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);
14264
14265    /**
14266     * Get the first item in the given toolbar widget's list of
14267     * items.
14268     *
14269     * @param obj The toolbar object
14270     * @return The first item or @c NULL, if it has no items (and on
14271     * errors)
14272     *
14273     * @see elm_toolbar_item_append()
14274     * @see elm_toolbar_last_item_get()
14275     *
14276     * @ingroup Toolbar
14277     */
14278    EAPI Elm_Toolbar_Item       *elm_toolbar_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14279
14280    /**
14281     * Get the last item in the given toolbar widget's list of
14282     * items.
14283     *
14284     * @param obj The toolbar object
14285     * @return The last item or @c NULL, if it has no items (and on
14286     * errors)
14287     *
14288     * @see elm_toolbar_item_prepend()
14289     * @see elm_toolbar_first_item_get()
14290     *
14291     * @ingroup Toolbar
14292     */
14293    EAPI Elm_Toolbar_Item       *elm_toolbar_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14294
14295    /**
14296     * Get the item after @p item in toolbar.
14297     *
14298     * @param item The toolbar item.
14299     * @return The item after @p item, or @c NULL if none or on failure.
14300     *
14301     * @note If it is the last item, @c NULL will be returned.
14302     *
14303     * @see elm_toolbar_item_append()
14304     *
14305     * @ingroup Toolbar
14306     */
14307    EAPI Elm_Toolbar_Item       *elm_toolbar_item_next_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14308
14309    /**
14310     * Get the item before @p item in toolbar.
14311     *
14312     * @param item The toolbar item.
14313     * @return The item before @p item, or @c NULL if none or on failure.
14314     *
14315     * @note If it is the first item, @c NULL will be returned.
14316     *
14317     * @see elm_toolbar_item_prepend()
14318     *
14319     * @ingroup Toolbar
14320     */
14321    EAPI Elm_Toolbar_Item       *elm_toolbar_item_prev_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14322
14323    /**
14324     * Get the toolbar object from an item.
14325     *
14326     * @param item The item.
14327     * @return The toolbar object.
14328     *
14329     * This returns the toolbar object itself that an item belongs to.
14330     *
14331     * @ingroup Toolbar
14332     */
14333    EAPI Evas_Object            *elm_toolbar_item_toolbar_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14334
14335    /**
14336     * Set the priority of a toolbar item.
14337     *
14338     * @param item The toolbar item.
14339     * @param priority The item priority. The default is zero.
14340     *
14341     * This is used only when the toolbar shrink mode is set to
14342     * #ELM_TOOLBAR_SHRINK_MENU or #ELM_TOOLBAR_SHRINK_HIDE.
14343     * When space is less than required, items with low priority
14344     * will be removed from the toolbar and added to a dynamically-created menu,
14345     * while items with higher priority will remain on the toolbar,
14346     * with the same order they were added.
14347     *
14348     * @see elm_toolbar_item_priority_get()
14349     *
14350     * @ingroup Toolbar
14351     */
14352    EAPI void                    elm_toolbar_item_priority_set(Elm_Toolbar_Item *item, int priority) EINA_ARG_NONNULL(1);
14353
14354    /**
14355     * Get the priority of a toolbar item.
14356     *
14357     * @param item The toolbar item.
14358     * @return The @p item priority, or @c 0 on failure.
14359     *
14360     * @see elm_toolbar_item_priority_set() for details.
14361     *
14362     * @ingroup Toolbar
14363     */
14364    EAPI int                     elm_toolbar_item_priority_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14365
14366    /**
14367     * Get the label of item.
14368     *
14369     * @param item The item of toolbar.
14370     * @return The label of item.
14371     *
14372     * The return value is a pointer to the label associated to @p item when
14373     * it was created, with function elm_toolbar_item_append() or similar,
14374     * or later,
14375     * with function elm_toolbar_item_label_set. If no label
14376     * was passed as argument, it will return @c NULL.
14377     *
14378     * @see elm_toolbar_item_label_set() for more details.
14379     * @see elm_toolbar_item_append()
14380     *
14381     * @ingroup Toolbar
14382     */
14383    EAPI const char             *elm_toolbar_item_label_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14384
14385    /**
14386     * Set the label of item.
14387     *
14388     * @param item The item of toolbar.
14389     * @param text The label of item.
14390     *
14391     * The label to be displayed by the item.
14392     * Label will be placed at icons bottom (if set).
14393     *
14394     * If a label was passed as argument on item creation, with function
14395     * elm_toolbar_item_append() or similar, it will be already
14396     * displayed by the item.
14397     *
14398     * @see elm_toolbar_item_label_get()
14399     * @see elm_toolbar_item_append()
14400     *
14401     * @ingroup Toolbar
14402     */
14403    EAPI void                    elm_toolbar_item_label_set(Elm_Toolbar_Item *item, const char *label) EINA_ARG_NONNULL(1);
14404
14405    /**
14406     * Return the data associated with a given toolbar widget item.
14407     *
14408     * @param item The toolbar widget item handle.
14409     * @return The data associated with @p item.
14410     *
14411     * @see elm_toolbar_item_data_set()
14412     *
14413     * @ingroup Toolbar
14414     */
14415    EAPI void                   *elm_toolbar_item_data_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14416
14417    /**
14418     * Set the data associated with a given toolbar widget item.
14419     *
14420     * @param item The toolbar widget item handle.
14421     * @param data The new data pointer to set to @p item.
14422     *
14423     * This sets new item data on @p item.
14424     *
14425     * @warning The old data pointer won't be touched by this function, so
14426     * the user had better to free that old data himself/herself.
14427     *
14428     * @ingroup Toolbar
14429     */
14430    EAPI void                    elm_toolbar_item_data_set(Elm_Toolbar_Item *item, const void *data) EINA_ARG_NONNULL(1);
14431
14432    /**
14433     * Returns a pointer to a toolbar item by its label.
14434     *
14435     * @param obj The toolbar object.
14436     * @param label The label of the item to find.
14437     *
14438     * @return The pointer to the toolbar item matching @p label or @c NULL
14439     * on failure.
14440     *
14441     * @ingroup Toolbar
14442     */
14443    EAPI Elm_Toolbar_Item       *elm_toolbar_item_find_by_label(const Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
14444
14445    /*
14446     * Get whether the @p item is selected or not.
14447     *
14448     * @param item The toolbar item.
14449     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
14450     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
14451     *
14452     * @see elm_toolbar_selected_item_set() for details.
14453     * @see elm_toolbar_item_selected_get()
14454     *
14455     * @ingroup Toolbar
14456     */
14457    EAPI Eina_Bool               elm_toolbar_item_selected_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14458
14459    /**
14460     * Set the selected state of an item.
14461     *
14462     * @param item The toolbar item
14463     * @param selected The selected state
14464     *
14465     * This sets the selected state of the given item @p it.
14466     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
14467     *
14468     * If a new item is selected the previosly selected will be unselected.
14469     * Previoulsy selected item can be get with function
14470     * elm_toolbar_selected_item_get().
14471     *
14472     * Selected items will be highlighted.
14473     *
14474     * @see elm_toolbar_item_selected_get()
14475     * @see elm_toolbar_selected_item_get()
14476     *
14477     * @ingroup Toolbar
14478     */
14479    EAPI void                    elm_toolbar_item_selected_set(Elm_Toolbar_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
14480
14481    /**
14482     * Get the selected item.
14483     *
14484     * @param obj The toolbar object.
14485     * @return The selected toolbar item.
14486     *
14487     * The selected item can be unselected with function
14488     * elm_toolbar_item_selected_set().
14489     *
14490     * The selected item always will be highlighted on toolbar.
14491     *
14492     * @see elm_toolbar_selected_items_get()
14493     *
14494     * @ingroup Toolbar
14495     */
14496    EAPI Elm_Toolbar_Item       *elm_toolbar_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14497
14498    /**
14499     * Set the icon associated with @p item.
14500     *
14501     * @param obj The parent of this item.
14502     * @param item The toolbar item.
14503     * @param icon A string with icon name or the absolute path of an image file.
14504     *
14505     * Toolbar will load icon image from fdo or current theme.
14506     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14507     * If an absolute path is provided it will load it direct from a file.
14508     *
14509     * @see elm_toolbar_icon_order_lookup_set()
14510     * @see elm_toolbar_icon_order_lookup_get()
14511     *
14512     * @ingroup Toolbar
14513     */
14514    EAPI void                    elm_toolbar_item_icon_set(Elm_Toolbar_Item *item, const char *icon) EINA_ARG_NONNULL(1);
14515
14516    /**
14517     * Get the string used to set the icon of @p item.
14518     *
14519     * @param item The toolbar item.
14520     * @return The string associated with the icon object.
14521     *
14522     * @see elm_toolbar_item_icon_set() for details.
14523     *
14524     * @ingroup Toolbar
14525     */
14526    EAPI const char             *elm_toolbar_item_icon_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14527
14528    /**
14529     * Get the icon object of @p item.
14530     *
14531     * @param item The toolbar item.
14532     * @return The icon object
14533     *
14534     * @see elm_toolbar_item_icon_set() or elm_toolbar_item_icon_memfile_set() for details.
14535     *
14536     * @ingroup Toolbar
14537     */
14538    EAPI Evas_Object            *elm_toolbar_item_icon_object_get(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14539
14540    /**
14541     * Set the icon associated with @p item to an image in a binary buffer.
14542     *
14543     * @param item The toolbar item.
14544     * @param img The binary data that will be used as an image
14545     * @param size The size of binary data @p img
14546     * @param format Optional format of @p img to pass to the image loader
14547     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
14548     *
14549     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
14550     *
14551     * @note The icon image set by this function can be changed by
14552     * elm_toolbar_item_icon_set().
14553     * 
14554     * @ingroup Toolbar
14555     */
14556    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);
14557
14558    /**
14559     * Delete them item from the toolbar.
14560     *
14561     * @param item The item of toolbar to be deleted.
14562     *
14563     * @see elm_toolbar_item_append()
14564     * @see elm_toolbar_item_del_cb_set()
14565     *
14566     * @ingroup Toolbar
14567     */
14568    EAPI void                    elm_toolbar_item_del(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14569
14570    /**
14571     * Set the function called when a toolbar item is freed.
14572     *
14573     * @param item The item to set the callback on.
14574     * @param func The function called.
14575     *
14576     * If there is a @p func, then it will be called prior item's memory release.
14577     * That will be called with the following arguments:
14578     * @li item's data;
14579     * @li item's Evas object;
14580     * @li item itself;
14581     *
14582     * This way, a data associated to a toolbar item could be properly freed.
14583     *
14584     * @ingroup Toolbar
14585     */
14586    EAPI void                    elm_toolbar_item_del_cb_set(Elm_Toolbar_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
14587
14588    /**
14589     * Get a value whether toolbar item is disabled or not.
14590     *
14591     * @param item The item.
14592     * @return The disabled state.
14593     *
14594     * @see elm_toolbar_item_disabled_set() for more details.
14595     *
14596     * @ingroup Toolbar
14597     */
14598    EAPI Eina_Bool               elm_toolbar_item_disabled_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14599
14600    /**
14601     * Sets the disabled/enabled state of a toolbar item.
14602     *
14603     * @param item The item.
14604     * @param disabled The disabled state.
14605     *
14606     * A disabled item cannot be selected or unselected. It will also
14607     * change its appearance (generally greyed out). This sets the
14608     * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
14609     * enabled).
14610     *
14611     * @ingroup Toolbar
14612     */
14613    EAPI void                    elm_toolbar_item_disabled_set(Elm_Toolbar_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
14614
14615    /**
14616     * Set or unset item as a separator.
14617     *
14618     * @param item The toolbar item.
14619     * @param setting @c EINA_TRUE to set item @p item as separator or
14620     * @c EINA_FALSE to unset, i.e., item will be used as a regular item.
14621     *
14622     * Items aren't set as separator by default.
14623     *
14624     * If set as separator it will display separator theme, so won't display
14625     * icons or label.
14626     *
14627     * @see elm_toolbar_item_separator_get()
14628     *
14629     * @ingroup Toolbar
14630     */
14631    EAPI void                    elm_toolbar_item_separator_set(Elm_Toolbar_Item *item, Eina_Bool separator) EINA_ARG_NONNULL(1);
14632
14633    /**
14634     * Get a value whether item is a separator or not.
14635     *
14636     * @param item The toolbar item.
14637     * @return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
14638     * indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
14639     *
14640     * @see elm_toolbar_item_separator_set() for details.
14641     *
14642     * @ingroup Toolbar
14643     */
14644    EAPI Eina_Bool               elm_toolbar_item_separator_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14645
14646    /**
14647     * Set the shrink state of toolbar @p obj.
14648     *
14649     * @param obj The toolbar object.
14650     * @param shrink_mode Toolbar's items display behavior.
14651     *
14652     * The toolbar won't scroll if #ELM_TOOLBAR_SHRINK_NONE,
14653     * but will enforce a minimun size so all the items will fit, won't scroll
14654     * and won't show the items that don't fit if #ELM_TOOLBAR_SHRINK_HIDE,
14655     * will scroll if #ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to
14656     * pop up excess elements with #ELM_TOOLBAR_SHRINK_MENU.
14657     *
14658     * @ingroup Toolbar
14659     */
14660    EAPI void                    elm_toolbar_mode_shrink_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode) EINA_ARG_NONNULL(1);
14661
14662    /**
14663     * Get the shrink mode of toolbar @p obj.
14664     *
14665     * @param obj The toolbar object.
14666     * @return Toolbar's items display behavior.
14667     *
14668     * @see elm_toolbar_mode_shrink_set() for details.
14669     *
14670     * @ingroup Toolbar
14671     */
14672    EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_mode_shrink_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14673
14674    /**
14675     * Enable/disable homogenous mode.
14676     *
14677     * @param obj The toolbar object
14678     * @param homogeneous Assume the items within the toolbar are of the
14679     * same size (EINA_TRUE = on, EINA_FALSE = off). Default is @c EINA_FALSE.
14680     *
14681     * This will enable the homogeneous mode where items are of the same size.
14682     * @see elm_toolbar_homogeneous_get()
14683     *
14684     * @ingroup Toolbar
14685     */
14686    EAPI void                    elm_toolbar_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
14687
14688    /**
14689     * Get whether the homogenous mode is enabled.
14690     *
14691     * @param obj The toolbar object.
14692     * @return Assume the items within the toolbar are of the same height
14693     * and width (EINA_TRUE = on, EINA_FALSE = off).
14694     *
14695     * @see elm_toolbar_homogeneous_set()
14696     *
14697     * @ingroup Toolbar
14698     */
14699    EAPI Eina_Bool               elm_toolbar_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14700
14701    /**
14702     * Enable/disable homogenous mode.
14703     *
14704     * @param obj The toolbar object
14705     * @param homogeneous Assume the items within the toolbar are of the
14706     * same size (EINA_TRUE = on, EINA_FALSE = off). Default is @c EINA_FALSE.
14707     *
14708     * This will enable the homogeneous mode where items are of the same size.
14709     * @see elm_toolbar_homogeneous_get()
14710     *
14711     * @deprecated use elm_toolbar_homogeneous_set() instead.
14712     *
14713     * @ingroup Toolbar
14714     */
14715    EINA_DEPRECATED EAPI void    elm_toolbar_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
14716
14717    /**
14718     * Get whether the homogenous mode is enabled.
14719     *
14720     * @param obj The toolbar object.
14721     * @return Assume the items within the toolbar are of the same height
14722     * and width (EINA_TRUE = on, EINA_FALSE = off).
14723     *
14724     * @see elm_toolbar_homogeneous_set()
14725     * @deprecated use elm_toolbar_homogeneous_get() instead.
14726     *
14727     * @ingroup Toolbar
14728     */
14729    EINA_DEPRECATED EAPI Eina_Bool elm_toolbar_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14730
14731    /**
14732     * Set the parent object of the toolbar items' menus.
14733     *
14734     * @param obj The toolbar object.
14735     * @param parent The parent of the menu objects.
14736     *
14737     * Each item can be set as item menu, with elm_toolbar_item_menu_set().
14738     *
14739     * For more details about setting the parent for toolbar menus, see
14740     * elm_menu_parent_set().
14741     *
14742     * @see elm_menu_parent_set() for details.
14743     * @see elm_toolbar_item_menu_set() for details.
14744     *
14745     * @ingroup Toolbar
14746     */
14747    EAPI void                    elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
14748
14749    /**
14750     * Get the parent object of the toolbar items' menus.
14751     *
14752     * @param obj The toolbar object.
14753     * @return The parent of the menu objects.
14754     *
14755     * @see elm_toolbar_menu_parent_set() for details.
14756     *
14757     * @ingroup Toolbar
14758     */
14759    EAPI Evas_Object            *elm_toolbar_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14760
14761    /**
14762     * Set the alignment of the items.
14763     *
14764     * @param obj The toolbar object.
14765     * @param align The new alignment, a float between <tt> 0.0 </tt>
14766     * and <tt> 1.0 </tt>.
14767     *
14768     * Alignment of toolbar items, from <tt> 0.0 </tt> to indicates to align
14769     * left, to <tt> 1.0 </tt>, to align to right. <tt> 0.5 </tt> centralize
14770     * items.
14771     *
14772     * Centered items by default.
14773     *
14774     * @see elm_toolbar_align_get()
14775     *
14776     * @ingroup Toolbar
14777     */
14778    EAPI void                    elm_toolbar_align_set(Evas_Object *obj, double align) EINA_ARG_NONNULL(1);
14779
14780    /**
14781     * Get the alignment of the items.
14782     *
14783     * @param obj The toolbar object.
14784     * @return toolbar items alignment, a float between <tt> 0.0 </tt> and
14785     * <tt> 1.0 </tt>.
14786     *
14787     * @see elm_toolbar_align_set() for details.
14788     *
14789     * @ingroup Toolbar
14790     */
14791    EAPI double                  elm_toolbar_align_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14792
14793    /**
14794     * Set whether the toolbar item opens a menu.
14795     *
14796     * @param item The toolbar item.
14797     * @param menu If @c EINA_TRUE, @p item will opens a menu when selected.
14798     *
14799     * A toolbar item can be set to be a menu, using this function.
14800     *
14801     * Once it is set to be a menu, it can be manipulated through the
14802     * menu-like function elm_toolbar_menu_parent_set() and the other
14803     * elm_menu functions, using the Evas_Object @c menu returned by
14804     * elm_toolbar_item_menu_get().
14805     *
14806     * So, items to be displayed in this item's menu should be added with
14807     * elm_menu_item_add().
14808     *
14809     * The following code exemplifies the most basic usage:
14810     * @code
14811     * tb = elm_toolbar_add(win)
14812     * item = elm_toolbar_item_append(tb, "refresh", "Menu", NULL, NULL);
14813     * elm_toolbar_item_menu_set(item, EINA_TRUE);
14814     * elm_toolbar_menu_parent_set(tb, win);
14815     * menu = elm_toolbar_item_menu_get(item);
14816     * elm_menu_item_add(menu, NULL, "edit-cut", "Cut", NULL, NULL);
14817     * menu_item = elm_menu_item_add(menu, NULL, "edit-copy", "Copy", NULL,
14818     * NULL);
14819     * @endcode
14820     *
14821     * @see elm_toolbar_item_menu_get()
14822     *
14823     * @ingroup Toolbar
14824     */
14825    EAPI void                    elm_toolbar_item_menu_set(Elm_Toolbar_Item *item, Eina_Bool menu) EINA_ARG_NONNULL(1);
14826
14827    /**
14828     * Get toolbar item's menu.
14829     *
14830     * @param item The toolbar item.
14831     * @return Item's menu object or @c NULL on failure.
14832     *
14833     * If @p item wasn't set as menu item with elm_toolbar_item_menu_set(),
14834     * this function will set it.
14835     *
14836     * @see elm_toolbar_item_menu_set() for details.
14837     *
14838     * @ingroup Toolbar
14839     */
14840    EAPI Evas_Object            *elm_toolbar_item_menu_get(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14841
14842    /**
14843     * Add a new state to @p item.
14844     *
14845     * @param item The item.
14846     * @param icon A string with icon name or the absolute path of an image file.
14847     * @param label The label of the new state.
14848     * @param func The function to call when the item is clicked when this
14849     * state is selected.
14850     * @param data The data to associate with the state.
14851     * @return The toolbar item state, or @c NULL upon failure.
14852     *
14853     * Toolbar will load icon image from fdo or current theme.
14854     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14855     * If an absolute path is provided it will load it direct from a file.
14856     *
14857     * States created with this function can be removed with
14858     * elm_toolbar_item_state_del().
14859     *
14860     * @see elm_toolbar_item_state_del()
14861     * @see elm_toolbar_item_state_sel()
14862     * @see elm_toolbar_item_state_get()
14863     *
14864     * @ingroup Toolbar
14865     */
14866    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);
14867
14868    /**
14869     * Delete a previoulsy added state to @p item.
14870     *
14871     * @param item The toolbar item.
14872     * @param state The state to be deleted.
14873     * @return @c EINA_TRUE on success or @c EINA_FALSE on failure.
14874     *
14875     * @see elm_toolbar_item_state_add()
14876     */
14877    EAPI Eina_Bool               elm_toolbar_item_state_del(Elm_Toolbar_Item *item, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
14878
14879    /**
14880     * Set @p state as the current state of @p it.
14881     *
14882     * @param it The item.
14883     * @param state The state to use.
14884     * @return @c EINA_TRUE on success or @c EINA_FALSE on failure.
14885     *
14886     * If @p state is @c NULL, it won't select any state and the default item's
14887     * icon and label will be used. It's the same behaviour than
14888     * elm_toolbar_item_state_unser().
14889     *
14890     * @see elm_toolbar_item_state_unset()
14891     *
14892     * @ingroup Toolbar
14893     */
14894    EAPI Eina_Bool               elm_toolbar_item_state_set(Elm_Toolbar_Item *it, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
14895
14896    /**
14897     * Unset the state of @p it.
14898     *
14899     * @param it The item.
14900     *
14901     * The default icon and label from this item will be displayed.
14902     *
14903     * @see elm_toolbar_item_state_set() for more details.
14904     *
14905     * @ingroup Toolbar
14906     */
14907    EAPI void                    elm_toolbar_item_state_unset(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
14908
14909    /**
14910     * Get the current state of @p it.
14911     *
14912     * @param item The item.
14913     * @return The selected state or @c NULL if none is selected or on failure.
14914     *
14915     * @see elm_toolbar_item_state_set() for details.
14916     * @see elm_toolbar_item_state_unset()
14917     * @see elm_toolbar_item_state_add()
14918     *
14919     * @ingroup Toolbar
14920     */
14921    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_get(const Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
14922
14923    /**
14924     * Get the state after selected state in toolbar's @p item.
14925     *
14926     * @param it The toolbar item to change state.
14927     * @return The state after current state, or @c NULL on failure.
14928     *
14929     * If last state is selected, this function will return first state.
14930     *
14931     * @see elm_toolbar_item_state_set()
14932     * @see elm_toolbar_item_state_add()
14933     *
14934     * @ingroup Toolbar
14935     */
14936    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_next(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
14937
14938    /**
14939     * Get the state before selected state in toolbar's @p item.
14940     *
14941     * @param it The toolbar item to change state.
14942     * @return The state before current state, or @c NULL on failure.
14943     *
14944     * If first state is selected, this function will return last state.
14945     *
14946     * @see elm_toolbar_item_state_set()
14947     * @see elm_toolbar_item_state_add()
14948     *
14949     * @ingroup Toolbar
14950     */
14951    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_prev(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
14952
14953    /**
14954     * Set the text to be shown in a given toolbar item's tooltips.
14955     *
14956     * @param item Target item.
14957     * @param text The text to set in the content.
14958     *
14959     * Setup the text as tooltip to object. The item can have only one tooltip,
14960     * so any previous tooltip data - set with this function or
14961     * elm_toolbar_item_tooltip_content_cb_set() - is removed.
14962     *
14963     * @see elm_object_tooltip_text_set() for more details.
14964     *
14965     * @ingroup Toolbar
14966     */
14967    EAPI void             elm_toolbar_item_tooltip_text_set(Elm_Toolbar_Item *item, const char *text) EINA_ARG_NONNULL(1);
14968
14969    /**
14970     * Set the content to be shown in the tooltip item.
14971     *
14972     * Setup the tooltip to item. The item can have only one tooltip,
14973     * so any previous tooltip data is removed. @p func(with @p data) will
14974     * be called every time that need show the tooltip and it should
14975     * return a valid Evas_Object. This object is then managed fully by
14976     * tooltip system and is deleted when the tooltip is gone.
14977     *
14978     * @param item the toolbar item being attached a tooltip.
14979     * @param func the function used to create the tooltip contents.
14980     * @param data what to provide to @a func as callback data/context.
14981     * @param del_cb called when data is not needed anymore, either when
14982     *        another callback replaces @a func, the tooltip is unset with
14983     *        elm_toolbar_item_tooltip_unset() or the owner @a item
14984     *        dies. This callback receives as the first parameter the
14985     *        given @a data, and @c event_info is the item.
14986     *
14987     * @see elm_object_tooltip_content_cb_set() for more details.
14988     *
14989     * @ingroup Toolbar
14990     */
14991    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);
14992
14993    /**
14994     * Unset tooltip from item.
14995     *
14996     * @param item toolbar item to remove previously set tooltip.
14997     *
14998     * Remove tooltip from item. The callback provided as del_cb to
14999     * elm_toolbar_item_tooltip_content_cb_set() will be called to notify
15000     * it is not used anymore.
15001     *
15002     * @see elm_object_tooltip_unset() for more details.
15003     * @see elm_toolbar_item_tooltip_content_cb_set()
15004     *
15005     * @ingroup Toolbar
15006     */
15007    EAPI void             elm_toolbar_item_tooltip_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15008
15009    /**
15010     * Sets a different style for this item tooltip.
15011     *
15012     * @note before you set a style you should define a tooltip with
15013     *       elm_toolbar_item_tooltip_content_cb_set() or
15014     *       elm_toolbar_item_tooltip_text_set()
15015     *
15016     * @param item toolbar item with tooltip already set.
15017     * @param style the theme style to use (default, transparent, ...)
15018     *
15019     * @see elm_object_tooltip_style_set() for more details.
15020     *
15021     * @ingroup Toolbar
15022     */
15023    EAPI void             elm_toolbar_item_tooltip_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
15024
15025    /**
15026     * Get the style for this item tooltip.
15027     *
15028     * @param item toolbar item with tooltip already set.
15029     * @return style the theme style in use, defaults to "default". If the
15030     *         object does not have a tooltip set, then NULL is returned.
15031     *
15032     * @see elm_object_tooltip_style_get() for more details.
15033     * @see elm_toolbar_item_tooltip_style_set()
15034     *
15035     * @ingroup Toolbar
15036     */
15037    EAPI const char      *elm_toolbar_item_tooltip_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15038
15039    /**
15040     * Set the type of mouse pointer/cursor decoration to be shown,
15041     * when the mouse pointer is over the given toolbar widget item
15042     *
15043     * @param item toolbar item to customize cursor on
15044     * @param cursor the cursor type's name
15045     *
15046     * This function works analogously as elm_object_cursor_set(), but
15047     * here the cursor's changing area is restricted to the item's
15048     * area, and not the whole widget's. Note that that item cursors
15049     * have precedence over widget cursors, so that a mouse over an
15050     * item with custom cursor set will always show @b that cursor.
15051     *
15052     * If this function is called twice for an object, a previously set
15053     * cursor will be unset on the second call.
15054     *
15055     * @see elm_object_cursor_set()
15056     * @see elm_toolbar_item_cursor_get()
15057     * @see elm_toolbar_item_cursor_unset()
15058     *
15059     * @ingroup Toolbar
15060     */
15061    EAPI void             elm_toolbar_item_cursor_set(Elm_Toolbar_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
15062
15063    /*
15064     * Get the type of mouse pointer/cursor decoration set to be shown,
15065     * when the mouse pointer is over the given toolbar widget item
15066     *
15067     * @param item toolbar item with custom cursor set
15068     * @return the cursor type's name or @c NULL, if no custom cursors
15069     * were set to @p item (and on errors)
15070     *
15071     * @see elm_object_cursor_get()
15072     * @see elm_toolbar_item_cursor_set()
15073     * @see elm_toolbar_item_cursor_unset()
15074     *
15075     * @ingroup Toolbar
15076     */
15077    EAPI const char      *elm_toolbar_item_cursor_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15078
15079    /**
15080     * Unset any custom mouse pointer/cursor decoration set to be
15081     * shown, when the mouse pointer is over the given toolbar widget
15082     * item, thus making it show the @b default cursor again.
15083     *
15084     * @param item a toolbar item
15085     *
15086     * Use this call to undo any custom settings on this item's cursor
15087     * decoration, bringing it back to defaults (no custom style set).
15088     *
15089     * @see elm_object_cursor_unset()
15090     * @see elm_toolbar_item_cursor_set()
15091     *
15092     * @ingroup Toolbar
15093     */
15094    EAPI void             elm_toolbar_item_cursor_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15095
15096    /**
15097     * Set a different @b style for a given custom cursor set for a
15098     * toolbar item.
15099     *
15100     * @param item toolbar item with custom cursor set
15101     * @param style the <b>theme style</b> to use (e.g. @c "default",
15102     * @c "transparent", etc)
15103     *
15104     * This function only makes sense when one is using custom mouse
15105     * cursor decorations <b>defined in a theme file</b>, which can have,
15106     * given a cursor name/type, <b>alternate styles</b> on it. It
15107     * works analogously as elm_object_cursor_style_set(), but here
15108     * applyed only to toolbar item objects.
15109     *
15110     * @warning Before you set a cursor style you should have definen a
15111     *       custom cursor previously on the item, with
15112     *       elm_toolbar_item_cursor_set()
15113     *
15114     * @see elm_toolbar_item_cursor_engine_only_set()
15115     * @see elm_toolbar_item_cursor_style_get()
15116     *
15117     * @ingroup Toolbar
15118     */
15119    EAPI void             elm_toolbar_item_cursor_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
15120
15121    /**
15122     * Get the current @b style set for a given toolbar item's custom
15123     * cursor
15124     *
15125     * @param item toolbar item with custom cursor set.
15126     * @return style the cursor style in use. If the object does not
15127     *         have a cursor set, then @c NULL is returned.
15128     *
15129     * @see elm_toolbar_item_cursor_style_set() for more details
15130     *
15131     * @ingroup Toolbar
15132     */
15133    EAPI const char      *elm_toolbar_item_cursor_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15134
15135    /**
15136     * Set if the (custom)cursor for a given toolbar item should be
15137     * searched in its theme, also, or should only rely on the
15138     * rendering engine.
15139     *
15140     * @param item item with custom (custom) cursor already set on
15141     * @param engine_only Use @c EINA_TRUE to have cursors looked for
15142     * only on those provided by the rendering engine, @c EINA_FALSE to
15143     * have them searched on the widget's theme, as well.
15144     *
15145     * @note This call is of use only if you've set a custom cursor
15146     * for toolbar items, with elm_toolbar_item_cursor_set().
15147     *
15148     * @note By default, cursors will only be looked for between those
15149     * provided by the rendering engine.
15150     *
15151     * @ingroup Toolbar
15152     */
15153    EAPI void             elm_toolbar_item_cursor_engine_only_set(Elm_Toolbar_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
15154
15155    /**
15156     * Get if the (custom) cursor for a given toolbar item is being
15157     * searched in its theme, also, or is only relying on the rendering
15158     * engine.
15159     *
15160     * @param item a toolbar item
15161     * @return @c EINA_TRUE, if cursors are being looked for only on
15162     * those provided by the rendering engine, @c EINA_FALSE if they
15163     * are being searched on the widget's theme, as well.
15164     *
15165     * @see elm_toolbar_item_cursor_engine_only_set(), for more details
15166     *
15167     * @ingroup Toolbar
15168     */
15169    EAPI Eina_Bool        elm_toolbar_item_cursor_engine_only_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15170
15171    /**
15172     * Change a toolbar's orientation
15173     * @param obj The toolbar object
15174     * @param vertical If @c EINA_TRUE, the toolbar is vertical
15175     * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
15176     * @ingroup Toolbar
15177     */
15178    EAPI void             elm_toolbar_orientation_set(Evas_Object *obj, Eina_Bool vertical) EINA_ARG_NONNULL(1);
15179
15180    /**
15181     * Get a toolbar's orientation
15182     * @param obj The toolbar object
15183     * @return If @c EINA_TRUE, the toolbar is vertical
15184     * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
15185     * @ingroup Toolbar
15186     */
15187    EAPI Eina_Bool        elm_toolbar_orientation_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
15188
15189    /**
15190     * @}
15191     */
15192
15193    /**
15194     * @defgroup Tooltips Tooltips
15195     *
15196     * The Tooltip is an (internal, for now) smart object used to show a
15197     * content in a frame on mouse hover of objects(or widgets), with
15198     * tips/information about them.
15199     *
15200     * @{
15201     */
15202
15203    EAPI double       elm_tooltip_delay_get(void);
15204    EAPI Eina_Bool    elm_tooltip_delay_set(double delay);
15205    EAPI void         elm_object_tooltip_show(Evas_Object *obj) EINA_ARG_NONNULL(1);
15206    EAPI void         elm_object_tooltip_hide(Evas_Object *obj) EINA_ARG_NONNULL(1);
15207    EAPI void         elm_object_tooltip_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1, 2);
15208    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);
15209    EAPI void         elm_object_tooltip_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15210    EAPI void         elm_object_tooltip_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
15211    EAPI const char  *elm_object_tooltip_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15212    EAPI Eina_Bool    elm_tooltip_size_restrict_disable(Evas_Object *obj, Eina_Bool disable); EINA_ARG_NONNULL(1);
15213    EAPI Eina_Bool    elm_tooltip_size_restrict_disabled_get(const Evas_Object *obj); EINA_ARG_NONNULL(1);
15214
15215    /**
15216     * @}
15217     */
15218
15219    /**
15220     * @defgroup Cursors Cursors
15221     *
15222     * The Elementary cursor is an internal smart object used to
15223     * customize the mouse cursor displayed over objects (or
15224     * widgets). In the most common scenario, the cursor decoration
15225     * comes from the graphical @b engine Elementary is running
15226     * on. Those engines may provide different decorations for cursors,
15227     * and Elementary provides functions to choose them (think of X11
15228     * cursors, as an example).
15229     *
15230     * There's also the possibility of, besides using engine provided
15231     * cursors, also use ones coming from Edje theming files. Both
15232     * globally and per widget, Elementary makes it possible for one to
15233     * make the cursors lookup to be held on engines only or on
15234     * Elementary's theme file, too.
15235     *
15236     * @{
15237     */
15238
15239    /**
15240     * Set the cursor to be shown when mouse is over the object
15241     *
15242     * Set the cursor that will be displayed when mouse is over the
15243     * object. The object can have only one cursor set to it, so if
15244     * this function is called twice for an object, the previous set
15245     * will be unset.
15246     * If using X cursors, a definition of all the valid cursor names
15247     * is listed on Elementary_Cursors.h. If an invalid name is set
15248     * the default cursor will be used.
15249     *
15250     * @param obj the object being set a cursor.
15251     * @param cursor the cursor name to be used.
15252     *
15253     * @ingroup Cursors
15254     */
15255    EAPI void         elm_object_cursor_set(Evas_Object *obj, const char *cursor) EINA_ARG_NONNULL(1);
15256
15257    /**
15258     * Get the cursor to be shown when mouse is over the object
15259     *
15260     * @param obj an object with cursor already set.
15261     * @return the cursor name.
15262     *
15263     * @ingroup Cursors
15264     */
15265    EAPI const char  *elm_object_cursor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15266
15267    /**
15268     * Unset cursor for object
15269     *
15270     * Unset cursor for object, and set the cursor to default if the mouse
15271     * was over this object.
15272     *
15273     * @param obj Target object
15274     * @see elm_object_cursor_set()
15275     *
15276     * @ingroup Cursors
15277     */
15278    EAPI void         elm_object_cursor_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15279
15280    /**
15281     * Sets a different style for this object cursor.
15282     *
15283     * @note before you set a style you should define a cursor with
15284     *       elm_object_cursor_set()
15285     *
15286     * @param obj an object with cursor already set.
15287     * @param style the theme style to use (default, transparent, ...)
15288     *
15289     * @ingroup Cursors
15290     */
15291    EAPI void         elm_object_cursor_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
15292
15293    /**
15294     * Get the style for this object cursor.
15295     *
15296     * @param obj an object with cursor already set.
15297     * @return style the theme style in use, defaults to "default". If the
15298     *         object does not have a cursor set, then NULL is returned.
15299     *
15300     * @ingroup Cursors
15301     */
15302    EAPI const char  *elm_object_cursor_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15303
15304    /**
15305     * Set if the cursor set should be searched on the theme or should use
15306     * the provided by the engine, only.
15307     *
15308     * @note before you set if should look on theme you should define a cursor
15309     * with elm_object_cursor_set(). By default it will only look for cursors
15310     * provided by the engine.
15311     *
15312     * @param obj an object with cursor already set.
15313     * @param engine_only boolean to define it cursors should be looked only
15314     * between the provided by the engine or searched on widget's theme as well.
15315     *
15316     * @ingroup Cursors
15317     */
15318    EAPI void         elm_object_cursor_engine_only_set(Evas_Object *obj, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
15319
15320    /**
15321     * Get the cursor engine only usage for this object cursor.
15322     *
15323     * @param obj an object with cursor already set.
15324     * @return engine_only boolean to define it cursors should be
15325     * looked only between the provided by the engine or searched on
15326     * widget's theme as well. If the object does not have a cursor
15327     * set, then EINA_FALSE is returned.
15328     *
15329     * @ingroup Cursors
15330     */
15331    EAPI Eina_Bool    elm_object_cursor_engine_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15332
15333    /**
15334     * Get the configured cursor engine only usage
15335     *
15336     * This gets the globally configured exclusive usage of engine cursors.
15337     *
15338     * @return 1 if only engine cursors should be used
15339     * @ingroup Cursors
15340     */
15341    EAPI int          elm_cursor_engine_only_get(void);
15342
15343    /**
15344     * Set the configured cursor engine only usage
15345     *
15346     * This sets the globally configured exclusive usage of engine cursors.
15347     * It won't affect cursors set before changing this value.
15348     *
15349     * @param engine_only If 1 only engine cursors will be enabled, if 0 will
15350     * look for them on theme before.
15351     * @return EINA_TRUE if value is valid and setted (0 or 1)
15352     * @ingroup Cursors
15353     */
15354    EAPI Eina_Bool    elm_cursor_engine_only_set(int engine_only);
15355
15356    /**
15357     * @}
15358     */
15359
15360    /**
15361     * @defgroup Menu Menu
15362     *
15363     * @image html img/widget/menu/preview-00.png
15364     * @image latex img/widget/menu/preview-00.eps
15365     *
15366     * A menu is a list of items displayed above its parent. When the menu is
15367     * showing its parent is darkened. Each item can have a sub-menu. The menu
15368     * object can be used to display a menu on a right click event, in a toolbar,
15369     * anywhere.
15370     *
15371     * Signals that you can add callbacks for are:
15372     * @li "clicked" - the user clicked the empty space in the menu to dismiss.
15373     *             event_info is NULL.
15374     *
15375     * @see @ref tutorial_menu
15376     * @{
15377     */
15378    typedef struct _Elm_Menu_Item Elm_Menu_Item; /**< Item of Elm_Menu. Sub-type of Elm_Widget_Item */
15379    /**
15380     * @brief Add a new menu to the parent
15381     *
15382     * @param parent The parent object.
15383     * @return The new object or NULL if it cannot be created.
15384     */
15385    EAPI Evas_Object       *elm_menu_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15386    /**
15387     * @brief Set the parent for the given menu widget
15388     *
15389     * @param obj The menu object.
15390     * @param parent The new parent.
15391     */
15392    EAPI void               elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
15393    /**
15394     * @brief Get the parent for the given menu widget
15395     *
15396     * @param obj The menu object.
15397     * @return The parent.
15398     *
15399     * @see elm_menu_parent_set()
15400     */
15401    EAPI Evas_Object       *elm_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15402    /**
15403     * @brief Move the menu to a new position
15404     *
15405     * @param obj The menu object.
15406     * @param x The new position.
15407     * @param y The new position.
15408     *
15409     * Sets the top-left position of the menu to (@p x,@p y).
15410     *
15411     * @note @p x and @p y coordinates are relative to parent.
15412     */
15413    EAPI void               elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
15414    /**
15415     * @brief Close a opened menu
15416     *
15417     * @param obj the menu object
15418     * @return void
15419     *
15420     * Hides the menu and all it's sub-menus.
15421     */
15422    EAPI void               elm_menu_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
15423    /**
15424     * @brief Returns a list of @p item's items.
15425     *
15426     * @param obj The menu object
15427     * @return An Eina_List* of @p item's items
15428     */
15429    EAPI const Eina_List   *elm_menu_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15430    /**
15431     * @brief Get the Evas_Object of an Elm_Menu_Item
15432     *
15433     * @param item The menu item object.
15434     * @return The edje object containing the swallowed content
15435     *
15436     * @warning Don't manipulate this object!
15437     */
15438    EAPI Evas_Object       *elm_menu_item_object_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
15439    /**
15440     * @brief Add an item at the end of the given menu widget
15441     *
15442     * @param obj The menu object.
15443     * @param parent The parent menu item (optional)
15444     * @param icon A icon display on the item. The icon will be destryed by the menu.
15445     * @param label The label of the item.
15446     * @param func Function called when the user select the item.
15447     * @param data Data sent by the callback.
15448     * @return Returns the new item.
15449     */
15450    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);
15451    /**
15452     * @brief Add an object swallowed in an item at the end of the given menu
15453     * widget
15454     *
15455     * @param obj The menu object.
15456     * @param parent The parent menu item (optional)
15457     * @param subobj The object to swallow
15458     * @param func Function called when the user select the item.
15459     * @param data Data sent by the callback.
15460     * @return Returns the new item.
15461     *
15462     * Add an evas object as an item to the menu.
15463     */
15464    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);
15465    /**
15466     * @brief Set the label of a menu item
15467     *
15468     * @param item The menu item object.
15469     * @param label The label to set for @p item
15470     *
15471     * @warning Don't use this funcion on items created with
15472     * elm_menu_item_add_object() or elm_menu_item_separator_add().
15473     */
15474    EAPI void               elm_menu_item_label_set(Elm_Menu_Item *item, const char *label) EINA_ARG_NONNULL(1);
15475    /**
15476     * @brief Get the label of a menu item
15477     *
15478     * @param item The menu item object.
15479     * @return The label of @p item
15480     */
15481    EAPI const char        *elm_menu_item_label_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15482    /**
15483     * @brief Set the icon of a menu item to the standard icon with name @p icon
15484     *
15485     * @param item The menu item object.
15486     * @param icon The icon object to set for the content of @p item
15487     *
15488     * Once this icon is set, any previously set icon will be deleted.
15489     */
15490    EAPI void               elm_menu_item_object_icon_name_set(Elm_Menu_Item *item, const char *icon) EINA_ARG_NONNULL(1, 2);
15491    /**
15492     * @brief Get the string representation from the icon of a menu item
15493     *
15494     * @param item The menu item object.
15495     * @return The string representation of @p item's icon or NULL
15496     *
15497     * @see elm_menu_item_object_icon_name_set()
15498     */
15499    EAPI const char        *elm_menu_item_object_icon_name_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15500    /**
15501     * @brief Set the content object of a menu item
15502     *
15503     * @param item The menu item object
15504     * @param The content object or NULL
15505     * @return EINA_TRUE on success, else EINA_FALSE
15506     *
15507     * Use this function to change the object swallowed by a menu item, deleting
15508     * any previously swallowed object.
15509     */
15510    EAPI Eina_Bool          elm_menu_item_object_content_set(Elm_Menu_Item *item, Evas_Object *obj) EINA_ARG_NONNULL(1);
15511    /**
15512     * @brief Get the content object of a menu item
15513     *
15514     * @param item The menu item object
15515     * @return The content object or NULL
15516     * @note If @p item was added with elm_menu_item_add_object, this
15517     * function will return the object passed, else it will return the
15518     * icon object.
15519     *
15520     * @see elm_menu_item_object_content_set()
15521     */
15522    EAPI Evas_Object *elm_menu_item_object_content_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15523    /**
15524     * @brief Set the selected state of @p item.
15525     *
15526     * @param item The menu item object.
15527     * @param selected The selected/unselected state of the item
15528     */
15529    EAPI void               elm_menu_item_selected_set(Elm_Menu_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
15530    /**
15531     * @brief Get the selected state of @p item.
15532     *
15533     * @param item The menu item object.
15534     * @return The selected/unselected state of the item
15535     *
15536     * @see elm_menu_item_selected_set()
15537     */
15538    EAPI Eina_Bool          elm_menu_item_selected_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15539    /**
15540     * @brief Set the disabled state of @p item.
15541     *
15542     * @param item The menu item object.
15543     * @param disabled The enabled/disabled state of the item
15544     */
15545    EAPI void               elm_menu_item_disabled_set(Elm_Menu_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
15546    /**
15547     * @brief Get the disabled state of @p item.
15548     *
15549     * @param item The menu item object.
15550     * @return The enabled/disabled state of the item
15551     *
15552     * @see elm_menu_item_disabled_set()
15553     */
15554    EAPI Eina_Bool          elm_menu_item_disabled_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15555    /**
15556     * @brief Add a separator item to menu @p obj under @p parent.
15557     *
15558     * @param obj The menu object
15559     * @param parent The item to add the separator under
15560     * @return The created item or NULL on failure
15561     *
15562     * This is item is a @ref Separator.
15563     */
15564    EAPI Elm_Menu_Item     *elm_menu_item_separator_add(Evas_Object *obj, Elm_Menu_Item *parent) EINA_ARG_NONNULL(1);
15565    /**
15566     * @brief Returns whether @p item is a separator.
15567     *
15568     * @param item The item to check
15569     * @return If true, @p item is a separator
15570     *
15571     * @see elm_menu_item_separator_add()
15572     */
15573    EAPI Eina_Bool          elm_menu_item_is_separator(Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15574    /**
15575     * @brief Deletes an item from the menu.
15576     *
15577     * @param item The item to delete.
15578     *
15579     * @see elm_menu_item_add()
15580     */
15581    EAPI void               elm_menu_item_del(Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15582    /**
15583     * @brief Set the function called when a menu item is deleted.
15584     *
15585     * @param item The item to set the callback on
15586     * @param func The function called
15587     *
15588     * @see elm_menu_item_add()
15589     * @see elm_menu_item_del()
15590     */
15591    EAPI void               elm_menu_item_del_cb_set(Elm_Menu_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
15592    /**
15593     * @brief Returns the data associated with menu item @p item.
15594     *
15595     * @param item The item
15596     * @return The data associated with @p item or NULL if none was set.
15597     *
15598     * This is the data set with elm_menu_add() or elm_menu_item_data_set().
15599     */
15600    EAPI void              *elm_menu_item_data_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
15601    /**
15602     * @brief Sets the data to be associated with menu item @p item.
15603     *
15604     * @param item The item
15605     * @param data The data to be associated with @p item
15606     */
15607    EAPI void               elm_menu_item_data_set(Elm_Menu_Item *item, const void *data) EINA_ARG_NONNULL(1);
15608    /**
15609     * @brief Returns a list of @p item's subitems.
15610     *
15611     * @param item The item
15612     * @return An Eina_List* of @p item's subitems
15613     *
15614     * @see elm_menu_add()
15615     */
15616    EAPI const Eina_List   *elm_menu_item_subitems_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15617    /**
15618     * @brief Get the position of a menu item
15619     *
15620     * @param item The menu item
15621     * @return The item's index
15622     *
15623     * This function returns the index position of a menu item in a menu.
15624     * For a sub-menu, this number is relative to the first item in the sub-menu.
15625     *
15626     * @note Index values begin with 0
15627     */
15628    EAPI unsigned int       elm_menu_item_index_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1) EINA_PURE;
15629    /**
15630     * @brief @brief Return a menu item's owner menu
15631     *
15632     * @param item The menu item
15633     * @return The menu object owning @p item, or NULL on failure
15634     *
15635     * Use this function to get the menu object owning an item.
15636     */
15637    EAPI Evas_Object       *elm_menu_item_menu_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1) EINA_PURE;
15638    /**
15639     * @brief Get the selected item in the menu
15640     *
15641     * @param obj The menu object
15642     * @return The selected item, or NULL if none
15643     *
15644     * @see elm_menu_item_selected_get()
15645     * @see elm_menu_item_selected_set()
15646     */
15647    EAPI Elm_Menu_Item *elm_menu_selected_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
15648    /**
15649     * @brief Get the last item in the menu
15650     *
15651     * @param obj The menu object
15652     * @return The last item, or NULL if none
15653     */
15654    EAPI Elm_Menu_Item *elm_menu_last_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
15655    /**
15656     * @brief Get the first item in the menu
15657     *
15658     * @param obj The menu object
15659     * @return The first item, or NULL if none
15660     */
15661    EAPI Elm_Menu_Item *elm_menu_first_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
15662    /**
15663     * @brief Get the next item in the menu.
15664     *
15665     * @param item The menu item object.
15666     * @return The item after it, or NULL if none
15667     */
15668    EAPI Elm_Menu_Item *elm_menu_item_next_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
15669    /**
15670     * @brief Get the previous item in the menu.
15671     *
15672     * @param item The menu item object.
15673     * @return The item before it, or NULL if none
15674     */
15675    EAPI Elm_Menu_Item *elm_menu_item_prev_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
15676    /**
15677     * @}
15678     */
15679
15680    /**
15681     * @defgroup List List
15682     * @ingroup Elementary
15683     *
15684     * @image html img/widget/list/preview-00.png
15685     * @image latex img/widget/list/preview-00.eps width=\textwidth
15686     *
15687     * @image html img/list.png
15688     * @image latex img/list.eps width=\textwidth
15689     *
15690     * A list widget is a container whose children are displayed vertically or
15691     * horizontally, in order, and can be selected.
15692     * The list can accept only one or multiple items selection. Also has many
15693     * modes of items displaying.
15694     *
15695     * A list is a very simple type of list widget.  For more robust
15696     * lists, @ref Genlist should probably be used.
15697     *
15698     * Smart callbacks one can listen to:
15699     * - @c "activated" - The user has double-clicked or pressed
15700     *   (enter|return|spacebar) on an item. The @c event_info parameter
15701     *   is the item that was activated.
15702     * - @c "clicked,double" - The user has double-clicked an item.
15703     *   The @c event_info parameter is the item that was double-clicked.
15704     * - "selected" - when the user selected an item
15705     * - "unselected" - when the user unselected an item
15706     * - "longpressed" - an item in the list is long-pressed
15707     * - "scroll,edge,top" - the list is scrolled until the top edge
15708     * - "scroll,edge,bottom" - the list is scrolled until the bottom edge
15709     * - "scroll,edge,left" - the list is scrolled until the left edge
15710     * - "scroll,edge,right" - the list is scrolled until the right edge
15711     *
15712     * Available styles for it:
15713     * - @c "default"
15714     *
15715     * List of examples:
15716     * @li @ref list_example_01
15717     * @li @ref list_example_02
15718     * @li @ref list_example_03
15719     */
15720
15721    /**
15722     * @addtogroup List
15723     * @{
15724     */
15725
15726    /**
15727     * @enum _Elm_List_Mode
15728     * @typedef Elm_List_Mode
15729     *
15730     * Set list's resize behavior, transverse axis scroll and
15731     * items cropping. See each mode's description for more details.
15732     *
15733     * @note Default value is #ELM_LIST_SCROLL.
15734     *
15735     * Values <b> don't </b> work as bitmask, only one can be choosen.
15736     *
15737     * @see elm_list_mode_set()
15738     * @see elm_list_mode_get()
15739     *
15740     * @ingroup List
15741     */
15742    typedef enum _Elm_List_Mode
15743      {
15744         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. */
15745         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). */
15746         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. */
15747         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. */
15748         ELM_LIST_LAST /**< Indicates error if returned by elm_list_mode_get() */
15749      } Elm_List_Mode;
15750
15751    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().  */
15752
15753    /**
15754     * Add a new list widget to the given parent Elementary
15755     * (container) object.
15756     *
15757     * @param parent The parent object.
15758     * @return a new list widget handle or @c NULL, on errors.
15759     *
15760     * This function inserts a new list widget on the canvas.
15761     *
15762     * @ingroup List
15763     */
15764    EAPI Evas_Object     *elm_list_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15765
15766    /**
15767     * Starts the list.
15768     *
15769     * @param obj The list object
15770     *
15771     * @note Call before running show() on the list object.
15772     * @warning If not called, it won't display the list properly.
15773     *
15774     * @code
15775     * li = elm_list_add(win);
15776     * elm_list_item_append(li, "First", NULL, NULL, NULL, NULL);
15777     * elm_list_item_append(li, "Second", NULL, NULL, NULL, NULL);
15778     * elm_list_go(li);
15779     * evas_object_show(li);
15780     * @endcode
15781     *
15782     * @ingroup List
15783     */
15784    EAPI void             elm_list_go(Evas_Object *obj) EINA_ARG_NONNULL(1);
15785
15786    /**
15787     * Enable or disable multiple items selection on the list object.
15788     *
15789     * @param obj The list object
15790     * @param multi @c EINA_TRUE to enable multi selection or @c EINA_FALSE to
15791     * disable it.
15792     *
15793     * Disabled by default. If disabled, the user can select a single item of
15794     * the list each time. Selected items are highlighted on list.
15795     * If enabled, many items can be selected.
15796     *
15797     * If a selected item is selected again, it will be unselected.
15798     *
15799     * @see elm_list_multi_select_get()
15800     *
15801     * @ingroup List
15802     */
15803    EAPI void             elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
15804
15805    /**
15806     * Get a value whether multiple items selection is enabled or not.
15807     *
15808     * @see elm_list_multi_select_set() for details.
15809     *
15810     * @param obj The list object.
15811     * @return @c EINA_TRUE means multiple items selection is enabled.
15812     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
15813     * @c EINA_FALSE is returned.
15814     *
15815     * @ingroup List
15816     */
15817    EAPI Eina_Bool        elm_list_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15818
15819    /**
15820     * Set which mode to use for the list object.
15821     *
15822     * @param obj The list object
15823     * @param mode One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
15824     * #ELM_LIST_LIMIT or #ELM_LIST_EXPAND.
15825     *
15826     * Set list's resize behavior, transverse axis scroll and
15827     * items cropping. See each mode's description for more details.
15828     *
15829     * @note Default value is #ELM_LIST_SCROLL.
15830     *
15831     * Only one can be set, if a previous one was set, it will be changed
15832     * by the new mode set. Bitmask won't work as well.
15833     *
15834     * @see elm_list_mode_get()
15835     *
15836     * @ingroup List
15837     */
15838    EAPI void             elm_list_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
15839
15840    /**
15841     * Get the mode the list is at.
15842     *
15843     * @param obj The list object
15844     * @return One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
15845     * #ELM_LIST_LIMIT, #ELM_LIST_EXPAND or #ELM_LIST_LAST on errors.
15846     *
15847     * @note see elm_list_mode_set() for more information.
15848     *
15849     * @ingroup List
15850     */
15851    EAPI Elm_List_Mode    elm_list_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15852
15853    /**
15854     * Enable or disable horizontal mode on the list object.
15855     *
15856     * @param obj The list object.
15857     * @param horizontal @c EINA_TRUE to enable horizontal or @c EINA_FALSE to
15858     * disable it, i.e., to enable vertical mode.
15859     *
15860     * @note Vertical mode is set by default.
15861     *
15862     * On horizontal mode items are displayed on list from left to right,
15863     * instead of from top to bottom. Also, the list will scroll horizontally.
15864     * Each item will presents left icon on top and right icon, or end, at
15865     * the bottom.
15866     *
15867     * @see elm_list_horizontal_get()
15868     *
15869     * @ingroup List
15870     */
15871    EAPI void             elm_list_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
15872
15873    /**
15874     * Get a value whether horizontal mode is enabled or not.
15875     *
15876     * @param obj The list object.
15877     * @return @c EINA_TRUE means horizontal mode selection is enabled.
15878     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
15879     * @c EINA_FALSE is returned.
15880     *
15881     * @see elm_list_horizontal_set() for details.
15882     *
15883     * @ingroup List
15884     */
15885    EAPI Eina_Bool        elm_list_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15886
15887    /**
15888     * Enable or disable always select mode on the list object.
15889     *
15890     * @param obj The list object
15891     * @param always_select @c EINA_TRUE to enable always select mode or
15892     * @c EINA_FALSE to disable it.
15893     *
15894     * @note Always select mode is disabled by default.
15895     *
15896     * Default behavior of list items is to only call its callback function
15897     * the first time it's pressed, i.e., when it is selected. If a selected
15898     * item is pressed again, and multi-select is disabled, it won't call
15899     * this function (if multi-select is enabled it will unselect the item).
15900     *
15901     * If always select is enabled, it will call the callback function
15902     * everytime a item is pressed, so it will call when the item is selected,
15903     * and again when a selected item is pressed.
15904     *
15905     * @see elm_list_always_select_mode_get()
15906     * @see elm_list_multi_select_set()
15907     *
15908     * @ingroup List
15909     */
15910    EAPI void             elm_list_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
15911
15912    /**
15913     * Get a value whether always select mode is enabled or not, meaning that
15914     * an item will always call its callback function, even if already selected.
15915     *
15916     * @param obj The list object
15917     * @return @c EINA_TRUE means horizontal mode selection is enabled.
15918     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
15919     * @c EINA_FALSE is returned.
15920     *
15921     * @see elm_list_always_select_mode_set() for details.
15922     *
15923     * @ingroup List
15924     */
15925    EAPI Eina_Bool        elm_list_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15926
15927    /**
15928     * Set bouncing behaviour when the scrolled content reaches an edge.
15929     *
15930     * Tell the internal scroller object whether it should bounce or not
15931     * when it reaches the respective edges for each axis.
15932     *
15933     * @param obj The list object
15934     * @param h_bounce Whether to bounce or not in the horizontal axis.
15935     * @param v_bounce Whether to bounce or not in the vertical axis.
15936     *
15937     * @see elm_scroller_bounce_set()
15938     *
15939     * @ingroup List
15940     */
15941    EAPI void             elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
15942
15943    /**
15944     * Get the bouncing behaviour of the internal scroller.
15945     *
15946     * Get whether the internal scroller should bounce when the edge of each
15947     * axis is reached scrolling.
15948     *
15949     * @param obj The list object.
15950     * @param h_bounce Pointer where to store the bounce state of the horizontal
15951     * axis.
15952     * @param v_bounce Pointer where to store the bounce state of the vertical
15953     * axis.
15954     *
15955     * @see elm_scroller_bounce_get()
15956     * @see elm_list_bounce_set()
15957     *
15958     * @ingroup List
15959     */
15960    EAPI void             elm_list_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
15961
15962    /**
15963     * Set the scrollbar policy.
15964     *
15965     * @param obj The list object
15966     * @param policy_h Horizontal scrollbar policy.
15967     * @param policy_v Vertical scrollbar policy.
15968     *
15969     * This sets the scrollbar visibility policy for the given scroller.
15970     * #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
15971     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
15972     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
15973     * This applies respectively for the horizontal and vertical scrollbars.
15974     *
15975     * The both are disabled by default, i.e., are set to
15976     * #ELM_SCROLLER_POLICY_OFF.
15977     *
15978     * @ingroup List
15979     */
15980    EAPI void             elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
15981
15982    /**
15983     * Get the scrollbar policy.
15984     *
15985     * @see elm_list_scroller_policy_get() for details.
15986     *
15987     * @param obj The list object.
15988     * @param policy_h Pointer where to store horizontal scrollbar policy.
15989     * @param policy_v Pointer where to store vertical scrollbar policy.
15990     *
15991     * @ingroup List
15992     */
15993    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);
15994
15995    /**
15996     * Append a new item to the list object.
15997     *
15998     * @param obj The list object.
15999     * @param label The label of the list item.
16000     * @param icon The icon object to use for the left side of the item. An
16001     * icon can be any Evas object, but usually it is an icon created
16002     * with elm_icon_add().
16003     * @param end The icon object to use for the right side of the item. An
16004     * icon can be any Evas object.
16005     * @param func The function to call when the item is clicked.
16006     * @param data The data to associate with the item for related callbacks.
16007     *
16008     * @return The created item or @c NULL upon failure.
16009     *
16010     * A new item will be created and appended to the list, i.e., will
16011     * be set as @b last item.
16012     *
16013     * Items created with this method can be deleted with
16014     * elm_list_item_del().
16015     *
16016     * Associated @p data can be properly freed when item is deleted if a
16017     * callback function is set with elm_list_item_del_cb_set().
16018     *
16019     * If a function is passed as argument, it will be called everytime this item
16020     * is selected, i.e., the user clicks over an unselected item.
16021     * If always select is enabled it will call this function every time
16022     * user clicks over an item (already selected or not).
16023     * If such function isn't needed, just passing
16024     * @c NULL as @p func is enough. The same should be done for @p data.
16025     *
16026     * Simple example (with no function callback or data associated):
16027     * @code
16028     * li = elm_list_add(win);
16029     * ic = elm_icon_add(win);
16030     * elm_icon_file_set(ic, "path/to/image", NULL);
16031     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
16032     * elm_list_item_append(li, "label", ic, NULL, NULL, NULL);
16033     * elm_list_go(li);
16034     * evas_object_show(li);
16035     * @endcode
16036     *
16037     * @see elm_list_always_select_mode_set()
16038     * @see elm_list_item_del()
16039     * @see elm_list_item_del_cb_set()
16040     * @see elm_list_clear()
16041     * @see elm_icon_add()
16042     *
16043     * @ingroup List
16044     */
16045    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);
16046
16047    /**
16048     * Prepend a new item to the list object.
16049     *
16050     * @param obj The list object.
16051     * @param label The label of the list item.
16052     * @param icon The icon object to use for the left side of the item. An
16053     * icon can be any Evas object, but usually it is an icon created
16054     * with elm_icon_add().
16055     * @param end The icon object to use for the right side of the item. An
16056     * icon can be any Evas object.
16057     * @param func The function to call when the item is clicked.
16058     * @param data The data to associate with the item for related callbacks.
16059     *
16060     * @return The created item or @c NULL upon failure.
16061     *
16062     * A new item will be created and prepended to the list, i.e., will
16063     * be set as @b first item.
16064     *
16065     * Items created with this method can be deleted with
16066     * elm_list_item_del().
16067     *
16068     * Associated @p data can be properly freed when item is deleted if a
16069     * callback function is set with elm_list_item_del_cb_set().
16070     *
16071     * If a function is passed as argument, it will be called everytime this item
16072     * is selected, i.e., the user clicks over an unselected item.
16073     * If always select is enabled it will call this function every time
16074     * user clicks over an item (already selected or not).
16075     * If such function isn't needed, just passing
16076     * @c NULL as @p func is enough. The same should be done for @p data.
16077     *
16078     * @see elm_list_item_append() for a simple code example.
16079     * @see elm_list_always_select_mode_set()
16080     * @see elm_list_item_del()
16081     * @see elm_list_item_del_cb_set()
16082     * @see elm_list_clear()
16083     * @see elm_icon_add()
16084     *
16085     * @ingroup List
16086     */
16087    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);
16088
16089    /**
16090     * Insert a new item into the list object before item @p before.
16091     *
16092     * @param obj The list object.
16093     * @param before The list item to insert before.
16094     * @param label The label of the list item.
16095     * @param icon The icon object to use for the left side of the item. An
16096     * icon can be any Evas object, but usually it is an icon created
16097     * with elm_icon_add().
16098     * @param end The icon object to use for the right side of the item. An
16099     * icon can be any Evas object.
16100     * @param func The function to call when the item is clicked.
16101     * @param data The data to associate with the item for related callbacks.
16102     *
16103     * @return The created item or @c NULL upon failure.
16104     *
16105     * A new item will be created and added to the list. Its position in
16106     * this list will be just before item @p before.
16107     *
16108     * Items created with this method can be deleted with
16109     * elm_list_item_del().
16110     *
16111     * Associated @p data can be properly freed when item is deleted if a
16112     * callback function is set with elm_list_item_del_cb_set().
16113     *
16114     * If a function is passed as argument, it will be called everytime this item
16115     * is selected, i.e., the user clicks over an unselected item.
16116     * If always select is enabled it will call this function every time
16117     * user clicks over an item (already selected or not).
16118     * If such function isn't needed, just passing
16119     * @c NULL as @p func is enough. The same should be done for @p data.
16120     *
16121     * @see elm_list_item_append() for a simple code example.
16122     * @see elm_list_always_select_mode_set()
16123     * @see elm_list_item_del()
16124     * @see elm_list_item_del_cb_set()
16125     * @see elm_list_clear()
16126     * @see elm_icon_add()
16127     *
16128     * @ingroup List
16129     */
16130    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);
16131
16132    /**
16133     * Insert a new item into the list object after item @p after.
16134     *
16135     * @param obj The list object.
16136     * @param after The list item to insert after.
16137     * @param label The label of the list item.
16138     * @param icon The icon object to use for the left side of the item. An
16139     * icon can be any Evas object, but usually it is an icon created
16140     * with elm_icon_add().
16141     * @param end The icon object to use for the right side of the item. An
16142     * icon can be any Evas object.
16143     * @param func The function to call when the item is clicked.
16144     * @param data The data to associate with the item for related callbacks.
16145     *
16146     * @return The created item or @c NULL upon failure.
16147     *
16148     * A new item will be created and added to the list. Its position in
16149     * this list will be just after item @p after.
16150     *
16151     * Items created with this method can be deleted with
16152     * elm_list_item_del().
16153     *
16154     * Associated @p data can be properly freed when item is deleted if a
16155     * callback function is set with elm_list_item_del_cb_set().
16156     *
16157     * If a function is passed as argument, it will be called everytime this item
16158     * is selected, i.e., the user clicks over an unselected item.
16159     * If always select is enabled it will call this function every time
16160     * user clicks over an item (already selected or not).
16161     * If such function isn't needed, just passing
16162     * @c NULL as @p func is enough. The same should be done for @p data.
16163     *
16164     * @see elm_list_item_append() for a simple code example.
16165     * @see elm_list_always_select_mode_set()
16166     * @see elm_list_item_del()
16167     * @see elm_list_item_del_cb_set()
16168     * @see elm_list_clear()
16169     * @see elm_icon_add()
16170     *
16171     * @ingroup List
16172     */
16173    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);
16174
16175    /**
16176     * Insert a new item into the sorted list object.
16177     *
16178     * @param obj The list object.
16179     * @param label The label of the list item.
16180     * @param icon The icon object to use for the left side of the item. An
16181     * icon can be any Evas object, but usually it is an icon created
16182     * with elm_icon_add().
16183     * @param end The icon object to use for the right side of the item. An
16184     * icon can be any Evas object.
16185     * @param func The function to call when the item is clicked.
16186     * @param data The data to associate with the item for related callbacks.
16187     * @param cmp_func The comparing function to be used to sort list
16188     * items <b>by #Elm_List_Item item handles</b>. This function will
16189     * receive two items and compare them, returning a non-negative integer
16190     * if the second item should be place after the first, or negative value
16191     * if should be placed before.
16192     *
16193     * @return The created item or @c NULL upon failure.
16194     *
16195     * @note This function inserts values into a list object assuming it was
16196     * sorted and the result will be sorted.
16197     *
16198     * A new item will be created and added to the list. Its position in
16199     * this list will be found comparing the new item with previously inserted
16200     * items using function @p cmp_func.
16201     *
16202     * Items created with this method can be deleted with
16203     * elm_list_item_del().
16204     *
16205     * Associated @p data can be properly freed when item is deleted if a
16206     * callback function is set with elm_list_item_del_cb_set().
16207     *
16208     * If a function is passed as argument, it will be called everytime this item
16209     * is selected, i.e., the user clicks over an unselected item.
16210     * If always select is enabled it will call this function every time
16211     * user clicks over an item (already selected or not).
16212     * If such function isn't needed, just passing
16213     * @c NULL as @p func is enough. The same should be done for @p data.
16214     *
16215     * @see elm_list_item_append() for a simple code example.
16216     * @see elm_list_always_select_mode_set()
16217     * @see elm_list_item_del()
16218     * @see elm_list_item_del_cb_set()
16219     * @see elm_list_clear()
16220     * @see elm_icon_add()
16221     *
16222     * @ingroup List
16223     */
16224    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);
16225
16226    /**
16227     * Remove all list's items.
16228     *
16229     * @param obj The list object
16230     *
16231     * @see elm_list_item_del()
16232     * @see elm_list_item_append()
16233     *
16234     * @ingroup List
16235     */
16236    EAPI void             elm_list_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
16237
16238    /**
16239     * Get a list of all the list items.
16240     *
16241     * @param obj The list object
16242     * @return An @c Eina_List of list items, #Elm_List_Item,
16243     * or @c NULL on failure.
16244     *
16245     * @see elm_list_item_append()
16246     * @see elm_list_item_del()
16247     * @see elm_list_clear()
16248     *
16249     * @ingroup List
16250     */
16251    EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16252
16253    /**
16254     * Get the selected item.
16255     *
16256     * @param obj The list object.
16257     * @return The selected list item.
16258     *
16259     * The selected item can be unselected with function
16260     * elm_list_item_selected_set().
16261     *
16262     * The selected item always will be highlighted on list.
16263     *
16264     * @see elm_list_selected_items_get()
16265     *
16266     * @ingroup List
16267     */
16268    EAPI Elm_List_Item   *elm_list_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16269
16270    /**
16271     * Return a list of the currently selected list items.
16272     *
16273     * @param obj The list object.
16274     * @return An @c Eina_List of list items, #Elm_List_Item,
16275     * or @c NULL on failure.
16276     *
16277     * Multiple items can be selected if multi select is enabled. It can be
16278     * done with elm_list_multi_select_set().
16279     *
16280     * @see elm_list_selected_item_get()
16281     * @see elm_list_multi_select_set()
16282     *
16283     * @ingroup List
16284     */
16285    EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16286
16287    /**
16288     * Set the selected state of an item.
16289     *
16290     * @param item The list item
16291     * @param selected The selected state
16292     *
16293     * This sets the selected state of the given item @p it.
16294     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
16295     *
16296     * If a new item is selected the previosly selected will be unselected,
16297     * unless multiple selection is enabled with elm_list_multi_select_set().
16298     * Previoulsy selected item can be get with function
16299     * elm_list_selected_item_get().
16300     *
16301     * Selected items will be highlighted.
16302     *
16303     * @see elm_list_item_selected_get()
16304     * @see elm_list_selected_item_get()
16305     * @see elm_list_multi_select_set()
16306     *
16307     * @ingroup List
16308     */
16309    EAPI void             elm_list_item_selected_set(Elm_List_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
16310
16311    /*
16312     * Get whether the @p item is selected or not.
16313     *
16314     * @param item The list item.
16315     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
16316     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
16317     *
16318     * @see elm_list_selected_item_set() for details.
16319     * @see elm_list_item_selected_get()
16320     *
16321     * @ingroup List
16322     */
16323    EAPI Eina_Bool        elm_list_item_selected_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16324
16325    /**
16326     * Set or unset item as a separator.
16327     *
16328     * @param it The list item.
16329     * @param setting @c EINA_TRUE to set item @p it as separator or
16330     * @c EINA_FALSE to unset, i.e., item will be used as a regular item.
16331     *
16332     * Items aren't set as separator by default.
16333     *
16334     * If set as separator it will display separator theme, so won't display
16335     * icons or label.
16336     *
16337     * @see elm_list_item_separator_get()
16338     *
16339     * @ingroup List
16340     */
16341    EAPI void             elm_list_item_separator_set(Elm_List_Item *it, Eina_Bool setting) EINA_ARG_NONNULL(1);
16342
16343    /**
16344     * Get a value whether item is a separator or not.
16345     *
16346     * @see elm_list_item_separator_set() for details.
16347     *
16348     * @param it The list item.
16349     * @return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
16350     * indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
16351     *
16352     * @ingroup List
16353     */
16354    EAPI Eina_Bool        elm_list_item_separator_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
16355
16356    /**
16357     * Show @p item in the list view.
16358     *
16359     * @param item The list item to be shown.
16360     *
16361     * It won't animate list until item is visible. If such behavior is wanted,
16362     * use elm_list_bring_in() intead.
16363     *
16364     * @ingroup List
16365     */
16366    EAPI void             elm_list_item_show(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16367
16368    /**
16369     * Bring in the given item to list view.
16370     *
16371     * @param item The item.
16372     *
16373     * This causes list to jump to the given item @p item and show it
16374     * (by scrolling), if it is not fully visible.
16375     *
16376     * This may use animation to do so and take a period of time.
16377     *
16378     * If animation isn't wanted, elm_list_item_show() can be used.
16379     *
16380     * @ingroup List
16381     */
16382    EAPI void             elm_list_item_bring_in(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16383
16384    /**
16385     * Delete them item from the list.
16386     *
16387     * @param item The item of list to be deleted.
16388     *
16389     * If deleting all list items is required, elm_list_clear()
16390     * should be used instead of getting items list and deleting each one.
16391     *
16392     * @see elm_list_clear()
16393     * @see elm_list_item_append()
16394     * @see elm_list_item_del_cb_set()
16395     *
16396     * @ingroup List
16397     */
16398    EAPI void             elm_list_item_del(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16399
16400    /**
16401     * Set the function called when a list item is freed.
16402     *
16403     * @param item The item to set the callback on
16404     * @param func The function called
16405     *
16406     * If there is a @p func, then it will be called prior item's memory release.
16407     * That will be called with the following arguments:
16408     * @li item's data;
16409     * @li item's Evas object;
16410     * @li item itself;
16411     *
16412     * This way, a data associated to a list item could be properly freed.
16413     *
16414     * @ingroup List
16415     */
16416    EAPI void             elm_list_item_del_cb_set(Elm_List_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
16417
16418    /**
16419     * Get the data associated to the item.
16420     *
16421     * @param item The list item
16422     * @return The data associated to @p item
16423     *
16424     * The return value is a pointer to data associated to @p item when it was
16425     * created, with function elm_list_item_append() or similar. If no data
16426     * was passed as argument, it will return @c NULL.
16427     *
16428     * @see elm_list_item_append()
16429     *
16430     * @ingroup List
16431     */
16432    EAPI void            *elm_list_item_data_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16433
16434    /**
16435     * Get the left side icon associated to the item.
16436     *
16437     * @param item The list item
16438     * @return The left side icon associated to @p item
16439     *
16440     * The return value is a pointer to the icon associated to @p item when
16441     * it was
16442     * created, with function elm_list_item_append() or similar, or later
16443     * with function elm_list_item_icon_set(). If no icon
16444     * was passed as argument, it will return @c NULL.
16445     *
16446     * @see elm_list_item_append()
16447     * @see elm_list_item_icon_set()
16448     *
16449     * @ingroup List
16450     */
16451    EAPI Evas_Object     *elm_list_item_icon_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16452
16453    /**
16454     * Set the left side icon associated to the item.
16455     *
16456     * @param item The list item
16457     * @param icon The left side icon object to associate with @p item
16458     *
16459     * The icon object to use at left side of the item. An
16460     * icon can be any Evas object, but usually it is an icon created
16461     * with elm_icon_add().
16462     *
16463     * Once the icon object is set, a previously set one will be deleted.
16464     * @warning Setting the same icon for two items will cause the icon to
16465     * dissapear from the first item.
16466     *
16467     * If an icon was passed as argument on item creation, with function
16468     * elm_list_item_append() or similar, it will be already
16469     * associated to the item.
16470     *
16471     * @see elm_list_item_append()
16472     * @see elm_list_item_icon_get()
16473     *
16474     * @ingroup List
16475     */
16476    EAPI void             elm_list_item_icon_set(Elm_List_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
16477
16478    /**
16479     * Get the right side icon associated to the item.
16480     *
16481     * @param item The list item
16482     * @return The right side icon associated to @p item
16483     *
16484     * The return value is a pointer to the icon associated to @p item when
16485     * it was
16486     * created, with function elm_list_item_append() or similar, or later
16487     * with function elm_list_item_icon_set(). If no icon
16488     * was passed as argument, it will return @c NULL.
16489     *
16490     * @see elm_list_item_append()
16491     * @see elm_list_item_icon_set()
16492     *
16493     * @ingroup List
16494     */
16495    EAPI Evas_Object     *elm_list_item_end_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16496
16497    /**
16498     * Set the right side icon associated to the item.
16499     *
16500     * @param item The list item
16501     * @param end The right side icon object to associate with @p item
16502     *
16503     * The icon object to use at right side of the item. An
16504     * icon can be any Evas object, but usually it is an icon created
16505     * with elm_icon_add().
16506     *
16507     * Once the icon object is set, a previously set one will be deleted.
16508     * @warning Setting the same icon for two items will cause the icon to
16509     * dissapear from the first item.
16510     *
16511     * If an icon was passed as argument on item creation, with function
16512     * elm_list_item_append() or similar, it will be already
16513     * associated to the item.
16514     *
16515     * @see elm_list_item_append()
16516     * @see elm_list_item_end_get()
16517     *
16518     * @ingroup List
16519     */
16520    EAPI void             elm_list_item_end_set(Elm_List_Item *item, Evas_Object *end) EINA_ARG_NONNULL(1);
16521
16522    /**
16523     * Gets the base object of the item.
16524     *
16525     * @param item The list item
16526     * @return The base object associated with @p item
16527     *
16528     * Base object is the @c Evas_Object that represents that item.
16529     *
16530     * @ingroup List
16531     */
16532    EAPI Evas_Object     *elm_list_item_object_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16533    EINA_DEPRECATED EAPI Evas_Object     *elm_list_item_base_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16534
16535    /**
16536     * Get the label of item.
16537     *
16538     * @param item The item of list.
16539     * @return The label of item.
16540     *
16541     * The return value is a pointer to the label associated to @p item when
16542     * it was created, with function elm_list_item_append(), or later
16543     * with function elm_list_item_label_set. If no label
16544     * was passed as argument, it will return @c NULL.
16545     *
16546     * @see elm_list_item_label_set() for more details.
16547     * @see elm_list_item_append()
16548     *
16549     * @ingroup List
16550     */
16551    EAPI const char      *elm_list_item_label_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16552
16553    /**
16554     * Set the label of item.
16555     *
16556     * @param item The item of list.
16557     * @param text The label of item.
16558     *
16559     * The label to be displayed by the item.
16560     * Label will be placed between left and right side icons (if set).
16561     *
16562     * If a label was passed as argument on item creation, with function
16563     * elm_list_item_append() or similar, it will be already
16564     * displayed by the item.
16565     *
16566     * @see elm_list_item_label_get()
16567     * @see elm_list_item_append()
16568     *
16569     * @ingroup List
16570     */
16571    EAPI void             elm_list_item_label_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
16572
16573
16574    /**
16575     * Get the item before @p it in list.
16576     *
16577     * @param it The list item.
16578     * @return The item before @p it, or @c NULL if none or on failure.
16579     *
16580     * @note If it is the first item, @c NULL will be returned.
16581     *
16582     * @see elm_list_item_append()
16583     * @see elm_list_items_get()
16584     *
16585     * @ingroup List
16586     */
16587    EAPI Elm_List_Item   *elm_list_item_prev(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
16588
16589    /**
16590     * Get the item after @p it in list.
16591     *
16592     * @param it The list item.
16593     * @return The item after @p it, or @c NULL if none or on failure.
16594     *
16595     * @note If it is the last item, @c NULL will be returned.
16596     *
16597     * @see elm_list_item_append()
16598     * @see elm_list_items_get()
16599     *
16600     * @ingroup List
16601     */
16602    EAPI Elm_List_Item   *elm_list_item_next(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
16603
16604    /**
16605     * Sets the disabled/enabled state of a list item.
16606     *
16607     * @param it The item.
16608     * @param disabled The disabled state.
16609     *
16610     * A disabled item cannot be selected or unselected. It will also
16611     * change its appearance (generally greyed out). This sets the
16612     * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
16613     * enabled).
16614     *
16615     * @ingroup List
16616     */
16617    EAPI void             elm_list_item_disabled_set(Elm_List_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
16618
16619    /**
16620     * Get a value whether list item is disabled or not.
16621     *
16622     * @param it The item.
16623     * @return The disabled state.
16624     *
16625     * @see elm_list_item_disabled_set() for more details.
16626     *
16627     * @ingroup List
16628     */
16629    EAPI Eina_Bool        elm_list_item_disabled_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
16630
16631    /**
16632     * Set the text to be shown in a given list item's tooltips.
16633     *
16634     * @param item Target item.
16635     * @param text The text to set in the content.
16636     *
16637     * Setup the text as tooltip to object. The item can have only one tooltip,
16638     * so any previous tooltip data - set with this function or
16639     * elm_list_item_tooltip_content_cb_set() - is removed.
16640     *
16641     * @see elm_object_tooltip_text_set() for more details.
16642     *
16643     * @ingroup List
16644     */
16645    EAPI void             elm_list_item_tooltip_text_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
16646
16647
16648    /**
16649     * @brief Disable size restrictions on an object's tooltip
16650     * @param item The tooltip's anchor object
16651     * @param disable If EINA_TRUE, size restrictions are disabled
16652     * @return EINA_FALSE on failure, EINA_TRUE on success
16653     *
16654     * This function allows a tooltip to expand beyond its parant window's canvas.
16655     * It will instead be limited only by the size of the display.
16656     */
16657    EAPI Eina_Bool        elm_list_item_tooltip_size_restrict_disable(Elm_List_Item *item, Eina_Bool disable) EINA_ARG_NONNULL(1);
16658    /**
16659     * @brief Retrieve size restriction state of an object's tooltip
16660     * @param obj The tooltip's anchor object
16661     * @return If EINA_TRUE, size restrictions are disabled
16662     *
16663     * This function returns whether a tooltip is allowed to expand beyond
16664     * its parant window's canvas.
16665     * It will instead be limited only by the size of the display.
16666     */
16667    EAPI Eina_Bool        elm_list_item_tooltip_size_restrict_disabled_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16668
16669    /**
16670     * Set the content to be shown in the tooltip item.
16671     *
16672     * Setup the tooltip to item. The item can have only one tooltip,
16673     * so any previous tooltip data is removed. @p func(with @p data) will
16674     * be called every time that need show the tooltip and it should
16675     * return a valid Evas_Object. This object is then managed fully by
16676     * tooltip system and is deleted when the tooltip is gone.
16677     *
16678     * @param item the list item being attached a tooltip.
16679     * @param func the function used to create the tooltip contents.
16680     * @param data what to provide to @a func as callback data/context.
16681     * @param del_cb called when data is not needed anymore, either when
16682     *        another callback replaces @a func, the tooltip is unset with
16683     *        elm_list_item_tooltip_unset() or the owner @a item
16684     *        dies. This callback receives as the first parameter the
16685     *        given @a data, and @c event_info is the item.
16686     *
16687     * @see elm_object_tooltip_content_cb_set() for more details.
16688     *
16689     * @ingroup List
16690     */
16691    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);
16692
16693    /**
16694     * Unset tooltip from item.
16695     *
16696     * @param item list item to remove previously set tooltip.
16697     *
16698     * Remove tooltip from item. The callback provided as del_cb to
16699     * elm_list_item_tooltip_content_cb_set() will be called to notify
16700     * it is not used anymore.
16701     *
16702     * @see elm_object_tooltip_unset() for more details.
16703     * @see elm_list_item_tooltip_content_cb_set()
16704     *
16705     * @ingroup List
16706     */
16707    EAPI void             elm_list_item_tooltip_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16708
16709    /**
16710     * Sets a different style for this item tooltip.
16711     *
16712     * @note before you set a style you should define a tooltip with
16713     *       elm_list_item_tooltip_content_cb_set() or
16714     *       elm_list_item_tooltip_text_set()
16715     *
16716     * @param item list item with tooltip already set.
16717     * @param style the theme style to use (default, transparent, ...)
16718     *
16719     * @see elm_object_tooltip_style_set() for more details.
16720     *
16721     * @ingroup List
16722     */
16723    EAPI void             elm_list_item_tooltip_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
16724
16725    /**
16726     * Get the style for this item tooltip.
16727     *
16728     * @param item list item with tooltip already set.
16729     * @return style the theme style in use, defaults to "default". If the
16730     *         object does not have a tooltip set, then NULL is returned.
16731     *
16732     * @see elm_object_tooltip_style_get() for more details.
16733     * @see elm_list_item_tooltip_style_set()
16734     *
16735     * @ingroup List
16736     */
16737    EAPI const char      *elm_list_item_tooltip_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16738
16739    /**
16740     * Set the type of mouse pointer/cursor decoration to be shown,
16741     * when the mouse pointer is over the given list widget item
16742     *
16743     * @param item list item to customize cursor on
16744     * @param cursor the cursor type's name
16745     *
16746     * This function works analogously as elm_object_cursor_set(), but
16747     * here the cursor's changing area is restricted to the item's
16748     * area, and not the whole widget's. Note that that item cursors
16749     * have precedence over widget cursors, so that a mouse over an
16750     * item with custom cursor set will always show @b that cursor.
16751     *
16752     * If this function is called twice for an object, a previously set
16753     * cursor will be unset on the second call.
16754     *
16755     * @see elm_object_cursor_set()
16756     * @see elm_list_item_cursor_get()
16757     * @see elm_list_item_cursor_unset()
16758     *
16759     * @ingroup List
16760     */
16761    EAPI void             elm_list_item_cursor_set(Elm_List_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
16762
16763    /*
16764     * Get the type of mouse pointer/cursor decoration set to be shown,
16765     * when the mouse pointer is over the given list widget item
16766     *
16767     * @param item list item with custom cursor set
16768     * @return the cursor type's name or @c NULL, if no custom cursors
16769     * were set to @p item (and on errors)
16770     *
16771     * @see elm_object_cursor_get()
16772     * @see elm_list_item_cursor_set()
16773     * @see elm_list_item_cursor_unset()
16774     *
16775     * @ingroup List
16776     */
16777    EAPI const char      *elm_list_item_cursor_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16778
16779    /**
16780     * Unset any custom mouse pointer/cursor decoration set to be
16781     * shown, when the mouse pointer is over the given list widget
16782     * item, thus making it show the @b default cursor again.
16783     *
16784     * @param item a list item
16785     *
16786     * Use this call to undo any custom settings on this item's cursor
16787     * decoration, bringing it back to defaults (no custom style set).
16788     *
16789     * @see elm_object_cursor_unset()
16790     * @see elm_list_item_cursor_set()
16791     *
16792     * @ingroup List
16793     */
16794    EAPI void             elm_list_item_cursor_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16795
16796    /**
16797     * Set a different @b style for a given custom cursor set for a
16798     * list item.
16799     *
16800     * @param item list item with custom cursor set
16801     * @param style the <b>theme style</b> to use (e.g. @c "default",
16802     * @c "transparent", etc)
16803     *
16804     * This function only makes sense when one is using custom mouse
16805     * cursor decorations <b>defined in a theme file</b>, which can have,
16806     * given a cursor name/type, <b>alternate styles</b> on it. It
16807     * works analogously as elm_object_cursor_style_set(), but here
16808     * applyed only to list item objects.
16809     *
16810     * @warning Before you set a cursor style you should have definen a
16811     *       custom cursor previously on the item, with
16812     *       elm_list_item_cursor_set()
16813     *
16814     * @see elm_list_item_cursor_engine_only_set()
16815     * @see elm_list_item_cursor_style_get()
16816     *
16817     * @ingroup List
16818     */
16819    EAPI void             elm_list_item_cursor_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
16820
16821    /**
16822     * Get the current @b style set for a given list item's custom
16823     * cursor
16824     *
16825     * @param item list item with custom cursor set.
16826     * @return style the cursor style in use. If the object does not
16827     *         have a cursor set, then @c NULL is returned.
16828     *
16829     * @see elm_list_item_cursor_style_set() for more details
16830     *
16831     * @ingroup List
16832     */
16833    EAPI const char      *elm_list_item_cursor_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16834
16835    /**
16836     * Set if the (custom)cursor for a given list item should be
16837     * searched in its theme, also, or should only rely on the
16838     * rendering engine.
16839     *
16840     * @param item item with custom (custom) cursor already set on
16841     * @param engine_only Use @c EINA_TRUE to have cursors looked for
16842     * only on those provided by the rendering engine, @c EINA_FALSE to
16843     * have them searched on the widget's theme, as well.
16844     *
16845     * @note This call is of use only if you've set a custom cursor
16846     * for list items, with elm_list_item_cursor_set().
16847     *
16848     * @note By default, cursors will only be looked for between those
16849     * provided by the rendering engine.
16850     *
16851     * @ingroup List
16852     */
16853    EAPI void             elm_list_item_cursor_engine_only_set(Elm_List_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
16854
16855    /**
16856     * Get if the (custom) cursor for a given list item is being
16857     * searched in its theme, also, or is only relying on the rendering
16858     * engine.
16859     *
16860     * @param item a list item
16861     * @return @c EINA_TRUE, if cursors are being looked for only on
16862     * those provided by the rendering engine, @c EINA_FALSE if they
16863     * are being searched on the widget's theme, as well.
16864     *
16865     * @see elm_list_item_cursor_engine_only_set(), for more details
16866     *
16867     * @ingroup List
16868     */
16869    EAPI Eina_Bool        elm_list_item_cursor_engine_only_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16870
16871    /**
16872     * @}
16873     */
16874
16875    /**
16876     * @defgroup Slider Slider
16877     * @ingroup Elementary
16878     *
16879     * @image html img/widget/slider/preview-00.png
16880     * @image latex img/widget/slider/preview-00.eps width=\textwidth
16881     *
16882     * The slider adds a dragable “slider” widget for selecting the value of
16883     * something within a range.
16884     *
16885     * A slider can be horizontal or vertical. It can contain an Icon and has a
16886     * primary label as well as a units label (that is formatted with floating
16887     * point values and thus accepts a printf-style format string, like
16888     * “%1.2f units”. There is also an indicator string that may be somewhere
16889     * else (like on the slider itself) that also accepts a format string like
16890     * units. Label, Icon Unit and Indicator strings/objects are optional.
16891     *
16892     * A slider may be inverted which means values invert, with high vales being
16893     * on the left or top and low values on the right or bottom (as opposed to
16894     * normally being low on the left or top and high on the bottom and right).
16895     *
16896     * The slider should have its minimum and maximum values set by the
16897     * application with  elm_slider_min_max_set() and value should also be set by
16898     * the application before use with  elm_slider_value_set(). The span of the
16899     * slider is its length (horizontally or vertically). This will be scaled by
16900     * the object or applications scaling factor. At any point code can query the
16901     * slider for its value with elm_slider_value_get().
16902     *
16903     * Smart callbacks one can listen to:
16904     * - "changed" - Whenever the slider value is changed by the user.
16905     * - "slider,drag,start" - dragging the slider indicator around has started.
16906     * - "slider,drag,stop" - dragging the slider indicator around has stopped.
16907     * - "delay,changed" - A short time after the value is changed by the user.
16908     * This will be called only when the user stops dragging for
16909     * a very short period or when they release their
16910     * finger/mouse, so it avoids possibly expensive reactions to
16911     * the value change.
16912     *
16913     * Available styles for it:
16914     * - @c "default"
16915     *
16916     * Here is an example on its usage:
16917     * @li @ref slider_example
16918     */
16919
16920    /**
16921     * @addtogroup Slider
16922     * @{
16923     */
16924
16925    /**
16926     * Add a new slider widget to the given parent Elementary
16927     * (container) object.
16928     *
16929     * @param parent The parent object.
16930     * @return a new slider widget handle or @c NULL, on errors.
16931     *
16932     * This function inserts a new slider widget on the canvas.
16933     *
16934     * @ingroup Slider
16935     */
16936    EAPI Evas_Object       *elm_slider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
16937
16938    /**
16939     * Set the label of a given slider widget
16940     *
16941     * @param obj The progress bar object
16942     * @param label The text label string, in UTF-8
16943     *
16944     * @ingroup Slider
16945     * @deprecated use elm_object_text_set() instead.
16946     */
16947    EINA_DEPRECATED EAPI void               elm_slider_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
16948
16949    /**
16950     * Get the label of a given slider widget
16951     *
16952     * @param obj The progressbar object
16953     * @return The text label string, in UTF-8
16954     *
16955     * @ingroup Slider
16956     * @deprecated use elm_object_text_get() instead.
16957     */
16958    EINA_DEPRECATED EAPI const char        *elm_slider_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16959
16960    /**
16961     * Set the icon object of the slider object.
16962     *
16963     * @param obj The slider object.
16964     * @param icon The icon object.
16965     *
16966     * On horizontal mode, icon is placed at left, and on vertical mode,
16967     * placed at top.
16968     *
16969     * @note Once the icon object is set, a previously set one will be deleted.
16970     * If you want to keep that old content object, use the
16971     * elm_slider_icon_unset() function.
16972     *
16973     * @warning If the object being set does not have minimum size hints set,
16974     * it won't get properly displayed.
16975     *
16976     * @ingroup Slider
16977     */
16978    EAPI void               elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
16979
16980    /**
16981     * Unset an icon set on a given slider widget.
16982     *
16983     * @param obj The slider object.
16984     * @return The icon object that was being used, if any was set, or
16985     * @c NULL, otherwise (and on errors).
16986     *
16987     * On horizontal mode, icon is placed at left, and on vertical mode,
16988     * placed at top.
16989     *
16990     * This call will unparent and return the icon object which was set
16991     * for this widget, previously, on success.
16992     *
16993     * @see elm_slider_icon_set() for more details
16994     * @see elm_slider_icon_get()
16995     *
16996     * @ingroup Slider
16997     */
16998    EAPI Evas_Object       *elm_slider_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
16999
17000    /**
17001     * Retrieve the icon object set for a given slider widget.
17002     *
17003     * @param obj The slider object.
17004     * @return The icon object's handle, if @p obj had one set, or @c NULL,
17005     * otherwise (and on errors).
17006     *
17007     * On horizontal mode, icon is placed at left, and on vertical mode,
17008     * placed at top.
17009     *
17010     * @see elm_slider_icon_set() for more details
17011     * @see elm_slider_icon_unset()
17012     *
17013     * @ingroup Slider
17014     */
17015    EAPI Evas_Object       *elm_slider_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17016
17017    /**
17018     * Set the end object of the slider object.
17019     *
17020     * @param obj The slider object.
17021     * @param end The end object.
17022     *
17023     * On horizontal mode, end is placed at left, and on vertical mode,
17024     * placed at bottom.
17025     *
17026     * @note Once the icon object is set, a previously set one will be deleted.
17027     * If you want to keep that old content object, use the
17028     * elm_slider_end_unset() function.
17029     *
17030     * @warning If the object being set does not have minimum size hints set,
17031     * it won't get properly displayed.
17032     *
17033     * @ingroup Slider
17034     */
17035    EAPI void               elm_slider_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1);
17036
17037    /**
17038     * Unset an end object set on a given slider widget.
17039     *
17040     * @param obj The slider object.
17041     * @return The end object that was being used, if any was set, or
17042     * @c NULL, otherwise (and on errors).
17043     *
17044     * On horizontal mode, end is placed at left, and on vertical mode,
17045     * placed at bottom.
17046     *
17047     * This call will unparent and return the icon object which was set
17048     * for this widget, previously, on success.
17049     *
17050     * @see elm_slider_end_set() for more details.
17051     * @see elm_slider_end_get()
17052     *
17053     * @ingroup Slider
17054     */
17055    EAPI Evas_Object       *elm_slider_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
17056
17057    /**
17058     * Retrieve the end object set for a given slider widget.
17059     *
17060     * @param obj The slider object.
17061     * @return The end object's handle, if @p obj had one set, or @c NULL,
17062     * otherwise (and on errors).
17063     *
17064     * On horizontal mode, icon is placed at right, and on vertical mode,
17065     * placed at bottom.
17066     *
17067     * @see elm_slider_end_set() for more details.
17068     * @see elm_slider_end_unset()
17069     *
17070     * @ingroup Slider
17071     */
17072    EAPI Evas_Object       *elm_slider_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17073
17074    /**
17075     * Set the (exact) length of the bar region of a given slider widget.
17076     *
17077     * @param obj The slider object.
17078     * @param size The length of the slider's bar region.
17079     *
17080     * This sets the minimum width (when in horizontal mode) or height
17081     * (when in vertical mode) of the actual bar area of the slider
17082     * @p obj. This in turn affects the object's minimum size. Use
17083     * this when you're not setting other size hints expanding on the
17084     * given direction (like weight and alignment hints) and you would
17085     * like it to have a specific size.
17086     *
17087     * @note Icon, end, label, indicator and unit text around @p obj
17088     * will require their
17089     * own space, which will make @p obj to require more the @p size,
17090     * actually.
17091     *
17092     * @see elm_slider_span_size_get()
17093     *
17094     * @ingroup Slider
17095     */
17096    EAPI void               elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
17097
17098    /**
17099     * Get the length set for the bar region of a given slider widget
17100     *
17101     * @param obj The slider object.
17102     * @return The length of the slider's bar region.
17103     *
17104     * If that size was not set previously, with
17105     * elm_slider_span_size_set(), this call will return @c 0.
17106     *
17107     * @ingroup Slider
17108     */
17109    EAPI Evas_Coord         elm_slider_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17110
17111    /**
17112     * Set the format string for the unit label.
17113     *
17114     * @param obj The slider object.
17115     * @param format The format string for the unit display.
17116     *
17117     * Unit label is displayed all the time, if set, after slider's bar.
17118     * In horizontal mode, at right and in vertical mode, at bottom.
17119     *
17120     * If @c NULL, unit label won't be visible. If not it sets the format
17121     * string for the label text. To the label text is provided a floating point
17122     * value, so the label text can display up to 1 floating point value.
17123     * Note that this is optional.
17124     *
17125     * Use a format string such as "%1.2f meters" for example, and it will
17126     * display values like: "3.14 meters" for a value equal to 3.14159.
17127     *
17128     * Default is unit label disabled.
17129     *
17130     * @see elm_slider_indicator_format_get()
17131     *
17132     * @ingroup Slider
17133     */
17134    EAPI void               elm_slider_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
17135
17136    /**
17137     * Get the unit label format of the slider.
17138     *
17139     * @param obj The slider object.
17140     * @return The unit label format string in UTF-8.
17141     *
17142     * Unit label is displayed all the time, if set, after slider's bar.
17143     * In horizontal mode, at right and in vertical mode, at bottom.
17144     *
17145     * @see elm_slider_unit_format_set() for more
17146     * information on how this works.
17147     *
17148     * @ingroup Slider
17149     */
17150    EAPI const char        *elm_slider_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17151
17152    /**
17153     * Set the format string for the indicator label.
17154     *
17155     * @param obj The slider object.
17156     * @param indicator The format string for the indicator display.
17157     *
17158     * The slider may display its value somewhere else then unit label,
17159     * for example, above the slider knob that is dragged around. This function
17160     * sets the format string used for this.
17161     *
17162     * If @c NULL, indicator label won't be visible. If not it sets the format
17163     * string for the label text. To the label text is provided a floating point
17164     * value, so the label text can display up to 1 floating point value.
17165     * Note that this is optional.
17166     *
17167     * Use a format string such as "%1.2f meters" for example, and it will
17168     * display values like: "3.14 meters" for a value equal to 3.14159.
17169     *
17170     * Default is indicator label disabled.
17171     *
17172     * @see elm_slider_indicator_format_get()
17173     *
17174     * @ingroup Slider
17175     */
17176    EAPI void               elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator) EINA_ARG_NONNULL(1);
17177
17178    /**
17179     * Get the indicator label format of the slider.
17180     *
17181     * @param obj The slider object.
17182     * @return The indicator label format string in UTF-8.
17183     *
17184     * The slider may display its value somewhere else then unit label,
17185     * for example, above the slider knob that is dragged around. This function
17186     * gets the format string used for this.
17187     *
17188     * @see elm_slider_indicator_format_set() for more
17189     * information on how this works.
17190     *
17191     * @ingroup Slider
17192     */
17193    EAPI const char        *elm_slider_indicator_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17194
17195    /**
17196     * Set the format function pointer for the indicator label
17197     *
17198     * @param obj The slider object.
17199     * @param func The indicator format function.
17200     * @param free_func The freeing function for the format string.
17201     *
17202     * Set the callback function to format the indicator string.
17203     *
17204     * @see elm_slider_indicator_format_set() for more info on how this works.
17205     *
17206     * @ingroup Slider
17207     */
17208   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);
17209
17210   /**
17211    * Set the format function pointer for the units label
17212    *
17213    * @param obj The slider object.
17214    * @param func The units format function.
17215    * @param free_func The freeing function for the format string.
17216    *
17217    * Set the callback function to format the indicator string.
17218    *
17219    * @see elm_slider_units_format_set() for more info on how this works.
17220    *
17221    * @ingroup Slider
17222    */
17223   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);
17224
17225   /**
17226    * Set the orientation of a given slider widget.
17227    *
17228    * @param obj The slider object.
17229    * @param horizontal Use @c EINA_TRUE to make @p obj to be
17230    * @b horizontal, @c EINA_FALSE to make it @b vertical.
17231    *
17232    * Use this function to change how your slider is to be
17233    * disposed: vertically or horizontally.
17234    *
17235    * By default it's displayed horizontally.
17236    *
17237    * @see elm_slider_horizontal_get()
17238    *
17239    * @ingroup Slider
17240    */
17241    EAPI void               elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
17242
17243    /**
17244     * Retrieve the orientation of a given slider widget
17245     *
17246     * @param obj The slider object.
17247     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
17248     * @c EINA_FALSE if it's @b vertical (and on errors).
17249     *
17250     * @see elm_slider_horizontal_set() for more details.
17251     *
17252     * @ingroup Slider
17253     */
17254    EAPI Eina_Bool          elm_slider_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17255
17256    /**
17257     * Set the minimum and maximum values for the slider.
17258     *
17259     * @param obj The slider object.
17260     * @param min The minimum value.
17261     * @param max The maximum value.
17262     *
17263     * Define the allowed range of values to be selected by the user.
17264     *
17265     * If actual value is less than @p min, it will be updated to @p min. If it
17266     * is bigger then @p max, will be updated to @p max. Actual value can be
17267     * get with elm_slider_value_get().
17268     *
17269     * By default, min is equal to 0.0, and max is equal to 1.0.
17270     *
17271     * @warning Maximum must be greater than minimum, otherwise behavior
17272     * is undefined.
17273     *
17274     * @see elm_slider_min_max_get()
17275     *
17276     * @ingroup Slider
17277     */
17278    EAPI void               elm_slider_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
17279
17280    /**
17281     * Get the minimum and maximum values of the slider.
17282     *
17283     * @param obj The slider object.
17284     * @param min Pointer where to store the minimum value.
17285     * @param max Pointer where to store the maximum value.
17286     *
17287     * @note If only one value is needed, the other pointer can be passed
17288     * as @c NULL.
17289     *
17290     * @see elm_slider_min_max_set() for details.
17291     *
17292     * @ingroup Slider
17293     */
17294    EAPI void               elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
17295
17296    /**
17297     * Set the value the slider displays.
17298     *
17299     * @param obj The slider object.
17300     * @param val The value to be displayed.
17301     *
17302     * Value will be presented on the unit label following format specified with
17303     * elm_slider_unit_format_set() and on indicator with
17304     * elm_slider_indicator_format_set().
17305     *
17306     * @warning The value must to be between min and max values. This values
17307     * are set by elm_slider_min_max_set().
17308     *
17309     * @see elm_slider_value_get()
17310     * @see elm_slider_unit_format_set()
17311     * @see elm_slider_indicator_format_set()
17312     * @see elm_slider_min_max_set()
17313     *
17314     * @ingroup Slider
17315     */
17316    EAPI void               elm_slider_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
17317
17318    /**
17319     * Get the value displayed by the spinner.
17320     *
17321     * @param obj The spinner object.
17322     * @return The value displayed.
17323     *
17324     * @see elm_spinner_value_set() for details.
17325     *
17326     * @ingroup Slider
17327     */
17328    EAPI double             elm_slider_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17329
17330    /**
17331     * Invert a given slider widget's displaying values order
17332     *
17333     * @param obj The slider object.
17334     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
17335     * @c EINA_FALSE to bring it back to default, non-inverted values.
17336     *
17337     * A slider may be @b inverted, in which state it gets its
17338     * values inverted, with high vales being on the left or top and
17339     * low values on the right or bottom, as opposed to normally have
17340     * the low values on the former and high values on the latter,
17341     * respectively, for horizontal and vertical modes.
17342     *
17343     * @see elm_slider_inverted_get()
17344     *
17345     * @ingroup Slider
17346     */
17347    EAPI void               elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
17348
17349    /**
17350     * Get whether a given slider widget's displaying values are
17351     * inverted or not.
17352     *
17353     * @param obj The slider object.
17354     * @return @c EINA_TRUE, if @p obj has inverted values,
17355     * @c EINA_FALSE otherwise (and on errors).
17356     *
17357     * @see elm_slider_inverted_set() for more details.
17358     *
17359     * @ingroup Slider
17360     */
17361    EAPI Eina_Bool          elm_slider_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17362
17363    /**
17364     * Set whether to enlarge slider indicator (augmented knob) or not.
17365     *
17366     * @param obj The slider object.
17367     * @param show @c EINA_TRUE will make it enlarge, @c EINA_FALSE will
17368     * let the knob always at default size.
17369     *
17370     * By default, indicator will be bigger while dragged by the user.
17371     *
17372     * @warning It won't display values set with
17373     * elm_slider_indicator_format_set() if you disable indicator.
17374     *
17375     * @ingroup Slider
17376     */
17377    EAPI void               elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show) EINA_ARG_NONNULL(1);
17378
17379    /**
17380     * Get whether a given slider widget's enlarging indicator or not.
17381     *
17382     * @param obj The slider object.
17383     * @return @c EINA_TRUE, if @p obj is enlarging indicator, or
17384     * @c EINA_FALSE otherwise (and on errors).
17385     *
17386     * @see elm_slider_indicator_show_set() for details.
17387     *
17388     * @ingroup Slider
17389     */
17390    EAPI Eina_Bool          elm_slider_indicator_show_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17391
17392    /**
17393     * @}
17394     */
17395
17396    /**
17397     * @addtogroup Actionslider Actionslider
17398     *
17399     * @image html img/widget/actionslider/preview-00.png
17400     * @image latex img/widget/actionslider/preview-00.eps
17401     *
17402     * A actionslider is a switcher for 2 or 3 labels with customizable magnet
17403     * properties. The indicator is the element the user drags to choose a label.
17404     * When the position is set with magnet, when released the indicator will be
17405     * moved to it if it's nearest the magnetized position.
17406     *
17407     * @note By default all positions are set as enabled.
17408     *
17409     * Signals that you can add callbacks for are:
17410     *
17411     * "selected" - when user selects an enabled position (the label is passed
17412     *              as event info)".
17413     * @n
17414     * "pos_changed" - when the indicator reaches any of the positions("left",
17415     *                 "right" or "center").
17416     *
17417     * See an example of actionslider usage @ref actionslider_example_page "here"
17418     * @{
17419     */
17420    typedef enum _Elm_Actionslider_Pos
17421      {
17422         ELM_ACTIONSLIDER_NONE = 0,
17423         ELM_ACTIONSLIDER_LEFT = 1 << 0,
17424         ELM_ACTIONSLIDER_CENTER = 1 << 1,
17425         ELM_ACTIONSLIDER_RIGHT = 1 << 2,
17426         ELM_ACTIONSLIDER_ALL = (1 << 3) -1
17427      } Elm_Actionslider_Pos;
17428
17429    /**
17430     * Add a new actionslider to the parent.
17431     *
17432     * @param parent The parent object
17433     * @return The new actionslider object or NULL if it cannot be created
17434     */
17435    EAPI Evas_Object          *elm_actionslider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
17436    /**
17437     * Set actionslider labels.
17438     *
17439     * @param obj The actionslider object
17440     * @param left_label The label to be set on the left.
17441     * @param center_label The label to be set on the center.
17442     * @param right_label The label to be set on the right.
17443     * @deprecated use elm_object_text_set() instead.
17444     */
17445    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);
17446    /**
17447     * Get actionslider labels.
17448     *
17449     * @param obj The actionslider object
17450     * @param left_label A char** to place the left_label of @p obj into.
17451     * @param center_label A char** to place the center_label of @p obj into.
17452     * @param right_label A char** to place the right_label of @p obj into.
17453     * @deprecated use elm_object_text_set() instead.
17454     */
17455    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);
17456    /**
17457     * Get actionslider selected label.
17458     *
17459     * @param obj The actionslider object
17460     * @return The selected label
17461     */
17462    EAPI const char           *elm_actionslider_selected_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17463    /**
17464     * Set actionslider indicator position.
17465     *
17466     * @param obj The actionslider object.
17467     * @param pos The position of the indicator.
17468     */
17469    EAPI void                  elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
17470    /**
17471     * Get actionslider indicator position.
17472     *
17473     * @param obj The actionslider object.
17474     * @return The position of the indicator.
17475     */
17476    EAPI Elm_Actionslider_Pos  elm_actionslider_indicator_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17477    /**
17478     * Set actionslider magnet position. To make multiple positions magnets @c or
17479     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT)
17480     *
17481     * @param obj The actionslider object.
17482     * @param pos Bit mask indicating the magnet positions.
17483     */
17484    EAPI void                  elm_actionslider_magnet_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
17485    /**
17486     * Get actionslider magnet position.
17487     *
17488     * @param obj The actionslider object.
17489     * @return The positions with magnet property.
17490     */
17491    EAPI Elm_Actionslider_Pos  elm_actionslider_magnet_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17492    /**
17493     * Set actionslider enabled position. To set multiple positions as enabled @c or
17494     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT).
17495     *
17496     * @note All the positions are enabled by default.
17497     *
17498     * @param obj The actionslider object.
17499     * @param pos Bit mask indicating the enabled positions.
17500     */
17501    EAPI void                  elm_actionslider_enabled_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
17502    /**
17503     * Get actionslider enabled position.
17504     *
17505     * @param obj The actionslider object.
17506     * @return The enabled positions.
17507     */
17508    EAPI Elm_Actionslider_Pos  elm_actionslider_enabled_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17509    /**
17510     * Set the label used on the indicator.
17511     *
17512     * @param obj The actionslider object
17513     * @param label The label to be set on the indicator.
17514     * @deprecated use elm_object_text_set() instead.
17515     */
17516    EINA_DEPRECATED EAPI void                  elm_actionslider_indicator_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
17517    /**
17518     * Get the label used on the indicator object.
17519     *
17520     * @param obj The actionslider object
17521     * @return The indicator label
17522     * @deprecated use elm_object_text_get() instead.
17523     */
17524    EINA_DEPRECATED EAPI const char           *elm_actionslider_indicator_label_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
17525    /**
17526     * @}
17527     */
17528
17529    /**
17530     * @defgroup Genlist Genlist
17531     *
17532     * @image html img/widget/genlist/preview-00.png
17533     * @image latex img/widget/genlist/preview-00.eps
17534     * @image html img/genlist.png
17535     * @image latex img/genlist.eps
17536     *
17537     * This widget aims to have more expansive list than the simple list in
17538     * Elementary that could have more flexible items and allow many more entries
17539     * while still being fast and low on memory usage. At the same time it was
17540     * also made to be able to do tree structures. But the price to pay is more
17541     * complexity when it comes to usage. If all you want is a simple list with
17542     * icons and a single label, use the normal @ref List object.
17543     *
17544     * Genlist has a fairly large API, mostly because it's relatively complex,
17545     * trying to be both expansive, powerful and efficient. First we will begin
17546     * an overview on the theory behind genlist.
17547     *
17548     * @section Genlist_Item_Class Genlist item classes - creating items
17549     *
17550     * In order to have the ability to add and delete items on the fly, genlist
17551     * implements a class (callback) system where the application provides a
17552     * structure with information about that type of item (genlist may contain
17553     * multiple different items with different classes, states and styles).
17554     * Genlist will call the functions in this struct (methods) when an item is
17555     * "realized" (i.e., created dynamically, while the user is scrolling the
17556     * grid). All objects will simply be deleted when no longer needed with
17557     * evas_object_del(). The #Elm_Genlist_Item_Class structure contains the
17558     * following members:
17559     * - @c item_style - This is a constant string and simply defines the name
17560     *   of the item style. It @b must be specified and the default should be @c
17561     *   "default".
17562     * - @c mode_item_style - This is a constant string and simply defines the
17563     *   name of the style that will be used for mode animations. It can be left
17564     *   as @c NULL if you don't plan to use Genlist mode. See
17565     *   elm_genlist_item_mode_set() for more info.
17566     *
17567     * - @c func - A struct with pointers to functions that will be called when
17568     *   an item is going to be actually created. All of them receive a @c data
17569     *   parameter that will point to the same data passed to
17570     *   elm_genlist_item_append() and related item creation functions, and a @c
17571     *   obj parameter that points to the genlist object itself.
17572     *
17573     * The function pointers inside @c func are @c label_get, @c icon_get, @c
17574     * state_get and @c del. The 3 first functions also receive a @c part
17575     * parameter described below. A brief description of these functions follows:
17576     *
17577     * - @c label_get - The @c part parameter is the name string of one of the
17578     *   existing text parts in the Edje group implementing the item's theme.
17579     *   This function @b must return a strdup'()ed string, as the caller will
17580     *   free() it when done. See #Elm_Genlist_Item_Label_Get_Cb.
17581     * - @c icon_get - The @c part parameter is the name string of one of the
17582     *   existing (icon) swallow parts in the Edje group implementing the item's
17583     *   theme. It must return @c NULL, when no icon is desired, or a valid
17584     *   object handle, otherwise.  The object will be deleted by the genlist on
17585     *   its deletion or when the item is "unrealized".  See
17586     *   #Elm_Genlist_Item_Icon_Get_Cb.
17587     * - @c func.state_get - The @c part parameter is the name string of one of
17588     *   the state parts in the Edje group implementing the item's theme. Return
17589     *   @c EINA_FALSE for false/off or @c EINA_TRUE for true/on. Genlists will
17590     *   emit a signal to its theming Edje object with @c "elm,state,XXX,active"
17591     *   and @c "elm" as "emission" and "source" arguments, respectively, when
17592     *   the state is true (the default is false), where @c XXX is the name of
17593     *   the (state) part.  See #Elm_Genlist_Item_State_Get_Cb.
17594     * - @c func.del - This is intended for use when genlist items are deleted,
17595     *   so any data attached to the item (e.g. its data parameter on creation)
17596     *   can be deleted. See #Elm_Genlist_Item_Del_Cb.
17597     *
17598     * available item styles:
17599     * - default
17600     * - default_style - The text part is a textblock
17601     *
17602     * @image html img/widget/genlist/preview-04.png
17603     * @image latex img/widget/genlist/preview-04.eps
17604     *
17605     * - double_label
17606     *
17607     * @image html img/widget/genlist/preview-01.png
17608     * @image latex img/widget/genlist/preview-01.eps
17609     *
17610     * - icon_top_text_bottom
17611     *
17612     * @image html img/widget/genlist/preview-02.png
17613     * @image latex img/widget/genlist/preview-02.eps
17614     *
17615     * - group_index
17616     *
17617     * @image html img/widget/genlist/preview-03.png
17618     * @image latex img/widget/genlist/preview-03.eps
17619     *
17620     * @section Genlist_Items Structure of items
17621     *
17622     * An item in a genlist can have 0 or more text labels (they can be regular
17623     * text or textblock Evas objects - that's up to the style to determine), 0
17624     * or more icons (which are simply objects swallowed into the genlist item's
17625     * theming Edje object) and 0 or more <b>boolean states</b>, which have the
17626     * behavior left to the user to define. The Edje part names for each of
17627     * these properties will be looked up, in the theme file for the genlist,
17628     * under the Edje (string) data items named @c "labels", @c "icons" and @c
17629     * "states", respectively. For each of those properties, if more than one
17630     * part is provided, they must have names listed separated by spaces in the
17631     * data fields. For the default genlist item theme, we have @b one label
17632     * part (@c "elm.text"), @b two icon parts (@c "elm.swalllow.icon" and @c
17633     * "elm.swallow.end") and @b no state parts.
17634     *
17635     * A genlist item may be at one of several styles. Elementary provides one
17636     * by default - "default", but this can be extended by system or application
17637     * custom themes/overlays/extensions (see @ref Theme "themes" for more
17638     * details).
17639     *
17640     * @section Genlist_Manipulation Editing and Navigating
17641     *
17642     * Items can be added by several calls. All of them return a @ref
17643     * Elm_Genlist_Item handle that is an internal member inside the genlist.
17644     * They all take a data parameter that is meant to be used for a handle to
17645     * the applications internal data (eg the struct with the original item
17646     * data). The parent parameter is the parent genlist item this belongs to if
17647     * it is a tree or an indexed group, and NULL if there is no parent. The
17648     * flags can be a bitmask of #ELM_GENLIST_ITEM_NONE,
17649     * #ELM_GENLIST_ITEM_SUBITEMS and #ELM_GENLIST_ITEM_GROUP. If
17650     * #ELM_GENLIST_ITEM_SUBITEMS is set then this item is displayed as an item
17651     * that is able to expand and have child items.  If ELM_GENLIST_ITEM_GROUP
17652     * is set then this item is group index item that is displayed at the top
17653     * until the next group comes. The func parameter is a convenience callback
17654     * that is called when the item is selected and the data parameter will be
17655     * the func_data parameter, obj be the genlist object and event_info will be
17656     * the genlist item.
17657     *
17658     * elm_genlist_item_append() adds an item to the end of the list, or if
17659     * there is a parent, to the end of all the child items of the parent.
17660     * elm_genlist_item_prepend() is the same but adds to the beginning of
17661     * the list or children list. elm_genlist_item_insert_before() inserts at
17662     * item before another item and elm_genlist_item_insert_after() inserts after
17663     * the indicated item.
17664     *
17665     * The application can clear the list with elm_genlist_clear() which deletes
17666     * all the items in the list and elm_genlist_item_del() will delete a specific
17667     * item. elm_genlist_item_subitems_clear() will clear all items that are
17668     * children of the indicated parent item.
17669     *
17670     * To help inspect list items you can jump to the item at the top of the list
17671     * with elm_genlist_first_item_get() which will return the item pointer, and
17672     * similarly elm_genlist_last_item_get() gets the item at the end of the list.
17673     * elm_genlist_item_next_get() and elm_genlist_item_prev_get() get the next
17674     * and previous items respectively relative to the indicated item. Using
17675     * these calls you can walk the entire item list/tree. Note that as a tree
17676     * the items are flattened in the list, so elm_genlist_item_parent_get() will
17677     * let you know which item is the parent (and thus know how to skip them if
17678     * wanted).
17679     *
17680     * @section Genlist_Muti_Selection Multi-selection
17681     *
17682     * If the application wants multiple items to be able to be selected,
17683     * elm_genlist_multi_select_set() can enable this. If the list is
17684     * single-selection only (the default), then elm_genlist_selected_item_get()
17685     * will return the selected item, if any, or NULL I none is selected. If the
17686     * list is multi-select then elm_genlist_selected_items_get() will return a
17687     * list (that is only valid as long as no items are modified (added, deleted,
17688     * selected or unselected)).
17689     *
17690     * @section Genlist_Usage_Hints Usage hints
17691     *
17692     * There are also convenience functions. elm_genlist_item_genlist_get() will
17693     * return the genlist object the item belongs to. elm_genlist_item_show()
17694     * will make the scroller scroll to show that specific item so its visible.
17695     * elm_genlist_item_data_get() returns the data pointer set by the item
17696     * creation functions.
17697     *
17698     * If an item changes (state of boolean changes, label or icons change),
17699     * then use elm_genlist_item_update() to have genlist update the item with
17700     * the new state. Genlist will re-realize the item thus call the functions
17701     * in the _Elm_Genlist_Item_Class for that item.
17702     *
17703     * To programmatically (un)select an item use elm_genlist_item_selected_set().
17704     * To get its selected state use elm_genlist_item_selected_get(). Similarly
17705     * to expand/contract an item and get its expanded state, use
17706     * elm_genlist_item_expanded_set() and elm_genlist_item_expanded_get(). And
17707     * again to make an item disabled (unable to be selected and appear
17708     * differently) use elm_genlist_item_disabled_set() to set this and
17709     * elm_genlist_item_disabled_get() to get the disabled state.
17710     *
17711     * In general to indicate how the genlist should expand items horizontally to
17712     * fill the list area, use elm_genlist_horizontal_set(). Valid modes are
17713     * ELM_LIST_LIMIT and ELM_LIST_SCROLL. The default is ELM_LIST_SCROLL. This
17714     * mode means that if items are too wide to fit, the scroller will scroll
17715     * horizontally. Otherwise items are expanded to fill the width of the
17716     * viewport of the scroller. If it is ELM_LIST_LIMIT, items will be expanded
17717     * to the viewport width and limited to that size. This can be combined with
17718     * a different style that uses edjes' ellipsis feature (cutting text off like
17719     * this: "tex...").
17720     *
17721     * Items will only call their selection func and callback when first becoming
17722     * selected. Any further clicks will do nothing, unless you enable always
17723     * select with elm_genlist_always_select_mode_set(). This means even if
17724     * selected, every click will make the selected callbacks be called.
17725     * elm_genlist_no_select_mode_set() will turn off the ability to select
17726     * items entirely and they will neither appear selected nor call selected
17727     * callback functions.
17728     *
17729     * Remember that you can create new styles and add your own theme augmentation
17730     * per application with elm_theme_extension_add(). If you absolutely must
17731     * have a specific style that overrides any theme the user or system sets up
17732     * you can use elm_theme_overlay_add() to add such a file.
17733     *
17734     * @section Genlist_Implementation Implementation
17735     *
17736     * Evas tracks every object you create. Every time it processes an event
17737     * (mouse move, down, up etc.) it needs to walk through objects and find out
17738     * what event that affects. Even worse every time it renders display updates,
17739     * in order to just calculate what to re-draw, it needs to walk through many
17740     * many many objects. Thus, the more objects you keep active, the more
17741     * overhead Evas has in just doing its work. It is advisable to keep your
17742     * active objects to the minimum working set you need. Also remember that
17743     * object creation and deletion carries an overhead, so there is a
17744     * middle-ground, which is not easily determined. But don't keep massive lists
17745     * of objects you can't see or use. Genlist does this with list objects. It
17746     * creates and destroys them dynamically as you scroll around. It groups them
17747     * into blocks so it can determine the visibility etc. of a whole block at
17748     * once as opposed to having to walk the whole list. This 2-level list allows
17749     * for very large numbers of items to be in the list (tests have used up to
17750     * 2,000,000 items). Also genlist employs a queue for adding items. As items
17751     * may be different sizes, every item added needs to be calculated as to its
17752     * size and thus this presents a lot of overhead on populating the list, this
17753     * genlist employs a queue. Any item added is queued and spooled off over
17754     * time, actually appearing some time later, so if your list has many members
17755     * you may find it takes a while for them to all appear, with your process
17756     * consuming a lot of CPU while it is busy spooling.
17757     *
17758     * Genlist also implements a tree structure, but it does so with callbacks to
17759     * the application, with the application filling in tree structures when
17760     * requested (allowing for efficient building of a very deep tree that could
17761     * even be used for file-management). See the above smart signal callbacks for
17762     * details.
17763     *
17764     * @section Genlist_Smart_Events Genlist smart events
17765     *
17766     * Signals that you can add callbacks for are:
17767     * - @c "activated" - The user has double-clicked or pressed
17768     *   (enter|return|spacebar) on an item. The @c event_info parameter is the
17769     *   item that was activated.
17770     * - @c "clicked,double" - The user has double-clicked an item.  The @c
17771     *   event_info parameter is the item that was double-clicked.
17772     * - @c "selected" - This is called when a user has made an item selected.
17773     *   The event_info parameter is the genlist item that was selected.
17774     * - @c "unselected" - This is called when a user has made an item
17775     *   unselected. The event_info parameter is the genlist item that was
17776     *   unselected.
17777     * - @c "expanded" - This is called when elm_genlist_item_expanded_set() is
17778     *   called and the item is now meant to be expanded. The event_info
17779     *   parameter is the genlist item that was indicated to expand.  It is the
17780     *   job of this callback to then fill in the child items.
17781     * - @c "contracted" - This is called when elm_genlist_item_expanded_set() is
17782     *   called and the item is now meant to be contracted. The event_info
17783     *   parameter is the genlist item that was indicated to contract. It is the
17784     *   job of this callback to then delete the child items.
17785     * - @c "expand,request" - This is called when a user has indicated they want
17786     *   to expand a tree branch item. The callback should decide if the item can
17787     *   expand (has any children) and then call elm_genlist_item_expanded_set()
17788     *   appropriately to set the state. The event_info parameter is the genlist
17789     *   item that was indicated to expand.
17790     * - @c "contract,request" - This is called when a user has indicated they
17791     *   want to contract a tree branch item. The callback should decide if the
17792     *   item can contract (has any children) and then call
17793     *   elm_genlist_item_expanded_set() appropriately to set the state. The
17794     *   event_info parameter is the genlist item that was indicated to contract.
17795     * - @c "realized" - This is called when the item in the list is created as a
17796     *   real evas object. event_info parameter is the genlist item that was
17797     *   created. The object may be deleted at any time, so it is up to the
17798     *   caller to not use the object pointer from elm_genlist_item_object_get()
17799     *   in a way where it may point to freed objects.
17800     * - @c "unrealized" - This is called just before an item is unrealized.
17801     *   After this call icon objects provided will be deleted and the item
17802     *   object itself delete or be put into a floating cache.
17803     * - @c "drag,start,up" - This is called when the item in the list has been
17804     *   dragged (not scrolled) up.
17805     * - @c "drag,start,down" - This is called when the item in the list has been
17806     *   dragged (not scrolled) down.
17807     * - @c "drag,start,left" - This is called when the item in the list has been
17808     *   dragged (not scrolled) left.
17809     * - @c "drag,start,right" - This is called when the item in the list has
17810     *   been dragged (not scrolled) right.
17811     * - @c "drag,stop" - This is called when the item in the list has stopped
17812     *   being dragged.
17813     * - @c "drag" - This is called when the item in the list is being dragged.
17814     * - @c "longpressed" - This is called when the item is pressed for a certain
17815     *   amount of time. By default it's 1 second.
17816     * - @c "scroll,anim,start" - This is called when scrolling animation has
17817     *   started.
17818     * - @c "scroll,anim,stop" - This is called when scrolling animation has
17819     *   stopped.
17820     * - @c "scroll,drag,start" - This is called when dragging the content has
17821     *   started.
17822     * - @c "scroll,drag,stop" - This is called when dragging the content has
17823     *   stopped.
17824     * - @c "scroll,edge,top" - This is called when the genlist is scrolled until
17825     *   the top edge.
17826     * - @c "scroll,edge,bottom" - This is called when the genlist is scrolled
17827     *   until the bottom edge.
17828     * - @c "scroll,edge,left" - This is called when the genlist is scrolled
17829     *   until the left edge.
17830     * - @c "scroll,edge,right" - This is called when the genlist is scrolled
17831     *   until the right edge.
17832     * - @c "multi,swipe,left" - This is called when the genlist is multi-touch
17833     *   swiped left.
17834     * - @c "multi,swipe,right" - This is called when the genlist is multi-touch
17835     *   swiped right.
17836     * - @c "multi,swipe,up" - This is called when the genlist is multi-touch
17837     *   swiped up.
17838     * - @c "multi,swipe,down" - This is called when the genlist is multi-touch
17839     *   swiped down.
17840     * - @c "multi,pinch,out" - This is called when the genlist is multi-touch
17841     *   pinched out.  "- @c multi,pinch,in" - This is called when the genlist is
17842     *   multi-touch pinched in.
17843     * - @c "swipe" - This is called when the genlist is swiped.
17844     *
17845     * @section Genlist_Examples Examples
17846     *
17847     * Here is a list of examples that use the genlist, trying to show some of
17848     * its capabilities:
17849     * - @ref genlist_example_01
17850     * - @ref genlist_example_02
17851     * - @ref genlist_example_03
17852     * - @ref genlist_example_04
17853     * - @ref genlist_example_05
17854     */
17855
17856    /**
17857     * @addtogroup Genlist
17858     * @{
17859     */
17860
17861    /**
17862     * @enum _Elm_Genlist_Item_Flags
17863     * @typedef Elm_Genlist_Item_Flags
17864     *
17865     * Defines if the item is of any special type (has subitems or it's the
17866     * index of a group), or is just a simple item.
17867     *
17868     * @ingroup Genlist
17869     */
17870    typedef enum _Elm_Genlist_Item_Flags
17871      {
17872         ELM_GENLIST_ITEM_NONE = 0, /**< simple item */
17873         ELM_GENLIST_ITEM_SUBITEMS = (1 << 0), /**< may expand and have child items */
17874         ELM_GENLIST_ITEM_GROUP = (1 << 1) /**< index of a group of items */
17875      } Elm_Genlist_Item_Flags;
17876    typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class;  /**< Genlist item class definition structs */
17877    typedef struct _Elm_Genlist_Item       Elm_Genlist_Item; /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
17878    typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func; /**< Class functions for genlist item class */
17879    typedef char        *(*Elm_Genlist_Item_Label_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< Label fetching class function for genlist item classes. */
17880    typedef Evas_Object *(*Elm_Genlist_Item_Icon_Get_Cb)  (void *data, Evas_Object *obj, const char *part); /**< Icon fetching class function for genlist item classes. */
17881    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. */
17882    typedef void         (*Elm_Genlist_Item_Del_Cb)      (void *data, Evas_Object *obj); /**< Deletion class function for genlist item classes. */
17883    typedef void         (*GenlistItemMovedFunc)    (Evas_Object *obj, Elm_Genlist_Item *item, Elm_Genlist_Item *rel_item, Eina_Bool move_after); /** TODO: remove this by SeoZ **/
17884
17885    typedef char        *(*GenlistItemLabelGetFunc) (void *data, Evas_Object *obj, const char *part) EINA_DEPRECATED; /** DEPRECATED. Use Elm_Genlist_Item_Label_Get_Cb instead. */
17886    typedef Evas_Object *(*GenlistItemIconGetFunc)  (void *data, Evas_Object *obj, const char *part) EINA_DEPRECATED; /** DEPRECATED. Use Elm_Genlist_Item_Icon_Get_Cb instead. */
17887    typedef Eina_Bool    (*GenlistItemStateGetFunc) (void *data, Evas_Object *obj, const char *part) EINA_DEPRECATED; /** DEPRECATED. Use Elm_Genlist_Item_State_Get_Cb instead. */
17888    typedef void         (*GenlistItemDelFunc)      (void *data, Evas_Object *obj) EINA_DEPRECATED; /** DEPRECATED. Use Elm_Genlist_Item_Del_Cb instead. */
17889
17890    /**
17891     * @struct _Elm_Genlist_Item_Class
17892     *
17893     * Genlist item class definition structs.
17894     *
17895     * This struct contains the style and fetching functions that will define the
17896     * contents of each item.
17897     *
17898     * @see @ref Genlist_Item_Class
17899     */
17900    struct _Elm_Genlist_Item_Class
17901      {
17902         const char                *item_style; /**< style of this class. */
17903         struct
17904           {
17905              Elm_Genlist_Item_Label_Get_Cb  label_get; /**< Label fetching class function for genlist item classes.*/
17906              Elm_Genlist_Item_Icon_Get_Cb   icon_get; /**< Icon fetching class function for genlist item classes. */
17907              Elm_Genlist_Item_State_Get_Cb  state_get; /**< State fetching class function for genlist item classes. */
17908              Elm_Genlist_Item_Del_Cb        del; /**< Deletion class function for genlist item classes. */
17909              GenlistItemMovedFunc     moved; // TODO: do not use this. change this to smart callback.
17910           } func;
17911         const char                *mode_item_style;
17912      };
17913
17914    /**
17915     * Add a new genlist widget to the given parent Elementary
17916     * (container) object
17917     *
17918     * @param parent The parent object
17919     * @return a new genlist widget handle or @c NULL, on errors
17920     *
17921     * This function inserts a new genlist widget on the canvas.
17922     *
17923     * @see elm_genlist_item_append()
17924     * @see elm_genlist_item_del()
17925     * @see elm_genlist_clear()
17926     *
17927     * @ingroup Genlist
17928     */
17929    EAPI Evas_Object      *elm_genlist_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
17930    /**
17931     * Remove all items from a given genlist widget.
17932     *
17933     * @param obj The genlist object
17934     *
17935     * This removes (and deletes) all items in @p obj, leaving it empty.
17936     *
17937     * @see elm_genlist_item_del(), to remove just one item.
17938     *
17939     * @ingroup Genlist
17940     */
17941    EAPI void              elm_genlist_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
17942    /**
17943     * Enable or disable multi-selection in the genlist
17944     *
17945     * @param obj The genlist object
17946     * @param multi Multi-select enable/disable. Default is disabled.
17947     *
17948     * This enables (@c EINA_TRUE) or disables (@c EINA_FALSE) multi-selection in
17949     * the list. This allows more than 1 item to be selected. To retrieve the list
17950     * of selected items, use elm_genlist_selected_items_get().
17951     *
17952     * @see elm_genlist_selected_items_get()
17953     * @see elm_genlist_multi_select_get()
17954     *
17955     * @ingroup Genlist
17956     */
17957    EAPI void              elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
17958    /**
17959     * Gets if multi-selection in genlist is enabled or disabled.
17960     *
17961     * @param obj The genlist object
17962     * @return Multi-select enabled/disabled
17963     * (@c EINA_TRUE = enabled/@c EINA_FALSE = disabled). Default is @c EINA_FALSE.
17964     *
17965     * @see elm_genlist_multi_select_set()
17966     *
17967     * @ingroup Genlist
17968     */
17969    EAPI Eina_Bool         elm_genlist_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17970    /**
17971     * This sets the horizontal stretching mode.
17972     *
17973     * @param obj The genlist object
17974     * @param mode The mode to use (one of #ELM_LIST_SCROLL or #ELM_LIST_LIMIT).
17975     *
17976     * This sets the mode used for sizing items horizontally. Valid modes
17977     * are #ELM_LIST_LIMIT and #ELM_LIST_SCROLL. The default is
17978     * ELM_LIST_SCROLL. This mode means that if items are too wide to fit,
17979     * the scroller will scroll horizontally. Otherwise items are expanded
17980     * to fill the width of the viewport of the scroller. If it is
17981     * ELM_LIST_LIMIT, items will be expanded to the viewport width and
17982     * limited to that size.
17983     *
17984     * @see elm_genlist_horizontal_get()
17985     *
17986     * @ingroup Genlist
17987     */
17988    EAPI void              elm_genlist_horizontal_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
17989    EINA_DEPRECATED EAPI void              elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
17990    /**
17991     * Gets the horizontal stretching mode.
17992     *
17993     * @param obj The genlist object
17994     * @return The mode to use
17995     * (#ELM_LIST_LIMIT, #ELM_LIST_SCROLL)
17996     *
17997     * @see elm_genlist_horizontal_set()
17998     *
17999     * @ingroup Genlist
18000     */
18001    EAPI Elm_List_Mode     elm_genlist_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18002    EINA_DEPRECATED EAPI Elm_List_Mode     elm_genlist_horizontal_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18003    /**
18004     * Set the always select mode.
18005     *
18006     * @param obj The genlist object
18007     * @param always_select The always select mode (@c EINA_TRUE = on, @c
18008     * EINA_FALSE = off). Default is @c EINA_FALSE.
18009     *
18010     * Items will only call their selection func and callback when first
18011     * becoming selected. Any further clicks will do nothing, unless you
18012     * enable always select with elm_genlist_always_select_mode_set().
18013     * This means that, even if selected, every click will make the selected
18014     * callbacks be called.
18015     *
18016     * @see elm_genlist_always_select_mode_get()
18017     *
18018     * @ingroup Genlist
18019     */
18020    EAPI void              elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
18021    /**
18022     * Get the always select mode.
18023     *
18024     * @param obj The genlist object
18025     * @return The always select mode
18026     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18027     *
18028     * @see elm_genlist_always_select_mode_set()
18029     *
18030     * @ingroup Genlist
18031     */
18032    EAPI Eina_Bool         elm_genlist_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18033    /**
18034     * Enable/disable the no select mode.
18035     *
18036     * @param obj The genlist object
18037     * @param no_select The no select mode
18038     * (EINA_TRUE = on, EINA_FALSE = off)
18039     *
18040     * This will turn off the ability to select items entirely and they
18041     * will neither appear selected nor call selected callback functions.
18042     *
18043     * @see elm_genlist_no_select_mode_get()
18044     *
18045     * @ingroup Genlist
18046     */
18047    EAPI void              elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
18048    /**
18049     * Gets whether the no select mode is enabled.
18050     *
18051     * @param obj The genlist object
18052     * @return The no select mode
18053     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18054     *
18055     * @see elm_genlist_no_select_mode_set()
18056     *
18057     * @ingroup Genlist
18058     */
18059    EAPI Eina_Bool         elm_genlist_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18060    /**
18061     * Enable/disable compress mode.
18062     *
18063     * @param obj The genlist object
18064     * @param compress The compress mode
18065     * (@c EINA_TRUE = on, @c EINA_FALSE = off). Default is @c EINA_FALSE.
18066     *
18067     * This will enable the compress mode where items are "compressed"
18068     * horizontally to fit the genlist scrollable viewport width. This is
18069     * special for genlist.  Do not rely on
18070     * elm_genlist_horizontal_set() being set to @c ELM_LIST_COMPRESS to
18071     * work as genlist needs to handle it specially.
18072     *
18073     * @see elm_genlist_compress_mode_get()
18074     *
18075     * @ingroup Genlist
18076     */
18077    EAPI void              elm_genlist_compress_mode_set(Evas_Object *obj, Eina_Bool compress) EINA_ARG_NONNULL(1);
18078    /**
18079     * Get whether the compress mode is enabled.
18080     *
18081     * @param obj The genlist object
18082     * @return The compress mode
18083     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18084     *
18085     * @see elm_genlist_compress_mode_set()
18086     *
18087     * @ingroup Genlist
18088     */
18089    EAPI Eina_Bool         elm_genlist_compress_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18090    /**
18091     * Enable/disable height-for-width mode.
18092     *
18093     * @param obj The genlist object
18094     * @param setting The height-for-width mode (@c EINA_TRUE = on,
18095     * @c EINA_FALSE = off). Default is @c EINA_FALSE.
18096     *
18097     * With height-for-width mode the item width will be fixed (restricted
18098     * to a minimum of) to the list width when calculating its size in
18099     * order to allow the height to be calculated based on it. This allows,
18100     * for instance, text block to wrap lines if the Edje part is
18101     * configured with "text.min: 0 1".
18102     *
18103     * @note This mode will make list resize slower as it will have to
18104     *       recalculate every item height again whenever the list width
18105     *       changes!
18106     *
18107     * @note When height-for-width mode is enabled, it also enables
18108     *       compress mode (see elm_genlist_compress_mode_set()) and
18109     *       disables homogeneous (see elm_genlist_homogeneous_set()).
18110     *
18111     * @ingroup Genlist
18112     */
18113    EAPI void              elm_genlist_height_for_width_mode_set(Evas_Object *obj, Eina_Bool height_for_width) EINA_ARG_NONNULL(1);
18114    /**
18115     * Get whether the height-for-width mode is enabled.
18116     *
18117     * @param obj The genlist object
18118     * @return The height-for-width mode (@c EINA_TRUE = on, @c EINA_FALSE =
18119     * off)
18120     *
18121     * @ingroup Genlist
18122     */
18123    EAPI Eina_Bool         elm_genlist_height_for_width_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18124    /**
18125     * Enable/disable horizontal and vertical bouncing effect.
18126     *
18127     * @param obj The genlist object
18128     * @param h_bounce Allow bounce horizontally (@c EINA_TRUE = on, @c
18129     * EINA_FALSE = off). Default is @c EINA_FALSE.
18130     * @param v_bounce Allow bounce vertically (@c EINA_TRUE = on, @c
18131     * EINA_FALSE = off). Default is @c EINA_TRUE.
18132     *
18133     * This will enable or disable the scroller bouncing effect for the
18134     * genlist. See elm_scroller_bounce_set() for details.
18135     *
18136     * @see elm_scroller_bounce_set()
18137     * @see elm_genlist_bounce_get()
18138     *
18139     * @ingroup Genlist
18140     */
18141    EAPI void              elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
18142    /**
18143     * Get whether the horizontal and vertical bouncing effect is enabled.
18144     *
18145     * @param obj The genlist object
18146     * @param h_bounce Pointer to a bool to receive if the bounce horizontally
18147     * option is set.
18148     * @param v_bounce Pointer to a bool to receive if the bounce vertically
18149     * option is set.
18150     *
18151     * @see elm_genlist_bounce_set()
18152     *
18153     * @ingroup Genlist
18154     */
18155    EAPI void              elm_genlist_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
18156    /**
18157     * Enable/disable homogenous mode.
18158     *
18159     * @param obj The genlist object
18160     * @param homogeneous Assume the items within the genlist are of the
18161     * same height and width (EINA_TRUE = on, EINA_FALSE = off). Default is @c
18162     * EINA_FALSE.
18163     *
18164     * This will enable the homogeneous mode where items are of the same
18165     * height and width so that genlist may do the lazy-loading at its
18166     * maximum (which increases the performance for scrolling the list). This
18167     * implies 'compressed' mode.
18168     *
18169     * @see elm_genlist_compress_mode_set()
18170     * @see elm_genlist_homogeneous_get()
18171     *
18172     * @ingroup Genlist
18173     */
18174    EAPI void              elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
18175    /**
18176     * Get whether the homogenous mode is enabled.
18177     *
18178     * @param obj The genlist object
18179     * @return Assume the items within the genlist are of the same height
18180     * and width (EINA_TRUE = on, EINA_FALSE = off)
18181     *
18182     * @see elm_genlist_homogeneous_set()
18183     *
18184     * @ingroup Genlist
18185     */
18186    EAPI Eina_Bool         elm_genlist_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18187    /**
18188     * Set the maximum number of items within an item block
18189     *
18190     * @param obj The genlist object
18191     * @param n   Maximum number of items within an item block. Default is 32.
18192     *
18193     * This will configure the block count to tune to the target with
18194     * particular performance matrix.
18195     *
18196     * A block of objects will be used to reduce the number of operations due to
18197     * many objects in the screen. It can determine the visibility, or if the
18198     * object has changed, it theme needs to be updated, etc. doing this kind of
18199     * calculation to the entire block, instead of per object.
18200     *
18201     * The default value for the block count is enough for most lists, so unless
18202     * you know you will have a lot of objects visible in the screen at the same
18203     * time, don't try to change this.
18204     *
18205     * @see elm_genlist_block_count_get()
18206     * @see @ref Genlist_Implementation
18207     *
18208     * @ingroup Genlist
18209     */
18210    EAPI void              elm_genlist_block_count_set(Evas_Object *obj, int n) EINA_ARG_NONNULL(1);
18211    /**
18212     * Get the maximum number of items within an item block
18213     *
18214     * @param obj The genlist object
18215     * @return Maximum number of items within an item block
18216     *
18217     * @see elm_genlist_block_count_set()
18218     *
18219     * @ingroup Genlist
18220     */
18221    EAPI int               elm_genlist_block_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18222    /**
18223     * Set the timeout in seconds for the longpress event.
18224     *
18225     * @param obj The genlist object
18226     * @param timeout timeout in seconds. Default is 1.
18227     *
18228     * This option will change how long it takes to send an event "longpressed"
18229     * after the mouse down signal is sent to the list. If this event occurs, no
18230     * "clicked" event will be sent.
18231     *
18232     * @see elm_genlist_longpress_timeout_set()
18233     *
18234     * @ingroup Genlist
18235     */
18236    EAPI void              elm_genlist_longpress_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
18237    /**
18238     * Get the timeout in seconds for the longpress event.
18239     *
18240     * @param obj The genlist object
18241     * @return timeout in seconds
18242     *
18243     * @see elm_genlist_longpress_timeout_get()
18244     *
18245     * @ingroup Genlist
18246     */
18247    EAPI double            elm_genlist_longpress_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18248    /**
18249     * Append a new item in a given genlist widget.
18250     *
18251     * @param obj The genlist object
18252     * @param itc The item class for the item
18253     * @param data The item data
18254     * @param parent The parent item, or NULL if none
18255     * @param flags Item flags
18256     * @param func Convenience function called when the item is selected
18257     * @param func_data Data passed to @p func above.
18258     * @return A handle to the item added or @c NULL if not possible
18259     *
18260     * This adds the given item to the end of the list or the end of
18261     * the children list if the @p parent is given.
18262     *
18263     * @see elm_genlist_item_prepend()
18264     * @see elm_genlist_item_insert_before()
18265     * @see elm_genlist_item_insert_after()
18266     * @see elm_genlist_item_del()
18267     *
18268     * @ingroup Genlist
18269     */
18270    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);
18271    /**
18272     * Prepend a new item in a given genlist widget.
18273     *
18274     * @param obj The genlist object
18275     * @param itc The item class for the item
18276     * @param data The item data
18277     * @param parent The parent item, or NULL if none
18278     * @param flags Item flags
18279     * @param func Convenience function called when the item is selected
18280     * @param func_data Data passed to @p func above.
18281     * @return A handle to the item added or NULL if not possible
18282     *
18283     * This adds an item to the beginning of the list or beginning of the
18284     * children of the parent if given.
18285     *
18286     * @see elm_genlist_item_append()
18287     * @see elm_genlist_item_insert_before()
18288     * @see elm_genlist_item_insert_after()
18289     * @see elm_genlist_item_del()
18290     *
18291     * @ingroup Genlist
18292     */
18293    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);
18294    /**
18295     * Insert an item before another in a genlist widget
18296     *
18297     * @param obj The genlist object
18298     * @param itc The item class for the item
18299     * @param data The item data
18300     * @param before The item to place this new one before.
18301     * @param flags Item flags
18302     * @param func Convenience function called when the item is selected
18303     * @param func_data Data passed to @p func above.
18304     * @return A handle to the item added or @c NULL if not possible
18305     *
18306     * This inserts an item before another in the list. It will be in the
18307     * same tree level or group as the item it is inserted before.
18308     *
18309     * @see elm_genlist_item_append()
18310     * @see elm_genlist_item_prepend()
18311     * @see elm_genlist_item_insert_after()
18312     * @see elm_genlist_item_del()
18313     *
18314     * @ingroup Genlist
18315     */
18316    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);
18317    /**
18318     * Insert an item after another in a genlist widget
18319     *
18320     * @param obj The genlist object
18321     * @param itc The item class for the item
18322     * @param data The item data
18323     * @param after The item to place this new one after.
18324     * @param flags Item flags
18325     * @param func Convenience function called when the item is selected
18326     * @param func_data Data passed to @p func above.
18327     * @return A handle to the item added or @c NULL if not possible
18328     *
18329     * This inserts an item after another in the list. It will be in the
18330     * same tree level or group as the item it is inserted after.
18331     *
18332     * @see elm_genlist_item_append()
18333     * @see elm_genlist_item_prepend()
18334     * @see elm_genlist_item_insert_before()
18335     * @see elm_genlist_item_del()
18336     *
18337     * @ingroup Genlist
18338     */
18339    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);
18340    /**
18341     * Insert a new item into the sorted genlist object
18342     *
18343     * @param obj The genlist object
18344     * @param itc The item class for the item
18345     * @param data The item data
18346     * @param parent The parent item, or NULL if none
18347     * @param flags Item flags
18348     * @param comp The function called for the sort
18349     * @param func Convenience function called when item selected
18350     * @param func_data Data passed to @p func above.
18351     * @return A handle to the item added or NULL if not possible
18352     *
18353     * @ingroup Genlist
18354     */
18355    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);
18356    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);
18357    /* operations to retrieve existing items */
18358    /**
18359     * Get the selectd item in the genlist.
18360     *
18361     * @param obj The genlist object
18362     * @return The selected item, or NULL if none is selected.
18363     *
18364     * This gets the selected item in the list (if multi-selection is enabled, only
18365     * the item that was first selected in the list is returned - which is not very
18366     * useful, so see elm_genlist_selected_items_get() for when multi-selection is
18367     * used).
18368     *
18369     * If no item is selected, NULL is returned.
18370     *
18371     * @see elm_genlist_selected_items_get()
18372     *
18373     * @ingroup Genlist
18374     */
18375    EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18376    /**
18377     * Get a list of selected items in the genlist.
18378     *
18379     * @param obj The genlist object
18380     * @return The list of selected items, or NULL if none are selected.
18381     *
18382     * It returns a list of the selected items. This list pointer is only valid so
18383     * long as the selection doesn't change (no items are selected or unselected, or
18384     * unselected implicitly by deletion). The list contains Elm_Genlist_Item
18385     * pointers. The order of the items in this list is the order which they were
18386     * selected, i.e. the first item in this list is the first item that was
18387     * selected, and so on.
18388     *
18389     * @note If not in multi-select mode, consider using function
18390     * elm_genlist_selected_item_get() instead.
18391     *
18392     * @see elm_genlist_multi_select_set()
18393     * @see elm_genlist_selected_item_get()
18394     *
18395     * @ingroup Genlist
18396     */
18397    EAPI const Eina_List  *elm_genlist_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18398    /**
18399     * Get a list of realized items in genlist
18400     *
18401     * @param obj The genlist object
18402     * @return The list of realized items, nor NULL if none are realized.
18403     *
18404     * This returns a list of the realized items in the genlist. The list
18405     * contains Elm_Genlist_Item pointers. The list must be freed by the
18406     * caller when done with eina_list_free(). The item pointers in the
18407     * list are only valid so long as those items are not deleted or the
18408     * genlist is not deleted.
18409     *
18410     * @see elm_genlist_realized_items_update()
18411     *
18412     * @ingroup Genlist
18413     */
18414    EAPI Eina_List        *elm_genlist_realized_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18415    /**
18416     * Get the item that is at the x, y canvas coords.
18417     *
18418     * @param obj The gelinst object.
18419     * @param x The input x coordinate
18420     * @param y The input y coordinate
18421     * @param posret The position relative to the item returned here
18422     * @return The item at the coordinates or NULL if none
18423     *
18424     * This returns the item at the given coordinates (which are canvas
18425     * relative, not object-relative). If an item is at that coordinate,
18426     * that item handle is returned, and if @p posret is not NULL, the
18427     * integer pointed to is set to a value of -1, 0 or 1, depending if
18428     * the coordinate is on the upper portion of that item (-1), on the
18429     * middle section (0) or on the lower part (1). If NULL is returned as
18430     * an item (no item found there), then posret may indicate -1 or 1
18431     * based if the coordinate is above or below all items respectively in
18432     * the genlist.
18433     *
18434     * @ingroup Genlist
18435     */
18436    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);
18437    /**
18438     * Get the first item in the genlist
18439     *
18440     * This returns the first item in the list.
18441     *
18442     * @param obj The genlist object
18443     * @return The first item, or NULL if none
18444     *
18445     * @ingroup Genlist
18446     */
18447    EAPI Elm_Genlist_Item *elm_genlist_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18448    /**
18449     * Get the last item in the genlist
18450     *
18451     * This returns the last item in the list.
18452     *
18453     * @return The last item, or NULL if none
18454     *
18455     * @ingroup Genlist
18456     */
18457    EAPI Elm_Genlist_Item *elm_genlist_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18458    /**
18459     * Set the scrollbar policy
18460     *
18461     * @param obj The genlist object
18462     * @param policy_h Horizontal scrollbar policy.
18463     * @param policy_v Vertical scrollbar policy.
18464     *
18465     * This sets the scrollbar visibility policy for the given genlist
18466     * scroller. #ELM_SMART_SCROLLER_POLICY_AUTO means the scrollbar is
18467     * made visible if it is needed, and otherwise kept hidden.
18468     * #ELM_SMART_SCROLLER_POLICY_ON turns it on all the time, and
18469     * #ELM_SMART_SCROLLER_POLICY_OFF always keeps it off. This applies
18470     * respectively for the horizontal and vertical scrollbars. Default is
18471     * #ELM_SMART_SCROLLER_POLICY_AUTO
18472     *
18473     * @see elm_genlist_scroller_policy_get()
18474     *
18475     * @ingroup Genlist
18476     */
18477    EAPI void              elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
18478    /**
18479     * Get the scrollbar policy
18480     *
18481     * @param obj The genlist object
18482     * @param policy_h Pointer to store the horizontal scrollbar policy.
18483     * @param policy_v Pointer to store the vertical scrollbar policy.
18484     *
18485     * @see elm_genlist_scroller_policy_set()
18486     *
18487     * @ingroup Genlist
18488     */
18489    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);
18490    /**
18491     * Get the @b next item in a genlist widget's internal list of items,
18492     * given a handle to one of those items.
18493     *
18494     * @param item The genlist item to fetch next from
18495     * @return The item after @p item, or @c NULL if there's none (and
18496     * on errors)
18497     *
18498     * This returns the item placed after the @p item, on the container
18499     * genlist.
18500     *
18501     * @see elm_genlist_item_prev_get()
18502     *
18503     * @ingroup Genlist
18504     */
18505    EAPI Elm_Genlist_Item  *elm_genlist_item_next_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18506    /**
18507     * Get the @b previous item in a genlist widget's internal list of items,
18508     * given a handle to one of those items.
18509     *
18510     * @param item The genlist item to fetch previous from
18511     * @return The item before @p item, or @c NULL if there's none (and
18512     * on errors)
18513     *
18514     * This returns the item placed before the @p item, on the container
18515     * genlist.
18516     *
18517     * @see elm_genlist_item_next_get()
18518     *
18519     * @ingroup Genlist
18520     */
18521    EAPI Elm_Genlist_Item  *elm_genlist_item_prev_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18522    /**
18523     * Get the genlist object's handle which contains a given genlist
18524     * item
18525     *
18526     * @param item The item to fetch the container from
18527     * @return The genlist (parent) object
18528     *
18529     * This returns the genlist object itself that an item belongs to.
18530     *
18531     * @ingroup Genlist
18532     */
18533    EAPI Evas_Object       *elm_genlist_item_genlist_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18534    /**
18535     * Get the parent item of the given item
18536     *
18537     * @param it The item
18538     * @return The parent of the item or @c NULL if it has no parent.
18539     *
18540     * This returns the item that was specified as parent of the item @p it on
18541     * elm_genlist_item_append() and insertion related functions.
18542     *
18543     * @ingroup Genlist
18544     */
18545    EAPI Elm_Genlist_Item  *elm_genlist_item_parent_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
18546    /**
18547     * Remove all sub-items (children) of the given item
18548     *
18549     * @param it The item
18550     *
18551     * This removes all items that are children (and their descendants) of the
18552     * given item @p it.
18553     *
18554     * @see elm_genlist_clear()
18555     * @see elm_genlist_item_del()
18556     *
18557     * @ingroup Genlist
18558     */
18559    EAPI void               elm_genlist_item_subitems_clear(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18560    /**
18561     * Set whether a given genlist item is selected or not
18562     *
18563     * @param it The item
18564     * @param selected Use @c EINA_TRUE, to make it selected, @c
18565     * EINA_FALSE to make it unselected
18566     *
18567     * This sets the selected state of an item. If multi selection is
18568     * not enabled on the containing genlist and @p selected is @c
18569     * EINA_TRUE, any other previously selected items will get
18570     * unselected in favor of this new one.
18571     *
18572     * @see elm_genlist_item_selected_get()
18573     *
18574     * @ingroup Genlist
18575     */
18576    EAPI void               elm_genlist_item_selected_set(Elm_Genlist_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
18577    /**
18578     * Get whether a given genlist item is selected or not
18579     *
18580     * @param it The item
18581     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
18582     *
18583     * @see elm_genlist_item_selected_set() for more details
18584     *
18585     * @ingroup Genlist
18586     */
18587    EAPI Eina_Bool          elm_genlist_item_selected_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18588    /**
18589     * Sets the expanded state of an item.
18590     *
18591     * @param it The item
18592     * @param expanded The expanded state (@c EINA_TRUE expanded, @c EINA_FALSE not expanded).
18593     *
18594     * This function flags the item of type #ELM_GENLIST_ITEM_SUBITEMS as
18595     * expanded or not.
18596     *
18597     * The theme will respond to this change visually, and a signal "expanded" or
18598     * "contracted" will be sent from the genlist with a pointer to the item that
18599     * has been expanded/contracted.
18600     *
18601     * Calling this function won't show or hide any child of this item (if it is
18602     * a parent). You must manually delete and create them on the callbacks fo
18603     * the "expanded" or "contracted" signals.
18604     *
18605     * @see elm_genlist_item_expanded_get()
18606     *
18607     * @ingroup Genlist
18608     */
18609    EAPI void               elm_genlist_item_expanded_set(Elm_Genlist_Item *item, Eina_Bool expanded) EINA_ARG_NONNULL(1);
18610    /**
18611     * Get the expanded state of an item
18612     *
18613     * @param it The item
18614     * @return The expanded state
18615     *
18616     * This gets the expanded state of an item.
18617     *
18618     * @see elm_genlist_item_expanded_set()
18619     *
18620     * @ingroup Genlist
18621     */
18622    EAPI Eina_Bool          elm_genlist_item_expanded_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18623    /**
18624     * Get the depth of expanded item
18625     *
18626     * @param it The genlist item object
18627     * @return The depth of expanded item
18628     *
18629     * @ingroup Genlist
18630     */
18631    EAPI int                elm_genlist_item_expanded_depth_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
18632    /**
18633     * Set whether a given genlist item is disabled or not.
18634     *
18635     * @param it The item
18636     * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
18637     * to enable it back.
18638     *
18639     * A disabled item cannot be selected or unselected. It will also
18640     * change its appearance, to signal the user it's disabled.
18641     *
18642     * @see elm_genlist_item_disabled_get()
18643     *
18644     * @ingroup Genlist
18645     */
18646    EAPI void               elm_genlist_item_disabled_set(Elm_Genlist_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
18647    /**
18648     * Get whether a given genlist item is disabled or not.
18649     *
18650     * @param it The item
18651     * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
18652     * (and on errors).
18653     *
18654     * @see elm_genlist_item_disabled_set() for more details
18655     *
18656     * @ingroup Genlist
18657     */
18658    EAPI Eina_Bool          elm_genlist_item_disabled_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18659    /**
18660     * Sets the display only state of an item.
18661     *
18662     * @param it The item
18663     * @param display_only @c EINA_TRUE if the item is display only, @c
18664     * EINA_FALSE otherwise.
18665     *
18666     * A display only item cannot be selected or unselected. It is for
18667     * display only and not selecting or otherwise clicking, dragging
18668     * etc. by the user, thus finger size rules will not be applied to
18669     * this item.
18670     *
18671     * It's good to set group index items to display only state.
18672     *
18673     * @see elm_genlist_item_display_only_get()
18674     *
18675     * @ingroup Genlist
18676     */
18677    EAPI void               elm_genlist_item_display_only_set(Elm_Genlist_Item *it, Eina_Bool display_only) EINA_ARG_NONNULL(1);
18678    /**
18679     * Get the display only state of an item
18680     *
18681     * @param it The item
18682     * @return @c EINA_TRUE if the item is display only, @c
18683     * EINA_FALSE otherwise.
18684     *
18685     * @see elm_genlist_item_display_only_set()
18686     *
18687     * @ingroup Genlist
18688     */
18689    EAPI Eina_Bool          elm_genlist_item_display_only_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
18690    /**
18691     * Show the portion of a genlist's internal list containing a given
18692     * item, immediately.
18693     *
18694     * @param it The item to display
18695     *
18696     * This causes genlist to jump to the given item @p it and show it (by
18697     * immediately scrolling to that position), if it is not fully visible.
18698     *
18699     * @see elm_genlist_item_bring_in()
18700     * @see elm_genlist_item_top_show()
18701     * @see elm_genlist_item_middle_show()
18702     *
18703     * @ingroup Genlist
18704     */
18705    EAPI void               elm_genlist_item_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18706    /**
18707     * Animatedly bring in, to the visible are of a genlist, a given
18708     * item on it.
18709     *
18710     * @param it The item to display
18711     *
18712     * This causes genlist to jump to the given item @p it and show it (by
18713     * animatedly scrolling), if it is not fully visible. This may use animation
18714     * to do so and take a period of time
18715     *
18716     * @see elm_genlist_item_show()
18717     * @see elm_genlist_item_top_bring_in()
18718     * @see elm_genlist_item_middle_bring_in()
18719     *
18720     * @ingroup Genlist
18721     */
18722    EAPI void               elm_genlist_item_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18723    /**
18724     * Show the portion of a genlist's internal list containing a given
18725     * item, immediately.
18726     *
18727     * @param it The item to display
18728     *
18729     * This causes genlist to jump to the given item @p it and show it (by
18730     * immediately scrolling to that position), if it is not fully visible.
18731     *
18732     * The item will be positioned at the top of the genlist viewport.
18733     *
18734     * @see elm_genlist_item_show()
18735     * @see elm_genlist_item_top_bring_in()
18736     *
18737     * @ingroup Genlist
18738     */
18739    EAPI void               elm_genlist_item_top_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18740    /**
18741     * Animatedly bring in, to the visible are of a genlist, a given
18742     * item on it.
18743     *
18744     * @param it The item
18745     *
18746     * This causes genlist to jump to the given item @p it and show it (by
18747     * animatedly scrolling), if it is not fully visible. This may use animation
18748     * to do so and take a period of time
18749     *
18750     * The item will be positioned at the top of the genlist viewport.
18751     *
18752     * @see elm_genlist_item_bring_in()
18753     * @see elm_genlist_item_top_show()
18754     *
18755     * @ingroup Genlist
18756     */
18757    EAPI void               elm_genlist_item_top_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18758    /**
18759     * Show the portion of a genlist's internal list containing a given
18760     * item, immediately.
18761     *
18762     * @param it The item to display
18763     *
18764     * This causes genlist to jump to the given item @p it and show it (by
18765     * immediately scrolling to that position), if it is not fully visible.
18766     *
18767     * The item will be positioned at the middle of the genlist viewport.
18768     *
18769     * @see elm_genlist_item_show()
18770     * @see elm_genlist_item_middle_bring_in()
18771     *
18772     * @ingroup Genlist
18773     */
18774    EAPI void               elm_genlist_item_middle_show(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
18775    /**
18776     * Animatedly bring in, to the visible are of a genlist, a given
18777     * item on it.
18778     *
18779     * @param it The item
18780     *
18781     * This causes genlist to jump to the given item @p it and show it (by
18782     * animatedly scrolling), if it is not fully visible. This may use animation
18783     * to do so and take a period of time
18784     *
18785     * The item will be positioned at the middle of the genlist viewport.
18786     *
18787     * @see elm_genlist_item_bring_in()
18788     * @see elm_genlist_item_middle_show()
18789     *
18790     * @ingroup Genlist
18791     */
18792    EAPI void               elm_genlist_item_middle_bring_in(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
18793    /**
18794     * Remove a genlist item from the its parent, deleting it.
18795     *
18796     * @param item The item to be removed.
18797     * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
18798     *
18799     * @see elm_genlist_clear(), to remove all items in a genlist at
18800     * once.
18801     *
18802     * @ingroup Genlist
18803     */
18804    EAPI void               elm_genlist_item_del(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18805    /**
18806     * Return the data associated to a given genlist item
18807     *
18808     * @param item The genlist item.
18809     * @return the data associated to this item.
18810     *
18811     * This returns the @c data value passed on the
18812     * elm_genlist_item_append() and related item addition calls.
18813     *
18814     * @see elm_genlist_item_append()
18815     * @see elm_genlist_item_data_set()
18816     *
18817     * @ingroup Genlist
18818     */
18819    EAPI void              *elm_genlist_item_data_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18820    /**
18821     * Set the data associated to a given genlist item
18822     *
18823     * @param item The genlist item
18824     * @param data The new data pointer to set on it
18825     *
18826     * This @b overrides the @c data value passed on the
18827     * elm_genlist_item_append() and related item addition calls. This
18828     * function @b won't call elm_genlist_item_update() automatically,
18829     * so you'd issue it afterwards if you want to hove the item
18830     * updated to reflect the that new data.
18831     *
18832     * @see elm_genlist_item_data_get()
18833     *
18834     * @ingroup Genlist
18835     */
18836    EAPI void               elm_genlist_item_data_set(Elm_Genlist_Item *it, const void *data) EINA_ARG_NONNULL(1);
18837    /**
18838     * Tells genlist to "orphan" icons fetchs by the item class
18839     *
18840     * @param it The item
18841     *
18842     * This instructs genlist to release references to icons in the item,
18843     * meaning that they will no longer be managed by genlist and are
18844     * floating "orphans" that can be re-used elsewhere if the user wants
18845     * to.
18846     *
18847     * @ingroup Genlist
18848     */
18849    EAPI void               elm_genlist_item_icons_orphan(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
18850    /**
18851     * Get the real Evas object created to implement the view of a
18852     * given genlist item
18853     *
18854     * @param item The genlist item.
18855     * @return the Evas object implementing this item's view.
18856     *
18857     * This returns the actual Evas object used to implement the
18858     * specified genlist item's view. This may be @c NULL, as it may
18859     * not have been created or may have been deleted, at any time, by
18860     * the genlist. <b>Do not modify this object</b> (move, resize,
18861     * show, hide, etc.), as the genlist is controlling it. This
18862     * function is for querying, emitting custom signals or hooking
18863     * lower level callbacks for events on that object. Do not delete
18864     * this object under any circumstances.
18865     *
18866     * @see elm_genlist_item_data_get()
18867     *
18868     * @ingroup Genlist
18869     */
18870    EAPI const Evas_Object *elm_genlist_item_object_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
18871    /**
18872     * Update the contents of an item
18873     *
18874     * @param it The item
18875     *
18876     * This updates an item by calling all the item class functions again
18877     * to get the icons, labels and states. Use this when the original
18878     * item data has changed and the changes are desired to be reflected.
18879     *
18880     * Use elm_genlist_realized_items_update() to update all already realized
18881     * items.
18882     *
18883     * @see elm_genlist_realized_items_update()
18884     *
18885     * @ingroup Genlist
18886     */
18887    EAPI void               elm_genlist_item_update(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18888    /**
18889     * Update the item class of an item
18890     *
18891     * @param it The item
18892     * @param itc The item class for the item
18893     *
18894     * This sets another class fo the item, changing the way that it is
18895     * displayed. After changing the item class, elm_genlist_item_update() is
18896     * called on the item @p it.
18897     *
18898     * @ingroup Genlist
18899     */
18900    EAPI void               elm_genlist_item_item_class_update(Elm_Genlist_Item *it, const Elm_Genlist_Item_Class *itc) EINA_ARG_NONNULL(1, 2);
18901    EAPI const Elm_Genlist_Item_Class *elm_genlist_item_item_class_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
18902    /**
18903     * Set the text to be shown in a given genlist item's tooltips.
18904     *
18905     * @param item The genlist item
18906     * @param text The text to set in the content
18907     *
18908     * This call will setup the text to be used as tooltip to that item
18909     * (analogous to elm_object_tooltip_text_set(), but being item
18910     * tooltips with higher precedence than object tooltips). It can
18911     * have only one tooltip at a time, so any previous tooltip data
18912     * will get removed.
18913     *
18914     * In order to set an icon or something else as a tooltip, look at
18915     * elm_genlist_item_tooltip_content_cb_set().
18916     *
18917     * @ingroup Genlist
18918     */
18919    EAPI void               elm_genlist_item_tooltip_text_set(Elm_Genlist_Item *item, const char *text) EINA_ARG_NONNULL(1);
18920    /**
18921     * Set the content to be shown in a given genlist item's tooltips
18922     *
18923     * @param item The genlist item.
18924     * @param func The function returning the tooltip contents.
18925     * @param data What to provide to @a func as callback data/context.
18926     * @param del_cb Called when data is not needed anymore, either when
18927     *        another callback replaces @p func, the tooltip is unset with
18928     *        elm_genlist_item_tooltip_unset() or the owner @p item
18929     *        dies. This callback receives as its first parameter the
18930     *        given @p data, being @c event_info the item handle.
18931     *
18932     * This call will setup the tooltip's contents to @p item
18933     * (analogous to elm_object_tooltip_content_cb_set(), but being
18934     * item tooltips with higher precedence than object tooltips). It
18935     * can have only one tooltip at a time, so any previous tooltip
18936     * content will get removed. @p func (with @p data) will be called
18937     * every time Elementary needs to show the tooltip and it should
18938     * return a valid Evas object, which will be fully managed by the
18939     * tooltip system, getting deleted when the tooltip is gone.
18940     *
18941     * In order to set just a text as a tooltip, look at
18942     * elm_genlist_item_tooltip_text_set().
18943     *
18944     * @ingroup Genlist
18945     */
18946    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);
18947    /**
18948     * Unset a tooltip from a given genlist item
18949     *
18950     * @param item genlist item to remove a previously set tooltip from.
18951     *
18952     * This call removes any tooltip set on @p item. The callback
18953     * provided as @c del_cb to
18954     * elm_genlist_item_tooltip_content_cb_set() will be called to
18955     * notify it is not used anymore (and have resources cleaned, if
18956     * need be).
18957     *
18958     * @see elm_genlist_item_tooltip_content_cb_set()
18959     *
18960     * @ingroup Genlist
18961     */
18962    EAPI void               elm_genlist_item_tooltip_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18963    /**
18964     * Set a different @b style for a given genlist item's tooltip.
18965     *
18966     * @param item genlist item with tooltip set
18967     * @param style the <b>theme style</b> to use on tooltips (e.g. @c
18968     * "default", @c "transparent", etc)
18969     *
18970     * Tooltips can have <b>alternate styles</b> to be displayed on,
18971     * which are defined by the theme set on Elementary. This function
18972     * works analogously as elm_object_tooltip_style_set(), but here
18973     * applied only to genlist item objects. The default style for
18974     * tooltips is @c "default".
18975     *
18976     * @note before you set a style you should define a tooltip with
18977     *       elm_genlist_item_tooltip_content_cb_set() or
18978     *       elm_genlist_item_tooltip_text_set()
18979     *
18980     * @see elm_genlist_item_tooltip_style_get()
18981     *
18982     * @ingroup Genlist
18983     */
18984    EAPI void               elm_genlist_item_tooltip_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
18985    /**
18986     * Get the style set a given genlist item's tooltip.
18987     *
18988     * @param item genlist item with tooltip already set on.
18989     * @return style the theme style in use, which defaults to
18990     *         "default". If the object does not have a tooltip set,
18991     *         then @c NULL is returned.
18992     *
18993     * @see elm_genlist_item_tooltip_style_set() for more details
18994     *
18995     * @ingroup Genlist
18996     */
18997    EAPI const char        *elm_genlist_item_tooltip_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18998    /**
18999     * @brief Disable size restrictions on an object's tooltip
19000     * @param item The tooltip's anchor object
19001     * @param disable If EINA_TRUE, size restrictions are disabled
19002     * @return EINA_FALSE on failure, EINA_TRUE on success
19003     *
19004     * This function allows a tooltip to expand beyond its parant window's canvas.
19005     * It will instead be limited only by the size of the display.
19006     */
19007    EAPI Eina_Bool          elm_genlist_item_tooltip_size_restrict_disable(Elm_Genlist_Item *item, Eina_Bool disable);
19008    /**
19009     * @brief Retrieve size restriction state of an object's tooltip
19010     * @param item The tooltip's anchor object
19011     * @return If EINA_TRUE, size restrictions are disabled
19012     *
19013     * This function returns whether a tooltip is allowed to expand beyond
19014     * its parant window's canvas.
19015     * It will instead be limited only by the size of the display.
19016     */
19017    EAPI Eina_Bool          elm_genlist_item_tooltip_size_restrict_disabled_get(const Elm_Genlist_Item *item);
19018    /**
19019     * Set the type of mouse pointer/cursor decoration to be shown,
19020     * when the mouse pointer is over the given genlist widget item
19021     *
19022     * @param item genlist item to customize cursor on
19023     * @param cursor the cursor type's name
19024     *
19025     * This function works analogously as elm_object_cursor_set(), but
19026     * here the cursor's changing area is restricted to the item's
19027     * area, and not the whole widget's. Note that that item cursors
19028     * have precedence over widget cursors, so that a mouse over @p
19029     * item will always show cursor @p type.
19030     *
19031     * If this function is called twice for an object, a previously set
19032     * cursor will be unset on the second call.
19033     *
19034     * @see elm_object_cursor_set()
19035     * @see elm_genlist_item_cursor_get()
19036     * @see elm_genlist_item_cursor_unset()
19037     *
19038     * @ingroup Genlist
19039     */
19040    EAPI void               elm_genlist_item_cursor_set(Elm_Genlist_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
19041    /**
19042     * Get the type of mouse pointer/cursor decoration set to be shown,
19043     * when the mouse pointer is over the given genlist widget item
19044     *
19045     * @param item genlist item with custom cursor set
19046     * @return the cursor type's name or @c NULL, if no custom cursors
19047     * were set to @p item (and on errors)
19048     *
19049     * @see elm_object_cursor_get()
19050     * @see elm_genlist_item_cursor_set() for more details
19051     * @see elm_genlist_item_cursor_unset()
19052     *
19053     * @ingroup Genlist
19054     */
19055    EAPI const char        *elm_genlist_item_cursor_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19056    /**
19057     * Unset any custom mouse pointer/cursor decoration set to be
19058     * shown, when the mouse pointer is over the given genlist widget
19059     * item, thus making it show the @b default cursor again.
19060     *
19061     * @param item a genlist item
19062     *
19063     * Use this call to undo any custom settings on this item's cursor
19064     * decoration, bringing it back to defaults (no custom style set).
19065     *
19066     * @see elm_object_cursor_unset()
19067     * @see elm_genlist_item_cursor_set() for more details
19068     *
19069     * @ingroup Genlist
19070     */
19071    EAPI void               elm_genlist_item_cursor_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19072    /**
19073     * Set a different @b style for a given custom cursor set for a
19074     * genlist item.
19075     *
19076     * @param item genlist item with custom cursor set
19077     * @param style the <b>theme style</b> to use (e.g. @c "default",
19078     * @c "transparent", etc)
19079     *
19080     * This function only makes sense when one is using custom mouse
19081     * cursor decorations <b>defined in a theme file</b> , which can
19082     * have, given a cursor name/type, <b>alternate styles</b> on
19083     * it. It works analogously as elm_object_cursor_style_set(), but
19084     * here applied only to genlist item objects.
19085     *
19086     * @warning Before you set a cursor style you should have defined a
19087     *       custom cursor previously on the item, with
19088     *       elm_genlist_item_cursor_set()
19089     *
19090     * @see elm_genlist_item_cursor_engine_only_set()
19091     * @see elm_genlist_item_cursor_style_get()
19092     *
19093     * @ingroup Genlist
19094     */
19095    EAPI void               elm_genlist_item_cursor_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
19096    /**
19097     * Get the current @b style set for a given genlist item's custom
19098     * cursor
19099     *
19100     * @param item genlist item with custom cursor set.
19101     * @return style the cursor style in use. If the object does not
19102     *         have a cursor set, then @c NULL is returned.
19103     *
19104     * @see elm_genlist_item_cursor_style_set() for more details
19105     *
19106     * @ingroup Genlist
19107     */
19108    EAPI const char        *elm_genlist_item_cursor_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19109    /**
19110     * Set if the (custom) cursor for a given genlist item should be
19111     * searched in its theme, also, or should only rely on the
19112     * rendering engine.
19113     *
19114     * @param item item with custom (custom) cursor already set on
19115     * @param engine_only Use @c EINA_TRUE to have cursors looked for
19116     * only on those provided by the rendering engine, @c EINA_FALSE to
19117     * have them searched on the widget's theme, as well.
19118     *
19119     * @note This call is of use only if you've set a custom cursor
19120     * for genlist items, with elm_genlist_item_cursor_set().
19121     *
19122     * @note By default, cursors will only be looked for between those
19123     * provided by the rendering engine.
19124     *
19125     * @ingroup Genlist
19126     */
19127    EAPI void               elm_genlist_item_cursor_engine_only_set(Elm_Genlist_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
19128    /**
19129     * Get if the (custom) cursor for a given genlist item is being
19130     * searched in its theme, also, or is only relying on the rendering
19131     * engine.
19132     *
19133     * @param item a genlist item
19134     * @return @c EINA_TRUE, if cursors are being looked for only on
19135     * those provided by the rendering engine, @c EINA_FALSE if they
19136     * are being searched on the widget's theme, as well.
19137     *
19138     * @see elm_genlist_item_cursor_engine_only_set(), for more details
19139     *
19140     * @ingroup Genlist
19141     */
19142    EAPI Eina_Bool          elm_genlist_item_cursor_engine_only_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19143    /**
19144     * Update the contents of all realized items.
19145     *
19146     * @param obj The genlist object.
19147     *
19148     * This updates all realized items by calling all the item class functions again
19149     * to get the icons, labels and states. Use this when the original
19150     * item data has changed and the changes are desired to be reflected.
19151     *
19152     * To update just one item, use elm_genlist_item_update().
19153     *
19154     * @see elm_genlist_realized_items_get()
19155     * @see elm_genlist_item_update()
19156     *
19157     * @ingroup Genlist
19158     */
19159    EAPI void               elm_genlist_realized_items_update(Evas_Object *obj) EINA_ARG_NONNULL(1);
19160    /**
19161     * Activate a genlist mode on an item
19162     *
19163     * @param item The genlist item
19164     * @param mode Mode name
19165     * @param mode_set Boolean to define set or unset mode.
19166     *
19167     * A genlist mode is a different way of selecting an item. Once a mode is
19168     * activated on an item, any other selected item is immediately unselected.
19169     * This feature provides an easy way of implementing a new kind of animation
19170     * for selecting an item, without having to entirely rewrite the item style
19171     * theme. However, the elm_genlist_selected_* API can't be used to get what
19172     * item is activate for a mode.
19173     *
19174     * The current item style will still be used, but applying a genlist mode to
19175     * an item will select it using a different kind of animation.
19176     *
19177     * The current active item for a mode can be found by
19178     * elm_genlist_mode_item_get().
19179     *
19180     * The characteristics of genlist mode are:
19181     * - Only one mode can be active at any time, and for only one item.
19182     * - Genlist handles deactivating other items when one item is activated.
19183     * - A mode is defined in the genlist theme (edc), and more modes can easily
19184     *   be added.
19185     * - A mode style and the genlist item style are different things. They
19186     *   can be combined to provide a default style to the item, with some kind
19187     *   of animation for that item when the mode is activated.
19188     *
19189     * When a mode is activated on an item, a new view for that item is created.
19190     * The theme of this mode defines the animation that will be used to transit
19191     * the item from the old view to the new view. This second (new) view will be
19192     * active for that item while the mode is active on the item, and will be
19193     * destroyed after the mode is totally deactivated from that item.
19194     *
19195     * @see elm_genlist_mode_get()
19196     * @see elm_genlist_mode_item_get()
19197     *
19198     * @ingroup Genlist
19199     */
19200    EAPI void               elm_genlist_item_mode_set(Elm_Genlist_Item *it, const char *mode_type, Eina_Bool mode_set) EINA_ARG_NONNULL(1, 2);
19201    /**
19202     * Get the last (or current) genlist mode used.
19203     *
19204     * @param obj The genlist object
19205     *
19206     * This function just returns the name of the last used genlist mode. It will
19207     * be the current mode if it's still active.
19208     *
19209     * @see elm_genlist_item_mode_set()
19210     * @see elm_genlist_mode_item_get()
19211     *
19212     * @ingroup Genlist
19213     */
19214    EAPI const char        *elm_genlist_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19215    /**
19216     * Get active genlist mode item
19217     *
19218     * @param obj The genlist object
19219     * @return The active item for that current mode. Or @c NULL if no item is
19220     * activated with any mode.
19221     *
19222     * This function returns the item that was activated with a mode, by the
19223     * function elm_genlist_item_mode_set().
19224     *
19225     * @see elm_genlist_item_mode_set()
19226     * @see elm_genlist_mode_get()
19227     *
19228     * @ingroup Genlist
19229     */
19230    EAPI const Elm_Genlist_Item *elm_genlist_mode_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19231
19232    /**
19233     * Set reorder mode
19234     *
19235     * @param obj The genlist object
19236     * @param reorder_mode The reorder mode
19237     * (EINA_TRUE = on, EINA_FALSE = off)
19238     *
19239     * @ingroup Genlist
19240     */
19241    EAPI void               elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
19242
19243    /**
19244     * Get the reorder mode
19245     *
19246     * @param obj The genlist object
19247     * @return The reorder mode
19248     * (EINA_TRUE = on, EINA_FALSE = off)
19249     *
19250     * @ingroup Genlist
19251     */
19252    EAPI Eina_Bool          elm_genlist_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19253
19254    /**
19255     * @}
19256     */
19257
19258    /**
19259     * @defgroup Check Check
19260     *
19261     * @image html img/widget/check/preview-00.png
19262     * @image latex img/widget/check/preview-00.eps
19263     * @image html img/widget/check/preview-01.png
19264     * @image latex img/widget/check/preview-01.eps
19265     * @image html img/widget/check/preview-02.png
19266     * @image latex img/widget/check/preview-02.eps
19267     *
19268     * @brief The check widget allows for toggling a value between true and
19269     * false.
19270     *
19271     * Check objects are a lot like radio objects in layout and functionality
19272     * except they do not work as a group, but independently and only toggle the
19273     * value of a boolean from false to true (0 or 1). elm_check_state_set() sets
19274     * the boolean state (1 for true, 0 for false), and elm_check_state_get()
19275     * returns the current state. For convenience, like the radio objects, you
19276     * can set a pointer to a boolean directly with elm_check_state_pointer_set()
19277     * for it to modify.
19278     *
19279     * Signals that you can add callbacks for are:
19280     * "changed" - This is called whenever the user changes the state of one of
19281     *             the check object(event_info is NULL).
19282     *
19283     * @ref tutorial_check should give you a firm grasp of how to use this widget.
19284     * @{
19285     */
19286    /**
19287     * @brief Add a new Check object
19288     *
19289     * @param parent The parent object
19290     * @return The new object or NULL if it cannot be created
19291     */
19292    EAPI Evas_Object *elm_check_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
19293    /**
19294     * @brief Set the text label of the check object
19295     *
19296     * @param obj The check object
19297     * @param label The text label string in UTF-8
19298     *
19299     * @deprecated use elm_object_text_set() instead.
19300     */
19301    EINA_DEPRECATED EAPI void         elm_check_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
19302    /**
19303     * @brief Get the text label of the check object
19304     *
19305     * @param obj The check object
19306     * @return The text label string in UTF-8
19307     *
19308     * @deprecated use elm_object_text_get() instead.
19309     */
19310    EINA_DEPRECATED EAPI const char  *elm_check_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19311    /**
19312     * @brief Set the icon object of the check object
19313     *
19314     * @param obj The check object
19315     * @param icon The icon object
19316     *
19317     * Once the icon object is set, a previously set one will be deleted.
19318     * If you want to keep that old content object, use the
19319     * elm_check_icon_unset() function.
19320     */
19321    EAPI void         elm_check_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
19322    /**
19323     * @brief Get the icon object of the check object
19324     *
19325     * @param obj The check object
19326     * @return The icon object
19327     */
19328    EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19329    /**
19330     * @brief Unset the icon used for the check object
19331     *
19332     * @param obj The check object
19333     * @return The icon object that was being used
19334     *
19335     * Unparent and return the icon object which was set for this widget.
19336     */
19337    EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
19338    /**
19339     * @brief Set the on/off state of the check object
19340     *
19341     * @param obj The check object
19342     * @param state The state to use (1 == on, 0 == off)
19343     *
19344     * This sets the state of the check. If set
19345     * with elm_check_state_pointer_set() the state of that variable is also
19346     * changed. Calling this @b doesn't cause the "changed" signal to be emited.
19347     */
19348    EAPI void         elm_check_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
19349    /**
19350     * @brief Get the state of the check object
19351     *
19352     * @param obj The check object
19353     * @return The boolean state
19354     */
19355    EAPI Eina_Bool    elm_check_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19356    /**
19357     * @brief Set a convenience pointer to a boolean to change
19358     *
19359     * @param obj The check object
19360     * @param statep Pointer to the boolean to modify
19361     *
19362     * This sets a pointer to a boolean, that, in addition to the check objects
19363     * state will also be modified directly. To stop setting the object pointed
19364     * to simply use NULL as the @p statep parameter. If @p statep is not NULL,
19365     * then when this is called, the check objects state will also be modified to
19366     * reflect the value of the boolean @p statep points to, just like calling
19367     * elm_check_state_set().
19368     */
19369    EAPI void         elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
19370    /**
19371     * @}
19372     */
19373
19374    /**
19375     * @defgroup Radio Radio
19376     *
19377     * @image html img/widget/radio/preview-00.png
19378     * @image latex img/widget/radio/preview-00.eps
19379     *
19380     * @brief Radio is a widget that allows for 1 or more options to be displayed
19381     * and have the user choose only 1 of them.
19382     *
19383     * A radio object contains an indicator, an optional Label and an optional
19384     * icon object. While it's possible to have a group of only one radio they,
19385     * are normally used in groups of 2 or more. To add a radio to a group use
19386     * elm_radio_group_add(). The radio object(s) will select from one of a set
19387     * of integer values, so any value they are configuring needs to be mapped to
19388     * a set of integers. To configure what value that radio object represents,
19389     * use  elm_radio_state_value_set() to set the integer it represents. To set
19390     * the value the whole group(which one is currently selected) is to indicate
19391     * use elm_radio_value_set() on any group member, and to get the groups value
19392     * use elm_radio_value_get(). For convenience the radio objects are also able
19393     * to directly set an integer(int) to the value that is selected. To specify
19394     * the pointer to this integer to modify, use elm_radio_value_pointer_set().
19395     * The radio objects will modify this directly. That implies the pointer must
19396     * point to valid memory for as long as the radio objects exist.
19397     *
19398     * Signals that you can add callbacks for are:
19399     * @li changed - This is called whenever the user changes the state of one of
19400     * the radio objects within the group of radio objects that work together.
19401     *
19402     * @ref tutorial_radio show most of this API in action.
19403     * @{
19404     */
19405    /**
19406     * @brief Add a new radio to the parent
19407     *
19408     * @param parent The parent object
19409     * @return The new object or NULL if it cannot be created
19410     */
19411    EAPI Evas_Object *elm_radio_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
19412    /**
19413     * @brief Set the text label of the radio object
19414     *
19415     * @param obj The radio object
19416     * @param label The text label string in UTF-8
19417     *
19418     * @deprecated use elm_object_text_set() instead.
19419     */
19420    EINA_DEPRECATED EAPI void         elm_radio_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
19421    /**
19422     * @brief Get the text label of the radio object
19423     *
19424     * @param obj The radio object
19425     * @return The text label string in UTF-8
19426     *
19427     * @deprecated use elm_object_text_set() instead.
19428     */
19429    EINA_DEPRECATED EAPI const char  *elm_radio_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19430    /**
19431     * @brief Set the icon object of the radio object
19432     *
19433     * @param obj The radio object
19434     * @param icon The icon object
19435     *
19436     * Once the icon object is set, a previously set one will be deleted. If you
19437     * want to keep that old content object, use the elm_radio_icon_unset()
19438     * function.
19439     */
19440    EAPI void         elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
19441    /**
19442     * @brief Get the icon object of the radio object
19443     *
19444     * @param obj The radio object
19445     * @return The icon object
19446     *
19447     * @see elm_radio_icon_set()
19448     */
19449    EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19450    /**
19451     * @brief Unset the icon used for the radio object
19452     *
19453     * @param obj The radio object
19454     * @return The icon object that was being used
19455     *
19456     * Unparent and return the icon object which was set for this widget.
19457     *
19458     * @see elm_radio_icon_set()
19459     */
19460    EAPI Evas_Object *elm_radio_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
19461    /**
19462     * @brief Add this radio to a group of other radio objects
19463     *
19464     * @param obj The radio object
19465     * @param group Any object whose group the @p obj is to join.
19466     *
19467     * Radio objects work in groups. Each member should have a different integer
19468     * value assigned. In order to have them work as a group, they need to know
19469     * about each other. This adds the given radio object to the group of which
19470     * the group object indicated is a member.
19471     */
19472    EAPI void         elm_radio_group_add(Evas_Object *obj, Evas_Object *group) EINA_ARG_NONNULL(1);
19473    /**
19474     * @brief Set the integer value that this radio object represents
19475     *
19476     * @param obj The radio object
19477     * @param value The value to use if this radio object is selected
19478     *
19479     * This sets the value of the radio.
19480     */
19481    EAPI void         elm_radio_state_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
19482    /**
19483     * @brief Get the integer value that this radio object represents
19484     *
19485     * @param obj The radio object
19486     * @return The value used if this radio object is selected
19487     *
19488     * This gets the value of the radio.
19489     *
19490     * @see elm_radio_value_set()
19491     */
19492    EAPI int          elm_radio_state_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19493    /**
19494     * @brief Set the value of the radio.
19495     *
19496     * @param obj The radio object
19497     * @param value The value to use for the group
19498     *
19499     * This sets the value of the radio group and will also set the value if
19500     * pointed to, to the value supplied, but will not call any callbacks.
19501     */
19502    EAPI void         elm_radio_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
19503    /**
19504     * @brief Get the state of the radio object
19505     *
19506     * @param obj The radio object
19507     * @return The integer state
19508     */
19509    EAPI int          elm_radio_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19510    /**
19511     * @brief Set a convenience pointer to a integer to change
19512     *
19513     * @param obj The radio object
19514     * @param valuep Pointer to the integer to modify
19515     *
19516     * This sets a pointer to a integer, that, in addition to the radio objects
19517     * state will also be modified directly. To stop setting the object pointed
19518     * to simply use NULL as the @p valuep argument. If valuep is not NULL, then
19519     * when this is called, the radio objects state will also be modified to
19520     * reflect the value of the integer valuep points to, just like calling
19521     * elm_radio_value_set().
19522     */
19523    EAPI void         elm_radio_value_pointer_set(Evas_Object *obj, int *valuep) EINA_ARG_NONNULL(1);
19524    /**
19525     * @}
19526     */
19527
19528    /**
19529     * @defgroup Pager Pager
19530     *
19531     * @image html img/widget/pager/preview-00.png
19532     * @image latex img/widget/pager/preview-00.eps
19533     *
19534     * @brief Widget that allows flipping between 1 or more “pages” of objects.
19535     *
19536     * The flipping between “pages” of objects is animated. All content in pager
19537     * is kept in a stack, the last content to be added will be on the top of the
19538     * stack(be visible).
19539     *
19540     * Objects can be pushed or popped from the stack or deleted as normal.
19541     * Pushes and pops will animate (and a pop will delete the object once the
19542     * animation is finished). Any object already in the pager can be promoted to
19543     * the top(from its current stacking position) through the use of
19544     * elm_pager_content_promote(). Objects are pushed to the top with
19545     * elm_pager_content_push() and when the top item is no longer wanted, simply
19546     * pop it with elm_pager_content_pop() and it will also be deleted. If an
19547     * object is no longer needed and is not the top item, just delete it as
19548     * normal. You can query which objects are the top and bottom with
19549     * elm_pager_content_bottom_get() and elm_pager_content_top_get().
19550     *
19551     * Signals that you can add callbacks for are:
19552     * "hide,finished" - when the previous page is hided
19553     *
19554     * This widget has the following styles available:
19555     * @li default
19556     * @li fade
19557     * @li fade_translucide
19558     * @li fade_invisible
19559     * @note This styles affect only the flipping animations, the appearance when
19560     * not animating is unaffected by styles.
19561     *
19562     * @ref tutorial_pager gives a good overview of the usage of the API.
19563     * @{
19564     */
19565    /**
19566     * Add a new pager to the parent
19567     *
19568     * @param parent The parent object
19569     * @return The new object or NULL if it cannot be created
19570     *
19571     * @ingroup Pager
19572     */
19573    EAPI Evas_Object *elm_pager_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
19574    /**
19575     * @brief Push an object to the top of the pager stack (and show it).
19576     *
19577     * @param obj The pager object
19578     * @param content The object to push
19579     *
19580     * The object pushed becomes a child of the pager, it will be controlled and
19581     * deleted when the pager is deleted.
19582     *
19583     * @note If the content is already in the stack use
19584     * elm_pager_content_promote().
19585     * @warning Using this function on @p content already in the stack results in
19586     * undefined behavior.
19587     */
19588    EAPI void         elm_pager_content_push(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
19589    /**
19590     * @brief Pop the object that is on top of the stack
19591     *
19592     * @param obj The pager object
19593     *
19594     * This pops the object that is on the top(visible) of the pager, makes it
19595     * disappear, then deletes the object. The object that was underneath it on
19596     * the stack will become visible.
19597     */
19598    EAPI void         elm_pager_content_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
19599    /**
19600     * @brief Moves an object already in the pager stack to the top of the stack.
19601     *
19602     * @param obj The pager object
19603     * @param content The object to promote
19604     *
19605     * This will take the @p content and move it to the top of the stack as
19606     * if it had been pushed there.
19607     *
19608     * @note If the content isn't already in the stack use
19609     * elm_pager_content_push().
19610     * @warning Using this function on @p content not already in the stack
19611     * results in undefined behavior.
19612     */
19613    EAPI void         elm_pager_content_promote(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
19614    /**
19615     * @brief Return the object at the bottom of the pager stack
19616     *
19617     * @param obj The pager object
19618     * @return The bottom object or NULL if none
19619     */
19620    EAPI Evas_Object *elm_pager_content_bottom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19621    /**
19622     * @brief  Return the object at the top of the pager stack
19623     *
19624     * @param obj The pager object
19625     * @return The top object or NULL if none
19626     */
19627    EAPI Evas_Object *elm_pager_content_top_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19628    /**
19629     * @}
19630     */
19631
19632    /**
19633     * @defgroup Slideshow Slideshow
19634     *
19635     * @image html img/widget/slideshow/preview-00.png
19636     * @image latex img/widget/slideshow/preview-00.eps
19637     *
19638     * This widget, as the name indicates, is a pre-made image
19639     * slideshow panel, with API functions acting on (child) image
19640     * items presentation. Between those actions, are:
19641     * - advance to next/previous image
19642     * - select the style of image transition animation
19643     * - set the exhibition time for each image
19644     * - start/stop the slideshow
19645     *
19646     * The transition animations are defined in the widget's theme,
19647     * consequently new animations can be added without having to
19648     * update the widget's code.
19649     *
19650     * @section Slideshow_Items Slideshow items
19651     *
19652     * For slideshow items, just like for @ref Genlist "genlist" ones,
19653     * the user defines a @b classes, specifying functions that will be
19654     * called on the item's creation and deletion times.
19655     *
19656     * The #Elm_Slideshow_Item_Class structure contains the following
19657     * members:
19658     *
19659     * - @c func.get - When an item is displayed, this function is
19660     *   called, and it's where one should create the item object, de
19661     *   facto. For example, the object can be a pure Evas image object
19662     *   or an Elementary @ref Photocam "photocam" widget. See
19663     *   #SlideshowItemGetFunc.
19664     * - @c func.del - When an item is no more displayed, this function
19665     *   is called, where the user must delete any data associated to
19666     *   the item. See #SlideshowItemDelFunc.
19667     *
19668     * @section Slideshow_Caching Slideshow caching
19669     *
19670     * The slideshow provides facilities to have items adjacent to the
19671     * one being displayed <b>already "realized"</b> (i.e. loaded) for
19672     * you, so that the system does not have to decode image data
19673     * anymore at the time it has to actually switch images on its
19674     * viewport. The user is able to set the numbers of items to be
19675     * cached @b before and @b after the current item, in the widget's
19676     * item list.
19677     *
19678     * Smart events one can add callbacks for are:
19679     *
19680     * - @c "changed" - when the slideshow switches its view to a new
19681     *   item
19682     *
19683     * List of examples for the slideshow widget:
19684     * @li @ref slideshow_example
19685     */
19686
19687    /**
19688     * @addtogroup Slideshow
19689     * @{
19690     */
19691
19692    typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class; /**< Slideshow item class definition struct */
19693    typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func; /**< Class functions for slideshow item classes. */
19694    typedef struct _Elm_Slideshow_Item       Elm_Slideshow_Item; /**< Slideshow item handle */
19695    typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj); /**< Image fetching class function for slideshow item classes. */
19696    typedef void         (*SlideshowItemDelFunc) (void *data, Evas_Object *obj); /**< Deletion class function for slideshow item classes. */
19697
19698    /**
19699     * @struct _Elm_Slideshow_Item_Class
19700     *
19701     * Slideshow item class definition. See @ref Slideshow_Items for
19702     * field details.
19703     */
19704    struct _Elm_Slideshow_Item_Class
19705      {
19706         struct _Elm_Slideshow_Item_Class_Func
19707           {
19708              SlideshowItemGetFunc get;
19709              SlideshowItemDelFunc del;
19710           } func;
19711      }; /**< #Elm_Slideshow_Item_Class member definitions */
19712
19713    /**
19714     * Add a new slideshow widget to the given parent Elementary
19715     * (container) object
19716     *
19717     * @param parent The parent object
19718     * @return A new slideshow widget handle or @c NULL, on errors
19719     *
19720     * This function inserts a new slideshow widget on the canvas.
19721     *
19722     * @ingroup Slideshow
19723     */
19724    EAPI Evas_Object        *elm_slideshow_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
19725
19726    /**
19727     * Add (append) a new item in a given slideshow widget.
19728     *
19729     * @param obj The slideshow object
19730     * @param itc The item class for the item
19731     * @param data The item's data
19732     * @return A handle to the item added or @c NULL, on errors
19733     *
19734     * Add a new item to @p obj's internal list of items, appending it.
19735     * The item's class must contain the function really fetching the
19736     * image object to show for this item, which could be an Evas image
19737     * object or an Elementary photo, for example. The @p data
19738     * parameter is going to be passed to both class functions of the
19739     * item.
19740     *
19741     * @see #Elm_Slideshow_Item_Class
19742     * @see elm_slideshow_item_sorted_insert()
19743     *
19744     * @ingroup Slideshow
19745     */
19746    EAPI Elm_Slideshow_Item *elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data) EINA_ARG_NONNULL(1);
19747
19748    /**
19749     * Insert a new item into the given slideshow widget, using the @p func
19750     * function to sort items (by item handles).
19751     *
19752     * @param obj The slideshow object
19753     * @param itc The item class for the item
19754     * @param data The item's data
19755     * @param func The comparing function to be used to sort slideshow
19756     * items <b>by #Elm_Slideshow_Item item handles</b>
19757     * @return Returns The slideshow item handle, on success, or
19758     * @c NULL, on errors
19759     *
19760     * Add a new item to @p obj's internal list of items, in a position
19761     * determined by the @p func comparing function. The item's class
19762     * must contain the function really fetching the image object to
19763     * show for this item, which could be an Evas image object or an
19764     * Elementary photo, for example. The @p data parameter is going to
19765     * be passed to both class functions of the item.
19766     *
19767     * @see #Elm_Slideshow_Item_Class
19768     * @see elm_slideshow_item_add()
19769     *
19770     * @ingroup Slideshow
19771     */
19772    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);
19773
19774    /**
19775     * Display a given slideshow widget's item, programmatically.
19776     *
19777     * @param obj The slideshow object
19778     * @param item The item to display on @p obj's viewport
19779     *
19780     * The change between the current item and @p item will use the
19781     * transition @p obj is set to use (@see
19782     * elm_slideshow_transition_set()).
19783     *
19784     * @ingroup Slideshow
19785     */
19786    EAPI void                elm_slideshow_show(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
19787
19788    /**
19789     * Slide to the @b next item, in a given slideshow widget
19790     *
19791     * @param obj The slideshow object
19792     *
19793     * The sliding animation @p obj is set to use will be the
19794     * transition effect used, after this call is issued.
19795     *
19796     * @note If the end of the slideshow's internal list of items is
19797     * reached, it'll wrap around to the list's beginning, again.
19798     *
19799     * @ingroup Slideshow
19800     */
19801    EAPI void                elm_slideshow_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
19802
19803    /**
19804     * Slide to the @b previous item, in a given slideshow widget
19805     *
19806     * @param obj The slideshow object
19807     *
19808     * The sliding animation @p obj is set to use will be the
19809     * transition effect used, after this call is issued.
19810     *
19811     * @note If the beginning of the slideshow's internal list of items
19812     * is reached, it'll wrap around to the list's end, again.
19813     *
19814     * @ingroup Slideshow
19815     */
19816    EAPI void                elm_slideshow_previous(Evas_Object *obj) EINA_ARG_NONNULL(1);
19817
19818    /**
19819     * Returns the list of sliding transition/effect names available, for a
19820     * given slideshow widget.
19821     *
19822     * @param obj The slideshow object
19823     * @return The list of transitions (list of @b stringshared strings
19824     * as data)
19825     *
19826     * The transitions, which come from @p obj's theme, must be an EDC
19827     * data item named @c "transitions" on the theme file, with (prefix)
19828     * names of EDC programs actually implementing them.
19829     *
19830     * The available transitions for slideshows on the default theme are:
19831     * - @c "fade" - the current item fades out, while the new one
19832     *   fades in to the slideshow's viewport.
19833     * - @c "black_fade" - the current item fades to black, and just
19834     *   then, the new item will fade in.
19835     * - @c "horizontal" - the current item slides horizontally, until
19836     *   it gets out of the slideshow's viewport, while the new item
19837     *   comes from the left to take its place.
19838     * - @c "vertical" - the current item slides vertically, until it
19839     *   gets out of the slideshow's viewport, while the new item comes
19840     *   from the bottom to take its place.
19841     * - @c "square" - the new item starts to appear from the middle of
19842     *   the current one, but with a tiny size, growing until its
19843     *   target (full) size and covering the old one.
19844     *
19845     * @warning The stringshared strings get no new references
19846     * exclusive to the user grabbing the list, here, so if you'd like
19847     * to use them out of this call's context, you'd better @c
19848     * eina_stringshare_ref() them.
19849     *
19850     * @see elm_slideshow_transition_set()
19851     *
19852     * @ingroup Slideshow
19853     */
19854    EAPI const Eina_List    *elm_slideshow_transitions_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19855
19856    /**
19857     * Set the current slide transition/effect in use for a given
19858     * slideshow widget
19859     *
19860     * @param obj The slideshow object
19861     * @param transition The new transition's name string
19862     *
19863     * If @p transition is implemented in @p obj's theme (i.e., is
19864     * contained in the list returned by
19865     * elm_slideshow_transitions_get()), this new sliding effect will
19866     * be used on the widget.
19867     *
19868     * @see elm_slideshow_transitions_get() for more details
19869     *
19870     * @ingroup Slideshow
19871     */
19872    EAPI void                elm_slideshow_transition_set(Evas_Object *obj, const char *transition) EINA_ARG_NONNULL(1);
19873
19874    /**
19875     * Get the current slide transition/effect in use for a given
19876     * slideshow widget
19877     *
19878     * @param obj The slideshow object
19879     * @return The current transition's name
19880     *
19881     * @see elm_slideshow_transition_set() for more details
19882     *
19883     * @ingroup Slideshow
19884     */
19885    EAPI const char         *elm_slideshow_transition_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19886
19887    /**
19888     * Set the interval between each image transition on a given
19889     * slideshow widget, <b>and start the slideshow, itself</b>
19890     *
19891     * @param obj The slideshow object
19892     * @param timeout The new displaying timeout for images
19893     *
19894     * After this call, the slideshow widget will start cycling its
19895     * view, sequentially and automatically, with the images of the
19896     * items it has. The time between each new image displayed is going
19897     * to be @p timeout, in @b seconds. If a different timeout was set
19898     * previously and an slideshow was in progress, it will continue
19899     * with the new time between transitions, after this call.
19900     *
19901     * @note A value less than or equal to 0 on @p timeout will disable
19902     * the widget's internal timer, thus halting any slideshow which
19903     * could be happening on @p obj.
19904     *
19905     * @see elm_slideshow_timeout_get()
19906     *
19907     * @ingroup Slideshow
19908     */
19909    EAPI void                elm_slideshow_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
19910
19911    /**
19912     * Get the interval set for image transitions on a given slideshow
19913     * widget.
19914     *
19915     * @param obj The slideshow object
19916     * @return Returns the timeout set on it
19917     *
19918     * @see elm_slideshow_timeout_set() for more details
19919     *
19920     * @ingroup Slideshow
19921     */
19922    EAPI double              elm_slideshow_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19923
19924    /**
19925     * Set if, after a slideshow is started, for a given slideshow
19926     * widget, its items should be displayed cyclically or not.
19927     *
19928     * @param obj The slideshow object
19929     * @param loop Use @c EINA_TRUE to make it cycle through items or
19930     * @c EINA_FALSE for it to stop at the end of @p obj's internal
19931     * list of items
19932     *
19933     * @note elm_slideshow_next() and elm_slideshow_previous() will @b
19934     * ignore what is set by this functions, i.e., they'll @b always
19935     * cycle through items. This affects only the "automatic"
19936     * slideshow, as set by elm_slideshow_timeout_set().
19937     *
19938     * @see elm_slideshow_loop_get()
19939     *
19940     * @ingroup Slideshow
19941     */
19942    EAPI void                elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop) EINA_ARG_NONNULL(1);
19943
19944    /**
19945     * Get if, after a slideshow is started, for a given slideshow
19946     * widget, its items are to be displayed cyclically or not.
19947     *
19948     * @param obj The slideshow object
19949     * @return @c EINA_TRUE, if the items in @p obj will be cycled
19950     * through or @c EINA_FALSE, otherwise
19951     *
19952     * @see elm_slideshow_loop_set() for more details
19953     *
19954     * @ingroup Slideshow
19955     */
19956    EAPI Eina_Bool           elm_slideshow_loop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19957
19958    /**
19959     * Remove all items from a given slideshow widget
19960     *
19961     * @param obj The slideshow object
19962     *
19963     * This removes (and deletes) all items in @p obj, leaving it
19964     * empty.
19965     *
19966     * @see elm_slideshow_item_del(), to remove just one item.
19967     *
19968     * @ingroup Slideshow
19969     */
19970    EAPI void                elm_slideshow_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
19971
19972    /**
19973     * Get the internal list of items in a given slideshow widget.
19974     *
19975     * @param obj The slideshow object
19976     * @return The list of items (#Elm_Slideshow_Item as data) or
19977     * @c NULL on errors.
19978     *
19979     * This list is @b not to be modified in any way and must not be
19980     * freed. Use the list members with functions like
19981     * elm_slideshow_item_del(), elm_slideshow_item_data_get().
19982     *
19983     * @warning This list is only valid until @p obj object's internal
19984     * items list is changed. It should be fetched again with another
19985     * call to this function when changes happen.
19986     *
19987     * @ingroup Slideshow
19988     */
19989    EAPI const Eina_List    *elm_slideshow_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19990
19991    /**
19992     * Delete a given item from a slideshow widget.
19993     *
19994     * @param item The slideshow item
19995     *
19996     * @ingroup Slideshow
19997     */
19998    EAPI void                elm_slideshow_item_del(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
19999
20000    /**
20001     * Return the data associated with a given slideshow item
20002     *
20003     * @param item The slideshow item
20004     * @return Returns the data associated to this item
20005     *
20006     * @ingroup Slideshow
20007     */
20008    EAPI void               *elm_slideshow_item_data_get(const Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
20009
20010    /**
20011     * Returns the currently displayed item, in a given slideshow widget
20012     *
20013     * @param obj The slideshow object
20014     * @return A handle to the item being displayed in @p obj or
20015     * @c NULL, if none is (and on errors)
20016     *
20017     * @ingroup Slideshow
20018     */
20019    EAPI Elm_Slideshow_Item *elm_slideshow_item_current_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20020
20021    /**
20022     * Get the real Evas object created to implement the view of a
20023     * given slideshow item
20024     *
20025     * @param item The slideshow item.
20026     * @return the Evas object implementing this item's view.
20027     *
20028     * This returns the actual Evas object used to implement the
20029     * specified slideshow item's view. This may be @c NULL, as it may
20030     * not have been created or may have been deleted, at any time, by
20031     * the slideshow. <b>Do not modify this object</b> (move, resize,
20032     * show, hide, etc.), as the slideshow is controlling it. This
20033     * function is for querying, emitting custom signals or hooking
20034     * lower level callbacks for events on that object. Do not delete
20035     * this object under any circumstances.
20036     *
20037     * @see elm_slideshow_item_data_get()
20038     *
20039     * @ingroup Slideshow
20040     */
20041    EAPI Evas_Object*        elm_slideshow_item_object_get(const Elm_Slideshow_Item* item) EINA_ARG_NONNULL(1);
20042
20043    /**
20044     * Get the the item, in a given slideshow widget, placed at
20045     * position @p nth, in its internal items list
20046     *
20047     * @param obj The slideshow object
20048     * @param nth The number of the item to grab a handle to (0 being
20049     * the first)
20050     * @return The item stored in @p obj at position @p nth or @c NULL,
20051     * if there's no item with that index (and on errors)
20052     *
20053     * @ingroup Slideshow
20054     */
20055    EAPI Elm_Slideshow_Item *elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth) EINA_ARG_NONNULL(1);
20056
20057    /**
20058     * Set the current slide layout in use for a given slideshow widget
20059     *
20060     * @param obj The slideshow object
20061     * @param layout The new layout's name string
20062     *
20063     * If @p layout is implemented in @p obj's theme (i.e., is contained
20064     * in the list returned by elm_slideshow_layouts_get()), this new
20065     * images layout will be used on the widget.
20066     *
20067     * @see elm_slideshow_layouts_get() for more details
20068     *
20069     * @ingroup Slideshow
20070     */
20071    EAPI void                elm_slideshow_layout_set(Evas_Object *obj, const char *layout) EINA_ARG_NONNULL(1);
20072
20073    /**
20074     * Get the current slide layout in use for a given slideshow widget
20075     *
20076     * @param obj The slideshow object
20077     * @return The current layout's name
20078     *
20079     * @see elm_slideshow_layout_set() for more details
20080     *
20081     * @ingroup Slideshow
20082     */
20083    EAPI const char         *elm_slideshow_layout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20084
20085    /**
20086     * Returns the list of @b layout names available, for a given
20087     * slideshow widget.
20088     *
20089     * @param obj The slideshow object
20090     * @return The list of layouts (list of @b stringshared strings
20091     * as data)
20092     *
20093     * Slideshow layouts will change how the widget is to dispose each
20094     * image item in its viewport, with regard to cropping, scaling,
20095     * etc.
20096     *
20097     * The layouts, which come from @p obj's theme, must be an EDC
20098     * data item name @c "layouts" on the theme file, with (prefix)
20099     * names of EDC programs actually implementing them.
20100     *
20101     * The available layouts for slideshows on the default theme are:
20102     * - @c "fullscreen" - item images with original aspect, scaled to
20103     *   touch top and down slideshow borders or, if the image's heigh
20104     *   is not enough, left and right slideshow borders.
20105     * - @c "not_fullscreen" - the same behavior as the @c "fullscreen"
20106     *   one, but always leaving 10% of the slideshow's dimensions of
20107     *   distance between the item image's borders and the slideshow
20108     *   borders, for each axis.
20109     *
20110     * @warning The stringshared strings get no new references
20111     * exclusive to the user grabbing the list, here, so if you'd like
20112     * to use them out of this call's context, you'd better @c
20113     * eina_stringshare_ref() them.
20114     *
20115     * @see elm_slideshow_layout_set()
20116     *
20117     * @ingroup Slideshow
20118     */
20119    EAPI const Eina_List    *elm_slideshow_layouts_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20120
20121    /**
20122     * Set the number of items to cache, on a given slideshow widget,
20123     * <b>before the current item</b>
20124     *
20125     * @param obj The slideshow object
20126     * @param count Number of items to cache before the current one
20127     *
20128     * The default value for this property is @c 2. See
20129     * @ref Slideshow_Caching "slideshow caching" for more details.
20130     *
20131     * @see elm_slideshow_cache_before_get()
20132     *
20133     * @ingroup Slideshow
20134     */
20135    EAPI void                elm_slideshow_cache_before_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
20136
20137    /**
20138     * Retrieve the number of items to cache, on a given slideshow widget,
20139     * <b>before the current item</b>
20140     *
20141     * @param obj The slideshow object
20142     * @return The number of items set to be cached before the current one
20143     *
20144     * @see elm_slideshow_cache_before_set() for more details
20145     *
20146     * @ingroup Slideshow
20147     */
20148    EAPI int                 elm_slideshow_cache_before_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20149
20150    /**
20151     * Set the number of items to cache, on a given slideshow widget,
20152     * <b>after the current item</b>
20153     *
20154     * @param obj The slideshow object
20155     * @param count Number of items to cache after the current one
20156     *
20157     * The default value for this property is @c 2. See
20158     * @ref Slideshow_Caching "slideshow caching" for more details.
20159     *
20160     * @see elm_slideshow_cache_after_get()
20161     *
20162     * @ingroup Slideshow
20163     */
20164    EAPI void                elm_slideshow_cache_after_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
20165
20166    /**
20167     * Retrieve the number of items to cache, on a given slideshow widget,
20168     * <b>after the current item</b>
20169     *
20170     * @param obj The slideshow object
20171     * @return The number of items set to be cached after the current one
20172     *
20173     * @see elm_slideshow_cache_after_set() for more details
20174     *
20175     * @ingroup Slideshow
20176     */
20177    EAPI int                 elm_slideshow_cache_after_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20178
20179    /**
20180     * Get the number of items stored in a given slideshow widget
20181     *
20182     * @param obj The slideshow object
20183     * @return The number of items on @p obj, at the moment of this call
20184     *
20185     * @ingroup Slideshow
20186     */
20187    EAPI unsigned int        elm_slideshow_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20188
20189    /**
20190     * @}
20191     */
20192
20193    /**
20194     * @defgroup Fileselector File Selector
20195     *
20196     * @image html img/widget/fileselector/preview-00.png
20197     * @image latex img/widget/fileselector/preview-00.eps
20198     *
20199     * A file selector is a widget that allows a user to navigate
20200     * through a file system, reporting file selections back via its
20201     * API.
20202     *
20203     * It contains shortcut buttons for home directory (@c ~) and to
20204     * jump one directory upwards (..), as well as cancel/ok buttons to
20205     * confirm/cancel a given selection. After either one of those two
20206     * former actions, the file selector will issue its @c "done" smart
20207     * callback.
20208     *
20209     * There's a text entry on it, too, showing the name of the current
20210     * selection. There's the possibility of making it editable, so it
20211     * is useful on file saving dialogs on applications, where one
20212     * gives a file name to save contents to, in a given directory in
20213     * the system. This custom file name will be reported on the @c
20214     * "done" smart callback (explained in sequence).
20215     *
20216     * Finally, it has a view to display file system items into in two
20217     * possible forms:
20218     * - list
20219     * - grid
20220     *
20221     * If Elementary is built with support of the Ethumb thumbnailing
20222     * library, the second form of view will display preview thumbnails
20223     * of files which it supports.
20224     *
20225     * Smart callbacks one can register to:
20226     *
20227     * - @c "selected" - the user has clicked on a file (when not in
20228     *      folders-only mode) or directory (when in folders-only mode)
20229     * - @c "directory,open" - the list has been populated with new
20230     *      content (@c event_info is a pointer to the directory's
20231     *      path, a @b stringshared string)
20232     * - @c "done" - the user has clicked on the "ok" or "cancel"
20233     *      buttons (@c event_info is a pointer to the selection's
20234     *      path, a @b stringshared string)
20235     *
20236     * Here is an example on its usage:
20237     * @li @ref fileselector_example
20238     */
20239
20240    /**
20241     * @addtogroup Fileselector
20242     * @{
20243     */
20244
20245    /**
20246     * Defines how a file selector widget is to layout its contents
20247     * (file system entries).
20248     */
20249    typedef enum _Elm_Fileselector_Mode
20250      {
20251         ELM_FILESELECTOR_LIST = 0, /**< layout as a list */
20252         ELM_FILESELECTOR_GRID, /**< layout as a grid */
20253         ELM_FILESELECTOR_LAST /**< sentinel (helper) value, not used */
20254      } Elm_Fileselector_Mode;
20255
20256    /**
20257     * Add a new file selector widget to the given parent Elementary
20258     * (container) object
20259     *
20260     * @param parent The parent object
20261     * @return a new file selector widget handle or @c NULL, on errors
20262     *
20263     * This function inserts a new file selector widget on the canvas.
20264     *
20265     * @ingroup Fileselector
20266     */
20267    EAPI Evas_Object          *elm_fileselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20268
20269    /**
20270     * Enable/disable the file name entry box where the user can type
20271     * in a name for a file, in a given file selector widget
20272     *
20273     * @param obj The file selector object
20274     * @param is_save @c EINA_TRUE to make the file selector a "saving
20275     * dialog", @c EINA_FALSE otherwise
20276     *
20277     * Having the entry editable is useful on file saving dialogs on
20278     * applications, where one gives a file name to save contents to,
20279     * in a given directory in the system. This custom file name will
20280     * be reported on the @c "done" smart callback.
20281     *
20282     * @see elm_fileselector_is_save_get()
20283     *
20284     * @ingroup Fileselector
20285     */
20286    EAPI void                  elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save) EINA_ARG_NONNULL(1);
20287
20288    /**
20289     * Get whether the given file selector is in "saving dialog" mode
20290     *
20291     * @param obj The file selector object
20292     * @return @c EINA_TRUE, if the file selector is in "saving dialog"
20293     * mode, @c EINA_FALSE otherwise (and on errors)
20294     *
20295     * @see elm_fileselector_is_save_set() for more details
20296     *
20297     * @ingroup Fileselector
20298     */
20299    EAPI Eina_Bool             elm_fileselector_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20300
20301    /**
20302     * Enable/disable folder-only view for a given file selector widget
20303     *
20304     * @param obj The file selector object
20305     * @param only @c EINA_TRUE to make @p obj only display
20306     * directories, @c EINA_FALSE to make files to be displayed in it
20307     * too
20308     *
20309     * If enabled, the widget's view will only display folder items,
20310     * naturally.
20311     *
20312     * @see elm_fileselector_folder_only_get()
20313     *
20314     * @ingroup Fileselector
20315     */
20316    EAPI void                  elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only) EINA_ARG_NONNULL(1);
20317
20318    /**
20319     * Get whether folder-only view is set for a given file selector
20320     * widget
20321     *
20322     * @param obj The file selector object
20323     * @return only @c EINA_TRUE if @p obj is only displaying
20324     * directories, @c EINA_FALSE if files are being displayed in it
20325     * too (and on errors)
20326     *
20327     * @see elm_fileselector_folder_only_get()
20328     *
20329     * @ingroup Fileselector
20330     */
20331    EAPI Eina_Bool             elm_fileselector_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20332
20333    /**
20334     * Enable/disable the "ok" and "cancel" buttons on a given file
20335     * selector widget
20336     *
20337     * @param obj The file selector object
20338     * @param only @c EINA_TRUE to show them, @c EINA_FALSE to hide.
20339     *
20340     * @note A file selector without those buttons will never emit the
20341     * @c "done" smart event, and is only usable if one is just hooking
20342     * to the other two events.
20343     *
20344     * @see elm_fileselector_buttons_ok_cancel_get()
20345     *
20346     * @ingroup Fileselector
20347     */
20348    EAPI void                  elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons) EINA_ARG_NONNULL(1);
20349
20350    /**
20351     * Get whether the "ok" and "cancel" buttons on a given file
20352     * selector widget are being shown.
20353     *
20354     * @param obj The file selector object
20355     * @return @c EINA_TRUE if they are being shown, @c EINA_FALSE
20356     * otherwise (and on errors)
20357     *
20358     * @see elm_fileselector_buttons_ok_cancel_set() for more details
20359     *
20360     * @ingroup Fileselector
20361     */
20362    EAPI Eina_Bool             elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20363
20364    /**
20365     * Enable/disable a tree view in the given file selector widget,
20366     * <b>if it's in @c #ELM_FILESELECTOR_LIST mode</b>
20367     *
20368     * @param obj The file selector object
20369     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
20370     * disable
20371     *
20372     * In a tree view, arrows are created on the sides of directories,
20373     * allowing them to expand in place.
20374     *
20375     * @note If it's in other mode, the changes made by this function
20376     * will only be visible when one switches back to "list" mode.
20377     *
20378     * @see elm_fileselector_expandable_get()
20379     *
20380     * @ingroup Fileselector
20381     */
20382    EAPI void                  elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand) EINA_ARG_NONNULL(1);
20383
20384    /**
20385     * Get whether tree view is enabled for the given file selector
20386     * widget
20387     *
20388     * @param obj The file selector object
20389     * @return @c EINA_TRUE if @p obj is in tree view, @c EINA_FALSE
20390     * otherwise (and or errors)
20391     *
20392     * @see elm_fileselector_expandable_set() for more details
20393     *
20394     * @ingroup Fileselector
20395     */
20396    EAPI Eina_Bool             elm_fileselector_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20397
20398    /**
20399     * Set, programmatically, the @b directory that a given file
20400     * selector widget will display contents from
20401     *
20402     * @param obj The file selector object
20403     * @param path The path to display in @p obj
20404     *
20405     * This will change the @b directory that @p obj is displaying. It
20406     * will also clear the text entry area on the @p obj object, which
20407     * displays select files' names.
20408     *
20409     * @see elm_fileselector_path_get()
20410     *
20411     * @ingroup Fileselector
20412     */
20413    EAPI void                  elm_fileselector_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
20414
20415    /**
20416     * Get the parent directory's path that a given file selector
20417     * widget is displaying
20418     *
20419     * @param obj The file selector object
20420     * @return The (full) path of the directory the file selector is
20421     * displaying, a @b stringshared string
20422     *
20423     * @see elm_fileselector_path_set()
20424     *
20425     * @ingroup Fileselector
20426     */
20427    EAPI const char           *elm_fileselector_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20428
20429    /**
20430     * Set, programmatically, the currently selected file/directory in
20431     * the given file selector widget
20432     *
20433     * @param obj The file selector object
20434     * @param path The (full) path to a file or directory
20435     * @return @c EINA_TRUE on success, @c EINA_FALSE on failure. The
20436     * latter case occurs if the directory or file pointed to do not
20437     * exist.
20438     *
20439     * @see elm_fileselector_selected_get()
20440     *
20441     * @ingroup Fileselector
20442     */
20443    EAPI Eina_Bool             elm_fileselector_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
20444
20445    /**
20446     * Get the currently selected item's (full) path, in the given file
20447     * selector widget
20448     *
20449     * @param obj The file selector object
20450     * @return The absolute path of the selected item, a @b
20451     * stringshared string
20452     *
20453     * @note Custom editions on @p obj object's text entry, if made,
20454     * will appear on the return string of this function, naturally.
20455     *
20456     * @see elm_fileselector_selected_set() for more details
20457     *
20458     * @ingroup Fileselector
20459     */
20460    EAPI const char           *elm_fileselector_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20461
20462    /**
20463     * Set the mode in which a given file selector widget will display
20464     * (layout) file system entries in its view
20465     *
20466     * @param obj The file selector object
20467     * @param mode The mode of the fileselector, being it one of
20468     * #ELM_FILESELECTOR_LIST (default) or #ELM_FILESELECTOR_GRID. The
20469     * first one, naturally, will display the files in a list. The
20470     * latter will make the widget to display its entries in a grid
20471     * form.
20472     *
20473     * @note By using elm_fileselector_expandable_set(), the user may
20474     * trigger a tree view for that list.
20475     *
20476     * @note If Elementary is built with support of the Ethumb
20477     * thumbnailing library, the second form of view will display
20478     * preview thumbnails of files which it supports. You must have
20479     * elm_need_ethumb() called in your Elementary for thumbnailing to
20480     * work, though.
20481     *
20482     * @see elm_fileselector_expandable_set().
20483     * @see elm_fileselector_mode_get().
20484     *
20485     * @ingroup Fileselector
20486     */
20487    EAPI void                  elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode) EINA_ARG_NONNULL(1);
20488
20489    /**
20490     * Get the mode in which a given file selector widget is displaying
20491     * (layouting) file system entries in its view
20492     *
20493     * @param obj The fileselector object
20494     * @return The mode in which the fileselector is at
20495     *
20496     * @see elm_fileselector_mode_set() for more details
20497     *
20498     * @ingroup Fileselector
20499     */
20500    EAPI Elm_Fileselector_Mode elm_fileselector_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20501
20502    /**
20503     * @}
20504     */
20505
20506    /**
20507     * @defgroup Progressbar Progress bar
20508     *
20509     * The progress bar is a widget for visually representing the
20510     * progress status of a given job/task.
20511     *
20512     * A progress bar may be horizontal or vertical. It may display an
20513     * icon besides it, as well as primary and @b units labels. The
20514     * former is meant to label the widget as a whole, while the
20515     * latter, which is formatted with floating point values (and thus
20516     * accepts a <c>printf</c>-style format string, like <c>"%1.2f
20517     * units"</c>), is meant to label the widget's <b>progress
20518     * value</b>. Label, icon and unit strings/objects are @b optional
20519     * for progress bars.
20520     *
20521     * A progress bar may be @b inverted, in which state it gets its
20522     * values inverted, with high values being on the left or top and
20523     * low values on the right or bottom, as opposed to normally have
20524     * the low values on the former and high values on the latter,
20525     * respectively, for horizontal and vertical modes.
20526     *
20527     * The @b span of the progress, as set by
20528     * elm_progressbar_span_size_set(), is its length (horizontally or
20529     * vertically), unless one puts size hints on the widget to expand
20530     * on desired directions, by any container. That length will be
20531     * scaled by the object or applications scaling factor. At any
20532     * point code can query the progress bar for its value with
20533     * elm_progressbar_value_get().
20534     *
20535     * Available widget styles for progress bars:
20536     * - @c "default"
20537     * - @c "wheel" (simple style, no text, no progression, only
20538     *      "pulse" effect is available)
20539     *
20540     * Here is an example on its usage:
20541     * @li @ref progressbar_example
20542     */
20543
20544    /**
20545     * Add a new progress bar widget to the given parent Elementary
20546     * (container) object
20547     *
20548     * @param parent The parent object
20549     * @return a new progress bar widget handle or @c NULL, on errors
20550     *
20551     * This function inserts a new progress bar widget on the canvas.
20552     *
20553     * @ingroup Progressbar
20554     */
20555    EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20556
20557    /**
20558     * Set whether a given progress bar widget is at "pulsing mode" or
20559     * not.
20560     *
20561     * @param obj The progress bar object
20562     * @param pulse @c EINA_TRUE to put @p obj in pulsing mode,
20563     * @c EINA_FALSE to put it back to its default one
20564     *
20565     * By default, progress bars will display values from the low to
20566     * high value boundaries. There are, though, contexts in which the
20567     * state of progression of a given task is @b unknown.  For those,
20568     * one can set a progress bar widget to a "pulsing state", to give
20569     * the user an idea that some computation is being held, but
20570     * without exact progress values. In the default theme it will
20571     * animate its bar with the contents filling in constantly and back
20572     * to non-filled, in a loop. To start and stop this pulsing
20573     * animation, one has to explicitly call elm_progressbar_pulse().
20574     *
20575     * @see elm_progressbar_pulse_get()
20576     * @see elm_progressbar_pulse()
20577     *
20578     * @ingroup Progressbar
20579     */
20580    EAPI void         elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse) EINA_ARG_NONNULL(1);
20581
20582    /**
20583     * Get whether a given progress bar widget is at "pulsing mode" or
20584     * not.
20585     *
20586     * @param obj The progress bar object
20587     * @return @c EINA_TRUE, if @p obj is in pulsing mode, @c EINA_FALSE
20588     * if it's in the default one (and on errors)
20589     *
20590     * @ingroup Progressbar
20591     */
20592    EAPI Eina_Bool    elm_progressbar_pulse_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20593
20594    /**
20595     * Start/stop a given progress bar "pulsing" animation, if its
20596     * under that mode
20597     *
20598     * @param obj The progress bar object
20599     * @param state @c EINA_TRUE, to @b start the pulsing animation,
20600     * @c EINA_FALSE to @b stop it
20601     *
20602     * @note This call won't do anything if @p obj is not under "pulsing mode".
20603     *
20604     * @see elm_progressbar_pulse_set() for more details.
20605     *
20606     * @ingroup Progressbar
20607     */
20608    EAPI void         elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
20609
20610    /**
20611     * Set the progress value (in percentage) on a given progress bar
20612     * widget
20613     *
20614     * @param obj The progress bar object
20615     * @param val The progress value (@b must be between @c 0.0 and @c
20616     * 1.0)
20617     *
20618     * Use this call to set progress bar levels.
20619     *
20620     * @note If you passes a value out of the specified range for @p
20621     * val, it will be interpreted as the @b closest of the @b boundary
20622     * values in the range.
20623     *
20624     * @ingroup Progressbar
20625     */
20626    EAPI void         elm_progressbar_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
20627
20628    /**
20629     * Get the progress value (in percentage) on a given progress bar
20630     * widget
20631     *
20632     * @param obj The progress bar object
20633     * @return The value of the progressbar
20634     *
20635     * @see elm_progressbar_value_set() for more details
20636     *
20637     * @ingroup Progressbar
20638     */
20639    EAPI double       elm_progressbar_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20640
20641    /**
20642     * Set the label of a given progress bar widget
20643     *
20644     * @param obj The progress bar object
20645     * @param label The text label string, in UTF-8
20646     *
20647     * @ingroup Progressbar
20648     * @deprecated use elm_object_text_set() instead.
20649     */
20650    EINA_DEPRECATED EAPI void         elm_progressbar_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
20651
20652    /**
20653     * Get the label of a given progress bar widget
20654     *
20655     * @param obj The progressbar object
20656     * @return The text label string, in UTF-8
20657     *
20658     * @ingroup Progressbar
20659     * @deprecated use elm_object_text_set() instead.
20660     */
20661    EINA_DEPRECATED EAPI const char  *elm_progressbar_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20662
20663    /**
20664     * Set the icon object of a given progress bar widget
20665     *
20666     * @param obj The progress bar object
20667     * @param icon The icon object
20668     *
20669     * Use this call to decorate @p obj with an icon next to it.
20670     *
20671     * @note Once the icon object is set, a previously set one will be
20672     * deleted. If you want to keep that old content object, use the
20673     * elm_progressbar_icon_unset() function.
20674     *
20675     * @see elm_progressbar_icon_get()
20676     *
20677     * @ingroup Progressbar
20678     */
20679    EAPI void         elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
20680
20681    /**
20682     * Retrieve the icon object set for a given progress bar widget
20683     *
20684     * @param obj The progress bar object
20685     * @return The icon object's handle, if @p obj had one set, or @c NULL,
20686     * otherwise (and on errors)
20687     *
20688     * @see elm_progressbar_icon_set() for more details
20689     *
20690     * @ingroup Progressbar
20691     */
20692    EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20693
20694    /**
20695     * Unset an icon set on a given progress bar widget
20696     *
20697     * @param obj The progress bar object
20698     * @return The icon object that was being used, if any was set, or
20699     * @c NULL, otherwise (and on errors)
20700     *
20701     * This call will unparent and return the icon object which was set
20702     * for this widget, previously, on success.
20703     *
20704     * @see elm_progressbar_icon_set() for more details
20705     *
20706     * @ingroup Progressbar
20707     */
20708    EAPI Evas_Object *elm_progressbar_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
20709
20710    /**
20711     * Set the (exact) length of the bar region of a given progress bar
20712     * widget
20713     *
20714     * @param obj The progress bar object
20715     * @param size The length of the progress bar's bar region
20716     *
20717     * This sets the minimum width (when in horizontal mode) or height
20718     * (when in vertical mode) of the actual bar area of the progress
20719     * bar @p obj. This in turn affects the object's minimum size. Use
20720     * this when you're not setting other size hints expanding on the
20721     * given direction (like weight and alignment hints) and you would
20722     * like it to have a specific size.
20723     *
20724     * @note Icon, label and unit text around @p obj will require their
20725     * own space, which will make @p obj to require more the @p size,
20726     * actually.
20727     *
20728     * @see elm_progressbar_span_size_get()
20729     *
20730     * @ingroup Progressbar
20731     */
20732    EAPI void         elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
20733
20734    /**
20735     * Get the length set for the bar region of a given progress bar
20736     * widget
20737     *
20738     * @param obj The progress bar object
20739     * @return The length of the progress bar's bar region
20740     *
20741     * If that size was not set previously, with
20742     * elm_progressbar_span_size_set(), this call will return @c 0.
20743     *
20744     * @ingroup Progressbar
20745     */
20746    EAPI Evas_Coord   elm_progressbar_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20747
20748    /**
20749     * Set the format string for a given progress bar widget's units
20750     * label
20751     *
20752     * @param obj The progress bar object
20753     * @param format The format string for @p obj's units label
20754     *
20755     * If @c NULL is passed on @p format, it will make @p obj's units
20756     * area to be hidden completely. If not, it'll set the <b>format
20757     * string</b> for the units label's @b text. The units label is
20758     * provided a floating point value, so the units text is up display
20759     * at most one floating point falue. Note that the units label is
20760     * optional. Use a format string such as "%1.2f meters" for
20761     * example.
20762     *
20763     * @note The default format string for a progress bar is an integer
20764     * percentage, as in @c "%.0f %%".
20765     *
20766     * @see elm_progressbar_unit_format_get()
20767     *
20768     * @ingroup Progressbar
20769     */
20770    EAPI void         elm_progressbar_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
20771
20772    /**
20773     * Retrieve the format string set for a given progress bar widget's
20774     * units label
20775     *
20776     * @param obj The progress bar object
20777     * @return The format set string for @p obj's units label or
20778     * @c NULL, if none was set (and on errors)
20779     *
20780     * @see elm_progressbar_unit_format_set() for more details
20781     *
20782     * @ingroup Progressbar
20783     */
20784    EAPI const char  *elm_progressbar_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20785
20786    /**
20787     * Set the orientation of a given progress bar widget
20788     *
20789     * @param obj The progress bar object
20790     * @param horizontal Use @c EINA_TRUE to make @p obj to be
20791     * @b horizontal, @c EINA_FALSE to make it @b vertical
20792     *
20793     * Use this function to change how your progress bar is to be
20794     * disposed: vertically or horizontally.
20795     *
20796     * @see elm_progressbar_horizontal_get()
20797     *
20798     * @ingroup Progressbar
20799     */
20800    EAPI void         elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
20801
20802    /**
20803     * Retrieve the orientation of a given progress bar widget
20804     *
20805     * @param obj The progress bar object
20806     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
20807     * @c EINA_FALSE if it's @b vertical (and on errors)
20808     *
20809     * @see elm_progressbar_horizontal_set() for more details
20810     *
20811     * @ingroup Progressbar
20812     */
20813    EAPI Eina_Bool    elm_progressbar_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20814
20815    /**
20816     * Invert a given progress bar widget's displaying values order
20817     *
20818     * @param obj The progress bar object
20819     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
20820     * @c EINA_FALSE to bring it back to default, non-inverted values.
20821     *
20822     * A progress bar may be @b inverted, in which state it gets its
20823     * values inverted, with high values being on the left or top and
20824     * low values on the right or bottom, as opposed to normally have
20825     * the low values on the former and high values on the latter,
20826     * respectively, for horizontal and vertical modes.
20827     *
20828     * @see elm_progressbar_inverted_get()
20829     *
20830     * @ingroup Progressbar
20831     */
20832    EAPI void         elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
20833
20834    /**
20835     * Get whether a given progress bar widget's displaying values are
20836     * inverted or not
20837     *
20838     * @param obj The progress bar object
20839     * @return @c EINA_TRUE, if @p obj has inverted values,
20840     * @c EINA_FALSE otherwise (and on errors)
20841     *
20842     * @see elm_progressbar_inverted_set() for more details
20843     *
20844     * @ingroup Progressbar
20845     */
20846    EAPI Eina_Bool    elm_progressbar_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20847
20848    /**
20849     * @defgroup Separator Separator
20850     *
20851     * @brief Separator is a very thin object used to separate other objects.
20852     *
20853     * A separator can be vertical or horizontal.
20854     *
20855     * @ref tutorial_separator is a good example of how to use a separator.
20856     * @{
20857     */
20858    /**
20859     * @brief Add a separator object to @p parent
20860     *
20861     * @param parent The parent object
20862     *
20863     * @return The separator object, or NULL upon failure
20864     */
20865    EAPI Evas_Object *elm_separator_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20866    /**
20867     * @brief Set the horizontal mode of a separator object
20868     *
20869     * @param obj The separator object
20870     * @param horizontal If true, the separator is horizontal
20871     */
20872    EAPI void         elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
20873    /**
20874     * @brief Get the horizontal mode of a separator object
20875     *
20876     * @param obj The separator object
20877     * @return If true, the separator is horizontal
20878     *
20879     * @see elm_separator_horizontal_set()
20880     */
20881    EAPI Eina_Bool    elm_separator_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20882    /**
20883     * @}
20884     */
20885
20886    /**
20887     * @defgroup Spinner Spinner
20888     * @ingroup Elementary
20889     *
20890     * @image html img/widget/spinner/preview-00.png
20891     * @image latex img/widget/spinner/preview-00.eps
20892     *
20893     * A spinner is a widget which allows the user to increase or decrease
20894     * numeric values using arrow buttons, or edit values directly, clicking
20895     * over it and typing the new value.
20896     *
20897     * By default the spinner will not wrap and has a label
20898     * of "%.0f" (just showing the integer value of the double).
20899     *
20900     * A spinner has a label that is formatted with floating
20901     * point values and thus accepts a printf-style format string, like
20902     * “%1.2f units”.
20903     *
20904     * It also allows specific values to be replaced by pre-defined labels.
20905     *
20906     * Smart callbacks one can register to:
20907     *
20908     * - "changed" - Whenever the spinner value is changed.
20909     * - "delay,changed" - A short time after the value is changed by the user.
20910     *    This will be called only when the user stops dragging for a very short
20911     *    period or when they release their finger/mouse, so it avoids possibly
20912     *    expensive reactions to the value change.
20913     *
20914     * Available styles for it:
20915     * - @c "default";
20916     * - @c "vertical": up/down buttons at the right side and text left aligned.
20917     *
20918     * Here is an example on its usage:
20919     * @ref spinner_example
20920     */
20921
20922    /**
20923     * @addtogroup Spinner
20924     * @{
20925     */
20926
20927    /**
20928     * Add a new spinner widget to the given parent Elementary
20929     * (container) object.
20930     *
20931     * @param parent The parent object.
20932     * @return a new spinner widget handle or @c NULL, on errors.
20933     *
20934     * This function inserts a new spinner widget on the canvas.
20935     *
20936     * @ingroup Spinner
20937     *
20938     */
20939    EAPI Evas_Object *elm_spinner_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20940
20941    /**
20942     * Set the format string of the displayed label.
20943     *
20944     * @param obj The spinner object.
20945     * @param fmt The format string for the label display.
20946     *
20947     * If @c NULL, this sets the format to "%.0f". If not it sets the format
20948     * string for the label text. The label text is provided a floating point
20949     * value, so the label text can display up to 1 floating point value.
20950     * Note that this is optional.
20951     *
20952     * Use a format string such as "%1.2f meters" for example, and it will
20953     * display values like: "3.14 meters" for a value equal to 3.14159.
20954     *
20955     * Default is "%0.f".
20956     *
20957     * @see elm_spinner_label_format_get()
20958     *
20959     * @ingroup Spinner
20960     */
20961    EAPI void         elm_spinner_label_format_set(Evas_Object *obj, const char *fmt) EINA_ARG_NONNULL(1);
20962
20963    /**
20964     * Get the label format of the spinner.
20965     *
20966     * @param obj The spinner object.
20967     * @return The text label format string in UTF-8.
20968     *
20969     * @see elm_spinner_label_format_set() for details.
20970     *
20971     * @ingroup Spinner
20972     */
20973    EAPI const char  *elm_spinner_label_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20974
20975    /**
20976     * Set the minimum and maximum values for the spinner.
20977     *
20978     * @param obj The spinner object.
20979     * @param min The minimum value.
20980     * @param max The maximum value.
20981     *
20982     * Define the allowed range of values to be selected by the user.
20983     *
20984     * If actual value is less than @p min, it will be updated to @p min. If it
20985     * is bigger then @p max, will be updated to @p max. Actual value can be
20986     * get with elm_spinner_value_get().
20987     *
20988     * By default, min is equal to 0, and max is equal to 100.
20989     *
20990     * @warning Maximum must be greater than minimum.
20991     *
20992     * @see elm_spinner_min_max_get()
20993     *
20994     * @ingroup Spinner
20995     */
20996    EAPI void         elm_spinner_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
20997
20998    /**
20999     * Get the minimum and maximum values of the spinner.
21000     *
21001     * @param obj The spinner object.
21002     * @param min Pointer where to store the minimum value.
21003     * @param max Pointer where to store the maximum value.
21004     *
21005     * @note If only one value is needed, the other pointer can be passed
21006     * as @c NULL.
21007     *
21008     * @see elm_spinner_min_max_set() for details.
21009     *
21010     * @ingroup Spinner
21011     */
21012    EAPI void         elm_spinner_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
21013
21014    /**
21015     * Set the step used to increment or decrement the spinner value.
21016     *
21017     * @param obj The spinner object.
21018     * @param step The step value.
21019     *
21020     * This value will be incremented or decremented to the displayed value.
21021     * It will be incremented while the user keep right or top arrow pressed,
21022     * and will be decremented while the user keep left or bottom arrow pressed.
21023     *
21024     * The interval to increment / decrement can be set with
21025     * elm_spinner_interval_set().
21026     *
21027     * By default step value is equal to 1.
21028     *
21029     * @see elm_spinner_step_get()
21030     *
21031     * @ingroup Spinner
21032     */
21033    EAPI void         elm_spinner_step_set(Evas_Object *obj, double step) EINA_ARG_NONNULL(1);
21034
21035    /**
21036     * Get the step used to increment or decrement the spinner value.
21037     *
21038     * @param obj The spinner object.
21039     * @return The step value.
21040     *
21041     * @see elm_spinner_step_get() for more details.
21042     *
21043     * @ingroup Spinner
21044     */
21045    EAPI double       elm_spinner_step_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21046
21047    /**
21048     * Set the value the spinner displays.
21049     *
21050     * @param obj The spinner object.
21051     * @param val The value to be displayed.
21052     *
21053     * Value will be presented on the label following format specified with
21054     * elm_spinner_format_set().
21055     *
21056     * @warning The value must to be between min and max values. This values
21057     * are set by elm_spinner_min_max_set().
21058     *
21059     * @see elm_spinner_value_get().
21060     * @see elm_spinner_format_set().
21061     * @see elm_spinner_min_max_set().
21062     *
21063     * @ingroup Spinner
21064     */
21065    EAPI void         elm_spinner_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
21066
21067    /**
21068     * Get the value displayed by the spinner.
21069     *
21070     * @param obj The spinner object.
21071     * @return The value displayed.
21072     *
21073     * @see elm_spinner_value_set() for details.
21074     *
21075     * @ingroup Spinner
21076     */
21077    EAPI double       elm_spinner_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21078
21079    /**
21080     * Set whether the spinner should wrap when it reaches its
21081     * minimum or maximum value.
21082     *
21083     * @param obj The spinner object.
21084     * @param wrap @c EINA_TRUE to enable wrap or @c EINA_FALSE to
21085     * disable it.
21086     *
21087     * Disabled by default. If disabled, when the user tries to increment the
21088     * value,
21089     * but displayed value plus step value is bigger than maximum value,
21090     * the spinner
21091     * won't allow it. The same happens when the user tries to decrement it,
21092     * but the value less step is less than minimum value.
21093     *
21094     * When wrap is enabled, in such situations it will allow these changes,
21095     * but will get the value that would be less than minimum and subtracts
21096     * from maximum. Or add the value that would be more than maximum to
21097     * the minimum.
21098     *
21099     * E.g.:
21100     * @li min value = 10
21101     * @li max value = 50
21102     * @li step value = 20
21103     * @li displayed value = 20
21104     *
21105     * When the user decrement value (using left or bottom arrow), it will
21106     * displays @c 40, because max - (min - (displayed - step)) is
21107     * @c 50 - (@c 10 - (@c 20 - @c 20)) = @c 40.
21108     *
21109     * @see elm_spinner_wrap_get().
21110     *
21111     * @ingroup Spinner
21112     */
21113    EAPI void         elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap) EINA_ARG_NONNULL(1);
21114
21115    /**
21116     * Get whether the spinner should wrap when it reaches its
21117     * minimum or maximum value.
21118     *
21119     * @param obj The spinner object
21120     * @return @c EINA_TRUE means wrap is enabled. @c EINA_FALSE indicates
21121     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
21122     *
21123     * @see elm_spinner_wrap_set() for details.
21124     *
21125     * @ingroup Spinner
21126     */
21127    EAPI Eina_Bool    elm_spinner_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21128
21129    /**
21130     * Set whether the spinner can be directly edited by the user or not.
21131     *
21132     * @param obj The spinner object.
21133     * @param editable @c EINA_TRUE to allow users to edit it or @c EINA_FALSE to
21134     * don't allow users to edit it directly.
21135     *
21136     * Spinner objects can have edition @b disabled, in which state they will
21137     * be changed only by arrows.
21138     * Useful for contexts
21139     * where you don't want your users to interact with it writting the value.
21140     * Specially
21141     * when using special values, the user can see real value instead
21142     * of special label on edition.
21143     *
21144     * It's enabled by default.
21145     *
21146     * @see elm_spinner_editable_get()
21147     *
21148     * @ingroup Spinner
21149     */
21150    EAPI void         elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
21151
21152    /**
21153     * Get whether the spinner can be directly edited by the user or not.
21154     *
21155     * @param obj The spinner object.
21156     * @return @c EINA_TRUE means edition is enabled. @c EINA_FALSE indicates
21157     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
21158     *
21159     * @see elm_spinner_editable_set() for details.
21160     *
21161     * @ingroup Spinner
21162     */
21163    EAPI Eina_Bool    elm_spinner_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21164
21165    /**
21166     * Set a special string to display in the place of the numerical value.
21167     *
21168     * @param obj The spinner object.
21169     * @param value The value to be replaced.
21170     * @param label The label to be used.
21171     *
21172     * It's useful for cases when a user should select an item that is
21173     * better indicated by a label than a value. For example, weekdays or months.
21174     *
21175     * E.g.:
21176     * @code
21177     * sp = elm_spinner_add(win);
21178     * elm_spinner_min_max_set(sp, 1, 3);
21179     * elm_spinner_special_value_add(sp, 1, "January");
21180     * elm_spinner_special_value_add(sp, 2, "February");
21181     * elm_spinner_special_value_add(sp, 3, "March");
21182     * evas_object_show(sp);
21183     * @endcode
21184     *
21185     * @ingroup Spinner
21186     */
21187    EAPI void         elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label) EINA_ARG_NONNULL(1);
21188
21189    /**
21190     * Set the interval on time updates for an user mouse button hold
21191     * on spinner widgets' arrows.
21192     *
21193     * @param obj The spinner object.
21194     * @param interval The (first) interval value in seconds.
21195     *
21196     * This interval value is @b decreased while the user holds the
21197     * mouse pointer either incrementing or decrementing spinner's value.
21198     *
21199     * This helps the user to get to a given value distant from the
21200     * current one easier/faster, as it will start to change quicker and
21201     * quicker on mouse button holds.
21202     *
21203     * The calculation for the next change interval value, starting from
21204     * the one set with this call, is the previous interval divided by
21205     * @c 1.05, so it decreases a little bit.
21206     *
21207     * The default starting interval value for automatic changes is
21208     * @c 0.85 seconds.
21209     *
21210     * @see elm_spinner_interval_get()
21211     *
21212     * @ingroup Spinner
21213     */
21214    EAPI void         elm_spinner_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
21215
21216    /**
21217     * Get the interval on time updates for an user mouse button hold
21218     * on spinner widgets' arrows.
21219     *
21220     * @param obj The spinner object.
21221     * @return The (first) interval value, in seconds, set on it.
21222     *
21223     * @see elm_spinner_interval_set() for more details.
21224     *
21225     * @ingroup Spinner
21226     */
21227    EAPI double       elm_spinner_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21228
21229    /**
21230     * @}
21231     */
21232
21233    /**
21234     * @defgroup Index Index
21235     *
21236     * @image html img/widget/index/preview-00.png
21237     * @image latex img/widget/index/preview-00.eps
21238     *
21239     * An index widget gives you an index for fast access to whichever
21240     * group of other UI items one might have. It's a list of text
21241     * items (usually letters, for alphabetically ordered access).
21242     *
21243     * Index widgets are by default hidden and just appear when the
21244     * user clicks over it's reserved area in the canvas. In its
21245     * default theme, it's an area one @ref Fingers "finger" wide on
21246     * the right side of the index widget's container.
21247     *
21248     * When items on the index are selected, smart callbacks get
21249     * called, so that its user can make other container objects to
21250     * show a given area or child object depending on the index item
21251     * selected. You'd probably be using an index together with @ref
21252     * List "lists", @ref Genlist "generic lists" or @ref Gengrid
21253     * "general grids".
21254     *
21255     * Smart events one  can add callbacks for are:
21256     * - @c "changed" - When the selected index item changes. @c
21257     *      event_info is the selected item's data pointer.
21258     * - @c "delay,changed" - When the selected index item changes, but
21259     *      after a small idling period. @c event_info is the selected
21260     *      item's data pointer.
21261     * - @c "selected" - When the user releases a mouse button and
21262     *      selects an item. @c event_info is the selected item's data
21263     *      pointer.
21264     * - @c "level,up" - when the user moves a finger from the first
21265     *      level to the second level
21266     * - @c "level,down" - when the user moves a finger from the second
21267     *      level to the first level
21268     *
21269     * The @c "delay,changed" event is so that it'll wait a small time
21270     * before actually reporting those events and, moreover, just the
21271     * last event happening on those time frames will actually be
21272     * reported.
21273     *
21274     * Here are some examples on its usage:
21275     * @li @ref index_example_01
21276     * @li @ref index_example_02
21277     */
21278
21279    /**
21280     * @addtogroup Index
21281     * @{
21282     */
21283
21284    typedef struct _Elm_Index_Item Elm_Index_Item; /**< Opaque handle for items of Elementary index widgets */
21285
21286    /**
21287     * Add a new index widget to the given parent Elementary
21288     * (container) object
21289     *
21290     * @param parent The parent object
21291     * @return a new index widget handle or @c NULL, on errors
21292     *
21293     * This function inserts a new index widget on the canvas.
21294     *
21295     * @ingroup Index
21296     */
21297    EAPI Evas_Object    *elm_index_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21298
21299    /**
21300     * Set whether a given index widget is or not visible,
21301     * programatically.
21302     *
21303     * @param obj The index object
21304     * @param active @c EINA_TRUE to show it, @c EINA_FALSE to hide it
21305     *
21306     * Not to be confused with visible as in @c evas_object_show() --
21307     * visible with regard to the widget's auto hiding feature.
21308     *
21309     * @see elm_index_active_get()
21310     *
21311     * @ingroup Index
21312     */
21313    EAPI void            elm_index_active_set(Evas_Object *obj, Eina_Bool active) EINA_ARG_NONNULL(1);
21314
21315    /**
21316     * Get whether a given index widget is currently visible or not.
21317     *
21318     * @param obj The index object
21319     * @return @c EINA_TRUE, if it's shown, @c EINA_FALSE otherwise
21320     *
21321     * @see elm_index_active_set() for more details
21322     *
21323     * @ingroup Index
21324     */
21325    EAPI Eina_Bool       elm_index_active_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21326
21327    /**
21328     * Set the items level for a given index widget.
21329     *
21330     * @param obj The index object.
21331     * @param level @c 0 or @c 1, the currently implemented levels.
21332     *
21333     * @see elm_index_item_level_get()
21334     *
21335     * @ingroup Index
21336     */
21337    EAPI void            elm_index_item_level_set(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
21338
21339    /**
21340     * Get the items level set for a given index widget.
21341     *
21342     * @param obj The index object.
21343     * @return @c 0 or @c 1, which are the levels @p obj might be at.
21344     *
21345     * @see elm_index_item_level_set() for more information
21346     *
21347     * @ingroup Index
21348     */
21349    EAPI int             elm_index_item_level_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21350
21351    /**
21352     * Returns the last selected item's data, for a given index widget.
21353     *
21354     * @param obj The index object.
21355     * @return The item @b data associated to the last selected item on
21356     * @p obj (or @c NULL, on errors).
21357     *
21358     * @warning The returned value is @b not an #Elm_Index_Item item
21359     * handle, but the data associated to it (see the @c item parameter
21360     * in elm_index_item_append(), as an example).
21361     *
21362     * @ingroup Index
21363     */
21364    EAPI void           *elm_index_item_selected_get(const Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
21365
21366    /**
21367     * Append a new item on a given index widget.
21368     *
21369     * @param obj The index object.
21370     * @param letter Letter under which the item should be indexed
21371     * @param item The item data to set for the index's item
21372     *
21373     * Despite the most common usage of the @p letter argument is for
21374     * single char strings, one could use arbitrary strings as index
21375     * entries.
21376     *
21377     * @c item will be the pointer returned back on @c "changed", @c
21378     * "delay,changed" and @c "selected" smart events.
21379     *
21380     * @ingroup Index
21381     */
21382    EAPI void            elm_index_item_append(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
21383
21384    /**
21385     * Prepend a new item on a given index widget.
21386     *
21387     * @param obj The index object.
21388     * @param letter Letter under which the item should be indexed
21389     * @param item The item data to set for the index's item
21390     *
21391     * Despite the most common usage of the @p letter argument is for
21392     * single char strings, one could use arbitrary strings as index
21393     * entries.
21394     *
21395     * @c item will be the pointer returned back on @c "changed", @c
21396     * "delay,changed" and @c "selected" smart events.
21397     *
21398     * @ingroup Index
21399     */
21400    EAPI void            elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
21401
21402    /**
21403     * Append a new item, on a given index widget, <b>after the item
21404     * having @p relative as data</b>.
21405     *
21406     * @param obj The index object.
21407     * @param letter Letter under which the item should be indexed
21408     * @param item The item data to set for the index's item
21409     * @param relative The item data of the index item to be the
21410     * predecessor of this new one
21411     *
21412     * Despite the most common usage of the @p letter argument is for
21413     * single char strings, one could use arbitrary strings as index
21414     * entries.
21415     *
21416     * @c item will be the pointer returned back on @c "changed", @c
21417     * "delay,changed" and @c "selected" smart events.
21418     *
21419     * @note If @p relative is @c NULL or if it's not found to be data
21420     * set on any previous item on @p obj, this function will behave as
21421     * elm_index_item_append().
21422     *
21423     * @ingroup Index
21424     */
21425    EAPI void            elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
21426
21427    /**
21428     * Prepend a new item, on a given index widget, <b>after the item
21429     * having @p relative as data</b>.
21430     *
21431     * @param obj The index object.
21432     * @param letter Letter under which the item should be indexed
21433     * @param item The item data to set for the index's item
21434     * @param relative The item data of the index item to be the
21435     * successor of this new one
21436     *
21437     * Despite the most common usage of the @p letter argument is for
21438     * single char strings, one could use arbitrary strings as index
21439     * entries.
21440     *
21441     * @c item will be the pointer returned back on @c "changed", @c
21442     * "delay,changed" and @c "selected" smart events.
21443     *
21444     * @note If @p relative is @c NULL or if it's not found to be data
21445     * set on any previous item on @p obj, this function will behave as
21446     * elm_index_item_prepend().
21447     *
21448     * @ingroup Index
21449     */
21450    EAPI void            elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
21451
21452    /**
21453     * Insert a new item into the given index widget, using @p cmp_func
21454     * function to sort items (by item handles).
21455     *
21456     * @param obj The index object.
21457     * @param letter Letter under which the item should be indexed
21458     * @param item The item data to set for the index's item
21459     * @param cmp_func The comparing function to be used to sort index
21460     * items <b>by #Elm_Index_Item item handles</b>
21461     * @param cmp_data_func A @b fallback function to be called for the
21462     * sorting of index items <b>by item data</b>). It will be used
21463     * when @p cmp_func returns @c 0 (equality), which means an index
21464     * item with provided item data already exists. To decide which
21465     * data item should be pointed to by the index item in question, @p
21466     * cmp_data_func will be used. If @p cmp_data_func returns a
21467     * non-negative value, the previous index item data will be
21468     * replaced by the given @p item pointer. If the previous data need
21469     * to be freed, it should be done by the @p cmp_data_func function,
21470     * because all references to it will be lost. If this function is
21471     * not provided (@c NULL is given), index items will be @b
21472     * duplicated, if @p cmp_func returns @c 0.
21473     *
21474     * Despite the most common usage of the @p letter argument is for
21475     * single char strings, one could use arbitrary strings as index
21476     * entries.
21477     *
21478     * @c item will be the pointer returned back on @c "changed", @c
21479     * "delay,changed" and @c "selected" smart events.
21480     *
21481     * @ingroup Index
21482     */
21483    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);
21484
21485    /**
21486     * Remove an item from a given index widget, <b>to be referenced by
21487     * it's data value</b>.
21488     *
21489     * @param obj The index object
21490     * @param item The item's data pointer for the item to be removed
21491     * from @p obj
21492     *
21493     * If a deletion callback is set, via elm_index_item_del_cb_set(),
21494     * that callback function will be called by this one.
21495     *
21496     * @warning The item to be removed from @p obj will be found via
21497     * its item data pointer, and not by an #Elm_Index_Item handle.
21498     *
21499     * @ingroup Index
21500     */
21501    EAPI void            elm_index_item_del(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
21502
21503    /**
21504     * Find a given index widget's item, <b>using item data</b>.
21505     *
21506     * @param obj The index object
21507     * @param item The item data pointed to by the desired index item
21508     * @return The index item handle, if found, or @c NULL otherwise
21509     *
21510     * @ingroup Index
21511     */
21512    EAPI Elm_Index_Item *elm_index_item_find(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
21513
21514    /**
21515     * Removes @b all items from a given index widget.
21516     *
21517     * @param obj The index object.
21518     *
21519     * If deletion callbacks are set, via elm_index_item_del_cb_set(),
21520     * that callback function will be called for each item in @p obj.
21521     *
21522     * @ingroup Index
21523     */
21524    EAPI void            elm_index_item_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
21525
21526    /**
21527     * Go to a given items level on a index widget
21528     *
21529     * @param obj The index object
21530     * @param level The index level (one of @c 0 or @c 1)
21531     *
21532     * @ingroup Index
21533     */
21534    EAPI void            elm_index_item_go(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
21535
21536    /**
21537     * Return the data associated with a given index widget item
21538     *
21539     * @param it The index widget item handle
21540     * @return The data associated with @p it
21541     *
21542     * @see elm_index_item_data_set()
21543     *
21544     * @ingroup Index
21545     */
21546    EAPI void           *elm_index_item_data_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
21547
21548    /**
21549     * Set the data associated with a given index widget item
21550     *
21551     * @param it The index widget item handle
21552     * @param data The new data pointer to set to @p it
21553     *
21554     * This sets new item data on @p it.
21555     *
21556     * @warning The old data pointer won't be touched by this function, so
21557     * the user had better to free that old data himself/herself.
21558     *
21559     * @ingroup Index
21560     */
21561    EAPI void            elm_index_item_data_set(Elm_Index_Item *it, const void *data) EINA_ARG_NONNULL(1);
21562
21563    /**
21564     * Set the function to be called when a given index widget item is freed.
21565     *
21566     * @param it The item to set the callback on
21567     * @param func The function to call on the item's deletion
21568     *
21569     * When called, @p func will have both @c data and @c event_info
21570     * arguments with the @p it item's data value and, naturally, the
21571     * @c obj argument with a handle to the parent index widget.
21572     *
21573     * @ingroup Index
21574     */
21575    EAPI void            elm_index_item_del_cb_set(Elm_Index_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
21576
21577    /**
21578     * Get the letter (string) set on a given index widget item.
21579     *
21580     * @param it The index item handle
21581     * @return The letter string set on @p it
21582     *
21583     * @ingroup Index
21584     */
21585    EAPI const char     *elm_index_item_letter_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
21586
21587    /**
21588     * @}
21589     */
21590
21591    /**
21592     * @defgroup Photocam Photocam
21593     *
21594     * @image html img/widget/photocam/preview-00.png
21595     * @image latex img/widget/photocam/preview-00.eps
21596     *
21597     * This is a widget specifically for displaying high-resolution digital
21598     * camera photos giving speedy feedback (fast load), low memory footprint
21599     * and zooming and panning as well as fitting logic. It is entirely focused
21600     * on jpeg images, and takes advantage of properties of the jpeg format (via
21601     * evas loader features in the jpeg loader).
21602     *
21603     * Signals that you can add callbacks for are:
21604     * @li "clicked" - This is called when a user has clicked the photo without
21605     *                 dragging around.
21606     * @li "press" - This is called when a user has pressed down on the photo.
21607     * @li "longpressed" - This is called when a user has pressed down on the
21608     *                     photo for a long time without dragging around.
21609     * @li "clicked,double" - This is called when a user has double-clicked the
21610     *                        photo.
21611     * @li "load" - Photo load begins.
21612     * @li "loaded" - This is called when the image file load is complete for the
21613     *                first view (low resolution blurry version).
21614     * @li "load,detail" - Photo detailed data load begins.
21615     * @li "loaded,detail" - This is called when the image file load is complete
21616     *                      for the detailed image data (full resolution needed).
21617     * @li "zoom,start" - Zoom animation started.
21618     * @li "zoom,stop" - Zoom animation stopped.
21619     * @li "zoom,change" - Zoom changed when using an auto zoom mode.
21620     * @li "scroll" - the content has been scrolled (moved)
21621     * @li "scroll,anim,start" - scrolling animation has started
21622     * @li "scroll,anim,stop" - scrolling animation has stopped
21623     * @li "scroll,drag,start" - dragging the contents around has started
21624     * @li "scroll,drag,stop" - dragging the contents around has stopped
21625     *
21626     * @ref tutorial_photocam shows the API in action.
21627     * @{
21628     */
21629    /**
21630     * @brief Types of zoom available.
21631     */
21632    typedef enum _Elm_Photocam_Zoom_Mode
21633      {
21634         ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0, /**< Zoom controled normally by elm_photocam_zoom_set */
21635         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT, /**< Zoom until photo fits in photocam */
21636         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL, /**< Zoom until photo fills photocam */
21637         ELM_PHOTOCAM_ZOOM_MODE_LAST
21638      } Elm_Photocam_Zoom_Mode;
21639    /**
21640     * @brief Add a new Photocam object
21641     *
21642     * @param parent The parent object
21643     * @return The new object or NULL if it cannot be created
21644     */
21645    EAPI Evas_Object           *elm_photocam_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21646    /**
21647     * @brief Set the photo file to be shown
21648     *
21649     * @param obj The photocam object
21650     * @param file The photo file
21651     * @return The return error (see EVAS_LOAD_ERROR_NONE, EVAS_LOAD_ERROR_GENERIC etc.)
21652     *
21653     * This sets (and shows) the specified file (with a relative or absolute
21654     * path) and will return a load error (same error that
21655     * evas_object_image_load_error_get() will return). The image will change and
21656     * adjust its size at this point and begin a background load process for this
21657     * photo that at some time in the future will be displayed at the full
21658     * quality needed.
21659     */
21660    EAPI Evas_Load_Error        elm_photocam_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
21661    /**
21662     * @brief Returns the path of the current image file
21663     *
21664     * @param obj The photocam object
21665     * @return Returns the path
21666     *
21667     * @see elm_photocam_file_set()
21668     */
21669    EAPI const char            *elm_photocam_file_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21670    /**
21671     * @brief Set the zoom level of the photo
21672     *
21673     * @param obj The photocam object
21674     * @param zoom The zoom level to set
21675     *
21676     * This sets the zoom level. 1 will be 1:1 pixel for pixel. 2 will be 2:1
21677     * (that is 2x2 photo pixels will display as 1 on-screen pixel). 4:1 will be
21678     * 4x4 photo pixels as 1 screen pixel, and so on. The @p zoom parameter must
21679     * be greater than 0. It is usggested to stick to powers of 2. (1, 2, 4, 8,
21680     * 16, 32, etc.).
21681     */
21682    EAPI void                   elm_photocam_zoom_set(Evas_Object *obj, double zoom) EINA_ARG_NONNULL(1);
21683    /**
21684     * @brief Get the zoom level of the photo
21685     *
21686     * @param obj The photocam object
21687     * @return The current zoom level
21688     *
21689     * This returns the current zoom level of the photocam object. Note that if
21690     * you set the fill mode to other than ELM_PHOTOCAM_ZOOM_MODE_MANUAL
21691     * (which is the default), the zoom level may be changed at any time by the
21692     * photocam object itself to account for photo size and photocam viewpoer
21693     * size.
21694     *
21695     * @see elm_photocam_zoom_set()
21696     * @see elm_photocam_zoom_mode_set()
21697     */
21698    EAPI double                 elm_photocam_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21699    /**
21700     * @brief Set the zoom mode
21701     *
21702     * @param obj The photocam object
21703     * @param mode The desired mode
21704     *
21705     * This sets the zoom mode to manual or one of several automatic levels.
21706     * Manual (ELM_PHOTOCAM_ZOOM_MODE_MANUAL) means that zoom is set manually by
21707     * elm_photocam_zoom_set() and will stay at that level until changed by code
21708     * or until zoom mode is changed. This is the default mode. The Automatic
21709     * modes will allow the photocam object to automatically adjust zoom mode
21710     * based on properties. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT) will adjust zoom so
21711     * the photo fits EXACTLY inside the scroll frame with no pixels outside this
21712     * area. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL will be similar but ensure no
21713     * pixels within the frame are left unfilled.
21714     */
21715    EAPI void                   elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode) EINA_ARG_NONNULL(1);
21716    /**
21717     * @brief Get the zoom mode
21718     *
21719     * @param obj The photocam object
21720     * @return The current zoom mode
21721     *
21722     * This gets the current zoom mode of the photocam object.
21723     *
21724     * @see elm_photocam_zoom_mode_set()
21725     */
21726    EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21727    /**
21728     * @brief Get the current image pixel width and height
21729     *
21730     * @param obj The photocam object
21731     * @param w A pointer to the width return
21732     * @param h A pointer to the height return
21733     *
21734     * This gets the current photo pixel width and height (for the original).
21735     * The size will be returned in the integers @p w and @p h that are pointed
21736     * to.
21737     */
21738    EAPI void                   elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
21739    /**
21740     * @brief Get the area of the image that is currently shown
21741     *
21742     * @param obj
21743     * @param x A pointer to the X-coordinate of region
21744     * @param y A pointer to the Y-coordinate of region
21745     * @param w A pointer to the width
21746     * @param h A pointer to the height
21747     *
21748     * @see elm_photocam_image_region_show()
21749     * @see elm_photocam_image_region_bring_in()
21750     */
21751    EAPI void                   elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
21752    /**
21753     * @brief Set the viewed portion of the image
21754     *
21755     * @param obj The photocam object
21756     * @param x X-coordinate of region in image original pixels
21757     * @param y Y-coordinate of region in image original pixels
21758     * @param w Width of region in image original pixels
21759     * @param h Height of region in image original pixels
21760     *
21761     * This shows the region of the image without using animation.
21762     */
21763    EAPI void                   elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
21764    /**
21765     * @brief Bring in the viewed portion of the image
21766     *
21767     * @param obj The photocam object
21768     * @param x X-coordinate of region in image original pixels
21769     * @param y Y-coordinate of region in image original pixels
21770     * @param w Width of region in image original pixels
21771     * @param h Height of region in image original pixels
21772     *
21773     * This shows the region of the image using animation.
21774     */
21775    EAPI void                   elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
21776    /**
21777     * @brief Set the paused state for photocam
21778     *
21779     * @param obj The photocam object
21780     * @param paused The pause state to set
21781     *
21782     * This sets the paused state to on(EINA_TRUE) or off (EINA_FALSE) for
21783     * photocam. The default is off. This will stop zooming using animation on
21784     * zoom levels changes and change instantly. This will stop any existing
21785     * animations that are running.
21786     */
21787    EAPI void                   elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
21788    /**
21789     * @brief Get the paused state for photocam
21790     *
21791     * @param obj The photocam object
21792     * @return The current paused state
21793     *
21794     * This gets the current paused state for the photocam object.
21795     *
21796     * @see elm_photocam_paused_set()
21797     */
21798    EAPI Eina_Bool              elm_photocam_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21799    /**
21800     * @brief Get the internal low-res image used for photocam
21801     *
21802     * @param obj The photocam object
21803     * @return The internal image object handle, or NULL if none exists
21804     *
21805     * This gets the internal image object inside photocam. Do not modify it. It
21806     * is for inspection only, and hooking callbacks to. Nothing else. It may be
21807     * deleted at any time as well.
21808     */
21809    EAPI Evas_Object           *elm_photocam_internal_image_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21810    /**
21811     * @brief Set the photocam scrolling bouncing.
21812     *
21813     * @param obj The photocam object
21814     * @param h_bounce bouncing for horizontal
21815     * @param v_bounce bouncing for vertical
21816     */
21817    EAPI void                   elm_photocam_bounce_set(Evas_Object *obj,  Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
21818    /**
21819     * @brief Get the photocam scrolling bouncing.
21820     *
21821     * @param obj The photocam object
21822     * @param h_bounce bouncing for horizontal
21823     * @param v_bounce bouncing for vertical
21824     *
21825     * @see elm_photocam_bounce_set()
21826     */
21827    EAPI void                   elm_photocam_bounce_get(const Evas_Object *obj,  Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
21828    /**
21829     * @}
21830     */
21831
21832    /**
21833     * @defgroup Map Map
21834     * @ingroup Elementary
21835     *
21836     * @image html img/widget/map/preview-00.png
21837     * @image latex img/widget/map/preview-00.eps
21838     *
21839     * This is a widget specifically for displaying a map. It uses basically
21840     * OpenStreetMap provider http://www.openstreetmap.org/,
21841     * but custom providers can be added.
21842     *
21843     * It supports some basic but yet nice features:
21844     * @li zoom and scroll
21845     * @li markers with content to be displayed when user clicks over it
21846     * @li group of markers
21847     * @li routes
21848     *
21849     * Smart callbacks one can listen to:
21850     *
21851     * - "clicked" - This is called when a user has clicked the map without
21852     *   dragging around.
21853     * - "press" - This is called when a user has pressed down on the map.
21854     * - "longpressed" - This is called when a user has pressed down on the map
21855     *   for a long time without dragging around.
21856     * - "clicked,double" - This is called when a user has double-clicked
21857     *   the map.
21858     * - "load,detail" - Map detailed data load begins.
21859     * - "loaded,detail" - This is called when all currently visible parts of
21860     *   the map are loaded.
21861     * - "zoom,start" - Zoom animation started.
21862     * - "zoom,stop" - Zoom animation stopped.
21863     * - "zoom,change" - Zoom changed when using an auto zoom mode.
21864     * - "scroll" - the content has been scrolled (moved).
21865     * - "scroll,anim,start" - scrolling animation has started.
21866     * - "scroll,anim,stop" - scrolling animation has stopped.
21867     * - "scroll,drag,start" - dragging the contents around has started.
21868     * - "scroll,drag,stop" - dragging the contents around has stopped.
21869     * - "downloaded" - This is called when all currently required map images
21870     *   are downloaded.
21871     * - "route,load" - This is called when route request begins.
21872     * - "route,loaded" - This is called when route request ends.
21873     * - "name,load" - This is called when name request begins.
21874     * - "name,loaded- This is called when name request ends.
21875     *
21876     * Available style for map widget:
21877     * - @c "default"
21878     *
21879     * Available style for markers:
21880     * - @c "radio"
21881     * - @c "radio2"
21882     * - @c "empty"
21883     *
21884     * Available style for marker bubble:
21885     * - @c "default"
21886     *
21887     * List of examples:
21888     * @li @ref map_example_01
21889     * @li @ref map_example_02
21890     * @li @ref map_example_03
21891     */
21892
21893    /**
21894     * @addtogroup Map
21895     * @{
21896     */
21897
21898    /**
21899     * @enum _Elm_Map_Zoom_Mode
21900     * @typedef Elm_Map_Zoom_Mode
21901     *
21902     * Set map's zoom behavior. It can be set to manual or automatic.
21903     *
21904     * Default value is #ELM_MAP_ZOOM_MODE_MANUAL.
21905     *
21906     * Values <b> don't </b> work as bitmask, only one can be choosen.
21907     *
21908     * @note Valid sizes are 2^zoom, consequently the map may be smaller
21909     * than the scroller view.
21910     *
21911     * @see elm_map_zoom_mode_set()
21912     * @see elm_map_zoom_mode_get()
21913     *
21914     * @ingroup Map
21915     */
21916    typedef enum _Elm_Map_Zoom_Mode
21917      {
21918         ELM_MAP_ZOOM_MODE_MANUAL, /**< Zoom controled manually by elm_map_zoom_set(). It's set by default. */
21919         ELM_MAP_ZOOM_MODE_AUTO_FIT, /**< Zoom until map fits inside the scroll frame with no pixels outside this area. */
21920         ELM_MAP_ZOOM_MODE_AUTO_FILL, /**< Zoom until map fills scroll, ensuring no pixels are left unfilled. */
21921         ELM_MAP_ZOOM_MODE_LAST
21922      } Elm_Map_Zoom_Mode;
21923
21924    /**
21925     * @enum _Elm_Map_Route_Sources
21926     * @typedef Elm_Map_Route_Sources
21927     *
21928     * Set route service to be used. By default used source is
21929     * #ELM_MAP_ROUTE_SOURCE_YOURS.
21930     *
21931     * @see elm_map_route_source_set()
21932     * @see elm_map_route_source_get()
21933     *
21934     * @ingroup Map
21935     */
21936    typedef enum _Elm_Map_Route_Sources
21937      {
21938         ELM_MAP_ROUTE_SOURCE_YOURS, /**< Routing service http://www.yournavigation.org/ . Set by default.*/
21939         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. */
21940         ELM_MAP_ROUTE_SOURCE_ORS, /**< Open Route Service: http://www.openrouteservice.org/ . It's not working with Map yet. */
21941         ELM_MAP_ROUTE_SOURCE_LAST
21942      } Elm_Map_Route_Sources;
21943
21944    typedef enum _Elm_Map_Name_Sources
21945      {
21946         ELM_MAP_NAME_SOURCE_NOMINATIM,
21947         ELM_MAP_NAME_SOURCE_LAST
21948      } Elm_Map_Name_Sources;
21949
21950    /**
21951     * @enum _Elm_Map_Route_Type
21952     * @typedef Elm_Map_Route_Type
21953     *
21954     * Set type of transport used on route.
21955     *
21956     * @see elm_map_route_add()
21957     *
21958     * @ingroup Map
21959     */
21960    typedef enum _Elm_Map_Route_Type
21961      {
21962         ELM_MAP_ROUTE_TYPE_MOTOCAR, /**< Route should consider an automobile will be used. */
21963         ELM_MAP_ROUTE_TYPE_BICYCLE, /**< Route should consider a bicycle will be used by the user. */
21964         ELM_MAP_ROUTE_TYPE_FOOT, /**< Route should consider user will be walking. */
21965         ELM_MAP_ROUTE_TYPE_LAST
21966      } Elm_Map_Route_Type;
21967
21968    /**
21969     * @enum _Elm_Map_Route_Method
21970     * @typedef Elm_Map_Route_Method
21971     *
21972     * Set the routing method, what should be priorized, time or distance.
21973     *
21974     * @see elm_map_route_add()
21975     *
21976     * @ingroup Map
21977     */
21978    typedef enum _Elm_Map_Route_Method
21979      {
21980         ELM_MAP_ROUTE_METHOD_FASTEST, /**< Route should priorize time. */
21981         ELM_MAP_ROUTE_METHOD_SHORTEST, /**< Route should priorize distance. */
21982         ELM_MAP_ROUTE_METHOD_LAST
21983      } Elm_Map_Route_Method;
21984
21985    typedef enum _Elm_Map_Name_Method
21986      {
21987         ELM_MAP_NAME_METHOD_SEARCH,
21988         ELM_MAP_NAME_METHOD_REVERSE,
21989         ELM_MAP_NAME_METHOD_LAST
21990      } Elm_Map_Name_Method;
21991
21992    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(). */
21993    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(). */
21994    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(). */
21995    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(). */
21996    typedef struct _Elm_Map_Name            Elm_Map_Name; /**< A handle for specific coordinates. */
21997    typedef struct _Elm_Map_Track           Elm_Map_Track;
21998
21999    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. */
22000    typedef void         (*ElmMapMarkerDelFunc)      (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o); /**< Function to delete bubble content for marker classes. */
22001    typedef Evas_Object *(*ElmMapMarkerIconGetFunc)  (Evas_Object *obj, Elm_Map_Marker *marker, void *data); /**< Icon fetching class function for marker classes. */
22002    typedef Evas_Object *(*ElmMapGroupIconGetFunc)   (Evas_Object *obj, void *data); /**< Icon fetching class function for markers group classes. */
22003
22004    typedef char        *(*ElmMapModuleSourceFunc) (void);
22005    typedef int          (*ElmMapModuleZoomMinFunc) (void);
22006    typedef int          (*ElmMapModuleZoomMaxFunc) (void);
22007    typedef char        *(*ElmMapModuleUrlFunc) (Evas_Object *obj, int x, int y, int zoom);
22008    typedef int          (*ElmMapModuleRouteSourceFunc) (void);
22009    typedef char        *(*ElmMapModuleRouteUrlFunc) (Evas_Object *obj, char *type_name, int method, double flon, double flat, double tlon, double tlat);
22010    typedef char        *(*ElmMapModuleNameUrlFunc) (Evas_Object *obj, int method, char *name, double lon, double lat);
22011    typedef Eina_Bool    (*ElmMapModuleGeoIntoCoordFunc) (const Evas_Object *obj, int zoom, double lon, double lat, int size, int *x, int *y);
22012    typedef Eina_Bool    (*ElmMapModuleCoordIntoGeoFunc) (const Evas_Object *obj, int zoom, int x, int y, int size, double *lon, double *lat);
22013
22014    /**
22015     * Add a new map widget to the given parent Elementary (container) object.
22016     *
22017     * @param parent The parent object.
22018     * @return a new map widget handle or @c NULL, on errors.
22019     *
22020     * This function inserts a new map widget on the canvas.
22021     *
22022     * @ingroup Map
22023     */
22024    EAPI Evas_Object          *elm_map_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22025
22026    /**
22027     * Set the zoom level of the map.
22028     *
22029     * @param obj The map object.
22030     * @param zoom The zoom level to set.
22031     *
22032     * This sets the zoom level.
22033     *
22034     * It will respect limits defined by elm_map_source_zoom_min_set() and
22035     * elm_map_source_zoom_max_set().
22036     *
22037     * By default these values are 0 (world map) and 18 (maximum zoom).
22038     *
22039     * This function should be used when zoom mode is set to
22040     * #ELM_MAP_ZOOM_MODE_MANUAL. This is the default mode, and can be set
22041     * with elm_map_zoom_mode_set().
22042     *
22043     * @see elm_map_zoom_mode_set().
22044     * @see elm_map_zoom_get().
22045     *
22046     * @ingroup Map
22047     */
22048    EAPI void                  elm_map_zoom_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
22049
22050    /**
22051     * Get the zoom level of the map.
22052     *
22053     * @param obj The map object.
22054     * @return The current zoom level.
22055     *
22056     * This returns the current zoom level of the map object.
22057     *
22058     * Note that if you set the fill mode to other than #ELM_MAP_ZOOM_MODE_MANUAL
22059     * (which is the default), the zoom level may be changed at any time by the
22060     * map object itself to account for map size and map viewport size.
22061     *
22062     * @see elm_map_zoom_set() for details.
22063     *
22064     * @ingroup Map
22065     */
22066    EAPI int                   elm_map_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22067
22068    /**
22069     * Set the zoom mode used by the map object.
22070     *
22071     * @param obj The map object.
22072     * @param mode The zoom mode of the map, being it one of
22073     * #ELM_MAP_ZOOM_MODE_MANUAL (default), #ELM_MAP_ZOOM_MODE_AUTO_FIT,
22074     * or #ELM_MAP_ZOOM_MODE_AUTO_FILL.
22075     *
22076     * This sets the zoom mode to manual or one of the automatic levels.
22077     * Manual (#ELM_MAP_ZOOM_MODE_MANUAL) means that zoom is set manually by
22078     * elm_map_zoom_set() and will stay at that level until changed by code
22079     * or until zoom mode is changed. This is the default mode.
22080     *
22081     * The Automatic modes will allow the map object to automatically
22082     * adjust zoom mode based on properties. #ELM_MAP_ZOOM_MODE_AUTO_FIT will
22083     * adjust zoom so the map fits inside the scroll frame with no pixels
22084     * outside this area. #ELM_MAP_ZOOM_MODE_AUTO_FILL will be similar but
22085     * ensure no pixels within the frame are left unfilled. Do not forget that
22086     * the valid sizes are 2^zoom, consequently the map may be smaller than
22087     * the scroller view.
22088     *
22089     * @see elm_map_zoom_set()
22090     *
22091     * @ingroup Map
22092     */
22093    EAPI void                  elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode) EINA_ARG_NONNULL(1);
22094
22095    /**
22096     * Get the zoom mode used by the map object.
22097     *
22098     * @param obj The map object.
22099     * @return The zoom mode of the map, being it one of
22100     * #ELM_MAP_ZOOM_MODE_MANUAL (default), #ELM_MAP_ZOOM_MODE_AUTO_FIT,
22101     * or #ELM_MAP_ZOOM_MODE_AUTO_FILL.
22102     *
22103     * This function returns the current zoom mode used by the map object.
22104     *
22105     * @see elm_map_zoom_mode_set() for more details.
22106     *
22107     * @ingroup Map
22108     */
22109    EAPI Elm_Map_Zoom_Mode     elm_map_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22110
22111    /**
22112     * Get the current coordinates of the map.
22113     *
22114     * @param obj The map object.
22115     * @param lon Pointer where to store longitude.
22116     * @param lat Pointer where to store latitude.
22117     *
22118     * This gets the current center coordinates of the map object. It can be
22119     * set by elm_map_geo_region_bring_in() and elm_map_geo_region_show().
22120     *
22121     * @see elm_map_geo_region_bring_in()
22122     * @see elm_map_geo_region_show()
22123     *
22124     * @ingroup Map
22125     */
22126    EAPI void                  elm_map_geo_region_get(const Evas_Object *obj, double *lon, double *lat) EINA_ARG_NONNULL(1);
22127
22128    /**
22129     * Animatedly bring in given coordinates to the center of the map.
22130     *
22131     * @param obj The map object.
22132     * @param lon Longitude to center at.
22133     * @param lat Latitude to center at.
22134     *
22135     * This causes map to jump to the given @p lat and @p lon coordinates
22136     * and show it (by scrolling) in the center of the viewport, if it is not
22137     * already centered. This will use animation to do so and take a period
22138     * of time to complete.
22139     *
22140     * @see elm_map_geo_region_show() for a function to avoid animation.
22141     * @see elm_map_geo_region_get()
22142     *
22143     * @ingroup Map
22144     */
22145    EAPI void                  elm_map_geo_region_bring_in(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
22146
22147    /**
22148     * Show the given coordinates at the center of the map, @b immediately.
22149     *
22150     * @param obj The map object.
22151     * @param lon Longitude to center at.
22152     * @param lat Latitude to center at.
22153     *
22154     * This causes map to @b redraw its viewport's contents to the
22155     * region contining the given @p lat and @p lon, that will be moved to the
22156     * center of the map.
22157     *
22158     * @see elm_map_geo_region_bring_in() for a function to move with animation.
22159     * @see elm_map_geo_region_get()
22160     *
22161     * @ingroup Map
22162     */
22163    EAPI void                  elm_map_geo_region_show(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
22164
22165    /**
22166     * Pause or unpause the map.
22167     *
22168     * @param obj The map object.
22169     * @param paused Use @c EINA_TRUE to pause the map @p obj or @c EINA_FALSE
22170     * to unpause it.
22171     *
22172     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
22173     * for map.
22174     *
22175     * The default is off.
22176     *
22177     * This will stop zooming using animation, changing zoom levels will
22178     * change instantly. This will stop any existing animations that are running.
22179     *
22180     * @see elm_map_paused_get()
22181     *
22182     * @ingroup Map
22183     */
22184    EAPI void                  elm_map_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
22185
22186    /**
22187     * Get a value whether map is paused or not.
22188     *
22189     * @param obj The map object.
22190     * @return @c EINA_TRUE means map is pause. @c EINA_FALSE indicates
22191     * it is not. If @p obj is @c NULL, @c EINA_FALSE is returned.
22192     *
22193     * This gets the current paused state for the map object.
22194     *
22195     * @see elm_map_paused_set() for details.
22196     *
22197     * @ingroup Map
22198     */
22199    EAPI Eina_Bool             elm_map_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22200
22201    /**
22202     * Set to show markers during zoom level changes or not.
22203     *
22204     * @param obj The map object.
22205     * @param paused Use @c EINA_TRUE to @b not show markers or @c EINA_FALSE
22206     * to show them.
22207     *
22208     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
22209     * for map.
22210     *
22211     * The default is off.
22212     *
22213     * This will stop zooming using animation, changing zoom levels will
22214     * change instantly. This will stop any existing animations that are running.
22215     *
22216     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
22217     * for the markers.
22218     *
22219     * The default  is off.
22220     *
22221     * Enabling it will force the map to stop displaying the markers during
22222     * zoom level changes. Set to on if you have a large number of markers.
22223     *
22224     * @see elm_map_paused_markers_get()
22225     *
22226     * @ingroup Map
22227     */
22228    EAPI void                  elm_map_paused_markers_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
22229
22230    /**
22231     * Get a value whether markers will be displayed on zoom level changes or not
22232     *
22233     * @param obj The map object.
22234     * @return @c EINA_TRUE means map @b won't display markers or @c EINA_FALSE
22235     * indicates it will. If @p obj is @c NULL, @c EINA_FALSE is returned.
22236     *
22237     * This gets the current markers paused state for the map object.
22238     *
22239     * @see elm_map_paused_markers_set() for details.
22240     *
22241     * @ingroup Map
22242     */
22243    EAPI Eina_Bool             elm_map_paused_markers_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22244
22245    /**
22246     * Get the information of downloading status.
22247     *
22248     * @param obj The map object.
22249     * @param try_num Pointer where to store number of tiles being downloaded.
22250     * @param finish_num Pointer where to store number of tiles successfully
22251     * downloaded.
22252     *
22253     * This gets the current downloading status for the map object, the number
22254     * of tiles being downloaded and the number of tiles already downloaded.
22255     *
22256     * @ingroup Map
22257     */
22258    EAPI void                  elm_map_utils_downloading_status_get(const Evas_Object *obj, int *try_num, int *finish_num) EINA_ARG_NONNULL(1, 2, 3);
22259
22260    /**
22261     * Convert a pixel coordinate (x,y) into a geographic coordinate
22262     * (longitude, latitude).
22263     *
22264     * @param obj The map object.
22265     * @param x the coordinate.
22266     * @param y the coordinate.
22267     * @param size the size in pixels of the map.
22268     * The map is a square and generally his size is : pow(2.0, zoom)*256.
22269     * @param lon Pointer where to store the longitude that correspond to x.
22270     * @param lat Pointer where to store the latitude that correspond to y.
22271     *
22272     * @note Origin pixel point is the top left corner of the viewport.
22273     * Map zoom and size are taken on account.
22274     *
22275     * @see elm_map_utils_convert_geo_into_coord() if you need the inverse.
22276     *
22277     * @ingroup Map
22278     */
22279    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);
22280
22281    /**
22282     * Convert a geographic coordinate (longitude, latitude) into a pixel
22283     * coordinate (x, y).
22284     *
22285     * @param obj The map object.
22286     * @param lon the longitude.
22287     * @param lat the latitude.
22288     * @param size the size in pixels of the map. The map is a square
22289     * and generally his size is : pow(2.0, zoom)*256.
22290     * @param x Pointer where to store the horizontal pixel coordinate that
22291     * correspond to the longitude.
22292     * @param y Pointer where to store the vertical pixel coordinate that
22293     * correspond to the latitude.
22294     *
22295     * @note Origin pixel point is the top left corner of the viewport.
22296     * Map zoom and size are taken on account.
22297     *
22298     * @see elm_map_utils_convert_coord_into_geo() if you need the inverse.
22299     *
22300     * @ingroup Map
22301     */
22302    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);
22303
22304    /**
22305     * Convert a geographic coordinate (longitude, latitude) into a name
22306     * (address).
22307     *
22308     * @param obj The map object.
22309     * @param lon the longitude.
22310     * @param lat the latitude.
22311     * @return name A #Elm_Map_Name handle for this coordinate.
22312     *
22313     * To get the string for this address, elm_map_name_address_get()
22314     * should be used.
22315     *
22316     * @see elm_map_utils_convert_name_into_coord() if you need the inverse.
22317     *
22318     * @ingroup Map
22319     */
22320    EAPI Elm_Map_Name         *elm_map_utils_convert_coord_into_name(const Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
22321
22322    /**
22323     * Convert a name (address) into a geographic coordinate
22324     * (longitude, latitude).
22325     *
22326     * @param obj The map object.
22327     * @param name The address.
22328     * @return name A #Elm_Map_Name handle for this address.
22329     *
22330     * To get the longitude and latitude, elm_map_name_region_get()
22331     * should be used.
22332     *
22333     * @see elm_map_utils_convert_coord_into_name() if you need the inverse.
22334     *
22335     * @ingroup Map
22336     */
22337    EAPI Elm_Map_Name         *elm_map_utils_convert_name_into_coord(const Evas_Object *obj, char *address) EINA_ARG_NONNULL(1, 2);
22338
22339    /**
22340     * Convert a pixel coordinate into a rotated pixel coordinate.
22341     *
22342     * @param obj The map object.
22343     * @param x horizontal coordinate of the point to rotate.
22344     * @param y vertical coordinate of the point to rotate.
22345     * @param cx rotation's center horizontal position.
22346     * @param cy rotation's center vertical position.
22347     * @param degree amount of degrees from 0.0 to 360.0 to rotate arount Z axis.
22348     * @param xx Pointer where to store rotated x.
22349     * @param yy Pointer where to store rotated y.
22350     *
22351     * @ingroup Map
22352     */
22353    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);
22354
22355    /**
22356     * Add a new marker to the map object.
22357     *
22358     * @param obj The map object.
22359     * @param lon The longitude of the marker.
22360     * @param lat The latitude of the marker.
22361     * @param clas The class, to use when marker @b isn't grouped to others.
22362     * @param clas_group The class group, to use when marker is grouped to others
22363     * @param data The data passed to the callbacks.
22364     *
22365     * @return The created marker or @c NULL upon failure.
22366     *
22367     * A marker will be created and shown in a specific point of the map, defined
22368     * by @p lon and @p lat.
22369     *
22370     * It will be displayed using style defined by @p class when this marker
22371     * is displayed alone (not grouped). A new class can be created with
22372     * elm_map_marker_class_new().
22373     *
22374     * If the marker is grouped to other markers, it will be displayed with
22375     * style defined by @p class_group. Markers with the same group are grouped
22376     * if they are close. A new group class can be created with
22377     * elm_map_marker_group_class_new().
22378     *
22379     * Markers created with this method can be deleted with
22380     * elm_map_marker_remove().
22381     *
22382     * A marker can have associated content to be displayed by a bubble,
22383     * when a user click over it, as well as an icon. These objects will
22384     * be fetch using class' callback functions.
22385     *
22386     * @see elm_map_marker_class_new()
22387     * @see elm_map_marker_group_class_new()
22388     * @see elm_map_marker_remove()
22389     *
22390     * @ingroup Map
22391     */
22392    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);
22393
22394    /**
22395     * Set the maximum numbers of markers' content to be displayed in a group.
22396     *
22397     * @param obj The map object.
22398     * @param max The maximum numbers of items displayed in a bubble.
22399     *
22400     * A bubble will be displayed when the user clicks over the group,
22401     * and will place the content of markers that belong to this group
22402     * inside it.
22403     *
22404     * A group can have a long list of markers, consequently the creation
22405     * of the content of the bubble can be very slow.
22406     *
22407     * In order to avoid this, a maximum number of items is displayed
22408     * in a bubble.
22409     *
22410     * By default this number is 30.
22411     *
22412     * Marker with the same group class are grouped if they are close.
22413     *
22414     * @see elm_map_marker_add()
22415     *
22416     * @ingroup Map
22417     */
22418    EAPI void                  elm_map_max_marker_per_group_set(Evas_Object *obj, int max) EINA_ARG_NONNULL(1);
22419
22420    /**
22421     * Remove a marker from the map.
22422     *
22423     * @param marker The marker to remove.
22424     *
22425     * @see elm_map_marker_add()
22426     *
22427     * @ingroup Map
22428     */
22429    EAPI void                  elm_map_marker_remove(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22430
22431    /**
22432     * Get the current coordinates of the marker.
22433     *
22434     * @param marker marker.
22435     * @param lat Pointer where to store the marker's latitude.
22436     * @param lon Pointer where to store the marker's longitude.
22437     *
22438     * These values are set when adding markers, with function
22439     * elm_map_marker_add().
22440     *
22441     * @see elm_map_marker_add()
22442     *
22443     * @ingroup Map
22444     */
22445    EAPI void                  elm_map_marker_region_get(const Elm_Map_Marker *marker, double *lon, double *lat) EINA_ARG_NONNULL(1);
22446
22447    /**
22448     * Animatedly bring in given marker to the center of the map.
22449     *
22450     * @param marker The marker to center at.
22451     *
22452     * This causes map to jump to the given @p marker's coordinates
22453     * and show it (by scrolling) in the center of the viewport, if it is not
22454     * already centered. This will use animation to do so and take a period
22455     * of time to complete.
22456     *
22457     * @see elm_map_marker_show() for a function to avoid animation.
22458     * @see elm_map_marker_region_get()
22459     *
22460     * @ingroup Map
22461     */
22462    EAPI void                  elm_map_marker_bring_in(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22463
22464    /**
22465     * Show the given marker at the center of the map, @b immediately.
22466     *
22467     * @param marker The marker to center at.
22468     *
22469     * This causes map to @b redraw its viewport's contents to the
22470     * region contining the given @p marker's coordinates, that will be
22471     * moved to the center of the map.
22472     *
22473     * @see elm_map_marker_bring_in() for a function to move with animation.
22474     * @see elm_map_markers_list_show() if more than one marker need to be
22475     * displayed.
22476     * @see elm_map_marker_region_get()
22477     *
22478     * @ingroup Map
22479     */
22480    EAPI void                  elm_map_marker_show(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22481
22482    /**
22483     * Move and zoom the map to display a list of markers.
22484     *
22485     * @param markers A list of #Elm_Map_Marker handles.
22486     *
22487     * The map will be centered on the center point of the markers in the list.
22488     * Then the map will be zoomed in order to fit the markers using the maximum
22489     * zoom which allows display of all the markers.
22490     *
22491     * @warning All the markers should belong to the same map object.
22492     *
22493     * @see elm_map_marker_show() to show a single marker.
22494     * @see elm_map_marker_bring_in()
22495     *
22496     * @ingroup Map
22497     */
22498    EAPI void                  elm_map_markers_list_show(Eina_List *markers) EINA_ARG_NONNULL(1);
22499
22500    /**
22501     * Get the Evas object returned by the ElmMapMarkerGetFunc callback
22502     *
22503     * @param marker The marker wich content should be returned.
22504     * @return Return the evas object if it exists, else @c NULL.
22505     *
22506     * To set callback function #ElmMapMarkerGetFunc for the marker class,
22507     * elm_map_marker_class_get_cb_set() should be used.
22508     *
22509     * This content is what will be inside the bubble that will be displayed
22510     * when an user clicks over the marker.
22511     *
22512     * This returns the actual Evas object used to be placed inside
22513     * the bubble. This may be @c NULL, as it may
22514     * not have been created or may have been deleted, at any time, by
22515     * the map. <b>Do not modify this object</b> (move, resize,
22516     * show, hide, etc.), as the map is controlling it. This
22517     * function is for querying, emitting custom signals or hooking
22518     * lower level callbacks for events on that object. Do not delete
22519     * this object under any circumstances.
22520     *
22521     * @ingroup Map
22522     */
22523    EAPI Evas_Object          *elm_map_marker_object_get(const Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22524
22525    /**
22526     * Update the marker
22527     *
22528     * @param marker The marker to be updated.
22529     *
22530     * If a content is set to this marker, it will call function to delete it,
22531     * #ElmMapMarkerDelFunc, and then will fetch the content again with
22532     * #ElmMapMarkerGetFunc.
22533     *
22534     * These functions are set for the marker class with
22535     * elm_map_marker_class_get_cb_set() and elm_map_marker_class_del_cb_set().
22536     *
22537     * @ingroup Map
22538     */
22539    EAPI void                  elm_map_marker_update(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22540
22541    /**
22542     * Close all the bubbles opened by the user.
22543     *
22544     * @param obj The map object.
22545     *
22546     * A bubble is displayed with a content fetched with #ElmMapMarkerGetFunc
22547     * when the user clicks on a marker.
22548     *
22549     * This functions is set for the marker class with
22550     * elm_map_marker_class_get_cb_set().
22551     *
22552     * @ingroup Map
22553     */
22554    EAPI void                  elm_map_bubbles_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
22555
22556    /**
22557     * Create a new group class.
22558     *
22559     * @param obj The map object.
22560     * @return Returns the new group class.
22561     *
22562     * Each marker must be associated to a group class. Markers in the same
22563     * group are grouped if they are close.
22564     *
22565     * The group class defines the style of the marker when a marker is grouped
22566     * to others markers. When it is alone, another class will be used.
22567     *
22568     * A group class will need to be provided when creating a marker with
22569     * elm_map_marker_add().
22570     *
22571     * Some properties and functions can be set by class, as:
22572     * - style, with elm_map_group_class_style_set()
22573     * - data - to be associated to the group class. It can be set using
22574     *   elm_map_group_class_data_set().
22575     * - min zoom to display markers, set with
22576     *   elm_map_group_class_zoom_displayed_set().
22577     * - max zoom to group markers, set using
22578     *   elm_map_group_class_zoom_grouped_set().
22579     * - visibility - set if markers will be visible or not, set with
22580     *   elm_map_group_class_hide_set().
22581     * - #ElmMapGroupIconGetFunc - used to fetch icon for markers group classes.
22582     *   It can be set using elm_map_group_class_icon_cb_set().
22583     *
22584     * @see elm_map_marker_add()
22585     * @see elm_map_group_class_style_set()
22586     * @see elm_map_group_class_data_set()
22587     * @see elm_map_group_class_zoom_displayed_set()
22588     * @see elm_map_group_class_zoom_grouped_set()
22589     * @see elm_map_group_class_hide_set()
22590     * @see elm_map_group_class_icon_cb_set()
22591     *
22592     * @ingroup Map
22593     */
22594    EAPI Elm_Map_Group_Class  *elm_map_group_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
22595
22596    /**
22597     * Set the marker's style of a group class.
22598     *
22599     * @param clas The group class.
22600     * @param style The style to be used by markers.
22601     *
22602     * Each marker must be associated to a group class, and will use the style
22603     * defined by such class when grouped to other markers.
22604     *
22605     * The following styles are provided by default theme:
22606     * @li @c radio - blue circle
22607     * @li @c radio2 - green circle
22608     * @li @c empty
22609     *
22610     * @see elm_map_group_class_new() for more details.
22611     * @see elm_map_marker_add()
22612     *
22613     * @ingroup Map
22614     */
22615    EAPI void                  elm_map_group_class_style_set(Elm_Map_Group_Class *clas, const char *style) EINA_ARG_NONNULL(1);
22616
22617    /**
22618     * Set the icon callback function of a group class.
22619     *
22620     * @param clas The group class.
22621     * @param icon_get The callback function that will return the icon.
22622     *
22623     * Each marker must be associated to a group class, and it can display a
22624     * custom icon. The function @p icon_get must return this icon.
22625     *
22626     * @see elm_map_group_class_new() for more details.
22627     * @see elm_map_marker_add()
22628     *
22629     * @ingroup Map
22630     */
22631    EAPI void                  elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, ElmMapGroupIconGetFunc icon_get) EINA_ARG_NONNULL(1);
22632
22633    /**
22634     * Set the data associated to the group class.
22635     *
22636     * @param clas The group class.
22637     * @param data The new user data.
22638     *
22639     * This data will be passed for callback functions, like icon get callback,
22640     * that can be set with elm_map_group_class_icon_cb_set().
22641     *
22642     * If a data was previously set, the object will lose the pointer for it,
22643     * so if needs to be freed, you must do it yourself.
22644     *
22645     * @see elm_map_group_class_new() for more details.
22646     * @see elm_map_group_class_icon_cb_set()
22647     * @see elm_map_marker_add()
22648     *
22649     * @ingroup Map
22650     */
22651    EAPI void                  elm_map_group_class_data_set(Elm_Map_Group_Class *clas, void *data) EINA_ARG_NONNULL(1);
22652
22653    /**
22654     * Set the minimum zoom from where the markers are displayed.
22655     *
22656     * @param clas The group class.
22657     * @param zoom The minimum zoom.
22658     *
22659     * Markers only will be displayed when the map is displayed at @p zoom
22660     * or bigger.
22661     *
22662     * @see elm_map_group_class_new() for more details.
22663     * @see elm_map_marker_add()
22664     *
22665     * @ingroup Map
22666     */
22667    EAPI void                  elm_map_group_class_zoom_displayed_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
22668
22669    /**
22670     * Set the zoom from where the markers are no more grouped.
22671     *
22672     * @param clas The group class.
22673     * @param zoom The maximum zoom.
22674     *
22675     * Markers only will be grouped when the map is displayed at
22676     * less than @p zoom.
22677     *
22678     * @see elm_map_group_class_new() for more details.
22679     * @see elm_map_marker_add()
22680     *
22681     * @ingroup Map
22682     */
22683    EAPI void                  elm_map_group_class_zoom_grouped_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
22684
22685    /**
22686     * Set if the markers associated to the group class @clas are hidden or not.
22687     *
22688     * @param clas The group class.
22689     * @param hide Use @c EINA_TRUE to hide markers or @c EINA_FALSE
22690     * to show them.
22691     *
22692     * If @p hide is @c EINA_TRUE the markers will be hidden, but default
22693     * is to show them.
22694     *
22695     * @ingroup Map
22696     */
22697    EAPI void                  elm_map_group_class_hide_set(Evas_Object *obj, Elm_Map_Group_Class *clas, Eina_Bool hide) EINA_ARG_NONNULL(1, 2);
22698
22699    /**
22700     * Create a new marker class.
22701     *
22702     * @param obj The map object.
22703     * @return Returns the new group class.
22704     *
22705     * Each marker must be associated to a class.
22706     *
22707     * The marker class defines the style of the marker when a marker is
22708     * displayed alone, i.e., not grouped to to others markers. When grouped
22709     * it will use group class style.
22710     *
22711     * A marker class will need to be provided when creating a marker with
22712     * elm_map_marker_add().
22713     *
22714     * Some properties and functions can be set by class, as:
22715     * - style, with elm_map_marker_class_style_set()
22716     * - #ElmMapMarkerIconGetFunc - used to fetch icon for markers classes.
22717     *   It can be set using elm_map_marker_class_icon_cb_set().
22718     * - #ElmMapMarkerGetFunc - used to fetch bubble content for marker classes.
22719     *   Set using elm_map_marker_class_get_cb_set().
22720     * - #ElmMapMarkerDelFunc - used to delete bubble content for marker classes.
22721     *   Set using elm_map_marker_class_del_cb_set().
22722     *
22723     * @see elm_map_marker_add()
22724     * @see elm_map_marker_class_style_set()
22725     * @see elm_map_marker_class_icon_cb_set()
22726     * @see elm_map_marker_class_get_cb_set()
22727     * @see elm_map_marker_class_del_cb_set()
22728     *
22729     * @ingroup Map
22730     */
22731    EAPI Elm_Map_Marker_Class *elm_map_marker_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
22732
22733    /**
22734     * Set the marker's style of a marker class.
22735     *
22736     * @param clas The marker class.
22737     * @param style The style to be used by markers.
22738     *
22739     * Each marker must be associated to a marker class, and will use the style
22740     * defined by such class when alone, i.e., @b not grouped to other markers.
22741     *
22742     * The following styles are provided by default theme:
22743     * @li @c radio
22744     * @li @c radio2
22745     * @li @c empty
22746     *
22747     * @see elm_map_marker_class_new() for more details.
22748     * @see elm_map_marker_add()
22749     *
22750     * @ingroup Map
22751     */
22752    EAPI void                  elm_map_marker_class_style_set(Elm_Map_Marker_Class *clas, const char *style) EINA_ARG_NONNULL(1);
22753
22754    /**
22755     * Set the icon callback function of a marker class.
22756     *
22757     * @param clas The marker class.
22758     * @param icon_get The callback function that will return the icon.
22759     *
22760     * Each marker must be associated to a marker class, and it can display a
22761     * custom icon. The function @p icon_get must return this icon.
22762     *
22763     * @see elm_map_marker_class_new() for more details.
22764     * @see elm_map_marker_add()
22765     *
22766     * @ingroup Map
22767     */
22768    EAPI void                  elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerIconGetFunc icon_get) EINA_ARG_NONNULL(1);
22769
22770    /**
22771     * Set the bubble content callback function of a marker class.
22772     *
22773     * @param clas The marker class.
22774     * @param get The callback function that will return the content.
22775     *
22776     * Each marker must be associated to a marker class, and it can display a
22777     * a content on a bubble that opens when the user click over the marker.
22778     * The function @p get must return this content object.
22779     *
22780     * If this content will need to be deleted, elm_map_marker_class_del_cb_set()
22781     * can be used.
22782     *
22783     * @see elm_map_marker_class_new() for more details.
22784     * @see elm_map_marker_class_del_cb_set()
22785     * @see elm_map_marker_add()
22786     *
22787     * @ingroup Map
22788     */
22789    EAPI void                  elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerGetFunc get) EINA_ARG_NONNULL(1);
22790
22791    /**
22792     * Set the callback function used to delete bubble content of a marker class.
22793     *
22794     * @param clas The marker class.
22795     * @param del The callback function that will delete the content.
22796     *
22797     * Each marker must be associated to a marker class, and it can display a
22798     * a content on a bubble that opens when the user click over the marker.
22799     * The function to return such content can be set with
22800     * elm_map_marker_class_get_cb_set().
22801     *
22802     * If this content must be freed, a callback function need to be
22803     * set for that task with this function.
22804     *
22805     * If this callback is defined it will have to delete (or not) the
22806     * object inside, but if the callback is not defined the object will be
22807     * destroyed with evas_object_del().
22808     *
22809     * @see elm_map_marker_class_new() for more details.
22810     * @see elm_map_marker_class_get_cb_set()
22811     * @see elm_map_marker_add()
22812     *
22813     * @ingroup Map
22814     */
22815    EAPI void                  elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerDelFunc del) EINA_ARG_NONNULL(1);
22816
22817    /**
22818     * Get the list of available sources.
22819     *
22820     * @param obj The map object.
22821     * @return The source names list.
22822     *
22823     * It will provide a list with all available sources, that can be set as
22824     * current source with elm_map_source_name_set(), or get with
22825     * elm_map_source_name_get().
22826     *
22827     * Available sources:
22828     * @li "Mapnik"
22829     * @li "Osmarender"
22830     * @li "CycleMap"
22831     * @li "Maplint"
22832     *
22833     * @see elm_map_source_name_set() for more details.
22834     * @see elm_map_source_name_get()
22835     *
22836     * @ingroup Map
22837     */
22838    EAPI const char          **elm_map_source_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22839
22840    /**
22841     * Set the source of the map.
22842     *
22843     * @param obj The map object.
22844     * @param source The source to be used.
22845     *
22846     * Map widget retrieves images that composes the map from a web service.
22847     * This web service can be set with this method.
22848     *
22849     * A different service can return a different maps with different
22850     * information and it can use different zoom values.
22851     *
22852     * The @p source_name need to match one of the names provided by
22853     * elm_map_source_names_get().
22854     *
22855     * The current source can be get using elm_map_source_name_get().
22856     *
22857     * @see elm_map_source_names_get()
22858     * @see elm_map_source_name_get()
22859     *
22860     *
22861     * @ingroup Map
22862     */
22863    EAPI void                  elm_map_source_name_set(Evas_Object *obj, const char *source_name) EINA_ARG_NONNULL(1);
22864
22865    /**
22866     * Get the name of currently used source.
22867     *
22868     * @param obj The map object.
22869     * @return Returns the name of the source in use.
22870     *
22871     * @see elm_map_source_name_set() for more details.
22872     *
22873     * @ingroup Map
22874     */
22875    EAPI const char           *elm_map_source_name_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22876
22877    /**
22878     * Set the source of the route service to be used by the map.
22879     *
22880     * @param obj The map object.
22881     * @param source The route service to be used, being it one of
22882     * #ELM_MAP_ROUTE_SOURCE_YOURS (default), #ELM_MAP_ROUTE_SOURCE_MONAV,
22883     * and #ELM_MAP_ROUTE_SOURCE_ORS.
22884     *
22885     * Each one has its own algorithm, so the route retrieved may
22886     * differ depending on the source route. Now, only the default is working.
22887     *
22888     * #ELM_MAP_ROUTE_SOURCE_YOURS is the routing service provided at
22889     * http://www.yournavigation.org/.
22890     *
22891     * #ELM_MAP_ROUTE_SOURCE_MONAV, offers exact routing without heuristic
22892     * assumptions. Its routing core is based on Contraction Hierarchies.
22893     *
22894     * #ELM_MAP_ROUTE_SOURCE_ORS, is provided at http://www.openrouteservice.org/
22895     *
22896     * @see elm_map_route_source_get().
22897     *
22898     * @ingroup Map
22899     */
22900    EAPI void                  elm_map_route_source_set(Evas_Object *obj, Elm_Map_Route_Sources source) EINA_ARG_NONNULL(1);
22901
22902    /**
22903     * Get the current route source.
22904     *
22905     * @param obj The map object.
22906     * @return The source of the route service used by the map.
22907     *
22908     * @see elm_map_route_source_set() for details.
22909     *
22910     * @ingroup Map
22911     */
22912    EAPI Elm_Map_Route_Sources elm_map_route_source_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22913
22914    /**
22915     * Set the minimum zoom of the source.
22916     *
22917     * @param obj The map object.
22918     * @param zoom New minimum zoom value to be used.
22919     *
22920     * By default, it's 0.
22921     *
22922     * @ingroup Map
22923     */
22924    EAPI void                  elm_map_source_zoom_min_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
22925
22926    /**
22927     * Get the minimum zoom of the source.
22928     *
22929     * @param obj The map object.
22930     * @return Returns the minimum zoom of the source.
22931     *
22932     * @see elm_map_source_zoom_min_set() for details.
22933     *
22934     * @ingroup Map
22935     */
22936    EAPI int                   elm_map_source_zoom_min_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22937
22938    /**
22939     * Set the maximum zoom of the source.
22940     *
22941     * @param obj The map object.
22942     * @param zoom New maximum zoom value to be used.
22943     *
22944     * By default, it's 18.
22945     *
22946     * @ingroup Map
22947     */
22948    EAPI void                  elm_map_source_zoom_max_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
22949
22950    /**
22951     * Get the maximum zoom of the source.
22952     *
22953     * @param obj The map object.
22954     * @return Returns the maximum zoom of the source.
22955     *
22956     * @see elm_map_source_zoom_min_set() for details.
22957     *
22958     * @ingroup Map
22959     */
22960    EAPI int                   elm_map_source_zoom_max_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22961
22962    /**
22963     * Set the user agent used by the map object to access routing services.
22964     *
22965     * @param obj The map object.
22966     * @param user_agent The user agent to be used by the map.
22967     *
22968     * User agent is a client application implementing a network protocol used
22969     * in communications within a client–server distributed computing system
22970     *
22971     * The @p user_agent identification string will transmitted in a header
22972     * field @c User-Agent.
22973     *
22974     * @see elm_map_user_agent_get()
22975     *
22976     * @ingroup Map
22977     */
22978    EAPI void                  elm_map_user_agent_set(Evas_Object *obj, const char *user_agent) EINA_ARG_NONNULL(1, 2);
22979
22980    /**
22981     * Get the user agent used by the map object.
22982     *
22983     * @param obj The map object.
22984     * @return The user agent identification string used by the map.
22985     *
22986     * @see elm_map_user_agent_set() for details.
22987     *
22988     * @ingroup Map
22989     */
22990    EAPI const char           *elm_map_user_agent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22991
22992    /**
22993     * Add a new route to the map object.
22994     *
22995     * @param obj The map object.
22996     * @param type The type of transport to be considered when tracing a route.
22997     * @param method The routing method, what should be priorized.
22998     * @param flon The start longitude.
22999     * @param flat The start latitude.
23000     * @param tlon The destination longitude.
23001     * @param tlat The destination latitude.
23002     *
23003     * @return The created route or @c NULL upon failure.
23004     *
23005     * A route will be traced by point on coordinates (@p flat, @p flon)
23006     * to point on coordinates (@p tlat, @p tlon), using the route service
23007     * set with elm_map_route_source_set().
23008     *
23009     * It will take @p type on consideration to define the route,
23010     * depending if the user will be walking or driving, the route may vary.
23011     * One of #ELM_MAP_ROUTE_TYPE_MOTOCAR, #ELM_MAP_ROUTE_TYPE_BICYCLE, or
23012     * #ELM_MAP_ROUTE_TYPE_FOOT need to be used.
23013     *
23014     * Another parameter is what the route should priorize, the minor distance
23015     * or the less time to be spend on the route. So @p method should be one
23016     * of #ELM_MAP_ROUTE_METHOD_SHORTEST or #ELM_MAP_ROUTE_METHOD_FASTEST.
23017     *
23018     * Routes created with this method can be deleted with
23019     * elm_map_route_remove(), colored with elm_map_route_color_set(),
23020     * and distance can be get with elm_map_route_distance_get().
23021     *
23022     * @see elm_map_route_remove()
23023     * @see elm_map_route_color_set()
23024     * @see elm_map_route_distance_get()
23025     * @see elm_map_route_source_set()
23026     *
23027     * @ingroup Map
23028     */
23029    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);
23030
23031    /**
23032     * Remove a route from the map.
23033     *
23034     * @param route The route to remove.
23035     *
23036     * @see elm_map_route_add()
23037     *
23038     * @ingroup Map
23039     */
23040    EAPI void                  elm_map_route_remove(Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23041
23042    /**
23043     * Set the route color.
23044     *
23045     * @param route The route object.
23046     * @param r Red channel value, from 0 to 255.
23047     * @param g Green channel value, from 0 to 255.
23048     * @param b Blue channel value, from 0 to 255.
23049     * @param a Alpha channel value, from 0 to 255.
23050     *
23051     * It uses an additive color model, so each color channel represents
23052     * how much of each primary colors must to be used. 0 represents
23053     * ausence of this color, so if all of the three are set to 0,
23054     * the color will be black.
23055     *
23056     * These component values should be integers in the range 0 to 255,
23057     * (single 8-bit byte).
23058     *
23059     * This sets the color used for the route. By default, it is set to
23060     * solid red (r = 255, g = 0, b = 0, a = 255).
23061     *
23062     * For alpha channel, 0 represents completely transparent, and 255, opaque.
23063     *
23064     * @see elm_map_route_color_get()
23065     *
23066     * @ingroup Map
23067     */
23068    EAPI void                  elm_map_route_color_set(Elm_Map_Route *route, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
23069
23070    /**
23071     * Get the route color.
23072     *
23073     * @param route The route object.
23074     * @param r Pointer where to store the red channel value.
23075     * @param g Pointer where to store the green channel value.
23076     * @param b Pointer where to store the blue channel value.
23077     * @param a Pointer where to store the alpha channel value.
23078     *
23079     * @see elm_map_route_color_set() for details.
23080     *
23081     * @ingroup Map
23082     */
23083    EAPI void                  elm_map_route_color_get(const Elm_Map_Route *route, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
23084
23085    /**
23086     * Get the route distance in kilometers.
23087     *
23088     * @param route The route object.
23089     * @return The distance of route (unit : km).
23090     *
23091     * @ingroup Map
23092     */
23093    EAPI double                elm_map_route_distance_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23094
23095    /**
23096     * Get the information of route nodes.
23097     *
23098     * @param route The route object.
23099     * @return Returns a string with the nodes of route.
23100     *
23101     * @ingroup Map
23102     */
23103    EAPI const char           *elm_map_route_node_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23104
23105    /**
23106     * Get the information of route waypoint.
23107     *
23108     * @param route the route object.
23109     * @return Returns a string with information about waypoint of route.
23110     *
23111     * @ingroup Map
23112     */
23113    EAPI const char           *elm_map_route_waypoint_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23114
23115    /**
23116     * Get the address of the name.
23117     *
23118     * @param name The name handle.
23119     * @return Returns the address string of @p name.
23120     *
23121     * This gets the coordinates of the @p name, created with one of the
23122     * conversion functions.
23123     *
23124     * @see elm_map_utils_convert_name_into_coord()
23125     * @see elm_map_utils_convert_coord_into_name()
23126     *
23127     * @ingroup Map
23128     */
23129    EAPI const char           *elm_map_name_address_get(const Elm_Map_Name *name) EINA_ARG_NONNULL(1);
23130
23131    /**
23132     * Get the current coordinates of the name.
23133     *
23134     * @param name The name handle.
23135     * @param lat Pointer where to store the latitude.
23136     * @param lon Pointer where to store The longitude.
23137     *
23138     * This gets the coordinates of the @p name, created with one of the
23139     * conversion functions.
23140     *
23141     * @see elm_map_utils_convert_name_into_coord()
23142     * @see elm_map_utils_convert_coord_into_name()
23143     *
23144     * @ingroup Map
23145     */
23146    EAPI void                  elm_map_name_region_get(const Elm_Map_Name *name, double *lon, double *lat) EINA_ARG_NONNULL(1);
23147
23148    /**
23149     * Remove a name from the map.
23150     *
23151     * @param name The name to remove.
23152     *
23153     * Basically the struct handled by @p name will be freed, so convertions
23154     * between address and coordinates will be lost.
23155     *
23156     * @see elm_map_utils_convert_name_into_coord()
23157     * @see elm_map_utils_convert_coord_into_name()
23158     *
23159     * @ingroup Map
23160     */
23161    EAPI void                  elm_map_name_remove(Elm_Map_Name *name) EINA_ARG_NONNULL(1);
23162
23163    /**
23164     * Rotate the map.
23165     *
23166     * @param obj The map object.
23167     * @param degree Angle from 0.0 to 360.0 to rotate arount Z axis.
23168     * @param cx Rotation's center horizontal position.
23169     * @param cy Rotation's center vertical position.
23170     *
23171     * @see elm_map_rotate_get()
23172     *
23173     * @ingroup Map
23174     */
23175    EAPI void                  elm_map_rotate_set(Evas_Object *obj, double degree, Evas_Coord cx, Evas_Coord cy) EINA_ARG_NONNULL(1);
23176
23177    /**
23178     * Get the rotate degree of the map
23179     *
23180     * @param obj The map object
23181     * @param degree Pointer where to store degrees from 0.0 to 360.0
23182     * to rotate arount Z axis.
23183     * @param cx Pointer where to store rotation's center horizontal position.
23184     * @param cy Pointer where to store rotation's center vertical position.
23185     *
23186     * @see elm_map_rotate_set() to set map rotation.
23187     *
23188     * @ingroup Map
23189     */
23190    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);
23191
23192    /**
23193     * Enable or disable mouse wheel to be used to zoom in / out the map.
23194     *
23195     * @param obj The map object.
23196     * @param disabled Use @c EINA_TRUE to disable mouse wheel or @c EINA_FALSE
23197     * to enable it.
23198     *
23199     * Mouse wheel can be used for the user to zoom in or zoom out the map.
23200     *
23201     * It's disabled by default.
23202     *
23203     * @see elm_map_wheel_disabled_get()
23204     *
23205     * @ingroup Map
23206     */
23207    EAPI void                  elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
23208
23209    /**
23210     * Get a value whether mouse wheel is enabled or not.
23211     *
23212     * @param obj The map object.
23213     * @return @c EINA_TRUE means map is disabled. @c EINA_FALSE indicates
23214     * it is enabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
23215     *
23216     * Mouse wheel can be used for the user to zoom in or zoom out the map.
23217     *
23218     * @see elm_map_wheel_disabled_set() for details.
23219     *
23220     * @ingroup Map
23221     */
23222    EAPI Eina_Bool             elm_map_wheel_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23223
23224 #ifdef ELM_EMAP
23225    /**
23226     * Add a track on the map
23227     *
23228     * @param obj The map object.
23229     * @param emap The emap route object.
23230     * @return The route object. This is an elm object of type Route.
23231     *
23232     * @see elm_route_add() for details.
23233     *
23234     * @ingroup Map
23235     */
23236    EAPI Evas_Object          *elm_map_track_add(Evas_Object *obj, EMap_Route *emap) EINA_ARG_NONNULL(1);
23237 #endif
23238
23239    /**
23240     * Remove a track from the map
23241     *
23242     * @param obj The map object.
23243     * @param route The track to remove.
23244     *
23245     * @ingroup Map
23246     */
23247    EAPI void                  elm_map_track_remove(Evas_Object *obj, Evas_Object *route) EINA_ARG_NONNULL(1);
23248
23249    /**
23250     * @}
23251     */
23252
23253    /* Route */
23254    EAPI Evas_Object *elm_route_add(Evas_Object *parent);
23255 #ifdef ELM_EMAP
23256    EAPI void elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
23257 #endif
23258    EAPI double elm_route_lon_min_get(Evas_Object *obj);
23259    EAPI double elm_route_lat_min_get(Evas_Object *obj);
23260    EAPI double elm_route_lon_max_get(Evas_Object *obj);
23261    EAPI double elm_route_lat_max_get(Evas_Object *obj);
23262
23263
23264    /**
23265     * @defgroup Panel Panel
23266     *
23267     * @image html img/widget/panel/preview-00.png
23268     * @image latex img/widget/panel/preview-00.eps
23269     *
23270     * @brief A panel is a type of animated container that contains subobjects.
23271     * It can be expanded or contracted by clicking the button on it's edge.
23272     *
23273     * Orientations are as follows:
23274     * @li ELM_PANEL_ORIENT_TOP
23275     * @li ELM_PANEL_ORIENT_LEFT
23276     * @li ELM_PANEL_ORIENT_RIGHT
23277     *
23278     * @ref tutorial_panel shows one way to use this widget.
23279     * @{
23280     */
23281    typedef enum _Elm_Panel_Orient
23282      {
23283         ELM_PANEL_ORIENT_TOP, /**< Panel (dis)appears from the top */
23284         ELM_PANEL_ORIENT_BOTTOM, /**< Not implemented */
23285         ELM_PANEL_ORIENT_LEFT, /**< Panel (dis)appears from the left */
23286         ELM_PANEL_ORIENT_RIGHT, /**< Panel (dis)appears from the right */
23287      } Elm_Panel_Orient;
23288    /**
23289     * @brief Adds a panel object
23290     *
23291     * @param parent The parent object
23292     *
23293     * @return The panel object, or NULL on failure
23294     */
23295    EAPI Evas_Object          *elm_panel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
23296    /**
23297     * @brief Sets the orientation of the panel
23298     *
23299     * @param parent The parent object
23300     * @param orient The panel orientation. Can be one of the following:
23301     * @li ELM_PANEL_ORIENT_TOP
23302     * @li ELM_PANEL_ORIENT_LEFT
23303     * @li ELM_PANEL_ORIENT_RIGHT
23304     *
23305     * Sets from where the panel will (dis)appear.
23306     */
23307    EAPI void                  elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient) EINA_ARG_NONNULL(1);
23308    /**
23309     * @brief Get the orientation of the panel.
23310     *
23311     * @param obj The panel object
23312     * @return The Elm_Panel_Orient, or ELM_PANEL_ORIENT_LEFT on failure.
23313     */
23314    EAPI Elm_Panel_Orient      elm_panel_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23315    /**
23316     * @brief Set the content of the panel.
23317     *
23318     * @param obj The panel object
23319     * @param content The panel content
23320     *
23321     * Once the content object is set, a previously set one will be deleted.
23322     * If you want to keep that old content object, use the
23323     * elm_panel_content_unset() function.
23324     */
23325    EAPI void                  elm_panel_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23326    /**
23327     * @brief Get the content of the panel.
23328     *
23329     * @param obj The panel object
23330     * @return The content that is being used
23331     *
23332     * Return the content object which is set for this widget.
23333     *
23334     * @see elm_panel_content_set()
23335     */
23336    EAPI Evas_Object          *elm_panel_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23337    /**
23338     * @brief Unset the content of the panel.
23339     *
23340     * @param obj The panel object
23341     * @return The content that was being used
23342     *
23343     * Unparent and return the content object which was set for this widget.
23344     *
23345     * @see elm_panel_content_set()
23346     */
23347    EAPI Evas_Object          *elm_panel_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23348    /**
23349     * @brief Set the state of the panel.
23350     *
23351     * @param obj The panel object
23352     * @param hidden If true, the panel will run the animation to contract
23353     */
23354    EAPI void                  elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden) EINA_ARG_NONNULL(1);
23355    /**
23356     * @brief Get the state of the panel.
23357     *
23358     * @param obj The panel object
23359     * @param hidden If true, the panel is in the "hide" state
23360     */
23361    EAPI Eina_Bool             elm_panel_hidden_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23362    /**
23363     * @brief Toggle the hidden state of the panel from code
23364     *
23365     * @param obj The panel object
23366     */
23367    EAPI void                  elm_panel_toggle(Evas_Object *obj) EINA_ARG_NONNULL(1);
23368    /**
23369     * @}
23370     */
23371
23372    /**
23373     * @defgroup Panes Panes
23374     * @ingroup Elementary
23375     *
23376     * @image html img/widget/panes/preview-00.png
23377     * @image latex img/widget/panes/preview-00.eps width=\textwidth
23378     *
23379     * @image html img/panes.png
23380     * @image latex img/panes.eps width=\textwidth
23381     *
23382     * The panes adds a dragable bar between two contents. When dragged
23383     * this bar will resize contents size.
23384     *
23385     * Panes can be displayed vertically or horizontally, and contents
23386     * size proportion can be customized (homogeneous by default).
23387     *
23388     * Smart callbacks one can listen to:
23389     * - "press" - The panes has been pressed (button wasn't released yet).
23390     * - "unpressed" - The panes was released after being pressed.
23391     * - "clicked" - The panes has been clicked>
23392     * - "clicked,double" - The panes has been double clicked
23393     *
23394     * Available styles for it:
23395     * - @c "default"
23396     *
23397     * Here is an example on its usage:
23398     * @li @ref panes_example
23399     */
23400
23401    /**
23402     * @addtogroup Panes
23403     * @{
23404     */
23405
23406    /**
23407     * Add a new panes widget to the given parent Elementary
23408     * (container) object.
23409     *
23410     * @param parent The parent object.
23411     * @return a new panes widget handle or @c NULL, on errors.
23412     *
23413     * This function inserts a new panes widget on the canvas.
23414     *
23415     * @ingroup Panes
23416     */
23417    EAPI Evas_Object          *elm_panes_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
23418
23419    /**
23420     * Set the left content of the panes widget.
23421     *
23422     * @param obj The panes object.
23423     * @param content The new left content object.
23424     *
23425     * Once the content object is set, a previously set one will be deleted.
23426     * If you want to keep that old content object, use the
23427     * elm_panes_content_left_unset() function.
23428     *
23429     * If panes is displayed vertically, left content will be displayed at
23430     * top.
23431     *
23432     * @see elm_panes_content_left_get()
23433     * @see elm_panes_content_right_set() to set content on the other side.
23434     *
23435     * @ingroup Panes
23436     */
23437    EAPI void                  elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23438
23439    /**
23440     * Set the right content of the panes widget.
23441     *
23442     * @param obj The panes object.
23443     * @param content The new right content object.
23444     *
23445     * Once the content object is set, a previously set one will be deleted.
23446     * If you want to keep that old content object, use the
23447     * elm_panes_content_right_unset() function.
23448     *
23449     * If panes is displayed vertically, left content will be displayed at
23450     * bottom.
23451     *
23452     * @see elm_panes_content_right_get()
23453     * @see elm_panes_content_left_set() to set content on the other side.
23454     *
23455     * @ingroup Panes
23456     */
23457    EAPI void                  elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23458
23459    /**
23460     * Get the left content of the panes.
23461     *
23462     * @param obj The panes object.
23463     * @return The left content object that is being used.
23464     *
23465     * Return the left content object which is set for this widget.
23466     *
23467     * @see elm_panes_content_left_set() for details.
23468     *
23469     * @ingroup Panes
23470     */
23471    EAPI Evas_Object          *elm_panes_content_left_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23472
23473    /**
23474     * Get the right content of the panes.
23475     *
23476     * @param obj The panes object
23477     * @return The right content object that is being used
23478     *
23479     * Return the right content object which is set for this widget.
23480     *
23481     * @see elm_panes_content_right_set() for details.
23482     *
23483     * @ingroup Panes
23484     */
23485    EAPI Evas_Object          *elm_panes_content_right_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23486
23487    /**
23488     * Unset the left content used for the panes.
23489     *
23490     * @param obj The panes object.
23491     * @return The left content object that was being used.
23492     *
23493     * Unparent and return the left content object which was set for this widget.
23494     *
23495     * @see elm_panes_content_left_set() for details.
23496     * @see elm_panes_content_left_get().
23497     *
23498     * @ingroup Panes
23499     */
23500    EAPI Evas_Object          *elm_panes_content_left_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23501
23502    /**
23503     * Unset the right content used for the panes.
23504     *
23505     * @param obj The panes object.
23506     * @return The right content object that was being used.
23507     *
23508     * Unparent and return the right content object which was set for this
23509     * widget.
23510     *
23511     * @see elm_panes_content_right_set() for details.
23512     * @see elm_panes_content_right_get().
23513     *
23514     * @ingroup Panes
23515     */
23516    EAPI Evas_Object          *elm_panes_content_right_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23517
23518    /**
23519     * Get the size proportion of panes widget's left side.
23520     *
23521     * @param obj The panes object.
23522     * @return float value between 0.0 and 1.0 representing size proportion
23523     * of left side.
23524     *
23525     * @see elm_panes_content_left_size_set() for more details.
23526     *
23527     * @ingroup Panes
23528     */
23529    EAPI double                elm_panes_content_left_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23530
23531    /**
23532     * Set the size proportion of panes widget's left side.
23533     *
23534     * @param obj The panes object.
23535     * @param size Value between 0.0 and 1.0 representing size proportion
23536     * of left side.
23537     *
23538     * By default it's homogeneous, i.e., both sides have the same size.
23539     *
23540     * If something different is required, it can be set with this function.
23541     * For example, if the left content should be displayed over
23542     * 75% of the panes size, @p size should be passed as @c 0.75.
23543     * This way, right content will be resized to 25% of panes size.
23544     *
23545     * If displayed vertically, left content is displayed at top, and
23546     * right content at bottom.
23547     *
23548     * @note This proportion will change when user drags the panes bar.
23549     *
23550     * @see elm_panes_content_left_size_get()
23551     *
23552     * @ingroup Panes
23553     */
23554    EAPI void                  elm_panes_content_left_size_set(Evas_Object *obj, double size) EINA_ARG_NONNULL(1);
23555
23556   /**
23557    * Set the orientation of a given panes widget.
23558    *
23559    * @param obj The panes object.
23560    * @param horizontal Use @c EINA_TRUE to make @p obj to be
23561    * @b horizontal, @c EINA_FALSE to make it @b vertical.
23562    *
23563    * Use this function to change how your panes is to be
23564    * disposed: vertically or horizontally.
23565    *
23566    * By default it's displayed horizontally.
23567    *
23568    * @see elm_panes_horizontal_get()
23569    *
23570    * @ingroup Panes
23571    */
23572    EAPI void                  elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
23573
23574    /**
23575     * Retrieve the orientation of a given panes widget.
23576     *
23577     * @param obj The panes object.
23578     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
23579     * @c EINA_FALSE if it's @b vertical (and on errors).
23580     *
23581     * @see elm_panes_horizontal_set() for more details.
23582     *
23583     * @ingroup Panes
23584     */
23585    EAPI Eina_Bool             elm_panes_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23586
23587    /**
23588     * @}
23589     */
23590
23591    /**
23592     * @defgroup Flip Flip
23593     *
23594     * @image html img/widget/flip/preview-00.png
23595     * @image latex img/widget/flip/preview-00.eps
23596     *
23597     * This widget holds 2 content objects(Evas_Object): one on the front and one
23598     * on the back. It allows you to flip from front to back and vice-versa using
23599     * various animations.
23600     *
23601     * If either the front or back contents are not set the flip will treat that
23602     * as transparent. So if you wore to set the front content but not the back,
23603     * and then call elm_flip_go() you would see whatever is below the flip.
23604     *
23605     * For a list of supported animations see elm_flip_go().
23606     *
23607     * Signals that you can add callbacks for are:
23608     * "animate,begin" - when a flip animation was started
23609     * "animate,done" - when a flip animation is finished
23610     *
23611     * @ref tutorial_flip show how to use most of the API.
23612     *
23613     * @{
23614     */
23615    typedef enum _Elm_Flip_Mode
23616      {
23617         ELM_FLIP_ROTATE_Y_CENTER_AXIS,
23618         ELM_FLIP_ROTATE_X_CENTER_AXIS,
23619         ELM_FLIP_ROTATE_XZ_CENTER_AXIS,
23620         ELM_FLIP_ROTATE_YZ_CENTER_AXIS,
23621         ELM_FLIP_CUBE_LEFT,
23622         ELM_FLIP_CUBE_RIGHT,
23623         ELM_FLIP_CUBE_UP,
23624         ELM_FLIP_CUBE_DOWN,
23625         ELM_FLIP_PAGE_LEFT,
23626         ELM_FLIP_PAGE_RIGHT,
23627         ELM_FLIP_PAGE_UP,
23628         ELM_FLIP_PAGE_DOWN
23629      } Elm_Flip_Mode;
23630    typedef enum _Elm_Flip_Interaction
23631      {
23632         ELM_FLIP_INTERACTION_NONE,
23633         ELM_FLIP_INTERACTION_ROTATE,
23634         ELM_FLIP_INTERACTION_CUBE,
23635         ELM_FLIP_INTERACTION_PAGE
23636      } Elm_Flip_Interaction;
23637    typedef enum _Elm_Flip_Direction
23638      {
23639         ELM_FLIP_DIRECTION_UP, /**< Allows interaction with the top of the widget */
23640         ELM_FLIP_DIRECTION_DOWN, /**< Allows interaction with the bottom of the widget */
23641         ELM_FLIP_DIRECTION_LEFT, /**< Allows interaction with the left portion of the widget */
23642         ELM_FLIP_DIRECTION_RIGHT /**< Allows interaction with the right portion of the widget */
23643      } Elm_Flip_Direction;
23644    /**
23645     * @brief Add a new flip to the parent
23646     *
23647     * @param parent The parent object
23648     * @return The new object or NULL if it cannot be created
23649     */
23650    EAPI Evas_Object *elm_flip_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
23651    /**
23652     * @brief Set the front content of the flip widget.
23653     *
23654     * @param obj The flip object
23655     * @param content The new front content object
23656     *
23657     * Once the content object is set, a previously set one will be deleted.
23658     * If you want to keep that old content object, use the
23659     * elm_flip_content_front_unset() function.
23660     */
23661    EAPI void         elm_flip_content_front_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23662    /**
23663     * @brief Set the back content of the flip widget.
23664     *
23665     * @param obj The flip object
23666     * @param content The new back content object
23667     *
23668     * Once the content object is set, a previously set one will be deleted.
23669     * If you want to keep that old content object, use the
23670     * elm_flip_content_back_unset() function.
23671     */
23672    EAPI void         elm_flip_content_back_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23673    /**
23674     * @brief Get the front content used for the flip
23675     *
23676     * @param obj The flip object
23677     * @return The front content object that is being used
23678     *
23679     * Return the front content object which is set for this widget.
23680     */
23681    EAPI Evas_Object *elm_flip_content_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23682    /**
23683     * @brief Get the back content used for the flip
23684     *
23685     * @param obj The flip object
23686     * @return The back content object that is being used
23687     *
23688     * Return the back content object which is set for this widget.
23689     */
23690    EAPI Evas_Object *elm_flip_content_back_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23691    /**
23692     * @brief Unset the front content used for the flip
23693     *
23694     * @param obj The flip object
23695     * @return The front content object that was being used
23696     *
23697     * Unparent and return the front content object which was set for this widget.
23698     */
23699    EAPI Evas_Object *elm_flip_content_front_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23700    /**
23701     * @brief Unset the back content used for the flip
23702     *
23703     * @param obj The flip object
23704     * @return The back content object that was being used
23705     *
23706     * Unparent and return the back content object which was set for this widget.
23707     */
23708    EAPI Evas_Object *elm_flip_content_back_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23709    /**
23710     * @brief Get flip front visibility state
23711     *
23712     * @param obj The flip objct
23713     * @return EINA_TRUE if front front is showing, EINA_FALSE if the back is
23714     * showing.
23715     */
23716    EAPI Eina_Bool    elm_flip_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23717    /**
23718     * @brief Set flip perspective
23719     *
23720     * @param obj The flip object
23721     * @param foc The coordinate to set the focus on
23722     * @param x The X coordinate
23723     * @param y The Y coordinate
23724     *
23725     * @warning This function currently does nothing.
23726     */
23727    EAPI void         elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
23728    /**
23729     * @brief Runs the flip animation
23730     *
23731     * @param obj The flip object
23732     * @param mode The mode type
23733     *
23734     * Flips the front and back contents using the @p mode animation. This
23735     * efectively hides the currently visible content and shows the hidden one.
23736     *
23737     * There a number of possible animations to use for the flipping:
23738     * @li ELM_FLIP_ROTATE_X_CENTER_AXIS - Rotate the currently visible content
23739     * around a horizontal axis in the middle of its height, the other content
23740     * is shown as the other side of the flip.
23741     * @li ELM_FLIP_ROTATE_Y_CENTER_AXIS - Rotate the currently visible content
23742     * around a vertical axis in the middle of its width, the other content is
23743     * shown as the other side of the flip.
23744     * @li ELM_FLIP_ROTATE_XZ_CENTER_AXIS - Rotate the currently visible content
23745     * around a diagonal axis in the middle of its width, the other content is
23746     * shown as the other side of the flip.
23747     * @li ELM_FLIP_ROTATE_YZ_CENTER_AXIS - Rotate the currently visible content
23748     * around a diagonal axis in the middle of its height, the other content is
23749     * shown as the other side of the flip.
23750     * @li ELM_FLIP_CUBE_LEFT - Rotate the currently visible content to the left
23751     * as if the flip was a cube, the other content is show as the right face of
23752     * the cube.
23753     * @li ELM_FLIP_CUBE_RIGHT - Rotate the currently visible content to the
23754     * right as if the flip was a cube, the other content is show as the left
23755     * face of the cube.
23756     * @li ELM_FLIP_CUBE_UP - Rotate the currently visible content up as if the
23757     * flip was a cube, the other content is show as the bottom face of the cube.
23758     * @li ELM_FLIP_CUBE_DOWN - Rotate the currently visible content down as if
23759     * the flip was a cube, the other content is show as the upper face of the
23760     * cube.
23761     * @li ELM_FLIP_PAGE_LEFT - Move the currently visible content to the left as
23762     * if the flip was a book, the other content is shown as the page below that.
23763     * @li ELM_FLIP_PAGE_RIGHT - Move the currently visible content to the right
23764     * as if the flip was a book, the other content is shown as the page below
23765     * that.
23766     * @li ELM_FLIP_PAGE_UP - Move the currently visible content up as if the
23767     * flip was a book, the other content is shown as the page below that.
23768     * @li ELM_FLIP_PAGE_DOWN - Move the currently visible content down as if the
23769     * flip was a book, the other content is shown as the page below that.
23770     *
23771     * @image html elm_flip.png
23772     * @image latex elm_flip.eps width=\textwidth
23773     */
23774    EAPI void         elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode) EINA_ARG_NONNULL(1);
23775    /**
23776     * @brief Set the interactive flip mode
23777     *
23778     * @param obj The flip object
23779     * @param mode The interactive flip mode to use
23780     *
23781     * This sets if the flip should be interactive (allow user to click and
23782     * drag a side of the flip to reveal the back page and cause it to flip).
23783     * By default a flip is not interactive. You may also need to set which
23784     * sides of the flip are "active" for flipping and how much space they use
23785     * (a minimum of a finger size) with elm_flip_interacton_direction_enabled_set()
23786     * and elm_flip_interacton_direction_hitsize_set()
23787     *
23788     * The four avilable mode of interaction are:
23789     * @li ELM_FLIP_INTERACTION_NONE - No interaction is allowed
23790     * @li ELM_FLIP_INTERACTION_ROTATE - Interaction will cause rotate animation
23791     * @li ELM_FLIP_INTERACTION_CUBE - Interaction will cause cube animation
23792     * @li ELM_FLIP_INTERACTION_PAGE - Interaction will cause page animation
23793     *
23794     * @note ELM_FLIP_INTERACTION_ROTATE won't cause
23795     * ELM_FLIP_ROTATE_XZ_CENTER_AXIS or ELM_FLIP_ROTATE_YZ_CENTER_AXIS to
23796     * happen, those can only be acheived with elm_flip_go();
23797     */
23798    EAPI void         elm_flip_interaction_set(Evas_Object *obj, Elm_Flip_Interaction mode);
23799    /**
23800     * @brief Get the interactive flip mode
23801     *
23802     * @param obj The flip object
23803     * @return The interactive flip mode
23804     *
23805     * Returns the interactive flip mode set by elm_flip_interaction_set()
23806     */
23807    EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Evas_Object *obj);
23808    /**
23809     * @brief Set which directions of the flip respond to interactive flip
23810     *
23811     * @param obj The flip object
23812     * @param dir The direction to change
23813     * @param enabled If that direction is enabled or not
23814     *
23815     * By default all directions are disabled, so you may want to enable the
23816     * desired directions for flipping if you need interactive flipping. You must
23817     * call this function once for each direction that should be enabled.
23818     *
23819     * @see elm_flip_interaction_set()
23820     */
23821    EAPI void         elm_flip_interacton_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled);
23822    /**
23823     * @brief Get the enabled state of that flip direction
23824     *
23825     * @param obj The flip object
23826     * @param dir The direction to check
23827     * @return If that direction is enabled or not
23828     *
23829     * Gets the enabled state set by elm_flip_interacton_direction_enabled_set()
23830     *
23831     * @see elm_flip_interaction_set()
23832     */
23833    EAPI Eina_Bool    elm_flip_interacton_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir);
23834    /**
23835     * @brief Set the amount of the flip that is sensitive to interactive flip
23836     *
23837     * @param obj The flip object
23838     * @param dir The direction to modify
23839     * @param hitsize The amount of that dimension (0.0 to 1.0) to use
23840     *
23841     * Set the amount of the flip that is sensitive to interactive flip, with 0
23842     * representing no area in the flip and 1 representing the entire flip. There
23843     * is however a consideration to be made in that the area will never be
23844     * smaller than the finger size set(as set in your Elementary configuration).
23845     *
23846     * @see elm_flip_interaction_set()
23847     */
23848    EAPI void         elm_flip_interacton_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize);
23849    /**
23850     * @brief Get the amount of the flip that is sensitive to interactive flip
23851     *
23852     * @param obj The flip object
23853     * @param dir The direction to check
23854     * @return The size set for that direction
23855     *
23856     * Returns the amount os sensitive area set by
23857     * elm_flip_interacton_direction_hitsize_set().
23858     */
23859    EAPI double       elm_flip_interacton_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir);
23860    /**
23861     * @}
23862     */
23863
23864    /* scrolledentry */
23865    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
23866    EINA_DEPRECATED EAPI void         elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
23867    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23868    EINA_DEPRECATED EAPI void         elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
23869    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23870    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
23871    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23872    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
23873    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23874    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23875    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
23876    EINA_DEPRECATED EAPI void         elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
23877    EINA_DEPRECATED EAPI void         elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
23878    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23879    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
23880    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
23881    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
23882    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
23883    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
23884    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
23885    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
23886    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
23887    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
23888    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
23889    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
23890    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
23891    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23892    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23893    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23894    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
23895    EINA_DEPRECATED EAPI int          elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23896    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
23897    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
23898    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
23899    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
23900    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);
23901    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
23902    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23903    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);
23904    EINA_DEPRECATED EAPI void         elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
23905    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);
23906    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1, 2);
23907    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23908    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23909    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
23910    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1, 2);
23911    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23912    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23913    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
23914    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);
23915    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);
23916    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);
23917    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);
23918    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);
23919    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);
23920    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
23921    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
23922    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
23923    EINA_DEPRECATED EAPI void         elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
23924    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23925    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
23926    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
23927
23928    /**
23929     * @defgroup Conformant Conformant
23930     * @ingroup Elementary
23931     *
23932     * @image html img/widget/conformant/preview-00.png
23933     * @image latex img/widget/conformant/preview-00.eps width=\textwidth
23934     *
23935     * @image html img/conformant.png
23936     * @image latex img/conformant.eps width=\textwidth
23937     *
23938     * The aim is to provide a widget that can be used in elementary apps to
23939     * account for space taken up by the indicator, virtual keypad & softkey
23940     * windows when running the illume2 module of E17.
23941     *
23942     * So conformant content will be sized and positioned considering the
23943     * space required for such stuff, and when they popup, as a keyboard
23944     * shows when an entry is selected, conformant content won't change.
23945     *
23946     * Available styles for it:
23947     * - @c "default"
23948     *
23949     * See how to use this widget in this example:
23950     * @ref conformant_example
23951     */
23952
23953    /**
23954     * @addtogroup Conformant
23955     * @{
23956     */
23957
23958    /**
23959     * Add a new conformant widget to the given parent Elementary
23960     * (container) object.
23961     *
23962     * @param parent The parent object.
23963     * @return A new conformant widget handle or @c NULL, on errors.
23964     *
23965     * This function inserts a new conformant widget on the canvas.
23966     *
23967     * @ingroup Conformant
23968     */
23969    EAPI Evas_Object *elm_conformant_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
23970
23971    /**
23972     * Set the content of the conformant widget.
23973     *
23974     * @param obj The conformant object.
23975     * @param content The content to be displayed by the conformant.
23976     *
23977     * Content will be sized and positioned considering the space required
23978     * to display a virtual keyboard. So it won't fill all the conformant
23979     * size. This way is possible to be sure that content won't resize
23980     * or be re-positioned after the keyboard is displayed.
23981     *
23982     * Once the content object is set, a previously set one will be deleted.
23983     * If you want to keep that old content object, use the
23984     * elm_conformat_content_unset() function.
23985     *
23986     * @see elm_conformant_content_unset()
23987     * @see elm_conformant_content_get()
23988     *
23989     * @ingroup Conformant
23990     */
23991    EAPI void         elm_conformant_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23992
23993    /**
23994     * Get the content of the conformant widget.
23995     *
23996     * @param obj The conformant object.
23997     * @return The content that is being used.
23998     *
23999     * Return the content object which is set for this widget.
24000     * It won't be unparent from conformant. For that, use
24001     * elm_conformant_content_unset().
24002     *
24003     * @see elm_conformant_content_set() for more details.
24004     * @see elm_conformant_content_unset()
24005     *
24006     * @ingroup Conformant
24007     */
24008    EAPI Evas_Object *elm_conformant_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24009
24010    /**
24011     * Unset the content of the conformant widget.
24012     *
24013     * @param obj The conformant object.
24014     * @return The content that was being used.
24015     *
24016     * Unparent and return the content object which was set for this widget.
24017     *
24018     * @see elm_conformant_content_set() for more details.
24019     *
24020     * @ingroup Conformant
24021     */
24022    EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24023
24024    /**
24025     * Returns the Evas_Object that represents the content area.
24026     *
24027     * @param obj The conformant object.
24028     * @return The content area of the widget.
24029     *
24030     * @ingroup Conformant
24031     */
24032    EAPI Evas_Object *elm_conformant_content_area_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24033
24034    /**
24035     * @}
24036     */
24037
24038    /**
24039     * @defgroup Mapbuf Mapbuf
24040     * @ingroup Elementary
24041     *
24042     * @image html img/widget/mapbuf/preview-00.png
24043     * @image latex img/widget/mapbuf/preview-00.eps width=\textwidth
24044     *
24045     * This holds one content object and uses an Evas Map of transformation
24046     * points to be later used with this content. So the content will be
24047     * moved, resized, etc as a single image. So it will improve performance
24048     * when you have a complex interafce, with a lot of elements, and will
24049     * need to resize or move it frequently (the content object and its
24050     * children).
24051     *
24052     * See how to use this widget in this example:
24053     * @ref mapbuf_example
24054     */
24055
24056    /**
24057     * @addtogroup Mapbuf
24058     * @{
24059     */
24060
24061    /**
24062     * Add a new mapbuf widget to the given parent Elementary
24063     * (container) object.
24064     *
24065     * @param parent The parent object.
24066     * @return A new mapbuf widget handle or @c NULL, on errors.
24067     *
24068     * This function inserts a new mapbuf widget on the canvas.
24069     *
24070     * @ingroup Mapbuf
24071     */
24072    EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24073
24074    /**
24075     * Set the content of the mapbuf.
24076     *
24077     * @param obj The mapbuf object.
24078     * @param content The content that will be filled in this mapbuf object.
24079     *
24080     * Once the content object is set, a previously set one will be deleted.
24081     * If you want to keep that old content object, use the
24082     * elm_mapbuf_content_unset() function.
24083     *
24084     * To enable map, elm_mapbuf_enabled_set() should be used.
24085     *
24086     * @ingroup Mapbuf
24087     */
24088    EAPI void         elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24089
24090    /**
24091     * Get the content of the mapbuf.
24092     *
24093     * @param obj The mapbuf object.
24094     * @return The content that is being used.
24095     *
24096     * Return the content object which is set for this widget.
24097     *
24098     * @see elm_mapbuf_content_set() for details.
24099     *
24100     * @ingroup Mapbuf
24101     */
24102    EAPI Evas_Object *elm_mapbuf_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24103
24104    /**
24105     * Unset the content of the mapbuf.
24106     *
24107     * @param obj The mapbuf object.
24108     * @return The content that was being used.
24109     *
24110     * Unparent and return the content object which was set for this widget.
24111     *
24112     * @see elm_mapbuf_content_set() for details.
24113     *
24114     * @ingroup Mapbuf
24115     */
24116    EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24117
24118    /**
24119     * Enable or disable the map.
24120     *
24121     * @param obj The mapbuf object.
24122     * @param enabled @c EINA_TRUE to enable map or @c EINA_FALSE to disable it.
24123     *
24124     * This enables the map that is set or disables it. On enable, the object
24125     * geometry will be saved, and the new geometry will change (position and
24126     * size) to reflect the map geometry set.
24127     *
24128     * Also, when enabled, alpha and smooth states will be used, so if the
24129     * content isn't solid, alpha should be enabled, for example, otherwise
24130     * a black retangle will fill the content.
24131     *
24132     * When disabled, the stored map will be freed and geometry prior to
24133     * enabling the map will be restored.
24134     *
24135     * It's disabled by default.
24136     *
24137     * @see elm_mapbuf_alpha_set()
24138     * @see elm_mapbuf_smooth_set()
24139     *
24140     * @ingroup Mapbuf
24141     */
24142    EAPI void         elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
24143
24144    /**
24145     * Get a value whether map is enabled or not.
24146     *
24147     * @param obj The mapbuf object.
24148     * @return @c EINA_TRUE means map is enabled. @c EINA_FALSE indicates
24149     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
24150     *
24151     * @see elm_mapbuf_enabled_set() for details.
24152     *
24153     * @ingroup Mapbuf
24154     */
24155    EAPI Eina_Bool    elm_mapbuf_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24156
24157    /**
24158     * Enable or disable smooth map rendering.
24159     *
24160     * @param obj The mapbuf object.
24161     * @param smooth @c EINA_TRUE to enable smooth map rendering or @c EINA_FALSE
24162     * to disable it.
24163     *
24164     * This sets smoothing for map rendering. If the object is a type that has
24165     * its own smoothing settings, then both the smooth settings for this object
24166     * and the map must be turned off.
24167     *
24168     * By default smooth maps are enabled.
24169     *
24170     * @ingroup Mapbuf
24171     */
24172    EAPI void         elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
24173
24174    /**
24175     * Get a value whether smooth map rendering is enabled or not.
24176     *
24177     * @param obj The mapbuf object.
24178     * @return @c EINA_TRUE means smooth map rendering is enabled. @c EINA_FALSE
24179     * indicates it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
24180     *
24181     * @see elm_mapbuf_smooth_set() for details.
24182     *
24183     * @ingroup Mapbuf
24184     */
24185    EAPI Eina_Bool    elm_mapbuf_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24186
24187    /**
24188     * Set or unset alpha flag for map rendering.
24189     *
24190     * @param obj The mapbuf object.
24191     * @param alpha @c EINA_TRUE to enable alpha blending or @c EINA_FALSE
24192     * to disable it.
24193     *
24194     * This sets alpha flag for map rendering. If the object is a type that has
24195     * its own alpha settings, then this will take precedence. Only image objects
24196     * have this currently. It stops alpha blending of the map area, and is
24197     * useful if you know the object and/or all sub-objects is 100% solid.
24198     *
24199     * Alpha is enabled by default.
24200     *
24201     * @ingroup Mapbuf
24202     */
24203    EAPI void         elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
24204
24205    /**
24206     * Get a value whether alpha blending is enabled or not.
24207     *
24208     * @param obj The mapbuf object.
24209     * @return @c EINA_TRUE means alpha blending is enabled. @c EINA_FALSE
24210     * indicates it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
24211     *
24212     * @see elm_mapbuf_alpha_set() for details.
24213     *
24214     * @ingroup Mapbuf
24215     */
24216    EAPI Eina_Bool    elm_mapbuf_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24217
24218    /**
24219     * @}
24220     */
24221
24222    /**
24223     * @defgroup Flipselector Flip Selector
24224     *
24225     * @image html img/widget/flipselector/preview-00.png
24226     * @image latex img/widget/flipselector/preview-00.eps
24227     *
24228     * A flip selector is a widget to show a set of @b text items, one
24229     * at a time, with the same sheet switching style as the @ref Clock
24230     * "clock" widget, when one changes the current displaying sheet
24231     * (thus, the "flip" in the name).
24232     *
24233     * User clicks to flip sheets which are @b held for some time will
24234     * make the flip selector to flip continuosly and automatically for
24235     * the user. The interval between flips will keep growing in time,
24236     * so that it helps the user to reach an item which is distant from
24237     * the current selection.
24238     *
24239     * Smart callbacks one can register to:
24240     * - @c "selected" - when the widget's selected text item is changed
24241     * - @c "overflowed" - when the widget's current selection is changed
24242     *   from the first item in its list to the last
24243     * - @c "underflowed" - when the widget's current selection is changed
24244     *   from the last item in its list to the first
24245     *
24246     * Available styles for it:
24247     * - @c "default"
24248     *
24249     * Here is an example on its usage:
24250     * @li @ref flipselector_example
24251     */
24252
24253    /**
24254     * @addtogroup Flipselector
24255     * @{
24256     */
24257
24258    typedef struct _Elm_Flipselector_Item Elm_Flipselector_Item; /**< Item handle for a flip selector widget. */
24259
24260    /**
24261     * Add a new flip selector widget to the given parent Elementary
24262     * (container) widget
24263     *
24264     * @param parent The parent object
24265     * @return a new flip selector widget handle or @c NULL, on errors
24266     *
24267     * This function inserts a new flip selector widget on the canvas.
24268     *
24269     * @ingroup Flipselector
24270     */
24271    EAPI Evas_Object               *elm_flipselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24272
24273    /**
24274     * Programmatically select the next item of a flip selector widget
24275     *
24276     * @param obj The flipselector object
24277     *
24278     * @note The selection will be animated. Also, if it reaches the
24279     * end of its list of member items, it will continue with the first
24280     * one onwards.
24281     *
24282     * @ingroup Flipselector
24283     */
24284    EAPI void                       elm_flipselector_flip_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
24285
24286    /**
24287     * Programmatically select the previous item of a flip selector
24288     * widget
24289     *
24290     * @param obj The flipselector object
24291     *
24292     * @note The selection will be animated.  Also, if it reaches the
24293     * beginning of its list of member items, it will continue with the
24294     * last one backwards.
24295     *
24296     * @ingroup Flipselector
24297     */
24298    EAPI void                       elm_flipselector_flip_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
24299
24300    /**
24301     * Append a (text) item to a flip selector widget
24302     *
24303     * @param obj The flipselector object
24304     * @param label The (text) label of the new item
24305     * @param func Convenience callback function to take place when
24306     * item is selected
24307     * @param data Data passed to @p func, above
24308     * @return A handle to the item added or @c NULL, on errors
24309     *
24310     * The widget's list of labels to show will be appended with the
24311     * given value. If the user wishes so, a callback function pointer
24312     * can be passed, which will get called when this same item is
24313     * selected.
24314     *
24315     * @note The current selection @b won't be modified by appending an
24316     * element to the list.
24317     *
24318     * @note The maximum length of the text label is going to be
24319     * determined <b>by the widget's theme</b>. Strings larger than
24320     * that value are going to be @b truncated.
24321     *
24322     * @ingroup Flipselector
24323     */
24324    EAPI Elm_Flipselector_Item     *elm_flipselector_item_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
24325
24326    /**
24327     * Prepend a (text) item to a flip selector widget
24328     *
24329     * @param obj The flipselector object
24330     * @param label The (text) label of the new item
24331     * @param func Convenience callback function to take place when
24332     * item is selected
24333     * @param data Data passed to @p func, above
24334     * @return A handle to the item added or @c NULL, on errors
24335     *
24336     * The widget's list of labels to show will be prepended with the
24337     * given value. If the user wishes so, a callback function pointer
24338     * can be passed, which will get called when this same item is
24339     * selected.
24340     *
24341     * @note The current selection @b won't be modified by prepending
24342     * an element to the list.
24343     *
24344     * @note The maximum length of the text label is going to be
24345     * determined <b>by the widget's theme</b>. Strings larger than
24346     * that value are going to be @b truncated.
24347     *
24348     * @ingroup Flipselector
24349     */
24350    EAPI Elm_Flipselector_Item     *elm_flipselector_item_prepend(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
24351
24352    /**
24353     * Get the internal list of items in a given flip selector widget.
24354     *
24355     * @param obj The flipselector object
24356     * @return The list of items (#Elm_Flipselector_Item as data) or
24357     * @c NULL on errors.
24358     *
24359     * This list is @b not to be modified in any way and must not be
24360     * freed. Use the list members with functions like
24361     * elm_flipselector_item_label_set(),
24362     * elm_flipselector_item_label_get(),
24363     * elm_flipselector_item_del(),
24364     * elm_flipselector_item_selected_get(),
24365     * elm_flipselector_item_selected_set().
24366     *
24367     * @warning This list is only valid until @p obj object's internal
24368     * items list is changed. It should be fetched again with another
24369     * call to this function when changes happen.
24370     *
24371     * @ingroup Flipselector
24372     */
24373    EAPI const Eina_List           *elm_flipselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24374
24375    /**
24376     * Get the first item in the given flip selector widget's list of
24377     * items.
24378     *
24379     * @param obj The flipselector object
24380     * @return The first item or @c NULL, if it has no items (and on
24381     * errors)
24382     *
24383     * @see elm_flipselector_item_append()
24384     * @see elm_flipselector_last_item_get()
24385     *
24386     * @ingroup Flipselector
24387     */
24388    EAPI Elm_Flipselector_Item     *elm_flipselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24389
24390    /**
24391     * Get the last item in the given flip selector widget's list of
24392     * items.
24393     *
24394     * @param obj The flipselector object
24395     * @return The last item or @c NULL, if it has no items (and on
24396     * errors)
24397     *
24398     * @see elm_flipselector_item_prepend()
24399     * @see elm_flipselector_first_item_get()
24400     *
24401     * @ingroup Flipselector
24402     */
24403    EAPI Elm_Flipselector_Item     *elm_flipselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24404
24405    /**
24406     * Get the currently selected item in a flip selector widget.
24407     *
24408     * @param obj The flipselector object
24409     * @return The selected item or @c NULL, if the widget has no items
24410     * (and on erros)
24411     *
24412     * @ingroup Flipselector
24413     */
24414    EAPI Elm_Flipselector_Item     *elm_flipselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24415
24416    /**
24417     * Set whether a given flip selector widget's item should be the
24418     * currently selected one.
24419     *
24420     * @param item The flip selector item
24421     * @param selected @c EINA_TRUE to select it, @c EINA_FALSE to unselect.
24422     *
24423     * This sets whether @p item is or not the selected (thus, under
24424     * display) one. If @p item is different than one under display,
24425     * the latter will be unselected. If the @p item is set to be
24426     * unselected, on the other hand, the @b first item in the widget's
24427     * internal members list will be the new selected one.
24428     *
24429     * @see elm_flipselector_item_selected_get()
24430     *
24431     * @ingroup Flipselector
24432     */
24433    EAPI void                       elm_flipselector_item_selected_set(Elm_Flipselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
24434
24435    /**
24436     * Get whether a given flip selector widget's item is the currently
24437     * selected one.
24438     *
24439     * @param item The flip selector item
24440     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
24441     * (or on errors).
24442     *
24443     * @see elm_flipselector_item_selected_set()
24444     *
24445     * @ingroup Flipselector
24446     */
24447    EAPI Eina_Bool                  elm_flipselector_item_selected_get(const Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24448
24449    /**
24450     * Delete a given item from a flip selector widget.
24451     *
24452     * @param item The item to delete
24453     *
24454     * @ingroup Flipselector
24455     */
24456    EAPI void                       elm_flipselector_item_del(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24457
24458    /**
24459     * Get the label of a given flip selector widget's item.
24460     *
24461     * @param item The item to get label from
24462     * @return The text label of @p item or @c NULL, on errors
24463     *
24464     * @see elm_flipselector_item_label_set()
24465     *
24466     * @ingroup Flipselector
24467     */
24468    EAPI const char                *elm_flipselector_item_label_get(const Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24469
24470    /**
24471     * Set the label of a given flip selector widget's item.
24472     *
24473     * @param item The item to set label on
24474     * @param label The text label string, in UTF-8 encoding
24475     *
24476     * @see elm_flipselector_item_label_get()
24477     *
24478     * @ingroup Flipselector
24479     */
24480    EAPI void                       elm_flipselector_item_label_set(Elm_Flipselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
24481
24482    /**
24483     * Gets the item before @p item in a flip selector widget's
24484     * internal list of items.
24485     *
24486     * @param item The item to fetch previous from
24487     * @return The item before the @p item, in its parent's list. If
24488     *         there is no previous item for @p item or there's an
24489     *         error, @c NULL is returned.
24490     *
24491     * @see elm_flipselector_item_next_get()
24492     *
24493     * @ingroup Flipselector
24494     */
24495    EAPI Elm_Flipselector_Item     *elm_flipselector_item_prev_get(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24496
24497    /**
24498     * Gets the item after @p item in a flip selector widget's
24499     * internal list of items.
24500     *
24501     * @param item The item to fetch next from
24502     * @return The item after the @p item, in its parent's list. If
24503     *         there is no next item for @p item or there's an
24504     *         error, @c NULL is returned.
24505     *
24506     * @see elm_flipselector_item_next_get()
24507     *
24508     * @ingroup Flipselector
24509     */
24510    EAPI Elm_Flipselector_Item     *elm_flipselector_item_next_get(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24511
24512    /**
24513     * Set the interval on time updates for an user mouse button hold
24514     * on a flip selector widget.
24515     *
24516     * @param obj The flip selector object
24517     * @param interval The (first) interval value in seconds
24518     *
24519     * This interval value is @b decreased while the user holds the
24520     * mouse pointer either flipping up or flipping doww a given flip
24521     * selector.
24522     *
24523     * This helps the user to get to a given item distant from the
24524     * current one easier/faster, as it will start to flip quicker and
24525     * quicker on mouse button holds.
24526     *
24527     * The calculation for the next flip interval value, starting from
24528     * the one set with this call, is the previous interval divided by
24529     * 1.05, so it decreases a little bit.
24530     *
24531     * The default starting interval value for automatic flips is
24532     * @b 0.85 seconds.
24533     *
24534     * @see elm_flipselector_interval_get()
24535     *
24536     * @ingroup Flipselector
24537     */
24538    EAPI void                       elm_flipselector_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
24539
24540    /**
24541     * Get the interval on time updates for an user mouse button hold
24542     * on a flip selector widget.
24543     *
24544     * @param obj The flip selector object
24545     * @return The (first) interval value, in seconds, set on it
24546     *
24547     * @see elm_flipselector_interval_set() for more details
24548     *
24549     * @ingroup Flipselector
24550     */
24551    EAPI double                     elm_flipselector_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24552    /**
24553     * @}
24554     */
24555
24556    /**
24557     * @addtogroup Calendar
24558     * @{
24559     */
24560
24561    /**
24562     * @enum _Elm_Calendar_Mark_Repeat
24563     * @typedef Elm_Calendar_Mark_Repeat
24564     *
24565     * Event periodicity, used to define if a mark should be repeated
24566     * @b beyond event's day. It's set when a mark is added.
24567     *
24568     * So, for a mark added to 13th May with periodicity set to WEEKLY,
24569     * there will be marks every week after this date. Marks will be displayed
24570     * at 13th, 20th, 27th, 3rd June ...
24571     *
24572     * Values don't work as bitmask, only one can be choosen.
24573     *
24574     * @see elm_calendar_mark_add()
24575     *
24576     * @ingroup Calendar
24577     */
24578    typedef enum _Elm_Calendar_Mark_Repeat
24579      {
24580         ELM_CALENDAR_UNIQUE, /**< Default value. Marks will be displayed only on event day. */
24581         ELM_CALENDAR_DAILY, /**< Marks will be displayed everyday after event day (inclusive). */
24582         ELM_CALENDAR_WEEKLY, /**< Marks will be displayed every week after event day (inclusive) - i.e. each seven days. */
24583         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*/
24584         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. */
24585      } Elm_Calendar_Mark_Repeat;
24586
24587    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(). */
24588
24589    /**
24590     * Add a new calendar widget to the given parent Elementary
24591     * (container) object.
24592     *
24593     * @param parent The parent object.
24594     * @return a new calendar widget handle or @c NULL, on errors.
24595     *
24596     * This function inserts a new calendar widget on the canvas.
24597     *
24598     * @ref calendar_example_01
24599     *
24600     * @ingroup Calendar
24601     */
24602    EAPI Evas_Object       *elm_calendar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24603
24604    /**
24605     * Get weekdays names displayed by the calendar.
24606     *
24607     * @param obj The calendar object.
24608     * @return Array of seven strings to be used as weekday names.
24609     *
24610     * By default, weekdays abbreviations get from system are displayed:
24611     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
24612     * The first string is related to Sunday, the second to Monday...
24613     *
24614     * @see elm_calendar_weekdays_name_set()
24615     *
24616     * @ref calendar_example_05
24617     *
24618     * @ingroup Calendar
24619     */
24620    EAPI const char       **elm_calendar_weekdays_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24621
24622    /**
24623     * Set weekdays names to be displayed by the calendar.
24624     *
24625     * @param obj The calendar object.
24626     * @param weekdays Array of seven strings to be used as weekday names.
24627     * @warning It must have 7 elements, or it will access invalid memory.
24628     * @warning The strings must be NULL terminated ('@\0').
24629     *
24630     * By default, weekdays abbreviations get from system are displayed:
24631     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
24632     *
24633     * The first string should be related to Sunday, the second to Monday...
24634     *
24635     * The usage should be like this:
24636     * @code
24637     *   const char *weekdays[] =
24638     *   {
24639     *      "Sunday", "Monday", "Tuesday", "Wednesday",
24640     *      "Thursday", "Friday", "Saturday"
24641     *   };
24642     *   elm_calendar_weekdays_names_set(calendar, weekdays);
24643     * @endcode
24644     *
24645     * @see elm_calendar_weekdays_name_get()
24646     *
24647     * @ref calendar_example_02
24648     *
24649     * @ingroup Calendar
24650     */
24651    EAPI void               elm_calendar_weekdays_names_set(Evas_Object *obj, const char *weekdays[]) EINA_ARG_NONNULL(1, 2);
24652
24653    /**
24654     * Set the minimum and maximum values for the year
24655     *
24656     * @param obj The calendar object
24657     * @param min The minimum year, greater than 1901;
24658     * @param max The maximum year;
24659     *
24660     * Maximum must be greater than minimum, except if you don't wan't to set
24661     * maximum year.
24662     * Default values are 1902 and -1.
24663     *
24664     * If the maximum year is a negative value, it will be limited depending
24665     * on the platform architecture (year 2037 for 32 bits);
24666     *
24667     * @see elm_calendar_min_max_year_get()
24668     *
24669     * @ref calendar_example_03
24670     *
24671     * @ingroup Calendar
24672     */
24673    EAPI void               elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max) EINA_ARG_NONNULL(1);
24674
24675    /**
24676     * Get the minimum and maximum values for the year
24677     *
24678     * @param obj The calendar object.
24679     * @param min The minimum year.
24680     * @param max The maximum year.
24681     *
24682     * Default values are 1902 and -1.
24683     *
24684     * @see elm_calendar_min_max_year_get() for more details.
24685     *
24686     * @ref calendar_example_05
24687     *
24688     * @ingroup Calendar
24689     */
24690    EAPI void               elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max) EINA_ARG_NONNULL(1);
24691
24692    /**
24693     * Enable or disable day selection
24694     *
24695     * @param obj The calendar object.
24696     * @param enabled @c EINA_TRUE to enable selection or @c EINA_FALSE to
24697     * disable it.
24698     *
24699     * Enabled by default. If disabled, the user still can select months,
24700     * but not days. Selected days are highlighted on calendar.
24701     * It should be used if you won't need such selection for the widget usage.
24702     *
24703     * When a day is selected, or month is changed, smart callbacks for
24704     * signal "changed" will be called.
24705     *
24706     * @see elm_calendar_day_selection_enable_get()
24707     *
24708     * @ref calendar_example_04
24709     *
24710     * @ingroup Calendar
24711     */
24712    EAPI void               elm_calendar_day_selection_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
24713
24714    /**
24715     * Get a value whether day selection is enabled or not.
24716     *
24717     * @see elm_calendar_day_selection_enable_set() for details.
24718     *
24719     * @param obj The calendar object.
24720     * @return EINA_TRUE means day selection is enabled. EINA_FALSE indicates
24721     * it's disabled. If @p obj is NULL, EINA_FALSE is returned.
24722     *
24723     * @ref calendar_example_05
24724     *
24725     * @ingroup Calendar
24726     */
24727    EAPI Eina_Bool          elm_calendar_day_selection_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24728
24729
24730    /**
24731     * Set selected date to be highlighted on calendar.
24732     *
24733     * @param obj The calendar object.
24734     * @param selected_time A @b tm struct to represent the selected date.
24735     *
24736     * Set the selected date, changing the displayed month if needed.
24737     * Selected date changes when the user goes to next/previous month or
24738     * select a day pressing over it on calendar.
24739     *
24740     * @see elm_calendar_selected_time_get()
24741     *
24742     * @ref calendar_example_04
24743     *
24744     * @ingroup Calendar
24745     */
24746    EAPI void               elm_calendar_selected_time_set(Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1);
24747
24748    /**
24749     * Get selected date.
24750     *
24751     * @param obj The calendar object
24752     * @param selected_time A @b tm struct to point to selected date
24753     * @return EINA_FALSE means an error ocurred and returned time shouldn't
24754     * be considered.
24755     *
24756     * Get date selected by the user or set by function
24757     * elm_calendar_selected_time_set().
24758     * Selected date changes when the user goes to next/previous month or
24759     * select a day pressing over it on calendar.
24760     *
24761     * @see elm_calendar_selected_time_get()
24762     *
24763     * @ref calendar_example_05
24764     *
24765     * @ingroup Calendar
24766     */
24767    EAPI Eina_Bool          elm_calendar_selected_time_get(const Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1, 2);
24768
24769    /**
24770     * Set a function to format the string that will be used to display
24771     * month and year;
24772     *
24773     * @param obj The calendar object
24774     * @param format_function Function to set the month-year string given
24775     * the selected date
24776     *
24777     * By default it uses strftime with "%B %Y" format string.
24778     * It should allocate the memory that will be used by the string,
24779     * that will be freed by the widget after usage.
24780     * A pointer to the string and a pointer to the time struct will be provided.
24781     *
24782     * Example:
24783     * @code
24784     * static char *
24785     * _format_month_year(struct tm *selected_time)
24786     * {
24787     *    char buf[32];
24788     *    if (!strftime(buf, sizeof(buf), "%B %Y", selected_time)) return NULL;
24789     *    return strdup(buf);
24790     * }
24791     *
24792     * elm_calendar_format_function_set(calendar, _format_month_year);
24793     * @endcode
24794     *
24795     * @ref calendar_example_02
24796     *
24797     * @ingroup Calendar
24798     */
24799    EAPI void               elm_calendar_format_function_set(Evas_Object *obj, char * (*format_function) (struct tm *stime)) EINA_ARG_NONNULL(1);
24800
24801    /**
24802     * Add a new mark to the calendar
24803     *
24804     * @param obj The calendar object
24805     * @param mark_type A string used to define the type of mark. It will be
24806     * emitted to the theme, that should display a related modification on these
24807     * days representation.
24808     * @param mark_time A time struct to represent the date of inclusion of the
24809     * mark. For marks that repeats it will just be displayed after the inclusion
24810     * date in the calendar.
24811     * @param repeat Repeat the event following this periodicity. Can be a unique
24812     * mark (that don't repeat), daily, weekly, monthly or annually.
24813     * @return The created mark or @p NULL upon failure.
24814     *
24815     * Add a mark that will be drawn in the calendar respecting the insertion
24816     * time and periodicity. It will emit the type as signal to the widget theme.
24817     * Default theme supports "holiday" and "checked", but it can be extended.
24818     *
24819     * It won't immediately update the calendar, drawing the marks.
24820     * For this, call elm_calendar_marks_draw(). However, when user selects
24821     * next or previous month calendar forces marks drawn.
24822     *
24823     * Marks created with this method can be deleted with
24824     * elm_calendar_mark_del().
24825     *
24826     * Example
24827     * @code
24828     * struct tm selected_time;
24829     * time_t current_time;
24830     *
24831     * current_time = time(NULL) + 5 * 84600;
24832     * localtime_r(&current_time, &selected_time);
24833     * elm_calendar_mark_add(cal, "holiday", selected_time,
24834     *     ELM_CALENDAR_ANNUALLY);
24835     *
24836     * current_time = time(NULL) + 1 * 84600;
24837     * localtime_r(&current_time, &selected_time);
24838     * elm_calendar_mark_add(cal, "checked", selected_time, ELM_CALENDAR_UNIQUE);
24839     *
24840     * elm_calendar_marks_draw(cal);
24841     * @endcode
24842     *
24843     * @see elm_calendar_marks_draw()
24844     * @see elm_calendar_mark_del()
24845     *
24846     * @ref calendar_example_06
24847     *
24848     * @ingroup Calendar
24849     */
24850    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);
24851
24852    /**
24853     * Delete mark from the calendar.
24854     *
24855     * @param mark The mark to be deleted.
24856     *
24857     * If deleting all calendar marks is required, elm_calendar_marks_clear()
24858     * should be used instead of getting marks list and deleting each one.
24859     *
24860     * @see elm_calendar_mark_add()
24861     *
24862     * @ref calendar_example_06
24863     *
24864     * @ingroup Calendar
24865     */
24866    EAPI void               elm_calendar_mark_del(Elm_Calendar_Mark *mark) EINA_ARG_NONNULL(1);
24867
24868    /**
24869     * Remove all calendar's marks
24870     *
24871     * @param obj The calendar object.
24872     *
24873     * @see elm_calendar_mark_add()
24874     * @see elm_calendar_mark_del()
24875     *
24876     * @ingroup Calendar
24877     */
24878    EAPI void               elm_calendar_marks_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
24879
24880
24881    /**
24882     * Get a list of all the calendar marks.
24883     *
24884     * @param obj The calendar object.
24885     * @return An @c Eina_List of calendar marks objects, or @c NULL on failure.
24886     *
24887     * @see elm_calendar_mark_add()
24888     * @see elm_calendar_mark_del()
24889     * @see elm_calendar_marks_clear()
24890     *
24891     * @ingroup Calendar
24892     */
24893    EAPI const Eina_List   *elm_calendar_marks_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24894
24895    /**
24896     * Draw calendar marks.
24897     *
24898     * @param obj The calendar object.
24899     *
24900     * Should be used after adding, removing or clearing marks.
24901     * It will go through the entire marks list updating the calendar.
24902     * If lots of marks will be added, add all the marks and then call
24903     * this function.
24904     *
24905     * When the month is changed, i.e. user selects next or previous month,
24906     * marks will be drawed.
24907     *
24908     * @see elm_calendar_mark_add()
24909     * @see elm_calendar_mark_del()
24910     * @see elm_calendar_marks_clear()
24911     *
24912     * @ref calendar_example_06
24913     *
24914     * @ingroup Calendar
24915     */
24916    EAPI void               elm_calendar_marks_draw(Evas_Object *obj) EINA_ARG_NONNULL(1);
24917
24918    /**
24919     * Set a day text color to the same that represents Saturdays.
24920     *
24921     * @param obj The calendar object.
24922     * @param pos The text position. Position is the cell counter, from left
24923     * to right, up to down. It starts on 0 and ends on 41.
24924     *
24925     * @deprecated use elm_calendar_mark_add() instead like:
24926     *
24927     * @code
24928     * struct tm t = { 0, 0, 12, 6, 0, 0, 6, 6, -1 };
24929     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
24930     * @endcode
24931     *
24932     * @see elm_calendar_mark_add()
24933     *
24934     * @ingroup Calendar
24935     */
24936    EINA_DEPRECATED EAPI void               elm_calendar_text_saturday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
24937
24938    /**
24939     * Set a day text color to the same that represents Sundays.
24940     *
24941     * @param obj The calendar object.
24942     * @param pos The text position. Position is the cell counter, from left
24943     * to right, up to down. It starts on 0 and ends on 41.
24944
24945     * @deprecated use elm_calendar_mark_add() instead like:
24946     *
24947     * @code
24948     * struct tm t = { 0, 0, 12, 7, 0, 0, 0, 0, -1 };
24949     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
24950     * @endcode
24951     *
24952     * @see elm_calendar_mark_add()
24953     *
24954     * @ingroup Calendar
24955     */
24956    EINA_DEPRECATED EAPI void               elm_calendar_text_sunday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
24957
24958    /**
24959     * Set a day text color to the same that represents Weekdays.
24960     *
24961     * @param obj The calendar object
24962     * @param pos The text position. Position is the cell counter, from left
24963     * to right, up to down. It starts on 0 and ends on 41.
24964     *
24965     * @deprecated use elm_calendar_mark_add() instead like:
24966     *
24967     * @code
24968     * struct tm t = { 0, 0, 12, 1, 0, 0, 0, 0, -1 };
24969     *
24970     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // monday
24971     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
24972     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // tuesday
24973     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
24974     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // wednesday
24975     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
24976     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // thursday
24977     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
24978     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // friday
24979     * @endcode
24980     *
24981     * @see elm_calendar_mark_add()
24982     *
24983     * @ingroup Calendar
24984     */
24985    EINA_DEPRECATED EAPI void               elm_calendar_text_weekday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
24986
24987    /**
24988     * Set the interval on time updates for an user mouse button hold
24989     * on calendar widgets' month selection.
24990     *
24991     * @param obj The calendar 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 selecting next or previous month.
24996     *
24997     * This helps the user to get to a given month distant from the
24998     * current one easier/faster, as it will start to change quicker and
24999     * quicker on mouse button holds.
25000     *
25001     * The calculation for the next change interval value, starting from
25002     * the one set with this call, is the previous interval divided by
25003     * 1.05, so it decreases a little bit.
25004     *
25005     * The default starting interval value for automatic changes is
25006     * @b 0.85 seconds.
25007     *
25008     * @see elm_calendar_interval_get()
25009     *
25010     * @ingroup Calendar
25011     */
25012    EAPI void               elm_calendar_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
25013
25014    /**
25015     * Get the interval on time updates for an user mouse button hold
25016     * on calendar widgets' month selection.
25017     *
25018     * @param obj The calendar object
25019     * @return The (first) interval value, in seconds, set on it
25020     *
25021     * @see elm_calendar_interval_set() for more details
25022     *
25023     * @ingroup Calendar
25024     */
25025    EAPI double             elm_calendar_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25026
25027    /**
25028     * @}
25029     */
25030
25031    /**
25032     * @defgroup Diskselector Diskselector
25033     * @ingroup Elementary
25034     *
25035     * @image html img/widget/diskselector/preview-00.png
25036     * @image latex img/widget/diskselector/preview-00.eps
25037     *
25038     * A diskselector is a kind of list widget. It scrolls horizontally,
25039     * and can contain label and icon objects. Three items are displayed
25040     * with the selected one in the middle.
25041     *
25042     * It can act like a circular list with round mode and labels can be
25043     * reduced for a defined length for side items.
25044     *
25045     * Smart callbacks one can listen to:
25046     * - "selected" - when item is selected, i.e. scroller stops.
25047     *
25048     * Available styles for it:
25049     * - @c "default"
25050     *
25051     * List of examples:
25052     * @li @ref diskselector_example_01
25053     * @li @ref diskselector_example_02
25054     */
25055
25056    /**
25057     * @addtogroup Diskselector
25058     * @{
25059     */
25060
25061    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(). */
25062
25063    /**
25064     * Add a new diskselector widget to the given parent Elementary
25065     * (container) object.
25066     *
25067     * @param parent The parent object.
25068     * @return a new diskselector widget handle or @c NULL, on errors.
25069     *
25070     * This function inserts a new diskselector widget on the canvas.
25071     *
25072     * @ingroup Diskselector
25073     */
25074    EAPI Evas_Object           *elm_diskselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25075
25076    /**
25077     * Enable or disable round mode.
25078     *
25079     * @param obj The diskselector object.
25080     * @param round @c EINA_TRUE to enable round mode or @c EINA_FALSE to
25081     * disable it.
25082     *
25083     * Disabled by default. If round mode is enabled the items list will
25084     * work like a circle list, so when the user reaches the last item,
25085     * the first one will popup.
25086     *
25087     * @see elm_diskselector_round_get()
25088     *
25089     * @ingroup Diskselector
25090     */
25091    EAPI void                   elm_diskselector_round_set(Evas_Object *obj, Eina_Bool round) EINA_ARG_NONNULL(1);
25092
25093    /**
25094     * Get a value whether round mode is enabled or not.
25095     *
25096     * @see elm_diskselector_round_set() for details.
25097     *
25098     * @param obj The diskselector object.
25099     * @return @c EINA_TRUE means round mode is enabled. @c EINA_FALSE indicates
25100     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
25101     *
25102     * @ingroup Diskselector
25103     */
25104    EAPI Eina_Bool              elm_diskselector_round_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25105
25106    /**
25107     * Get the side labels max length.
25108     *
25109     * @deprecated use elm_diskselector_side_label_length_get() instead:
25110     *
25111     * @param obj The diskselector object.
25112     * @return The max length defined for side labels, or 0 if not a valid
25113     * diskselector.
25114     *
25115     * @ingroup Diskselector
25116     */
25117    EINA_DEPRECATED EAPI int    elm_diskselector_side_label_lenght_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25118
25119    /**
25120     * Set the side labels max length.
25121     *
25122     * @deprecated use elm_diskselector_side_label_length_set() instead:
25123     *
25124     * @param obj The diskselector object.
25125     * @param len The max length defined for side labels.
25126     *
25127     * @ingroup Diskselector
25128     */
25129    EINA_DEPRECATED EAPI void   elm_diskselector_side_label_lenght_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
25130
25131    /**
25132     * Get the side labels max length.
25133     *
25134     * @see elm_diskselector_side_label_length_set() for details.
25135     *
25136     * @param obj The diskselector object.
25137     * @return The max length defined for side labels, or 0 if not a valid
25138     * diskselector.
25139     *
25140     * @ingroup Diskselector
25141     */
25142    EAPI int                    elm_diskselector_side_label_length_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25143
25144    /**
25145     * Set the side labels max length.
25146     *
25147     * @param obj The diskselector object.
25148     * @param len The max length defined for side labels.
25149     *
25150     * Length is the number of characters of items' label that will be
25151     * visible when it's set on side positions. It will just crop
25152     * the string after defined size. E.g.:
25153     *
25154     * An item with label "January" would be displayed on side position as
25155     * "Jan" if max length is set to 3, or "Janu", if this property
25156     * is set to 4.
25157     *
25158     * When it's selected, the entire label will be displayed, except for
25159     * width restrictions. In this case label will be cropped and "..."
25160     * will be concatenated.
25161     *
25162     * Default side label max length is 3.
25163     *
25164     * This property will be applyed over all items, included before or
25165     * later this function call.
25166     *
25167     * @ingroup Diskselector
25168     */
25169    EAPI void                   elm_diskselector_side_label_length_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
25170
25171    /**
25172     * Set the number of items to be displayed.
25173     *
25174     * @param obj The diskselector object.
25175     * @param num The number of items the diskselector will display.
25176     *
25177     * Default value is 3, and also it's the minimun. If @p num is less
25178     * than 3, it will be set to 3.
25179     *
25180     * Also, it can be set on theme, using data item @c display_item_num
25181     * on group "elm/diskselector/item/X", where X is style set.
25182     * E.g.:
25183     *
25184     * group { name: "elm/diskselector/item/X";
25185     * data {
25186     *     item: "display_item_num" "5";
25187     *     }
25188     *
25189     * @ingroup Diskselector
25190     */
25191    EAPI void                   elm_diskselector_display_item_num_set(Evas_Object *obj, int num) EINA_ARG_NONNULL(1);
25192
25193    /**
25194     * Get the number of items in the diskselector object.
25195     *
25196     * @param obj The diskselector object.
25197     *
25198     * @ingroup Diskselector
25199     */
25200    EAPI int                   elm_diskselector_display_item_num_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25201
25202    /**
25203     * Set bouncing behaviour when the scrolled content reaches an edge.
25204     *
25205     * Tell the internal scroller object whether it should bounce or not
25206     * when it reaches the respective edges for each axis.
25207     *
25208     * @param obj The diskselector object.
25209     * @param h_bounce Whether to bounce or not in the horizontal axis.
25210     * @param v_bounce Whether to bounce or not in the vertical axis.
25211     *
25212     * @see elm_scroller_bounce_set()
25213     *
25214     * @ingroup Diskselector
25215     */
25216    EAPI void                   elm_diskselector_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
25217
25218    /**
25219     * Get the bouncing behaviour of the internal scroller.
25220     *
25221     * Get whether the internal scroller should bounce when the edge of each
25222     * axis is reached scrolling.
25223     *
25224     * @param obj The diskselector object.
25225     * @param h_bounce Pointer where to store the bounce state of the horizontal
25226     * axis.
25227     * @param v_bounce Pointer where to store the bounce state of the vertical
25228     * axis.
25229     *
25230     * @see elm_scroller_bounce_get()
25231     * @see elm_diskselector_bounce_set()
25232     *
25233     * @ingroup Diskselector
25234     */
25235    EAPI void                   elm_diskselector_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
25236
25237    /**
25238     * Get the scrollbar policy.
25239     *
25240     * @see elm_diskselector_scroller_policy_get() for details.
25241     *
25242     * @param obj The diskselector object.
25243     * @param policy_h Pointer where to store horizontal scrollbar policy.
25244     * @param policy_v Pointer where to store vertical scrollbar policy.
25245     *
25246     * @ingroup Diskselector
25247     */
25248    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);
25249
25250    /**
25251     * Set the scrollbar policy.
25252     *
25253     * @param obj The diskselector object.
25254     * @param policy_h Horizontal scrollbar policy.
25255     * @param policy_v Vertical scrollbar policy.
25256     *
25257     * This sets the scrollbar visibility policy for the given scroller.
25258     * #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
25259     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
25260     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
25261     * This applies respectively for the horizontal and vertical scrollbars.
25262     *
25263     * The both are disabled by default, i.e., are set to
25264     * #ELM_SCROLLER_POLICY_OFF.
25265     *
25266     * @ingroup Diskselector
25267     */
25268    EAPI void                   elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
25269
25270    /**
25271     * Remove all diskselector's items.
25272     *
25273     * @param obj The diskselector object.
25274     *
25275     * @see elm_diskselector_item_del()
25276     * @see elm_diskselector_item_append()
25277     *
25278     * @ingroup Diskselector
25279     */
25280    EAPI void                   elm_diskselector_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
25281
25282    /**
25283     * Get a list of all the diskselector items.
25284     *
25285     * @param obj The diskselector object.
25286     * @return An @c Eina_List of diskselector items, #Elm_Diskselector_Item,
25287     * or @c NULL on failure.
25288     *
25289     * @see elm_diskselector_item_append()
25290     * @see elm_diskselector_item_del()
25291     * @see elm_diskselector_clear()
25292     *
25293     * @ingroup Diskselector
25294     */
25295    EAPI const Eina_List       *elm_diskselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25296
25297    /**
25298     * Appends a new item to the diskselector object.
25299     *
25300     * @param obj The diskselector object.
25301     * @param label The label of the diskselector item.
25302     * @param icon The icon object to use at left side of the item. An
25303     * icon can be any Evas object, but usually it is an icon created
25304     * with elm_icon_add().
25305     * @param func The function to call when the item is selected.
25306     * @param data The data to associate with the item for related callbacks.
25307     *
25308     * @return The created item or @c NULL upon failure.
25309     *
25310     * A new item will be created and appended to the diskselector, i.e., will
25311     * be set as last item. Also, if there is no selected item, it will
25312     * be selected. This will always happens for the first appended item.
25313     *
25314     * If no icon is set, label will be centered on item position, otherwise
25315     * the icon will be placed at left of the label, that will be shifted
25316     * to the right.
25317     *
25318     * Items created with this method can be deleted with
25319     * elm_diskselector_item_del().
25320     *
25321     * Associated @p data can be properly freed when item is deleted if a
25322     * callback function is set with elm_diskselector_item_del_cb_set().
25323     *
25324     * If a function is passed as argument, it will be called everytime this item
25325     * is selected, i.e., the user stops the diskselector with this
25326     * item on center position. If such function isn't needed, just passing
25327     * @c NULL as @p func is enough. The same should be done for @p data.
25328     *
25329     * Simple example (with no function callback or data associated):
25330     * @code
25331     * disk = elm_diskselector_add(win);
25332     * ic = elm_icon_add(win);
25333     * elm_icon_file_set(ic, "path/to/image", NULL);
25334     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
25335     * elm_diskselector_item_append(disk, "label", ic, NULL, NULL);
25336     * @endcode
25337     *
25338     * @see elm_diskselector_item_del()
25339     * @see elm_diskselector_item_del_cb_set()
25340     * @see elm_diskselector_clear()
25341     * @see elm_icon_add()
25342     *
25343     * @ingroup Diskselector
25344     */
25345    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);
25346
25347
25348    /**
25349     * Delete them item from the diskselector.
25350     *
25351     * @param it The item of diskselector to be deleted.
25352     *
25353     * If deleting all diskselector items is required, elm_diskselector_clear()
25354     * should be used instead of getting items list and deleting each one.
25355     *
25356     * @see elm_diskselector_clear()
25357     * @see elm_diskselector_item_append()
25358     * @see elm_diskselector_item_del_cb_set()
25359     *
25360     * @ingroup Diskselector
25361     */
25362    EAPI void                   elm_diskselector_item_del(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25363
25364    /**
25365     * Set the function called when a diskselector item is freed.
25366     *
25367     * @param it The item to set the callback on
25368     * @param func The function called
25369     *
25370     * If there is a @p func, then it will be called prior item's memory release.
25371     * That will be called with the following arguments:
25372     * @li item's data;
25373     * @li item's Evas object;
25374     * @li item itself;
25375     *
25376     * This way, a data associated to a diskselector item could be properly
25377     * freed.
25378     *
25379     * @ingroup Diskselector
25380     */
25381    EAPI void                   elm_diskselector_item_del_cb_set(Elm_Diskselector_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
25382
25383    /**
25384     * Get the data associated to the item.
25385     *
25386     * @param it The diskselector item
25387     * @return The data associated to @p it
25388     *
25389     * The return value is a pointer to data associated to @p item when it was
25390     * created, with function elm_diskselector_item_append(). If no data
25391     * was passed as argument, it will return @c NULL.
25392     *
25393     * @see elm_diskselector_item_append()
25394     *
25395     * @ingroup Diskselector
25396     */
25397    EAPI void                  *elm_diskselector_item_data_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25398
25399    /**
25400     * Set the icon associated to the item.
25401     *
25402     * @param it The diskselector item
25403     * @param icon The icon object to associate with @p it
25404     *
25405     * The icon object to use at left side of the item. An
25406     * icon can be any Evas object, but usually it is an icon created
25407     * with elm_icon_add().
25408     *
25409     * Once the icon object is set, a previously set one will be deleted.
25410     * @warning Setting the same icon for two items will cause the icon to
25411     * dissapear from the first item.
25412     *
25413     * If an icon was passed as argument on item creation, with function
25414     * elm_diskselector_item_append(), it will be already
25415     * associated to the item.
25416     *
25417     * @see elm_diskselector_item_append()
25418     * @see elm_diskselector_item_icon_get()
25419     *
25420     * @ingroup Diskselector
25421     */
25422    EAPI void                   elm_diskselector_item_icon_set(Elm_Diskselector_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
25423
25424    /**
25425     * Get the icon associated to the item.
25426     *
25427     * @param it The diskselector item
25428     * @return The icon associated to @p it
25429     *
25430     * The return value is a pointer to the icon associated to @p item when it was
25431     * created, with function elm_diskselector_item_append(), or later
25432     * with function elm_diskselector_item_icon_set. If no icon
25433     * was passed as argument, it will return @c NULL.
25434     *
25435     * @see elm_diskselector_item_append()
25436     * @see elm_diskselector_item_icon_set()
25437     *
25438     * @ingroup Diskselector
25439     */
25440    EAPI Evas_Object           *elm_diskselector_item_icon_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25441
25442    /**
25443     * Set the label of item.
25444     *
25445     * @param it The item of diskselector.
25446     * @param label The label of item.
25447     *
25448     * The label to be displayed by the item.
25449     *
25450     * If no icon is set, label will be centered on item position, otherwise
25451     * the icon will be placed at left of the label, that will be shifted
25452     * to the right.
25453     *
25454     * An item with label "January" would be displayed on side position as
25455     * "Jan" if max length is set to 3 with function
25456     * elm_diskselector_side_label_lenght_set(), or "Janu", if this property
25457     * is set to 4.
25458     *
25459     * When this @p item is selected, the entire label will be displayed,
25460     * except for width restrictions.
25461     * In this case label will be cropped and "..." will be concatenated,
25462     * but only for display purposes. It will keep the entire string, so
25463     * if diskselector is resized the remaining characters will be displayed.
25464     *
25465     * If a label was passed as argument on item creation, with function
25466     * elm_diskselector_item_append(), it will be already
25467     * displayed by the item.
25468     *
25469     * @see elm_diskselector_side_label_lenght_set()
25470     * @see elm_diskselector_item_label_get()
25471     * @see elm_diskselector_item_append()
25472     *
25473     * @ingroup Diskselector
25474     */
25475    EAPI void                   elm_diskselector_item_label_set(Elm_Diskselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
25476
25477    /**
25478     * Get the label of item.
25479     *
25480     * @param it The item of diskselector.
25481     * @return The label of item.
25482     *
25483     * The return value is a pointer to the label associated to @p item when it was
25484     * created, with function elm_diskselector_item_append(), or later
25485     * with function elm_diskselector_item_label_set. If no label
25486     * was passed as argument, it will return @c NULL.
25487     *
25488     * @see elm_diskselector_item_label_set() for more details.
25489     * @see elm_diskselector_item_append()
25490     *
25491     * @ingroup Diskselector
25492     */
25493    EAPI const char            *elm_diskselector_item_label_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25494
25495    /**
25496     * Get the selected item.
25497     *
25498     * @param obj The diskselector object.
25499     * @return The selected diskselector item.
25500     *
25501     * The selected item can be unselected with function
25502     * elm_diskselector_item_selected_set(), and the first item of
25503     * diskselector will be selected.
25504     *
25505     * The selected item always will be centered on diskselector, with
25506     * full label displayed, i.e., max lenght set to side labels won't
25507     * apply on the selected item. More details on
25508     * elm_diskselector_side_label_length_set().
25509     *
25510     * @ingroup Diskselector
25511     */
25512    EAPI Elm_Diskselector_Item *elm_diskselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25513
25514    /**
25515     * Set the selected state of an item.
25516     *
25517     * @param it The diskselector item
25518     * @param selected The selected state
25519     *
25520     * This sets the selected state of the given item @p it.
25521     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
25522     *
25523     * If a new item is selected the previosly selected will be unselected.
25524     * Previoulsy selected item can be get with function
25525     * elm_diskselector_selected_item_get().
25526     *
25527     * If the item @p it is unselected, the first item of diskselector will
25528     * be selected.
25529     *
25530     * Selected items will be visible on center position of diskselector.
25531     * So if it was on another position before selected, or was invisible,
25532     * diskselector will animate items until the selected item reaches center
25533     * position.
25534     *
25535     * @see elm_diskselector_item_selected_get()
25536     * @see elm_diskselector_selected_item_get()
25537     *
25538     * @ingroup Diskselector
25539     */
25540    EAPI void                   elm_diskselector_item_selected_set(Elm_Diskselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
25541
25542    /*
25543     * Get whether the @p item is selected or not.
25544     *
25545     * @param it The diskselector item.
25546     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
25547     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
25548     *
25549     * @see elm_diskselector_selected_item_set() for details.
25550     * @see elm_diskselector_item_selected_get()
25551     *
25552     * @ingroup Diskselector
25553     */
25554    EAPI Eina_Bool              elm_diskselector_item_selected_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25555
25556    /**
25557     * Get the first item of the diskselector.
25558     *
25559     * @param obj The diskselector object.
25560     * @return The first item, or @c NULL if none.
25561     *
25562     * The list of items follows append order. So it will return the first
25563     * item appended to the widget that wasn't deleted.
25564     *
25565     * @see elm_diskselector_item_append()
25566     * @see elm_diskselector_items_get()
25567     *
25568     * @ingroup Diskselector
25569     */
25570    EAPI Elm_Diskselector_Item *elm_diskselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25571
25572    /**
25573     * Get the last item of the diskselector.
25574     *
25575     * @param obj The diskselector object.
25576     * @return The last item, or @c NULL if none.
25577     *
25578     * The list of items follows append order. So it will return last first
25579     * item appended to the widget that wasn't deleted.
25580     *
25581     * @see elm_diskselector_item_append()
25582     * @see elm_diskselector_items_get()
25583     *
25584     * @ingroup Diskselector
25585     */
25586    EAPI Elm_Diskselector_Item *elm_diskselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25587
25588    /**
25589     * Get the item before @p item in diskselector.
25590     *
25591     * @param it The diskselector item.
25592     * @return The item before @p item, or @c NULL if none or on failure.
25593     *
25594     * The list of items follows append order. So it will return item appended
25595     * just before @p item and that wasn't deleted.
25596     *
25597     * If it is the first item, @c NULL will be returned.
25598     * First item can be get by elm_diskselector_first_item_get().
25599     *
25600     * @see elm_diskselector_item_append()
25601     * @see elm_diskselector_items_get()
25602     *
25603     * @ingroup Diskselector
25604     */
25605    EAPI Elm_Diskselector_Item *elm_diskselector_item_prev_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25606
25607    /**
25608     * Get the item after @p item in diskselector.
25609     *
25610     * @param it The diskselector item.
25611     * @return The item after @p item, or @c NULL if none or on failure.
25612     *
25613     * The list of items follows append order. So it will return item appended
25614     * just after @p item and that wasn't deleted.
25615     *
25616     * If it is the last item, @c NULL will be returned.
25617     * Last item can be get by elm_diskselector_last_item_get().
25618     *
25619     * @see elm_diskselector_item_append()
25620     * @see elm_diskselector_items_get()
25621     *
25622     * @ingroup Diskselector
25623     */
25624    EAPI Elm_Diskselector_Item *elm_diskselector_item_next_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25625
25626    /**
25627     * Set the text to be shown in the diskselector item.
25628     *
25629     * @param item Target item
25630     * @param text The text to set in the content
25631     *
25632     * Setup the text as tooltip to object. The item can have only one tooltip,
25633     * so any previous tooltip data is removed.
25634     *
25635     * @see elm_object_tooltip_text_set() for more details.
25636     *
25637     * @ingroup Diskselector
25638     */
25639    EAPI void                   elm_diskselector_item_tooltip_text_set(Elm_Diskselector_Item *item, const char *text) EINA_ARG_NONNULL(1);
25640
25641    /**
25642     * Set the content to be shown in the tooltip item.
25643     *
25644     * Setup the tooltip to item. The item can have only one tooltip,
25645     * so any previous tooltip data is removed. @p func(with @p data) will
25646     * be called every time that need show the tooltip and it should
25647     * return a valid Evas_Object. This object is then managed fully by
25648     * tooltip system and is deleted when the tooltip is gone.
25649     *
25650     * @param item the diskselector item being attached a tooltip.
25651     * @param func the function used to create the tooltip contents.
25652     * @param data what to provide to @a func as callback data/context.
25653     * @param del_cb called when data is not needed anymore, either when
25654     *        another callback replaces @p func, the tooltip is unset with
25655     *        elm_diskselector_item_tooltip_unset() or the owner @a item
25656     *        dies. This callback receives as the first parameter the
25657     *        given @a data, and @c event_info is the item.
25658     *
25659     * @see elm_object_tooltip_content_cb_set() for more details.
25660     *
25661     * @ingroup Diskselector
25662     */
25663    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);
25664
25665    /**
25666     * Unset tooltip from item.
25667     *
25668     * @param item diskselector item to remove previously set tooltip.
25669     *
25670     * Remove tooltip from item. The callback provided as del_cb to
25671     * elm_diskselector_item_tooltip_content_cb_set() will be called to notify
25672     * it is not used anymore.
25673     *
25674     * @see elm_object_tooltip_unset() for more details.
25675     * @see elm_diskselector_item_tooltip_content_cb_set()
25676     *
25677     * @ingroup Diskselector
25678     */
25679    EAPI void                   elm_diskselector_item_tooltip_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25680
25681
25682    /**
25683     * Sets a different style for this item tooltip.
25684     *
25685     * @note before you set a style you should define a tooltip with
25686     *       elm_diskselector_item_tooltip_content_cb_set() or
25687     *       elm_diskselector_item_tooltip_text_set()
25688     *
25689     * @param item diskselector item with tooltip already set.
25690     * @param style the theme style to use (default, transparent, ...)
25691     *
25692     * @see elm_object_tooltip_style_set() for more details.
25693     *
25694     * @ingroup Diskselector
25695     */
25696    EAPI void                   elm_diskselector_item_tooltip_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
25697
25698    /**
25699     * Get the style for this item tooltip.
25700     *
25701     * @param item diskselector item with tooltip already set.
25702     * @return style the theme style in use, defaults to "default". If the
25703     *         object does not have a tooltip set, then NULL is returned.
25704     *
25705     * @see elm_object_tooltip_style_get() for more details.
25706     * @see elm_diskselector_item_tooltip_style_set()
25707     *
25708     * @ingroup Diskselector
25709     */
25710    EAPI const char            *elm_diskselector_item_tooltip_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25711
25712    /**
25713     * Set the cursor to be shown when mouse is over the diskselector item
25714     *
25715     * @param item Target item
25716     * @param cursor the cursor name to be used.
25717     *
25718     * @see elm_object_cursor_set() for more details.
25719     *
25720     * @ingroup Diskselector
25721     */
25722    EAPI void                   elm_diskselector_item_cursor_set(Elm_Diskselector_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
25723
25724    /**
25725     * Get the cursor to be shown when mouse is over the diskselector item
25726     *
25727     * @param item diskselector item with cursor already set.
25728     * @return the cursor name.
25729     *
25730     * @see elm_object_cursor_get() for more details.
25731     * @see elm_diskselector_cursor_set()
25732     *
25733     * @ingroup Diskselector
25734     */
25735    EAPI const char            *elm_diskselector_item_cursor_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25736
25737
25738    /**
25739     * Unset the cursor to be shown when mouse is over the diskselector item
25740     *
25741     * @param item Target item
25742     *
25743     * @see elm_object_cursor_unset() for more details.
25744     * @see elm_diskselector_cursor_set()
25745     *
25746     * @ingroup Diskselector
25747     */
25748    EAPI void                   elm_diskselector_item_cursor_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25749
25750    /**
25751     * Sets a different style for this item cursor.
25752     *
25753     * @note before you set a style you should define a cursor with
25754     *       elm_diskselector_item_cursor_set()
25755     *
25756     * @param item diskselector item with cursor already set.
25757     * @param style the theme style to use (default, transparent, ...)
25758     *
25759     * @see elm_object_cursor_style_set() for more details.
25760     *
25761     * @ingroup Diskselector
25762     */
25763    EAPI void                   elm_diskselector_item_cursor_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
25764
25765
25766    /**
25767     * Get the style for this item cursor.
25768     *
25769     * @param item diskselector item with cursor already set.
25770     * @return style the theme style in use, defaults to "default". If the
25771     *         object does not have a cursor set, then @c NULL is returned.
25772     *
25773     * @see elm_object_cursor_style_get() for more details.
25774     * @see elm_diskselector_item_cursor_style_set()
25775     *
25776     * @ingroup Diskselector
25777     */
25778    EAPI const char            *elm_diskselector_item_cursor_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25779
25780
25781    /**
25782     * Set if the cursor set should be searched on the theme or should use
25783     * the provided by the engine, only.
25784     *
25785     * @note before you set if should look on theme you should define a cursor
25786     * with elm_diskselector_item_cursor_set().
25787     * By default it will only look for cursors provided by the engine.
25788     *
25789     * @param item widget item with cursor already set.
25790     * @param engine_only boolean to define if cursors set with
25791     * elm_diskselector_item_cursor_set() should be searched only
25792     * between cursors provided by the engine or searched on widget's
25793     * theme as well.
25794     *
25795     * @see elm_object_cursor_engine_only_set() for more details.
25796     *
25797     * @ingroup Diskselector
25798     */
25799    EAPI void                   elm_diskselector_item_cursor_engine_only_set(Elm_Diskselector_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
25800
25801    /**
25802     * Get the cursor engine only usage for this item cursor.
25803     *
25804     * @param item widget item with cursor already set.
25805     * @return engine_only boolean to define it cursors should be looked only
25806     * between the provided by the engine or searched on widget's theme as well.
25807     * If the item does not have a cursor set, then @c EINA_FALSE is returned.
25808     *
25809     * @see elm_object_cursor_engine_only_get() for more details.
25810     * @see elm_diskselector_item_cursor_engine_only_set()
25811     *
25812     * @ingroup Diskselector
25813     */
25814    EAPI Eina_Bool              elm_diskselector_item_cursor_engine_only_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25815
25816    /**
25817     * @}
25818     */
25819
25820    /**
25821     * @defgroup Colorselector Colorselector
25822     *
25823     * @{
25824     *
25825     * @image html img/widget/colorselector/preview-00.png
25826     * @image latex img/widget/colorselector/preview-00.eps
25827     *
25828     * @brief Widget for user to select a color.
25829     *
25830     * Signals that you can add callbacks for are:
25831     * "changed" - When the color value changes(event_info is NULL).
25832     *
25833     * See @ref tutorial_colorselector.
25834     */
25835    /**
25836     * @brief Add a new colorselector to the parent
25837     *
25838     * @param parent The parent object
25839     * @return The new object or NULL if it cannot be created
25840     *
25841     * @ingroup Colorselector
25842     */
25843    EAPI Evas_Object *elm_colorselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25844    /**
25845     * Set a color for the colorselector
25846     *
25847     * @param obj   Colorselector object
25848     * @param r     r-value of color
25849     * @param g     g-value of color
25850     * @param b     b-value of color
25851     * @param a     a-value of color
25852     *
25853     * @ingroup Colorselector
25854     */
25855    EAPI void         elm_colorselector_color_set(Evas_Object *obj, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
25856    /**
25857     * Get a color from the colorselector
25858     *
25859     * @param obj   Colorselector object
25860     * @param r     integer pointer for r-value of color
25861     * @param g     integer pointer for g-value of color
25862     * @param b     integer pointer for b-value of color
25863     * @param a     integer pointer for a-value of color
25864     *
25865     * @ingroup Colorselector
25866     */
25867    EAPI void         elm_colorselector_color_get(const Evas_Object *obj, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
25868    /**
25869     * @}
25870     */
25871
25872    /**
25873     * @defgroup Ctxpopup Ctxpopup
25874     *
25875     * @image html img/widget/ctxpopup/preview-00.png
25876     * @image latex img/widget/ctxpopup/preview-00.eps
25877     *
25878     * @brief Context popup widet.
25879     *
25880     * A ctxpopup is a widget that, when shown, pops up a list of items.
25881     * It automatically chooses an area inside its parent object's view
25882     * (set via elm_ctxpopup_add() and elm_ctxpopup_hover_parent_set()) to
25883     * optimally fit into it. In the default theme, it will also point an
25884     * arrow to it's top left position at the time one shows it. Ctxpopup
25885     * items have a label and/or an icon. It is intended for a small
25886     * number of items (hence the use of list, not genlist).
25887     *
25888     * @note Ctxpopup is a especialization of @ref Hover.
25889     *
25890     * Signals that you can add callbacks for are:
25891     * "dismissed" - the ctxpopup was dismissed
25892     *
25893     * @ref tutorial_ctxpopup shows the usage of a good deal of the API.
25894     * @{
25895     */
25896    typedef enum _Elm_Ctxpopup_Direction
25897      {
25898         ELM_CTXPOPUP_DIRECTION_DOWN, /**< ctxpopup show appear below clicked
25899                                           area */
25900         ELM_CTXPOPUP_DIRECTION_RIGHT, /**< ctxpopup show appear to the right of
25901                                            the clicked area */
25902         ELM_CTXPOPUP_DIRECTION_LEFT, /**< ctxpopup show appear to the left of
25903                                           the clicked area */
25904         ELM_CTXPOPUP_DIRECTION_UP, /**< ctxpopup show appear above the clicked
25905                                         area */
25906         ELM_CTXPOPUP_DIRECTION_UNKNOWN, /**< ctxpopup does not determine it's direction yet*/
25907      } Elm_Ctxpopup_Direction;
25908
25909    /**
25910     * @brief Add a new Ctxpopup object to the parent.
25911     *
25912     * @param parent Parent object
25913     * @return New object or @c NULL, if it cannot be created
25914     */
25915    EAPI Evas_Object  *elm_ctxpopup_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25916    /**
25917     * @brief Set the Ctxpopup's parent
25918     *
25919     * @param obj The ctxpopup object
25920     * @param area The parent to use
25921     *
25922     * Set the parent object.
25923     *
25924     * @note elm_ctxpopup_add() will automatically call this function
25925     * with its @c parent argument.
25926     *
25927     * @see elm_ctxpopup_add()
25928     * @see elm_hover_parent_set()
25929     */
25930    EAPI void          elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1, 2);
25931    /**
25932     * @brief Get the Ctxpopup's parent
25933     *
25934     * @param obj The ctxpopup object
25935     *
25936     * @see elm_ctxpopup_hover_parent_set() for more information
25937     */
25938    EAPI Evas_Object  *elm_ctxpopup_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25939    /**
25940     * @brief Clear all items in the given ctxpopup object.
25941     *
25942     * @param obj Ctxpopup object
25943     */
25944    EAPI void          elm_ctxpopup_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
25945    /**
25946     * @brief Change the ctxpopup's orientation to horizontal or vertical.
25947     *
25948     * @param obj Ctxpopup object
25949     * @param horizontal @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical
25950     */
25951    EAPI void          elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
25952    /**
25953     * @brief Get the value of current ctxpopup object's orientation.
25954     *
25955     * @param obj Ctxpopup object
25956     * @return @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical mode (or errors)
25957     *
25958     * @see elm_ctxpopup_horizontal_set()
25959     */
25960    EAPI Eina_Bool     elm_ctxpopup_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25961    /**
25962     * @brief Add a new item to a ctxpopup object.
25963     *
25964     * @param obj Ctxpopup object
25965     * @param icon Icon to be set on new item
25966     * @param label The Label of the new item
25967     * @param func Convenience function called when item selected
25968     * @param data Data passed to @p func
25969     * @return A handle to the item added or @c NULL, on errors
25970     *
25971     * @warning Ctxpopup can't hold both an item list and a content at the same
25972     * time. When an item is added, any previous content will be removed.
25973     *
25974     * @see elm_ctxpopup_content_set()
25975     */
25976    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);
25977    /**
25978     * @brief Delete the given item in a ctxpopup object.
25979     *
25980     * @param it Ctxpopup item to be deleted
25981     *
25982     * @see elm_ctxpopup_item_append()
25983     */
25984    EAPI void          elm_ctxpopup_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
25985    /**
25986     * @brief Set the ctxpopup item's state as disabled or enabled.
25987     *
25988     * @param it Ctxpopup item to be enabled/disabled
25989     * @param disabled @c EINA_TRUE to disable it, @c EINA_FALSE to enable it
25990     *
25991     * When disabled the item is greyed out to indicate it's state.
25992     */
25993    EAPI void          elm_ctxpopup_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
25994    /**
25995     * @brief Get the ctxpopup item's disabled/enabled state.
25996     *
25997     * @param it Ctxpopup item to be enabled/disabled
25998     * @return disabled @c EINA_TRUE, if disabled, @c EINA_FALSE otherwise
25999     *
26000     * @see elm_ctxpopup_item_disabled_set()
26001     */
26002    EAPI Eina_Bool     elm_ctxpopup_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26003    /**
26004     * @brief Get the icon object for the given ctxpopup item.
26005     *
26006     * @param it Ctxpopup item
26007     * @return icon object or @c NULL, if the item does not have icon or an error
26008     * occurred
26009     *
26010     * @see elm_ctxpopup_item_append()
26011     * @see elm_ctxpopup_item_icon_set()
26012     */
26013    EAPI Evas_Object  *elm_ctxpopup_item_icon_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26014    /**
26015     * @brief Sets the side icon associated with the ctxpopup item
26016     *
26017     * @param it Ctxpopup item
26018     * @param icon Icon object to be set
26019     *
26020     * Once the icon object is set, a previously set one will be deleted.
26021     * @warning Setting the same icon for two items will cause the icon to
26022     * dissapear from the first item.
26023     *
26024     * @see elm_ctxpopup_item_append()
26025     */
26026    EAPI void          elm_ctxpopup_item_icon_set(Elm_Object_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
26027    /**
26028     * @brief Get the label for the given ctxpopup item.
26029     *
26030     * @param it Ctxpopup item
26031     * @return label string or @c NULL, if the item does not have label or an
26032     * error occured
26033     *
26034     * @see elm_ctxpopup_item_append()
26035     * @see elm_ctxpopup_item_label_set()
26036     */
26037    EAPI const char   *elm_ctxpopup_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26038    /**
26039     * @brief (Re)set the label on the given ctxpopup item.
26040     *
26041     * @param it Ctxpopup item
26042     * @param label String to set as label
26043     */
26044    EAPI void          elm_ctxpopup_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
26045    /**
26046     * @brief Set an elm widget as the content of the ctxpopup.
26047     *
26048     * @param obj Ctxpopup object
26049     * @param content Content to be swallowed
26050     *
26051     * If the content object is already set, a previous one will bedeleted. If
26052     * you want to keep that old content object, use the
26053     * elm_ctxpopup_content_unset() function.
26054     *
26055     * @deprecated use elm_object_content_set()
26056     *
26057     * @warning Ctxpopup can't hold both a item list and a content at the same
26058     * time. When a content is set, any previous items will be removed.
26059     */
26060    EINA_DEPRECATED EAPI void          elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1, 2);
26061    /**
26062     * @brief Unset the ctxpopup content
26063     *
26064     * @param obj Ctxpopup object
26065     * @return The content that was being used
26066     *
26067     * Unparent and return the content object which was set for this widget.
26068     *
26069     * @deprecated use elm_object_content_unset()
26070     *
26071     * @see elm_ctxpopup_content_set()
26072     */
26073    EINA_DEPRECATED EAPI Evas_Object  *elm_ctxpopup_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
26074    /**
26075     * @brief Set the direction priority of a ctxpopup.
26076     *
26077     * @param obj Ctxpopup object
26078     * @param first 1st priority of direction
26079     * @param second 2nd priority of direction
26080     * @param third 3th priority of direction
26081     * @param fourth 4th priority of direction
26082     *
26083     * This functions gives a chance to user to set the priority of ctxpopup
26084     * showing direction. This doesn't guarantee the ctxpopup will appear in the
26085     * requested direction.
26086     *
26087     * @see Elm_Ctxpopup_Direction
26088     */
26089    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);
26090    /**
26091     * @brief Get the direction priority of a ctxpopup.
26092     *
26093     * @param obj Ctxpopup object
26094     * @param first 1st priority of direction to be returned
26095     * @param second 2nd priority of direction to be returned
26096     * @param third 3th priority of direction to be returned
26097     * @param fourth 4th priority of direction to be returned
26098     *
26099     * @see elm_ctxpopup_direction_priority_set() for more information.
26100     */
26101    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);
26102
26103    /**
26104     * @brief Get the current direction of a ctxpopup.
26105     *
26106     * @param obj Ctxpopup object
26107     * @return current direction of a ctxpopup
26108     *
26109     * @warning Once the ctxpopup showed up, the direction would be determined
26110     */
26111    EAPI Elm_Ctxpopup_Direction elm_ctxpopup_direction_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26112
26113    /**
26114     * @}
26115     */
26116
26117    /* transit */
26118    /**
26119     *
26120     * @defgroup Transit Transit
26121     * @ingroup Elementary
26122     *
26123     * Transit is designed to apply various animated transition effects to @c
26124     * Evas_Object, such like translation, rotation, etc. For using these
26125     * effects, create an @ref Elm_Transit and add the desired transition effects.
26126     *
26127     * Once the effects are added into transit, they will be automatically
26128     * managed (their callback will be called until the duration is ended, and
26129     * they will be deleted on completion).
26130     *
26131     * Example:
26132     * @code
26133     * Elm_Transit *trans = elm_transit_add();
26134     * elm_transit_object_add(trans, obj);
26135     * elm_transit_effect_translation_add(trans, 0, 0, 280, 280
26136     * elm_transit_duration_set(transit, 1);
26137     * elm_transit_auto_reverse_set(transit, EINA_TRUE);
26138     * elm_transit_tween_mode_set(transit, ELM_TRANSIT_TWEEN_MODE_DECELERATE);
26139     * elm_transit_repeat_times_set(transit, 3);
26140     * @endcode
26141     *
26142     * Some transition effects are used to change the properties of objects. They
26143     * are:
26144     * @li @ref elm_transit_effect_translation_add
26145     * @li @ref elm_transit_effect_color_add
26146     * @li @ref elm_transit_effect_rotation_add
26147     * @li @ref elm_transit_effect_wipe_add
26148     * @li @ref elm_transit_effect_zoom_add
26149     * @li @ref elm_transit_effect_resizing_add
26150     *
26151     * Other transition effects are used to make one object disappear and another
26152     * object appear on its old place. These effects are:
26153     *
26154     * @li @ref elm_transit_effect_flip_add
26155     * @li @ref elm_transit_effect_resizable_flip_add
26156     * @li @ref elm_transit_effect_fade_add
26157     * @li @ref elm_transit_effect_blend_add
26158     *
26159     * It's also possible to make a transition chain with @ref
26160     * elm_transit_chain_transit_add.
26161     *
26162     * @warning We strongly recommend to use elm_transit just when edje can not do
26163     * the trick. Edje has more advantage than Elm_Transit, it has more flexibility and
26164     * animations can be manipulated inside the theme.
26165     *
26166     * List of examples:
26167     * @li @ref transit_example_01_explained
26168     * @li @ref transit_example_02_explained
26169     * @li @ref transit_example_03_c
26170     * @li @ref transit_example_04_c
26171     *
26172     * @{
26173     */
26174
26175    /**
26176     * @enum Elm_Transit_Tween_Mode
26177     *
26178     * The type of acceleration used in the transition.
26179     */
26180    typedef enum
26181      {
26182         ELM_TRANSIT_TWEEN_MODE_LINEAR, /**< Constant speed */
26183         ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL, /**< Starts slow, increase speed
26184                                              over time, then decrease again
26185                                              and stop slowly */
26186         ELM_TRANSIT_TWEEN_MODE_DECELERATE, /**< Starts fast and decrease
26187                                              speed over time */
26188         ELM_TRANSIT_TWEEN_MODE_ACCELERATE /**< Starts slow and increase speed
26189                                             over time */
26190      } Elm_Transit_Tween_Mode;
26191
26192    /**
26193     * @enum Elm_Transit_Effect_Flip_Axis
26194     *
26195     * The axis where flip effect should be applied.
26196     */
26197    typedef enum
26198      {
26199         ELM_TRANSIT_EFFECT_FLIP_AXIS_X, /**< Flip on X axis */
26200         ELM_TRANSIT_EFFECT_FLIP_AXIS_Y /**< Flip on Y axis */
26201      } Elm_Transit_Effect_Flip_Axis;
26202    /**
26203     * @enum Elm_Transit_Effect_Wipe_Dir
26204     *
26205     * The direction where the wipe effect should occur.
26206     */
26207    typedef enum
26208      {
26209         ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT, /**< Wipe to the left */
26210         ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT, /**< Wipe to the right */
26211         ELM_TRANSIT_EFFECT_WIPE_DIR_UP, /**< Wipe up */
26212         ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN /**< Wipe down */
26213      } Elm_Transit_Effect_Wipe_Dir;
26214    /** @enum Elm_Transit_Effect_Wipe_Type
26215     *
26216     * Whether the wipe effect should show or hide the object.
26217     */
26218    typedef enum
26219      {
26220         ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE, /**< Hide the object during the
26221                                              animation */
26222         ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW /**< Show the object during the
26223                                             animation */
26224      } Elm_Transit_Effect_Wipe_Type;
26225
26226    /**
26227     * @typedef Elm_Transit
26228     *
26229     * The Transit created with elm_transit_add(). This type has the information
26230     * about the objects which the transition will be applied, and the
26231     * transition effects that will be used. It also contains info about
26232     * duration, number of repetitions, auto-reverse, etc.
26233     */
26234    typedef struct _Elm_Transit Elm_Transit;
26235    typedef void Elm_Transit_Effect;
26236    /**
26237     * @typedef Elm_Transit_Effect_Transition_Cb
26238     *
26239     * Transition callback called for this effect on each transition iteration.
26240     */
26241    typedef void (*Elm_Transit_Effect_Transition_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit, double progress);
26242    /**
26243     * Elm_Transit_Effect_End_Cb
26244     *
26245     * Transition callback called for this effect when the transition is over.
26246     */
26247    typedef void (*Elm_Transit_Effect_End_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit);
26248
26249    /**
26250     * Elm_Transit_Del_Cb
26251     *
26252     * A callback called when the transit is deleted.
26253     */
26254    typedef void (*Elm_Transit_Del_Cb) (void *data, Elm_Transit *transit);
26255
26256    /**
26257     * Add new transit.
26258     *
26259     * @note Is not necessary to delete the transit object, it will be deleted at
26260     * the end of its operation.
26261     * @note The transit will start playing when the program enter in the main loop, is not
26262     * necessary to give a start to the transit.
26263     *
26264     * @return The transit object.
26265     *
26266     * @ingroup Transit
26267     */
26268    EAPI Elm_Transit                *elm_transit_add(void);
26269
26270    /**
26271     * Stops the animation and delete the @p transit object.
26272     *
26273     * Call this function if you wants to stop the animation before the duration
26274     * time. Make sure the @p transit object is still alive with
26275     * elm_transit_del_cb_set() function.
26276     * All added effects will be deleted, calling its repective data_free_cb
26277     * functions. The function setted by elm_transit_del_cb_set() will be called.
26278     *
26279     * @see elm_transit_del_cb_set()
26280     *
26281     * @param transit The transit object to be deleted.
26282     *
26283     * @ingroup Transit
26284     * @warning Just call this function if you are sure the transit is alive.
26285     */
26286    EAPI void                        elm_transit_del(Elm_Transit *transit) EINA_ARG_NONNULL(1);
26287
26288    /**
26289     * Add a new effect to the transit.
26290     *
26291     * @note The cb function and the data are the key to the effect. If you try to
26292     * add an already added effect, nothing is done.
26293     * @note After the first addition of an effect in @p transit, if its
26294     * effect list become empty again, the @p transit will be killed by
26295     * elm_transit_del(transit) function.
26296     *
26297     * Exemple:
26298     * @code
26299     * Elm_Transit *transit = elm_transit_add();
26300     * elm_transit_effect_add(transit,
26301     *                        elm_transit_effect_blend_op,
26302     *                        elm_transit_effect_blend_context_new(),
26303     *                        elm_transit_effect_blend_context_free);
26304     * @endcode
26305     *
26306     * @param transit The transit object.
26307     * @param transition_cb The operation function. It is called when the
26308     * animation begins, it is the function that actually performs the animation.
26309     * It is called with the @p data, @p transit and the time progression of the
26310     * animation (a double value between 0.0 and 1.0).
26311     * @param effect The context data of the effect.
26312     * @param end_cb The function to free the context data, it will be called
26313     * at the end of the effect, it must finalize the animation and free the
26314     * @p data.
26315     *
26316     * @ingroup Transit
26317     * @warning The transit free the context data at the and of the transition with
26318     * the data_free_cb function, do not use the context data in another transit.
26319     */
26320    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);
26321
26322    /**
26323     * Delete an added effect.
26324     *
26325     * This function will remove the effect from the @p transit, calling the
26326     * data_free_cb to free the @p data.
26327     *
26328     * @see elm_transit_effect_add()
26329     *
26330     * @note If the effect is not found, nothing is done.
26331     * @note If the effect list become empty, this function will call
26332     * elm_transit_del(transit), that is, it will kill the @p transit.
26333     *
26334     * @param transit The transit object.
26335     * @param transition_cb The operation function.
26336     * @param effect The context data of the effect.
26337     *
26338     * @ingroup Transit
26339     */
26340    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);
26341
26342    /**
26343     * Add new object to apply the effects.
26344     *
26345     * @note After the first addition of an object in @p transit, if its
26346     * object list become empty again, the @p transit will be killed by
26347     * elm_transit_del(transit) function.
26348     * @note If the @p obj belongs to another transit, the @p obj will be
26349     * removed from it and it will only belong to the @p transit. If the old
26350     * transit stays without objects, it will die.
26351     * @note When you add an object into the @p transit, its state from
26352     * evas_object_pass_events_get(obj) is saved, and it is applied when the
26353     * transit ends, if you change this state whith evas_object_pass_events_set()
26354     * after add the object, this state will change again when @p transit stops to
26355     * run.
26356     *
26357     * @param transit The transit object.
26358     * @param obj Object to be animated.
26359     *
26360     * @ingroup Transit
26361     * @warning It is not allowed to add a new object after transit begins to go.
26362     */
26363    EAPI void                        elm_transit_object_add(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
26364
26365    /**
26366     * Removes an added object from the transit.
26367     *
26368     * @note If the @p obj is not in the @p transit, nothing is done.
26369     * @note If the list become empty, this function will call
26370     * elm_transit_del(transit), that is, it will kill the @p transit.
26371     *
26372     * @param transit The transit object.
26373     * @param obj Object to be removed from @p transit.
26374     *
26375     * @ingroup Transit
26376     * @warning It is not allowed to remove objects after transit begins to go.
26377     */
26378    EAPI void                        elm_transit_object_remove(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
26379
26380    /**
26381     * Get the objects of the transit.
26382     *
26383     * @param transit The transit object.
26384     * @return a Eina_List with the objects from the transit.
26385     *
26386     * @ingroup Transit
26387     */
26388    EAPI const Eina_List            *elm_transit_objects_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26389
26390    /**
26391     * Enable/disable keeping up the objects states.
26392     * If it is not kept, the objects states will be reset when transition ends.
26393     *
26394     * @note @p transit can not be NULL.
26395     * @note One state includes geometry, color, map data.
26396     *
26397     * @param transit The transit object.
26398     * @param state_keep Keeping or Non Keeping.
26399     *
26400     * @ingroup Transit
26401     */
26402    EAPI void                        elm_transit_objects_final_state_keep_set(Elm_Transit *transit, Eina_Bool state_keep) EINA_ARG_NONNULL(1);
26403
26404    /**
26405     * Get a value whether the objects states will be reset or not.
26406     *
26407     * @note @p transit can not be NULL
26408     *
26409     * @see elm_transit_objects_final_state_keep_set()
26410     *
26411     * @param transit The transit object.
26412     * @return EINA_TRUE means the states of the objects will be reset.
26413     * If @p transit is NULL, EINA_FALSE is returned
26414     *
26415     * @ingroup Transit
26416     */
26417    EAPI Eina_Bool                   elm_transit_objects_final_state_keep_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26418
26419    /**
26420     * Set the event enabled when transit is operating.
26421     *
26422     * If @p enabled is EINA_TRUE, the objects of the transit will receives
26423     * events from mouse and keyboard during the animation.
26424     * @note When you add an object with elm_transit_object_add(), its state from
26425     * evas_object_pass_events_get(obj) is saved, and it is applied when the
26426     * transit ends, if you change this state with evas_object_pass_events_set()
26427     * after adding the object, this state will change again when @p transit stops
26428     * to run.
26429     *
26430     * @param transit The transit object.
26431     * @param enabled Events are received when enabled is @c EINA_TRUE, and
26432     * ignored otherwise.
26433     *
26434     * @ingroup Transit
26435     */
26436    EAPI void                        elm_transit_event_enabled_set(Elm_Transit *transit, Eina_Bool enabled) EINA_ARG_NONNULL(1);
26437
26438    /**
26439     * Get the value of event enabled status.
26440     *
26441     * @see elm_transit_event_enabled_set()
26442     *
26443     * @param transit The Transit object
26444     * @return EINA_TRUE, when event is enabled. If @p transit is NULL
26445     * EINA_FALSE is returned
26446     *
26447     * @ingroup Transit
26448     */
26449    EAPI Eina_Bool                   elm_transit_event_enabled_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26450
26451    /**
26452     * Set the user-callback function when the transit is deleted.
26453     *
26454     * @note Using this function twice will overwrite the first function setted.
26455     * @note the @p transit object will be deleted after call @p cb function.
26456     *
26457     * @param transit The transit object.
26458     * @param cb Callback function pointer. This function will be called before
26459     * the deletion of the transit.
26460     * @param data Callback funtion user data. It is the @p op parameter.
26461     *
26462     * @ingroup Transit
26463     */
26464    EAPI void                        elm_transit_del_cb_set(Elm_Transit *transit, Elm_Transit_Del_Cb cb, void *data) EINA_ARG_NONNULL(1);
26465
26466    /**
26467     * Set reverse effect automatically.
26468     *
26469     * If auto reverse is setted, after running the effects with the progress
26470     * parameter from 0 to 1, it will call the effecs again with the progress
26471     * from 1 to 0. The transit will last for a time iqual to (2 * duration * repeat),
26472     * where the duration was setted with the function elm_transit_add and
26473     * the repeat with the function elm_transit_repeat_times_set().
26474     *
26475     * @param transit The transit object.
26476     * @param reverse EINA_TRUE means the auto_reverse is on.
26477     *
26478     * @ingroup Transit
26479     */
26480    EAPI void                        elm_transit_auto_reverse_set(Elm_Transit *transit, Eina_Bool reverse) EINA_ARG_NONNULL(1);
26481
26482    /**
26483     * Get if the auto reverse is on.
26484     *
26485     * @see elm_transit_auto_reverse_set()
26486     *
26487     * @param transit The transit object.
26488     * @return EINA_TRUE means auto reverse is on. If @p transit is NULL
26489     * EINA_FALSE is returned
26490     *
26491     * @ingroup Transit
26492     */
26493    EAPI Eina_Bool                   elm_transit_auto_reverse_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26494
26495    /**
26496     * Set the transit repeat count. Effect will be repeated by repeat count.
26497     *
26498     * This function sets the number of repetition the transit will run after
26499     * the first one, that is, if @p repeat is 1, the transit will run 2 times.
26500     * If the @p repeat is a negative number, it will repeat infinite times.
26501     *
26502     * @note If this function is called during the transit execution, the transit
26503     * will run @p repeat times, ignoring the times it already performed.
26504     *
26505     * @param transit The transit object
26506     * @param repeat Repeat count
26507     *
26508     * @ingroup Transit
26509     */
26510    EAPI void                        elm_transit_repeat_times_set(Elm_Transit *transit, int repeat) EINA_ARG_NONNULL(1);
26511
26512    /**
26513     * Get the transit repeat count.
26514     *
26515     * @see elm_transit_repeat_times_set()
26516     *
26517     * @param transit The Transit object.
26518     * @return The repeat count. If @p transit is NULL
26519     * 0 is returned
26520     *
26521     * @ingroup Transit
26522     */
26523    EAPI int                         elm_transit_repeat_times_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26524
26525    /**
26526     * Set the transit animation acceleration type.
26527     *
26528     * This function sets the tween mode of the transit that can be:
26529     * ELM_TRANSIT_TWEEN_MODE_LINEAR - The default mode.
26530     * ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL - Starts in accelerate mode and ends decelerating.
26531     * ELM_TRANSIT_TWEEN_MODE_DECELERATE - The animation will be slowed over time.
26532     * ELM_TRANSIT_TWEEN_MODE_ACCELERATE - The animation will accelerate over time.
26533     *
26534     * @param transit The transit object.
26535     * @param tween_mode The tween type.
26536     *
26537     * @ingroup Transit
26538     */
26539    EAPI void                        elm_transit_tween_mode_set(Elm_Transit *transit, Elm_Transit_Tween_Mode tween_mode) EINA_ARG_NONNULL(1);
26540
26541    /**
26542     * Get the transit animation acceleration type.
26543     *
26544     * @note @p transit can not be NULL
26545     *
26546     * @param transit The transit object.
26547     * @return The tween type. If @p transit is NULL
26548     * ELM_TRANSIT_TWEEN_MODE_LINEAR is returned.
26549     *
26550     * @ingroup Transit
26551     */
26552    EAPI Elm_Transit_Tween_Mode      elm_transit_tween_mode_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26553
26554    /**
26555     * Set the transit animation time
26556     *
26557     * @note @p transit can not be NULL
26558     *
26559     * @param transit The transit object.
26560     * @param duration The animation time.
26561     *
26562     * @ingroup Transit
26563     */
26564    EAPI void                        elm_transit_duration_set(Elm_Transit *transit, double duration) EINA_ARG_NONNULL(1);
26565
26566    /**
26567     * Get the transit animation time
26568     *
26569     * @note @p transit can not be NULL
26570     *
26571     * @param transit The transit object.
26572     *
26573     * @return The transit animation time.
26574     *
26575     * @ingroup Transit
26576     */
26577    EAPI double                      elm_transit_duration_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26578
26579    /**
26580     * Starts the transition.
26581     * Once this API is called, the transit begins to measure the time.
26582     *
26583     * @note @p transit can not be NULL
26584     *
26585     * @param transit The transit object.
26586     *
26587     * @ingroup Transit
26588     */
26589    EAPI void                        elm_transit_go(Elm_Transit *transit) EINA_ARG_NONNULL(1);
26590
26591    /**
26592     * Pause/Resume the transition.
26593     *
26594     * If you call elm_transit_go again, the transit will be started from the
26595     * beginning, and will be unpaused.
26596     *
26597     * @note @p transit can not be NULL
26598     *
26599     * @param transit The transit object.
26600     * @param paused Whether the transition should be paused or not.
26601     *
26602     * @ingroup Transit
26603     */
26604    EAPI void                        elm_transit_paused_set(Elm_Transit *transit, Eina_Bool paused) EINA_ARG_NONNULL(1);
26605
26606    /**
26607     * Get the value of paused status.
26608     *
26609     * @see elm_transit_paused_set()
26610     *
26611     * @note @p transit can not be NULL
26612     *
26613     * @param transit The transit object.
26614     * @return EINA_TRUE means transition is paused. If @p transit is NULL
26615     * EINA_FALSE is returned
26616     *
26617     * @ingroup Transit
26618     */
26619    EAPI Eina_Bool                   elm_transit_paused_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26620
26621    /**
26622     * Get the time progression of the animation (a double value between 0.0 and 1.0).
26623     *
26624     * The value returned is a fraction (current time / total time). It
26625     * represents the progression position relative to the total.
26626     *
26627     * @note @p transit can not be NULL
26628     *
26629     * @param transit The transit object.
26630     *
26631     * @return The time progression value. If @p transit is NULL
26632     * 0 is returned
26633     *
26634     * @ingroup Transit
26635     */
26636    EAPI double                      elm_transit_progress_value_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26637
26638    /**
26639     * Makes the chain relationship between two transits.
26640     *
26641     * @note @p transit can not be NULL. Transit would have multiple chain transits.
26642     * @note @p chain_transit can not be NULL. Chain transits could be chained to the only one transit.
26643     *
26644     * @param transit The transit object.
26645     * @param chain_transit The chain transit object. This transit will be operated
26646     *        after transit is done.
26647     *
26648     * This function adds @p chain_transit transition to a chain after the @p
26649     * transit, and will be started as soon as @p transit ends. See @ref
26650     * transit_example_02_explained for a full example.
26651     *
26652     * @ingroup Transit
26653     */
26654    EAPI void                        elm_transit_chain_transit_add(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1, 2);
26655
26656    /**
26657     * Cut off the chain relationship between two transits.
26658     *
26659     * @note @p transit can not be NULL. Transit would have the chain relationship with @p chain transit.
26660     * @note @p chain_transit can not be NULL. Chain transits should be chained to the @p transit.
26661     *
26662     * @param transit The transit object.
26663     * @param chain_transit The chain transit object.
26664     *
26665     * This function remove the @p chain_transit transition from the @p transit.
26666     *
26667     * @ingroup Transit
26668     */
26669    EAPI void                        elm_transit_chain_transit_del(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1,2);
26670
26671    /**
26672     * Get the current chain transit list.
26673     *
26674     * @note @p transit can not be NULL.
26675     *
26676     * @param transit The transit object.
26677     * @return chain transit list.
26678     *
26679     * @ingroup Transit
26680     */
26681    EAPI Eina_List                  *elm_transit_chain_transits_get(const Elm_Transit *transit);
26682
26683    /**
26684     * Add the Resizing Effect to Elm_Transit.
26685     *
26686     * @note This API is one of the facades. It creates resizing effect context
26687     * and add it's required APIs to elm_transit_effect_add.
26688     *
26689     * @see elm_transit_effect_add()
26690     *
26691     * @param transit Transit object.
26692     * @param from_w Object width size when effect begins.
26693     * @param from_h Object height size when effect begins.
26694     * @param to_w Object width size when effect ends.
26695     * @param to_h Object height size when effect ends.
26696     * @return Resizing effect context data.
26697     *
26698     * @ingroup Transit
26699     */
26700    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);
26701
26702    /**
26703     * Add the Translation Effect to Elm_Transit.
26704     *
26705     * @note This API is one of the facades. It creates translation effect context
26706     * and add it's required APIs to elm_transit_effect_add.
26707     *
26708     * @see elm_transit_effect_add()
26709     *
26710     * @param transit Transit object.
26711     * @param from_dx X Position variation when effect begins.
26712     * @param from_dy Y Position variation when effect begins.
26713     * @param to_dx X Position variation when effect ends.
26714     * @param to_dy Y Position variation when effect ends.
26715     * @return Translation effect context data.
26716     *
26717     * @ingroup Transit
26718     * @warning It is highly recommended just create a transit with this effect when
26719     * the window that the objects of the transit belongs has already been created.
26720     * This is because this effect needs the geometry information about the objects,
26721     * and if the window was not created yet, it can get a wrong information.
26722     */
26723    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);
26724
26725    /**
26726     * Add the Zoom Effect to Elm_Transit.
26727     *
26728     * @note This API is one of the facades. It creates zoom effect context
26729     * and add it's required APIs to elm_transit_effect_add.
26730     *
26731     * @see elm_transit_effect_add()
26732     *
26733     * @param transit Transit object.
26734     * @param from_rate Scale rate when effect begins (1 is current rate).
26735     * @param to_rate Scale rate when effect ends.
26736     * @return Zoom effect context data.
26737     *
26738     * @ingroup Transit
26739     * @warning It is highly recommended just create a transit with this effect when
26740     * the window that the objects of the transit belongs has already been created.
26741     * This is because this effect needs the geometry information about the objects,
26742     * and if the window was not created yet, it can get a wrong information.
26743     */
26744    EAPI Elm_Transit_Effect *elm_transit_effect_zoom_add(Elm_Transit *transit, float from_rate, float to_rate);
26745
26746    /**
26747     * Add the Flip Effect to Elm_Transit.
26748     *
26749     * @note This API is one of the facades. It creates flip effect context
26750     * and add it's required APIs to elm_transit_effect_add.
26751     * @note This effect is applied to each pair of objects in the order they are listed
26752     * in the transit list of objects. The first object in the pair will be the
26753     * "front" object and the second will be the "back" object.
26754     *
26755     * @see elm_transit_effect_add()
26756     *
26757     * @param transit Transit object.
26758     * @param axis Flipping Axis(X or Y).
26759     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
26760     * @return Flip effect context data.
26761     *
26762     * @ingroup Transit
26763     * @warning It is highly recommended just create a transit with this effect when
26764     * the window that the objects of the transit belongs has already been created.
26765     * This is because this effect needs the geometry information about the objects,
26766     * and if the window was not created yet, it can get a wrong information.
26767     */
26768    EAPI Elm_Transit_Effect *elm_transit_effect_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
26769
26770    /**
26771     * Add the Resizable Flip Effect to Elm_Transit.
26772     *
26773     * @note This API is one of the facades. It creates resizable flip effect context
26774     * and add it's required APIs to elm_transit_effect_add.
26775     * @note This effect is applied to each pair of objects in the order they are listed
26776     * in the transit list of objects. The first object in the pair will be the
26777     * "front" object and the second will be the "back" object.
26778     *
26779     * @see elm_transit_effect_add()
26780     *
26781     * @param transit Transit object.
26782     * @param axis Flipping Axis(X or Y).
26783     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
26784     * @return Resizable flip effect context data.
26785     *
26786     * @ingroup Transit
26787     * @warning It is highly recommended just create a transit with this effect when
26788     * the window that the objects of the transit belongs has already been created.
26789     * This is because this effect needs the geometry information about the objects,
26790     * and if the window was not created yet, it can get a wrong information.
26791     */
26792    EAPI Elm_Transit_Effect *elm_transit_effect_resizable_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
26793
26794    /**
26795     * Add the Wipe Effect to Elm_Transit.
26796     *
26797     * @note This API is one of the facades. It creates wipe effect context
26798     * and add it's required APIs to elm_transit_effect_add.
26799     *
26800     * @see elm_transit_effect_add()
26801     *
26802     * @param transit Transit object.
26803     * @param type Wipe type. Hide or show.
26804     * @param dir Wipe Direction.
26805     * @return Wipe effect context data.
26806     *
26807     * @ingroup Transit
26808     * @warning It is highly recommended just create a transit with this effect when
26809     * the window that the objects of the transit belongs has already been created.
26810     * This is because this effect needs the geometry information about the objects,
26811     * and if the window was not created yet, it can get a wrong information.
26812     */
26813    EAPI Elm_Transit_Effect *elm_transit_effect_wipe_add(Elm_Transit *transit, Elm_Transit_Effect_Wipe_Type type, Elm_Transit_Effect_Wipe_Dir dir);
26814
26815    /**
26816     * Add the Color Effect to Elm_Transit.
26817     *
26818     * @note This API is one of the facades. It creates color effect context
26819     * and add it's required APIs to elm_transit_effect_add.
26820     *
26821     * @see elm_transit_effect_add()
26822     *
26823     * @param transit        Transit object.
26824     * @param  from_r        RGB R when effect begins.
26825     * @param  from_g        RGB G when effect begins.
26826     * @param  from_b        RGB B when effect begins.
26827     * @param  from_a        RGB A when effect begins.
26828     * @param  to_r          RGB R when effect ends.
26829     * @param  to_g          RGB G when effect ends.
26830     * @param  to_b          RGB B when effect ends.
26831     * @param  to_a          RGB A when effect ends.
26832     * @return               Color effect context data.
26833     *
26834     * @ingroup Transit
26835     */
26836    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);
26837
26838    /**
26839     * Add the Fade Effect to Elm_Transit.
26840     *
26841     * @note This API is one of the facades. It creates fade effect context
26842     * and add it's required APIs to elm_transit_effect_add.
26843     * @note This effect is applied to each pair of objects in the order they are listed
26844     * in the transit list of objects. The first object in the pair will be the
26845     * "before" object and the second will be the "after" object.
26846     *
26847     * @see elm_transit_effect_add()
26848     *
26849     * @param transit Transit object.
26850     * @return Fade effect context data.
26851     *
26852     * @ingroup Transit
26853     * @warning It is highly recommended just create a transit with this effect when
26854     * the window that the objects of the transit belongs has already been created.
26855     * This is because this effect needs the color information about the objects,
26856     * and if the window was not created yet, it can get a wrong information.
26857     */
26858    EAPI Elm_Transit_Effect *elm_transit_effect_fade_add(Elm_Transit *transit);
26859
26860    /**
26861     * Add the Blend Effect to Elm_Transit.
26862     *
26863     * @note This API is one of the facades. It creates blend effect context
26864     * and add it's required APIs to elm_transit_effect_add.
26865     * @note This effect is applied to each pair of objects in the order they are listed
26866     * in the transit list of objects. The first object in the pair will be the
26867     * "before" object and the second will be the "after" object.
26868     *
26869     * @see elm_transit_effect_add()
26870     *
26871     * @param transit Transit object.
26872     * @return Blend effect context data.
26873     *
26874     * @ingroup Transit
26875     * @warning It is highly recommended just create a transit with this effect when
26876     * the window that the objects of the transit belongs has already been created.
26877     * This is because this effect needs the color information about the objects,
26878     * and if the window was not created yet, it can get a wrong information.
26879     */
26880    EAPI Elm_Transit_Effect *elm_transit_effect_blend_add(Elm_Transit *transit);
26881
26882    /**
26883     * Add the Rotation Effect to Elm_Transit.
26884     *
26885     * @note This API is one of the facades. It creates rotation effect context
26886     * and add it's required APIs to elm_transit_effect_add.
26887     *
26888     * @see elm_transit_effect_add()
26889     *
26890     * @param transit Transit object.
26891     * @param from_degree Degree when effect begins.
26892     * @param to_degree Degree when effect is ends.
26893     * @return Rotation effect context data.
26894     *
26895     * @ingroup Transit
26896     * @warning It is highly recommended just create a transit with this effect when
26897     * the window that the objects of the transit belongs has already been created.
26898     * This is because this effect needs the geometry information about the objects,
26899     * and if the window was not created yet, it can get a wrong information.
26900     */
26901    EAPI Elm_Transit_Effect *elm_transit_effect_rotation_add(Elm_Transit *transit, float from_degree, float to_degree);
26902
26903    /**
26904     * Add the ImageAnimation Effect to Elm_Transit.
26905     *
26906     * @note This API is one of the facades. It creates image animation effect context
26907     * and add it's required APIs to elm_transit_effect_add.
26908     * The @p images parameter is a list images paths. This list and
26909     * its contents will be deleted at the end of the effect by
26910     * elm_transit_effect_image_animation_context_free() function.
26911     *
26912     * Example:
26913     * @code
26914     * char buf[PATH_MAX];
26915     * Eina_List *images = NULL;
26916     * Elm_Transit *transi = elm_transit_add();
26917     *
26918     * snprintf(buf, sizeof(buf), "%s/images/icon_11.png", PACKAGE_DATA_DIR);
26919     * images = eina_list_append(images, eina_stringshare_add(buf));
26920     *
26921     * snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
26922     * images = eina_list_append(images, eina_stringshare_add(buf));
26923     * elm_transit_effect_image_animation_add(transi, images);
26924     *
26925     * @endcode
26926     *
26927     * @see elm_transit_effect_add()
26928     *
26929     * @param transit Transit object.
26930     * @param images Eina_List of images file paths. This list and
26931     * its contents will be deleted at the end of the effect by
26932     * elm_transit_effect_image_animation_context_free() function.
26933     * @return Image Animation effect context data.
26934     *
26935     * @ingroup Transit
26936     */
26937    EAPI Elm_Transit_Effect *elm_transit_effect_image_animation_add(Elm_Transit *transit, Eina_List *images);
26938    /**
26939     * @}
26940     */
26941
26942   typedef struct _Elm_Store                      Elm_Store;
26943   typedef struct _Elm_Store_Filesystem           Elm_Store_Filesystem;
26944   typedef struct _Elm_Store_Item                 Elm_Store_Item;
26945   typedef struct _Elm_Store_Item_Filesystem      Elm_Store_Item_Filesystem;
26946   typedef struct _Elm_Store_Item_Info            Elm_Store_Item_Info;
26947   typedef struct _Elm_Store_Item_Info_Filesystem Elm_Store_Item_Info_Filesystem;
26948   typedef struct _Elm_Store_Item_Mapping         Elm_Store_Item_Mapping;
26949   typedef struct _Elm_Store_Item_Mapping_Empty   Elm_Store_Item_Mapping_Empty;
26950   typedef struct _Elm_Store_Item_Mapping_Icon    Elm_Store_Item_Mapping_Icon;
26951   typedef struct _Elm_Store_Item_Mapping_Photo   Elm_Store_Item_Mapping_Photo;
26952   typedef struct _Elm_Store_Item_Mapping_Custom  Elm_Store_Item_Mapping_Custom;
26953
26954   typedef Eina_Bool (*Elm_Store_Item_List_Cb) (void *data, Elm_Store_Item_Info *info);
26955   typedef void      (*Elm_Store_Item_Fetch_Cb) (void *data, Elm_Store_Item *sti);
26956   typedef void      (*Elm_Store_Item_Unfetch_Cb) (void *data, Elm_Store_Item *sti);
26957   typedef void     *(*Elm_Store_Item_Mapping_Cb) (void *data, Elm_Store_Item *sti, const char *part);
26958
26959   typedef enum
26960     {
26961        ELM_STORE_ITEM_MAPPING_NONE = 0,
26962        ELM_STORE_ITEM_MAPPING_LABEL, // const char * -> label
26963        ELM_STORE_ITEM_MAPPING_STATE, // Eina_Bool -> state
26964        ELM_STORE_ITEM_MAPPING_ICON, // char * -> icon path
26965        ELM_STORE_ITEM_MAPPING_PHOTO, // char * -> photo path
26966        ELM_STORE_ITEM_MAPPING_CUSTOM, // item->custom(it->data, it, part) -> void * (-> any)
26967        // can add more here as needed by common apps
26968        ELM_STORE_ITEM_MAPPING_LAST
26969     } Elm_Store_Item_Mapping_Type;
26970
26971   struct _Elm_Store_Item_Mapping_Icon
26972     {
26973        // FIXME: allow edje file icons
26974        int                   w, h;
26975        Elm_Icon_Lookup_Order lookup_order;
26976        Eina_Bool             standard_name : 1;
26977        Eina_Bool             no_scale : 1;
26978        Eina_Bool             smooth : 1;
26979        Eina_Bool             scale_up : 1;
26980        Eina_Bool             scale_down : 1;
26981     };
26982
26983   struct _Elm_Store_Item_Mapping_Empty
26984     {
26985        Eina_Bool             dummy;
26986     };
26987
26988   struct _Elm_Store_Item_Mapping_Photo
26989     {
26990        int                   size;
26991     };
26992
26993   struct _Elm_Store_Item_Mapping_Custom
26994     {
26995        Elm_Store_Item_Mapping_Cb func;
26996     };
26997
26998   struct _Elm_Store_Item_Mapping
26999     {
27000        Elm_Store_Item_Mapping_Type     type;
27001        const char                     *part;
27002        int                             offset;
27003        union
27004          {
27005             Elm_Store_Item_Mapping_Empty  empty;
27006             Elm_Store_Item_Mapping_Icon   icon;
27007             Elm_Store_Item_Mapping_Photo  photo;
27008             Elm_Store_Item_Mapping_Custom custom;
27009             // add more types here
27010          } details;
27011     };
27012
27013   struct _Elm_Store_Item_Info
27014     {
27015       Elm_Genlist_Item_Class       *item_class;
27016       const Elm_Store_Item_Mapping *mapping;
27017       void                         *data;
27018       char                         *sort_id;
27019     };
27020
27021   struct _Elm_Store_Item_Info_Filesystem
27022     {
27023       Elm_Store_Item_Info  base;
27024       char                *path;
27025     };
27026
27027 #define ELM_STORE_ITEM_MAPPING_END { ELM_STORE_ITEM_MAPPING_NONE, NULL, 0, { .empty = { EINA_TRUE } } }
27028 #define ELM_STORE_ITEM_MAPPING_OFFSET(st, it) offsetof(st, it)
27029
27030   EAPI void                    elm_store_free(Elm_Store *st);
27031
27032   EAPI Elm_Store              *elm_store_filesystem_new(void);
27033   EAPI void                    elm_store_filesystem_directory_set(Elm_Store *st, const char *dir) EINA_ARG_NONNULL(1);
27034   EAPI const char             *elm_store_filesystem_directory_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27035   EAPI const char             *elm_store_item_filesystem_path_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27036
27037   EAPI void                    elm_store_target_genlist_set(Elm_Store *st, Evas_Object *obj) EINA_ARG_NONNULL(1);
27038
27039   EAPI void                    elm_store_cache_set(Elm_Store *st, int max) EINA_ARG_NONNULL(1);
27040   EAPI int                     elm_store_cache_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27041   EAPI void                    elm_store_list_func_set(Elm_Store *st, Elm_Store_Item_List_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
27042   EAPI void                    elm_store_fetch_func_set(Elm_Store *st, Elm_Store_Item_Fetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
27043   EAPI void                    elm_store_fetch_thread_set(Elm_Store *st, Eina_Bool use_thread) EINA_ARG_NONNULL(1);
27044   EAPI Eina_Bool               elm_store_fetch_thread_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27045
27046   EAPI void                    elm_store_unfetch_func_set(Elm_Store *st, Elm_Store_Item_Unfetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
27047   EAPI void                    elm_store_sorted_set(Elm_Store *st, Eina_Bool sorted) EINA_ARG_NONNULL(1);
27048   EAPI Eina_Bool               elm_store_sorted_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27049   EAPI void                    elm_store_item_data_set(Elm_Store_Item *sti, void *data) EINA_ARG_NONNULL(1);
27050   EAPI void                   *elm_store_item_data_get(Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27051   EAPI const Elm_Store        *elm_store_item_store_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27052   EAPI const Elm_Genlist_Item *elm_store_item_genlist_item_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27053
27054    /**
27055     * @defgroup SegmentControl SegmentControl
27056     * @ingroup Elementary
27057     *
27058     * @image html img/widget/segment_control/preview-00.png
27059     * @image latex img/widget/segment_control/preview-00.eps width=\textwidth
27060     *
27061     * @image html img/segment_control.png
27062     * @image latex img/segment_control.eps width=\textwidth
27063     *
27064     * Segment control widget is a horizontal control made of multiple segment
27065     * items, each segment item functioning similar to discrete two state button.
27066     * A segment control groups the items together and provides compact
27067     * single button with multiple equal size segments.
27068     *
27069     * Segment item size is determined by base widget
27070     * size and the number of items added.
27071     * Only one segment item can be at selected state. A segment item can display
27072     * combination of Text and any Evas_Object like Images or other widget.
27073     *
27074     * Smart callbacks one can listen to:
27075     * - "changed" - When the user clicks on a segment item which is not
27076     *   previously selected and get selected. The event_info parameter is the
27077     *   segment item index.
27078     *
27079     * Available styles for it:
27080     * - @c "default"
27081     *
27082     * Here is an example on its usage:
27083     * @li @ref segment_control_example
27084     */
27085
27086    /**
27087     * @addtogroup SegmentControl
27088     * @{
27089     */
27090
27091    typedef struct _Elm_Segment_Item Elm_Segment_Item; /**< Item handle for a segment control widget. */
27092
27093    /**
27094     * Add a new segment control widget to the given parent Elementary
27095     * (container) object.
27096     *
27097     * @param parent The parent object.
27098     * @return a new segment control widget handle or @c NULL, on errors.
27099     *
27100     * This function inserts a new segment control widget on the canvas.
27101     *
27102     * @ingroup SegmentControl
27103     */
27104    EAPI Evas_Object      *elm_segment_control_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
27105
27106    /**
27107     * Append a new item to the segment control object.
27108     *
27109     * @param obj The segment control object.
27110     * @param icon The icon object to use for the left side of the item. An
27111     * icon can be any Evas object, but usually it is an icon created
27112     * with elm_icon_add().
27113     * @param label The label of the item.
27114     *        Note that, NULL is different from empty string "".
27115     * @return The created item or @c NULL upon failure.
27116     *
27117     * A new item will be created and appended to the segment control, i.e., will
27118     * be set as @b last item.
27119     *
27120     * If it should be inserted at another position,
27121     * elm_segment_control_item_insert_at() should be used instead.
27122     *
27123     * Items created with this function can be deleted with function
27124     * elm_segment_control_item_del() or elm_segment_control_item_del_at().
27125     *
27126     * @note @p label set to @c NULL is different from empty string "".
27127     * If an item
27128     * only has icon, it will be displayed bigger and centered. If it has
27129     * icon and label, even that an empty string, icon will be smaller and
27130     * positioned at left.
27131     *
27132     * Simple example:
27133     * @code
27134     * sc = elm_segment_control_add(win);
27135     * ic = elm_icon_add(win);
27136     * elm_icon_file_set(ic, "path/to/image", NULL);
27137     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
27138     * elm_segment_control_item_add(sc, ic, "label");
27139     * evas_object_show(sc);
27140     * @endcode
27141     *
27142     * @see elm_segment_control_item_insert_at()
27143     * @see elm_segment_control_item_del()
27144     *
27145     * @ingroup SegmentControl
27146     */
27147    EAPI Elm_Segment_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const char *label) EINA_ARG_NONNULL(1);
27148
27149    /**
27150     * Insert a new item to the segment control object at specified position.
27151     *
27152     * @param obj The segment control object.
27153     * @param icon The icon object to use for the left side of the item. An
27154     * icon can be any Evas object, but usually it is an icon created
27155     * with elm_icon_add().
27156     * @param label The label of the item.
27157     * @param index Item position. Value should be between 0 and items count.
27158     * @return The created item or @c NULL upon failure.
27159
27160     * Index values must be between @c 0, when item will be prepended to
27161     * segment control, and items count, that can be get with
27162     * elm_segment_control_item_count_get(), case when item will be appended
27163     * to segment control, just like elm_segment_control_item_add().
27164     *
27165     * Items created with this function can be deleted with function
27166     * elm_segment_control_item_del() or elm_segment_control_item_del_at().
27167     *
27168     * @note @p label set to @c NULL is different from empty string "".
27169     * If an item
27170     * only has icon, it will be displayed bigger and centered. If it has
27171     * icon and label, even that an empty string, icon will be smaller and
27172     * positioned at left.
27173     *
27174     * @see elm_segment_control_item_add()
27175     * @see elm_segment_control_item_count_get()
27176     * @see elm_segment_control_item_del()
27177     *
27178     * @ingroup SegmentControl
27179     */
27180    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);
27181
27182    /**
27183     * Remove a segment control item from its parent, deleting it.
27184     *
27185     * @param it The item to be removed.
27186     *
27187     * Items can be added with elm_segment_control_item_add() or
27188     * elm_segment_control_item_insert_at().
27189     *
27190     * @ingroup SegmentControl
27191     */
27192    EAPI void              elm_segment_control_item_del(Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
27193
27194    /**
27195     * Remove a segment control item at given index from its parent,
27196     * deleting it.
27197     *
27198     * @param obj The segment control object.
27199     * @param index The position of the segment control item to be deleted.
27200     *
27201     * Items can be added with elm_segment_control_item_add() or
27202     * elm_segment_control_item_insert_at().
27203     *
27204     * @ingroup SegmentControl
27205     */
27206    EAPI void              elm_segment_control_item_del_at(Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
27207
27208    /**
27209     * Get the Segment items count from segment control.
27210     *
27211     * @param obj The segment control object.
27212     * @return Segment items count.
27213     *
27214     * It will just return the number of items added to segment control @p obj.
27215     *
27216     * @ingroup SegmentControl
27217     */
27218    EAPI int               elm_segment_control_item_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27219
27220    /**
27221     * Get the item placed at specified index.
27222     *
27223     * @param obj The segment control object.
27224     * @param index The index of the segment item.
27225     * @return The segment control item or @c NULL on failure.
27226     *
27227     * Index is the position of an item in segment control widget. Its
27228     * range is from @c 0 to <tt> count - 1 </tt>.
27229     * Count is the number of items, that can be get with
27230     * elm_segment_control_item_count_get().
27231     *
27232     * @ingroup SegmentControl
27233     */
27234    EAPI Elm_Segment_Item *elm_segment_control_item_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
27235
27236    /**
27237     * Get the label of item.
27238     *
27239     * @param obj The segment control object.
27240     * @param index The index of the segment item.
27241     * @return The label of the item at @p index.
27242     *
27243     * The return value is a pointer to the label associated to the item when
27244     * it was created, with function elm_segment_control_item_add(), or later
27245     * with function elm_segment_control_item_label_set. If no label
27246     * was passed as argument, it will return @c NULL.
27247     *
27248     * @see elm_segment_control_item_label_set() for more details.
27249     * @see elm_segment_control_item_add()
27250     *
27251     * @ingroup SegmentControl
27252     */
27253    EAPI const char       *elm_segment_control_item_label_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
27254
27255    /**
27256     * Set the label of item.
27257     *
27258     * @param it The item of segment control.
27259     * @param text The label of item.
27260     *
27261     * The label to be displayed by the item.
27262     * Label will be at right of the icon (if set).
27263     *
27264     * If a label was passed as argument on item creation, with function
27265     * elm_control_segment_item_add(), it will be already
27266     * displayed by the item.
27267     *
27268     * @see elm_segment_control_item_label_get()
27269     * @see elm_segment_control_item_add()
27270     *
27271     * @ingroup SegmentControl
27272     */
27273    EAPI void              elm_segment_control_item_label_set(Elm_Segment_Item* it, const char* label) EINA_ARG_NONNULL(1);
27274
27275    /**
27276     * Get the icon associated to the item.
27277     *
27278     * @param obj The segment control object.
27279     * @param index The index of the segment item.
27280     * @return The left side icon associated to the item at @p index.
27281     *
27282     * The return value is a pointer to the icon associated to the item when
27283     * it was created, with function elm_segment_control_item_add(), or later
27284     * with function elm_segment_control_item_icon_set(). If no icon
27285     * was passed as argument, it will return @c NULL.
27286     *
27287     * @see elm_segment_control_item_add()
27288     * @see elm_segment_control_item_icon_set()
27289     *
27290     * @ingroup SegmentControl
27291     */
27292    EAPI Evas_Object      *elm_segment_control_item_icon_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
27293
27294    /**
27295     * Set the icon associated to the item.
27296     *
27297     * @param it The segment control item.
27298     * @param icon The icon object to associate with @p it.
27299     *
27300     * The icon object to use at left side of the item. An
27301     * icon can be any Evas object, but usually it is an icon created
27302     * with elm_icon_add().
27303     *
27304     * Once the icon object is set, a previously set one will be deleted.
27305     * @warning Setting the same icon for two items will cause the icon to
27306     * dissapear from the first item.
27307     *
27308     * If an icon was passed as argument on item creation, with function
27309     * elm_segment_control_item_add(), it will be already
27310     * associated to the item.
27311     *
27312     * @see elm_segment_control_item_add()
27313     * @see elm_segment_control_item_icon_get()
27314     *
27315     * @ingroup SegmentControl
27316     */
27317    EAPI void              elm_segment_control_item_icon_set(Elm_Segment_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
27318
27319    /**
27320     * Get the index of an item.
27321     *
27322     * @param it The segment control item.
27323     * @return The position of item in segment control widget.
27324     *
27325     * Index is the position of an item in segment control widget. Its
27326     * range is from @c 0 to <tt> count - 1 </tt>.
27327     * Count is the number of items, that can be get with
27328     * elm_segment_control_item_count_get().
27329     *
27330     * @ingroup SegmentControl
27331     */
27332    EAPI int               elm_segment_control_item_index_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
27333
27334    /**
27335     * Get the base object of the item.
27336     *
27337     * @param it The segment control item.
27338     * @return The base object associated with @p it.
27339     *
27340     * Base object is the @c Evas_Object that represents that item.
27341     *
27342     * @ingroup SegmentControl
27343     */
27344    EAPI Evas_Object      *elm_segment_control_item_object_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
27345
27346    /**
27347     * Get the selected item.
27348     *
27349     * @param obj The segment control object.
27350     * @return The selected item or @c NULL if none of segment items is
27351     * selected.
27352     *
27353     * The selected item can be unselected with function
27354     * elm_segment_control_item_selected_set().
27355     *
27356     * The selected item always will be highlighted on segment control.
27357     *
27358     * @ingroup SegmentControl
27359     */
27360    EAPI Elm_Segment_Item *elm_segment_control_item_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27361
27362    /**
27363     * Set the selected state of an item.
27364     *
27365     * @param it The segment control item
27366     * @param select The selected state
27367     *
27368     * This sets the selected state of the given item @p it.
27369     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
27370     *
27371     * If a new item is selected the previosly selected will be unselected.
27372     * Previoulsy selected item can be get with function
27373     * elm_segment_control_item_selected_get().
27374     *
27375     * The selected item always will be highlighted on segment control.
27376     *
27377     * @see elm_segment_control_item_selected_get()
27378     *
27379     * @ingroup SegmentControl
27380     */
27381    EAPI void              elm_segment_control_item_selected_set(Elm_Segment_Item *it, Eina_Bool select) EINA_ARG_NONNULL(1);
27382
27383    /**
27384     * @}
27385     */
27386
27387    /**
27388     * @defgroup Grid Grid
27389     *
27390     * The grid is a grid layout widget that lays out a series of children as a
27391     * fixed "grid" of widgets using a given percentage of the grid width and
27392     * height each using the child object.
27393     *
27394     * The Grid uses a "Virtual resolution" that is stretched to fill the grid
27395     * widgets size itself. The default is 100 x 100, so that means the
27396     * position and sizes of children will effectively be percentages (0 to 100)
27397     * of the width or height of the grid widget
27398     *
27399     * @{
27400     */
27401
27402    /**
27403     * Add a new grid to the parent
27404     *
27405     * @param parent The parent object
27406     * @return The new object or NULL if it cannot be created
27407     *
27408     * @ingroup Grid
27409     */
27410    EAPI Evas_Object *elm_grid_add(Evas_Object *parent);
27411
27412    /**
27413     * Set the virtual size of the grid
27414     *
27415     * @param obj The grid object
27416     * @param w The virtual width of the grid
27417     * @param h The virtual height of the grid
27418     *
27419     * @ingroup Grid
27420     */
27421    EAPI void         elm_grid_size_set(Evas_Object *obj, int w, int h);
27422
27423    /**
27424     * Get the virtual size of the grid
27425     *
27426     * @param obj The grid object
27427     * @param w Pointer to integer to store the virtual width of the grid
27428     * @param h Pointer to integer to store the virtual height of the grid
27429     *
27430     * @ingroup Grid
27431     */
27432    EAPI void         elm_grid_size_get(Evas_Object *obj, int *w, int *h);
27433
27434    /**
27435     * Pack child at given position and size
27436     *
27437     * @param obj The grid object
27438     * @param subobj The child to pack
27439     * @param x The virtual x coord at which to pack it
27440     * @param y The virtual y coord at which to pack it
27441     * @param w The virtual width at which to pack it
27442     * @param h The virtual height at which to pack it
27443     *
27444     * @ingroup Grid
27445     */
27446    EAPI void         elm_grid_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h);
27447
27448    /**
27449     * Unpack a child from a grid object
27450     *
27451     * @param obj The grid object
27452     * @param subobj The child to unpack
27453     *
27454     * @ingroup Grid
27455     */
27456    EAPI void         elm_grid_unpack(Evas_Object *obj, Evas_Object *subobj);
27457
27458    /**
27459     * Faster way to remove all child objects from a grid object.
27460     *
27461     * @param obj The grid object
27462     * @param clear If true, it will delete just removed children
27463     *
27464     * @ingroup Grid
27465     */
27466    EAPI void         elm_grid_clear(Evas_Object *obj, Eina_Bool clear);
27467
27468    /**
27469     * Set packing of an existing child at to position and size
27470     *
27471     * @param subobj The child to set packing of
27472     * @param x The virtual x coord at which to pack it
27473     * @param y The virtual y coord at which to pack it
27474     * @param w The virtual width at which to pack it
27475     * @param h The virtual height at which to pack it
27476     *
27477     * @ingroup Grid
27478     */
27479    EAPI void         elm_grid_pack_set(Evas_Object *subobj, int x, int y, int w, int h);
27480
27481    /**
27482     * get packing of a child
27483     *
27484     * @param subobj The child to query
27485     * @param x Pointer to integer to store the virtual x coord
27486     * @param y Pointer to integer to store the virtual y coord
27487     * @param w Pointer to integer to store the virtual width
27488     * @param h Pointer to integer to store the virtual height
27489     *
27490     * @ingroup Grid
27491     */
27492    EAPI void         elm_grid_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h);
27493
27494    /**
27495     * @}
27496     */
27497
27498    EAPI Evas_Object *elm_factory_add(Evas_Object *parent);
27499    EAPI void         elm_factory_content_set(Evas_Object *obj, Evas_Object *content);
27500    EAPI Evas_Object *elm_factory_content_get(const Evas_Object *obj);
27501    EAPI void         elm_factory_maxmin_mode_set(Evas_Object *obj, Eina_Bool enabled);
27502    EAPI Eina_Bool    elm_factory_maxmin_mode_get(const Evas_Object *obj);
27503    EAPI void         elm_factory_maxmin_reset_set(Evas_Object *obj);
27504
27505    /**
27506     * @defgroup Video Video
27507     *
27508     * This object display an player that let you control an Elm_Video
27509     * object. It take care of updating it's content according to what is
27510     * going on inside the Emotion object. It does activate the remember
27511     * function on the linked Elm_Video object.
27512     *
27513     * Signals that you can add callback for are :
27514     *
27515     * "forward,clicked" - the user clicked the forward button.
27516     * "info,clicked" - the user clicked the info button.
27517     * "next,clicked" - the user clicked the next button.
27518     * "pause,clicked" - the user clicked the pause button.
27519     * "play,clicked" - the user clicked the play button.
27520     * "prev,clicked" - the user clicked the prev button.
27521     * "rewind,clicked" - the user clicked the rewind button.
27522     * "stop,clicked" - the user clicked the stop button.
27523     */
27524    EAPI Evas_Object *elm_video_add(Evas_Object *parent);
27525    EAPI void elm_video_file_set(Evas_Object *video, const char *filename);
27526    EAPI void elm_video_uri_set(Evas_Object *video, const char *uri);
27527    EAPI Evas_Object *elm_video_emotion_get(Evas_Object *video);
27528    EAPI void elm_video_play(Evas_Object *video);
27529    EAPI void elm_video_pause(Evas_Object *video);
27530    EAPI void elm_video_stop(Evas_Object *video);
27531    EAPI Eina_Bool elm_video_is_playing(Evas_Object *video);
27532    EAPI Eina_Bool elm_video_is_seekable(Evas_Object *video);
27533    EAPI Eina_Bool elm_video_audio_mute_get(Evas_Object *video);
27534    EAPI void elm_video_audio_mute_set(Evas_Object *video, Eina_Bool mute);
27535    EAPI double elm_video_audio_level_get(Evas_Object *video);
27536    EAPI void elm_video_audio_level_set(Evas_Object *video, double volume);
27537    EAPI double elm_video_play_position_get(Evas_Object *video);
27538    EAPI void elm_video_play_position_set(Evas_Object *video, double position);
27539    EAPI double elm_video_play_length_get(Evas_Object *video);
27540    EAPI void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember);
27541    EAPI Eina_Bool elm_video_remember_position_get(Evas_Object *video);
27542    EAPI const char *elm_video_title_get(Evas_Object *video);
27543
27544    EAPI Evas_Object *elm_player_add(Evas_Object *parent);
27545    EAPI void elm_player_video_set(Evas_Object *player, Evas_Object *video);
27546
27547    /**
27548     * @defgroup Naviframe Naviframe
27549     *
27550     * @brief Naviframe is a kind of view manager for the applications.
27551     *
27552     * Naviframe provides functions to switch different pages with stack
27553     * mechanism. It means if one page(item) needs to be changed to the new one,
27554     * then naviframe would push the new page to it's internal stack. Of course,
27555     * it can be back to the previous page by popping the top page. Naviframe
27556     * provides some transition effect while the pages are switching (same as
27557     * pager).
27558     *
27559     * Since each item could keep the different styles, users could keep the
27560     * same look & feel for the pages or different styles for the items in it's
27561     * application.
27562     *
27563     * Signals that you can add callback for are:
27564     *
27565     * @li "transition,finished" - When the transition is finished in changing
27566     *     the item
27567     * @li "title,clicked" - User clicked title area
27568     *
27569     * Default contents parts for the naviframe items that you can use for are:
27570     *
27571     * @li "elm.swallow.content" - The main content of the page
27572     * @li "elm.swallow.prev_btn" - The button to go to the previous page
27573     * @li "elm.swallow.next_btn" - The button to go to the next page
27574     *
27575     * Default text parts of naviframe items that you can be used are:
27576     *
27577     * @li "elm.text.title" - The title label in the title area
27578     *
27579     * @ref tutorial_naviframe gives a good overview of the usage of the API.
27580     * @{
27581     */
27582    /**
27583     * @brief Add a new Naviframe object to the parent.
27584     *
27585     * @param parent Parent object
27586     * @return New object or @c NULL, if it cannot be created
27587     */
27588    EAPI Evas_Object        *elm_naviframe_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
27589    /**
27590     * @brief Push a new item to the top of the naviframe stack (and show it).
27591     *
27592     * @param obj The naviframe object
27593     * @param title_label The label in the title area. The name of the title
27594     *        label part is "elm.text.title"
27595     * @param prev_btn The button to go to the previous item. If it is NULL,
27596     *        then naviframe will create a back button automatically. The name of
27597     *        the prev_btn part is "elm.swallow.prev_btn"
27598     * @param next_btn The button to go to the next item. Or It could be just an
27599     *        extra function button. The name of the next_btn part is
27600     *        "elm.swallow.next_btn"
27601     * @param content The main content object. The name of content part is
27602     *        "elm.swallow.content"
27603     * @param item_style The current item style name. @c NULL would be default.
27604     * @return The created item or @c NULL upon failure.
27605     *
27606     * The item pushed becomes one page of the naviframe, this item will be
27607     * deleted when it is popped.
27608     *
27609     * @see also elm_naviframe_item_style_set()
27610     *
27611     * The following styles are available for this item:
27612     * @li @c "default"
27613     */
27614    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);
27615    /**
27616     * @brief Pop an item that is on top of the stack
27617     *
27618     * @param obj The naviframe object
27619     * @return @c NULL or the content object(if the
27620     *         elm_naviframe_content_preserve_on_pop_get is true).
27621     *
27622     * This pops an item that is on the top(visible) of the naviframe, makes it
27623     * disappear, then deletes the item. The item that was underneath it on the
27624     * stack will become visible.
27625     *
27626     * @see also elm_naviframe_content_preserve_on_pop_get()
27627     */
27628    EAPI Evas_Object        *elm_naviframe_item_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
27629    /**
27630     * @brief Pop the items between the top and the above one on the given item.
27631     *
27632     * @param it The naviframe item
27633     */
27634    EAPI void                elm_naviframe_item_pop_to(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
27635    /**
27636     * @brief preserve the content objects when items are popped.
27637     *
27638     * @param obj The naviframe object
27639     * @param preserve Enable the preserve mode if EINA_TRUE, disable otherwise
27640     *
27641     * @see also elm_naviframe_content_preserve_on_pop_get()
27642     */
27643    EAPI void                elm_naviframe_content_preserve_on_pop_set(Evas_Object *obj, Eina_Bool preserve) EINA_ARG_NONNULL(1);
27644    /**
27645     * @brief Get a value whether preserve mode is enabled or not.
27646     *
27647     * @param obj The naviframe object
27648     * @return If @c EINA_TRUE, preserve mode is enabled
27649     *
27650     * @see also elm_naviframe_content_preserve_on_pop_set()
27651     */
27652    EAPI Eina_Bool           elm_naviframe_content_preserve_on_pop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27653    /**
27654     * @brief Get a top item on the naviframe stack
27655     *
27656     * @param obj The naviframe object
27657     * @return The top item on the naviframe stack or @c NULL, if the stack is
27658     *         empty
27659     */
27660    EAPI Elm_Object_Item    *elm_naviframe_top_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27661    /**
27662     * @brief Get a bottom item on the naviframe stack
27663     *
27664     * @param obj The naviframe object
27665     * @return The bottom item on the naviframe stack or @c NULL, if the stack is
27666     *         empty
27667     */
27668    EAPI Elm_Object_Item    *elm_naviframe_bottom_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27669    /**
27670     * @brief Set an item style
27671     *
27672     * @param obj The naviframe item
27673     * @param item_style The current item style name. @c NULL would be default
27674     *
27675     * The following styles are available for this item:
27676     * @li @c "default"
27677     *
27678     * @see also elm_naviframe_item_style_get()
27679     */
27680    EAPI void                elm_naviframe_item_style_set(Elm_Object_Item *it, const char *item_style) EINA_ARG_NONNULL(1);
27681    /**
27682     * @brief Get an item style
27683     *
27684     * @param obj The naviframe item
27685     * @return The current item style name
27686     *
27687     * @see also elm_naviframe_item_style_set()
27688     */
27689    EAPI const char         *elm_naviframe_item_style_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
27690    /**
27691     * @brief Show/Hide the title area
27692     *
27693     * @param it The naviframe item
27694     * @param visible If @c EINA_TRUE, title area will be visible, hidden
27695     *        otherwise
27696     *
27697     * When the title area is invisible, then the controls would be hidden so as     * to expand the content area to full-size.
27698     *
27699     * @see also elm_naviframe_item_title_visible_get()
27700     */
27701    EAPI void                elm_naviframe_item_title_visible_set(Elm_Object_Item *it, Eina_Bool visible) EINA_ARG_NONNULL(1);
27702    /**
27703     * @brief Get a value whether title area is visible or not.
27704     *
27705     * @param it The naviframe item
27706     * @return If @c EINA_TRUE, title area is visible
27707     *
27708     * @see also elm_naviframe_item_title_visible_set()
27709     */
27710    EAPI Eina_Bool           elm_naviframe_item_title_visible_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
27711
27712    /**
27713     * @}
27714     */
27715
27716 #ifdef __cplusplus
27717 }
27718 #endif
27719
27720 #endif