9fc99715f1109869aa2dd5519429f1ab25b5e753
[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 which hold the widgets.
33
34 @section license License
35
36 LGPL v2 (see COPYING in the base of Elementary's source). This applies to
37 all files in the source tree.
38
39 @section ack Acknowledgements
40 There is a lot that goes into making a widget set, and they don't happen out of
41 nothing. It's like trying to make everyone everywhere happy, regardless of age,
42 gender, race or nationality - and that is really tough. So thanks to people and
43 organisations behind this, as listed in the @ref authors page.
44 */
45
46
47 /**
48  * @defgroup Start Getting Started
49  *
50  * To write an Elementary app, you can get started with the following:
51  *
52 @code
53 #include <Elementary.h>
54 EAPI_MAIN int
55 elm_main(int argc, char **argv)
56 {
57    // create window(s) here and do any application init
58    elm_run(); // run main loop
59    elm_shutdown(); // after mainloop finishes running, shutdown
60    return 0; // exit 0 for exit code
61 }
62 ELM_MAIN()
63 @endcode
64  *
65  * To use autotools (which helps in many ways in the long run, like being able
66  * to immediately create releases of your software directly from your tree
67  * and ensure everything needed to build it is there) you will need a
68  * configure.ac, Makefile.am and autogen.sh file.
69  *
70  * configure.ac:
71  *
72 @verbatim
73 AC_INIT(myapp, 0.0.0, myname@mydomain.com)
74 AC_PREREQ(2.52)
75 AC_CONFIG_SRCDIR(configure.ac)
76 AM_CONFIG_HEADER(config.h)
77 AC_PROG_CC
78 AM_INIT_AUTOMAKE(1.6 dist-bzip2)
79 PKG_CHECK_MODULES([ELEMENTARY], elementary)
80 AC_OUTPUT(Makefile)
81 @endverbatim
82  *
83  * Makefile.am:
84  *
85 @verbatim
86 AUTOMAKE_OPTIONS = 1.4 foreign
87 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in configure depcomp install-sh missing
88
89 INCLUDES = -I$(top_srcdir)
90
91 bin_PROGRAMS = myapp
92
93 myapp_SOURCES = main.c
94 myapp_LDADD = @ELEMENTARY_LIBS@
95 myapp_CFLAGS = @ELEMENTARY_CFLAGS@
96 @endverbatim
97  *
98  * autogen.sh:
99  *
100 @verbatim
101 #!/bin/sh
102 echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
103 echo "Running autoheader..." ; autoheader || exit 1
104 echo "Running autoconf..." ; autoconf || exit 1
105 echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
106 ./configure "$@"
107 @endverbatim
108  *
109  * To generate all the things needed to bootstrap just run:
110  *
111 @verbatim
112 ./autogen.sh
113 @endverbatim
114  *
115  * This will generate Makefile.in's, the confgure script and everything else.
116  * After this it works like all normal autotools projects:
117 @verbatim
118 ./configure
119 make
120 sudo make install
121 @endverbatim
122  *
123  * Note sudo was assumed to get root permissions, as this would install in
124  * /usr/local which is system-owned. Use any way you like to gain root, or
125  * specify a different prefix with configure:
126  *
127 @verbatim
128 ./confiugre --prefix=$HOME/mysoftware
129 @endverbatim
130  *
131  * Also remember that autotools buys you some useful commands like:
132 @verbatim
133 make uninstall
134 @endverbatim
135  *
136  * This uninstalls the software after it was installed with "make install".
137  * It is very useful to clear up what you built if you wish to clean the
138  * system.
139  *
140 @verbatim
141 make distcheck
142 @endverbatim
143  *
144  * This firstly checks if your build tree is "clean" and ready for
145  * distribution. It also builds a tarball (myapp-0.0.0.tar.gz) that is
146  * ready to upload and distribute to the world, that contains the generated
147  * Makefile.in's and configure script. The users do not need to run
148  * autogen.sh - just configure and on. They don't need autotools installed.
149  * This tarball also builds cleanly, has all the sources it needs to build
150  * included (that is sources for your application, not libraries it depends
151  * on like Elementary). It builds cleanly in a buildroot and does not
152  * contain any files that are temporarily generated like binaries and other
153  * build-generated files, so the tarball is clean, and no need to worry
154  * about cleaning up your tree before packaging.
155  *
156 @verbatim
157 make clean
158 @endverbatim
159  *
160  * This cleans up all build files (binaries, objects etc.) from the tree.
161  *
162 @verbatim
163 make distclean
164 @endverbatim
165  *
166  * This cleans out all files from the build and from configure's output too.
167  *
168 @verbatim
169 make maintainer-clean
170 @endverbatim
171  *
172  * This deletes all the files autogen.sh will produce so the tree is clean
173  * to be put into a revision-control system (like CVS, SVN or GIT for example).
174  *
175  * There is a more advanced way of making use of the quicklaunch infrastructure
176  * in Elementary (which will not be covered here due to its more advanced
177  * nature).
178  *
179  * Now let's actually create an interactive "Hello World" gui that you can
180  * click the ok button to exit. It's more code because this now does something
181  * much more significant, but it's still very simple:
182  *
183 @code
184 #include <Elementary.h>
185
186 static void
187 on_done(void *data, Evas_Object *obj, void *event_info)
188 {
189    // quit the mainloop (elm_run function will return)
190    elm_exit();
191 }
192
193 EAPI_MAIN int
194 elm_main(int argc, char **argv)
195 {
196    Evas_Object *win, *bg, *box, *lab, *btn;
197
198    // new window - do the usual and give it a name, title and delete handler
199    win = elm_win_add(NULL, "hello", ELM_WIN_BASIC);
200    elm_win_title_set(win, "Hello");
201    // when the user clicks "close" on a window there is a request to delete
202    evas_object_smart_callback_add(win, "delete,request", on_done, NULL);
203
204    // add a standard bg
205    bg = elm_bg_add(win);
206    // add object as a resize object for the window (controls window minimum
207    // size as well as gets resized if window is resized)
208    elm_win_resize_object_add(win, bg);
209    evas_object_show(bg);
210
211    // add a box object - default is vertical. a box holds children in a row,
212    // either horizontally or vertically. nothing more.
213    box = elm_box_add(win);
214    // make the box hotizontal
215    elm_box_horizontal_set(box, EINA_TRUE);
216    // add object as a resize object for the window (controls window minimum
217    // size as well as gets resized if window is resized)
218    elm_win_resize_object_add(win, box);
219    evas_object_show(box);
220
221    // add a label widget, set the text and put it in the pad frame
222    lab = elm_label_add(win);
223    // set default text of the label
224    elm_object_text_set(lab, "Hello out there world!");
225    // pack the label at the end of the box
226    elm_box_pack_end(box, lab);
227    evas_object_show(lab);
228
229    // add an ok button
230    btn = elm_button_add(win);
231    // set default text of button to "OK"
232    elm_object_text_set(btn, "OK");
233    // pack the button at the end of the box
234    elm_box_pack_end(box, btn);
235    evas_object_show(btn);
236    // call on_done when button is clicked
237    evas_object_smart_callback_add(btn, "clicked", on_done, NULL);
238
239    // now we are done, show the window
240    evas_object_show(win);
241
242    // run the mainloop and process events and callbacks
243    elm_run();
244    return 0;
245 }
246 ELM_MAIN()
247 @endcode
248    *
249    */
250
251 /**
252 @page authors Authors
253 @author Carsten Haitzler <raster@@rasterman.com>
254 @author Gustavo Sverzut Barbieri <barbieri@@profusion.mobi>
255 @author Cedric Bail <cedric.bail@@free.fr>
256 @author Vincent Torri <vtorri@@univ-evry.fr>
257 @author Daniel Kolesa <quaker66@@gmail.com>
258 @author Jaime Thomas <avi.thomas@@gmail.com>
259 @author Swisscom - http://www.swisscom.ch/
260 @author Christopher Michael <devilhorns@@comcast.net>
261 @author Marco Trevisan (Treviño) <mail@@3v1n0.net>
262 @author Michael Bouchaud <michael.bouchaud@@gmail.com>
263 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
264 @author Brian Wang <brian.wang.0721@@gmail.com>
265 @author Mike Blumenkrantz (zmike) <mike@@zentific.com>
266 @author Samsung Electronics <tbd>
267 @author Samsung SAIT <tbd>
268 @author Brett Nash <nash@@nash.id.au>
269 @author Bruno Dilly <bdilly@@profusion.mobi>
270 @author Rafael Fonseca <rfonseca@@profusion.mobi>
271 @author Chuneon Park <hermet@@hermet.pe.kr>
272 @author Woohyun Jung <wh0705.jung@@samsung.com>
273 @author Jaehwan Kim <jae.hwan.kim@@samsung.com>
274 @author Wonguk Jeong <wonguk.jeong@@samsung.com>
275 @author Leandro A. F. Pereira <leandro@@profusion.mobi>
276 @author Helen Fornazier <helen.fornazier@@profusion.mobi>
277 @author Gustavo Lima Chaves <glima@@profusion.mobi>
278 @author Fabiano Fidêncio <fidencio@@profusion.mobi>
279 @author Tiago Falcão <tiago@@profusion.mobi>
280 @author Otavio Pontes <otavio@@profusion.mobi>
281 @author Viktor Kojouharov <vkojouharov@@gmail.com>
282 @author Daniel Juyung Seo (SeoZ) <juyung.seo@@samsung.com> <seojuyung2@@gmail.com>
283 @author Sangho Park <sangho.g.park@@samsung.com> <gouache95@@gmail.com>
284 @author Rajeev Ranjan (Rajeev) <rajeev.r@@samsung.com> <rajeev.jnnce@@gmail.com>
285 @author Seunggyun Kim <sgyun.kim@@samsung.com> <tmdrbs@@gmail.com>
286 @author Sohyun Kim <anna1014.kim@@samsung.com> <sohyun.anna@@gmail.com>
287 @author Jihoon Kim <jihoon48.kim@@samsung.com>
288 @author Jeonghyun Yun (arosis) <jh0506.yun@@samsung.com>
289 @author Tom Hacohen <tom@@stosb.com>
290 @author Aharon Hillel <a.hillel@@partner.samsung.com>
291 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
292 @author Shinwoo Kim <kimcinoo@@gmail.com>
293 @author Govindaraju SM <govi.sm@@samsung.com> <govism@@gmail.com>
294 @author Prince Kumar Dubey <prince.dubey@@samsung.com> <prince.dubey@@gmail.com>
295 @author Sung W. Park <sungwoo@gmail.com>
296 @author Thierry el Borgi <thierry@substantiel.fr>
297 @author Shilpa Singh <shilpa.singh@samsung.com> <shilpasingh.o@gmail.com>
298 @author Chanwook Jung <joey.jung@samsung.com>
299 @author Hyoyoung Chang <hyoyoung.chang@samsung.com>
300 @author Guillaume "Kuri" Friloux <guillaume.friloux@asp64.com>
301 @author Kim Yunhan <spbear@gmail.com>
302
303 Please contact <enlightenment-devel@lists.sourceforge.net> to get in
304 contact with the developers and maintainers.
305  */
306
307 #ifndef ELEMENTARY_H
308 #define ELEMENTARY_H
309
310 /**
311  * @file Elementary.h
312  * @brief Elementary's API
313  *
314  * Elementary API.
315  */
316
317 @ELM_UNIX_DEF@ ELM_UNIX
318 @ELM_WIN32_DEF@ ELM_WIN32
319 @ELM_WINCE_DEF@ ELM_WINCE
320 @ELM_EDBUS_DEF@ ELM_EDBUS
321 @ELM_EFREET_DEF@ ELM_EFREET
322 @ELM_ETHUMB_DEF@ ELM_ETHUMB
323 @ELM_WEB_DEF@ ELM_WEB
324 @ELM_EMAP_DEF@ ELM_EMAP
325 @ELM_DEBUG_DEF@ ELM_DEBUG
326 @ELM_ALLOCA_H_DEF@ ELM_ALLOCA_H
327 @ELM_LIBINTL_H_DEF@ ELM_LIBINTL_H
328
329 /* Standard headers for standard system calls etc. */
330 #include <stdio.h>
331 #include <stdlib.h>
332 #include <unistd.h>
333 #include <string.h>
334 #include <sys/types.h>
335 #include <sys/stat.h>
336 #include <sys/time.h>
337 #include <sys/param.h>
338 #include <dlfcn.h>
339 #include <math.h>
340 #include <fnmatch.h>
341 #include <limits.h>
342 #include <ctype.h>
343 #include <time.h>
344 #include <dirent.h>
345 #include <pwd.h>
346 #include <errno.h>
347
348 #ifdef ELM_UNIX
349 # include <locale.h>
350 # ifdef ELM_LIBINTL_H
351 #  include <libintl.h>
352 # endif
353 # include <signal.h>
354 # include <grp.h>
355 # include <glob.h>
356 #endif
357
358 #ifdef ELM_ALLOCA_H
359 # include <alloca.h>
360 #endif
361
362 #if defined (ELM_WIN32) || defined (ELM_WINCE)
363 # include <malloc.h>
364 # ifndef alloca
365 #  define alloca _alloca
366 # endif
367 #endif
368
369
370 /* EFL headers */
371 #include <Eina.h>
372 #include <Eet.h>
373 #include <Evas.h>
374 #include <Evas_GL.h>
375 #include <Ecore.h>
376 #include <Ecore_Evas.h>
377 #include <Ecore_File.h>
378 #include <Ecore_IMF.h>
379 #include <Ecore_Con.h>
380 #include <Edje.h>
381
382 #ifdef ELM_EDBUS
383 # include <E_DBus.h>
384 #endif
385
386 #ifdef ELM_EFREET
387 # include <Efreet.h>
388 # include <Efreet_Mime.h>
389 # include <Efreet_Trash.h>
390 #endif
391
392 #ifdef ELM_ETHUMB
393 # include <Ethumb_Client.h>
394 #endif
395
396 #ifdef ELM_EMAP
397 # include <EMap.h>
398 #endif
399
400 #ifdef EAPI
401 # undef EAPI
402 #endif
403
404 #ifdef _WIN32
405 # ifdef ELEMENTARY_BUILD
406 #  ifdef DLL_EXPORT
407 #   define EAPI __declspec(dllexport)
408 #  else
409 #   define EAPI
410 #  endif /* ! DLL_EXPORT */
411 # else
412 #  define EAPI __declspec(dllimport)
413 # endif /* ! EFL_EVAS_BUILD */
414 #else
415 # ifdef __GNUC__
416 #  if __GNUC__ >= 4
417 #   define EAPI __attribute__ ((visibility("default")))
418 #  else
419 #   define EAPI
420 #  endif
421 # else
422 #  define EAPI
423 # endif
424 #endif /* ! _WIN32 */
425
426 #ifdef _WIN32
427 # define EAPI_MAIN
428 #else
429 # define EAPI_MAIN EAPI
430 #endif
431
432 /* allow usage from c++ */
433 #ifdef __cplusplus
434 extern "C" {
435 #endif
436
437 #define ELM_VERSION_MAJOR @VMAJ@
438 #define ELM_VERSION_MINOR @VMIN@
439
440    typedef struct _Elm_Version
441      {
442         int major;
443         int minor;
444         int micro;
445         int revision;
446      } Elm_Version;
447
448    EAPI extern Elm_Version *elm_version;
449
450 /* handy macros */
451 #define ELM_RECTS_INTERSECT(x, y, w, h, xx, yy, ww, hh) (((x) < ((xx) + (ww))) && ((y) < ((yy) + (hh))) && (((x) + (w)) > (xx)) && (((y) + (h)) > (yy)))
452 #define ELM_PI 3.14159265358979323846
453
454    /**
455     * @defgroup General General
456     *
457     * @brief General Elementary API. Functions that don't relate to
458     * Elementary objects specifically.
459     *
460     * Here are documented functions which init/shutdown the library,
461     * that apply to generic Elementary objects, that deal with
462     * configuration, et cetera.
463     *
464     * @ref general_functions_example_page "This" example contemplates
465     * some of these functions.
466     */
467
468    /**
469     * @addtogroup General
470     * @{
471     */
472
473   /**
474    * Defines couple of standard Evas_Object layers to be used
475    * with evas_object_layer_set().
476    *
477    * @note whenever extending with new values, try to keep some padding
478    *       to siblings so there is room for further extensions.
479    */
480   typedef enum _Elm_Object_Layer
481     {
482        ELM_OBJECT_LAYER_BACKGROUND = EVAS_LAYER_MIN + 64, /**< where to place backgrounds */
483        ELM_OBJECT_LAYER_DEFAULT = 0, /**< Evas_Object default layer (and thus for Elementary) */
484        ELM_OBJECT_LAYER_FOCUS = EVAS_LAYER_MAX - 128, /**< where focus object visualization is */
485        ELM_OBJECT_LAYER_TOOLTIP = EVAS_LAYER_MAX - 64, /**< where to show tooltips */
486        ELM_OBJECT_LAYER_CURSOR = EVAS_LAYER_MAX - 32, /**< where to show cursors */
487        ELM_OBJECT_LAYER_LAST /**< last layer known by Elementary */
488     } Elm_Object_Layer;
489
490 /**************************************************************************/
491    EAPI extern int ELM_ECORE_EVENT_ETHUMB_CONNECT;
492
493    /**
494     * Emitted when the application has reconfigured elementary settings due
495     * to an external configuration tool asking it to.
496     */
497    EAPI extern int ELM_EVENT_CONFIG_ALL_CHANGED;
498
499    /**
500     * Emitted when any Elementary's policy value is changed.
501     */
502    EAPI extern int ELM_EVENT_POLICY_CHANGED;
503
504    /**
505     * @typedef Elm_Event_Policy_Changed
506     *
507     * Data on the event when an Elementary policy has changed
508     */
509     typedef struct _Elm_Event_Policy_Changed Elm_Event_Policy_Changed;
510
511    /**
512     * @struct _Elm_Event_Policy_Changed
513     *
514     * Data on the event when an Elementary policy has changed
515     */
516     struct _Elm_Event_Policy_Changed
517      {
518         unsigned int policy; /**< the policy identifier */
519         int          new_value; /**< value the policy had before the change */
520         int          old_value; /**< new value the policy got */
521     };
522
523    /**
524     * Policy identifiers.
525     */
526     typedef enum _Elm_Policy
527     {
528         ELM_POLICY_QUIT, /**< under which circumstances the application
529                           * should quit automatically. @see
530                           * Elm_Policy_Quit.
531                           */
532         ELM_POLICY_LAST
533     } Elm_Policy; /**< Elementary policy identifiers/groups enumeration.  @see elm_policy_set()
534  */
535
536    typedef enum _Elm_Policy_Quit
537      {
538         ELM_POLICY_QUIT_NONE = 0, /**< never quit the application
539                                    * automatically */
540         ELM_POLICY_QUIT_LAST_WINDOW_CLOSED /**< quit when the
541                                             * application's last
542                                             * window is closed */
543      } Elm_Policy_Quit; /**< Possible values for the #ELM_POLICY_QUIT policy */
544
545    typedef enum _Elm_Focus_Direction
546      {
547         ELM_FOCUS_PREVIOUS,
548         ELM_FOCUS_NEXT
549      } Elm_Focus_Direction;
550
551    typedef enum _Elm_Text_Format
552      {
553         ELM_TEXT_FORMAT_PLAIN_UTF8,
554         ELM_TEXT_FORMAT_MARKUP_UTF8
555      } Elm_Text_Format;
556
557    /**
558     * Line wrapping types.
559     */
560    typedef enum _Elm_Wrap_Type
561      {
562         ELM_WRAP_NONE = 0, /**< No wrap - value is zero */
563         ELM_WRAP_CHAR, /**< Char wrap - wrap between characters */
564         ELM_WRAP_WORD, /**< Word wrap - wrap in allowed wrapping points (as defined in the unicode standard) */
565         ELM_WRAP_MIXED, /**< Mixed wrap - Word wrap, and if that fails, char wrap. */
566         ELM_WRAP_LAST
567      } Elm_Wrap_Type;
568
569    typedef enum
570      {
571         ELM_INPUT_PANEL_LAYOUT_NORMAL,          /**< Default layout */
572         ELM_INPUT_PANEL_LAYOUT_NUMBER,          /**< Number layout */
573         ELM_INPUT_PANEL_LAYOUT_EMAIL,           /**< Email layout */
574         ELM_INPUT_PANEL_LAYOUT_URL,             /**< URL layout */
575         ELM_INPUT_PANEL_LAYOUT_PHONENUMBER,     /**< Phone Number layout */
576         ELM_INPUT_PANEL_LAYOUT_IP,              /**< IP layout */
577         ELM_INPUT_PANEL_LAYOUT_MONTH,           /**< Month layout */
578         ELM_INPUT_PANEL_LAYOUT_NUMBERONLY,      /**< Number Only layout */
579         ELM_INPUT_PANEL_LAYOUT_INVALID
580      } Elm_Input_Panel_Layout;
581
582    /**
583     * @typedef Elm_Object_Item
584     * An Elementary Object item handle.
585     * @ingroup General
586     */
587    typedef struct _Elm_Object_Item Elm_Object_Item;
588
589
590    /**
591     * Called back when a widget's tooltip is activated and needs content.
592     * @param data user-data given to elm_object_tooltip_content_cb_set()
593     * @param obj owner widget.
594     * @param tooltip The tooltip object (affix content to this!)
595     */
596    typedef Evas_Object *(*Elm_Tooltip_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip);
597
598    /**
599     * Called back when a widget's item tooltip is activated and needs content.
600     * @param data user-data given to elm_object_tooltip_content_cb_set()
601     * @param obj owner widget.
602     * @param tooltip The tooltip object (affix content to this!)
603     * @param item context dependent item. As an example, if tooltip was
604     *        set on Elm_List_Item, then it is of this type.
605     */
606    typedef Evas_Object *(*Elm_Tooltip_Item_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip, void *item);
607
608    typedef Eina_Bool (*Elm_Event_Cb) (void *data, Evas_Object *obj, Evas_Object *src, Evas_Callback_Type type, void *event_info); /**< Function prototype definition for callbacks on input events happening on Elementary widgets. @a data will receive the user data pointer passed to elm_object_event_callback_add(). @a src will be a pointer to the widget on which the input event took place. @a type will get the type of this event and @a event_info, the struct with details on this event. */
609
610 #ifndef ELM_LIB_QUICKLAUNCH
611 #define ELM_MAIN() int main(int argc, char **argv) {elm_init(argc, argv); return elm_main(argc, argv);} /**< macro to be used after the elm_main() function */
612 #else
613 #define ELM_MAIN() int main(int argc, char **argv) {return elm_quicklaunch_fallback(argc, argv);} /**< macro to be used after the elm_main() function */
614 #endif
615
616 /**************************************************************************/
617    /* General calls */
618
619    /**
620     * Initialize Elementary
621     *
622     * @param[in] argc System's argument count value
623     * @param[in] argv System's pointer to array of argument strings
624     * @return The init counter value.
625     *
626     * This function initializes Elementary and increments a counter of
627     * the number of calls to it. It returns the new counter's value.
628     *
629     * @warning This call is exported only for use by the @c ELM_MAIN()
630     * macro. There is no need to use this if you use this macro (which
631     * is highly advisable). An elm_main() should contain the entry
632     * point code for your application, having the same prototype as
633     * elm_init(), and @b not being static (putting the @c EAPI symbol
634     * in front of its type declaration is advisable). The @c
635     * ELM_MAIN() call should be placed just after it.
636     *
637     * Example:
638     * @dontinclude bg_example_01.c
639     * @skip static void
640     * @until ELM_MAIN
641     *
642     * See the full @ref bg_example_01_c "example".
643     *
644     * @see elm_shutdown().
645     * @ingroup General
646     */
647    EAPI int          elm_init(int argc, char **argv);
648
649    /**
650     * Shut down Elementary
651     *
652     * @return The init counter value.
653     *
654     * This should be called at the end of your application, just
655     * before it ceases to do any more processing. This will clean up
656     * any permanent resources your application may have allocated via
657     * Elementary that would otherwise persist.
658     *
659     * @see elm_init() for an example
660     *
661     * @ingroup General
662     */
663    EAPI int          elm_shutdown(void);
664
665    /**
666     * Run Elementary's main loop
667     *
668     * This call should be issued just after all initialization is
669     * completed. This function will not return until elm_exit() is
670     * called. It will keep looping, running the main
671     * (event/processing) loop for Elementary.
672     *
673     * @see elm_init() for an example
674     *
675     * @ingroup General
676     */
677    EAPI void         elm_run(void);
678
679    /**
680     * Exit Elementary's main loop
681     *
682     * If this call is issued, it will flag the main loop to cease
683     * processing and return back to its parent function (usually your
684     * elm_main() function).
685     *
686     * @see elm_init() for an example. There, just after a request to
687     * close the window comes, the main loop will be left.
688     *
689     * @note By using the #ELM_POLICY_QUIT on your Elementary
690     * applications, you'll this function called automatically for you.
691     *
692     * @ingroup General
693     */
694    EAPI void         elm_exit(void);
695
696    /**
697     * Provide information in order to make Elementary determine the @b
698     * run time location of the software in question, so other data files
699     * such as images, sound files, executable utilities, libraries,
700     * modules and locale files can be found.
701     *
702     * @param mainfunc This is your application's main function name,
703     *        whose binary's location is to be found. Providing @c NULL
704     *        will make Elementary not to use it
705     * @param dom This will be used as the application's "domain", in the
706     *        form of a prefix to any environment variables that may
707     *        override prefix detection and the directory name, inside the
708     *        standard share or data directories, where the software's
709     *        data files will be looked for.
710     * @param checkfile This is an (optional) magic file's path to check
711     *        for existence (and it must be located in the data directory,
712     *        under the share directory provided above). Its presence will
713     *        help determine the prefix found was correct. Pass @c NULL if
714     *        the check is not to be done.
715     *
716     * This function allows one to re-locate the application somewhere
717     * else after compilation, if the developer wishes for easier
718     * distribution of pre-compiled binaries.
719     *
720     * The prefix system is designed to locate where the given software is
721     * installed (under a common path prefix) at run time and then report
722     * specific locations of this prefix and common directories inside
723     * this prefix like the binary, library, data and locale directories,
724     * through the @c elm_app_*_get() family of functions.
725     *
726     * Call elm_app_info_set() early on before you change working
727     * directory or anything about @c argv[0], so it gets accurate
728     * information.
729     *
730     * It will then try and trace back which file @p mainfunc comes from,
731     * if provided, to determine the application's prefix directory.
732     *
733     * The @p dom parameter provides a string prefix to prepend before
734     * environment variables, allowing a fallback to @b specific
735     * environment variables to locate the software. You would most
736     * probably provide a lowercase string there, because it will also
737     * serve as directory domain, explained next. For environment
738     * variables purposes, this string is made uppercase. For example if
739     * @c "myapp" is provided as the prefix, then the program would expect
740     * @c "MYAPP_PREFIX" as a master environment variable to specify the
741     * exact install prefix for the software, or more specific environment
742     * variables like @c "MYAPP_BIN_DIR", @c "MYAPP_LIB_DIR", @c
743     * "MYAPP_DATA_DIR" and @c "MYAPP_LOCALE_DIR", which could be set by
744     * the user or scripts before launching. If not provided (@c NULL),
745     * environment variables will not be used to override compiled-in
746     * defaults or auto detections.
747     *
748     * The @p dom string also provides a subdirectory inside the system
749     * shared data directory for data files. For example, if the system
750     * directory is @c /usr/local/share, then this directory name is
751     * appended, creating @c /usr/local/share/myapp, if it @p was @c
752     * "myapp". It is expected the application installs data files in
753     * this directory.
754     *
755     * The @p checkfile is a file name or path of something inside the
756     * share or data directory to be used to test that the prefix
757     * detection worked. For example, your app will install a wallpaper
758     * image as @c /usr/local/share/myapp/images/wallpaper.jpg and so to
759     * check that this worked, provide @c "images/wallpaper.jpg" as the @p
760     * checkfile string.
761     *
762     * @see elm_app_compile_bin_dir_set()
763     * @see elm_app_compile_lib_dir_set()
764     * @see elm_app_compile_data_dir_set()
765     * @see elm_app_compile_locale_set()
766     * @see elm_app_prefix_dir_get()
767     * @see elm_app_bin_dir_get()
768     * @see elm_app_lib_dir_get()
769     * @see elm_app_data_dir_get()
770     * @see elm_app_locale_dir_get()
771     */
772    EAPI void         elm_app_info_set(void *mainfunc, const char *dom, const char *checkfile);
773
774    /**
775     * Provide information on the @b fallback application's binaries
776     * directory, on scenarios where they get overriden by
777     * elm_app_info_set().
778     *
779     * @param dir The path to the default binaries directory (compile time
780     * one)
781     *
782     * @note Elementary will as well use this path to determine actual
783     * names of binaries' directory paths, maybe changing it to be @c
784     * something/local/bin instead of @c something/bin, only, for
785     * example.
786     *
787     * @warning You should call this function @b before
788     * elm_app_info_set().
789     */
790    EAPI void         elm_app_compile_bin_dir_set(const char *dir);
791
792    /**
793     * Provide information on the @b fallback application's libraries
794     * directory, on scenarios where they get overriden by
795     * elm_app_info_set().
796     *
797     * @param dir The path to the default libraries directory (compile
798     * time one)
799     *
800     * @note Elementary will as well use this path to determine actual
801     * names of libraries' directory paths, maybe changing it to be @c
802     * something/lib32 or @c something/lib64 instead of @c something/lib,
803     * only, for example.
804     *
805     * @warning You should call this function @b before
806     * elm_app_info_set().
807     */
808    EAPI void         elm_app_compile_lib_dir_set(const char *dir);
809
810    /**
811     * Provide information on the @b fallback application's data
812     * directory, on scenarios where they get overriden by
813     * elm_app_info_set().
814     *
815     * @param dir The path to the default data directory (compile time
816     * one)
817     *
818     * @note Elementary will as well use this path to determine actual
819     * names of data directory paths, maybe changing it to be @c
820     * something/local/share instead of @c something/share, only, for
821     * example.
822     *
823     * @warning You should call this function @b before
824     * elm_app_info_set().
825     */
826    EAPI void         elm_app_compile_data_dir_set(const char *dir);
827
828    /**
829     * Provide information on the @b fallback application's locale
830     * directory, on scenarios where they get overriden by
831     * elm_app_info_set().
832     *
833     * @param dir The path to the default locale directory (compile time
834     * one)
835     *
836     * @warning You should call this function @b before
837     * elm_app_info_set().
838     */
839    EAPI void         elm_app_compile_locale_set(const char *dir);
840
841    /**
842     * Retrieve the application's run time prefix directory, as set by
843     * elm_app_info_set() and the way (environment) the application was
844     * run from.
845     *
846     * @return The directory prefix the application is actually using
847     */
848    EAPI const char  *elm_app_prefix_dir_get(void);
849
850    /**
851     * Retrieve the application's run time binaries prefix directory, as
852     * set by elm_app_info_set() and the way (environment) the application
853     * was run from.
854     *
855     * @return The binaries directory prefix the application is actually
856     * using
857     */
858    EAPI const char  *elm_app_bin_dir_get(void);
859
860    /**
861     * Retrieve the application's run time libraries prefix directory, as
862     * set by elm_app_info_set() and the way (environment) the application
863     * was run from.
864     *
865     * @return The libraries directory prefix the application is actually
866     * using
867     */
868    EAPI const char  *elm_app_lib_dir_get(void);
869
870    /**
871     * Retrieve the application's run time data prefix directory, as
872     * set by elm_app_info_set() and the way (environment) the application
873     * was run from.
874     *
875     * @return The data directory prefix the application is actually
876     * using
877     */
878    EAPI const char  *elm_app_data_dir_get(void);
879
880    /**
881     * Retrieve the application's run time locale prefix directory, as
882     * set by elm_app_info_set() and the way (environment) the application
883     * was run from.
884     *
885     * @return The locale directory prefix the application is actually
886     * using
887     */
888    EAPI const char  *elm_app_locale_dir_get(void);
889
890    EAPI void         elm_quicklaunch_mode_set(Eina_Bool ql_on);
891    EAPI Eina_Bool    elm_quicklaunch_mode_get(void);
892    EAPI int          elm_quicklaunch_init(int argc, char **argv);
893    EAPI int          elm_quicklaunch_sub_init(int argc, char **argv);
894    EAPI int          elm_quicklaunch_sub_shutdown(void);
895    EAPI int          elm_quicklaunch_shutdown(void);
896    EAPI void         elm_quicklaunch_seed(void);
897    EAPI Eina_Bool    elm_quicklaunch_prepare(int argc, char **argv);
898    EAPI Eina_Bool    elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (postfork_func) (void *data), void *postfork_data);
899    EAPI void         elm_quicklaunch_cleanup(void);
900    EAPI int          elm_quicklaunch_fallback(int argc, char **argv);
901    EAPI char        *elm_quicklaunch_exe_path_get(const char *exe);
902
903    EAPI Eina_Bool    elm_need_efreet(void);
904    EAPI Eina_Bool    elm_need_e_dbus(void);
905
906    /**
907     * This must be called before any other function that handle with
908     * elm_thumb objects or ethumb_client instances.
909     *
910     * @ingroup Thumb
911     */
912    EAPI Eina_Bool    elm_need_ethumb(void);
913
914    /**
915     * This must be called before any other function that handle with
916     * elm_web objects or ewk_view instances.
917     *
918     * @ingroup Web
919     */
920    EAPI Eina_Bool    elm_need_web(void);
921
922    /**
923     * Set a new policy's value (for a given policy group/identifier).
924     *
925     * @param policy policy identifier, as in @ref Elm_Policy.
926     * @param value policy value, which depends on the identifier
927     *
928     * @return @c EINA_TRUE on success or @c EINA_FALSE, on error.
929     *
930     * Elementary policies define applications' behavior,
931     * somehow. These behaviors are divided in policy groups (see
932     * #Elm_Policy enumeration). This call will emit the Ecore event
933     * #ELM_EVENT_POLICY_CHANGED, which can be hooked at with
934     * handlers. An #Elm_Event_Policy_Changed struct will be passed,
935     * then.
936     *
937     * @note Currently, we have only one policy identifier/group
938     * (#ELM_POLICY_QUIT), which has two possible values.
939     *
940     * @ingroup General
941     */
942    EAPI Eina_Bool    elm_policy_set(unsigned int policy, int value);
943
944    /**
945     * Gets the policy value set for given policy identifier.
946     *
947     * @param policy policy identifier, as in #Elm_Policy.
948     * @return The currently set policy value, for that
949     * identifier. Will be @c 0 if @p policy passed is invalid.
950     *
951     * @ingroup General
952     */
953    EAPI int          elm_policy_get(unsigned int policy);
954
955    /**
956     * Change the language of the current application
957     *
958     * The @p lang passed must be the full name of the locale to use, for
959     * example "en_US.utf8" or "es_ES@euro".
960     *
961     * Changing language with this function will make Elementary run through
962     * all its widgets, translating strings set with
963     * elm_object_domain_translatable_text_part_set(). This way, an entire
964     * UI can have its language changed without having to restart the program.
965     *
966     * For more complex cases, like having formatted strings that need
967     * translation, widgets will also emit a "language,changed" signal that
968     * the user can listen to to manually translate the text.
969     *
970     * @param lang Language to set, must be the full name of the locale
971     *
972     * @ingroup General
973     */
974    EAPI void         elm_language_set(const char *lang);
975
976    /**
977     * Set a label of an object
978     *
979     * @param obj The Elementary object
980     * @param part The text part name to set (NULL for the default label)
981     * @param label The new text of the label
982     *
983     * @note Elementary objects may have many labels (e.g. Action Slider)
984     *
985     * @ingroup General
986     */
987    EAPI void         elm_object_text_part_set(Evas_Object *obj, const char *part, const char *label);
988
989 #define elm_object_text_set(obj, label) elm_object_text_part_set((obj), NULL, (label))
990
991    /**
992     * Get a label of an object
993     *
994     * @param obj The Elementary object
995     * @param part The text part name to get (NULL for the default label)
996     * @return text of the label or NULL for any error
997     *
998     * @note Elementary objects may have many labels (e.g. Action Slider)
999     *
1000     * @ingroup General
1001     */
1002    EAPI const char  *elm_object_text_part_get(const Evas_Object *obj, const char *part);
1003
1004 #define elm_object_text_get(obj) elm_object_text_part_get((obj), NULL)
1005
1006    /**
1007     * Set the text for an objects part, marking it as translatable
1008     *
1009     * The string to set as @p text must be the original one. Do not pass the
1010     * return of @c gettext() here. Elementary will translate the string
1011     * internally and set it on the object using elm_object_text_part_set(),
1012     * also storing the original string so that it can be automatically
1013     * translated when the language is changed with elm_language_set().
1014     *
1015     * The @p domain will be stored along to find the translation in the
1016     * correct catalog. It can be NULL, in which case it will use whatever
1017     * domain was set by the application with @c textdomain(). This is useful
1018     * in case you are building a library on top of Elementary that will have
1019     * its own translatable strings, that should not be mixed with those of
1020     * programs using the library.
1021     *
1022     * @param obj The object
1023     * @param part The name of the part to set
1024     * @param domain The translation domain to use
1025     * @param text The original, non-translated text to set
1026     *
1027     * @ingroup General
1028     */
1029    EAPI void         elm_object_domain_translatable_text_part_set(Evas_Object *obj, const char *part, const char *domain, const char *text);
1030
1031 #define elm_object_domain_translatable_text_set(obj, domain, text) elm_object_domain_translatable_text_part_set((obj), NULL, (domain), (text))
1032
1033 #define elm_object_translatable_text_set(obj, text) elm_object_domain_translatable_text_part_set((obj), NULL, NULL, (text))
1034
1035    /**
1036     * Gets the original string set as translatable for an object
1037     *
1038     * When setting translated strings, the function elm_object_text_part_get()
1039     * will return the translation returned by @c gettext(). To get the
1040     * original string use this function.
1041     *
1042     * @param obj The object
1043     * @param part The name of the part that was set
1044     *
1045     * @return The original, untranslated string
1046     *
1047     * @ingroup General
1048     */
1049    EAPI const char  *elm_object_translatable_text_part_get(const Evas_Object *obj, const char *part);
1050
1051 #define elm_object_translatable_text_get(obj) elm_object_translatable_text_part_get((obj), NULL)
1052
1053    /**
1054     * Set a content of an object
1055     *
1056     * @param obj The Elementary object
1057     * @param part The content part name to set (NULL for the default content)
1058     * @param content The new content of the object
1059     *
1060     * @note Elementary objects may have many contents
1061     *
1062     * @ingroup General
1063     */
1064    EAPI void elm_object_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
1065
1066 #define elm_object_content_set(obj, content) elm_object_content_part_set((obj), NULL, (content))
1067
1068    /**
1069     * Get a content of an object
1070     *
1071     * @param obj The Elementary object
1072     * @param item The content part name to get (NULL for the default content)
1073     * @return content of the object or NULL for any error
1074     *
1075     * @note Elementary objects may have many contents
1076     *
1077     * @ingroup General
1078     */
1079    EAPI Evas_Object *elm_object_content_part_get(const Evas_Object *obj, const char *part);
1080
1081 #define elm_object_content_get(obj) elm_object_content_part_get((obj), NULL)
1082
1083    /**
1084     * Unset a content of an object
1085     *
1086     * @param obj The Elementary object
1087     * @param item The content part name to unset (NULL for the default content)
1088     *
1089     * @note Elementary objects may have many contents
1090     *
1091     * @ingroup General
1092     */
1093    EAPI Evas_Object *elm_object_content_part_unset(Evas_Object *obj, const char *part);
1094
1095 #define elm_object_content_unset(obj) elm_object_content_part_unset((obj), NULL)
1096
1097    /**
1098     * Get the wiget object's handle which contains a given item
1099     *
1100     * @param item The Elementary object item 
1101     * @return The widget object
1102     *
1103     * @note This returns the widget object itself that an item belongs to.
1104     *
1105     * @ingroup General
1106     */
1107    EAPI Evas_Object *elm_object_item_object_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
1108
1109    /**
1110     * Set a content of an object item
1111     *
1112     * @param it The Elementary object item
1113     * @param part The content part name to set (NULL for the default content)
1114     * @param content The new content of the object item
1115     *
1116     * @note Elementary object items may have many contents
1117     *
1118     * @ingroup General
1119     */
1120    EAPI void elm_object_item_content_part_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
1121
1122 #define elm_object_item_content_set(it, content) elm_object_item_content_part_set((it), NULL, (content))
1123
1124    /**
1125     * Get a content of an object item
1126     *
1127     * @param it The Elementary object item
1128     * @param part The content part name to unset (NULL for the default content)
1129     * @return content of the object item or NULL for any error
1130     *
1131     * @note Elementary object items may have many contents
1132     *
1133     * @ingroup General
1134     */
1135    EAPI Evas_Object *elm_object_item_content_part_get(const Elm_Object_Item *it, const char *part);
1136
1137 #define elm_object_item_content_get(it) elm_object_item_content_part_get((it), NULL)
1138
1139    /**
1140     * Unset a content of an object item
1141     *
1142     * @param it The Elementary object item
1143     * @param part The content part name to unset (NULL for the default content)
1144     *
1145     * @note Elementary object items may have many contents
1146     *
1147     * @ingroup General
1148     */
1149    EAPI Evas_Object *elm_object_item_content_part_unset(Elm_Object_Item *it, const char *part);
1150
1151 #define elm_object_item_content_unset(it) elm_object_item_content_part_unset((it), NULL)
1152
1153    /**
1154     * Set a label of an object item
1155     *
1156     * @param it The Elementary object item
1157     * @param part The text part name to set (NULL for the default label)
1158     * @param label The new text of the label
1159     *
1160     * @note Elementary object items may have many labels
1161     *
1162     * @ingroup General
1163     */
1164    EAPI void elm_object_item_text_part_set(Elm_Object_Item *it, const char *part, const char *label);
1165
1166 #define elm_object_item_text_set(it, label) elm_object_item_text_part_set((it), NULL, (label))
1167
1168    /**
1169     * Get a label of an object
1170     *
1171     * @param it The Elementary object item
1172     * @param part The text part name to get (NULL for the default label)
1173     * @return text of the label or NULL for any error
1174     *
1175     * @note Elementary object items may have many labels
1176     *
1177     * @ingroup General
1178     */
1179    EAPI const char *elm_object_item_text_part_get(const Elm_Object_Item *it, const char *part);
1180
1181 #define elm_object_item_text_get(it) elm_object_item_text_part_get((it), NULL)
1182
1183    /**
1184     * Set the text to read out when in accessibility mode
1185     *
1186     * @param obj The object which is to be described
1187     * @param txt The text that describes the widget to people with poor or no vision
1188     *
1189     * @ingroup General
1190     */
1191    EAPI void elm_object_access_info_set(Evas_Object *obj, const char *txt);
1192
1193    /**
1194     * Set the text to read out when in accessibility mode
1195     *
1196     * @param it The object item which is to be described
1197     * @param txt The text that describes the widget to people with poor or no vision
1198     *
1199     * @ingroup General
1200     */
1201    EAPI void elm_object_item_access_info_set(Elm_Object_Item *it, const char *txt);
1202
1203    /**
1204     * Get the data associated with an object item
1205     * @param it The object item
1206     * @return The data associated with @p it
1207     *
1208     * @ingroup General
1209     */
1210    EAPI void *elm_object_item_data_get(const Elm_Object_Item *it);
1211
1212    /**
1213     * Set the data associated with an object item
1214     * @param it The object item
1215     * @param data The data to be associated with @p it
1216     *
1217     * @ingroup General
1218     */
1219    EAPI void elm_object_item_data_set(Elm_Object_Item *it, void *data);
1220
1221    /**
1222     * Send a signal to the edje object of the widget item.
1223     *
1224     * This function sends a signal to the edje object of the obj item. An
1225     * edje program can respond to a signal by specifying matching
1226     * 'signal' and 'source' fields.
1227     *
1228     * @param it The Elementary object item
1229     * @param emission The signal's name.
1230     * @param source The signal's source.
1231     * @ingroup General
1232     */
1233    EAPI void             elm_object_item_signal_emit(Elm_Object_Item *it, const char *emission, const char *source) EINA_ARG_NONNULL(1);
1234
1235    /**
1236     * @}
1237     */
1238
1239    /**
1240     * @defgroup Caches Caches
1241     *
1242     * These are functions which let one fine-tune some cache values for
1243     * Elementary applications, thus allowing for performance adjustments.
1244     *
1245     * @{
1246     */
1247
1248    /**
1249     * @brief Flush all caches.
1250     *
1251     * Frees all data that was in cache and is not currently being used to reduce
1252     * memory usage. This frees Edje's, Evas' and Eet's cache. This is equivalent
1253     * to calling all of the following functions:
1254     * @li edje_file_cache_flush()
1255     * @li edje_collection_cache_flush()
1256     * @li eet_clearcache()
1257     * @li evas_image_cache_flush()
1258     * @li evas_font_cache_flush()
1259     * @li evas_render_dump()
1260     * @note Evas caches are flushed for every canvas associated with a window.
1261     *
1262     * @ingroup Caches
1263     */
1264    EAPI void         elm_all_flush(void);
1265
1266    /**
1267     * Get the configured cache flush interval time
1268     *
1269     * This gets the globally configured cache flush interval time, in
1270     * ticks
1271     *
1272     * @return The cache flush interval time
1273     * @ingroup Caches
1274     *
1275     * @see elm_all_flush()
1276     */
1277    EAPI int          elm_cache_flush_interval_get(void);
1278
1279    /**
1280     * Set the configured cache flush interval time
1281     *
1282     * This sets the globally configured cache flush interval time, in ticks
1283     *
1284     * @param size The cache flush interval time
1285     * @ingroup Caches
1286     *
1287     * @see elm_all_flush()
1288     */
1289    EAPI void         elm_cache_flush_interval_set(int size);
1290
1291    /**
1292     * Set the configured cache flush interval time for all applications on the
1293     * display
1294     *
1295     * This sets the globally configured cache flush interval time -- in ticks
1296     * -- for all applications on the display.
1297     *
1298     * @param size The cache flush interval time
1299     * @ingroup Caches
1300     */
1301    EAPI void         elm_cache_flush_interval_all_set(int size);
1302
1303    /**
1304     * Get the configured cache flush enabled state
1305     *
1306     * This gets the globally configured cache flush state - if it is enabled
1307     * or not. When cache flushing is enabled, elementary will regularly
1308     * (see elm_cache_flush_interval_get() ) flush caches and dump data out of
1309     * memory and allow usage to re-seed caches and data in memory where it
1310     * can do so. An idle application will thus minimise its memory usage as
1311     * data will be freed from memory and not be re-loaded as it is idle and
1312     * not rendering or doing anything graphically right now.
1313     *
1314     * @return The cache flush state
1315     * @ingroup Caches
1316     *
1317     * @see elm_all_flush()
1318     */
1319    EAPI Eina_Bool    elm_cache_flush_enabled_get(void);
1320
1321    /**
1322     * Set the configured cache flush enabled state
1323     *
1324     * This sets the globally configured cache flush enabled state
1325     *
1326     * @param size The cache flush enabled state
1327     * @ingroup Caches
1328     *
1329     * @see elm_all_flush()
1330     */
1331    EAPI void         elm_cache_flush_enabled_set(Eina_Bool enabled);
1332
1333    /**
1334     * Set the configured cache flush enabled state for all applications on the
1335     * display
1336     *
1337     * This sets the globally configured cache flush enabled state for all
1338     * applications on the display.
1339     *
1340     * @param size The cache flush enabled state
1341     * @ingroup Caches
1342     */
1343    EAPI void         elm_cache_flush_enabled_all_set(Eina_Bool enabled);
1344
1345    /**
1346     * Get the configured font cache size
1347     *
1348     * This gets the globally configured font cache size, in bytes
1349     *
1350     * @return The font cache size
1351     * @ingroup Caches
1352     */
1353    EAPI int          elm_font_cache_get(void);
1354
1355    /**
1356     * Set the configured font cache size
1357     *
1358     * This sets the globally configured font cache size, in bytes
1359     *
1360     * @param size The font cache size
1361     * @ingroup Caches
1362     */
1363    EAPI void         elm_font_cache_set(int size);
1364
1365    /**
1366     * Set the configured font cache size for all applications on the
1367     * display
1368     *
1369     * This sets the globally configured font cache size -- in bytes
1370     * -- for all applications on the display.
1371     *
1372     * @param size The font cache size
1373     * @ingroup Caches
1374     */
1375    EAPI void         elm_font_cache_all_set(int size);
1376
1377    /**
1378     * Get the configured image cache size
1379     *
1380     * This gets the globally configured image cache size, in bytes
1381     *
1382     * @return The image cache size
1383     * @ingroup Caches
1384     */
1385    EAPI int          elm_image_cache_get(void);
1386
1387    /**
1388     * Set the configured image cache size
1389     *
1390     * This sets the globally configured image cache size, in bytes
1391     *
1392     * @param size The image cache size
1393     * @ingroup Caches
1394     */
1395    EAPI void         elm_image_cache_set(int size);
1396
1397    /**
1398     * Set the configured image cache size for all applications on the
1399     * display
1400     *
1401     * This sets the globally configured image cache size -- in bytes
1402     * -- for all applications on the display.
1403     *
1404     * @param size The image cache size
1405     * @ingroup Caches
1406     */
1407    EAPI void         elm_image_cache_all_set(int size);
1408
1409    /**
1410     * Get the configured edje file cache size.
1411     *
1412     * This gets the globally configured edje file cache size, in number
1413     * of files.
1414     *
1415     * @return The edje file cache size
1416     * @ingroup Caches
1417     */
1418    EAPI int          elm_edje_file_cache_get(void);
1419
1420    /**
1421     * Set the configured edje file cache size
1422     *
1423     * This sets the globally configured edje file cache size, in number
1424     * of files.
1425     *
1426     * @param size The edje file cache size
1427     * @ingroup Caches
1428     */
1429    EAPI void         elm_edje_file_cache_set(int size);
1430
1431    /**
1432     * Set the configured edje file cache size for all applications on the
1433     * display
1434     *
1435     * This sets the globally configured edje file cache size -- in number
1436     * of files -- for all applications on the display.
1437     *
1438     * @param size The edje file cache size
1439     * @ingroup Caches
1440     */
1441    EAPI void         elm_edje_file_cache_all_set(int size);
1442
1443    /**
1444     * Get the configured edje collections (groups) cache size.
1445     *
1446     * This gets the globally configured edje collections cache size, in
1447     * number of collections.
1448     *
1449     * @return The edje collections cache size
1450     * @ingroup Caches
1451     */
1452    EAPI int          elm_edje_collection_cache_get(void);
1453
1454    /**
1455     * Set the configured edje collections (groups) cache size
1456     *
1457     * This sets the globally configured edje collections cache size, in
1458     * number of collections.
1459     *
1460     * @param size The edje collections cache size
1461     * @ingroup Caches
1462     */
1463    EAPI void         elm_edje_collection_cache_set(int size);
1464
1465    /**
1466     * Set the configured edje collections (groups) cache size for all
1467     * applications on the display
1468     *
1469     * This sets the globally configured edje collections cache size -- in
1470     * number of collections -- for all applications on the display.
1471     *
1472     * @param size The edje collections cache size
1473     * @ingroup Caches
1474     */
1475    EAPI void         elm_edje_collection_cache_all_set(int size);
1476
1477    /**
1478     * @}
1479     */
1480
1481    /**
1482     * @defgroup Scaling Widget Scaling
1483     *
1484     * Different widgets can be scaled independently. These functions
1485     * allow you to manipulate this scaling on a per-widget basis. The
1486     * object and all its children get their scaling factors multiplied
1487     * by the scale factor set. This is multiplicative, in that if a
1488     * child also has a scale size set it is in turn multiplied by its
1489     * parent's scale size. @c 1.0 means “don't scale”, @c 2.0 is
1490     * double size, @c 0.5 is half, etc.
1491     *
1492     * @ref general_functions_example_page "This" example contemplates
1493     * some of these functions.
1494     */
1495
1496    /**
1497     * Get the global scaling factor
1498     *
1499     * This gets the globally configured scaling factor that is applied to all
1500     * objects.
1501     *
1502     * @return The scaling factor
1503     * @ingroup Scaling
1504     */
1505    EAPI double       elm_scale_get(void);
1506
1507    /**
1508     * Set the global scaling factor
1509     *
1510     * This sets the globally configured scaling factor that is applied to all
1511     * objects.
1512     *
1513     * @param scale The scaling factor to set
1514     * @ingroup Scaling
1515     */
1516    EAPI void         elm_scale_set(double scale);
1517
1518    /**
1519     * Set the global scaling factor for all applications on the display
1520     *
1521     * This sets the globally configured scaling factor that is applied to all
1522     * objects for all applications.
1523     * @param scale The scaling factor to set
1524     * @ingroup Scaling
1525     */
1526    EAPI void         elm_scale_all_set(double scale);
1527
1528    /**
1529     * Set the scaling factor for a given Elementary object
1530     *
1531     * @param obj The Elementary to operate on
1532     * @param scale Scale factor (from @c 0.0 up, with @c 1.0 meaning
1533     * no scaling)
1534     *
1535     * @ingroup Scaling
1536     */
1537    EAPI void         elm_object_scale_set(Evas_Object *obj, double scale) EINA_ARG_NONNULL(1);
1538
1539    /**
1540     * Get the scaling factor for a given Elementary object
1541     *
1542     * @param obj The object
1543     * @return The scaling factor set by elm_object_scale_set()
1544     *
1545     * @ingroup Scaling
1546     */
1547    EAPI double       elm_object_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1548
1549    /**
1550     * @defgroup Password_last_show Password last input show
1551     *
1552     * Last show feature of password mode enables user to view
1553     * the last input entered for few seconds before masking it.
1554     * These functions allow to set this feature in password mode
1555     * of entry widget and also allow to manipulate the duration
1556     * for which the input has to be visible.
1557     *
1558     * @{
1559     */
1560
1561    /**
1562     * Get show last setting of password mode.
1563     *
1564     * This gets the show last input setting of password mode which might be
1565     * enabled or disabled.
1566     *
1567     * @return @c EINA_TRUE, if the last input show setting is enabled, @c EINA_FALSE
1568     *            if it's disabled.
1569     * @ingroup Password_last_show
1570     */
1571    EAPI Eina_Bool elm_password_show_last_get(void);
1572
1573    /**
1574     * Set show last setting in password mode.
1575     *
1576     * This enables or disables show last setting of password mode.
1577     *
1578     * @param password_show_last If EINA_TRUE enable's last input show in password mode.
1579     * @see elm_password_show_last_timeout_set()
1580     * @ingroup Password_last_show
1581     */
1582    EAPI void elm_password_show_last_set(Eina_Bool password_show_last);
1583
1584    /**
1585     * Get's the timeout value in last show password mode.
1586     *
1587     * This gets the time out value for which the last input entered in password
1588     * mode will be visible.
1589     *
1590     * @return The timeout value of last show password mode.
1591     * @ingroup Password_last_show
1592     */
1593    EAPI double elm_password_show_last_timeout_get(void);
1594
1595    /**
1596     * Set's the timeout value in last show password mode.
1597     *
1598     * This sets the time out value for which the last input entered in password
1599     * mode will be visible.
1600     *
1601     * @param password_show_last_timeout The timeout value.
1602     * @see elm_password_show_last_set()
1603     * @ingroup Password_last_show
1604     */
1605    EAPI void elm_password_show_last_timeout_set(double password_show_last_timeout);
1606
1607    /**
1608     * @}
1609     */
1610
1611    /**
1612     * @defgroup UI-Mirroring Selective Widget mirroring
1613     *
1614     * These functions allow you to set ui-mirroring on specific
1615     * widgets or the whole interface. Widgets can be in one of two
1616     * modes, automatic and manual.  Automatic means they'll be changed
1617     * according to the system mirroring mode and manual means only
1618     * explicit changes will matter. You are not supposed to change
1619     * mirroring state of a widget set to automatic, will mostly work,
1620     * but the behavior is not really defined.
1621     *
1622     * @{
1623     */
1624
1625    EAPI Eina_Bool    elm_mirrored_get(void);
1626    EAPI void         elm_mirrored_set(Eina_Bool mirrored);
1627
1628    /**
1629     * Get the system mirrored mode. This determines the default mirrored mode
1630     * of widgets.
1631     *
1632     * @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
1633     */
1634    EAPI Eina_Bool    elm_object_mirrored_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1635
1636    /**
1637     * Set the system mirrored mode. This determines the default mirrored mode
1638     * of widgets.
1639     *
1640     * @param mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
1641     */
1642    EAPI void         elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored) EINA_ARG_NONNULL(1);
1643
1644    /**
1645     * Returns the widget's mirrored mode setting.
1646     *
1647     * @param obj The widget.
1648     * @return mirrored mode setting of the object.
1649     *
1650     **/
1651    EAPI Eina_Bool    elm_object_mirrored_automatic_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1652
1653    /**
1654     * Sets the widget's mirrored mode setting.
1655     * When widget in automatic mode, it follows the system mirrored mode set by
1656     * elm_mirrored_set().
1657     * @param obj The widget.
1658     * @param automatic EINA_TRUE for auto mirrored mode. EINA_FALSE for manual.
1659     */
1660    EAPI void         elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic) EINA_ARG_NONNULL(1);
1661
1662    /**
1663     * @}
1664     */
1665
1666    /**
1667     * Set the style to use by a widget
1668     *
1669     * Sets the style name that will define the appearance of a widget. Styles
1670     * vary from widget to widget and may also be defined by other themes
1671     * by means of extensions and overlays.
1672     *
1673     * @param obj The Elementary widget to style
1674     * @param style The style name to use
1675     *
1676     * @see elm_theme_extension_add()
1677     * @see elm_theme_extension_del()
1678     * @see elm_theme_overlay_add()
1679     * @see elm_theme_overlay_del()
1680     *
1681     * @ingroup Styles
1682     */
1683    EAPI void         elm_object_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
1684    /**
1685     * Get the style used by the widget
1686     *
1687     * This gets the style being used for that widget. Note that the string
1688     * pointer is only valid as longas the object is valid and the style doesn't
1689     * change.
1690     *
1691     * @param obj The Elementary widget to query for its style
1692     * @return The style name used
1693     *
1694     * @see elm_object_style_set()
1695     *
1696     * @ingroup Styles
1697     */
1698    EAPI const char  *elm_object_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1699
1700    /**
1701     * @defgroup Styles Styles
1702     *
1703     * Widgets can have different styles of look. These generic API's
1704     * set styles of widgets, if they support them (and if the theme(s)
1705     * do).
1706     *
1707     * @ref general_functions_example_page "This" example contemplates
1708     * some of these functions.
1709     */
1710
1711    /**
1712     * Set the disabled state of an Elementary object.
1713     *
1714     * @param obj The Elementary object to operate on
1715     * @param disabled The state to put in in: @c EINA_TRUE for
1716     *        disabled, @c EINA_FALSE for enabled
1717     *
1718     * Elementary objects can be @b disabled, in which state they won't
1719     * receive input and, in general, will be themed differently from
1720     * their normal state, usually greyed out. Useful for contexts
1721     * where you don't want your users to interact with some of the
1722     * parts of you interface.
1723     *
1724     * This sets the state for the widget, either disabling it or
1725     * enabling it back.
1726     *
1727     * @ingroup Styles
1728     */
1729    EAPI void         elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
1730
1731    /**
1732     * Get the disabled state of an Elementary object.
1733     *
1734     * @param obj The Elementary object to operate on
1735     * @return @c EINA_TRUE, if the widget is disabled, @c EINA_FALSE
1736     *            if it's enabled (or on errors)
1737     *
1738     * This gets the state of the widget, which might be enabled or disabled.
1739     *
1740     * @ingroup Styles
1741     */
1742    EAPI Eina_Bool    elm_object_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1743
1744    /**
1745     * @defgroup WidgetNavigation Widget Tree Navigation.
1746     *
1747     * How to check if an Evas Object is an Elementary widget? How to
1748     * get the first elementary widget that is parent of the given
1749     * object?  These are all covered in widget tree navigation.
1750     *
1751     * @ref general_functions_example_page "This" example contemplates
1752     * some of these functions.
1753     */
1754
1755    /**
1756     * Check if the given Evas Object is an Elementary widget.
1757     *
1758     * @param obj the object to query.
1759     * @return @c EINA_TRUE if it is an elementary widget variant,
1760     *         @c EINA_FALSE otherwise
1761     * @ingroup WidgetNavigation
1762     */
1763    EAPI Eina_Bool    elm_object_widget_check(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1764
1765    /**
1766     * Get the first parent of the given object that is an Elementary
1767     * widget.
1768     *
1769     * @param obj the Elementary object to query parent from.
1770     * @return the parent object that is an Elementary widget, or @c
1771     *         NULL, if it was not found.
1772     *
1773     * Use this to query for an object's parent widget.
1774     *
1775     * @note Most of Elementary users wouldn't be mixing non-Elementary
1776     * smart objects in the objects tree of an application, as this is
1777     * an advanced usage of Elementary with Evas. So, except for the
1778     * application's window, which is the root of that tree, all other
1779     * objects would have valid Elementary widget parents.
1780     *
1781     * @ingroup WidgetNavigation
1782     */
1783    EAPI Evas_Object *elm_object_parent_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1784
1785    /**
1786     * Get the top level parent of an Elementary widget.
1787     *
1788     * @param obj The object to query.
1789     * @return The top level Elementary widget, or @c NULL if parent cannot be
1790     * found.
1791     * @ingroup WidgetNavigation
1792     */
1793    EAPI Evas_Object *elm_object_top_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1794
1795    /**
1796     * Get the string that represents this Elementary widget.
1797     *
1798     * @note Elementary is weird and exposes itself as a single
1799     *       Evas_Object_Smart_Class of type "elm_widget", so
1800     *       evas_object_type_get() always return that, making debug and
1801     *       language bindings hard. This function tries to mitigate this
1802     *       problem, but the solution is to change Elementary to use
1803     *       proper inheritance.
1804     *
1805     * @param obj the object to query.
1806     * @return Elementary widget name, or @c NULL if not a valid widget.
1807     * @ingroup WidgetNavigation
1808     */
1809    EAPI const char  *elm_object_widget_type_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1810
1811    /**
1812     * @defgroup Config Elementary Config
1813     *
1814     * Elementary configuration is formed by a set options bounded to a
1815     * given @ref Profile profile, like @ref Theme theme, @ref Fingers
1816     * "finger size", etc. These are functions with which one syncronizes
1817     * changes made to those values to the configuration storing files, de
1818     * facto. You most probably don't want to use the functions in this
1819     * group unlees you're writing an elementary configuration manager.
1820     *
1821     * @{
1822     */
1823
1824    /**
1825     * Save back Elementary's configuration, so that it will persist on
1826     * future sessions.
1827     *
1828     * @return @c EINA_TRUE, when sucessful. @c EINA_FALSE, otherwise.
1829     * @ingroup Config
1830     *
1831     * This function will take effect -- thus, do I/O -- immediately. Use
1832     * it when you want to apply all configuration changes at once. The
1833     * current configuration set will get saved onto the current profile
1834     * configuration file.
1835     *
1836     */
1837    EAPI Eina_Bool    elm_config_save(void);
1838
1839    /**
1840     * Reload Elementary's configuration, bounded to current selected
1841     * profile.
1842     *
1843     * @return @c EINA_TRUE, when sucessful. @c EINA_FALSE, otherwise.
1844     * @ingroup Config
1845     *
1846     * Useful when you want to force reloading of configuration values for
1847     * a profile. If one removes user custom configuration directories,
1848     * for example, it will force a reload with system values insted.
1849     *
1850     */
1851    EAPI void         elm_config_reload(void);
1852
1853    /**
1854     * @}
1855     */
1856
1857    /**
1858     * @defgroup Profile Elementary Profile
1859     *
1860     * Profiles are pre-set options that affect the whole look-and-feel of
1861     * Elementary-based applications. There are, for example, profiles
1862     * aimed at desktop computer applications and others aimed at mobile,
1863     * touchscreen-based ones. You most probably don't want to use the
1864     * functions in this group unlees you're writing an elementary
1865     * configuration manager.
1866     *
1867     * @{
1868     */
1869
1870    /**
1871     * Get Elementary's profile in use.
1872     *
1873     * This gets the global profile that is applied to all Elementary
1874     * applications.
1875     *
1876     * @return The profile's name
1877     * @ingroup Profile
1878     */
1879    EAPI const char  *elm_profile_current_get(void);
1880
1881    /**
1882     * Get an Elementary's profile directory path in the filesystem. One
1883     * may want to fetch a system profile's dir or an user one (fetched
1884     * inside $HOME).
1885     *
1886     * @param profile The profile's name
1887     * @param is_user Whether to lookup for an user profile (@c EINA_TRUE)
1888     *                or a system one (@c EINA_FALSE)
1889     * @return The profile's directory path.
1890     * @ingroup Profile
1891     *
1892     * @note You must free it with elm_profile_dir_free().
1893     */
1894    EAPI const char  *elm_profile_dir_get(const char *profile, Eina_Bool is_user);
1895
1896    /**
1897     * Free an Elementary's profile directory path, as returned by
1898     * elm_profile_dir_get().
1899     *
1900     * @param p_dir The profile's path
1901     * @ingroup Profile
1902     *
1903     */
1904    EAPI void         elm_profile_dir_free(const char *p_dir);
1905
1906    /**
1907     * Get Elementary's list of available profiles.
1908     *
1909     * @return The profiles list. List node data are the profile name
1910     *         strings.
1911     * @ingroup Profile
1912     *
1913     * @note One must free this list, after usage, with the function
1914     *       elm_profile_list_free().
1915     */
1916    EAPI Eina_List   *elm_profile_list_get(void);
1917
1918    /**
1919     * Free Elementary's list of available profiles.
1920     *
1921     * @param l The profiles list, as returned by elm_profile_list_get().
1922     * @ingroup Profile
1923     *
1924     */
1925    EAPI void         elm_profile_list_free(Eina_List *l);
1926
1927    /**
1928     * Set Elementary's profile.
1929     *
1930     * This sets the global profile that is applied to Elementary
1931     * applications. Just the process the call comes from will be
1932     * affected.
1933     *
1934     * @param profile The profile's name
1935     * @ingroup Profile
1936     *
1937     */
1938    EAPI void         elm_profile_set(const char *profile);
1939
1940    /**
1941     * Set Elementary's profile.
1942     *
1943     * This sets the global profile that is applied to all Elementary
1944     * applications. All running Elementary windows will be affected.
1945     *
1946     * @param profile The profile's name
1947     * @ingroup Profile
1948     *
1949     */
1950    EAPI void         elm_profile_all_set(const char *profile);
1951
1952    /**
1953     * @}
1954     */
1955
1956    /**
1957     * @defgroup Engine Elementary Engine
1958     *
1959     * These are functions setting and querying which rendering engine
1960     * Elementary will use for drawing its windows' pixels.
1961     *
1962     * The following are the available engines:
1963     * @li "software_x11"
1964     * @li "fb"
1965     * @li "directfb"
1966     * @li "software_16_x11"
1967     * @li "software_8_x11"
1968     * @li "xrender_x11"
1969     * @li "opengl_x11"
1970     * @li "software_gdi"
1971     * @li "software_16_wince_gdi"
1972     * @li "sdl"
1973     * @li "software_16_sdl"
1974     * @li "opengl_sdl"
1975     * @li "buffer"
1976     * @li "ews"
1977     *
1978     * @{
1979     */
1980
1981    /**
1982     * @brief Get Elementary's rendering engine in use.
1983     *
1984     * @return The rendering engine's name
1985     * @note there's no need to free the returned string, here.
1986     *
1987     * This gets the global rendering engine that is applied to all Elementary
1988     * applications.
1989     *
1990     * @see elm_engine_set()
1991     */
1992    EAPI const char  *elm_engine_current_get(void);
1993
1994    /**
1995     * @brief Set Elementary's rendering engine for use.
1996     *
1997     * @param engine The rendering engine's name
1998     *
1999     * This sets global rendering engine that is applied to all Elementary
2000     * applications. Note that it will take effect only to Elementary windows
2001     * created after this is called.
2002     *
2003     * @see elm_win_add()
2004     */
2005    EAPI void         elm_engine_set(const char *engine);
2006
2007    /**
2008     * @}
2009     */
2010
2011    /**
2012     * @defgroup Fonts Elementary Fonts
2013     *
2014     * These are functions dealing with font rendering, selection and the
2015     * like for Elementary applications. One might fetch which system
2016     * fonts are there to use and set custom fonts for individual classes
2017     * of UI items containing text (text classes).
2018     *
2019     * @{
2020     */
2021
2022   typedef struct _Elm_Text_Class
2023     {
2024        const char *name;
2025        const char *desc;
2026     } Elm_Text_Class;
2027
2028   typedef struct _Elm_Font_Overlay
2029     {
2030        const char     *text_class;
2031        const char     *font;
2032        Evas_Font_Size  size;
2033     } Elm_Font_Overlay;
2034
2035   typedef struct _Elm_Font_Properties
2036     {
2037        const char *name;
2038        Eina_List  *styles;
2039     } Elm_Font_Properties;
2040
2041    /**
2042     * Get Elementary's list of supported text classes.
2043     *
2044     * @return The text classes list, with @c Elm_Text_Class blobs as data.
2045     * @ingroup Fonts
2046     *
2047     * Release the list with elm_text_classes_list_free().
2048     */
2049    EAPI const Eina_List     *elm_text_classes_list_get(void);
2050
2051    /**
2052     * Free Elementary's list of supported text classes.
2053     *
2054     * @ingroup Fonts
2055     *
2056     * @see elm_text_classes_list_get().
2057     */
2058    EAPI void                 elm_text_classes_list_free(const Eina_List *list);
2059
2060    /**
2061     * Get Elementary's list of font overlays, set with
2062     * elm_font_overlay_set().
2063     *
2064     * @return The font overlays list, with @c Elm_Font_Overlay blobs as
2065     * data.
2066     *
2067     * @ingroup Fonts
2068     *
2069     * For each text class, one can set a <b>font overlay</b> for it,
2070     * overriding the default font properties for that class coming from
2071     * the theme in use. There is no need to free this list.
2072     *
2073     * @see elm_font_overlay_set() and elm_font_overlay_unset().
2074     */
2075    EAPI const Eina_List     *elm_font_overlay_list_get(void);
2076
2077    /**
2078     * Set a font overlay for a given Elementary text class.
2079     *
2080     * @param text_class Text class name
2081     * @param font Font name and style string
2082     * @param size Font size
2083     *
2084     * @ingroup Fonts
2085     *
2086     * @p font has to be in the format returned by
2087     * elm_font_fontconfig_name_get(). @see elm_font_overlay_list_get()
2088     * and elm_font_overlay_unset().
2089     */
2090    EAPI void                 elm_font_overlay_set(const char *text_class, const char *font, Evas_Font_Size size);
2091
2092    /**
2093     * Unset a font overlay for a given Elementary text class.
2094     *
2095     * @param text_class Text class name
2096     *
2097     * @ingroup Fonts
2098     *
2099     * This will bring back text elements belonging to text class
2100     * @p text_class back to their default font settings.
2101     */
2102    EAPI void                 elm_font_overlay_unset(const char *text_class);
2103
2104    /**
2105     * Apply the changes made with elm_font_overlay_set() and
2106     * elm_font_overlay_unset() on the current Elementary window.
2107     *
2108     * @ingroup Fonts
2109     *
2110     * This applies all font overlays set to all objects in the UI.
2111     */
2112    EAPI void                 elm_font_overlay_apply(void);
2113
2114    /**
2115     * Apply the changes made with elm_font_overlay_set() and
2116     * elm_font_overlay_unset() on all Elementary application windows.
2117     *
2118     * @ingroup Fonts
2119     *
2120     * This applies all font overlays set to all objects in the UI.
2121     */
2122    EAPI void                 elm_font_overlay_all_apply(void);
2123
2124    /**
2125     * Translate a font (family) name string in fontconfig's font names
2126     * syntax into an @c Elm_Font_Properties struct.
2127     *
2128     * @param font The font name and styles string
2129     * @return the font properties struct
2130     *
2131     * @ingroup Fonts
2132     *
2133     * @note The reverse translation can be achived with
2134     * elm_font_fontconfig_name_get(), for one style only (single font
2135     * instance, not family).
2136     */
2137    EAPI Elm_Font_Properties *elm_font_properties_get(const char *font) EINA_ARG_NONNULL(1);
2138
2139    /**
2140     * Free font properties return by elm_font_properties_get().
2141     *
2142     * @param efp the font properties struct
2143     *
2144     * @ingroup Fonts
2145     */
2146    EAPI void                 elm_font_properties_free(Elm_Font_Properties *efp) EINA_ARG_NONNULL(1);
2147
2148    /**
2149     * Translate a font name, bound to a style, into fontconfig's font names
2150     * syntax.
2151     *
2152     * @param name The font (family) name
2153     * @param style The given style (may be @c NULL)
2154     *
2155     * @return the font name and style string
2156     *
2157     * @ingroup Fonts
2158     *
2159     * @note The reverse translation can be achived with
2160     * elm_font_properties_get(), for one style only (single font
2161     * instance, not family).
2162     */
2163    EAPI const char          *elm_font_fontconfig_name_get(const char *name, const char *style) EINA_ARG_NONNULL(1);
2164
2165    /**
2166     * Free the font string return by elm_font_fontconfig_name_get().
2167     *
2168     * @param efp the font properties struct
2169     *
2170     * @ingroup Fonts
2171     */
2172    EAPI void                 elm_font_fontconfig_name_free(const char *name) EINA_ARG_NONNULL(1);
2173
2174    /**
2175     * Create a font hash table of available system fonts.
2176     *
2177     * One must call it with @p list being the return value of
2178     * evas_font_available_list(). The hash will be indexed by font
2179     * (family) names, being its values @c Elm_Font_Properties blobs.
2180     *
2181     * @param list The list of available system fonts, as returned by
2182     * evas_font_available_list().
2183     * @return the font hash.
2184     *
2185     * @ingroup Fonts
2186     *
2187     * @note The user is supposed to get it populated at least with 3
2188     * default font families (Sans, Serif, Monospace), which should be
2189     * present on most systems.
2190     */
2191    EAPI Eina_Hash           *elm_font_available_hash_add(Eina_List *list);
2192
2193    /**
2194     * Free the hash return by elm_font_available_hash_add().
2195     *
2196     * @param hash the hash to be freed.
2197     *
2198     * @ingroup Fonts
2199     */
2200    EAPI void                 elm_font_available_hash_del(Eina_Hash *hash);
2201
2202    /**
2203     * @}
2204     */
2205
2206    /**
2207     * @defgroup Fingers Fingers
2208     *
2209     * Elementary is designed to be finger-friendly for touchscreens,
2210     * and so in addition to scaling for display resolution, it can
2211     * also scale based on finger "resolution" (or size). You can then
2212     * customize the granularity of the areas meant to receive clicks
2213     * on touchscreens.
2214     *
2215     * Different profiles may have pre-set values for finger sizes.
2216     *
2217     * @ref general_functions_example_page "This" example contemplates
2218     * some of these functions.
2219     *
2220     * @{
2221     */
2222
2223    /**
2224     * Get the configured "finger size"
2225     *
2226     * @return The finger size
2227     *
2228     * This gets the globally configured finger size, <b>in pixels</b>
2229     *
2230     * @ingroup Fingers
2231     */
2232    EAPI Evas_Coord       elm_finger_size_get(void);
2233
2234    /**
2235     * Set the configured finger size
2236     *
2237     * This sets the globally configured finger size in pixels
2238     *
2239     * @param size The finger size
2240     * @ingroup Fingers
2241     */
2242    EAPI void             elm_finger_size_set(Evas_Coord size);
2243
2244    /**
2245     * Set the configured finger size for all applications on the display
2246     *
2247     * This sets the globally configured finger size in pixels for all
2248     * applications on the display
2249     *
2250     * @param size The finger size
2251     * @ingroup Fingers
2252     */
2253    EAPI void             elm_finger_size_all_set(Evas_Coord size);
2254
2255    /**
2256     * @}
2257     */
2258
2259    /**
2260     * @defgroup Focus Focus
2261     *
2262     * An Elementary application has, at all times, one (and only one)
2263     * @b focused object. This is what determines where the input
2264     * events go to within the application's window. Also, focused
2265     * objects can be decorated differently, in order to signal to the
2266     * user where the input is, at a given moment.
2267     *
2268     * Elementary applications also have the concept of <b>focus
2269     * chain</b>: one can cycle through all the windows' focusable
2270     * objects by input (tab key) or programmatically. The default
2271     * focus chain for an application is the one define by the order in
2272     * which the widgets where added in code. One will cycle through
2273     * top level widgets, and, for each one containg sub-objects, cycle
2274     * through them all, before returning to the level
2275     * above. Elementary also allows one to set @b custom focus chains
2276     * for their applications.
2277     *
2278     * Besides the focused decoration a widget may exhibit, when it
2279     * gets focus, Elementary has a @b global focus highlight object
2280     * that can be enabled for a window. If one chooses to do so, this
2281     * extra highlight effect will surround the current focused object,
2282     * too.
2283     *
2284     * @note Some Elementary widgets are @b unfocusable, after
2285     * creation, by their very nature: they are not meant to be
2286     * interacted with input events, but are there just for visual
2287     * purposes.
2288     *
2289     * @ref general_functions_example_page "This" example contemplates
2290     * some of these functions.
2291     */
2292
2293    /**
2294     * Get the enable status of the focus highlight
2295     *
2296     * This gets whether the highlight on focused objects is enabled or not
2297     * @ingroup Focus
2298     */
2299    EAPI Eina_Bool        elm_focus_highlight_enabled_get(void);
2300
2301    /**
2302     * Set the enable status of the focus highlight
2303     *
2304     * Set whether to show or not the highlight on focused objects
2305     * @param enable Enable highlight if EINA_TRUE, disable otherwise
2306     * @ingroup Focus
2307     */
2308    EAPI void             elm_focus_highlight_enabled_set(Eina_Bool enable);
2309
2310    /**
2311     * Get the enable status of the highlight animation
2312     *
2313     * Get whether the focus highlight, if enabled, will animate its switch from
2314     * one object to the next
2315     * @ingroup Focus
2316     */
2317    EAPI Eina_Bool        elm_focus_highlight_animate_get(void);
2318
2319    /**
2320     * Set the enable status of the highlight animation
2321     *
2322     * Set whether the focus highlight, if enabled, will animate its switch from
2323     * one object to the next
2324     * @param animate Enable animation if EINA_TRUE, disable otherwise
2325     * @ingroup Focus
2326     */
2327    EAPI void             elm_focus_highlight_animate_set(Eina_Bool animate);
2328
2329    /**
2330     * Get the whether an Elementary object has the focus or not.
2331     *
2332     * @param obj The Elementary object to get the information from
2333     * @return @c EINA_TRUE, if the object is focused, @c EINA_FALSE if
2334     *            not (and on errors).
2335     *
2336     * @see elm_object_focus_set()
2337     *
2338     * @ingroup Focus
2339     */
2340    EAPI Eina_Bool        elm_object_focus_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2341
2342    /**
2343     * Set/unset focus to a given Elementary object.
2344     *
2345     * @param obj The Elementary object to operate on.
2346     * @param enable @c EINA_TRUE Set focus to a given object,
2347     *               @c EINA_FALSE Unset focus to a given object.
2348     *
2349     * @note When you set focus to this object, if it can handle focus, will
2350     * take the focus away from the one who had it previously and will, for
2351     * now on, be the one receiving input events. Unsetting focus will remove
2352     * the focus from @p obj, passing it back to the previous element in the
2353     * focus chain list.
2354     *
2355     * @see elm_object_focus_get(), elm_object_focus_custom_chain_get()
2356     *
2357     * @ingroup Focus
2358     */
2359    EAPI void             elm_object_focus_set(Evas_Object *obj, Eina_Bool focus) EINA_ARG_NONNULL(1);
2360
2361    /**
2362     * Make a given Elementary object the focused one.
2363     *
2364     * @param obj The Elementary object to make focused.
2365     *
2366     * @note This object, if it can handle focus, will take the focus
2367     * away from the one who had it previously and will, for now on, be
2368     * the one receiving input events.
2369     *
2370     * @see elm_object_focus_get()
2371     * @deprecated use elm_object_focus_set() instead.
2372     *
2373     * @ingroup Focus
2374     */
2375    EINA_DEPRECATED EAPI void             elm_object_focus(Evas_Object *obj) EINA_ARG_NONNULL(1);
2376
2377    /**
2378     * Remove the focus from an Elementary object
2379     *
2380     * @param obj The Elementary to take focus from
2381     *
2382     * This removes the focus from @p obj, passing it back to the
2383     * previous element in the focus chain list.
2384     *
2385     * @see elm_object_focus() and elm_object_focus_custom_chain_get()
2386     * @deprecated use elm_object_focus_set() instead.
2387     *
2388     * @ingroup Focus
2389     */
2390    EINA_DEPRECATED EAPI void             elm_object_unfocus(Evas_Object *obj) EINA_ARG_NONNULL(1);
2391
2392    /**
2393     * Set the ability for an Element object to be focused
2394     *
2395     * @param obj The Elementary object to operate on
2396     * @param enable @c EINA_TRUE if the object can be focused, @c
2397     *        EINA_FALSE if not (and on errors)
2398     *
2399     * This sets whether the object @p obj is able to take focus or
2400     * not. Unfocusable objects do nothing when programmatically
2401     * focused, being the nearest focusable parent object the one
2402     * really getting focus. Also, when they receive mouse input, they
2403     * will get the event, but not take away the focus from where it
2404     * was previously.
2405     *
2406     * @ingroup Focus
2407     */
2408    EAPI void             elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable) EINA_ARG_NONNULL(1);
2409
2410    /**
2411     * Get whether an Elementary object is focusable or not
2412     *
2413     * @param obj The Elementary object to operate on
2414     * @return @c EINA_TRUE if the object is allowed to be focused, @c
2415     *             EINA_FALSE if not (and on errors)
2416     *
2417     * @note Objects which are meant to be interacted with by input
2418     * events are created able to be focused, by default. All the
2419     * others are not.
2420     *
2421     * @ingroup Focus
2422     */
2423    EAPI Eina_Bool        elm_object_focus_allow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2424
2425    /**
2426     * Set custom focus chain.
2427     *
2428     * This function overwrites any previous custom focus chain within
2429     * the list of objects. The previous list will be deleted and this list
2430     * will be managed by elementary. After it is set, don't modify it.
2431     *
2432     * @note On focus cycle, only will be evaluated children of this container.
2433     *
2434     * @param obj The container object
2435     * @param objs Chain of objects to pass focus
2436     * @ingroup Focus
2437     */
2438    EAPI void             elm_object_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs) EINA_ARG_NONNULL(1);
2439
2440    /**
2441     * Unset a custom focus chain on a given Elementary widget
2442     *
2443     * @param obj The container object to remove focus chain from
2444     *
2445     * Any focus chain previously set on @p obj (for its child objects)
2446     * is removed entirely after this call.
2447     *
2448     * @ingroup Focus
2449     */
2450    EAPI void             elm_object_focus_custom_chain_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
2451
2452    /**
2453     * Get custom focus chain
2454     *
2455     * @param obj The container object
2456     * @ingroup Focus
2457     */
2458    EAPI const Eina_List *elm_object_focus_custom_chain_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2459
2460    /**
2461     * Append object to custom focus chain.
2462     *
2463     * @note If relative_child equal to NULL or not in custom chain, the object
2464     * will be added in end.
2465     *
2466     * @note On focus cycle, only will be evaluated children of this container.
2467     *
2468     * @param obj The container object
2469     * @param child The child to be added in custom chain
2470     * @param relative_child The relative object to position the child
2471     * @ingroup Focus
2472     */
2473    EAPI void             elm_object_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
2474
2475    /**
2476     * Prepend object to custom focus chain.
2477     *
2478     * @note If relative_child equal to NULL or not in custom chain, the object
2479     * will be added in begin.
2480     *
2481     * @note On focus cycle, only will be evaluated children of this container.
2482     *
2483     * @param obj The container object
2484     * @param child The child to be added in custom chain
2485     * @param relative_child The relative object to position the child
2486     * @ingroup Focus
2487     */
2488    EAPI void             elm_object_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
2489
2490    /**
2491     * Give focus to next object in object tree.
2492     *
2493     * Give focus to next object in focus chain of one object sub-tree.
2494     * If the last object of chain already have focus, the focus will go to the
2495     * first object of chain.
2496     *
2497     * @param obj The object root of sub-tree
2498     * @param dir Direction to cycle the focus
2499     *
2500     * @ingroup Focus
2501     */
2502    EAPI void             elm_object_focus_cycle(Evas_Object *obj, Elm_Focus_Direction dir) EINA_ARG_NONNULL(1);
2503
2504    /**
2505     * Give focus to near object in one direction.
2506     *
2507     * Give focus to near object in direction of one object.
2508     * If none focusable object in given direction, the focus will not change.
2509     *
2510     * @param obj The reference object
2511     * @param x Horizontal component of direction to focus
2512     * @param y Vertical component of direction to focus
2513     *
2514     * @ingroup Focus
2515     */
2516    EAPI void             elm_object_focus_direction_go(Evas_Object *obj, int x, int y) EINA_ARG_NONNULL(1);
2517
2518    /**
2519     * Make the elementary object and its children to be unfocusable
2520     * (or focusable).
2521     *
2522     * @param obj The Elementary object to operate on
2523     * @param tree_unfocusable @c EINA_TRUE for unfocusable,
2524     *        @c EINA_FALSE for focusable.
2525     *
2526     * This sets whether the object @p obj and its children objects
2527     * are able to take focus or not. If the tree is set as unfocusable,
2528     * newest focused object which is not in this tree will get focus.
2529     * This API can be helpful for an object to be deleted.
2530     * When an object will be deleted soon, it and its children may not
2531     * want to get focus (by focus reverting or by other focus controls).
2532     * Then, just use this API before deleting.
2533     *
2534     * @see elm_object_tree_unfocusable_get()
2535     *
2536     * @ingroup Focus
2537     */
2538    EAPI void             elm_object_tree_unfocusable_set(Evas_Object *obj, Eina_Bool tree_unfocusable); EINA_ARG_NONNULL(1);
2539
2540    /**
2541     * Get whether an Elementary object and its children are unfocusable or not.
2542     *
2543     * @param obj The Elementary object to get the information from
2544     * @return @c EINA_TRUE, if the tree is unfocussable,
2545     *         @c EINA_FALSE if not (and on errors).
2546     *
2547     * @see elm_object_tree_unfocusable_set()
2548     *
2549     * @ingroup Focus
2550     */
2551    EAPI Eina_Bool        elm_object_tree_unfocusable_get(const Evas_Object *obj); EINA_ARG_NONNULL(1);
2552
2553    /**
2554     * @defgroup Scrolling Scrolling
2555     *
2556     * These are functions setting how scrollable views in Elementary
2557     * widgets should behave on user interaction.
2558     *
2559     * @{
2560     */
2561
2562    /**
2563     * Get whether scrollers should bounce when they reach their
2564     * viewport's edge during a scroll.
2565     *
2566     * @return the thumb scroll bouncing state
2567     *
2568     * This is the default behavior for touch screens, in general.
2569     * @ingroup Scrolling
2570     */
2571    EAPI Eina_Bool        elm_scroll_bounce_enabled_get(void);
2572
2573    /**
2574     * Set whether scrollers should bounce when they reach their
2575     * viewport's edge during a scroll.
2576     *
2577     * @param enabled the thumb scroll bouncing state
2578     *
2579     * @see elm_thumbscroll_bounce_enabled_get()
2580     * @ingroup Scrolling
2581     */
2582    EAPI void             elm_scroll_bounce_enabled_set(Eina_Bool enabled);
2583
2584    /**
2585     * Set whether scrollers should bounce when they reach their
2586     * viewport's edge during a scroll, for all Elementary application
2587     * windows.
2588     *
2589     * @param enabled the thumb scroll bouncing state
2590     *
2591     * @see elm_thumbscroll_bounce_enabled_get()
2592     * @ingroup Scrolling
2593     */
2594    EAPI void             elm_scroll_bounce_enabled_all_set(Eina_Bool enabled);
2595
2596    /**
2597     * Get the amount of inertia a scroller will impose at bounce
2598     * animations.
2599     *
2600     * @return the thumb scroll bounce friction
2601     *
2602     * @ingroup Scrolling
2603     */
2604    EAPI double           elm_scroll_bounce_friction_get(void);
2605
2606    /**
2607     * Set the amount of inertia a scroller will impose at bounce
2608     * animations.
2609     *
2610     * @param friction the thumb scroll bounce friction
2611     *
2612     * @see elm_thumbscroll_bounce_friction_get()
2613     * @ingroup Scrolling
2614     */
2615    EAPI void             elm_scroll_bounce_friction_set(double friction);
2616
2617    /**
2618     * Set the amount of inertia a scroller will impose at bounce
2619     * animations, for all Elementary application windows.
2620     *
2621     * @param friction the thumb scroll bounce friction
2622     *
2623     * @see elm_thumbscroll_bounce_friction_get()
2624     * @ingroup Scrolling
2625     */
2626    EAPI void             elm_scroll_bounce_friction_all_set(double friction);
2627
2628    /**
2629     * Get the amount of inertia a <b>paged</b> scroller will impose at
2630     * page fitting animations.
2631     *
2632     * @return the page scroll friction
2633     *
2634     * @ingroup Scrolling
2635     */
2636    EAPI double           elm_scroll_page_scroll_friction_get(void);
2637
2638    /**
2639     * Set the amount of inertia a <b>paged</b> scroller will impose at
2640     * page fitting animations.
2641     *
2642     * @param friction the page scroll friction
2643     *
2644     * @see elm_thumbscroll_page_scroll_friction_get()
2645     * @ingroup Scrolling
2646     */
2647    EAPI void             elm_scroll_page_scroll_friction_set(double friction);
2648
2649    /**
2650     * Set the amount of inertia a <b>paged</b> scroller will impose at
2651     * page fitting animations, for all Elementary application windows.
2652     *
2653     * @param friction the page scroll friction
2654     *
2655     * @see elm_thumbscroll_page_scroll_friction_get()
2656     * @ingroup Scrolling
2657     */
2658    EAPI void             elm_scroll_page_scroll_friction_all_set(double friction);
2659
2660    /**
2661     * Get the amount of inertia a scroller will impose at region bring
2662     * animations.
2663     *
2664     * @return the bring in scroll friction
2665     *
2666     * @ingroup Scrolling
2667     */
2668    EAPI double           elm_scroll_bring_in_scroll_friction_get(void);
2669
2670    /**
2671     * Set the amount of inertia a scroller will impose at region bring
2672     * animations.
2673     *
2674     * @param friction the bring in scroll friction
2675     *
2676     * @see elm_thumbscroll_bring_in_scroll_friction_get()
2677     * @ingroup Scrolling
2678     */
2679    EAPI void             elm_scroll_bring_in_scroll_friction_set(double friction);
2680
2681    /**
2682     * Set the amount of inertia a scroller will impose at region bring
2683     * animations, for all Elementary application windows.
2684     *
2685     * @param friction the bring in scroll friction
2686     *
2687     * @see elm_thumbscroll_bring_in_scroll_friction_get()
2688     * @ingroup Scrolling
2689     */
2690    EAPI void             elm_scroll_bring_in_scroll_friction_all_set(double friction);
2691
2692    /**
2693     * Get the amount of inertia scrollers will impose at animations
2694     * triggered by Elementary widgets' zooming API.
2695     *
2696     * @return the zoom friction
2697     *
2698     * @ingroup Scrolling
2699     */
2700    EAPI double           elm_scroll_zoom_friction_get(void);
2701
2702    /**
2703     * Set the amount of inertia scrollers will impose at animations
2704     * triggered by Elementary widgets' zooming API.
2705     *
2706     * @param friction the zoom friction
2707     *
2708     * @see elm_thumbscroll_zoom_friction_get()
2709     * @ingroup Scrolling
2710     */
2711    EAPI void             elm_scroll_zoom_friction_set(double friction);
2712
2713    /**
2714     * Set the amount of inertia scrollers will impose at animations
2715     * triggered by Elementary widgets' zooming API, for all Elementary
2716     * application windows.
2717     *
2718     * @param friction the zoom friction
2719     *
2720     * @see elm_thumbscroll_zoom_friction_get()
2721     * @ingroup Scrolling
2722     */
2723    EAPI void             elm_scroll_zoom_friction_all_set(double friction);
2724
2725    /**
2726     * Get whether scrollers should be draggable from any point in their
2727     * views.
2728     *
2729     * @return the thumb scroll state
2730     *
2731     * @note This is the default behavior for touch screens, in general.
2732     * @note All other functions namespaced with "thumbscroll" will only
2733     *       have effect if this mode is enabled.
2734     *
2735     * @ingroup Scrolling
2736     */
2737    EAPI Eina_Bool        elm_scroll_thumbscroll_enabled_get(void);
2738
2739    /**
2740     * Set whether scrollers should be draggable from any point in their
2741     * views.
2742     *
2743     * @param enabled the thumb scroll state
2744     *
2745     * @see elm_thumbscroll_enabled_get()
2746     * @ingroup Scrolling
2747     */
2748    EAPI void             elm_scroll_thumbscroll_enabled_set(Eina_Bool enabled);
2749
2750    /**
2751     * Set whether scrollers should be draggable from any point in their
2752     * views, for all Elementary application windows.
2753     *
2754     * @param enabled the thumb scroll state
2755     *
2756     * @see elm_thumbscroll_enabled_get()
2757     * @ingroup Scrolling
2758     */
2759    EAPI void             elm_scroll_thumbscroll_enabled_all_set(Eina_Bool enabled);
2760
2761    /**
2762     * Get the number of pixels one should travel while dragging a
2763     * scroller's view to actually trigger scrolling.
2764     *
2765     * @return the thumb scroll threshould
2766     *
2767     * One would use higher values for touch screens, in general, because
2768     * of their inherent imprecision.
2769     * @ingroup Scrolling
2770     */
2771    EAPI unsigned int     elm_scroll_thumbscroll_threshold_get(void);
2772
2773    /**
2774     * Set the number of pixels one should travel while dragging a
2775     * scroller's view to actually trigger scrolling.
2776     *
2777     * @param threshold the thumb scroll threshould
2778     *
2779     * @see elm_thumbscroll_threshould_get()
2780     * @ingroup Scrolling
2781     */
2782    EAPI void             elm_scroll_thumbscroll_threshold_set(unsigned int threshold);
2783
2784    /**
2785     * Set the number of pixels one should travel while dragging a
2786     * scroller's view to actually trigger scrolling, for all Elementary
2787     * application windows.
2788     *
2789     * @param threshold the thumb scroll threshould
2790     *
2791     * @see elm_thumbscroll_threshould_get()
2792     * @ingroup Scrolling
2793     */
2794    EAPI void             elm_scroll_thumbscroll_threshold_all_set(unsigned int threshold);
2795
2796    /**
2797     * Get the minimum speed of mouse cursor movement which will trigger
2798     * list self scrolling animation after a mouse up event
2799     * (pixels/second).
2800     *
2801     * @return the thumb scroll momentum threshould
2802     *
2803     * @ingroup Scrolling
2804     */
2805    EAPI double           elm_scroll_thumbscroll_momentum_threshold_get(void);
2806
2807    /**
2808     * Set the minimum speed of mouse cursor movement which will trigger
2809     * list self scrolling animation after a mouse up event
2810     * (pixels/second).
2811     *
2812     * @param threshold the thumb scroll momentum threshould
2813     *
2814     * @see elm_thumbscroll_momentum_threshould_get()
2815     * @ingroup Scrolling
2816     */
2817    EAPI void             elm_scroll_thumbscroll_momentum_threshold_set(double threshold);
2818
2819    /**
2820     * Set the minimum speed of mouse cursor movement which will trigger
2821     * list self scrolling animation after a mouse up event
2822     * (pixels/second), for all Elementary application windows.
2823     *
2824     * @param threshold the thumb scroll momentum threshould
2825     *
2826     * @see elm_thumbscroll_momentum_threshould_get()
2827     * @ingroup Scrolling
2828     */
2829    EAPI void             elm_scroll_thumbscroll_momentum_threshold_all_set(double threshold);
2830
2831    /**
2832     * Get the amount of inertia a scroller will impose at self scrolling
2833     * animations.
2834     *
2835     * @return the thumb scroll friction
2836     *
2837     * @ingroup Scrolling
2838     */
2839    EAPI double           elm_scroll_thumbscroll_friction_get(void);
2840
2841    /**
2842     * Set the amount of inertia a scroller will impose at self scrolling
2843     * animations.
2844     *
2845     * @param friction the thumb scroll friction
2846     *
2847     * @see elm_thumbscroll_friction_get()
2848     * @ingroup Scrolling
2849     */
2850    EAPI void             elm_scroll_thumbscroll_friction_set(double friction);
2851
2852    /**
2853     * Set the amount of inertia a scroller will impose at self scrolling
2854     * animations, for all Elementary application windows.
2855     *
2856     * @param friction the thumb scroll friction
2857     *
2858     * @see elm_thumbscroll_friction_get()
2859     * @ingroup Scrolling
2860     */
2861    EAPI void             elm_scroll_thumbscroll_friction_all_set(double friction);
2862
2863    /**
2864     * Get the amount of lag between your actual mouse cursor dragging
2865     * movement and a scroller's view movement itself, while pushing it
2866     * into bounce state manually.
2867     *
2868     * @return the thumb scroll border friction
2869     *
2870     * @ingroup Scrolling
2871     */
2872    EAPI double           elm_scroll_thumbscroll_border_friction_get(void);
2873
2874    /**
2875     * Set the amount of lag between your actual mouse cursor dragging
2876     * movement and a scroller's view movement itself, while pushing it
2877     * into bounce state manually.
2878     *
2879     * @param friction the thumb scroll border friction. @c 0.0 for
2880     *        perfect synchrony between two movements, @c 1.0 for maximum
2881     *        lag.
2882     *
2883     * @see elm_thumbscroll_border_friction_get()
2884     * @note parameter value will get bound to 0.0 - 1.0 interval, always
2885     *
2886     * @ingroup Scrolling
2887     */
2888    EAPI void             elm_scroll_thumbscroll_border_friction_set(double friction);
2889
2890    /**
2891     * Set the amount of lag between your actual mouse cursor dragging
2892     * movement and a scroller's view movement itself, while pushing it
2893     * into bounce state manually, for all Elementary application windows.
2894     *
2895     * @param friction the thumb scroll border friction. @c 0.0 for
2896     *        perfect synchrony between two movements, @c 1.0 for maximum
2897     *        lag.
2898     *
2899     * @see elm_thumbscroll_border_friction_get()
2900     * @note parameter value will get bound to 0.0 - 1.0 interval, always
2901     *
2902     * @ingroup Scrolling
2903     */
2904    EAPI void             elm_scroll_thumbscroll_border_friction_all_set(double friction);
2905
2906    /**
2907     * Get the sensitivity amount which is be multiplied by the length of
2908     * mouse dragging.
2909     *
2910     * @return the thumb scroll sensitivity friction
2911     *
2912     * @ingroup Scrolling
2913     */
2914    EAPI double           elm_scroll_thumbscroll_sensitivity_friction_get(void);
2915
2916    /**
2917     * Set the sensitivity amount which is be multiplied by the length of
2918     * mouse dragging.
2919     *
2920     * @param friction the thumb scroll sensitivity friction. @c 0.1 for
2921     *        minimun sensitivity, @c 1.0 for maximum sensitivity. 0.25
2922     *        is proper.
2923     *
2924     * @see elm_thumbscroll_sensitivity_friction_get()
2925     * @note parameter value will get bound to 0.1 - 1.0 interval, always
2926     *
2927     * @ingroup Scrolling
2928     */
2929    EAPI void             elm_scroll_thumbscroll_sensitivity_friction_set(double friction);
2930
2931    /**
2932     * Set the sensitivity amount which is be multiplied by the length of
2933     * mouse dragging, for all Elementary application windows.
2934     *
2935     * @param friction the thumb scroll sensitivity friction. @c 0.1 for
2936     *        minimun sensitivity, @c 1.0 for maximum sensitivity. 0.25
2937     *        is proper.
2938     *
2939     * @see elm_thumbscroll_sensitivity_friction_get()
2940     * @note parameter value will get bound to 0.1 - 1.0 interval, always
2941     *
2942     * @ingroup Scrolling
2943     */
2944    EAPI void             elm_scroll_thumbscroll_sensitivity_friction_all_set(double friction);
2945
2946    /**
2947     * @}
2948     */
2949
2950    /**
2951     * @defgroup Scrollhints Scrollhints
2952     *
2953     * Objects when inside a scroller can scroll, but this may not always be
2954     * desirable in certain situations. This allows an object to hint to itself
2955     * and parents to "not scroll" in one of 2 ways. If any child object of a
2956     * scroller has pushed a scroll freeze or hold then it affects all parent
2957     * scrollers until all children have released them.
2958     *
2959     * 1. To hold on scrolling. This means just flicking and dragging may no
2960     * longer scroll, but pressing/dragging near an edge of the scroller will
2961     * still scroll. This is automatically used by the entry object when
2962     * selecting text.
2963     *
2964     * 2. To totally freeze scrolling. This means it stops. until
2965     * popped/released.
2966     *
2967     * @{
2968     */
2969
2970    /**
2971     * Push the scroll hold by 1
2972     *
2973     * This increments the scroll hold count by one. If it is more than 0 it will
2974     * take effect on the parents of the indicated object.
2975     *
2976     * @param obj The object
2977     * @ingroup Scrollhints
2978     */
2979    EAPI void             elm_object_scroll_hold_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
2980
2981    /**
2982     * Pop the scroll hold by 1
2983     *
2984     * This decrements the scroll hold count by one. If it is more than 0 it will
2985     * take effect on the parents of the indicated object.
2986     *
2987     * @param obj The object
2988     * @ingroup Scrollhints
2989     */
2990    EAPI void             elm_object_scroll_hold_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
2991
2992    /**
2993     * Push the scroll freeze by 1
2994     *
2995     * This increments the scroll freeze count by one. If it is more
2996     * than 0 it will take effect on the parents of the indicated
2997     * object.
2998     *
2999     * @param obj The object
3000     * @ingroup Scrollhints
3001     */
3002    EAPI void             elm_object_scroll_freeze_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
3003
3004    /**
3005     * Pop the scroll freeze by 1
3006     *
3007     * This decrements the scroll freeze count by one. If it is more
3008     * than 0 it will take effect on the parents of the indicated
3009     * object.
3010     *
3011     * @param obj The object
3012     * @ingroup Scrollhints
3013     */
3014    EAPI void             elm_object_scroll_freeze_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
3015
3016    /**
3017     * Lock the scrolling of the given widget (and thus all parents)
3018     *
3019     * This locks the given object from scrolling in the X axis (and implicitly
3020     * also locks all parent scrollers too from doing the same).
3021     *
3022     * @param obj The object
3023     * @param lock The lock state (1 == locked, 0 == unlocked)
3024     * @ingroup Scrollhints
3025     */
3026    EAPI void             elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
3027
3028    /**
3029     * Lock the scrolling of the given widget (and thus all parents)
3030     *
3031     * This locks the given object from scrolling in the Y axis (and implicitly
3032     * also locks all parent scrollers too from doing the same).
3033     *
3034     * @param obj The object
3035     * @param lock The lock state (1 == locked, 0 == unlocked)
3036     * @ingroup Scrollhints
3037     */
3038    EAPI void             elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
3039
3040    /**
3041     * Get the scrolling lock of the given widget
3042     *
3043     * This gets the lock for X axis scrolling.
3044     *
3045     * @param obj The object
3046     * @ingroup Scrollhints
3047     */
3048    EAPI Eina_Bool        elm_object_scroll_lock_x_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3049
3050    /**
3051     * Get the scrolling lock of the given widget
3052     *
3053     * This gets the lock for X axis scrolling.
3054     *
3055     * @param obj The object
3056     * @ingroup Scrollhints
3057     */
3058    EAPI Eina_Bool        elm_object_scroll_lock_y_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3059
3060    /**
3061     * @}
3062     */
3063
3064    /**
3065     * Send a signal to the widget edje object.
3066     *
3067     * This function sends a signal to the edje object of the obj. An
3068     * edje program can respond to a signal by specifying matching
3069     * 'signal' and 'source' fields.
3070     *
3071     * @param obj The object
3072     * @param emission The signal's name.
3073     * @param source The signal's source.
3074     * @ingroup General
3075     */
3076    EAPI void             elm_object_signal_emit(Evas_Object *obj, const char *emission, const char *source) EINA_ARG_NONNULL(1);
3077
3078    /**
3079     * Add a callback for a signal emitted by widget edje object.
3080     *
3081     * This function connects a callback function to a signal emitted by the
3082     * edje object of the obj.
3083     * Globs can occur in either the emission or source name.
3084     *
3085     * @param obj The object
3086     * @param emission The signal's name.
3087     * @param source The signal's source.
3088     * @param func The callback function to be executed when the signal is
3089     * emitted.
3090     * @param data A pointer to data to pass in to the callback function.
3091     * @ingroup General
3092     */
3093    EAPI void             elm_object_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data) EINA_ARG_NONNULL(1, 4);
3094
3095    /**
3096     * Remove a signal-triggered callback from a widget edje object.
3097     *
3098     * This function removes a callback, previoulsy attached to a
3099     * signal emitted by the edje object of the obj.  The parameters
3100     * emission, source and func must match exactly those passed to a
3101     * previous call to elm_object_signal_callback_add(). The data
3102     * pointer that was passed to this call will be returned.
3103     *
3104     * @param obj The object
3105     * @param emission The signal's name.
3106     * @param source The signal's source.
3107     * @param func The callback function to be executed when the signal is
3108     * emitted.
3109     * @return The data pointer
3110     * @ingroup General
3111     */
3112    EAPI void            *elm_object_signal_callback_del(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func) EINA_ARG_NONNULL(1, 4);
3113
3114    /**
3115     * Add a callback for input events (key up, key down, mouse wheel)
3116     * on a given Elementary widget
3117     *
3118     * @param obj The widget to add an event callback on
3119     * @param func The callback function to be executed when the event
3120     * happens
3121     * @param data Data to pass in to @p func
3122     *
3123     * Every widget in an Elementary interface set to receive focus,
3124     * with elm_object_focus_allow_set(), will propagate @b all of its
3125     * key up, key down and mouse wheel input events up to its parent
3126     * object, and so on. All of the focusable ones in this chain which
3127     * had an event callback set, with this call, will be able to treat
3128     * those events. There are two ways of making the propagation of
3129     * these event upwards in the tree of widgets to @b cease:
3130     * - Just return @c EINA_TRUE on @p func. @c EINA_FALSE will mean
3131     *   the event was @b not processed, so the propagation will go on.
3132     * - The @c event_info pointer passed to @p func will contain the
3133     *   event's structure and, if you OR its @c event_flags inner
3134     *   value to @c EVAS_EVENT_FLAG_ON_HOLD, you're telling Elementary
3135     *   one has already handled it, thus killing the event's
3136     *   propagation, too.
3137     *
3138     * @note Your event callback will be issued on those events taking
3139     * place only if no other child widget of @obj has consumed the
3140     * event already.
3141     *
3142     * @note Not to be confused with @c
3143     * evas_object_event_callback_add(), which will add event callbacks
3144     * per type on general Evas objects (no event propagation
3145     * infrastructure taken in account).
3146     *
3147     * @note Not to be confused with @c
3148     * elm_object_signal_callback_add(), which will add callbacks to @b
3149     * signals coming from a widget's theme, not input events.
3150     *
3151     * @note Not to be confused with @c
3152     * edje_object_signal_callback_add(), which does the same as
3153     * elm_object_signal_callback_add(), but directly on an Edje
3154     * object.
3155     *
3156     * @note Not to be confused with @c
3157     * evas_object_smart_callback_add(), which adds callbacks to smart
3158     * objects' <b>smart events</b>, and not input events.
3159     *
3160     * @see elm_object_event_callback_del()
3161     *
3162     * @ingroup General
3163     */
3164    EAPI void             elm_object_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
3165
3166    /**
3167     * Remove an event callback from a widget.
3168     *
3169     * This function removes a callback, previoulsy attached to event emission
3170     * by the @p obj.
3171     * The parameters func and data must match exactly those passed to
3172     * a previous call to elm_object_event_callback_add(). The data pointer that
3173     * was passed to this call will be returned.
3174     *
3175     * @param obj The object
3176     * @param func The callback function to be executed when the event is
3177     * emitted.
3178     * @param data Data to pass in to the callback function.
3179     * @return The data pointer
3180     * @ingroup General
3181     */
3182    EAPI void            *elm_object_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
3183
3184    /**
3185     * Adjust size of an element for finger usage.
3186     *
3187     * @param times_w How many fingers should fit horizontally
3188     * @param w Pointer to the width size to adjust
3189     * @param times_h How many fingers should fit vertically
3190     * @param h Pointer to the height size to adjust
3191     *
3192     * This takes width and height sizes (in pixels) as input and a
3193     * size multiple (which is how many fingers you want to place
3194     * within the area, being "finger" the size set by
3195     * elm_finger_size_set()), and adjusts the size to be large enough
3196     * to accommodate the resulting size -- if it doesn't already
3197     * accommodate it. On return the @p w and @p h sizes pointed to by
3198     * these parameters will be modified, on those conditions.
3199     *
3200     * @note This is kind of a low level Elementary call, most useful
3201     * on size evaluation times for widgets. An external user wouldn't
3202     * be calling, most of the time.
3203     *
3204     * @ingroup Fingers
3205     */
3206    EAPI void             elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h);
3207
3208    /**
3209     * Get the duration for occuring long press event.
3210     *
3211     * @return Timeout for long press event
3212     * @ingroup Longpress
3213     */
3214    EAPI double           elm_longpress_timeout_get(void);
3215
3216    /**
3217     * Set the duration for occuring long press event.
3218     *
3219     * @param lonpress_timeout Timeout for long press event
3220     * @ingroup Longpress
3221     */
3222    EAPI void             elm_longpress_timeout_set(double longpress_timeout);
3223
3224    /**
3225     * @defgroup Debug Debug
3226     * don't use it unless you are sure
3227     *
3228     * @{
3229     */
3230
3231    /**
3232     * Print Tree object hierarchy in stdout
3233     *
3234     * @param obj The root object
3235     * @ingroup Debug
3236     */
3237    EAPI void             elm_object_tree_dump(const Evas_Object *top);
3238
3239    /**
3240     * Print Elm Objects tree hierarchy in file as dot(graphviz) syntax.
3241     *
3242     * @param obj The root object
3243     * @param file The path of output file
3244     * @ingroup Debug
3245     */
3246    EAPI void             elm_object_tree_dot_dump(const Evas_Object *top, const char *file);
3247
3248    /**
3249     * @}
3250     */
3251
3252    /**
3253     * @defgroup Theme Theme
3254     *
3255     * Elementary uses Edje to theme its widgets, naturally. But for the most
3256     * part this is hidden behind a simpler interface that lets the user set
3257     * extensions and choose the style of widgets in a much easier way.
3258     *
3259     * Instead of thinking in terms of paths to Edje files and their groups
3260     * each time you want to change the appearance of a widget, Elementary
3261     * works so you can add any theme file with extensions or replace the
3262     * main theme at one point in the application, and then just set the style
3263     * of widgets with elm_object_style_set() and related functions. Elementary
3264     * will then look in its list of themes for a matching group and apply it,
3265     * and when the theme changes midway through the application, all widgets
3266     * will be updated accordingly.
3267     *
3268     * There are three concepts you need to know to understand how Elementary
3269     * theming works: default theme, extensions and overlays.
3270     *
3271     * Default theme, obviously enough, is the one that provides the default
3272     * look of all widgets. End users can change the theme used by Elementary
3273     * by setting the @c ELM_THEME environment variable before running an
3274     * application, or globally for all programs using the @c elementary_config
3275     * utility. Applications can change the default theme using elm_theme_set(),
3276     * but this can go against the user wishes, so it's not an adviced practice.
3277     *
3278     * Ideally, applications should find everything they need in the already
3279     * provided theme, but there may be occasions when that's not enough and
3280     * custom styles are required to correctly express the idea. For this
3281     * cases, Elementary has extensions.
3282     *
3283     * Extensions allow the application developer to write styles of its own
3284     * to apply to some widgets. This requires knowledge of how each widget
3285     * is themed, as extensions will always replace the entire group used by
3286     * the widget, so important signals and parts need to be there for the
3287     * object to behave properly (see documentation of Edje for details).
3288     * Once the theme for the extension is done, the application needs to add
3289     * it to the list of themes Elementary will look into, using
3290     * elm_theme_extension_add(), and set the style of the desired widgets as
3291     * he would normally with elm_object_style_set().
3292     *
3293     * Overlays, on the other hand, can replace the look of all widgets by
3294     * overriding the default style. Like extensions, it's up to the application
3295     * developer to write the theme for the widgets it wants, the difference
3296     * being that when looking for the theme, Elementary will check first the
3297     * list of overlays, then the set theme and lastly the list of extensions,
3298     * so with overlays it's possible to replace the default view and every
3299     * widget will be affected. This is very much alike to setting the whole
3300     * theme for the application and will probably clash with the end user
3301     * options, not to mention the risk of ending up with not matching styles
3302     * across the program. Unless there's a very special reason to use them,
3303     * overlays should be avoided for the resons exposed before.
3304     *
3305     * All these theme lists are handled by ::Elm_Theme instances. Elementary
3306     * keeps one default internally and every function that receives one of
3307     * these can be called with NULL to refer to this default (except for
3308     * elm_theme_free()). It's possible to create a new instance of a
3309     * ::Elm_Theme to set other theme for a specific widget (and all of its
3310     * children), but this is as discouraged, if not even more so, than using
3311     * overlays. Don't use this unless you really know what you are doing.
3312     *
3313     * But to be less negative about things, you can look at the following
3314     * examples:
3315     * @li @ref theme_example_01 "Using extensions"
3316     * @li @ref theme_example_02 "Using overlays"
3317     *
3318     * @{
3319     */
3320    /**
3321     * @typedef Elm_Theme
3322     *
3323     * Opaque handler for the list of themes Elementary looks for when
3324     * rendering widgets.
3325     *
3326     * Stay out of this unless you really know what you are doing. For most
3327     * cases, sticking to the default is all a developer needs.
3328     */
3329    typedef struct _Elm_Theme Elm_Theme;
3330
3331    /**
3332     * Create a new specific theme
3333     *
3334     * This creates an empty specific theme that only uses the default theme. A
3335     * specific theme has its own private set of extensions and overlays too
3336     * (which are empty by default). Specific themes do not fall back to themes
3337     * of parent objects. They are not intended for this use. Use styles, overlays
3338     * and extensions when needed, but avoid specific themes unless there is no
3339     * other way (example: you want to have a preview of a new theme you are
3340     * selecting in a "theme selector" window. The preview is inside a scroller
3341     * and should display what the theme you selected will look like, but not
3342     * actually apply it yet. The child of the scroller will have a specific
3343     * theme set to show this preview before the user decides to apply it to all
3344     * applications).
3345     */
3346    EAPI Elm_Theme       *elm_theme_new(void);
3347    /**
3348     * Free a specific theme
3349     *
3350     * @param th The theme to free
3351     *
3352     * This frees a theme created with elm_theme_new().
3353     */
3354    EAPI void             elm_theme_free(Elm_Theme *th);
3355    /**
3356     * Copy the theme fom the source to the destination theme
3357     *
3358     * @param th The source theme to copy from
3359     * @param thdst The destination theme to copy data to
3360     *
3361     * This makes a one-time static copy of all the theme config, extensions
3362     * and overlays from @p th to @p thdst. If @p th references a theme, then
3363     * @p thdst is also set to reference it, with all the theme settings,
3364     * overlays and extensions that @p th had.
3365     */
3366    EAPI void             elm_theme_copy(Elm_Theme *th, Elm_Theme *thdst);
3367    /**
3368     * Tell the source theme to reference the ref theme
3369     *
3370     * @param th The theme that will do the referencing
3371     * @param thref The theme that is the reference source
3372     *
3373     * This clears @p th to be empty and then sets it to refer to @p thref
3374     * so @p th acts as an override to @p thref, but where its overrides
3375     * don't apply, it will fall through to @p thref for configuration.
3376     */
3377    EAPI void             elm_theme_ref_set(Elm_Theme *th, Elm_Theme *thref);
3378    /**
3379     * Return the theme referred to
3380     *
3381     * @param th The theme to get the reference from
3382     * @return The referenced theme handle
3383     *
3384     * This gets the theme set as the reference theme by elm_theme_ref_set().
3385     * If no theme is set as a reference, NULL is returned.
3386     */
3387    EAPI Elm_Theme       *elm_theme_ref_get(Elm_Theme *th);
3388    /**
3389     * Return the default theme
3390     *
3391     * @return The default theme handle
3392     *
3393     * This returns the internal default theme setup handle that all widgets
3394     * use implicitly unless a specific theme is set. This is also often use
3395     * as a shorthand of NULL.
3396     */
3397    EAPI Elm_Theme       *elm_theme_default_get(void);
3398    /**
3399     * Prepends a theme overlay to the list of overlays
3400     *
3401     * @param th The theme to add to, or if NULL, the default theme
3402     * @param item The Edje file path to be used
3403     *
3404     * Use this if your application needs to provide some custom overlay theme
3405     * (An Edje file that replaces some default styles of widgets) where adding
3406     * new styles, or changing system theme configuration is not possible. Do
3407     * NOT use this instead of a proper system theme configuration. Use proper
3408     * configuration files, profiles, environment variables etc. to set a theme
3409     * so that the theme can be altered by simple confiugration by a user. Using
3410     * this call to achieve that effect is abusing the API and will create lots
3411     * of trouble.
3412     *
3413     * @see elm_theme_extension_add()
3414     */
3415    EAPI void             elm_theme_overlay_add(Elm_Theme *th, const char *item);
3416    /**
3417     * Delete a theme overlay from the list of overlays
3418     *
3419     * @param th The theme to delete from, or if NULL, the default theme
3420     * @param item The name of the theme overlay
3421     *
3422     * @see elm_theme_overlay_add()
3423     */
3424    EAPI void             elm_theme_overlay_del(Elm_Theme *th, const char *item);
3425    /**
3426     * Appends a theme extension to the list of extensions.
3427     *
3428     * @param th The theme to add to, or if NULL, the default theme
3429     * @param item The Edje file path to be used
3430     *
3431     * This is intended when an application needs more styles of widgets or new
3432     * widget themes that the default does not provide (or may not provide). The
3433     * application has "extended" usage by coming up with new custom style names
3434     * for widgets for specific uses, but as these are not "standard", they are
3435     * not guaranteed to be provided by a default theme. This means the
3436     * application is required to provide these extra elements itself in specific
3437     * Edje files. This call adds one of those Edje files to the theme search
3438     * path to be search after the default theme. The use of this call is
3439     * encouraged when default styles do not meet the needs of the application.
3440     * Use this call instead of elm_theme_overlay_add() for almost all cases.
3441     *
3442     * @see elm_object_style_set()
3443     */
3444    EAPI void             elm_theme_extension_add(Elm_Theme *th, const char *item);
3445    /**
3446     * Deletes a theme extension from the list of extensions.
3447     *
3448     * @param th The theme to delete from, or if NULL, the default theme
3449     * @param item The name of the theme extension
3450     *
3451     * @see elm_theme_extension_add()
3452     */
3453    EAPI void             elm_theme_extension_del(Elm_Theme *th, const char *item);
3454    /**
3455     * Set the theme search order for the given theme
3456     *
3457     * @param th The theme to set the search order, or if NULL, the default theme
3458     * @param theme Theme search string
3459     *
3460     * This sets the search string for the theme in path-notation from first
3461     * theme to search, to last, delimited by the : character. Example:
3462     *
3463     * "shiny:/path/to/file.edj:default"
3464     *
3465     * See the ELM_THEME environment variable for more information.
3466     *
3467     * @see elm_theme_get()
3468     * @see elm_theme_list_get()
3469     */
3470    EAPI void             elm_theme_set(Elm_Theme *th, const char *theme);
3471    /**
3472     * Return the theme search order
3473     *
3474     * @param th The theme to get the search order, or if NULL, the default theme
3475     * @return The internal search order path
3476     *
3477     * This function returns a colon separated string of theme elements as
3478     * returned by elm_theme_list_get().
3479     *
3480     * @see elm_theme_set()
3481     * @see elm_theme_list_get()
3482     */
3483    EAPI const char      *elm_theme_get(Elm_Theme *th);
3484    /**
3485     * Return a list of theme elements to be used in a theme.
3486     *
3487     * @param th Theme to get the list of theme elements from.
3488     * @return The internal list of theme elements
3489     *
3490     * This returns the internal list of theme elements (will only be valid as
3491     * long as the theme is not modified by elm_theme_set() or theme is not
3492     * freed by elm_theme_free(). This is a list of strings which must not be
3493     * altered as they are also internal. If @p th is NULL, then the default
3494     * theme element list is returned.
3495     *
3496     * A theme element can consist of a full or relative path to a .edj file,
3497     * or a name, without extension, for a theme to be searched in the known
3498     * theme paths for Elemementary.
3499     *
3500     * @see elm_theme_set()
3501     * @see elm_theme_get()
3502     */
3503    EAPI const Eina_List *elm_theme_list_get(const Elm_Theme *th);
3504    /**
3505     * Return the full patrh for a theme element
3506     *
3507     * @param f The theme element name
3508     * @param in_search_path Pointer to a boolean to indicate if item is in the search path or not
3509     * @return The full path to the file found.
3510     *
3511     * This returns a string you should free with free() on success, NULL on
3512     * failure. This will search for the given theme element, and if it is a
3513     * full or relative path element or a simple searchable name. The returned
3514     * path is the full path to the file, if searched, and the file exists, or it
3515     * is simply the full path given in the element or a resolved path if
3516     * relative to home. The @p in_search_path boolean pointed to is set to
3517     * EINA_TRUE if the file was a searchable file andis in the search path,
3518     * and EINA_FALSE otherwise.
3519     */
3520    EAPI char            *elm_theme_list_item_path_get(const char *f, Eina_Bool *in_search_path);
3521    /**
3522     * Flush the current theme.
3523     *
3524     * @param th Theme to flush
3525     *
3526     * This flushes caches that let elementary know where to find theme elements
3527     * in the given theme. If @p th is NULL, then the default theme is flushed.
3528     * Call this function if source theme data has changed in such a way as to
3529     * make any caches Elementary kept invalid.
3530     */
3531    EAPI void             elm_theme_flush(Elm_Theme *th);
3532    /**
3533     * This flushes all themes (default and specific ones).
3534     *
3535     * This will flush all themes in the current application context, by calling
3536     * elm_theme_flush() on each of them.
3537     */
3538    EAPI void             elm_theme_full_flush(void);
3539    /**
3540     * Set the theme for all elementary using applications on the current display
3541     *
3542     * @param theme The name of the theme to use. Format same as the ELM_THEME
3543     * environment variable.
3544     */
3545    EAPI void             elm_theme_all_set(const char *theme);
3546    /**
3547     * Return a list of theme elements in the theme search path
3548     *
3549     * @return A list of strings that are the theme element names.
3550     *
3551     * This lists all available theme files in the standard Elementary search path
3552     * for theme elements, and returns them in alphabetical order as theme
3553     * element names in a list of strings. Free this with
3554     * elm_theme_name_available_list_free() when you are done with the list.
3555     */
3556    EAPI Eina_List       *elm_theme_name_available_list_new(void);
3557    /**
3558     * Free the list returned by elm_theme_name_available_list_new()
3559     *
3560     * This frees the list of themes returned by
3561     * elm_theme_name_available_list_new(). Once freed the list should no longer
3562     * be used. a new list mys be created.
3563     */
3564    EAPI void             elm_theme_name_available_list_free(Eina_List *list);
3565    /**
3566     * Set a specific theme to be used for this object and its children
3567     *
3568     * @param obj The object to set the theme on
3569     * @param th The theme to set
3570     *
3571     * This sets a specific theme that will be used for the given object and any
3572     * child objects it has. If @p th is NULL then the theme to be used is
3573     * cleared and the object will inherit its theme from its parent (which
3574     * ultimately will use the default theme if no specific themes are set).
3575     *
3576     * Use special themes with great care as this will annoy users and make
3577     * configuration difficult. Avoid any custom themes at all if it can be
3578     * helped.
3579     */
3580    EAPI void             elm_object_theme_set(Evas_Object *obj, Elm_Theme *th) EINA_ARG_NONNULL(1);
3581    /**
3582     * Get the specific theme to be used
3583     *
3584     * @param obj The object to get the specific theme from
3585     * @return The specifc theme set.
3586     *
3587     * This will return a specific theme set, or NULL if no specific theme is
3588     * set on that object. It will not return inherited themes from parents, only
3589     * the specific theme set for that specific object. See elm_object_theme_set()
3590     * for more information.
3591     */
3592    EAPI Elm_Theme       *elm_object_theme_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3593
3594    /**
3595     * Get a data item from a theme
3596     *
3597     * @param th The theme, or NULL for default theme
3598     * @param key The data key to search with
3599     * @return The data value, or NULL on failure
3600     *
3601     * This function is used to return data items from edc in @p th, an overlay, or an extension.
3602     * It works the same way as edje_file_data_get() except that the return is stringshared.
3603     */
3604    EAPI const char      *elm_theme_data_get(Elm_Theme *th, const char *key) EINA_ARG_NONNULL(2);
3605    /**
3606     * @}
3607     */
3608
3609    /* win */
3610    /** @defgroup Win Win
3611     *
3612     * @image html img/widget/win/preview-00.png
3613     * @image latex img/widget/win/preview-00.eps
3614     *
3615     * The window class of Elementary.  Contains functions to manipulate
3616     * windows. The Evas engine used to render the window contents is specified
3617     * in the system or user elementary config files (whichever is found last),
3618     * and can be overridden with the ELM_ENGINE environment variable for
3619     * testing.  Engines that may be supported (depending on Evas and Ecore-Evas
3620     * compilation setup and modules actually installed at runtime) are (listed
3621     * in order of best supported and most likely to be complete and work to
3622     * lowest quality).
3623     *
3624     * @li "x11", "x", "software-x11", "software_x11" (Software rendering in X11)
3625     * @li "gl", "opengl", "opengl-x11", "opengl_x11" (OpenGL or OpenGL-ES2
3626     * rendering in X11)
3627     * @li "shot:..." (Virtual screenshot renderer - renders to output file and
3628     * exits)
3629     * @li "fb", "software-fb", "software_fb" (Linux framebuffer direct software
3630     * rendering)
3631     * @li "sdl", "software-sdl", "software_sdl" (SDL software rendering to SDL
3632     * buffer)
3633     * @li "gl-sdl", "gl_sdl", "opengl-sdl", "opengl_sdl" (OpenGL or OpenGL-ES2
3634     * rendering using SDL as the buffer)
3635     * @li "gdi", "software-gdi", "software_gdi" (Windows WIN32 rendering via
3636     * GDI with software)
3637     * @li "dfb", "directfb" (Rendering to a DirectFB window)
3638     * @li "x11-8", "x8", "software-8-x11", "software_8_x11" (Rendering in
3639     * grayscale using dedicated 8bit software engine in X11)
3640     * @li "x11-16", "x16", "software-16-x11", "software_16_x11" (Rendering in
3641     * X11 using 16bit software engine)
3642     * @li "wince-gdi", "software-16-wince-gdi", "software_16_wince_gdi"
3643     * (Windows CE rendering via GDI with 16bit software renderer)
3644     * @li "sdl-16", "software-16-sdl", "software_16_sdl" (Rendering to SDL
3645     * buffer with 16bit software renderer)
3646     * @li "ews" (rendering to EWS - Ecore + Evas Single Process Windowing System)
3647     *
3648     * All engines use a simple string to select the engine to render, EXCEPT
3649     * the "shot" engine. This actually encodes the output of the virtual
3650     * screenshot and how long to delay in the engine string. The engine string
3651     * is encoded in the following way:
3652     *
3653     *   "shot:[delay=XX][:][repeat=DDD][:][file=XX]"
3654     *
3655     * Where options are separated by a ":" char if more than one option is
3656     * given, with delay, if provided being the first option and file the last
3657     * (order is important). The delay specifies how long to wait after the
3658     * window is shown before doing the virtual "in memory" rendering and then
3659     * save the output to the file specified by the file option (and then exit).
3660     * If no delay is given, the default is 0.5 seconds. If no file is given the
3661     * default output file is "out.png". Repeat option is for continous
3662     * capturing screenshots. Repeat range is from 1 to 999 and filename is
3663     * fixed to "out001.png" Some examples of using the shot engine:
3664     *
3665     *   ELM_ENGINE="shot:delay=1.0:repeat=5:file=elm_test.png" elementary_test
3666     *   ELM_ENGINE="shot:delay=1.0:file=elm_test.png" elementary_test
3667     *   ELM_ENGINE="shot:file=elm_test2.png" elementary_test
3668     *   ELM_ENGINE="shot:delay=2.0" elementary_test
3669     *   ELM_ENGINE="shot:" elementary_test
3670     *
3671     * Signals that you can add callbacks for are:
3672     *
3673     * @li "delete,request": the user requested to close the window. See
3674     * elm_win_autodel_set().
3675     * @li "focus,in": window got focus
3676     * @li "focus,out": window lost focus
3677     * @li "moved": window that holds the canvas was moved
3678     *
3679     * Examples:
3680     * @li @ref win_example_01
3681     *
3682     * @{
3683     */
3684    /**
3685     * Defines the types of window that can be created
3686     *
3687     * These are hints set on the window so that a running Window Manager knows
3688     * how the window should be handled and/or what kind of decorations it
3689     * should have.
3690     *
3691     * Currently, only the X11 backed engines use them.
3692     */
3693    typedef enum _Elm_Win_Type
3694      {
3695         ELM_WIN_BASIC, /**< A normal window. Indicates a normal, top-level
3696                          window. Almost every window will be created with this
3697                          type. */
3698         ELM_WIN_DIALOG_BASIC, /**< Used for simple dialog windows/ */
3699         ELM_WIN_DESKTOP, /**< For special desktop windows, like a background
3700                            window holding desktop icons. */
3701         ELM_WIN_DOCK, /**< The window is used as a dock or panel. Usually would
3702                         be kept on top of any other window by the Window
3703                         Manager. */
3704         ELM_WIN_TOOLBAR, /**< The window is used to hold a floating toolbar, or
3705                            similar. */
3706         ELM_WIN_MENU, /**< Similar to #ELM_WIN_TOOLBAR. */
3707         ELM_WIN_UTILITY, /**< A persistent utility window, like a toolbox or
3708                            pallete. */
3709         ELM_WIN_SPLASH, /**< Splash window for a starting up application. */
3710         ELM_WIN_DROPDOWN_MENU, /**< The window is a dropdown menu, as when an
3711                                  entry in a menubar is clicked. Typically used
3712                                  with elm_win_override_set(). This hint exists
3713                                  for completion only, as the EFL way of
3714                                  implementing a menu would not normally use a
3715                                  separate window for its contents. */
3716         ELM_WIN_POPUP_MENU, /**< Like #ELM_WIN_DROPDOWN_MENU, but for the menu
3717                               triggered by right-clicking an object. */
3718         ELM_WIN_TOOLTIP, /**< The window is a tooltip. A short piece of
3719                            explanatory text that typically appear after the
3720                            mouse cursor hovers over an object for a while.
3721                            Typically used with elm_win_override_set() and also
3722                            not very commonly used in the EFL. */
3723         ELM_WIN_NOTIFICATION, /**< A notification window, like a warning about
3724                                 battery life or a new E-Mail received. */
3725         ELM_WIN_COMBO, /**< A window holding the contents of a combo box. Not
3726                          usually used in the EFL. */
3727         ELM_WIN_DND, /**< Used to indicate the window is a representation of an
3728                        object being dragged across different windows, or even
3729                        applications. Typically used with
3730                        elm_win_override_set(). */
3731         ELM_WIN_INLINED_IMAGE, /**< The window is rendered onto an image
3732                                  buffer. No actual window is created for this
3733                                  type, instead the window and all of its
3734                                  contents will be rendered to an image buffer.
3735                                  This allows to have children window inside a
3736                                  parent one just like any other object would
3737                                  be, and do other things like applying @c
3738                                  Evas_Map effects to it. This is the only type
3739                                  of window that requires the @c parent
3740                                  parameter of elm_win_add() to be a valid @c
3741                                  Evas_Object. */
3742      } Elm_Win_Type;
3743
3744    /**
3745     * The differents layouts that can be requested for the virtual keyboard.
3746     *
3747     * When the application window is being managed by Illume, it may request
3748     * any of the following layouts for the virtual keyboard.
3749     */
3750    typedef enum _Elm_Win_Keyboard_Mode
3751      {
3752         ELM_WIN_KEYBOARD_UNKNOWN, /**< Unknown keyboard state */
3753         ELM_WIN_KEYBOARD_OFF, /**< Request to deactivate the keyboard */
3754         ELM_WIN_KEYBOARD_ON, /**< Enable keyboard with default layout */
3755         ELM_WIN_KEYBOARD_ALPHA, /**< Alpha (a-z) keyboard layout */
3756         ELM_WIN_KEYBOARD_NUMERIC, /**< Numeric keyboard layout */
3757         ELM_WIN_KEYBOARD_PIN, /**< PIN keyboard layout */
3758         ELM_WIN_KEYBOARD_PHONE_NUMBER, /**< Phone keyboard layout */
3759         ELM_WIN_KEYBOARD_HEX, /**< Hexadecimal numeric keyboard layout */
3760         ELM_WIN_KEYBOARD_TERMINAL, /**< Full (QUERTY) keyboard layout */
3761         ELM_WIN_KEYBOARD_PASSWORD, /**< Password keyboard layout */
3762         ELM_WIN_KEYBOARD_IP, /**< IP keyboard layout */
3763         ELM_WIN_KEYBOARD_HOST, /**< Host keyboard layout */
3764         ELM_WIN_KEYBOARD_FILE, /**< File keyboard layout */
3765         ELM_WIN_KEYBOARD_URL, /**< URL keyboard layout */
3766         ELM_WIN_KEYBOARD_KEYPAD, /**< Keypad layout */
3767         ELM_WIN_KEYBOARD_J2ME /**< J2ME keyboard layout */
3768      } Elm_Win_Keyboard_Mode;
3769
3770    /**
3771     * Available commands that can be sent to the Illume manager.
3772     *
3773     * When running under an Illume session, a window may send commands to the
3774     * Illume manager to perform different actions.
3775     */
3776    typedef enum _Elm_Illume_Command
3777      {
3778         ELM_ILLUME_COMMAND_FOCUS_BACK, /**< Reverts focus to the previous
3779                                          window */
3780         ELM_ILLUME_COMMAND_FOCUS_FORWARD, /**< Sends focus to the next window\
3781                                             in the list */
3782         ELM_ILLUME_COMMAND_FOCUS_HOME, /**< Hides all windows to show the Home
3783                                          screen */
3784         ELM_ILLUME_COMMAND_CLOSE /**< Closes the currently active window */
3785      } Elm_Illume_Command;
3786
3787    /**
3788     * Adds a window object. If this is the first window created, pass NULL as
3789     * @p parent.
3790     *
3791     * @param parent Parent object to add the window to, or NULL
3792     * @param name The name of the window
3793     * @param type The window type, one of #Elm_Win_Type.
3794     *
3795     * The @p parent paramter can be @c NULL for every window @p type except
3796     * #ELM_WIN_INLINED_IMAGE, which needs a parent to retrieve the canvas on
3797     * which the image object will be created.
3798     *
3799     * @return The created object, or NULL on failure
3800     */
3801    EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type);
3802    /**
3803     * Add @p subobj as a resize object of window @p obj.
3804     *
3805     *
3806     * Setting an object as a resize object of the window means that the
3807     * @p subobj child's size and position will be controlled by the window
3808     * directly. That is, the object will be resized to match the window size
3809     * and should never be moved or resized manually by the developer.
3810     *
3811     * In addition, resize objects of the window control what the minimum size
3812     * of it will be, as well as whether it can or not be resized by the user.
3813     *
3814     * For the end user to be able to resize a window by dragging the handles
3815     * or borders provided by the Window Manager, or using any other similar
3816     * mechanism, all of the resize objects in the window should have their
3817     * evas_object_size_hint_weight_set() set to EVAS_HINT_EXPAND.
3818     *
3819     * @param obj The window object
3820     * @param subobj The resize object to add
3821     */
3822    EAPI void         elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
3823    /**
3824     * Delete @p subobj as a resize object of window @p obj.
3825     *
3826     * This function removes the object @p subobj from the resize objects of
3827     * the window @p obj. It will not delete the object itself, which will be
3828     * left unmanaged and should be deleted by the developer, manually handled
3829     * or set as child of some other container.
3830     *
3831     * @param obj The window object
3832     * @param subobj The resize object to add
3833     */
3834    EAPI void         elm_win_resize_object_del(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
3835    /**
3836     * Set the title of the window
3837     *
3838     * @param obj The window object
3839     * @param title The title to set
3840     */
3841    EAPI void         elm_win_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
3842    /**
3843     * Get the title of the window
3844     *
3845     * The returned string is an internal one and should not be freed or
3846     * modified. It will also be rendered invalid if a new title is set or if
3847     * the window is destroyed.
3848     *
3849     * @param obj The window object
3850     * @return The title
3851     */
3852    EAPI const char  *elm_win_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3853    /**
3854     * Set the window's autodel state.
3855     *
3856     * When closing the window in any way outside of the program control, like
3857     * pressing the X button in the titlebar or using a command from the
3858     * Window Manager, a "delete,request" signal is emitted to indicate that
3859     * this event occurred and the developer can take any action, which may
3860     * include, or not, destroying the window object.
3861     *
3862     * When the @p autodel parameter is set, the window will be automatically
3863     * destroyed when this event occurs, after the signal is emitted.
3864     * If @p autodel is @c EINA_FALSE, then the window will not be destroyed
3865     * and is up to the program to do so when it's required.
3866     *
3867     * @param obj The window object
3868     * @param autodel If true, the window will automatically delete itself when
3869     * closed
3870     */
3871    EAPI void         elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel) EINA_ARG_NONNULL(1);
3872    /**
3873     * Get the window's autodel state.
3874     *
3875     * @param obj The window object
3876     * @return If the window will automatically delete itself when closed
3877     *
3878     * @see elm_win_autodel_set()
3879     */
3880    EAPI Eina_Bool    elm_win_autodel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3881    /**
3882     * Activate a window object.
3883     *
3884     * This function sends a request to the Window Manager to activate the
3885     * window pointed by @p obj. If honored by the WM, the window will receive
3886     * the keyboard focus.
3887     *
3888     * @note This is just a request that a Window Manager may ignore, so calling
3889     * this function does not ensure in any way that the window will be the
3890     * active one after it.
3891     *
3892     * @param obj The window object
3893     */
3894    EAPI void         elm_win_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
3895    /**
3896     * Lower a window object.
3897     *
3898     * Places the window pointed by @p obj at the bottom of the stack, so that
3899     * no other window is covered by it.
3900     *
3901     * If elm_win_override_set() is not set, the Window Manager may ignore this
3902     * request.
3903     *
3904     * @param obj The window object
3905     */
3906    EAPI void         elm_win_lower(Evas_Object *obj) EINA_ARG_NONNULL(1);
3907    /**
3908     * Raise a window object.
3909     *
3910     * Places the window pointed by @p obj at the top of the stack, so that it's
3911     * not covered by any other window.
3912     *
3913     * If elm_win_override_set() is not set, the Window Manager may ignore this
3914     * request.
3915     *
3916     * @param obj The window object
3917     */
3918    EAPI void         elm_win_raise(Evas_Object *obj) EINA_ARG_NONNULL(1);
3919    /**
3920     * Set the borderless state of a window.
3921     *
3922     * This function requests the Window Manager to not draw any decoration
3923     * around the window.
3924     *
3925     * @param obj The window object
3926     * @param borderless If true, the window is borderless
3927     */
3928    EAPI void         elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless) EINA_ARG_NONNULL(1);
3929    /**
3930     * Get the borderless state of a window.
3931     *
3932     * @param obj The window object
3933     * @return If true, the window is borderless
3934     */
3935    EAPI Eina_Bool    elm_win_borderless_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3936    /**
3937     * Set the shaped state of a window.
3938     *
3939     * Shaped windows, when supported, will render the parts of the window that
3940     * has no content, transparent.
3941     *
3942     * If @p shaped is EINA_FALSE, then it is strongly adviced to have some
3943     * background object or cover the entire window in any other way, or the
3944     * parts of the canvas that have no data will show framebuffer artifacts.
3945     *
3946     * @param obj The window object
3947     * @param shaped If true, the window is shaped
3948     *
3949     * @see elm_win_alpha_set()
3950     */
3951    EAPI void         elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped) EINA_ARG_NONNULL(1);
3952    /**
3953     * Get the shaped state of a window.
3954     *
3955     * @param obj The window object
3956     * @return If true, the window is shaped
3957     *
3958     * @see elm_win_shaped_set()
3959     */
3960    EAPI Eina_Bool    elm_win_shaped_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3961    /**
3962     * Set the alpha channel state of a window.
3963     *
3964     * If @p alpha is EINA_TRUE, the alpha channel of the canvas will be enabled
3965     * possibly making parts of the window completely or partially transparent.
3966     * This is also subject to the underlying system supporting it, like for
3967     * example, running under a compositing manager. If no compositing is
3968     * available, enabling this option will instead fallback to using shaped
3969     * windows, with elm_win_shaped_set().
3970     *
3971     * @param obj The window object
3972     * @param alpha If true, the window has an alpha channel
3973     *
3974     * @see elm_win_alpha_set()
3975     */
3976    EAPI void         elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
3977    /**
3978     * Get the transparency state of a window.
3979     *
3980     * @param obj The window object
3981     * @return If true, the window is transparent
3982     *
3983     * @see elm_win_transparent_set()
3984     */
3985    EAPI Eina_Bool    elm_win_transparent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3986    /**
3987     * Set the transparency state of a window.
3988     *
3989     * Use elm_win_alpha_set() instead.
3990     *
3991     * @param obj The window object
3992     * @param transparent If true, the window is transparent
3993     *
3994     * @see elm_win_alpha_set()
3995     */
3996    EAPI void         elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent) EINA_ARG_NONNULL(1);
3997    /**
3998     * Get the alpha channel state of a window.
3999     *
4000     * @param obj The window object
4001     * @return If true, the window has an alpha channel
4002     */
4003    EAPI Eina_Bool    elm_win_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4004    /**
4005     * Set the override state of a window.
4006     *
4007     * A window with @p override set to EINA_TRUE will not be managed by the
4008     * Window Manager. This means that no decorations of any kind will be shown
4009     * for it, moving and resizing must be handled by the application, as well
4010     * as the window visibility.
4011     *
4012     * This should not be used for normal windows, and even for not so normal
4013     * ones, it should only be used when there's a good reason and with a lot
4014     * of care. Mishandling override windows may result situations that
4015     * disrupt the normal workflow of the end user.
4016     *
4017     * @param obj The window object
4018     * @param override If true, the window is overridden
4019     */
4020    EAPI void         elm_win_override_set(Evas_Object *obj, Eina_Bool override) EINA_ARG_NONNULL(1);
4021    /**
4022     * Get the override state of a window.
4023     *
4024     * @param obj The window object
4025     * @return If true, the window is overridden
4026     *
4027     * @see elm_win_override_set()
4028     */
4029    EAPI Eina_Bool    elm_win_override_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4030    /**
4031     * Set the fullscreen state of a window.
4032     *
4033     * @param obj The window object
4034     * @param fullscreen If true, the window is fullscreen
4035     */
4036    EAPI void         elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen) EINA_ARG_NONNULL(1);
4037    /**
4038     * Get the fullscreen state of a window.
4039     *
4040     * @param obj The window object
4041     * @return If true, the window is fullscreen
4042     */
4043    EAPI Eina_Bool    elm_win_fullscreen_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4044    /**
4045     * Set the maximized state of a window.
4046     *
4047     * @param obj The window object
4048     * @param maximized If true, the window is maximized
4049     */
4050    EAPI void         elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized) EINA_ARG_NONNULL(1);
4051    /**
4052     * Get the maximized state of a window.
4053     *
4054     * @param obj The window object
4055     * @return If true, the window is maximized
4056     */
4057    EAPI Eina_Bool    elm_win_maximized_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4058    /**
4059     * Set the iconified state of a window.
4060     *
4061     * @param obj The window object
4062     * @param iconified If true, the window is iconified
4063     */
4064    EAPI void         elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified) EINA_ARG_NONNULL(1);
4065    /**
4066     * Get the iconified state of a window.
4067     *
4068     * @param obj The window object
4069     * @return If true, the window is iconified
4070     */
4071    EAPI Eina_Bool    elm_win_iconified_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4072    /**
4073     * Set the layer of the window.
4074     *
4075     * What this means exactly will depend on the underlying engine used.
4076     *
4077     * In the case of X11 backed engines, the value in @p layer has the
4078     * following meanings:
4079     * @li < 3: The window will be placed below all others.
4080     * @li > 5: The window will be placed above all others.
4081     * @li other: The window will be placed in the default layer.
4082     *
4083     * @param obj The window object
4084     * @param layer The layer of the window
4085     */
4086    EAPI void         elm_win_layer_set(Evas_Object *obj, int layer) EINA_ARG_NONNULL(1);
4087    /**
4088     * Get the layer of the window.
4089     *
4090     * @param obj The window object
4091     * @return The layer of the window
4092     *
4093     * @see elm_win_layer_set()
4094     */
4095    EAPI int          elm_win_layer_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4096    /**
4097     * Set the rotation of the window.
4098     *
4099     * Most engines only work with multiples of 90.
4100     *
4101     * This function is used to set the orientation of the window @p obj to
4102     * match that of the screen. The window itself will be resized to adjust
4103     * to the new geometry of its contents. If you want to keep the window size,
4104     * see elm_win_rotation_with_resize_set().
4105     *
4106     * @param obj The window object
4107     * @param rotation The rotation of the window, in degrees (0-360),
4108     * counter-clockwise.
4109     */
4110    EAPI void         elm_win_rotation_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
4111    /**
4112     * Rotates the window and resizes it.
4113     *
4114     * Like elm_win_rotation_set(), but it also resizes the window's contents so
4115     * that they fit inside the current window geometry.
4116     *
4117     * @param obj The window object
4118     * @param layer The rotation of the window in degrees (0-360),
4119     * counter-clockwise.
4120     */
4121    EAPI void         elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
4122    /**
4123     * Get the rotation of the window.
4124     *
4125     * @param obj The window object
4126     * @return The rotation of the window in degrees (0-360)
4127     *
4128     * @see elm_win_rotation_set()
4129     * @see elm_win_rotation_with_resize_set()
4130     */
4131    EAPI int          elm_win_rotation_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4132    /**
4133     * Set the sticky state of the window.
4134     *
4135     * Hints the Window Manager that the window in @p obj should be left fixed
4136     * at its position even when the virtual desktop it's on moves or changes.
4137     *
4138     * @param obj The window object
4139     * @param sticky If true, the window's sticky state is enabled
4140     */
4141    EAPI void         elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky) EINA_ARG_NONNULL(1);
4142    /**
4143     * Get the sticky state of the window.
4144     *
4145     * @param obj The window object
4146     * @return If true, the window's sticky state is enabled
4147     *
4148     * @see elm_win_sticky_set()
4149     */
4150    EAPI Eina_Bool    elm_win_sticky_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4151    /**
4152     * Set if this window is an illume conformant window
4153     *
4154     * @param obj The window object
4155     * @param conformant The conformant flag (1 = conformant, 0 = non-conformant)
4156     */
4157    EAPI void         elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant) EINA_ARG_NONNULL(1);
4158    /**
4159     * Get if this window is an illume conformant window
4160     *
4161     * @param obj The window object
4162     * @return A boolean if this window is illume conformant or not
4163     */
4164    EAPI Eina_Bool    elm_win_conformant_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4165    /**
4166     * Set a window to be an illume quickpanel window
4167     *
4168     * By default window objects are not quickpanel windows.
4169     *
4170     * @param obj The window object
4171     * @param quickpanel The quickpanel flag (1 = quickpanel, 0 = normal window)
4172     */
4173    EAPI void         elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel) EINA_ARG_NONNULL(1);
4174    /**
4175     * Get if this window is a quickpanel or not
4176     *
4177     * @param obj The window object
4178     * @return A boolean if this window is a quickpanel or not
4179     */
4180    EAPI Eina_Bool    elm_win_quickpanel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4181    /**
4182     * Set the major priority of a quickpanel window
4183     *
4184     * @param obj The window object
4185     * @param priority The major priority for this quickpanel
4186     */
4187    EAPI void         elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
4188    /**
4189     * Get the major priority of a quickpanel window
4190     *
4191     * @param obj The window object
4192     * @return The major priority of this quickpanel
4193     */
4194    EAPI int          elm_win_quickpanel_priority_major_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4195    /**
4196     * Set the minor priority of a quickpanel window
4197     *
4198     * @param obj The window object
4199     * @param priority The minor priority for this quickpanel
4200     */
4201    EAPI void         elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
4202    /**
4203     * Get the minor priority of a quickpanel window
4204     *
4205     * @param obj The window object
4206     * @return The minor priority of this quickpanel
4207     */
4208    EAPI int          elm_win_quickpanel_priority_minor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4209    /**
4210     * Set which zone this quickpanel should appear in
4211     *
4212     * @param obj The window object
4213     * @param zone The requested zone for this quickpanel
4214     */
4215    EAPI void         elm_win_quickpanel_zone_set(Evas_Object *obj, int zone) EINA_ARG_NONNULL(1);
4216    /**
4217     * Get which zone this quickpanel should appear in
4218     *
4219     * @param obj The window object
4220     * @return The requested zone for this quickpanel
4221     */
4222    EAPI int          elm_win_quickpanel_zone_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4223    /**
4224     * Set the window to be skipped by keyboard focus
4225     *
4226     * This sets the window to be skipped by normal keyboard input. This means
4227     * a window manager will be asked to not focus this window as well as omit
4228     * it from things like the taskbar, pager, "alt-tab" list etc. etc.
4229     *
4230     * Call this and enable it on a window BEFORE you show it for the first time,
4231     * otherwise it may have no effect.
4232     *
4233     * Use this for windows that have only output information or might only be
4234     * interacted with by the mouse or fingers, and never for typing input.
4235     * Be careful that this may have side-effects like making the window
4236     * non-accessible in some cases unless the window is specially handled. Use
4237     * this with care.
4238     *
4239     * @param obj The window object
4240     * @param skip The skip flag state (EINA_TRUE if it is to be skipped)
4241     */
4242    EAPI void         elm_win_prop_focus_skip_set(Evas_Object *obj, Eina_Bool skip) EINA_ARG_NONNULL(1);
4243    /**
4244     * Send a command to the windowing environment
4245     *
4246     * This is intended to work in touchscreen or small screen device
4247     * environments where there is a more simplistic window management policy in
4248     * place. This uses the window object indicated to select which part of the
4249     * environment to control (the part that this window lives in), and provides
4250     * a command and an optional parameter structure (use NULL for this if not
4251     * needed).
4252     *
4253     * @param obj The window object that lives in the environment to control
4254     * @param command The command to send
4255     * @param params Optional parameters for the command
4256     */
4257    EAPI void         elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, void *params) EINA_ARG_NONNULL(1);
4258    /**
4259     * Get the inlined image object handle
4260     *
4261     * When you create a window with elm_win_add() of type ELM_WIN_INLINED_IMAGE,
4262     * then the window is in fact an evas image object inlined in the parent
4263     * canvas. You can get this object (be careful to not manipulate it as it
4264     * is under control of elementary), and use it to do things like get pixel
4265     * data, save the image to a file, etc.
4266     *
4267     * @param obj The window object to get the inlined image from
4268     * @return The inlined image object, or NULL if none exists
4269     */
4270    EAPI Evas_Object *elm_win_inlined_image_object_get(Evas_Object *obj);
4271    /**
4272     * Set the enabled status for the focus highlight in a window
4273     *
4274     * This function will enable or disable the focus highlight only for the
4275     * given window, regardless of the global setting for it
4276     *
4277     * @param obj The window where to enable the highlight
4278     * @param enabled The enabled value for the highlight
4279     */
4280    EAPI void         elm_win_focus_highlight_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
4281    /**
4282     * Get the enabled value of the focus highlight for this window
4283     *
4284     * @param obj The window in which to check if the focus highlight is enabled
4285     *
4286     * @return EINA_TRUE if enabled, EINA_FALSE otherwise
4287     */
4288    EAPI Eina_Bool    elm_win_focus_highlight_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4289    /**
4290     * Set the style for the focus highlight on this window
4291     *
4292     * Sets the style to use for theming the highlight of focused objects on
4293     * the given window. If @p style is NULL, the default will be used.
4294     *
4295     * @param obj The window where to set the style
4296     * @param style The style to set
4297     */
4298    EAPI void         elm_win_focus_highlight_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
4299    /**
4300     * Get the style set for the focus highlight object
4301     *
4302     * Gets the style set for this windows highilght object, or NULL if none
4303     * is set.
4304     *
4305     * @param obj The window to retrieve the highlights style from
4306     *
4307     * @return The style set or NULL if none was. Default is used in that case.
4308     */
4309    EAPI const char  *elm_win_focus_highlight_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4310    /*...
4311     * ecore_x_icccm_hints_set -> accepts_focus (add to ecore_evas)
4312     * ecore_x_icccm_hints_set -> window_group (add to ecore_evas)
4313     * ecore_x_icccm_size_pos_hints_set -> request_pos (add to ecore_evas)
4314     * ecore_x_icccm_client_leader_set -> l (add to ecore_evas)
4315     * ecore_x_icccm_window_role_set -> role (add to ecore_evas)
4316     * ecore_x_icccm_transient_for_set -> forwin (add to ecore_evas)
4317     * ecore_x_netwm_window_type_set -> type (add to ecore_evas)
4318     *
4319     * (add to ecore_x) set netwm argb icon! (add to ecore_evas)
4320     * (blank mouse, private mouse obj, defaultmouse)
4321     *
4322     */
4323    /**
4324     * Sets the keyboard mode of the window.
4325     *
4326     * @param obj The window object
4327     * @param mode The mode to set, one of #Elm_Win_Keyboard_Mode
4328     */
4329    EAPI void                  elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode) EINA_ARG_NONNULL(1);
4330    /**
4331     * Gets the keyboard mode of the window.
4332     *
4333     * @param obj The window object
4334     * @return The mode, one of #Elm_Win_Keyboard_Mode
4335     */
4336    EAPI Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4337    /**
4338     * Sets whether the window is a keyboard.
4339     *
4340     * @param obj The window object
4341     * @param is_keyboard If true, the window is a virtual keyboard
4342     */
4343    EAPI void                  elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard) EINA_ARG_NONNULL(1);
4344    /**
4345     * Gets whether the window is a keyboard.
4346     *
4347     * @param obj The window object
4348     * @return If the window is a virtual keyboard
4349     */
4350    EAPI Eina_Bool             elm_win_keyboard_win_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4351
4352    /**
4353     * Get the screen position of a window.
4354     *
4355     * @param obj The window object
4356     * @param x The int to store the x coordinate to
4357     * @param y The int to store the y coordinate to
4358     */
4359    EAPI void                  elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y) EINA_ARG_NONNULL(1);
4360    /**
4361     * @}
4362     */
4363
4364    /**
4365     * @defgroup Inwin Inwin
4366     *
4367     * @image html img/widget/inwin/preview-00.png
4368     * @image latex img/widget/inwin/preview-00.eps
4369     * @image html img/widget/inwin/preview-01.png
4370     * @image latex img/widget/inwin/preview-01.eps
4371     * @image html img/widget/inwin/preview-02.png
4372     * @image latex img/widget/inwin/preview-02.eps
4373     *
4374     * An inwin is a window inside a window that is useful for a quick popup.
4375     * It does not hover.
4376     *
4377     * It works by creating an object that will occupy the entire window, so it
4378     * must be created using an @ref Win "elm_win" as parent only. The inwin
4379     * object can be hidden or restacked below every other object if it's
4380     * needed to show what's behind it without destroying it. If this is done,
4381     * the elm_win_inwin_activate() function can be used to bring it back to
4382     * full visibility again.
4383     *
4384     * There are three styles available in the default theme. These are:
4385     * @li default: The inwin is sized to take over most of the window it's
4386     * placed in.
4387     * @li minimal: The size of the inwin will be the minimum necessary to show
4388     * its contents.
4389     * @li minimal_vertical: Horizontally, the inwin takes as much space as
4390     * possible, but it's sized vertically the most it needs to fit its\
4391     * contents.
4392     *
4393     * Some examples of Inwin can be found in the following:
4394     * @li @ref inwin_example_01
4395     *
4396     * @{
4397     */
4398    /**
4399     * Adds an inwin to the current window
4400     *
4401     * The @p obj used as parent @b MUST be an @ref Win "Elementary Window".
4402     * Never call this function with anything other than the top-most window
4403     * as its parameter, unless you are fond of undefined behavior.
4404     *
4405     * After creating the object, the widget will set itself as resize object
4406     * for the window with elm_win_resize_object_add(), so when shown it will
4407     * appear to cover almost the entire window (how much of it depends on its
4408     * content and the style used). It must not be added into other container
4409     * objects and it needs not be moved or resized manually.
4410     *
4411     * @param parent The parent object
4412     * @return The new object or NULL if it cannot be created
4413     */
4414    EAPI Evas_Object          *elm_win_inwin_add(Evas_Object *obj) EINA_ARG_NONNULL(1);
4415    /**
4416     * Activates an inwin object, ensuring its visibility
4417     *
4418     * This function will make sure that the inwin @p obj is completely visible
4419     * by calling evas_object_show() and evas_object_raise() on it, to bring it
4420     * to the front. It also sets the keyboard focus to it, which will be passed
4421     * onto its content.
4422     *
4423     * The object's theme will also receive the signal "elm,action,show" with
4424     * source "elm".
4425     *
4426     * @param obj The inwin to activate
4427     */
4428    EAPI void                  elm_win_inwin_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
4429    /**
4430     * Set the content of an inwin object.
4431     *
4432     * Once the content object is set, a previously set one will be deleted.
4433     * If you want to keep that old content object, use the
4434     * elm_win_inwin_content_unset() function.
4435     *
4436     * @param obj The inwin object
4437     * @param content The object to set as content
4438     */
4439    EAPI void                  elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
4440    /**
4441     * Get the content of an inwin object.
4442     *
4443     * Return the content object which is set for this widget.
4444     *
4445     * The returned object is valid as long as the inwin is still alive and no
4446     * other content is set on it. Deleting the object will notify the inwin
4447     * about it and this one will be left empty.
4448     *
4449     * If you need to remove an inwin's content to be reused somewhere else,
4450     * see elm_win_inwin_content_unset().
4451     *
4452     * @param obj The inwin object
4453     * @return The content that is being used
4454     */
4455    EAPI Evas_Object          *elm_win_inwin_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4456    /**
4457     * Unset the content of an inwin object.
4458     *
4459     * Unparent and return the content object which was set for this widget.
4460     *
4461     * @param obj The inwin object
4462     * @return The content that was being used
4463     */
4464    EAPI Evas_Object          *elm_win_inwin_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4465    /**
4466     * @}
4467     */
4468    /* X specific calls - won't work on non-x engines (return 0) */
4469
4470    /**
4471     * Get the Ecore_X_Window of an Evas_Object
4472     *
4473     * @param obj The object
4474     *
4475     * @return The Ecore_X_Window of @p obj
4476     *
4477     * @ingroup Win
4478     */
4479    EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4480
4481    /* smart callbacks called:
4482     * "delete,request" - the user requested to delete the window
4483     * "focus,in" - window got focus
4484     * "focus,out" - window lost focus
4485     * "moved" - window that holds the canvas was moved
4486     */
4487
4488    /**
4489     * @defgroup Bg Bg
4490     *
4491     * @image html img/widget/bg/preview-00.png
4492     * @image latex img/widget/bg/preview-00.eps
4493     *
4494     * @brief Background object, used for setting a solid color, image or Edje
4495     * group as background to a window or any container object.
4496     *
4497     * The bg object is used for setting a solid background to a window or
4498     * packing into any container object. It works just like an image, but has
4499     * some properties useful to a background, like setting it to tiled,
4500     * centered, scaled or stretched.
4501     *
4502     * Here is some sample code using it:
4503     * @li @ref bg_01_example_page
4504     * @li @ref bg_02_example_page
4505     * @li @ref bg_03_example_page
4506     */
4507
4508    /* bg */
4509    typedef enum _Elm_Bg_Option
4510      {
4511         ELM_BG_OPTION_CENTER,  /**< center the background */
4512         ELM_BG_OPTION_SCALE,   /**< scale the background retaining aspect ratio */
4513         ELM_BG_OPTION_STRETCH, /**< stretch the background to fill */
4514         ELM_BG_OPTION_TILE     /**< tile background at its original size */
4515      } Elm_Bg_Option;
4516
4517    /**
4518     * Add a new background to the parent
4519     *
4520     * @param parent The parent object
4521     * @return The new object or NULL if it cannot be created
4522     *
4523     * @ingroup Bg
4524     */
4525    EAPI Evas_Object  *elm_bg_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4526
4527    /**
4528     * Set the file (image or edje) used for the background
4529     *
4530     * @param obj The bg object
4531     * @param file The file path
4532     * @param group Optional key (group in Edje) within the file
4533     *
4534     * This sets the image file used in the background object. The image (or edje)
4535     * will be stretched (retaining aspect if its an image file) to completely fill
4536     * the bg object. This may mean some parts are not visible.
4537     *
4538     * @note  Once the image of @p obj is set, a previously set one will be deleted,
4539     * even if @p file is NULL.
4540     *
4541     * @ingroup Bg
4542     */
4543    EAPI void          elm_bg_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
4544
4545    /**
4546     * Get the file (image or edje) used for the background
4547     *
4548     * @param obj The bg object
4549     * @param file The file path
4550     * @param group Optional key (group in Edje) within the file
4551     *
4552     * @ingroup Bg
4553     */
4554    EAPI void          elm_bg_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
4555
4556    /**
4557     * Set the option used for the background image
4558     *
4559     * @param obj The bg object
4560     * @param option The desired background option (TILE, SCALE)
4561     *
4562     * This sets the option used for manipulating the display of the background
4563     * image. The image can be tiled or scaled.
4564     *
4565     * @ingroup Bg
4566     */
4567    EAPI void          elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option) EINA_ARG_NONNULL(1);
4568
4569    /**
4570     * Get the option used for the background image
4571     *
4572     * @param obj The bg object
4573     * @return The desired background option (CENTER, SCALE, STRETCH or TILE)
4574     *
4575     * @ingroup Bg
4576     */
4577    EAPI Elm_Bg_Option elm_bg_option_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4578    /**
4579     * Set the option used for the background color
4580     *
4581     * @param obj The bg object
4582     * @param r
4583     * @param g
4584     * @param b
4585     *
4586     * This sets the color used for the background rectangle. Its range goes
4587     * from 0 to 255.
4588     *
4589     * @ingroup Bg
4590     */
4591    EAPI void          elm_bg_color_set(Evas_Object *obj, int r, int g, int b) EINA_ARG_NONNULL(1);
4592    /**
4593     * Get the option used for the background color
4594     *
4595     * @param obj The bg object
4596     * @param r
4597     * @param g
4598     * @param b
4599     *
4600     * @ingroup Bg
4601     */
4602    EAPI void          elm_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b) EINA_ARG_NONNULL(1);
4603
4604    /**
4605     * Set the overlay object used for the background object.
4606     *
4607     * @param obj The bg object
4608     * @param overlay The overlay object
4609     *
4610     * This provides a way for elm_bg to have an 'overlay' that will be on top
4611     * of the bg. Once the over object is set, a previously set one will be
4612     * deleted, even if you set the new one to NULL. If you want to keep that
4613     * old content object, use the elm_bg_overlay_unset() function.
4614     *
4615     * @ingroup Bg
4616     */
4617
4618    EAPI void          elm_bg_overlay_set(Evas_Object *obj, Evas_Object *overlay) EINA_ARG_NONNULL(1);
4619
4620    /**
4621     * Get the overlay object used for the background object.
4622     *
4623     * @param obj The bg object
4624     * @return The content that is being used
4625     *
4626     * Return the content object which is set for this widget
4627     *
4628     * @ingroup Bg
4629     */
4630    EAPI Evas_Object  *elm_bg_overlay_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4631
4632    /**
4633     * Get the overlay object used for the background object.
4634     *
4635     * @param obj The bg object
4636     * @return The content that was being used
4637     *
4638     * Unparent and return the overlay object which was set for this widget
4639     *
4640     * @ingroup Bg
4641     */
4642    EAPI Evas_Object  *elm_bg_overlay_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4643
4644    /**
4645     * Set the size of the pixmap representation of the image.
4646     *
4647     * This option just makes sense if an image is going to be set in the bg.
4648     *
4649     * @param obj The bg object
4650     * @param w The new width of the image pixmap representation.
4651     * @param h The new height of the image pixmap representation.
4652     *
4653     * This function sets a new size for pixmap representation of the given bg
4654     * image. It allows the image to be loaded already in the specified size,
4655     * reducing the memory usage and load time when loading a big image with load
4656     * size set to a smaller size.
4657     *
4658     * NOTE: this is just a hint, the real size of the pixmap may differ
4659     * depending on the type of image being loaded, being bigger than requested.
4660     *
4661     * @ingroup Bg
4662     */
4663    EAPI void          elm_bg_load_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
4664    /* smart callbacks called:
4665     */
4666
4667    /**
4668     * @defgroup Icon Icon
4669     *
4670     * @image html img/widget/icon/preview-00.png
4671     * @image latex img/widget/icon/preview-00.eps
4672     *
4673     * An object that provides standard icon images (delete, edit, arrows, etc.)
4674     * or a custom file (PNG, JPG, EDJE, etc.) used for an icon.
4675     *
4676     * The icon image requested can be in the elementary theme, or in the
4677     * freedesktop.org paths. It's possible to set the order of preference from
4678     * where the image will be used.
4679     *
4680     * This API is very similar to @ref Image, but with ready to use images.
4681     *
4682     * Default images provided by the theme are described below.
4683     *
4684     * The first list contains icons that were first intended to be used in
4685     * toolbars, but can be used in many other places too:
4686     * @li home
4687     * @li close
4688     * @li apps
4689     * @li arrow_up
4690     * @li arrow_down
4691     * @li arrow_left
4692     * @li arrow_right
4693     * @li chat
4694     * @li clock
4695     * @li delete
4696     * @li edit
4697     * @li refresh
4698     * @li folder
4699     * @li file
4700     *
4701     * Now some icons that were designed to be used in menus (but again, you can
4702     * use them anywhere else):
4703     * @li menu/home
4704     * @li menu/close
4705     * @li menu/apps
4706     * @li menu/arrow_up
4707     * @li menu/arrow_down
4708     * @li menu/arrow_left
4709     * @li menu/arrow_right
4710     * @li menu/chat
4711     * @li menu/clock
4712     * @li menu/delete
4713     * @li menu/edit
4714     * @li menu/refresh
4715     * @li menu/folder
4716     * @li menu/file
4717     *
4718     * And here we have some media player specific icons:
4719     * @li media_player/forward
4720     * @li media_player/info
4721     * @li media_player/next
4722     * @li media_player/pause
4723     * @li media_player/play
4724     * @li media_player/prev
4725     * @li media_player/rewind
4726     * @li media_player/stop
4727     *
4728     * Signals that you can add callbacks for are:
4729     *
4730     * "clicked" - This is called when a user has clicked the icon
4731     *
4732     * An example of usage for this API follows:
4733     * @li @ref tutorial_icon
4734     */
4735
4736    /**
4737     * @addtogroup Icon
4738     * @{
4739     */
4740
4741    typedef enum _Elm_Icon_Type
4742      {
4743         ELM_ICON_NONE,
4744         ELM_ICON_FILE,
4745         ELM_ICON_STANDARD
4746      } Elm_Icon_Type;
4747    /**
4748     * @enum _Elm_Icon_Lookup_Order
4749     * @typedef Elm_Icon_Lookup_Order
4750     *
4751     * Lookup order used by elm_icon_standard_set(). Should look for icons in the
4752     * theme, FDO paths, or both?
4753     *
4754     * @ingroup Icon
4755     */
4756    typedef enum _Elm_Icon_Lookup_Order
4757      {
4758         ELM_ICON_LOOKUP_FDO_THEME, /**< icon look up order: freedesktop, theme */
4759         ELM_ICON_LOOKUP_THEME_FDO, /**< icon look up order: theme, freedesktop */
4760         ELM_ICON_LOOKUP_FDO,       /**< icon look up order: freedesktop */
4761         ELM_ICON_LOOKUP_THEME      /**< icon look up order: theme */
4762      } Elm_Icon_Lookup_Order;
4763
4764    /**
4765     * Add a new icon object to the parent.
4766     *
4767     * @param parent The parent object
4768     * @return The new object or NULL if it cannot be created
4769     *
4770     * @see elm_icon_file_set()
4771     *
4772     * @ingroup Icon
4773     */
4774    EAPI Evas_Object          *elm_icon_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4775    /**
4776     * Set the file that will be used as icon.
4777     *
4778     * @param obj The icon object
4779     * @param file The path to file that will be used as icon image
4780     * @param group The group that the icon belongs to in edje file
4781     *
4782     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
4783     *
4784     * @note The icon image set by this function can be changed by
4785     * elm_icon_standard_set().
4786     *
4787     * @see elm_icon_file_get()
4788     *
4789     * @ingroup Icon
4790     */
4791    EAPI Eina_Bool             elm_icon_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
4792    /**
4793     * Set a location in memory to be used as an icon
4794     *
4795     * @param obj The icon object
4796     * @param img The binary data that will be used as an image
4797     * @param size The size of binary data @p img
4798     * @param format Optional format of @p img to pass to the image loader
4799     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
4800     *
4801     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
4802     *
4803     * @note The icon image set by this function can be changed by
4804     * elm_icon_standard_set().
4805     *
4806     * @ingroup Icon
4807     */
4808    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);
4809    /**
4810     * Get the file that will be used as icon.
4811     *
4812     * @param obj The icon object
4813     * @param file The path to file that will be used as icon icon image
4814     * @param group The group that the icon belongs to in edje file
4815     *
4816     * @see elm_icon_file_set()
4817     *
4818     * @ingroup Icon
4819     */
4820    EAPI void                  elm_icon_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
4821    EAPI void                  elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
4822    /**
4823     * Set the icon by icon standards names.
4824     *
4825     * @param obj The icon object
4826     * @param name The icon name
4827     *
4828     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
4829     *
4830     * For example, freedesktop.org defines standard icon names such as "home",
4831     * "network", etc. There can be different icon sets to match those icon
4832     * keys. The @p name given as parameter is one of these "keys", and will be
4833     * used to look in the freedesktop.org paths and elementary theme. One can
4834     * change the lookup order with elm_icon_order_lookup_set().
4835     *
4836     * If name is not found in any of the expected locations and it is the
4837     * absolute path of an image file, this image will be used.
4838     *
4839     * @note The icon image set by this function can be changed by
4840     * elm_icon_file_set().
4841     *
4842     * @see elm_icon_standard_get()
4843     * @see elm_icon_file_set()
4844     *
4845     * @ingroup Icon
4846     */
4847    EAPI Eina_Bool             elm_icon_standard_set(Evas_Object *obj, const char *name) EINA_ARG_NONNULL(1);
4848    /**
4849     * Get the icon name set by icon standard names.
4850     *
4851     * @param obj The icon object
4852     * @return The icon name
4853     *
4854     * If the icon image was set using elm_icon_file_set() instead of
4855     * elm_icon_standard_set(), then this function will return @c NULL.
4856     *
4857     * @see elm_icon_standard_set()
4858     *
4859     * @ingroup Icon
4860     */
4861    EAPI const char           *elm_icon_standard_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4862    /**
4863     * Set the smooth effect for an icon object.
4864     *
4865     * @param obj The icon object
4866     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
4867     * otherwise. Default is @c EINA_TRUE.
4868     *
4869     * Set the scaling algorithm to be used when scaling the icon image. Smooth
4870     * scaling provides a better resulting image, but is slower.
4871     *
4872     * The smooth scaling should be disabled when making animations that change
4873     * the icon size, since they will be faster. Animations that don't require
4874     * resizing of the icon can keep the smooth scaling enabled (even if the icon
4875     * is already scaled, since the scaled icon image will be cached).
4876     *
4877     * @see elm_icon_smooth_get()
4878     *
4879     * @ingroup Icon
4880     */
4881    EAPI void                  elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
4882    /**
4883     * Get the smooth effect for an icon object.
4884     *
4885     * @param obj The icon object
4886     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
4887     *
4888     * @see elm_icon_smooth_set()
4889     *
4890     * @ingroup Icon
4891     */
4892    EAPI Eina_Bool             elm_icon_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4893    /**
4894     * Disable scaling of this object.
4895     *
4896     * @param obj The icon object.
4897     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
4898     * otherwise. Default is @c EINA_FALSE.
4899     *
4900     * This function disables scaling of the icon object through the function
4901     * elm_object_scale_set(). However, this does not affect the object
4902     * size/resize in any way. For that effect, take a look at
4903     * elm_icon_scale_set().
4904     *
4905     * @see elm_icon_no_scale_get()
4906     * @see elm_icon_scale_set()
4907     * @see elm_object_scale_set()
4908     *
4909     * @ingroup Icon
4910     */
4911    EAPI void                  elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
4912    /**
4913     * Get whether scaling is disabled on the object.
4914     *
4915     * @param obj The icon object
4916     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
4917     *
4918     * @see elm_icon_no_scale_set()
4919     *
4920     * @ingroup Icon
4921     */
4922    EAPI Eina_Bool             elm_icon_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4923    /**
4924     * Set if the object is (up/down) resizable.
4925     *
4926     * @param obj The icon object
4927     * @param scale_up A bool to set if the object is resizable up. Default is
4928     * @c EINA_TRUE.
4929     * @param scale_down A bool to set if the object is resizable down. Default
4930     * is @c EINA_TRUE.
4931     *
4932     * This function limits the icon object resize ability. If @p scale_up is set to
4933     * @c EINA_FALSE, the object can't have its height or width resized to a value
4934     * higher than the original icon size. Same is valid for @p scale_down.
4935     *
4936     * @see elm_icon_scale_get()
4937     *
4938     * @ingroup Icon
4939     */
4940    EAPI void                  elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
4941    /**
4942     * Get if the object is (up/down) resizable.
4943     *
4944     * @param obj The icon object
4945     * @param scale_up A bool to set if the object is resizable up
4946     * @param scale_down A bool to set if the object is resizable down
4947     *
4948     * @see elm_icon_scale_set()
4949     *
4950     * @ingroup Icon
4951     */
4952    EAPI void                  elm_icon_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
4953    /**
4954     * Get the object's image size
4955     *
4956     * @param obj The icon object
4957     * @param w A pointer to store the width in
4958     * @param h A pointer to store the height in
4959     *
4960     * @ingroup Icon
4961     */
4962    EAPI void                  elm_icon_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
4963    /**
4964     * Set if the icon fill the entire object area.
4965     *
4966     * @param obj The icon object
4967     * @param fill_outside @c EINA_TRUE if the object is filled outside,
4968     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
4969     *
4970     * When the icon object is resized to a different aspect ratio from the
4971     * original icon image, the icon image will still keep its aspect. This flag
4972     * tells how the image should fill the object's area. They are: keep the
4973     * entire icon inside the limits of height and width of the object (@p
4974     * fill_outside is @c EINA_FALSE) or let the extra width or height go outside
4975     * of the object, and the icon will fill the entire object (@p fill_outside
4976     * is @c EINA_TRUE).
4977     *
4978     * @note Unlike @ref Image, there's no option in icon to set the aspect ratio
4979     * retain property to false. Thus, the icon image will always keep its
4980     * original aspect ratio.
4981     *
4982     * @see elm_icon_fill_outside_get()
4983     * @see elm_image_fill_outside_set()
4984     *
4985     * @ingroup Icon
4986     */
4987    EAPI void                  elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
4988    /**
4989     * Get if the object is filled outside.
4990     *
4991     * @param obj The icon object
4992     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
4993     *
4994     * @see elm_icon_fill_outside_set()
4995     *
4996     * @ingroup Icon
4997     */
4998    EAPI Eina_Bool             elm_icon_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4999    /**
5000     * Set the prescale size for the icon.
5001     *
5002     * @param obj The icon object
5003     * @param size The prescale size. This value is used for both width and
5004     * height.
5005     *
5006     * This function sets a new size for pixmap representation of the given
5007     * icon. It allows the icon to be loaded already in the specified size,
5008     * reducing the memory usage and load time when loading a big icon with load
5009     * size set to a smaller size.
5010     *
5011     * It's equivalent to the elm_bg_load_size_set() function for bg.
5012     *
5013     * @note this is just a hint, the real size of the pixmap may differ
5014     * depending on the type of icon being loaded, being bigger than requested.
5015     *
5016     * @see elm_icon_prescale_get()
5017     * @see elm_bg_load_size_set()
5018     *
5019     * @ingroup Icon
5020     */
5021    EAPI void                  elm_icon_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
5022    /**
5023     * Get the prescale size for the icon.
5024     *
5025     * @param obj The icon object
5026     * @return The prescale size
5027     *
5028     * @see elm_icon_prescale_set()
5029     *
5030     * @ingroup Icon
5031     */
5032    EAPI int                   elm_icon_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5033    /**
5034     * Sets the icon lookup order used by elm_icon_standard_set().
5035     *
5036     * @param obj The icon object
5037     * @param order The icon lookup order (can be one of
5038     * ELM_ICON_LOOKUP_FDO_THEME, ELM_ICON_LOOKUP_THEME_FDO, ELM_ICON_LOOKUP_FDO
5039     * or ELM_ICON_LOOKUP_THEME)
5040     *
5041     * @see elm_icon_order_lookup_get()
5042     * @see Elm_Icon_Lookup_Order
5043     *
5044     * @ingroup Icon
5045     */
5046    EAPI void                  elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
5047    /**
5048     * Gets the icon lookup order.
5049     *
5050     * @param obj The icon object
5051     * @return The icon lookup order
5052     *
5053     * @see elm_icon_order_lookup_set()
5054     * @see Elm_Icon_Lookup_Order
5055     *
5056     * @ingroup Icon
5057     */
5058    EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5059    /**
5060     * Get if the icon supports animation or not.
5061     *
5062     * @param obj The icon object
5063     * @return @c EINA_TRUE if the icon supports animation,
5064     *         @c EINA_FALSE otherwise.
5065     *
5066     * Return if this elm icon's image can be animated. Currently Evas only
5067     * supports gif animation. If the return value is EINA_FALSE, other
5068     * elm_icon_animated_XXX APIs won't work.
5069     * @ingroup Icon
5070     */
5071    EAPI Eina_Bool           elm_icon_animated_available_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5072    /**
5073     * Set animation mode of the icon.
5074     *
5075     * @param obj The icon object
5076     * @param anim @c EINA_TRUE if the object do animation job,
5077     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5078     *
5079     * Even though elm icon's file can be animated,
5080     * sometimes appication developer want to just first page of image.
5081     * In that time, don't call this function, because default value is EINA_FALSE
5082     * Only when you want icon support anition,
5083     * use this function and set animated to EINA_TURE
5084     * @ingroup Icon
5085     */
5086    EAPI void                elm_icon_animated_set(Evas_Object *obj, Eina_Bool animated) EINA_ARG_NONNULL(1);
5087    /**
5088     * Get animation mode of the icon.
5089     *
5090     * @param obj The icon object
5091     * @return The animation mode of the icon object
5092     * @see elm_icon_animated_set
5093     * @ingroup Icon
5094     */
5095    EAPI Eina_Bool           elm_icon_animated_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5096    /**
5097     * Set animation play mode of the icon.
5098     *
5099     * @param obj The icon object
5100     * @param play @c EINA_TRUE the object play animation images,
5101     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5102     *
5103     * If you want to play elm icon's animation, you set play to EINA_TURE.
5104     * For example, you make gif player using this set/get API and click event.
5105     *
5106     * 1. Click event occurs
5107     * 2. Check play flag using elm_icon_animaged_play_get
5108     * 3. If elm icon was playing, set play to EINA_FALSE.
5109     *    Then animation will be stopped and vice versa
5110     * @ingroup Icon
5111     */
5112    EAPI void                elm_icon_animated_play_set(Evas_Object *obj, Eina_Bool play) EINA_ARG_NONNULL(1);
5113    /**
5114     * Get animation play mode of the icon.
5115     *
5116     * @param obj The icon object
5117     * @return The play mode of the icon object
5118     *
5119     * @see elm_icon_animated_lay_get
5120     * @ingroup Icon
5121     */
5122    EAPI Eina_Bool           elm_icon_animated_play_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5123
5124    /**
5125     * @}
5126     */
5127
5128    /**
5129     * @defgroup Image Image
5130     *
5131     * @image html img/widget/image/preview-00.png
5132     * @image latex img/widget/image/preview-00.eps
5133
5134     *
5135     * An object that allows one to load an image file to it. It can be used
5136     * anywhere like any other elementary widget.
5137     *
5138     * This widget provides most of the functionality provided from @ref Bg or @ref
5139     * Icon, but with a slightly different API (use the one that fits better your
5140     * needs).
5141     *
5142     * The features not provided by those two other image widgets are:
5143     * @li allowing to get the basic @c Evas_Object with elm_image_object_get();
5144     * @li change the object orientation with elm_image_orient_set();
5145     * @li and turning the image editable with elm_image_editable_set().
5146     *
5147     * Signals that you can add callbacks for are:
5148     *
5149     * @li @c "clicked" - This is called when a user has clicked the image
5150     *
5151     * An example of usage for this API follows:
5152     * @li @ref tutorial_image
5153     */
5154
5155    /**
5156     * @addtogroup Image
5157     * @{
5158     */
5159
5160    /**
5161     * @enum _Elm_Image_Orient
5162     * @typedef Elm_Image_Orient
5163     *
5164     * Possible orientation options for elm_image_orient_set().
5165     *
5166     * @image html elm_image_orient_set.png
5167     * @image latex elm_image_orient_set.eps width=\textwidth
5168     *
5169     * @ingroup Image
5170     */
5171    typedef enum _Elm_Image_Orient
5172      {
5173         ELM_IMAGE_ORIENT_NONE, /**< no orientation change */
5174         ELM_IMAGE_ROTATE_90_CW, /**< rotate 90 degrees clockwise */
5175         ELM_IMAGE_ROTATE_180_CW, /**< rotate 180 degrees clockwise */
5176         ELM_IMAGE_ROTATE_90_CCW, /**< rotate 90 degrees counter-clockwise (i.e. 270 degrees clockwise) */
5177         ELM_IMAGE_FLIP_HORIZONTAL, /**< flip image horizontally */
5178         ELM_IMAGE_FLIP_VERTICAL, /**< flip image vertically */
5179         ELM_IMAGE_FLIP_TRANSPOSE, /**< flip the image along the y = (side - x) line*/
5180         ELM_IMAGE_FLIP_TRANSVERSE /**< flip the image along the y = x line */
5181      } Elm_Image_Orient;
5182
5183    /**
5184     * Add a new image to the parent.
5185     *
5186     * @param parent The parent object
5187     * @return The new object or NULL if it cannot be created
5188     *
5189     * @see elm_image_file_set()
5190     *
5191     * @ingroup Image
5192     */
5193    EAPI Evas_Object     *elm_image_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5194    /**
5195     * Set the file that will be used as image.
5196     *
5197     * @param obj The image object
5198     * @param file The path to file that will be used as image
5199     * @param group The group that the image belongs in edje file (if it's an
5200     * edje image)
5201     *
5202     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5203     *
5204     * @see elm_image_file_get()
5205     *
5206     * @ingroup Image
5207     */
5208    EAPI Eina_Bool        elm_image_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
5209    /**
5210     * Get the file that will be used as image.
5211     *
5212     * @param obj The image object
5213     * @param file The path to file
5214     * @param group The group that the image belongs in edje file
5215     *
5216     * @see elm_image_file_set()
5217     *
5218     * @ingroup Image
5219     */
5220    EAPI void             elm_image_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
5221    /**
5222     * Set the smooth effect for an image.
5223     *
5224     * @param obj The image object
5225     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
5226     * otherwise. Default is @c EINA_TRUE.
5227     *
5228     * Set the scaling algorithm to be used when scaling the image. Smooth
5229     * scaling provides a better resulting image, but is slower.
5230     *
5231     * The smooth scaling should be disabled when making animations that change
5232     * the image size, since it will be faster. Animations that don't require
5233     * resizing of the image can keep the smooth scaling enabled (even if the
5234     * image is already scaled, since the scaled image will be cached).
5235     *
5236     * @see elm_image_smooth_get()
5237     *
5238     * @ingroup Image
5239     */
5240    EAPI void             elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
5241    /**
5242     * Get the smooth effect for an image.
5243     *
5244     * @param obj The image object
5245     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
5246     *
5247     * @see elm_image_smooth_get()
5248     *
5249     * @ingroup Image
5250     */
5251    EAPI Eina_Bool        elm_image_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5252    /**
5253     * Gets the current size of the image.
5254     *
5255     * @param obj The image object.
5256     * @param w Pointer to store width, or NULL.
5257     * @param h Pointer to store height, or NULL.
5258     *
5259     * This is the real size of the image, not the size of the object.
5260     *
5261     * On error, neither w or h will be written.
5262     *
5263     * @ingroup Image
5264     */
5265    EAPI void             elm_image_object_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
5266    /**
5267     * Disable scaling of this object.
5268     *
5269     * @param obj The image object.
5270     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
5271     * otherwise. Default is @c EINA_FALSE.
5272     *
5273     * This function disables scaling of the elm_image widget through the
5274     * function elm_object_scale_set(). However, this does not affect the widget
5275     * size/resize in any way. For that effect, take a look at
5276     * elm_image_scale_set().
5277     *
5278     * @see elm_image_no_scale_get()
5279     * @see elm_image_scale_set()
5280     * @see elm_object_scale_set()
5281     *
5282     * @ingroup Image
5283     */
5284    EAPI void             elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
5285    /**
5286     * Get whether scaling is disabled on the object.
5287     *
5288     * @param obj The image object
5289     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
5290     *
5291     * @see elm_image_no_scale_set()
5292     *
5293     * @ingroup Image
5294     */
5295    EAPI Eina_Bool        elm_image_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5296    /**
5297     * Set if the object is (up/down) resizable.
5298     *
5299     * @param obj The image object
5300     * @param scale_up A bool to set if the object is resizable up. Default is
5301     * @c EINA_TRUE.
5302     * @param scale_down A bool to set if the object is resizable down. Default
5303     * is @c EINA_TRUE.
5304     *
5305     * This function limits the image resize ability. If @p scale_up is set to
5306     * @c EINA_FALSE, the object can't have its height or width resized to a value
5307     * higher than the original image size. Same is valid for @p scale_down.
5308     *
5309     * @see elm_image_scale_get()
5310     *
5311     * @ingroup Image
5312     */
5313    EAPI void             elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
5314    /**
5315     * Get if the object is (up/down) resizable.
5316     *
5317     * @param obj The image object
5318     * @param scale_up A bool to set if the object is resizable up
5319     * @param scale_down A bool to set if the object is resizable down
5320     *
5321     * @see elm_image_scale_set()
5322     *
5323     * @ingroup Image
5324     */
5325    EAPI void             elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
5326    /**
5327     * Set if the image fill the entire object area when keeping the aspect ratio.
5328     *
5329     * @param obj The image object
5330     * @param fill_outside @c EINA_TRUE if the object is filled outside,
5331     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5332     *
5333     * When the image should keep its aspect ratio even if resized to another
5334     * aspect ratio, there are two possibilities to resize it: keep the entire
5335     * image inside the limits of height and width of the object (@p fill_outside
5336     * is @c EINA_FALSE) or let the extra width or height go outside of the object,
5337     * and the image will fill the entire object (@p fill_outside is @c EINA_TRUE).
5338     *
5339     * @note This option will have no effect if
5340     * elm_image_aspect_ratio_retained_set() is set to @c EINA_FALSE.
5341     *
5342     * @see elm_image_fill_outside_get()
5343     * @see elm_image_aspect_ratio_retained_set()
5344     *
5345     * @ingroup Image
5346     */
5347    EAPI void             elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
5348    /**
5349     * Get if the object is filled outside
5350     *
5351     * @param obj The image object
5352     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
5353     *
5354     * @see elm_image_fill_outside_set()
5355     *
5356     * @ingroup Image
5357     */
5358    EAPI Eina_Bool        elm_image_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5359    /**
5360     * Set the prescale size for the image
5361     *
5362     * @param obj The image object
5363     * @param size The prescale size. This value is used for both width and
5364     * height.
5365     *
5366     * This function sets a new size for pixmap representation of the given
5367     * image. It allows the image to be loaded already in the specified size,
5368     * reducing the memory usage and load time when loading a big image with load
5369     * size set to a smaller size.
5370     *
5371     * It's equivalent to the elm_bg_load_size_set() function for bg.
5372     *
5373     * @note this is just a hint, the real size of the pixmap may differ
5374     * depending on the type of image being loaded, being bigger than requested.
5375     *
5376     * @see elm_image_prescale_get()
5377     * @see elm_bg_load_size_set()
5378     *
5379     * @ingroup Image
5380     */
5381    EAPI void             elm_image_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
5382    /**
5383     * Get the prescale size for the image
5384     *
5385     * @param obj The image object
5386     * @return The prescale size
5387     *
5388     * @see elm_image_prescale_set()
5389     *
5390     * @ingroup Image
5391     */
5392    EAPI int              elm_image_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5393    /**
5394     * Set the image orientation.
5395     *
5396     * @param obj The image object
5397     * @param orient The image orientation
5398     * (one of #ELM_IMAGE_ORIENT_NONE, #ELM_IMAGE_ROTATE_90_CW,
5399     *  #ELM_IMAGE_ROTATE_180_CW, #ELM_IMAGE_ROTATE_90_CCW,
5400     *  #ELM_IMAGE_FLIP_HORIZONTAL, #ELM_IMAGE_FLIP_VERTICAL,
5401     *  #ELM_IMAGE_FLIP_TRANSPOSE, #ELM_IMAGE_FLIP_TRANSVERSE).
5402     *  Default is #ELM_IMAGE_ORIENT_NONE.
5403     *
5404     * This function allows to rotate or flip the given image.
5405     *
5406     * @see elm_image_orient_get()
5407     * @see @ref Elm_Image_Orient
5408     *
5409     * @ingroup Image
5410     */
5411    EAPI void             elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient) EINA_ARG_NONNULL(1);
5412    /**
5413     * Get the image orientation.
5414     *
5415     * @param obj The image object
5416     * @return The image orientation
5417     * (one of #ELM_IMAGE_ORIENT_NONE, #ELM_IMAGE_ROTATE_90_CW,
5418     *  #ELM_IMAGE_ROTATE_180_CW, #ELM_IMAGE_ROTATE_90_CCW,
5419     *  #ELM_IMAGE_FLIP_HORIZONTAL, #ELM_IMAGE_FLIP_VERTICAL,
5420     *  #ELM_IMAGE_FLIP_TRANSPOSE, #ELM_IMAGE_FLIP_TRANSVERSE)
5421     *
5422     * @see elm_image_orient_set()
5423     * @see @ref Elm_Image_Orient
5424     *
5425     * @ingroup Image
5426     */
5427    EAPI Elm_Image_Orient elm_image_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5428    /**
5429     * Make the image 'editable'.
5430     *
5431     * @param obj Image object.
5432     * @param set Turn on or off editability. Default is @c EINA_FALSE.
5433     *
5434     * This means the image is a valid drag target for drag and drop, and can be
5435     * cut or pasted too.
5436     *
5437     * @ingroup Image
5438     */
5439    EAPI void             elm_image_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
5440    /**
5441     * Make the image 'editable'.
5442     *
5443     * @param obj Image object.
5444     * @return Editability.
5445     *
5446     * This means the image is a valid drag target for drag and drop, and can be
5447     * cut or pasted too.
5448     *
5449     * @ingroup Image
5450     */
5451    EAPI Eina_Bool        elm_image_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5452    /**
5453     * Get the basic Evas_Image object from this object (widget).
5454     *
5455     * @param obj The image object to get the inlined image from
5456     * @return The inlined image object, or NULL if none exists
5457     *
5458     * This function allows one to get the underlying @c Evas_Object of type
5459     * Image from this elementary widget. It can be useful to do things like get
5460     * the pixel data, save the image to a file, etc.
5461     *
5462     * @note Be careful to not manipulate it, as it is under control of
5463     * elementary.
5464     *
5465     * @ingroup Image
5466     */
5467    EAPI Evas_Object     *elm_image_object_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5468    /**
5469     * Set whether the original aspect ratio of the image should be kept on resize.
5470     *
5471     * @param obj The image object.
5472     * @param retained @c EINA_TRUE if the image should retain the aspect,
5473     * @c EINA_FALSE otherwise.
5474     *
5475     * The original aspect ratio (width / height) of the image is usually
5476     * distorted to match the object's size. Enabling this option will retain
5477     * this original aspect, and the way that the image is fit into the object's
5478     * area depends on the option set by elm_image_fill_outside_set().
5479     *
5480     * @see elm_image_aspect_ratio_retained_get()
5481     * @see elm_image_fill_outside_set()
5482     *
5483     * @ingroup Image
5484     */
5485    EAPI void             elm_image_aspect_ratio_retained_set(Evas_Object *obj, Eina_Bool retained) EINA_ARG_NONNULL(1);
5486    /**
5487     * Get if the object retains the original aspect ratio.
5488     *
5489     * @param obj The image object.
5490     * @return @c EINA_TRUE if the object keeps the original aspect, @c EINA_FALSE
5491     * otherwise.
5492     *
5493     * @ingroup Image
5494     */
5495    EAPI Eina_Bool        elm_image_aspect_ratio_retained_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5496
5497    /**
5498     * @}
5499     */
5500
5501    /* glview */
5502    typedef void (*Elm_GLView_Func_Cb)(Evas_Object *obj);
5503
5504    typedef enum _Elm_GLView_Mode
5505      {
5506         ELM_GLVIEW_ALPHA   = 1,
5507         ELM_GLVIEW_DEPTH   = 2,
5508         ELM_GLVIEW_STENCIL = 4
5509      } Elm_GLView_Mode;
5510
5511    /**
5512     * Defines a policy for the glview resizing.
5513     *
5514     * @note Default is ELM_GLVIEW_RESIZE_POLICY_RECREATE
5515     */
5516    typedef enum _Elm_GLView_Resize_Policy
5517      {
5518         ELM_GLVIEW_RESIZE_POLICY_RECREATE = 1,      /**< Resize the internal surface along with the image */
5519         ELM_GLVIEW_RESIZE_POLICY_SCALE    = 2       /**< Only reize the internal image and not the surface */
5520      } Elm_GLView_Resize_Policy;
5521
5522    typedef enum _Elm_GLView_Render_Policy
5523      {
5524         ELM_GLVIEW_RENDER_POLICY_ON_DEMAND = 1,     /**< Render only when there is a need for redrawing */
5525         ELM_GLVIEW_RENDER_POLICY_ALWAYS    = 2      /**< Render always even when it is not visible */
5526      } Elm_GLView_Render_Policy;
5527
5528    /**
5529     * @defgroup GLView
5530     *
5531     * A simple GLView widget that allows GL rendering.
5532     *
5533     * Signals that you can add callbacks for are:
5534     *
5535     * @{
5536     */
5537
5538    /**
5539     * Add a new glview to the parent
5540     *
5541     * @param parent The parent object
5542     * @return The new object or NULL if it cannot be created
5543     *
5544     * @ingroup GLView
5545     */
5546    EAPI Evas_Object     *elm_glview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5547
5548    /**
5549     * Sets the size of the glview
5550     *
5551     * @param obj The glview object
5552     * @param width width of the glview object
5553     * @param height height of the glview object
5554     *
5555     * @ingroup GLView
5556     */
5557    EAPI void             elm_glview_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
5558
5559    /**
5560     * Gets the size of the glview.
5561     *
5562     * @param obj The glview object
5563     * @param width width of the glview object
5564     * @param height height of the glview object
5565     *
5566     * Note that this function returns the actual image size of the
5567     * glview.  This means that when the scale policy is set to
5568     * ELM_GLVIEW_RESIZE_POLICY_SCALE, it'll return the non-scaled
5569     * size.
5570     *
5571     * @ingroup GLView
5572     */
5573    EAPI void             elm_glview_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
5574
5575    /**
5576     * Gets the gl api struct for gl rendering
5577     *
5578     * @param obj The glview object
5579     * @return The api object or NULL if it cannot be created
5580     *
5581     * @ingroup GLView
5582     */
5583    EAPI Evas_GL_API     *elm_glview_gl_api_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5584
5585    /**
5586     * Set the mode of the GLView. Supports Three simple modes.
5587     *
5588     * @param obj The glview object
5589     * @param mode The mode Options OR'ed enabling Alpha, Depth, Stencil.
5590     * @return True if set properly.
5591     *
5592     * @ingroup GLView
5593     */
5594    EAPI Eina_Bool        elm_glview_mode_set(Evas_Object *obj, Elm_GLView_Mode mode) EINA_ARG_NONNULL(1);
5595
5596    /**
5597     * Set the resize policy for the glview object.
5598     *
5599     * @param obj The glview object.
5600     * @param policy The scaling policy.
5601     *
5602     * By default, the resize policy is set to
5603     * ELM_GLVIEW_RESIZE_POLICY_RECREATE.  When resize is called it
5604     * destroys the previous surface and recreates the newly specified
5605     * size. If the policy is set to ELM_GLVIEW_RESIZE_POLICY_SCALE,
5606     * however, glview only scales the image object and not the underlying
5607     * GL Surface.
5608     *
5609     * @ingroup GLView
5610     */
5611    EAPI Eina_Bool        elm_glview_resize_policy_set(Evas_Object *obj, Elm_GLView_Resize_Policy policy) EINA_ARG_NONNULL(1);
5612
5613    /**
5614     * Set the render policy for the glview object.
5615     *
5616     * @param obj The glview object.
5617     * @param policy The render policy.
5618     *
5619     * By default, the render policy is set to
5620     * ELM_GLVIEW_RENDER_POLICY_ON_DEMAND.  This policy is set such
5621     * that during the render loop, glview is only redrawn if it needs
5622     * to be redrawn. (i.e. When it is visible) If the policy is set to
5623     * ELM_GLVIEWW_RENDER_POLICY_ALWAYS, it redraws regardless of
5624     * whether it is visible/need redrawing or not.
5625     *
5626     * @ingroup GLView
5627     */
5628    EAPI Eina_Bool        elm_glview_render_policy_set(Evas_Object *obj, Elm_GLView_Render_Policy policy) EINA_ARG_NONNULL(1);
5629
5630    /**
5631     * Set the init function that runs once in the main loop.
5632     *
5633     * @param obj The glview object.
5634     * @param func The init function to be registered.
5635     *
5636     * The registered init function gets called once during the render loop.
5637     *
5638     * @ingroup GLView
5639     */
5640    EAPI void             elm_glview_init_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5641
5642    /**
5643     * Set the render function that runs in the main loop.
5644     *
5645     * @param obj The glview object.
5646     * @param func The delete function to be registered.
5647     *
5648     * The registered del function gets called when GLView object is deleted.
5649     *
5650     * @ingroup GLView
5651     */
5652    EAPI void             elm_glview_del_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5653
5654    /**
5655     * Set the resize function that gets called when resize happens.
5656     *
5657     * @param obj The glview object.
5658     * @param func The resize function to be registered.
5659     *
5660     * @ingroup GLView
5661     */
5662    EAPI void             elm_glview_resize_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5663
5664    /**
5665     * Set the render function that runs in the main loop.
5666     *
5667     * @param obj The glview object.
5668     * @param func The render function to be registered.
5669     *
5670     * @ingroup GLView
5671     */
5672    EAPI void             elm_glview_render_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5673
5674    /**
5675     * Notifies that there has been changes in the GLView.
5676     *
5677     * @param obj The glview object.
5678     *
5679     * @ingroup GLView
5680     */
5681    EAPI void             elm_glview_changed_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
5682
5683    /**
5684     * @}
5685     */
5686
5687    /* box */
5688    /**
5689     * @defgroup Box Box
5690     *
5691     * @image html img/widget/box/preview-00.png
5692     * @image latex img/widget/box/preview-00.eps width=\textwidth
5693     *
5694     * @image html img/box.png
5695     * @image latex img/box.eps width=\textwidth
5696     *
5697     * A box arranges objects in a linear fashion, governed by a layout function
5698     * that defines the details of this arrangement.
5699     *
5700     * By default, the box will use an internal function to set the layout to
5701     * a single row, either vertical or horizontal. This layout is affected
5702     * by a number of parameters, such as the homogeneous flag set by
5703     * elm_box_homogeneous_set(), the values given by elm_box_padding_set() and
5704     * elm_box_align_set() and the hints set to each object in the box.
5705     *
5706     * For this default layout, it's possible to change the orientation with
5707     * elm_box_horizontal_set(). The box will start in the vertical orientation,
5708     * placing its elements ordered from top to bottom. When horizontal is set,
5709     * the order will go from left to right. If the box is set to be
5710     * homogeneous, every object in it will be assigned the same space, that
5711     * of the largest object. Padding can be used to set some spacing between
5712     * the cell given to each object. The alignment of the box, set with
5713     * elm_box_align_set(), determines how the bounding box of all the elements
5714     * will be placed within the space given to the box widget itself.
5715     *
5716     * The size hints of each object also affect how they are placed and sized
5717     * within the box. evas_object_size_hint_min_set() will give the minimum
5718     * size the object can have, and the box will use it as the basis for all
5719     * latter calculations. Elementary widgets set their own minimum size as
5720     * needed, so there's rarely any need to use it manually.
5721     *
5722     * evas_object_size_hint_weight_set(), when not in homogeneous mode, is
5723     * used to tell whether the object will be allocated the minimum size it
5724     * needs or if the space given to it should be expanded. It's important
5725     * to realize that expanding the size given to the object is not the same
5726     * thing as resizing the object. It could very well end being a small
5727     * widget floating in a much larger empty space. If not set, the weight
5728     * for objects will normally be 0.0 for both axis, meaning the widget will
5729     * not be expanded. To take as much space possible, set the weight to
5730     * EVAS_HINT_EXPAND (defined to 1.0) for the desired axis to expand.
5731     *
5732     * Besides how much space each object is allocated, it's possible to control
5733     * how the widget will be placed within that space using
5734     * evas_object_size_hint_align_set(). By default, this value will be 0.5
5735     * for both axis, meaning the object will be centered, but any value from
5736     * 0.0 (left or top, for the @c x and @c y axis, respectively) to 1.0
5737     * (right or bottom) can be used. The special value EVAS_HINT_FILL, which
5738     * is -1.0, means the object will be resized to fill the entire space it
5739     * was allocated.
5740     *
5741     * In addition, customized functions to define the layout can be set, which
5742     * allow the application developer to organize the objects within the box
5743     * in any number of ways.
5744     *
5745     * The special elm_box_layout_transition() function can be used
5746     * to switch from one layout to another, animating the motion of the
5747     * children of the box.
5748     *
5749     * @note Objects should not be added to box objects using _add() calls.
5750     *
5751     * Some examples on how to use boxes follow:
5752     * @li @ref box_example_01
5753     * @li @ref box_example_02
5754     *
5755     * @{
5756     */
5757    /**
5758     * @typedef Elm_Box_Transition
5759     *
5760     * Opaque handler containing the parameters to perform an animated
5761     * transition of the layout the box uses.
5762     *
5763     * @see elm_box_transition_new()
5764     * @see elm_box_layout_set()
5765     * @see elm_box_layout_transition()
5766     */
5767    typedef struct _Elm_Box_Transition Elm_Box_Transition;
5768
5769    /**
5770     * Add a new box to the parent
5771     *
5772     * By default, the box will be in vertical mode and non-homogeneous.
5773     *
5774     * @param parent The parent object
5775     * @return The new object or NULL if it cannot be created
5776     */
5777    EAPI Evas_Object        *elm_box_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5778    /**
5779     * Set the horizontal orientation
5780     *
5781     * By default, box object arranges their contents vertically from top to
5782     * bottom.
5783     * By calling this function with @p horizontal as EINA_TRUE, the box will
5784     * become horizontal, arranging contents from left to right.
5785     *
5786     * @note This flag is ignored if a custom layout function is set.
5787     *
5788     * @param obj The box object
5789     * @param horizontal The horizontal flag (EINA_TRUE = horizontal,
5790     * EINA_FALSE = vertical)
5791     */
5792    EAPI void                elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
5793    /**
5794     * Get the horizontal orientation
5795     *
5796     * @param obj The box object
5797     * @return EINA_TRUE if the box is set to horizontal mode, EINA_FALSE otherwise
5798     */
5799    EAPI Eina_Bool           elm_box_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5800    /**
5801     * Set the box to arrange its children homogeneously
5802     *
5803     * If enabled, homogeneous layout makes all items the same size, according
5804     * to the size of the largest of its children.
5805     *
5806     * @note This flag is ignored if a custom layout function is set.
5807     *
5808     * @param obj The box object
5809     * @param homogeneous The homogeneous flag
5810     */
5811    EAPI void                elm_box_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
5812    /**
5813     * Get whether the box is using homogeneous mode or not
5814     *
5815     * @param obj The box object
5816     * @return EINA_TRUE if it's homogeneous, EINA_FALSE otherwise
5817     */
5818    EAPI Eina_Bool           elm_box_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5819    EINA_DEPRECATED EAPI void elm_box_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
5820    EINA_DEPRECATED EAPI Eina_Bool elm_box_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5821    /**
5822     * Add an object to the beginning of the pack list
5823     *
5824     * Pack @p subobj into the box @p obj, placing it first in the list of
5825     * children objects. The actual position the object will get on screen
5826     * depends on the layout used. If no custom layout is set, it will be at
5827     * the top or left, depending if the box is vertical or horizontal,
5828     * respectively.
5829     *
5830     * @param obj The box object
5831     * @param subobj The object to add to the box
5832     *
5833     * @see elm_box_pack_end()
5834     * @see elm_box_pack_before()
5835     * @see elm_box_pack_after()
5836     * @see elm_box_unpack()
5837     * @see elm_box_unpack_all()
5838     * @see elm_box_clear()
5839     */
5840    EAPI void                elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
5841    /**
5842     * Add an object at the end of the pack list
5843     *
5844     * Pack @p subobj into the box @p obj, placing it last in the list of
5845     * children objects. The actual position the object will get on screen
5846     * depends on the layout used. If no custom layout is set, it will be at
5847     * the bottom or right, depending if the box is vertical or horizontal,
5848     * respectively.
5849     *
5850     * @param obj The box object
5851     * @param subobj The object to add to the box
5852     *
5853     * @see elm_box_pack_start()
5854     * @see elm_box_pack_before()
5855     * @see elm_box_pack_after()
5856     * @see elm_box_unpack()
5857     * @see elm_box_unpack_all()
5858     * @see elm_box_clear()
5859     */
5860    EAPI void                elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
5861    /**
5862     * Adds an object to the box before the indicated object
5863     *
5864     * This will add the @p subobj to the box indicated before the object
5865     * indicated with @p before. If @p before is not already in the box, results
5866     * are undefined. Before means either to the left of the indicated object or
5867     * above it depending on orientation.
5868     *
5869     * @param obj The box object
5870     * @param subobj The object to add to the box
5871     * @param before The object before which to add it
5872     *
5873     * @see elm_box_pack_start()
5874     * @see elm_box_pack_end()
5875     * @see elm_box_pack_after()
5876     * @see elm_box_unpack()
5877     * @see elm_box_unpack_all()
5878     * @see elm_box_clear()
5879     */
5880    EAPI void                elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before) EINA_ARG_NONNULL(1);
5881    /**
5882     * Adds an object to the box after the indicated object
5883     *
5884     * This will add the @p subobj to the box indicated after the object
5885     * indicated with @p after. If @p after is not already in the box, results
5886     * are undefined. After means either to the right of the indicated object or
5887     * below it depending on orientation.
5888     *
5889     * @param obj The box object
5890     * @param subobj The object to add to the box
5891     * @param after The object after which to add it
5892     *
5893     * @see elm_box_pack_start()
5894     * @see elm_box_pack_end()
5895     * @see elm_box_pack_before()
5896     * @see elm_box_unpack()
5897     * @see elm_box_unpack_all()
5898     * @see elm_box_clear()
5899     */
5900    EAPI void                elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after) EINA_ARG_NONNULL(1);
5901    /**
5902     * Clear the box of all children
5903     *
5904     * Remove all the elements contained by the box, deleting the respective
5905     * objects.
5906     *
5907     * @param obj The box object
5908     *
5909     * @see elm_box_unpack()
5910     * @see elm_box_unpack_all()
5911     */
5912    EAPI void                elm_box_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
5913    /**
5914     * Unpack a box item
5915     *
5916     * Remove the object given by @p subobj from the box @p obj without
5917     * deleting it.
5918     *
5919     * @param obj The box object
5920     *
5921     * @see elm_box_unpack_all()
5922     * @see elm_box_clear()
5923     */
5924    EAPI void                elm_box_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
5925    /**
5926     * Remove all items from the box, without deleting them
5927     *
5928     * Clear the box from all children, but don't delete the respective objects.
5929     * If no other references of the box children exist, the objects will never
5930     * be deleted, and thus the application will leak the memory. Make sure
5931     * when using this function that you hold a reference to all the objects
5932     * in the box @p obj.
5933     *
5934     * @param obj The box object
5935     *
5936     * @see elm_box_clear()
5937     * @see elm_box_unpack()
5938     */
5939    EAPI void                elm_box_unpack_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
5940    /**
5941     * Retrieve a list of the objects packed into the box
5942     *
5943     * Returns a new @c Eina_List with a pointer to @c Evas_Object in its nodes.
5944     * The order of the list corresponds to the packing order the box uses.
5945     *
5946     * You must free this list with eina_list_free() once you are done with it.
5947     *
5948     * @param obj The box object
5949     */
5950    EAPI const Eina_List    *elm_box_children_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5951    /**
5952     * Set the space (padding) between the box's elements.
5953     *
5954     * Extra space in pixels that will be added between a box child and its
5955     * neighbors after its containing cell has been calculated. This padding
5956     * is set for all elements in the box, besides any possible padding that
5957     * individual elements may have through their size hints.
5958     *
5959     * @param obj The box object
5960     * @param horizontal The horizontal space between elements
5961     * @param vertical The vertical space between elements
5962     */
5963    EAPI void                elm_box_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
5964    /**
5965     * Get the space (padding) between the box's elements.
5966     *
5967     * @param obj The box object
5968     * @param horizontal The horizontal space between elements
5969     * @param vertical The vertical space between elements
5970     *
5971     * @see elm_box_padding_set()
5972     */
5973    EAPI void                elm_box_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
5974    /**
5975     * Set the alignment of the whole bouding box of contents.
5976     *
5977     * Sets how the bounding box containing all the elements of the box, after
5978     * their sizes and position has been calculated, will be aligned within
5979     * the space given for the whole box widget.
5980     *
5981     * @param obj The box object
5982     * @param horizontal The horizontal alignment of elements
5983     * @param vertical The vertical alignment of elements
5984     */
5985    EAPI void                elm_box_align_set(Evas_Object *obj, double horizontal, double vertical) EINA_ARG_NONNULL(1);
5986    /**
5987     * Get the alignment of the whole bouding box of contents.
5988     *
5989     * @param obj The box object
5990     * @param horizontal The horizontal alignment of elements
5991     * @param vertical The vertical alignment of elements
5992     *
5993     * @see elm_box_align_set()
5994     */
5995    EAPI void                elm_box_align_get(const Evas_Object *obj, double *horizontal, double *vertical) EINA_ARG_NONNULL(1);
5996
5997    /**
5998     * Force the box to recalculate its children packing.
5999     *
6000     * If any children was added or removed, box will not calculate the
6001     * values immediately rather leaving it to the next main loop
6002     * iteration. While this is great as it would save lots of
6003     * recalculation, whenever you need to get the position of a just
6004     * added item you must force recalculate before doing so.
6005     *
6006     * @param obj The box object.
6007     */
6008    EAPI void                 elm_box_recalculate(Evas_Object *obj);
6009
6010    /**
6011     * Set the layout defining function to be used by the box
6012     *
6013     * Whenever anything changes that requires the box in @p obj to recalculate
6014     * the size and position of its elements, the function @p cb will be called
6015     * to determine what the layout of the children will be.
6016     *
6017     * Once a custom function is set, everything about the children layout
6018     * is defined by it. The flags set by elm_box_horizontal_set() and
6019     * elm_box_homogeneous_set() no longer have any meaning, and the values
6020     * given by elm_box_padding_set() and elm_box_align_set() are up to this
6021     * layout function to decide if they are used and how. These last two
6022     * will be found in the @c priv parameter, of type @c Evas_Object_Box_Data,
6023     * passed to @p cb. The @c Evas_Object the function receives is not the
6024     * Elementary widget, but the internal Evas Box it uses, so none of the
6025     * functions described here can be used on it.
6026     *
6027     * Any of the layout functions in @c Evas can be used here, as well as the
6028     * special elm_box_layout_transition().
6029     *
6030     * The final @p data argument received by @p cb is the same @p data passed
6031     * here, and the @p free_data function will be called to free it
6032     * whenever the box is destroyed or another layout function is set.
6033     *
6034     * Setting @p cb to NULL will revert back to the default layout function.
6035     *
6036     * @param obj The box object
6037     * @param cb The callback function used for layout
6038     * @param data Data that will be passed to layout function
6039     * @param free_data Function called to free @p data
6040     *
6041     * @see elm_box_layout_transition()
6042     */
6043    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);
6044    /**
6045     * Special layout function that animates the transition from one layout to another
6046     *
6047     * Normally, when switching the layout function for a box, this will be
6048     * reflected immediately on screen on the next render, but it's also
6049     * possible to do this through an animated transition.
6050     *
6051     * This is done by creating an ::Elm_Box_Transition and setting the box
6052     * layout to this function.
6053     *
6054     * For example:
6055     * @code
6056     * Elm_Box_Transition *t = elm_box_transition_new(1.0,
6057     *                            evas_object_box_layout_vertical, // start
6058     *                            NULL, // data for initial layout
6059     *                            NULL, // free function for initial data
6060     *                            evas_object_box_layout_horizontal, // end
6061     *                            NULL, // data for final layout
6062     *                            NULL, // free function for final data
6063     *                            anim_end, // will be called when animation ends
6064     *                            NULL); // data for anim_end function\
6065     * elm_box_layout_set(box, elm_box_layout_transition, t,
6066     *                    elm_box_transition_free);
6067     * @endcode
6068     *
6069     * @note This function can only be used with elm_box_layout_set(). Calling
6070     * it directly will not have the expected results.
6071     *
6072     * @see elm_box_transition_new
6073     * @see elm_box_transition_free
6074     * @see elm_box_layout_set
6075     */
6076    EAPI void                elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data);
6077    /**
6078     * Create a new ::Elm_Box_Transition to animate the switch of layouts
6079     *
6080     * If you want to animate the change from one layout to another, you need
6081     * to set the layout function of the box to elm_box_layout_transition(),
6082     * passing as user data to it an instance of ::Elm_Box_Transition with the
6083     * necessary information to perform this animation. The free function to
6084     * set for the layout is elm_box_transition_free().
6085     *
6086     * The parameters to create an ::Elm_Box_Transition sum up to how long
6087     * will it be, in seconds, a layout function to describe the initial point,
6088     * another for the final position of the children and one function to be
6089     * called when the whole animation ends. This last function is useful to
6090     * set the definitive layout for the box, usually the same as the end
6091     * layout for the animation, but could be used to start another transition.
6092     *
6093     * @param start_layout The layout function that will be used to start the animation
6094     * @param start_layout_data The data to be passed the @p start_layout function
6095     * @param start_layout_free_data Function to free @p start_layout_data
6096     * @param end_layout The layout function that will be used to end the animation
6097     * @param end_layout_free_data The data to be passed the @p end_layout function
6098     * @param end_layout_free_data Function to free @p end_layout_data
6099     * @param transition_end_cb Callback function called when animation ends
6100     * @param transition_end_data Data to be passed to @p transition_end_cb
6101     * @return An instance of ::Elm_Box_Transition
6102     *
6103     * @see elm_box_transition_new
6104     * @see elm_box_layout_transition
6105     */
6106    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);
6107    /**
6108     * Free a Elm_Box_Transition instance created with elm_box_transition_new().
6109     *
6110     * This function is mostly useful as the @c free_data parameter in
6111     * elm_box_layout_set() when elm_box_layout_transition().
6112     *
6113     * @param data The Elm_Box_Transition instance to be freed.
6114     *
6115     * @see elm_box_transition_new
6116     * @see elm_box_layout_transition
6117     */
6118    EAPI void                elm_box_transition_free(void *data);
6119    /**
6120     * @}
6121     */
6122
6123    /* button */
6124    /**
6125     * @defgroup Button Button
6126     *
6127     * @image html img/widget/button/preview-00.png
6128     * @image latex img/widget/button/preview-00.eps
6129     * @image html img/widget/button/preview-01.png
6130     * @image latex img/widget/button/preview-01.eps
6131     * @image html img/widget/button/preview-02.png
6132     * @image latex img/widget/button/preview-02.eps
6133     *
6134     * This is a push-button. Press it and run some function. It can contain
6135     * a simple label and icon object and it also has an autorepeat feature.
6136     *
6137     * This widgets emits the following signals:
6138     * @li "clicked": the user clicked the button (press/release).
6139     * @li "repeated": the user pressed the button without releasing it.
6140     * @li "pressed": button was pressed.
6141     * @li "unpressed": button was released after being pressed.
6142     * In all three cases, the @c event parameter of the callback will be
6143     * @c NULL.
6144     *
6145     * Also, defined in the default theme, the button has the following styles
6146     * available:
6147     * @li default: a normal button.
6148     * @li anchor: Like default, but the button fades away when the mouse is not
6149     * over it, leaving only the text or icon.
6150     * @li hoversel_vertical: Internally used by @ref Hoversel to give a
6151     * continuous look across its options.
6152     * @li hoversel_vertical_entry: Another internal for @ref Hoversel.
6153     *
6154     * Follow through a complete example @ref button_example_01 "here".
6155     * @{
6156     */
6157    /**
6158     * Add a new button to the parent's canvas
6159     *
6160     * @param parent The parent object
6161     * @return The new object or NULL if it cannot be created
6162     */
6163    EAPI Evas_Object *elm_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6164    /**
6165     * Set the label used in the button
6166     *
6167     * The passed @p label can be NULL to clean any existing text in it and
6168     * leave the button as an icon only object.
6169     *
6170     * @param obj The button object
6171     * @param label The text will be written on the button
6172     * @deprecated use elm_object_text_set() instead.
6173     */
6174    EINA_DEPRECATED EAPI void         elm_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6175    /**
6176     * Get the label set for the button
6177     *
6178     * The string returned is an internal pointer and should not be freed or
6179     * altered. It will also become invalid when the button is destroyed.
6180     * The string returned, if not NULL, is a stringshare, so if you need to
6181     * keep it around even after the button is destroyed, you can use
6182     * eina_stringshare_ref().
6183     *
6184     * @param obj The button object
6185     * @return The text set to the label, or NULL if nothing is set
6186     * @deprecated use elm_object_text_set() instead.
6187     */
6188    EINA_DEPRECATED EAPI const char  *elm_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6189    /**
6190     * Set the icon used for the button
6191     *
6192     * Setting a new icon will delete any other that was previously set, making
6193     * any reference to them invalid. If you need to maintain the previous
6194     * object alive, unset it first with elm_button_icon_unset().
6195     *
6196     * @param obj The button object
6197     * @param icon The icon object for the button
6198     */
6199    EAPI void         elm_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6200    /**
6201     * Get the icon used for the button
6202     *
6203     * Return the icon object which is set for this widget. If the button is
6204     * destroyed or another icon is set, the returned object will be deleted
6205     * and any reference to it will be invalid.
6206     *
6207     * @param obj The button object
6208     * @return The icon object that is being used
6209     *
6210     * @see elm_button_icon_unset()
6211     */
6212    EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6213    /**
6214     * Remove the icon set without deleting it and return the object
6215     *
6216     * This function drops the reference the button holds of the icon object
6217     * and returns this last object. It is used in case you want to remove any
6218     * icon, or set another one, without deleting the actual object. The button
6219     * will be left without an icon set.
6220     *
6221     * @param obj The button object
6222     * @return The icon object that was being used
6223     */
6224    EAPI Evas_Object *elm_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6225    /**
6226     * Turn on/off the autorepeat event generated when the button is kept pressed
6227     *
6228     * When off, no autorepeat is performed and buttons emit a normal @c clicked
6229     * signal when they are clicked.
6230     *
6231     * When on, keeping a button pressed will continuously emit a @c repeated
6232     * signal until the button is released. The time it takes until it starts
6233     * emitting the signal is given by
6234     * elm_button_autorepeat_initial_timeout_set(), and the time between each
6235     * new emission by elm_button_autorepeat_gap_timeout_set().
6236     *
6237     * @param obj The button object
6238     * @param on  A bool to turn on/off the event
6239     */
6240    EAPI void         elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on) EINA_ARG_NONNULL(1);
6241    /**
6242     * Get whether the autorepeat feature is enabled
6243     *
6244     * @param obj The button object
6245     * @return EINA_TRUE if autorepeat is on, EINA_FALSE otherwise
6246     *
6247     * @see elm_button_autorepeat_set()
6248     */
6249    EAPI Eina_Bool    elm_button_autorepeat_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6250    /**
6251     * Set the initial timeout before the autorepeat event is generated
6252     *
6253     * Sets the timeout, in seconds, since the button is pressed until the
6254     * first @c repeated signal is emitted. If @p t is 0.0 or less, there
6255     * won't be any delay and the even will be fired the moment the button is
6256     * pressed.
6257     *
6258     * @param obj The button object
6259     * @param t   Timeout in seconds
6260     *
6261     * @see elm_button_autorepeat_set()
6262     * @see elm_button_autorepeat_gap_timeout_set()
6263     */
6264    EAPI void         elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
6265    /**
6266     * Get the initial timeout before the autorepeat event is generated
6267     *
6268     * @param obj The button object
6269     * @return Timeout in seconds
6270     *
6271     * @see elm_button_autorepeat_initial_timeout_set()
6272     */
6273    EAPI double       elm_button_autorepeat_initial_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6274    /**
6275     * Set the interval between each generated autorepeat event
6276     *
6277     * After the first @c repeated event is fired, all subsequent ones will
6278     * follow after a delay of @p t seconds for each.
6279     *
6280     * @param obj The button object
6281     * @param t   Interval in seconds
6282     *
6283     * @see elm_button_autorepeat_initial_timeout_set()
6284     */
6285    EAPI void         elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
6286    /**
6287     * Get the interval between each generated autorepeat event
6288     *
6289     * @param obj The button object
6290     * @return Interval in seconds
6291     */
6292    EAPI double       elm_button_autorepeat_gap_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6293    /**
6294     * @}
6295     */
6296
6297    /**
6298     * @defgroup File_Selector_Button File Selector Button
6299     *
6300     * @image html img/widget/fileselector_button/preview-00.png
6301     * @image latex img/widget/fileselector_button/preview-00.eps
6302     * @image html img/widget/fileselector_button/preview-01.png
6303     * @image latex img/widget/fileselector_button/preview-01.eps
6304     * @image html img/widget/fileselector_button/preview-02.png
6305     * @image latex img/widget/fileselector_button/preview-02.eps
6306     *
6307     * This is a button that, when clicked, creates an Elementary
6308     * window (or inner window) <b> with a @ref Fileselector "file
6309     * selector widget" within</b>. When a file is chosen, the (inner)
6310     * window is closed and the button emits a signal having the
6311     * selected file as it's @c event_info.
6312     *
6313     * This widget encapsulates operations on its internal file
6314     * selector on its own API. There is less control over its file
6315     * selector than that one would have instatiating one directly.
6316     *
6317     * The following styles are available for this button:
6318     * @li @c "default"
6319     * @li @c "anchor"
6320     * @li @c "hoversel_vertical"
6321     * @li @c "hoversel_vertical_entry"
6322     *
6323     * Smart callbacks one can register to:
6324     * - @c "file,chosen" - the user has selected a path, whose string
6325     *   pointer comes as the @c event_info data (a stringshared
6326     *   string)
6327     *
6328     * Here is an example on its usage:
6329     * @li @ref fileselector_button_example
6330     *
6331     * @see @ref File_Selector_Entry for a similar widget.
6332     * @{
6333     */
6334
6335    /**
6336     * Add a new file selector button widget to the given parent
6337     * Elementary (container) object
6338     *
6339     * @param parent The parent object
6340     * @return a new file selector button widget handle or @c NULL, on
6341     * errors
6342     */
6343    EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6344
6345    /**
6346     * Set the label for a given file selector button widget
6347     *
6348     * @param obj The file selector button widget
6349     * @param label The text label to be displayed on @p obj
6350     *
6351     * @deprecated use elm_object_text_set() instead.
6352     */
6353    EINA_DEPRECATED EAPI void         elm_fileselector_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6354
6355    /**
6356     * Get the label set for a given file selector button widget
6357     *
6358     * @param obj The file selector button widget
6359     * @return The button label
6360     *
6361     * @deprecated use elm_object_text_set() instead.
6362     */
6363    EINA_DEPRECATED EAPI const char  *elm_fileselector_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6364
6365    /**
6366     * Set the icon on a given file selector button widget
6367     *
6368     * @param obj The file selector button widget
6369     * @param icon The icon object for the button
6370     *
6371     * Once the icon object is set, a previously set one will be
6372     * deleted. If you want to keep the latter, use the
6373     * elm_fileselector_button_icon_unset() function.
6374     *
6375     * @see elm_fileselector_button_icon_get()
6376     */
6377    EAPI void         elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6378
6379    /**
6380     * Get the icon set for a given file selector button widget
6381     *
6382     * @param obj The file selector button widget
6383     * @return The icon object currently set on @p obj or @c NULL, if
6384     * none is
6385     *
6386     * @see elm_fileselector_button_icon_set()
6387     */
6388    EAPI Evas_Object *elm_fileselector_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6389
6390    /**
6391     * Unset the icon used in a given file selector button widget
6392     *
6393     * @param obj The file selector button widget
6394     * @return The icon object that was being used on @p obj or @c
6395     * NULL, on errors
6396     *
6397     * Unparent and return the icon object which was set for this
6398     * widget.
6399     *
6400     * @see elm_fileselector_button_icon_set()
6401     */
6402    EAPI Evas_Object *elm_fileselector_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6403
6404    /**
6405     * Set the title for a given file selector button widget's window
6406     *
6407     * @param obj The file selector button widget
6408     * @param title The title string
6409     *
6410     * This will change the window's title, when the file selector pops
6411     * out after a click on the button. Those windows have the default
6412     * (unlocalized) value of @c "Select a file" as titles.
6413     *
6414     * @note It will only take any effect if the file selector
6415     * button widget is @b not under "inwin mode".
6416     *
6417     * @see elm_fileselector_button_window_title_get()
6418     */
6419    EAPI void         elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
6420
6421    /**
6422     * Get the title set for a given file selector button widget's
6423     * window
6424     *
6425     * @param obj The file selector button widget
6426     * @return Title of the file selector button's window
6427     *
6428     * @see elm_fileselector_button_window_title_get() for more details
6429     */
6430    EAPI const char  *elm_fileselector_button_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6431
6432    /**
6433     * Set the size of a given file selector button widget's window,
6434     * holding the file selector itself.
6435     *
6436     * @param obj The file selector button widget
6437     * @param width The window's width
6438     * @param height The window's height
6439     *
6440     * @note it will only take any effect if the file selector button
6441     * widget is @b not under "inwin mode". The default size for the
6442     * window (when applicable) is 400x400 pixels.
6443     *
6444     * @see elm_fileselector_button_window_size_get()
6445     */
6446    EAPI void         elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
6447
6448    /**
6449     * Get the size of a given file selector button widget's window,
6450     * holding the file selector itself.
6451     *
6452     * @param obj The file selector button widget
6453     * @param width Pointer into which to store the width value
6454     * @param height Pointer into which to store the height value
6455     *
6456     * @note Use @c NULL pointers on the size values you're not
6457     * interested in: they'll be ignored by the function.
6458     *
6459     * @see elm_fileselector_button_window_size_set(), for more details
6460     */
6461    EAPI void         elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
6462
6463    /**
6464     * Set the initial file system path for a given file selector
6465     * button widget
6466     *
6467     * @param obj The file selector button widget
6468     * @param path The path string
6469     *
6470     * It must be a <b>directory</b> path, which will have the contents
6471     * displayed initially in the file selector's view, when invoked
6472     * from @p obj. The default initial path is the @c "HOME"
6473     * environment variable's value.
6474     *
6475     * @see elm_fileselector_button_path_get()
6476     */
6477    EAPI void         elm_fileselector_button_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
6478
6479    /**
6480     * Get the initial file system path set for a given file selector
6481     * button widget
6482     *
6483     * @param obj The file selector button widget
6484     * @return path The path string
6485     *
6486     * @see elm_fileselector_button_path_set() for more details
6487     */
6488    EAPI const char  *elm_fileselector_button_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6489
6490    /**
6491     * Enable/disable a tree view in the given file selector button
6492     * widget's internal file selector
6493     *
6494     * @param obj The file selector button widget
6495     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
6496     * disable
6497     *
6498     * This has the same effect as elm_fileselector_expandable_set(),
6499     * but now applied to a file selector button's internal file
6500     * selector.
6501     *
6502     * @note There's no way to put a file selector button's internal
6503     * file selector in "grid mode", as one may do with "pure" file
6504     * selectors.
6505     *
6506     * @see elm_fileselector_expandable_get()
6507     */
6508    EAPI void         elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6509
6510    /**
6511     * Get whether tree view is enabled for the given file selector
6512     * button widget's internal file selector
6513     *
6514     * @param obj The file selector button widget
6515     * @return @c EINA_TRUE if @p obj widget's internal file selector
6516     * is in tree view, @c EINA_FALSE otherwise (and or errors)
6517     *
6518     * @see elm_fileselector_expandable_set() for more details
6519     */
6520    EAPI Eina_Bool    elm_fileselector_button_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6521
6522    /**
6523     * Set whether a given file selector button widget's internal file
6524     * selector is to display folders only or the directory contents,
6525     * as well.
6526     *
6527     * @param obj The file selector button widget
6528     * @param only @c EINA_TRUE to make @p obj widget's internal file
6529     * selector only display directories, @c EINA_FALSE to make files
6530     * to be displayed in it too
6531     *
6532     * This has the same effect as elm_fileselector_folder_only_set(),
6533     * but now applied to a file selector button's internal file
6534     * selector.
6535     *
6536     * @see elm_fileselector_folder_only_get()
6537     */
6538    EAPI void         elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6539
6540    /**
6541     * Get whether a given file selector button widget's internal file
6542     * selector is displaying folders only or the directory contents,
6543     * as well.
6544     *
6545     * @param obj The file selector button widget
6546     * @return @c EINA_TRUE if @p obj widget's internal file
6547     * selector is only displaying directories, @c EINA_FALSE if files
6548     * are being displayed in it too (and on errors)
6549     *
6550     * @see elm_fileselector_button_folder_only_set() for more details
6551     */
6552    EAPI Eina_Bool    elm_fileselector_button_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6553
6554    /**
6555     * Enable/disable the file name entry box where the user can type
6556     * in a name for a file, in a given file selector button widget's
6557     * internal file selector.
6558     *
6559     * @param obj The file selector button widget
6560     * @param is_save @c EINA_TRUE to make @p obj widget's internal
6561     * file selector a "saving dialog", @c EINA_FALSE otherwise
6562     *
6563     * This has the same effect as elm_fileselector_is_save_set(),
6564     * but now applied to a file selector button's internal file
6565     * selector.
6566     *
6567     * @see elm_fileselector_is_save_get()
6568     */
6569    EAPI void         elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6570
6571    /**
6572     * Get whether the given file selector button widget's internal
6573     * file selector is in "saving dialog" mode
6574     *
6575     * @param obj The file selector button widget
6576     * @return @c EINA_TRUE, if @p obj widget's internal file selector
6577     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
6578     * errors)
6579     *
6580     * @see elm_fileselector_button_is_save_set() for more details
6581     */
6582    EAPI Eina_Bool    elm_fileselector_button_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6583
6584    /**
6585     * Set whether a given file selector button widget's internal file
6586     * selector will raise an Elementary "inner window", instead of a
6587     * dedicated Elementary window. By default, it won't.
6588     *
6589     * @param obj The file selector button widget
6590     * @param value @c EINA_TRUE to make it use an inner window, @c
6591     * EINA_TRUE to make it use a dedicated window
6592     *
6593     * @see elm_win_inwin_add() for more information on inner windows
6594     * @see elm_fileselector_button_inwin_mode_get()
6595     */
6596    EAPI void         elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6597
6598    /**
6599     * Get whether a given file selector button widget's internal file
6600     * selector will raise an Elementary "inner window", instead of a
6601     * dedicated Elementary window.
6602     *
6603     * @param obj The file selector button widget
6604     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
6605     * if it will use a dedicated window
6606     *
6607     * @see elm_fileselector_button_inwin_mode_set() for more details
6608     */
6609    EAPI Eina_Bool    elm_fileselector_button_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6610
6611    /**
6612     * @}
6613     */
6614
6615     /**
6616     * @defgroup File_Selector_Entry File Selector Entry
6617     *
6618     * @image html img/widget/fileselector_entry/preview-00.png
6619     * @image latex img/widget/fileselector_entry/preview-00.eps
6620     *
6621     * This is an entry made to be filled with or display a <b>file
6622     * system path string</b>. Besides the entry itself, the widget has
6623     * a @ref File_Selector_Button "file selector button" on its side,
6624     * which will raise an internal @ref Fileselector "file selector widget",
6625     * when clicked, for path selection aided by file system
6626     * navigation.
6627     *
6628     * This file selector may appear in an Elementary window or in an
6629     * inner window. When a file is chosen from it, the (inner) window
6630     * is closed and the selected file's path string is exposed both as
6631     * an smart event and as the new text on the entry.
6632     *
6633     * This widget encapsulates operations on its internal file
6634     * selector on its own API. There is less control over its file
6635     * selector than that one would have instatiating one directly.
6636     *
6637     * Smart callbacks one can register to:
6638     * - @c "changed" - The text within the entry was changed
6639     * - @c "activated" - The entry has had editing finished and
6640     *   changes are to be "committed"
6641     * - @c "press" - The entry has been clicked
6642     * - @c "longpressed" - The entry has been clicked (and held) for a
6643     *   couple seconds
6644     * - @c "clicked" - The entry has been clicked
6645     * - @c "clicked,double" - The entry has been double clicked
6646     * - @c "focused" - The entry has received focus
6647     * - @c "unfocused" - The entry has lost focus
6648     * - @c "selection,paste" - A paste action has occurred on the
6649     *   entry
6650     * - @c "selection,copy" - A copy action has occurred on the entry
6651     * - @c "selection,cut" - A cut action has occurred on the entry
6652     * - @c "unpressed" - The file selector entry's button was released
6653     *   after being pressed.
6654     * - @c "file,chosen" - The user has selected a path via the file
6655     *   selector entry's internal file selector, whose string pointer
6656     *   comes as the @c event_info data (a stringshared string)
6657     *
6658     * Here is an example on its usage:
6659     * @li @ref fileselector_entry_example
6660     *
6661     * @see @ref File_Selector_Button for a similar widget.
6662     * @{
6663     */
6664
6665    /**
6666     * Add a new file selector entry widget to the given parent
6667     * Elementary (container) object
6668     *
6669     * @param parent The parent object
6670     * @return a new file selector entry widget handle or @c NULL, on
6671     * errors
6672     */
6673    EAPI Evas_Object *elm_fileselector_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6674
6675    /**
6676     * Set the label for a given file selector entry widget's button
6677     *
6678     * @param obj The file selector entry widget
6679     * @param label The text label to be displayed on @p obj widget's
6680     * button
6681     *
6682     * @deprecated use elm_object_text_set() instead.
6683     */
6684    EINA_DEPRECATED EAPI void         elm_fileselector_entry_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6685
6686    /**
6687     * Get the label set for a given file selector entry widget's button
6688     *
6689     * @param obj The file selector entry widget
6690     * @return The widget button's label
6691     *
6692     * @deprecated use elm_object_text_set() instead.
6693     */
6694    EINA_DEPRECATED EAPI const char  *elm_fileselector_entry_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6695
6696    /**
6697     * Set the icon on a given file selector entry widget's button
6698     *
6699     * @param obj The file selector entry widget
6700     * @param icon The icon object for the entry's button
6701     *
6702     * Once the icon object is set, a previously set one will be
6703     * deleted. If you want to keep the latter, use the
6704     * elm_fileselector_entry_button_icon_unset() function.
6705     *
6706     * @see elm_fileselector_entry_button_icon_get()
6707     */
6708    EAPI void         elm_fileselector_entry_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6709
6710    /**
6711     * Get the icon set for a given file selector entry widget's button
6712     *
6713     * @param obj The file selector entry widget
6714     * @return The icon object currently set on @p obj widget's button
6715     * or @c NULL, if none is
6716     *
6717     * @see elm_fileselector_entry_button_icon_set()
6718     */
6719    EAPI Evas_Object *elm_fileselector_entry_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6720
6721    /**
6722     * Unset the icon used in a given file selector entry widget's
6723     * button
6724     *
6725     * @param obj The file selector entry widget
6726     * @return The icon object that was being used on @p obj widget's
6727     * button or @c NULL, on errors
6728     *
6729     * Unparent and return the icon object which was set for this
6730     * widget's button.
6731     *
6732     * @see elm_fileselector_entry_button_icon_set()
6733     */
6734    EAPI Evas_Object *elm_fileselector_entry_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6735
6736    /**
6737     * Set the title for a given file selector entry widget's window
6738     *
6739     * @param obj The file selector entry widget
6740     * @param title The title string
6741     *
6742     * This will change the window's title, when the file selector pops
6743     * out after a click on the entry's button. Those windows have the
6744     * default (unlocalized) value of @c "Select a file" as titles.
6745     *
6746     * @note It will only take any effect if the file selector
6747     * entry widget is @b not under "inwin mode".
6748     *
6749     * @see elm_fileselector_entry_window_title_get()
6750     */
6751    EAPI void         elm_fileselector_entry_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
6752
6753    /**
6754     * Get the title set for a given file selector entry widget's
6755     * window
6756     *
6757     * @param obj The file selector entry widget
6758     * @return Title of the file selector entry's window
6759     *
6760     * @see elm_fileselector_entry_window_title_get() for more details
6761     */
6762    EAPI const char  *elm_fileselector_entry_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6763
6764    /**
6765     * Set the size of a given file selector entry widget's window,
6766     * holding the file selector itself.
6767     *
6768     * @param obj The file selector entry widget
6769     * @param width The window's width
6770     * @param height The window's height
6771     *
6772     * @note it will only take any effect if the file selector entry
6773     * widget is @b not under "inwin mode". The default size for the
6774     * window (when applicable) is 400x400 pixels.
6775     *
6776     * @see elm_fileselector_entry_window_size_get()
6777     */
6778    EAPI void         elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
6779
6780    /**
6781     * Get the size of a given file selector entry widget's window,
6782     * holding the file selector itself.
6783     *
6784     * @param obj The file selector entry widget
6785     * @param width Pointer into which to store the width value
6786     * @param height Pointer into which to store the height value
6787     *
6788     * @note Use @c NULL pointers on the size values you're not
6789     * interested in: they'll be ignored by the function.
6790     *
6791     * @see elm_fileselector_entry_window_size_set(), for more details
6792     */
6793    EAPI void         elm_fileselector_entry_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
6794
6795    /**
6796     * Set the initial file system path and the entry's path string for
6797     * a given file selector entry widget
6798     *
6799     * @param obj The file selector entry widget
6800     * @param path The path string
6801     *
6802     * It must be a <b>directory</b> path, which will have the contents
6803     * displayed initially in the file selector's view, when invoked
6804     * from @p obj. The default initial path is the @c "HOME"
6805     * environment variable's value.
6806     *
6807     * @see elm_fileselector_entry_path_get()
6808     */
6809    EAPI void         elm_fileselector_entry_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
6810
6811    /**
6812     * Get the entry's path string for a given file selector entry
6813     * widget
6814     *
6815     * @param obj The file selector entry widget
6816     * @return path The path string
6817     *
6818     * @see elm_fileselector_entry_path_set() for more details
6819     */
6820    EAPI const char  *elm_fileselector_entry_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6821
6822    /**
6823     * Enable/disable a tree view in the given file selector entry
6824     * widget's internal file selector
6825     *
6826     * @param obj The file selector entry widget
6827     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
6828     * disable
6829     *
6830     * This has the same effect as elm_fileselector_expandable_set(),
6831     * but now applied to a file selector entry's internal file
6832     * selector.
6833     *
6834     * @note There's no way to put a file selector entry's internal
6835     * file selector in "grid mode", as one may do with "pure" file
6836     * selectors.
6837     *
6838     * @see elm_fileselector_expandable_get()
6839     */
6840    EAPI void         elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6841
6842    /**
6843     * Get whether tree view is enabled for the given file selector
6844     * entry widget's internal file selector
6845     *
6846     * @param obj The file selector entry widget
6847     * @return @c EINA_TRUE if @p obj widget's internal file selector
6848     * is in tree view, @c EINA_FALSE otherwise (and or errors)
6849     *
6850     * @see elm_fileselector_expandable_set() for more details
6851     */
6852    EAPI Eina_Bool    elm_fileselector_entry_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6853
6854    /**
6855     * Set whether a given file selector entry widget's internal file
6856     * selector is to display folders only or the directory contents,
6857     * as well.
6858     *
6859     * @param obj The file selector entry widget
6860     * @param only @c EINA_TRUE to make @p obj widget's internal file
6861     * selector only display directories, @c EINA_FALSE to make files
6862     * to be displayed in it too
6863     *
6864     * This has the same effect as elm_fileselector_folder_only_set(),
6865     * but now applied to a file selector entry's internal file
6866     * selector.
6867     *
6868     * @see elm_fileselector_folder_only_get()
6869     */
6870    EAPI void         elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6871
6872    /**
6873     * Get whether a given file selector entry widget's internal file
6874     * selector is displaying folders only or the directory contents,
6875     * as well.
6876     *
6877     * @param obj The file selector entry widget
6878     * @return @c EINA_TRUE if @p obj widget's internal file
6879     * selector is only displaying directories, @c EINA_FALSE if files
6880     * are being displayed in it too (and on errors)
6881     *
6882     * @see elm_fileselector_entry_folder_only_set() for more details
6883     */
6884    EAPI Eina_Bool    elm_fileselector_entry_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6885
6886    /**
6887     * Enable/disable the file name entry box where the user can type
6888     * in a name for a file, in a given file selector entry widget's
6889     * internal file selector.
6890     *
6891     * @param obj The file selector entry widget
6892     * @param is_save @c EINA_TRUE to make @p obj widget's internal
6893     * file selector a "saving dialog", @c EINA_FALSE otherwise
6894     *
6895     * This has the same effect as elm_fileselector_is_save_set(),
6896     * but now applied to a file selector entry's internal file
6897     * selector.
6898     *
6899     * @see elm_fileselector_is_save_get()
6900     */
6901    EAPI void         elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6902
6903    /**
6904     * Get whether the given file selector entry widget's internal
6905     * file selector is in "saving dialog" mode
6906     *
6907     * @param obj The file selector entry widget
6908     * @return @c EINA_TRUE, if @p obj widget's internal file selector
6909     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
6910     * errors)
6911     *
6912     * @see elm_fileselector_entry_is_save_set() for more details
6913     */
6914    EAPI Eina_Bool    elm_fileselector_entry_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6915
6916    /**
6917     * Set whether a given file selector entry widget's internal file
6918     * selector will raise an Elementary "inner window", instead of a
6919     * dedicated Elementary window. By default, it won't.
6920     *
6921     * @param obj The file selector entry widget
6922     * @param value @c EINA_TRUE to make it use an inner window, @c
6923     * EINA_TRUE to make it use a dedicated window
6924     *
6925     * @see elm_win_inwin_add() for more information on inner windows
6926     * @see elm_fileselector_entry_inwin_mode_get()
6927     */
6928    EAPI void         elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6929
6930    /**
6931     * Get whether a given file selector entry widget's internal file
6932     * selector will raise an Elementary "inner window", instead of a
6933     * dedicated Elementary window.
6934     *
6935     * @param obj The file selector entry widget
6936     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
6937     * if it will use a dedicated window
6938     *
6939     * @see elm_fileselector_entry_inwin_mode_set() for more details
6940     */
6941    EAPI Eina_Bool    elm_fileselector_entry_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6942
6943    /**
6944     * Set the initial file system path for a given file selector entry
6945     * widget
6946     *
6947     * @param obj The file selector entry widget
6948     * @param path The path string
6949     *
6950     * It must be a <b>directory</b> path, which will have the contents
6951     * displayed initially in the file selector's view, when invoked
6952     * from @p obj. The default initial path is the @c "HOME"
6953     * environment variable's value.
6954     *
6955     * @see elm_fileselector_entry_path_get()
6956     */
6957    EAPI void         elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
6958
6959    /**
6960     * Get the parent directory's path to the latest file selection on
6961     * a given filer selector entry widget
6962     *
6963     * @param obj The file selector object
6964     * @return The (full) path of the directory of the last selection
6965     * on @p obj widget, a @b stringshared string
6966     *
6967     * @see elm_fileselector_entry_path_set()
6968     */
6969    EAPI const char  *elm_fileselector_entry_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6970
6971    /**
6972     * @}
6973     */
6974
6975    /**
6976     * @defgroup Scroller Scroller
6977     *
6978     * A scroller holds a single object and "scrolls it around". This means that
6979     * it allows the user to use a scrollbar (or a finger) to drag the viewable
6980     * region around, allowing to move through a much larger object that is
6981     * contained in the scroller. The scroiller will always have a small minimum
6982     * size by default as it won't be limited by the contents of the scroller.
6983     *
6984     * Signals that you can add callbacks for are:
6985     * @li "edge,left" - the left edge of the content has been reached
6986     * @li "edge,right" - the right edge of the content has been reached
6987     * @li "edge,top" - the top edge of the content has been reached
6988     * @li "edge,bottom" - the bottom edge of the content has been reached
6989     * @li "scroll" - the content has been scrolled (moved)
6990     * @li "scroll,anim,start" - scrolling animation has started
6991     * @li "scroll,anim,stop" - scrolling animation has stopped
6992     * @li "scroll,drag,start" - dragging the contents around has started
6993     * @li "scroll,drag,stop" - dragging the contents around has stopped
6994     * @note The "scroll,anim,*" and "scroll,drag,*" signals are only emitted by
6995     * user intervetion.
6996     *
6997     * @note When Elemementary is in embedded mode the scrollbars will not be
6998     * dragable, they appear merely as indicators of how much has been scrolled.
6999     * @note When Elementary is in desktop mode the thumbscroll(a.k.a.
7000     * fingerscroll) won't work.
7001     *
7002     * In @ref tutorial_scroller you'll find an example of how to use most of
7003     * this API.
7004     * @{
7005     */
7006    /**
7007     * @brief Type that controls when scrollbars should appear.
7008     *
7009     * @see elm_scroller_policy_set()
7010     */
7011    typedef enum _Elm_Scroller_Policy
7012      {
7013         ELM_SCROLLER_POLICY_AUTO = 0, /**< Show scrollbars as needed */
7014         ELM_SCROLLER_POLICY_ON, /**< Always show scrollbars */
7015         ELM_SCROLLER_POLICY_OFF, /**< Never show scrollbars */
7016         ELM_SCROLLER_POLICY_LAST
7017      } Elm_Scroller_Policy;
7018    /**
7019     * @brief Add a new scroller to the parent
7020     *
7021     * @param parent The parent object
7022     * @return The new object or NULL if it cannot be created
7023     */
7024    EAPI Evas_Object *elm_scroller_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7025    /**
7026     * @brief Set the content of the scroller widget (the object to be scrolled around).
7027     *
7028     * @param obj The scroller object
7029     * @param content The new content object
7030     *
7031     * Once the content object is set, a previously set one will be deleted.
7032     * If you want to keep that old content object, use the
7033     * elm_scroller_content_unset() function.
7034     */
7035    EAPI void         elm_scroller_content_set(Evas_Object *obj, Evas_Object *child) EINA_ARG_NONNULL(1);
7036    /**
7037     * @brief Get the content of the scroller widget
7038     *
7039     * @param obj The slider object
7040     * @return The content that is being used
7041     *
7042     * Return the content object which is set for this widget
7043     *
7044     * @see elm_scroller_content_set()
7045     */
7046    EAPI Evas_Object *elm_scroller_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7047    /**
7048     * @brief Unset the content of the scroller widget
7049     *
7050     * @param obj The slider object
7051     * @return The content that was being used
7052     *
7053     * Unparent and return the content object which was set for this widget
7054     *
7055     * @see elm_scroller_content_set()
7056     */
7057    EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7058    /**
7059     * @brief Set custom theme elements for the scroller
7060     *
7061     * @param obj The scroller object
7062     * @param widget The widget name to use (default is "scroller")
7063     * @param base The base name to use (default is "base")
7064     */
7065    EAPI void         elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base) EINA_ARG_NONNULL(1, 2, 3);
7066    /**
7067     * @brief Make the scroller minimum size limited to the minimum size of the content
7068     *
7069     * @param obj The scroller object
7070     * @param w Enable limiting minimum size horizontally
7071     * @param h Enable limiting minimum size vertically
7072     *
7073     * By default the scroller will be as small as its design allows,
7074     * irrespective of its content. This will make the scroller minimum size the
7075     * right size horizontally and/or vertically to perfectly fit its content in
7076     * that direction.
7077     */
7078    EAPI void         elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h) EINA_ARG_NONNULL(1);
7079    /**
7080     * @brief Show a specific virtual region within the scroller content object
7081     *
7082     * @param obj The scroller object
7083     * @param x X coordinate of the region
7084     * @param y Y coordinate of the region
7085     * @param w Width of the region
7086     * @param h Height of the region
7087     *
7088     * This will ensure all (or part if it does not fit) of the designated
7089     * region in the virtual content object (0, 0 starting at the top-left of the
7090     * virtual content object) is shown within the scroller.
7091     */
7092    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);
7093    /**
7094     * @brief Set the scrollbar visibility policy
7095     *
7096     * @param obj The scroller object
7097     * @param policy_h Horizontal scrollbar policy
7098     * @param policy_v Vertical scrollbar policy
7099     *
7100     * This sets the scrollbar visibility policy for the given scroller.
7101     * ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is
7102     * needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns it on all
7103     * the time, and ELM_SCROLLER_POLICY_OFF always keeps it off. This applies
7104     * respectively for the horizontal and vertical scrollbars.
7105     */
7106    EAPI void         elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
7107    /**
7108     * @brief Gets scrollbar visibility policy
7109     *
7110     * @param obj The scroller object
7111     * @param policy_h Horizontal scrollbar policy
7112     * @param policy_v Vertical scrollbar policy
7113     *
7114     * @see elm_scroller_policy_set()
7115     */
7116    EAPI void         elm_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) EINA_ARG_NONNULL(1);
7117    /**
7118     * @brief Get the currently visible content region
7119     *
7120     * @param obj The scroller object
7121     * @param x X coordinate of the region
7122     * @param y Y coordinate of the region
7123     * @param w Width of the region
7124     * @param h Height of the region
7125     *
7126     * This gets the current region in the content object that is visible through
7127     * the scroller. The region co-ordinates are returned in the @p x, @p y, @p
7128     * w, @p h values pointed to.
7129     *
7130     * @note All coordinates are relative to the content.
7131     *
7132     * @see elm_scroller_region_show()
7133     */
7134    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);
7135    /**
7136     * @brief Get the size of the content object
7137     *
7138     * @param obj The scroller object
7139     * @param w Width return
7140     * @param h Height return
7141     *
7142     * This gets the size of the content object of the scroller.
7143     */
7144    EAPI void         elm_scroller_child_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
7145    /**
7146     * @brief Set bouncing behavior
7147     *
7148     * @param obj The scroller object
7149     * @param h_bounce Will the scroller bounce horizontally or not
7150     * @param v_bounce Will the scroller bounce vertically or not
7151     *
7152     * When scrolling, the scroller may "bounce" when reaching an edge of the
7153     * content object. This is a visual way to indicate the end has been reached.
7154     * This is enabled by default for both axis. This will set if it is enabled
7155     * for that axis with the boolean parameters for each axis.
7156     */
7157    EAPI void         elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
7158    /**
7159     * @brief Get the bounce mode
7160     *
7161     * @param obj The Scroller object
7162     * @param h_bounce Allow bounce horizontally
7163     * @param v_bounce Allow bounce vertically
7164     *
7165     * @see elm_scroller_bounce_set()
7166     */
7167    EAPI void         elm_scroller_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
7168    /**
7169     * @brief Set scroll page size relative to viewport size.
7170     *
7171     * @param obj The scroller object
7172     * @param h_pagerel The horizontal page relative size
7173     * @param v_pagerel The vertical page relative size
7174     *
7175     * The scroller is capable of limiting scrolling by the user to "pages". That
7176     * is to jump by and only show a "whole page" at a time as if the continuous
7177     * area of the scroller content is split into page sized pieces. This sets
7178     * the size of a page relative to the viewport of the scroller. 1.0 is "1
7179     * viewport" is size (horizontally or vertically). 0.0 turns it off in that
7180     * axis. This is mutually exclusive with page size
7181     * (see elm_scroller_page_size_set()  for more information). Likewise 0.5
7182     * is "half a viewport". Sane usable valus are normally between 0.0 and 1.0
7183     * including 1.0. If you only want 1 axis to be page "limited", use 0.0 for
7184     * the other axis.
7185     */
7186    EAPI void         elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
7187    /**
7188     * @brief Set scroll page size.
7189     *
7190     * @param obj The scroller object
7191     * @param h_pagesize The horizontal page size
7192     * @param v_pagesize The vertical page size
7193     *
7194     * This sets the page size to an absolute fixed value, with 0 turning it off
7195     * for that axis.
7196     *
7197     * @see elm_scroller_page_relative_set()
7198     */
7199    EAPI void         elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
7200    /**
7201     * @brief Get scroll current page number.
7202     *
7203     * @param obj The scroller object
7204     * @param h_pagenumber The horizontal page number
7205     * @param v_pagenumber The vertical page number
7206     *
7207     * The page number starts from 0. 0 is the first page.
7208     * Current page means the page which meet the top-left of the viewport.
7209     * If there are two or more pages in the viewport, it returns the number of page
7210     * which meet the top-left of the viewport.
7211     *
7212     * @see elm_scroller_last_page_get()
7213     * @see elm_scroller_page_show()
7214     * @see elm_scroller_page_brint_in()
7215     */
7216    EAPI void         elm_scroller_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
7217    /**
7218     * @brief Get scroll last page number.
7219     *
7220     * @param obj The scroller object
7221     * @param h_pagenumber The horizontal page number
7222     * @param v_pagenumber The vertical page number
7223     *
7224     * The page number starts from 0. 0 is the first page.
7225     * This returns the last page number among the pages.
7226     *
7227     * @see elm_scroller_current_page_get()
7228     * @see elm_scroller_page_show()
7229     * @see elm_scroller_page_brint_in()
7230     */
7231    EAPI void         elm_scroller_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
7232    /**
7233     * Show a specific virtual region within the scroller content object by page number.
7234     *
7235     * @param obj The scroller object
7236     * @param h_pagenumber The horizontal page number
7237     * @param v_pagenumber The vertical page number
7238     *
7239     * 0, 0 of the indicated page is located at the top-left of the viewport.
7240     * This will jump to the page directly without animation.
7241     *
7242     * Example of usage:
7243     *
7244     * @code
7245     * sc = elm_scroller_add(win);
7246     * elm_scroller_content_set(sc, content);
7247     * elm_scroller_page_relative_set(sc, 1, 0);
7248     * elm_scroller_current_page_get(sc, &h_page, &v_page);
7249     * elm_scroller_page_show(sc, h_page + 1, v_page);
7250     * @endcode
7251     *
7252     * @see elm_scroller_page_bring_in()
7253     */
7254    EAPI void         elm_scroller_page_show(Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
7255    /**
7256     * Show a specific virtual region within the scroller content object by page number.
7257     *
7258     * @param obj The scroller object
7259     * @param h_pagenumber The horizontal page number
7260     * @param v_pagenumber The vertical page number
7261     *
7262     * 0, 0 of the indicated page is located at the top-left of the viewport.
7263     * This will slide to the page with animation.
7264     *
7265     * Example of usage:
7266     *
7267     * @code
7268     * sc = elm_scroller_add(win);
7269     * elm_scroller_content_set(sc, content);
7270     * elm_scroller_page_relative_set(sc, 1, 0);
7271     * elm_scroller_last_page_get(sc, &h_page, &v_page);
7272     * elm_scroller_page_bring_in(sc, h_page, v_page);
7273     * @endcode
7274     *
7275     * @see elm_scroller_page_show()
7276     */
7277    EAPI void         elm_scroller_page_bring_in(Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
7278    /**
7279     * @brief Show a specific virtual region within the scroller content object.
7280     *
7281     * @param obj The scroller object
7282     * @param x X coordinate of the region
7283     * @param y Y coordinate of the region
7284     * @param w Width of the region
7285     * @param h Height of the region
7286     *
7287     * This will ensure all (or part if it does not fit) of the designated
7288     * region in the virtual content object (0, 0 starting at the top-left of the
7289     * virtual content object) is shown within the scroller. Unlike
7290     * elm_scroller_region_show(), this allow the scroller to "smoothly slide"
7291     * to this location (if configuration in general calls for transitions). It
7292     * may not jump immediately to the new location and make take a while and
7293     * show other content along the way.
7294     *
7295     * @see elm_scroller_region_show()
7296     */
7297    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);
7298    /**
7299     * @brief Set event propagation on a scroller
7300     *
7301     * @param obj The scroller object
7302     * @param propagation If propagation is enabled or not
7303     *
7304     * This enables or disabled event propagation from the scroller content to
7305     * the scroller and its parent. By default event propagation is disabled.
7306     */
7307    EAPI void         elm_scroller_propagate_events_set(Evas_Object *obj, Eina_Bool propagation) EINA_ARG_NONNULL(1);
7308    /**
7309     * @brief Get event propagation for a scroller
7310     *
7311     * @param obj The scroller object
7312     * @return The propagation state
7313     *
7314     * This gets the event propagation for a scroller.
7315     *
7316     * @see elm_scroller_propagate_events_set()
7317     */
7318    EAPI Eina_Bool    elm_scroller_propagate_events_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7319    /**
7320     * @brief Set scrolling gravity on a scroller
7321     *
7322     * @param obj The scroller object
7323     * @param x The scrolling horizontal gravity
7324     * @param y The scrolling vertical gravity
7325     *
7326     * It set scrolling gravity. It adds scrolling weight values
7327     * to the scroller. Usually it uses for stopping the scroller.
7328     * To set y as 0.0 for lower growing child objects,
7329     * even though child objects are added to bottom, the scroller doesn't move.
7330     * To set y as 1.0 for upper growing child objects. And x is horizontal gravity.
7331     * By default 0.0 for x and y.
7332     */
7333    EAPI void         elm_scroller_gravity_set(Evas_Object *obj, double x, double y) EINA_ARG_NONNULL(1);
7334    /**
7335     * @brief Get scrolling gravity values for a scroller
7336     *
7337     * @param obj The scroller object
7338     * @param x The scrolling horizontal gravity
7339     * @param y The scrolling vertical gravity
7340     *
7341     * This gets gravity values for a scroller.
7342     *
7343     * @see elm_scroller_gravity_set()
7344     *
7345     */
7346    EAPI void         elm_scroller_gravity_get(const Evas_Object *obj, double *x, double *y) EINA_ARG_NONNULL(1);
7347    /**
7348     * @}
7349     */
7350
7351    /**
7352     * @defgroup Label Label
7353     *
7354     * @image html img/widget/label/preview-00.png
7355     * @image latex img/widget/label/preview-00.eps
7356     *
7357     * @brief Widget to display text, with simple html-like markup.
7358     *
7359     * The Label widget @b doesn't allow text to overflow its boundaries, if the
7360     * text doesn't fit the geometry of the label it will be ellipsized or be
7361     * cut. Elementary provides several themes for this widget:
7362     * @li default - No animation
7363     * @li marker - Centers the text in the label and make it bold by default
7364     * @li slide_long - The entire text appears from the right of the screen and
7365     * slides until it disappears in the left of the screen(reappering on the
7366     * right again).
7367     * @li slide_short - The text appears in the left of the label and slides to
7368     * the right to show the overflow. When all of the text has been shown the
7369     * position is reset.
7370     * @li slide_bounce - The text appears in the left of the label and slides to
7371     * the right to show the overflow. When all of the text has been shown the
7372     * animation reverses, moving the text to the left.
7373     *
7374     * Custom themes can of course invent new markup tags and style them any way
7375     * they like.
7376     *
7377     * The following signals may be emitted by the label widget:
7378     * @li "language,changed": The program's language changed.
7379     *
7380     * See @ref tutorial_label for a demonstration of how to use a label widget.
7381     * @{
7382     */
7383    /**
7384     * @brief Add a new label to the parent
7385     *
7386     * @param parent The parent object
7387     * @return The new object or NULL if it cannot be created
7388     */
7389    EAPI Evas_Object *elm_label_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7390    /**
7391     * @brief Set the label on the label object
7392     *
7393     * @param obj The label object
7394     * @param label The label will be used on the label object
7395     * @deprecated See elm_object_text_set()
7396     */
7397    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 */
7398    /**
7399     * @brief Get the label used on the label object
7400     *
7401     * @param obj The label object
7402     * @return The string inside the label
7403     * @deprecated See elm_object_text_get()
7404     */
7405    EINA_DEPRECATED EAPI const char *elm_label_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); /* deprecated, use elm_object_text_get instead */
7406    /**
7407     * @brief Set the wrapping behavior of the label
7408     *
7409     * @param obj The label object
7410     * @param wrap To wrap text or not
7411     *
7412     * By default no wrapping is done. Possible values for @p wrap are:
7413     * @li ELM_WRAP_NONE - No wrapping
7414     * @li ELM_WRAP_CHAR - wrap between characters
7415     * @li ELM_WRAP_WORD - wrap between words
7416     * @li ELM_WRAP_MIXED - Word wrap, and if that fails, char wrap
7417     */
7418    EAPI void         elm_label_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
7419    /**
7420     * @brief Get the wrapping behavior of the label
7421     *
7422     * @param obj The label object
7423     * @return Wrap type
7424     *
7425     * @see elm_label_line_wrap_set()
7426     */
7427    EAPI Elm_Wrap_Type elm_label_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7428    /**
7429     * @brief Set wrap width of the label
7430     *
7431     * @param obj The label object
7432     * @param w The wrap width in pixels at a minimum where words need to wrap
7433     *
7434     * This function sets the maximum width size hint of the label.
7435     *
7436     * @warning This is only relevant if the label is inside a container.
7437     */
7438    EAPI void         elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w) EINA_ARG_NONNULL(1);
7439    /**
7440     * @brief Get wrap width of the label
7441     *
7442     * @param obj The label object
7443     * @return The wrap width in pixels at a minimum where words need to wrap
7444     *
7445     * @see elm_label_wrap_width_set()
7446     */
7447    EAPI Evas_Coord   elm_label_wrap_width_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7448    /**
7449     * @brief Set wrap height of the label
7450     *
7451     * @param obj The label object
7452     * @param h The wrap height in pixels at a minimum where words need to wrap
7453     *
7454     * This function sets the maximum height size hint of the label.
7455     *
7456     * @warning This is only relevant if the label is inside a container.
7457     */
7458    EAPI void         elm_label_wrap_height_set(Evas_Object *obj, Evas_Coord h) EINA_ARG_NONNULL(1);
7459    /**
7460     * @brief get wrap width of the label
7461     *
7462     * @param obj The label object
7463     * @return The wrap height in pixels at a minimum where words need to wrap
7464     */
7465    EAPI Evas_Coord   elm_label_wrap_height_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7466    /**
7467     * @brief Set the font size on the label object.
7468     *
7469     * @param obj The label object
7470     * @param size font size
7471     *
7472     * @warning NEVER use this. It is for hyper-special cases only. use styles
7473     * instead. e.g. "big", "medium", "small" - or better name them by use:
7474     * "title", "footnote", "quote" etc.
7475     */
7476    EAPI void         elm_label_fontsize_set(Evas_Object *obj, int fontsize) EINA_ARG_NONNULL(1);
7477    /**
7478     * @brief Set the text color on the label object
7479     *
7480     * @param obj The label object
7481     * @param r Red property background color of The label object
7482     * @param g Green property background color of The label object
7483     * @param b Blue property background color of The label object
7484     * @param a Alpha property background color of The label object
7485     *
7486     * @warning NEVER use this. It is for hyper-special cases only. use styles
7487     * instead. e.g. "big", "medium", "small" - or better name them by use:
7488     * "title", "footnote", "quote" etc.
7489     */
7490    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);
7491    /**
7492     * @brief Set the text align on the label object
7493     *
7494     * @param obj The label object
7495     * @param align align mode ("left", "center", "right")
7496     *
7497     * @warning NEVER use this. It is for hyper-special cases only. use styles
7498     * instead. e.g. "big", "medium", "small" - or better name them by use:
7499     * "title", "footnote", "quote" etc.
7500     */
7501    EAPI void         elm_label_text_align_set(Evas_Object *obj, const char *alignmode) EINA_ARG_NONNULL(1);
7502    /**
7503     * @brief Set background color of the label
7504     *
7505     * @param obj The label object
7506     * @param r Red property background color of The label object
7507     * @param g Green property background color of The label object
7508     * @param b Blue property background color of The label object
7509     * @param a Alpha property background alpha of The label object
7510     *
7511     * @warning NEVER use this. It is for hyper-special cases only. use styles
7512     * instead. e.g. "big", "medium", "small" - or better name them by use:
7513     * "title", "footnote", "quote" etc.
7514     */
7515    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);
7516    /**
7517     * @brief Set the ellipsis behavior of the label
7518     *
7519     * @param obj The label object
7520     * @param ellipsis To ellipsis text or not
7521     *
7522     * If set to true and the text doesn't fit in the label an ellipsis("...")
7523     * will be shown at the end of the widget.
7524     *
7525     * @warning This doesn't work with slide(elm_label_slide_set()) or if the
7526     * choosen wrap method was ELM_WRAP_WORD.
7527     */
7528    EAPI void         elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis) EINA_ARG_NONNULL(1);
7529    /**
7530     * @brief Set the text slide of the label
7531     *
7532     * @param obj The label object
7533     * @param slide To start slide or stop
7534     *
7535     * If set to true the text of the label will slide throught the length of
7536     * label.
7537     *
7538     * @warning This only work with the themes "slide_short", "slide_long" and
7539     * "slide_bounce".
7540     */
7541    EAPI void         elm_label_slide_set(Evas_Object *obj, Eina_Bool slide) EINA_ARG_NONNULL(1);
7542    /**
7543     * @brief Get the text slide mode of the label
7544     *
7545     * @param obj The label object
7546     * @return slide slide mode value
7547     *
7548     * @see elm_label_slide_set()
7549     */
7550    EAPI Eina_Bool    elm_label_slide_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
7551    /**
7552     * @brief Set the slide duration(speed) of the label
7553     *
7554     * @param obj The label object
7555     * @return The duration in seconds in moving text from slide begin position
7556     * to slide end position
7557     */
7558    EAPI void         elm_label_slide_duration_set(Evas_Object *obj, double duration) EINA_ARG_NONNULL(1);
7559    /**
7560     * @brief Get the slide duration(speed) of the label
7561     *
7562     * @param obj The label object
7563     * @return The duration time in moving text from slide begin position to slide end position
7564     *
7565     * @see elm_label_slide_duration_set()
7566     */
7567    EAPI double       elm_label_slide_duration_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
7568    /**
7569     * @}
7570     */
7571
7572    /**
7573     * @defgroup Toggle Toggle
7574     *
7575     * @image html img/widget/toggle/preview-00.png
7576     * @image latex img/widget/toggle/preview-00.eps
7577     *
7578     * @brief A toggle is a slider which can be used to toggle between
7579     * two values.  It has two states: on and off.
7580     *
7581     * This widget is deprecated. Please use elm_check_add() instead using the
7582     * toggle style like:
7583     * 
7584     * @code
7585     * obj = elm_check_add(parent);
7586     * elm_object_style_set(obj, "toggle");
7587     * elm_check_states_labels_set(obj, "ON", "OFF");
7588     * @endcode
7589     * 
7590     * Signals that you can add callbacks for are:
7591     * @li "changed" - Whenever the toggle value has been changed.  Is not called
7592     *                 until the toggle is released by the cursor (assuming it
7593     *                 has been triggered by the cursor in the first place).
7594     *
7595     * @ref tutorial_toggle show how to use a toggle.
7596     * @{
7597     */
7598    /**
7599     * @brief Add a toggle to @p parent.
7600     *
7601     * @param parent The parent object
7602     *
7603     * @return The toggle object
7604     */
7605    EINA_DEPRECATED EAPI Evas_Object *elm_toggle_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7606    /**
7607     * @brief Sets the label to be displayed with the toggle.
7608     *
7609     * @param obj The toggle object
7610     * @param label The label to be displayed
7611     *
7612     * @deprecated use elm_object_text_set() instead.
7613     */
7614    EINA_DEPRECATED EAPI void         elm_toggle_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
7615    /**
7616     * @brief Gets the label of the toggle
7617     *
7618     * @param obj  toggle object
7619     * @return The label of the toggle
7620     *
7621     * @deprecated use elm_object_text_get() instead.
7622     */
7623    EINA_DEPRECATED EAPI const char  *elm_toggle_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7624    /**
7625     * @brief Set the icon used for the toggle
7626     *
7627     * @param obj The toggle object
7628     * @param icon The icon object for the button
7629     *
7630     * Once the icon object is set, a previously set one will be deleted
7631     * If you want to keep that old content object, use the
7632     * elm_toggle_icon_unset() function.
7633     */
7634    EINA_DEPRECATED EAPI void         elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
7635    /**
7636     * @brief Get the icon used for the toggle
7637     *
7638     * @param obj The toggle object
7639     * @return The icon object that is being used
7640     *
7641     * Return the icon object which is set for this widget.
7642     *
7643     * @see elm_toggle_icon_set()
7644     */
7645    EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7646    /**
7647     * @brief Unset the icon used for the toggle
7648     *
7649     * @param obj The toggle object
7650     * @return The icon object that was being used
7651     *
7652     * Unparent and return the icon object which was set for this widget.
7653     *
7654     * @see elm_toggle_icon_set()
7655     */
7656    EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7657    /**
7658     * @brief Sets the labels to be associated with the on and off states of the toggle.
7659     *
7660     * @param obj The toggle object
7661     * @param onlabel The label displayed when the toggle is in the "on" state
7662     * @param offlabel The label displayed when the toggle is in the "off" state
7663     */
7664    EINA_DEPRECATED EAPI void         elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel) EINA_ARG_NONNULL(1);
7665    /**
7666     * @brief Gets the labels associated with the on and off states of the toggle.
7667     *
7668     * @param obj The toggle object
7669     * @param onlabel A char** to place the onlabel of @p obj into
7670     * @param offlabel A char** to place the offlabel of @p obj into
7671     */
7672    EINA_DEPRECATED EAPI void         elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel) EINA_ARG_NONNULL(1);
7673    /**
7674     * @brief Sets the state of the toggle to @p state.
7675     *
7676     * @param obj The toggle object
7677     * @param state The state of @p obj
7678     */
7679    EINA_DEPRECATED EAPI void         elm_toggle_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
7680    /**
7681     * @brief Gets the state of the toggle to @p state.
7682     *
7683     * @param obj The toggle object
7684     * @return The state of @p obj
7685     */
7686    EINA_DEPRECATED EAPI Eina_Bool    elm_toggle_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7687    /**
7688     * @brief Sets the state pointer of the toggle to @p statep.
7689     *
7690     * @param obj The toggle object
7691     * @param statep The state pointer of @p obj
7692     */
7693    EINA_DEPRECATED EAPI void         elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
7694    /**
7695     * @}
7696     */
7697
7698    /**
7699     * @defgroup Frame Frame
7700     *
7701     * @image html img/widget/frame/preview-00.png
7702     * @image latex img/widget/frame/preview-00.eps
7703     *
7704     * @brief Frame is a widget that holds some content and has a title.
7705     *
7706     * The default look is a frame with a title, but Frame supports multple
7707     * styles:
7708     * @li default
7709     * @li pad_small
7710     * @li pad_medium
7711     * @li pad_large
7712     * @li pad_huge
7713     * @li outdent_top
7714     * @li outdent_bottom
7715     *
7716     * Of all this styles only default shows the title. Frame emits no signals.
7717     *
7718     * For a detailed example see the @ref tutorial_frame.
7719     *
7720     * @{
7721     */
7722    /**
7723     * @brief Add a new frame to the parent
7724     *
7725     * @param parent The parent object
7726     * @return The new object or NULL if it cannot be created
7727     */
7728    EAPI Evas_Object *elm_frame_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7729    /**
7730     * @brief Set the frame label
7731     *
7732     * @param obj The frame object
7733     * @param label The label of this frame object
7734     *
7735     * @deprecated use elm_object_text_set() instead.
7736     */
7737    EINA_DEPRECATED EAPI void         elm_frame_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
7738    /**
7739     * @brief Get the frame label
7740     *
7741     * @param obj The frame object
7742     *
7743     * @return The label of this frame objet or NULL if unable to get frame
7744     *
7745     * @deprecated use elm_object_text_get() instead.
7746     */
7747    EINA_DEPRECATED EAPI const char  *elm_frame_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7748    /**
7749     * @brief Set the content of the frame widget
7750     *
7751     * Once the content object is set, a previously set one will be deleted.
7752     * If you want to keep that old content object, use the
7753     * elm_frame_content_unset() function.
7754     *
7755     * @param obj The frame object
7756     * @param content The content will be filled in this frame object
7757     */
7758    EAPI void         elm_frame_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
7759    /**
7760     * @brief Get the content of the frame widget
7761     *
7762     * Return the content object which is set for this widget
7763     *
7764     * @param obj The frame object
7765     * @return The content that is being used
7766     */
7767    EAPI Evas_Object *elm_frame_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7768    /**
7769     * @brief Unset the content of the frame widget
7770     *
7771     * Unparent and return the content object which was set for this widget
7772     *
7773     * @param obj The frame object
7774     * @return The content that was being used
7775     */
7776    EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7777    /**
7778     * @}
7779     */
7780
7781    /**
7782     * @defgroup Table Table
7783     *
7784     * A container widget to arrange other widgets in a table where items can
7785     * also span multiple columns or rows - even overlap (and then be raised or
7786     * lowered accordingly to adjust stacking if they do overlap).
7787     *
7788     * The followin are examples of how to use a table:
7789     * @li @ref tutorial_table_01
7790     * @li @ref tutorial_table_02
7791     *
7792     * @{
7793     */
7794    /**
7795     * @brief Add a new table to the parent
7796     *
7797     * @param parent The parent object
7798     * @return The new object or NULL if it cannot be created
7799     */
7800    EAPI Evas_Object *elm_table_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7801    /**
7802     * @brief Set the homogeneous layout in the table
7803     *
7804     * @param obj The layout object
7805     * @param homogeneous A boolean to set if the layout is homogeneous in the
7806     * table (EINA_TRUE = homogeneous,  EINA_FALSE = no homogeneous)
7807     */
7808    EAPI void         elm_table_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
7809    /**
7810     * @brief Get the current table homogeneous mode.
7811     *
7812     * @param obj The table object
7813     * @return A boolean to indicating if the layout is homogeneous in the table
7814     * (EINA_TRUE = homogeneous,  EINA_FALSE = no homogeneous)
7815     */
7816    EAPI Eina_Bool    elm_table_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7817    /**
7818     * @warning <b>Use elm_table_homogeneous_set() instead</b>
7819     */
7820    EINA_DEPRECATED EAPI void elm_table_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
7821    /**
7822     * @warning <b>Use elm_table_homogeneous_get() instead</b>
7823     */
7824    EINA_DEPRECATED EAPI Eina_Bool elm_table_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7825    /**
7826     * @brief Set padding between cells.
7827     *
7828     * @param obj The layout object.
7829     * @param horizontal set the horizontal padding.
7830     * @param vertical set the vertical padding.
7831     *
7832     * Default value is 0.
7833     */
7834    EAPI void         elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
7835    /**
7836     * @brief Get padding between cells.
7837     *
7838     * @param obj The layout object.
7839     * @param horizontal set the horizontal padding.
7840     * @param vertical set the vertical padding.
7841     */
7842    EAPI void         elm_table_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
7843    /**
7844     * @brief Add a subobject on the table with the coordinates passed
7845     *
7846     * @param obj The table object
7847     * @param subobj The subobject to be added to the table
7848     * @param x Row number
7849     * @param y Column number
7850     * @param w rowspan
7851     * @param h colspan
7852     *
7853     * @note All positioning inside the table is relative to rows and columns, so
7854     * a value of 0 for x and y, means the top left cell of the table, and a
7855     * value of 1 for w and h means @p subobj only takes that 1 cell.
7856     */
7857    EAPI void         elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
7858    /**
7859     * @brief Remove child from table.
7860     *
7861     * @param obj The table object
7862     * @param subobj The subobject
7863     */
7864    EAPI void         elm_table_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
7865    /**
7866     * @brief Faster way to remove all child objects from a table object.
7867     *
7868     * @param obj The table object
7869     * @param clear If true, will delete children, else just remove from table.
7870     */
7871    EAPI void         elm_table_clear(Evas_Object *obj, Eina_Bool clear) EINA_ARG_NONNULL(1);
7872    /**
7873     * @brief Set the packing location of an existing child of the table
7874     *
7875     * @param subobj The subobject to be modified in the table
7876     * @param x Row number
7877     * @param y Column number
7878     * @param w rowspan
7879     * @param h colspan
7880     *
7881     * Modifies the position of an object already in the table.
7882     *
7883     * @note All positioning inside the table is relative to rows and columns, so
7884     * a value of 0 for x and y, means the top left cell of the table, and a
7885     * value of 1 for w and h means @p subobj only takes that 1 cell.
7886     */
7887    EAPI void         elm_table_pack_set(Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
7888    /**
7889     * @brief Get the packing location of an existing child of the table
7890     *
7891     * @param subobj The subobject to be modified in the table
7892     * @param x Row number
7893     * @param y Column number
7894     * @param w rowspan
7895     * @param h colspan
7896     *
7897     * @see elm_table_pack_set()
7898     */
7899    EAPI void         elm_table_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
7900    /**
7901     * @}
7902     */
7903
7904    /* TEMPORARY: DOCS WILL BE FILLED IN WITH CNP/SED */
7905    typedef struct Elm_Gen_Item Elm_Gen_Item;
7906    typedef struct _Elm_Gen_Item_Class Elm_Gen_Item_Class;
7907    typedef struct _Elm_Gen_Item_Class_Func Elm_Gen_Item_Class_Func; /**< Class functions for gen item classes. */
7908    typedef char        *(*Elm_Gen_Item_Label_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< Label fetching class function for gen item classes. */
7909    typedef Evas_Object *(*Elm_Gen_Item_Icon_Get_Cb)  (void *data, Evas_Object *obj, const char *part); /**< Icon fetching class function for gen item classes. */
7910    typedef Eina_Bool    (*Elm_Gen_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< State fetching class function for gen item classes. */
7911    typedef void         (*Elm_Gen_Item_Del_Cb)      (void *data, Evas_Object *obj); /**< Deletion class function for gen item classes. */
7912    struct _Elm_Gen_Item_Class
7913      {
7914         const char             *item_style;
7915         struct _Elm_Gen_Item_Class_Func
7916           {
7917              Elm_Gen_Item_Label_Get_Cb label_get;
7918              Elm_Gen_Item_Icon_Get_Cb  icon_get;
7919              Elm_Gen_Item_State_Get_Cb state_get;
7920              Elm_Gen_Item_Del_Cb       del;
7921           } func;
7922      };
7923    EAPI void elm_gen_clear(Evas_Object *obj);
7924    EAPI void elm_gen_item_selected_set(Elm_Gen_Item *it, Eina_Bool selected);
7925
7926    /**
7927     * @defgroup Gengrid Gengrid (Generic grid)
7928     *
7929     * This widget aims to position objects in a grid layout while
7930     * actually creating and rendering only the visible ones, using the
7931     * same idea as the @ref Genlist "genlist": the user defines a @b
7932     * class for each item, specifying functions that will be called at
7933     * object creation, deletion, etc. When those items are selected by
7934     * the user, a callback function is issued. Users may interact with
7935     * a gengrid via the mouse (by clicking on items to select them and
7936     * clicking on the grid's viewport and swiping to pan the whole
7937     * view) or via the keyboard, navigating through item with the
7938     * arrow keys.
7939     *
7940     * @section Gengrid_Layouts Gengrid layouts
7941     *
7942     * Gengrids may layout its items in one of two possible layouts:
7943     * - horizontal or
7944     * - vertical.
7945     *
7946     * When in "horizontal mode", items will be placed in @b columns,
7947     * from top to bottom and, when the space for a column is filled,
7948     * another one is started on the right, thus expanding the grid
7949     * horizontally, making for horizontal scrolling. When in "vertical
7950     * mode" , though, items will be placed in @b rows, from left to
7951     * right and, when the space for a row is filled, another one is
7952     * started below, thus expanding the grid vertically (and making
7953     * for vertical scrolling).
7954     *
7955     * @section Gengrid_Items Gengrid items
7956     *
7957     * An item in a gengrid can have 0 or more text labels (they can be
7958     * regular text or textblock Evas objects - that's up to the style
7959     * to determine), 0 or more icons (which are simply objects
7960     * swallowed into the gengrid item's theming Edje object) and 0 or
7961     * more <b>boolean states</b>, which have the behavior left to the
7962     * user to define. The Edje part names for each of these properties
7963     * will be looked up, in the theme file for the gengrid, under the
7964     * Edje (string) data items named @c "labels", @c "icons" and @c
7965     * "states", respectively. For each of those properties, if more
7966     * than one part is provided, they must have names listed separated
7967     * by spaces in the data fields. For the default gengrid item
7968     * theme, we have @b one label part (@c "elm.text"), @b two icon
7969     * parts (@c "elm.swalllow.icon" and @c "elm.swallow.end") and @b
7970     * no state parts.
7971     *
7972     * A gengrid item may be at one of several styles. Elementary
7973     * provides one by default - "default", but this can be extended by
7974     * system or application custom themes/overlays/extensions (see
7975     * @ref Theme "themes" for more details).
7976     *
7977     * @section Gengrid_Item_Class Gengrid item classes
7978     *
7979     * In order to have the ability to add and delete items on the fly,
7980     * gengrid implements a class (callback) system where the
7981     * application provides a structure with information about that
7982     * type of item (gengrid may contain multiple different items with
7983     * different classes, states and styles). Gengrid will call the
7984     * functions in this struct (methods) when an item is "realized"
7985     * (i.e., created dynamically, while the user is scrolling the
7986     * grid). All objects will simply be deleted when no longer needed
7987     * with evas_object_del(). The #Elm_GenGrid_Item_Class structure
7988     * contains the following members:
7989     * - @c item_style - This is a constant string and simply defines
7990     * the name of the item style. It @b must be specified and the
7991     * default should be @c "default".
7992     * - @c func.label_get - This function is called when an item
7993     * object is actually created. The @c data parameter will point to
7994     * the same data passed to elm_gengrid_item_append() and related
7995     * item creation functions. The @c obj parameter is the gengrid
7996     * object itself, while the @c part one is the name string of one
7997     * of the existing text parts in the Edje group implementing the
7998     * item's theme. This function @b must return a strdup'()ed string,
7999     * as the caller will free() it when done. See
8000     * #Elm_Gengrid_Item_Label_Get_Cb.
8001     * - @c func.icon_get - This function is called when an item object
8002     * is actually created. The @c data parameter will point to the
8003     * same data passed to elm_gengrid_item_append() and related item
8004     * creation functions. The @c obj parameter is the gengrid object
8005     * itself, while the @c part one is the name string of one of the
8006     * existing (icon) swallow parts in the Edje group implementing the
8007     * item's theme. It must return @c NULL, when no icon is desired,
8008     * or a valid object handle, otherwise. The object will be deleted
8009     * by the gengrid on its deletion or when the item is "unrealized".
8010     * See #Elm_Gengrid_Item_Icon_Get_Cb.
8011     * - @c func.state_get - This function is called when an item
8012     * object is actually created. The @c data parameter will point to
8013     * the same data passed to elm_gengrid_item_append() and related
8014     * item creation functions. The @c obj parameter is the gengrid
8015     * object itself, while the @c part one is the name string of one
8016     * of the state parts in the Edje group implementing the item's
8017     * theme. Return @c EINA_FALSE for false/off or @c EINA_TRUE for
8018     * true/on. Gengrids will emit a signal to its theming Edje object
8019     * with @c "elm,state,XXX,active" and @c "elm" as "emission" and
8020     * "source" arguments, respectively, when the state is true (the
8021     * default is false), where @c XXX is the name of the (state) part.
8022     * See #Elm_Gengrid_Item_State_Get_Cb.
8023     * - @c func.del - This is called when elm_gengrid_item_del() is
8024     * called on an item or elm_gengrid_clear() is called on the
8025     * gengrid. This is intended for use when gengrid items are
8026     * deleted, so any data attached to the item (e.g. its data
8027     * parameter on creation) can be deleted. See #Elm_Gengrid_Item_Del_Cb.
8028     *
8029     * @section Gengrid_Usage_Hints Usage hints
8030     *
8031     * If the user wants to have multiple items selected at the same
8032     * time, elm_gengrid_multi_select_set() will permit it. If the
8033     * gengrid is single-selection only (the default), then
8034     * elm_gengrid_select_item_get() will return the selected item or
8035     * @c NULL, if none is selected. If the gengrid is under
8036     * multi-selection, then elm_gengrid_selected_items_get() will
8037     * return a list (that is only valid as long as no items are
8038     * modified (added, deleted, selected or unselected) of child items
8039     * on a gengrid.
8040     *
8041     * If an item changes (internal (boolean) state, label or icon
8042     * changes), then use elm_gengrid_item_update() to have gengrid
8043     * update the item with the new state. A gengrid will re-"realize"
8044     * the item, thus calling the functions in the
8045     * #Elm_Gengrid_Item_Class set for that item.
8046     *
8047     * To programmatically (un)select an item, use
8048     * elm_gengrid_item_selected_set(). To get its selected state use
8049     * elm_gengrid_item_selected_get(). To make an item disabled
8050     * (unable to be selected and appear differently) use
8051     * elm_gengrid_item_disabled_set() to set this and
8052     * elm_gengrid_item_disabled_get() to get the disabled state.
8053     *
8054     * Grid cells will only have their selection smart callbacks called
8055     * when firstly getting selected. Any further clicks will do
8056     * nothing, unless you enable the "always select mode", with
8057     * elm_gengrid_always_select_mode_set(), thus making every click to
8058     * issue selection callbacks. elm_gengrid_no_select_mode_set() will
8059     * turn off the ability to select items entirely in the widget and
8060     * they will neither appear selected nor call the selection smart
8061     * callbacks.
8062     *
8063     * Remember that you can create new styles and add your own theme
8064     * augmentation per application with elm_theme_extension_add(). If
8065     * you absolutely must have a specific style that overrides any
8066     * theme the user or system sets up you can use
8067     * elm_theme_overlay_add() to add such a file.
8068     *
8069     * @section Gengrid_Smart_Events Gengrid smart events
8070     *
8071     * Smart events that you can add callbacks for are:
8072     * - @c "activated" - The user has double-clicked or pressed
8073     *   (enter|return|spacebar) on an item. The @c event_info parameter
8074     *   is the gengrid item that was activated.
8075     * - @c "clicked,double" - The user has double-clicked an item.
8076     *   The @c event_info parameter is the gengrid item that was double-clicked.
8077     * - @c "longpressed" - This is called when the item is pressed for a certain
8078     *   amount of time. By default it's 1 second.
8079     * - @c "selected" - The user has made an item selected. The
8080     *   @c event_info parameter is the gengrid item that was selected.
8081     * - @c "unselected" - The user has made an item unselected. The
8082     *   @c event_info parameter is the gengrid item that was unselected.
8083     * - @c "realized" - This is called when the item in the gengrid
8084     *   has its implementing Evas object instantiated, de facto. @c
8085     *   event_info is the gengrid item that was created. The object
8086     *   may be deleted at any time, so it is highly advised to the
8087     *   caller @b not to use the object pointer returned from
8088     *   elm_gengrid_item_object_get(), because it may point to freed
8089     *   objects.
8090     * - @c "unrealized" - This is called when the implementing Evas
8091     *   object for this item is deleted. @c event_info is the gengrid
8092     *   item that was deleted.
8093     * - @c "changed" - Called when an item is added, removed, resized
8094     *   or moved and when the gengrid is resized or gets "horizontal"
8095     *   property changes.
8096     * - @c "scroll,anim,start" - This is called when scrolling animation has
8097     *   started.
8098     * - @c "scroll,anim,stop" - This is called when scrolling animation has
8099     *   stopped.
8100     * - @c "drag,start,up" - Called when the item in the gengrid has
8101     *   been dragged (not scrolled) up.
8102     * - @c "drag,start,down" - Called when the item in the gengrid has
8103     *   been dragged (not scrolled) down.
8104     * - @c "drag,start,left" - Called when the item in the gengrid has
8105     *   been dragged (not scrolled) left.
8106     * - @c "drag,start,right" - Called when the item in the gengrid has
8107     *   been dragged (not scrolled) right.
8108     * - @c "drag,stop" - Called when the item in the gengrid has
8109     *   stopped being dragged.
8110     * - @c "drag" - Called when the item in the gengrid is being
8111     *   dragged.
8112     * - @c "scroll" - called when the content has been scrolled
8113     *   (moved).
8114     * - @c "scroll,drag,start" - called when dragging the content has
8115     *   started.
8116     * - @c "scroll,drag,stop" - called when dragging the content has
8117     *   stopped.
8118     * - @c "edge,top" - This is called when the gengrid is scrolled until
8119     *   the top edge.
8120     * - @c "edge,bottom" - This is called when the gengrid is scrolled
8121     *   until the bottom edge.
8122     * - @c "edge,left" - This is called when the gengrid is scrolled
8123     *   until the left edge.
8124     * - @c "edge,right" - This is called when the gengrid is scrolled
8125     *   until the right edge.
8126     *
8127     * List of gengrid examples:
8128     * @li @ref gengrid_example
8129     */
8130
8131    /**
8132     * @addtogroup Gengrid
8133     * @{
8134     */
8135
8136    typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class; /**< Gengrid item class definition structs */
8137    #define Elm_Gengrid_Item_Class Elm_Gen_Item_Class
8138    typedef struct _Elm_Gengrid_Item Elm_Gengrid_Item; /**< Gengrid item handles */
8139    #define Elm_Gengrid_Item Elm_Gen_Item /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
8140    typedef struct _Elm_Gengrid_Item_Class_Func Elm_Gengrid_Item_Class_Func; /**< Class functions for gengrid item classes. */
8141    typedef char        *(*Elm_Gengrid_Item_Label_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< Label fetching class function for gengrid item classes. */
8142    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. */
8143    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. */
8144    typedef void         (*Elm_Gengrid_Item_Del_Cb)      (void *data, Evas_Object *obj); /**< Deletion class function for gengrid item classes. */
8145
8146    /**
8147     * @struct _Elm_Gengrid_Item_Class
8148     *
8149     * Gengrid item class definition. See @ref Gengrid_Item_Class for
8150     * field details.
8151     */
8152    struct _Elm_Gengrid_Item_Class
8153      {
8154         const char             *item_style;
8155         struct _Elm_Gengrid_Item_Class_Func
8156           {
8157              Elm_Gengrid_Item_Label_Get_Cb label_get;
8158              Elm_Gengrid_Item_Icon_Get_Cb  icon_get;
8159              Elm_Gengrid_Item_State_Get_Cb state_get;
8160              Elm_Gengrid_Item_Del_Cb       del;
8161           } func;
8162      }; /**< #Elm_Gengrid_Item_Class member definitions */
8163    #define Elm_Gengrid_Item_Class_Func Elm_Gen_Item_Class_Func
8164    /**
8165     * Add a new gengrid widget to the given parent Elementary
8166     * (container) object
8167     *
8168     * @param parent The parent object
8169     * @return a new gengrid widget handle or @c NULL, on errors
8170     *
8171     * This function inserts a new gengrid widget on the canvas.
8172     *
8173     * @see elm_gengrid_item_size_set()
8174     * @see elm_gengrid_group_item_size_set()
8175     * @see elm_gengrid_horizontal_set()
8176     * @see elm_gengrid_item_append()
8177     * @see elm_gengrid_item_del()
8178     * @see elm_gengrid_clear()
8179     *
8180     * @ingroup Gengrid
8181     */
8182    EAPI Evas_Object       *elm_gengrid_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
8183
8184    /**
8185     * Set the size for the items of a given gengrid widget
8186     *
8187     * @param obj The gengrid object.
8188     * @param w The items' width.
8189     * @param h The items' height;
8190     *
8191     * A gengrid, after creation, has still no information on the size
8192     * to give to each of its cells. So, you most probably will end up
8193     * with squares one @ref Fingers "finger" wide, the default
8194     * size. Use this function to force a custom size for you items,
8195     * making them as big as you wish.
8196     *
8197     * @see elm_gengrid_item_size_get()
8198     *
8199     * @ingroup Gengrid
8200     */
8201    EAPI void               elm_gengrid_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
8202
8203    /**
8204     * Get the size set for the items of a given gengrid widget
8205     *
8206     * @param obj The gengrid object.
8207     * @param w Pointer to a variable where to store the items' width.
8208     * @param h Pointer to a variable where to store the items' height.
8209     *
8210     * @note Use @c NULL pointers on the size values you're not
8211     * interested in: they'll be ignored by the function.
8212     *
8213     * @see elm_gengrid_item_size_get() for more details
8214     *
8215     * @ingroup Gengrid
8216     */
8217    EAPI void               elm_gengrid_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
8218
8219    /**
8220     * Set the size for the group items of a given gengrid widget
8221     *
8222     * @param obj The gengrid object.
8223     * @param w The group items' width.
8224     * @param h The group items' height;
8225     *
8226     * A gengrid, after creation, has still no information on the size
8227     * to give to each of its cells. So, you most probably will end up
8228     * with squares one @ref Fingers "finger" wide, the default
8229     * size. Use this function to force a custom size for you group items,
8230     * making them as big as you wish.
8231     *
8232     * @see elm_gengrid_group_item_size_get()
8233     *
8234     * @ingroup Gengrid
8235     */
8236    EAPI void               elm_gengrid_group_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
8237
8238    /**
8239     * Get the size set for the group items of a given gengrid widget
8240     *
8241     * @param obj The gengrid object.
8242     * @param w Pointer to a variable where to store the group items' width.
8243     * @param h Pointer to a variable where to store the group items' height.
8244     *
8245     * @note Use @c NULL pointers on the size values you're not
8246     * interested in: they'll be ignored by the function.
8247     *
8248     * @see elm_gengrid_group_item_size_get() for more details
8249     *
8250     * @ingroup Gengrid
8251     */
8252    EAPI void               elm_gengrid_group_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
8253
8254    /**
8255     * Set the items grid's alignment within a given gengrid widget
8256     *
8257     * @param obj The gengrid object.
8258     * @param align_x Alignment in the horizontal axis (0 <= align_x <= 1).
8259     * @param align_y Alignment in the vertical axis (0 <= align_y <= 1).
8260     *
8261     * This sets the alignment of the whole grid of items of a gengrid
8262     * within its given viewport. By default, those values are both
8263     * 0.5, meaning that the gengrid will have its items grid placed
8264     * exactly in the middle of its viewport.
8265     *
8266     * @note If given alignment values are out of the cited ranges,
8267     * they'll be changed to the nearest boundary values on the valid
8268     * ranges.
8269     *
8270     * @see elm_gengrid_align_get()
8271     *
8272     * @ingroup Gengrid
8273     */
8274    EAPI void               elm_gengrid_align_set(Evas_Object *obj, double align_x, double align_y) EINA_ARG_NONNULL(1);
8275
8276    /**
8277     * Get the items grid's alignment values within a given gengrid
8278     * widget
8279     *
8280     * @param obj The gengrid object.
8281     * @param align_x Pointer to a variable where to store the
8282     * horizontal alignment.
8283     * @param align_y Pointer to a variable where to store the vertical
8284     * alignment.
8285     *
8286     * @note Use @c NULL pointers on the alignment values you're not
8287     * interested in: they'll be ignored by the function.
8288     *
8289     * @see elm_gengrid_align_set() for more details
8290     *
8291     * @ingroup Gengrid
8292     */
8293    EAPI void               elm_gengrid_align_get(const Evas_Object *obj, double *align_x, double *align_y) EINA_ARG_NONNULL(1);
8294
8295    /**
8296     * Set whether a given gengrid widget is or not able have items
8297     * @b reordered
8298     *
8299     * @param obj The gengrid object
8300     * @param reorder_mode Use @c EINA_TRUE to turn reoderding on,
8301     * @c EINA_FALSE to turn it off
8302     *
8303     * If a gengrid is set to allow reordering, a click held for more
8304     * than 0.5 over a given item will highlight it specially,
8305     * signalling the gengrid has entered the reordering state. From
8306     * that time on, the user will be able to, while still holding the
8307     * mouse button down, move the item freely in the gengrid's
8308     * viewport, replacing to said item to the locations it goes to.
8309     * The replacements will be animated and, whenever the user
8310     * releases the mouse button, the item being replaced gets a new
8311     * definitive place in the grid.
8312     *
8313     * @see elm_gengrid_reorder_mode_get()
8314     *
8315     * @ingroup Gengrid
8316     */
8317    EAPI void               elm_gengrid_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
8318
8319    /**
8320     * Get whether a given gengrid widget is or not able have items
8321     * @b reordered
8322     *
8323     * @param obj The gengrid object
8324     * @return @c EINA_TRUE, if reoderding is on, @c EINA_FALSE if it's
8325     * off
8326     *
8327     * @see elm_gengrid_reorder_mode_set() for more details
8328     *
8329     * @ingroup Gengrid
8330     */
8331    EAPI Eina_Bool          elm_gengrid_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8332
8333    /**
8334     * Append a new item in a given gengrid widget.
8335     *
8336     * @param obj The gengrid object.
8337     * @param gic The item class for the item.
8338     * @param data The item data.
8339     * @param func Convenience function called when the item is
8340     * selected.
8341     * @param func_data Data to be passed to @p func.
8342     * @return A handle to the item added or @c NULL, on errors.
8343     *
8344     * This adds an item to the beginning of the gengrid.
8345     *
8346     * @see elm_gengrid_item_prepend()
8347     * @see elm_gengrid_item_insert_before()
8348     * @see elm_gengrid_item_insert_after()
8349     * @see elm_gengrid_item_del()
8350     *
8351     * @ingroup Gengrid
8352     */
8353    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);
8354
8355    /**
8356     * Prepend a new item in a given gengrid widget.
8357     *
8358     * @param obj The gengrid object.
8359     * @param gic The item class for the item.
8360     * @param data The item data.
8361     * @param func Convenience function called when the item is
8362     * selected.
8363     * @param func_data Data to be passed to @p func.
8364     * @return A handle to the item added or @c NULL, on errors.
8365     *
8366     * This adds an item to the end of the gengrid.
8367     *
8368     * @see elm_gengrid_item_append()
8369     * @see elm_gengrid_item_insert_before()
8370     * @see elm_gengrid_item_insert_after()
8371     * @see elm_gengrid_item_del()
8372     *
8373     * @ingroup Gengrid
8374     */
8375    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);
8376
8377    /**
8378     * Insert an item before another in a gengrid widget
8379     *
8380     * @param obj The gengrid object.
8381     * @param gic The item class for the item.
8382     * @param data The item data.
8383     * @param relative The item to place this new one before.
8384     * @param func Convenience function called when the item is
8385     * selected.
8386     * @param func_data Data to be passed to @p func.
8387     * @return A handle to the item added or @c NULL, on errors.
8388     *
8389     * This inserts an item before another in the gengrid.
8390     *
8391     * @see elm_gengrid_item_append()
8392     * @see elm_gengrid_item_prepend()
8393     * @see elm_gengrid_item_insert_after()
8394     * @see elm_gengrid_item_del()
8395     *
8396     * @ingroup Gengrid
8397     */
8398    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);
8399
8400    /**
8401     * Insert an item after another in a gengrid widget
8402     *
8403     * @param obj The gengrid object.
8404     * @param gic The item class for the item.
8405     * @param data The item data.
8406     * @param relative The item to place this new one after.
8407     * @param func Convenience function called when the item is
8408     * selected.
8409     * @param func_data Data to be passed to @p func.
8410     * @return A handle to the item added or @c NULL, on errors.
8411     *
8412     * This inserts an item after another in the gengrid.
8413     *
8414     * @see elm_gengrid_item_append()
8415     * @see elm_gengrid_item_prepend()
8416     * @see elm_gengrid_item_insert_after()
8417     * @see elm_gengrid_item_del()
8418     *
8419     * @ingroup Gengrid
8420     */
8421    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);
8422
8423    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);
8424
8425    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);
8426
8427    /**
8428     * Set whether items on a given gengrid widget are to get their
8429     * selection callbacks issued for @b every subsequent selection
8430     * click on them or just for the first click.
8431     *
8432     * @param obj The gengrid object
8433     * @param always_select @c EINA_TRUE to make items "always
8434     * selected", @c EINA_FALSE, otherwise
8435     *
8436     * By default, grid items will only call their selection callback
8437     * function when firstly getting selected, any subsequent further
8438     * clicks will do nothing. With this call, you make those
8439     * subsequent clicks also to issue the selection callbacks.
8440     *
8441     * @note <b>Double clicks</b> will @b always be reported on items.
8442     *
8443     * @see elm_gengrid_always_select_mode_get()
8444     *
8445     * @ingroup Gengrid
8446     */
8447    EAPI void               elm_gengrid_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
8448
8449    /**
8450     * Get whether items on a given gengrid widget have their selection
8451     * callbacks issued for @b every subsequent selection click on them
8452     * or just for the first click.
8453     *
8454     * @param obj The gengrid object.
8455     * @return @c EINA_TRUE if the gengrid items are "always selected",
8456     * @c EINA_FALSE, otherwise
8457     *
8458     * @see elm_gengrid_always_select_mode_set() for more details
8459     *
8460     * @ingroup Gengrid
8461     */
8462    EAPI Eina_Bool          elm_gengrid_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8463
8464    /**
8465     * Set whether items on a given gengrid widget can be selected or not.
8466     *
8467     * @param obj The gengrid object
8468     * @param no_select @c EINA_TRUE to make items selectable,
8469     * @c EINA_FALSE otherwise
8470     *
8471     * This will make items in @p obj selectable or not. In the latter
8472     * case, any user interaction on the gengrid items will neither make
8473     * them appear selected nor them call their selection callback
8474     * functions.
8475     *
8476     * @see elm_gengrid_no_select_mode_get()
8477     *
8478     * @ingroup Gengrid
8479     */
8480    EAPI void               elm_gengrid_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
8481
8482    /**
8483     * Get whether items on a given gengrid widget can be selected or
8484     * not.
8485     *
8486     * @param obj The gengrid object
8487     * @return @c EINA_TRUE, if items are selectable, @c EINA_FALSE
8488     * otherwise
8489     *
8490     * @see elm_gengrid_no_select_mode_set() for more details
8491     *
8492     * @ingroup Gengrid
8493     */
8494    EAPI Eina_Bool          elm_gengrid_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8495
8496    /**
8497     * Enable or disable multi-selection in a given gengrid widget
8498     *
8499     * @param obj The gengrid object.
8500     * @param multi @c EINA_TRUE, to enable multi-selection,
8501     * @c EINA_FALSE to disable it.
8502     *
8503     * Multi-selection is the ability for one to have @b more than one
8504     * item selected, on a given gengrid, simultaneously. When it is
8505     * enabled, a sequence of clicks on different items will make them
8506     * all selected, progressively. A click on an already selected item
8507     * will unselect it. If interecting via the keyboard,
8508     * multi-selection is enabled while holding the "Shift" key.
8509     *
8510     * @note By default, multi-selection is @b disabled on gengrids
8511     *
8512     * @see elm_gengrid_multi_select_get()
8513     *
8514     * @ingroup Gengrid
8515     */
8516    EAPI void               elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
8517
8518    /**
8519     * Get whether multi-selection is enabled or disabled for a given
8520     * gengrid widget
8521     *
8522     * @param obj The gengrid object.
8523     * @return @c EINA_TRUE, if multi-selection is enabled, @c
8524     * EINA_FALSE otherwise
8525     *
8526     * @see elm_gengrid_multi_select_set() for more details
8527     *
8528     * @ingroup Gengrid
8529     */
8530    EAPI Eina_Bool          elm_gengrid_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8531
8532    /**
8533     * Enable or disable bouncing effect for a given gengrid widget
8534     *
8535     * @param obj The gengrid object
8536     * @param h_bounce @c EINA_TRUE, to enable @b horizontal bouncing,
8537     * @c EINA_FALSE to disable it
8538     * @param v_bounce @c EINA_TRUE, to enable @b vertical bouncing,
8539     * @c EINA_FALSE to disable it
8540     *
8541     * The bouncing effect occurs whenever one reaches the gengrid's
8542     * edge's while panning it -- it will scroll past its limits a
8543     * little bit and return to the edge again, in a animated for,
8544     * automatically.
8545     *
8546     * @note By default, gengrids have bouncing enabled on both axis
8547     *
8548     * @see elm_gengrid_bounce_get()
8549     *
8550     * @ingroup Gengrid
8551     */
8552    EAPI void               elm_gengrid_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
8553
8554    /**
8555     * Get whether bouncing effects are enabled or disabled, for a
8556     * given gengrid widget, on each axis
8557     *
8558     * @param obj The gengrid object
8559     * @param h_bounce Pointer to a variable where to store the
8560     * horizontal bouncing flag.
8561     * @param v_bounce Pointer to a variable where to store the
8562     * vertical bouncing flag.
8563     *
8564     * @see elm_gengrid_bounce_set() for more details
8565     *
8566     * @ingroup Gengrid
8567     */
8568    EAPI void               elm_gengrid_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
8569
8570    /**
8571     * Set a given gengrid widget's scrolling page size, relative to
8572     * its viewport size.
8573     *
8574     * @param obj The gengrid object
8575     * @param h_pagerel The horizontal page (relative) size
8576     * @param v_pagerel The vertical page (relative) size
8577     *
8578     * The gengrid's scroller is capable of binding scrolling by the
8579     * user to "pages". It means that, while scrolling and, specially
8580     * after releasing the mouse button, the grid will @b snap to the
8581     * nearest displaying page's area. When page sizes are set, the
8582     * grid's continuous content area is split into (equal) page sized
8583     * pieces.
8584     *
8585     * This function sets the size of a page <b>relatively to the
8586     * viewport dimensions</b> of the gengrid, for each axis. A value
8587     * @c 1.0 means "the exact viewport's size", in that axis, while @c
8588     * 0.0 turns paging off in that axis. Likewise, @c 0.5 means "half
8589     * a viewport". Sane usable values are, than, between @c 0.0 and @c
8590     * 1.0. Values beyond those will make it behave behave
8591     * inconsistently. If you only want one axis to snap to pages, use
8592     * the value @c 0.0 for the other one.
8593     *
8594     * There is a function setting page size values in @b absolute
8595     * values, too -- elm_gengrid_page_size_set(). Naturally, its use
8596     * is mutually exclusive to this one.
8597     *
8598     * @see elm_gengrid_page_relative_get()
8599     *
8600     * @ingroup Gengrid
8601     */
8602    EAPI void               elm_gengrid_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
8603
8604    /**
8605     * Get a given gengrid widget's scrolling page size, relative to
8606     * its viewport size.
8607     *
8608     * @param obj The gengrid object
8609     * @param h_pagerel Pointer to a variable where to store the
8610     * horizontal page (relative) size
8611     * @param v_pagerel Pointer to a variable where to store the
8612     * vertical page (relative) size
8613     *
8614     * @see elm_gengrid_page_relative_set() for more details
8615     *
8616     * @ingroup Gengrid
8617     */
8618    EAPI void               elm_gengrid_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel) EINA_ARG_NONNULL(1);
8619
8620    /**
8621     * Set a given gengrid widget's scrolling page size
8622     *
8623     * @param obj The gengrid object
8624     * @param h_pagerel The horizontal page size, in pixels
8625     * @param v_pagerel The vertical page size, in pixels
8626     *
8627     * The gengrid's scroller is capable of binding scrolling by the
8628     * user to "pages". It means that, while scrolling and, specially
8629     * after releasing the mouse button, the grid will @b snap to the
8630     * nearest displaying page's area. When page sizes are set, the
8631     * grid's continuous content area is split into (equal) page sized
8632     * pieces.
8633     *
8634     * This function sets the size of a page of the gengrid, in pixels,
8635     * for each axis. Sane usable values are, between @c 0 and the
8636     * dimensions of @p obj, for each axis. Values beyond those will
8637     * make it behave behave inconsistently. If you only want one axis
8638     * to snap to pages, use the value @c 0 for the other one.
8639     *
8640     * There is a function setting page size values in @b relative
8641     * values, too -- elm_gengrid_page_relative_set(). Naturally, its
8642     * use is mutually exclusive to this one.
8643     *
8644     * @ingroup Gengrid
8645     */
8646    EAPI void               elm_gengrid_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
8647
8648    /**
8649     * @brief Get gengrid current page number.
8650     *
8651     * @param obj The gengrid object
8652     * @param h_pagenumber The horizontal page number
8653     * @param v_pagenumber The vertical page number
8654     *
8655     * The page number starts from 0. 0 is the first page.
8656     * Current page means the page which meet the top-left of the viewport.
8657     * If there are two or more pages in the viewport, it returns the number of page
8658     * which meet the top-left of the viewport.
8659     *
8660     * @see elm_gengrid_last_page_get()
8661     * @see elm_gengrid_page_show()
8662     * @see elm_gengrid_page_brint_in()
8663     */
8664    EAPI void         elm_gengrid_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
8665
8666    /**
8667     * @brief Get scroll last page number.
8668     *
8669     * @param obj The gengrid object
8670     * @param h_pagenumber The horizontal page number
8671     * @param v_pagenumber The vertical page number
8672     *
8673     * The page number starts from 0. 0 is the first page.
8674     * This returns the last page number among the pages.
8675     *
8676     * @see elm_gengrid_current_page_get()
8677     * @see elm_gengrid_page_show()
8678     * @see elm_gengrid_page_brint_in()
8679     */
8680    EAPI void         elm_gengrid_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
8681
8682    /**
8683     * Show a specific virtual region within the gengrid content object by page number.
8684     *
8685     * @param obj The gengrid object
8686     * @param h_pagenumber The horizontal page number
8687     * @param v_pagenumber The vertical page number
8688     *
8689     * 0, 0 of the indicated page is located at the top-left of the viewport.
8690     * This will jump to the page directly without animation.
8691     *
8692     * Example of usage:
8693     *
8694     * @code
8695     * sc = elm_gengrid_add(win);
8696     * elm_gengrid_content_set(sc, content);
8697     * elm_gengrid_page_relative_set(sc, 1, 0);
8698     * elm_gengrid_current_page_get(sc, &h_page, &v_page);
8699     * elm_gengrid_page_show(sc, h_page + 1, v_page);
8700     * @endcode
8701     *
8702     * @see elm_gengrid_page_bring_in()
8703     */
8704    EAPI void         elm_gengrid_page_show(const Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
8705
8706    /**
8707     * Show a specific virtual region within the gengrid content object by page number.
8708     *
8709     * @param obj The gengrid object
8710     * @param h_pagenumber The horizontal page number
8711     * @param v_pagenumber The vertical page number
8712     *
8713     * 0, 0 of the indicated page is located at the top-left of the viewport.
8714     * This will slide to the page with animation.
8715     *
8716     * Example of usage:
8717     *
8718     * @code
8719     * sc = elm_gengrid_add(win);
8720     * elm_gengrid_content_set(sc, content);
8721     * elm_gengrid_page_relative_set(sc, 1, 0);
8722     * elm_gengrid_last_page_get(sc, &h_page, &v_page);
8723     * elm_gengrid_page_bring_in(sc, h_page, v_page);
8724     * @endcode
8725     *
8726     * @see elm_gengrid_page_show()
8727     */
8728     EAPI void         elm_gengrid_page_bring_in(const Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
8729
8730    /**
8731     * Set for what direction a given gengrid widget will expand while
8732     * placing its items.
8733     *
8734     * @param obj The gengrid object.
8735     * @param setting @c EINA_TRUE to make the gengrid expand
8736     * horizontally, @c EINA_FALSE to expand vertically.
8737     *
8738     * When in "horizontal mode" (@c EINA_TRUE), items will be placed
8739     * in @b columns, from top to bottom and, when the space for a
8740     * column is filled, another one is started on the right, thus
8741     * expanding the grid horizontally. When in "vertical mode"
8742     * (@c EINA_FALSE), though, items will be placed in @b rows, from left
8743     * to right and, when the space for a row is filled, another one is
8744     * started below, thus expanding the grid vertically.
8745     *
8746     * @see elm_gengrid_horizontal_get()
8747     *
8748     * @ingroup Gengrid
8749     */
8750    EAPI void               elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
8751
8752    /**
8753     * Get for what direction a given gengrid widget will expand while
8754     * placing its items.
8755     *
8756     * @param obj The gengrid object.
8757     * @return @c EINA_TRUE, if @p obj is set to expand horizontally,
8758     * @c EINA_FALSE if it's set to expand vertically.
8759     *
8760     * @see elm_gengrid_horizontal_set() for more detais
8761     *
8762     * @ingroup Gengrid
8763     */
8764    EAPI Eina_Bool          elm_gengrid_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8765
8766    /**
8767     * Get the first item in a given gengrid widget
8768     *
8769     * @param obj The gengrid object
8770     * @return The first item's handle or @c NULL, if there are no
8771     * items in @p obj (and on errors)
8772     *
8773     * This returns the first item in the @p obj's internal list of
8774     * items.
8775     *
8776     * @see elm_gengrid_last_item_get()
8777     *
8778     * @ingroup Gengrid
8779     */
8780    EAPI Elm_Gengrid_Item  *elm_gengrid_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8781
8782    /**
8783     * Get the last item in a given gengrid widget
8784     *
8785     * @param obj The gengrid object
8786     * @return The last item's handle or @c NULL, if there are no
8787     * items in @p obj (and on errors)
8788     *
8789     * This returns the last item in the @p obj's internal list of
8790     * items.
8791     *
8792     * @see elm_gengrid_first_item_get()
8793     *
8794     * @ingroup Gengrid
8795     */
8796    EAPI Elm_Gengrid_Item  *elm_gengrid_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8797
8798    /**
8799     * Get the @b next item in a gengrid widget's internal list of items,
8800     * given a handle to one of those items.
8801     *
8802     * @param item The gengrid item to fetch next from
8803     * @return The item after @p item, or @c NULL if there's none (and
8804     * on errors)
8805     *
8806     * This returns the item placed after the @p item, on the container
8807     * gengrid.
8808     *
8809     * @see elm_gengrid_item_prev_get()
8810     *
8811     * @ingroup Gengrid
8812     */
8813    EAPI Elm_Gengrid_Item  *elm_gengrid_item_next_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8814
8815    /**
8816     * Get the @b previous item in a gengrid widget's internal list of items,
8817     * given a handle to one of those items.
8818     *
8819     * @param item The gengrid item to fetch previous from
8820     * @return The item before @p item, or @c NULL if there's none (and
8821     * on errors)
8822     *
8823     * This returns the item placed before the @p item, on the container
8824     * gengrid.
8825     *
8826     * @see elm_gengrid_item_next_get()
8827     *
8828     * @ingroup Gengrid
8829     */
8830    EAPI Elm_Gengrid_Item  *elm_gengrid_item_prev_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8831
8832    /**
8833     * Get the gengrid object's handle which contains a given gengrid
8834     * item
8835     *
8836     * @param item The item to fetch the container from
8837     * @return The gengrid (parent) object
8838     *
8839     * This returns the gengrid object itself that an item belongs to.
8840     *
8841     * @ingroup Gengrid
8842     */
8843    EAPI Evas_Object       *elm_gengrid_item_gengrid_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8844
8845    /**
8846     * Remove a gengrid item from the its parent, deleting it.
8847     *
8848     * @param item The item to be removed.
8849     * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
8850     *
8851     * @see elm_gengrid_clear(), to remove all items in a gengrid at
8852     * once.
8853     *
8854     * @ingroup Gengrid
8855     */
8856    EAPI void               elm_gengrid_item_del(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8857
8858    /**
8859     * Update the contents of a given gengrid item
8860     *
8861     * @param item The gengrid item
8862     *
8863     * This updates an item by calling all the item class functions
8864     * again to get the icons, labels and states. Use this when the
8865     * original item data has changed and you want thta changes to be
8866     * reflected.
8867     *
8868     * @ingroup Gengrid
8869     */
8870    EAPI void               elm_gengrid_item_update(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8871    EAPI const Elm_Gengrid_Item_Class *elm_gengrid_item_item_class_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8872    EAPI void               elm_gengrid_item_item_class_set(Elm_Gengrid_Item *item, const Elm_Gengrid_Item_Class *gic) EINA_ARG_NONNULL(1, 2);
8873
8874    /**
8875     * Return the data associated to a given gengrid item
8876     *
8877     * @param item The gengrid item.
8878     * @return the data associated to this item.
8879     *
8880     * This returns the @c data value passed on the
8881     * elm_gengrid_item_append() and related item addition calls.
8882     *
8883     * @see elm_gengrid_item_append()
8884     * @see elm_gengrid_item_data_set()
8885     *
8886     * @ingroup Gengrid
8887     */
8888    EAPI void              *elm_gengrid_item_data_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8889
8890    /**
8891     * Set the data associated to a given gengrid item
8892     *
8893     * @param item The gengrid item
8894     * @param data The new data pointer to set on it
8895     *
8896     * This @b overrides the @c data value passed on the
8897     * elm_gengrid_item_append() and related item addition calls. This
8898     * function @b won't call elm_gengrid_item_update() automatically,
8899     * so you'd issue it afterwards if you want to hove the item
8900     * updated to reflect the that new data.
8901     *
8902     * @see elm_gengrid_item_data_get()
8903     *
8904     * @ingroup Gengrid
8905     */
8906    EAPI void               elm_gengrid_item_data_set(Elm_Gengrid_Item *item, const void *data) EINA_ARG_NONNULL(1);
8907
8908    /**
8909     * Get a given gengrid item's position, relative to the whole
8910     * gengrid's grid area.
8911     *
8912     * @param item The Gengrid item.
8913     * @param x Pointer to variable where to store the item's <b>row
8914     * number</b>.
8915     * @param y Pointer to variable where to store the item's <b>column
8916     * number</b>.
8917     *
8918     * This returns the "logical" position of the item whithin the
8919     * gengrid. For example, @c (0, 1) would stand for first row,
8920     * second column.
8921     *
8922     * @ingroup Gengrid
8923     */
8924    EAPI void               elm_gengrid_item_pos_get(const Elm_Gengrid_Item *item, unsigned int *x, unsigned int *y) EINA_ARG_NONNULL(1);
8925
8926    /**
8927     * Set whether a given gengrid item is selected or not
8928     *
8929     * @param item The gengrid item
8930     * @param selected Use @c EINA_TRUE, to make it selected, @c
8931     * EINA_FALSE to make it unselected
8932     *
8933     * This sets the selected state of an item. If multi selection is
8934     * not enabled on the containing gengrid and @p selected is @c
8935     * EINA_TRUE, any other previously selected items will get
8936     * unselected in favor of this new one.
8937     *
8938     * @see elm_gengrid_item_selected_get()
8939     *
8940     * @ingroup Gengrid
8941     */
8942    EAPI void               elm_gengrid_item_selected_set(Elm_Gengrid_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
8943
8944    /**
8945     * Get whether a given gengrid item is selected or not
8946     *
8947     * @param item The gengrid item
8948     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
8949     *
8950     * @see elm_gengrid_item_selected_set() for more details
8951     *
8952     * @ingroup Gengrid
8953     */
8954    EAPI Eina_Bool          elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8955
8956    /**
8957     * Get the real Evas object created to implement the view of a
8958     * given gengrid item
8959     *
8960     * @param item The gengrid item.
8961     * @return the Evas object implementing this item's view.
8962     *
8963     * This returns the actual Evas object used to implement the
8964     * specified gengrid item's view. This may be @c NULL, as it may
8965     * not have been created or may have been deleted, at any time, by
8966     * the gengrid. <b>Do not modify this object</b> (move, resize,
8967     * show, hide, etc.), as the gengrid is controlling it. This
8968     * function is for querying, emitting custom signals or hooking
8969     * lower level callbacks for events on that object. Do not delete
8970     * this object under any circumstances.
8971     *
8972     * @see elm_gengrid_item_data_get()
8973     *
8974     * @ingroup Gengrid
8975     */
8976    EAPI const Evas_Object *elm_gengrid_item_object_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8977
8978    /**
8979     * Show the portion of a gengrid's internal grid containing a given
8980     * item, @b immediately.
8981     *
8982     * @param item The item to display
8983     *
8984     * This causes gengrid to @b redraw its viewport's contents to the
8985     * region contining the given @p item item, if it is not fully
8986     * visible.
8987     *
8988     * @see elm_gengrid_item_bring_in()
8989     *
8990     * @ingroup Gengrid
8991     */
8992    EAPI void               elm_gengrid_item_show(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8993
8994    /**
8995     * Animatedly bring in, to the visible are of a gengrid, a given
8996     * item on it.
8997     *
8998     * @param item The gengrid item to display
8999     *
9000     * This causes gengrig to jump to the given @p item item and show
9001     * it (by scrolling), if it is not fully visible. This will use
9002     * animation to do so and take a period of time to complete.
9003     *
9004     * @see elm_gengrid_item_show()
9005     *
9006     * @ingroup Gengrid
9007     */
9008    EAPI void               elm_gengrid_item_bring_in(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9009
9010    /**
9011     * Set whether a given gengrid item is disabled or not.
9012     *
9013     * @param item The gengrid item
9014     * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
9015     * to enable it back.
9016     *
9017     * A disabled item cannot be selected or unselected. It will also
9018     * change its appearance, to signal the user it's disabled.
9019     *
9020     * @see elm_gengrid_item_disabled_get()
9021     *
9022     * @ingroup Gengrid
9023     */
9024    EAPI void               elm_gengrid_item_disabled_set(Elm_Gengrid_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
9025
9026    /**
9027     * Get whether a given gengrid item is disabled or not.
9028     *
9029     * @param item The gengrid item
9030     * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
9031     * (and on errors).
9032     *
9033     * @see elm_gengrid_item_disabled_set() for more details
9034     *
9035     * @ingroup Gengrid
9036     */
9037    EAPI Eina_Bool          elm_gengrid_item_disabled_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9038
9039    /**
9040     * Set the text to be shown in a given gengrid item's tooltips.
9041     *
9042     * @param item The gengrid item
9043     * @param text The text to set in the content
9044     *
9045     * This call will setup the text to be used as tooltip to that item
9046     * (analogous to elm_object_tooltip_text_set(), but being item
9047     * tooltips with higher precedence than object tooltips). It can
9048     * have only one tooltip at a time, so any previous tooltip data
9049     * will get removed.
9050     *
9051     * @ingroup Gengrid
9052     */
9053    EAPI void               elm_gengrid_item_tooltip_text_set(Elm_Gengrid_Item *item, const char *text) EINA_ARG_NONNULL(1);
9054
9055    /**
9056     * Set the content to be shown in a given gengrid item's tooltips
9057     *
9058     * @param item The gengrid item.
9059     * @param func The function returning the tooltip contents.
9060     * @param data What to provide to @a func as callback data/context.
9061     * @param del_cb Called when data is not needed anymore, either when
9062     *        another callback replaces @p func, the tooltip is unset with
9063     *        elm_gengrid_item_tooltip_unset() or the owner @p item
9064     *        dies. This callback receives as its first parameter the
9065     *        given @p data, being @c event_info the item handle.
9066     *
9067     * This call will setup the tooltip's contents to @p item
9068     * (analogous to elm_object_tooltip_content_cb_set(), but being
9069     * item tooltips with higher precedence than object tooltips). It
9070     * can have only one tooltip at a time, so any previous tooltip
9071     * content will get removed. @p func (with @p data) will be called
9072     * every time Elementary needs to show the tooltip and it should
9073     * return a valid Evas object, which will be fully managed by the
9074     * tooltip system, getting deleted when the tooltip is gone.
9075     *
9076     * @ingroup Gengrid
9077     */
9078    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);
9079
9080    /**
9081     * Unset a tooltip from a given gengrid item
9082     *
9083     * @param item gengrid item to remove a previously set tooltip from.
9084     *
9085     * This call removes any tooltip set on @p item. The callback
9086     * provided as @c del_cb to
9087     * elm_gengrid_item_tooltip_content_cb_set() will be called to
9088     * notify it is not used anymore (and have resources cleaned, if
9089     * need be).
9090     *
9091     * @see elm_gengrid_item_tooltip_content_cb_set()
9092     *
9093     * @ingroup Gengrid
9094     */
9095    EAPI void               elm_gengrid_item_tooltip_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9096
9097    /**
9098     * Set a different @b style for a given gengrid item's tooltip.
9099     *
9100     * @param item gengrid item with tooltip set
9101     * @param style the <b>theme style</b> to use on tooltips (e.g. @c
9102     * "default", @c "transparent", etc)
9103     *
9104     * Tooltips can have <b>alternate styles</b> to be displayed on,
9105     * which are defined by the theme set on Elementary. This function
9106     * works analogously as elm_object_tooltip_style_set(), but here
9107     * applied only to gengrid item objects. The default style for
9108     * tooltips is @c "default".
9109     *
9110     * @note before you set a style you should define a tooltip with
9111     *       elm_gengrid_item_tooltip_content_cb_set() or
9112     *       elm_gengrid_item_tooltip_text_set()
9113     *
9114     * @see elm_gengrid_item_tooltip_style_get()
9115     *
9116     * @ingroup Gengrid
9117     */
9118    EAPI void               elm_gengrid_item_tooltip_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
9119
9120    /**
9121     * Get the style set a given gengrid item's tooltip.
9122     *
9123     * @param item gengrid item with tooltip already set on.
9124     * @return style the theme style in use, which defaults to
9125     *         "default". If the object does not have a tooltip set,
9126     *         then @c NULL is returned.
9127     *
9128     * @see elm_gengrid_item_tooltip_style_set() for more details
9129     *
9130     * @ingroup Gengrid
9131     */
9132    EAPI const char        *elm_gengrid_item_tooltip_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9133    /**
9134     * @brief Disable size restrictions on an object's tooltip
9135     * @param item The tooltip's anchor object
9136     * @param disable If EINA_TRUE, size restrictions are disabled
9137     * @return EINA_FALSE on failure, EINA_TRUE on success
9138     *
9139     * This function allows a tooltip to expand beyond its parant window's canvas.
9140     * It will instead be limited only by the size of the display.
9141     */
9142    EAPI Eina_Bool          elm_gengrid_item_tooltip_size_restrict_disable(Elm_Gengrid_Item *item, Eina_Bool disable);
9143    /**
9144     * @brief Retrieve size restriction state of an object's tooltip
9145     * @param item The tooltip's anchor object
9146     * @return If EINA_TRUE, size restrictions are disabled
9147     *
9148     * This function returns whether a tooltip is allowed to expand beyond
9149     * its parant window's canvas.
9150     * It will instead be limited only by the size of the display.
9151     */
9152    EAPI Eina_Bool          elm_gengrid_item_tooltip_size_restrict_disabled_get(const Elm_Gengrid_Item *item);
9153    /**
9154     * Set the type of mouse pointer/cursor decoration to be shown,
9155     * when the mouse pointer is over the given gengrid widget item
9156     *
9157     * @param item gengrid item to customize cursor on
9158     * @param cursor the cursor type's name
9159     *
9160     * This function works analogously as elm_object_cursor_set(), but
9161     * here the cursor's changing area is restricted to the item's
9162     * area, and not the whole widget's. Note that that item cursors
9163     * have precedence over widget cursors, so that a mouse over @p
9164     * item will always show cursor @p type.
9165     *
9166     * If this function is called twice for an object, a previously set
9167     * cursor will be unset on the second call.
9168     *
9169     * @see elm_object_cursor_set()
9170     * @see elm_gengrid_item_cursor_get()
9171     * @see elm_gengrid_item_cursor_unset()
9172     *
9173     * @ingroup Gengrid
9174     */
9175    EAPI void               elm_gengrid_item_cursor_set(Elm_Gengrid_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
9176
9177    /**
9178     * Get the type of mouse pointer/cursor decoration set to be shown,
9179     * when the mouse pointer is over the given gengrid widget item
9180     *
9181     * @param item gengrid item with custom cursor set
9182     * @return the cursor type's name or @c NULL, if no custom cursors
9183     * were set to @p item (and on errors)
9184     *
9185     * @see elm_object_cursor_get()
9186     * @see elm_gengrid_item_cursor_set() for more details
9187     * @see elm_gengrid_item_cursor_unset()
9188     *
9189     * @ingroup Gengrid
9190     */
9191    EAPI const char        *elm_gengrid_item_cursor_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9192
9193    /**
9194     * Unset any custom mouse pointer/cursor decoration set to be
9195     * shown, when the mouse pointer is over the given gengrid widget
9196     * item, thus making it show the @b default cursor again.
9197     *
9198     * @param item a gengrid item
9199     *
9200     * Use this call to undo any custom settings on this item's cursor
9201     * decoration, bringing it back to defaults (no custom style set).
9202     *
9203     * @see elm_object_cursor_unset()
9204     * @see elm_gengrid_item_cursor_set() for more details
9205     *
9206     * @ingroup Gengrid
9207     */
9208    EAPI void               elm_gengrid_item_cursor_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9209
9210    /**
9211     * Set a different @b style for a given custom cursor set for a
9212     * gengrid item.
9213     *
9214     * @param item gengrid item with custom cursor set
9215     * @param style the <b>theme style</b> to use (e.g. @c "default",
9216     * @c "transparent", etc)
9217     *
9218     * This function only makes sense when one is using custom mouse
9219     * cursor decorations <b>defined in a theme file</b> , which can
9220     * have, given a cursor name/type, <b>alternate styles</b> on
9221     * it. It works analogously as elm_object_cursor_style_set(), but
9222     * here applied only to gengrid item objects.
9223     *
9224     * @warning Before you set a cursor style you should have defined a
9225     *       custom cursor previously on the item, with
9226     *       elm_gengrid_item_cursor_set()
9227     *
9228     * @see elm_gengrid_item_cursor_engine_only_set()
9229     * @see elm_gengrid_item_cursor_style_get()
9230     *
9231     * @ingroup Gengrid
9232     */
9233    EAPI void               elm_gengrid_item_cursor_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
9234
9235    /**
9236     * Get the current @b style set for a given gengrid item's custom
9237     * cursor
9238     *
9239     * @param item gengrid item with custom cursor set.
9240     * @return style the cursor style in use. If the object does not
9241     *         have a cursor set, then @c NULL is returned.
9242     *
9243     * @see elm_gengrid_item_cursor_style_set() for more details
9244     *
9245     * @ingroup Gengrid
9246     */
9247    EAPI const char        *elm_gengrid_item_cursor_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9248
9249    /**
9250     * Set if the (custom) cursor for a given gengrid item should be
9251     * searched in its theme, also, or should only rely on the
9252     * rendering engine.
9253     *
9254     * @param item item with custom (custom) cursor already set on
9255     * @param engine_only Use @c EINA_TRUE to have cursors looked for
9256     * only on those provided by the rendering engine, @c EINA_FALSE to
9257     * have them searched on the widget's theme, as well.
9258     *
9259     * @note This call is of use only if you've set a custom cursor
9260     * for gengrid items, with elm_gengrid_item_cursor_set().
9261     *
9262     * @note By default, cursors will only be looked for between those
9263     * provided by the rendering engine.
9264     *
9265     * @ingroup Gengrid
9266     */
9267    EAPI void               elm_gengrid_item_cursor_engine_only_set(Elm_Gengrid_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
9268
9269    /**
9270     * Get if the (custom) cursor for a given gengrid item is being
9271     * searched in its theme, also, or is only relying on the rendering
9272     * engine.
9273     *
9274     * @param item a gengrid item
9275     * @return @c EINA_TRUE, if cursors are being looked for only on
9276     * those provided by the rendering engine, @c EINA_FALSE if they
9277     * are being searched on the widget's theme, as well.
9278     *
9279     * @see elm_gengrid_item_cursor_engine_only_set(), for more details
9280     *
9281     * @ingroup Gengrid
9282     */
9283    EAPI Eina_Bool          elm_gengrid_item_cursor_engine_only_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9284
9285    /**
9286     * Remove all items from a given gengrid widget
9287     *
9288     * @param obj The gengrid object.
9289     *
9290     * This removes (and deletes) all items in @p obj, leaving it
9291     * empty.
9292     *
9293     * @see elm_gengrid_item_del(), to remove just one item.
9294     *
9295     * @ingroup Gengrid
9296     */
9297    EINA_DEPRECATED EAPI void elm_gengrid_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
9298
9299    /**
9300     * Get the selected item in a given gengrid widget
9301     *
9302     * @param obj The gengrid object.
9303     * @return The selected item's handleor @c NULL, if none is
9304     * selected at the moment (and on errors)
9305     *
9306     * This returns the selected item in @p obj. If multi selection is
9307     * enabled on @p obj (@see elm_gengrid_multi_select_set()), only
9308     * the first item in the list is selected, which might not be very
9309     * useful. For that case, see elm_gengrid_selected_items_get().
9310     *
9311     * @ingroup Gengrid
9312     */
9313    EAPI Elm_Gengrid_Item  *elm_gengrid_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9314
9315    /**
9316     * Get <b>a list</b> of selected items in a given gengrid
9317     *
9318     * @param obj The gengrid object.
9319     * @return The list of selected items or @c NULL, if none is
9320     * selected at the moment (and on errors)
9321     *
9322     * This returns a list of the selected items, in the order that
9323     * they appear in the grid. This list is only valid as long as no
9324     * more items are selected or unselected (or unselected implictly
9325     * by deletion). The list contains #Elm_Gengrid_Item pointers as
9326     * data, naturally.
9327     *
9328     * @see elm_gengrid_selected_item_get()
9329     *
9330     * @ingroup Gengrid
9331     */
9332    EAPI const Eina_List   *elm_gengrid_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9333
9334    /**
9335     * @}
9336     */
9337
9338    /**
9339     * @defgroup Clock Clock
9340     *
9341     * @image html img/widget/clock/preview-00.png
9342     * @image latex img/widget/clock/preview-00.eps
9343     *
9344     * This is a @b digital clock widget. In its default theme, it has a
9345     * vintage "flipping numbers clock" appearance, which will animate
9346     * sheets of individual algarisms individually as time goes by.
9347     *
9348     * A newly created clock will fetch system's time (already
9349     * considering local time adjustments) to start with, and will tick
9350     * accondingly. It may or may not show seconds.
9351     *
9352     * Clocks have an @b edition mode. When in it, the sheets will
9353     * display extra arrow indications on the top and bottom and the
9354     * user may click on them to raise or lower the time values. After
9355     * it's told to exit edition mode, it will keep ticking with that
9356     * new time set (it keeps the difference from local time).
9357     *
9358     * Also, when under edition mode, user clicks on the cited arrows
9359     * which are @b held for some time will make the clock to flip the
9360     * sheet, thus editing the time, continuosly and automatically for
9361     * the user. The interval between sheet flips will keep growing in
9362     * time, so that it helps the user to reach a time which is distant
9363     * from the one set.
9364     *
9365     * The time display is, by default, in military mode (24h), but an
9366     * am/pm indicator may be optionally shown, too, when it will
9367     * switch to 12h.
9368     *
9369     * Smart callbacks one can register to:
9370     * - "changed" - the clock's user changed the time
9371     *
9372     * Here is an example on its usage:
9373     * @li @ref clock_example
9374     */
9375
9376    /**
9377     * @addtogroup Clock
9378     * @{
9379     */
9380
9381    /**
9382     * Identifiers for which clock digits should be editable, when a
9383     * clock widget is in edition mode. Values may be ORed together to
9384     * make a mask, naturally.
9385     *
9386     * @see elm_clock_edit_set()
9387     * @see elm_clock_digit_edit_set()
9388     */
9389    typedef enum _Elm_Clock_Digedit
9390      {
9391         ELM_CLOCK_NONE         = 0, /**< Default value. Means that all digits are editable, when in edition mode. */
9392         ELM_CLOCK_HOUR_DECIMAL = 1 << 0, /**< Decimal algarism of hours value should be editable */
9393         ELM_CLOCK_HOUR_UNIT    = 1 << 1, /**< Unit algarism of hours value should be editable */
9394         ELM_CLOCK_MIN_DECIMAL  = 1 << 2, /**< Decimal algarism of minutes value should be editable */
9395         ELM_CLOCK_MIN_UNIT     = 1 << 3, /**< Unit algarism of minutes value should be editable */
9396         ELM_CLOCK_SEC_DECIMAL  = 1 << 4, /**< Decimal algarism of seconds value should be editable */
9397         ELM_CLOCK_SEC_UNIT     = 1 << 5, /**< Unit algarism of seconds value should be editable */
9398         ELM_CLOCK_ALL          = (1 << 6) - 1 /**< All digits should be editable */
9399      } Elm_Clock_Digedit;
9400
9401    /**
9402     * Add a new clock widget to the given parent Elementary
9403     * (container) object
9404     *
9405     * @param parent The parent object
9406     * @return a new clock widget handle or @c NULL, on errors
9407     *
9408     * This function inserts a new clock widget on the canvas.
9409     *
9410     * @ingroup Clock
9411     */
9412    EAPI Evas_Object      *elm_clock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9413
9414    /**
9415     * Set a clock widget's time, programmatically
9416     *
9417     * @param obj The clock widget object
9418     * @param hrs The hours to set
9419     * @param min The minutes to set
9420     * @param sec The secondes to set
9421     *
9422     * This function updates the time that is showed by the clock
9423     * widget.
9424     *
9425     *  Values @b must be set within the following ranges:
9426     * - 0 - 23, for hours
9427     * - 0 - 59, for minutes
9428     * - 0 - 59, for seconds,
9429     *
9430     * even if the clock is not in "military" mode.
9431     *
9432     * @warning The behavior for values set out of those ranges is @b
9433     * indefined.
9434     *
9435     * @ingroup Clock
9436     */
9437    EAPI void              elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec) EINA_ARG_NONNULL(1);
9438
9439    /**
9440     * Get a clock widget's time values
9441     *
9442     * @param obj The clock object
9443     * @param[out] hrs Pointer to the variable to get the hours value
9444     * @param[out] min Pointer to the variable to get the minutes value
9445     * @param[out] sec Pointer to the variable to get the seconds value
9446     *
9447     * This function gets the time set for @p obj, returning
9448     * it on the variables passed as the arguments to function
9449     *
9450     * @note Use @c NULL pointers on the time values you're not
9451     * interested in: they'll be ignored by the function.
9452     *
9453     * @ingroup Clock
9454     */
9455    EAPI void              elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec) EINA_ARG_NONNULL(1);
9456
9457    /**
9458     * Set whether a given clock widget is under <b>edition mode</b> or
9459     * under (default) displaying-only mode.
9460     *
9461     * @param obj The clock object
9462     * @param edit @c EINA_TRUE to put it in edition, @c EINA_FALSE to
9463     * put it back to "displaying only" mode
9464     *
9465     * This function makes a clock's time to be editable or not <b>by
9466     * user interaction</b>. When in edition mode, clocks @b stop
9467     * ticking, until one brings them back to canonical mode. The
9468     * elm_clock_digit_edit_set() function will influence which digits
9469     * of the clock will be editable. By default, all of them will be
9470     * (#ELM_CLOCK_NONE).
9471     *
9472     * @note am/pm sheets, if being shown, will @b always be editable
9473     * under edition mode.
9474     *
9475     * @see elm_clock_edit_get()
9476     *
9477     * @ingroup Clock
9478     */
9479    EAPI void              elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
9480
9481    /**
9482     * Retrieve whether a given clock widget is under <b>edition
9483     * mode</b> or under (default) displaying-only mode.
9484     *
9485     * @param obj The clock object
9486     * @param edit @c EINA_TRUE, if it's in edition mode, @c EINA_FALSE
9487     * otherwise
9488     *
9489     * This function retrieves whether the clock's time can be edited
9490     * or not by user interaction.
9491     *
9492     * @see elm_clock_edit_set() for more details
9493     *
9494     * @ingroup Clock
9495     */
9496    EAPI Eina_Bool         elm_clock_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9497
9498    /**
9499     * Set what digits of the given clock widget should be editable
9500     * when in edition mode.
9501     *
9502     * @param obj The clock object
9503     * @param digedit Bit mask indicating the digits to be editable
9504     * (values in #Elm_Clock_Digedit).
9505     *
9506     * If the @p digedit param is #ELM_CLOCK_NONE, editing will be
9507     * disabled on @p obj (same effect as elm_clock_edit_set(), with @c
9508     * EINA_FALSE).
9509     *
9510     * @see elm_clock_digit_edit_get()
9511     *
9512     * @ingroup Clock
9513     */
9514    EAPI void              elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit) EINA_ARG_NONNULL(1);
9515
9516    /**
9517     * Retrieve what digits of the given clock widget should be
9518     * editable when in edition mode.
9519     *
9520     * @param obj The clock object
9521     * @return Bit mask indicating the digits to be editable
9522     * (values in #Elm_Clock_Digedit).
9523     *
9524     * @see elm_clock_digit_edit_set() for more details
9525     *
9526     * @ingroup Clock
9527     */
9528    EAPI Elm_Clock_Digedit elm_clock_digit_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9529
9530    /**
9531     * Set if the given clock widget must show hours in military or
9532     * am/pm mode
9533     *
9534     * @param obj The clock object
9535     * @param am_pm @c EINA_TRUE to put it in am/pm mode, @c EINA_FALSE
9536     * to military mode
9537     *
9538     * This function sets if the clock must show hours in military or
9539     * am/pm mode. In some countries like Brazil the military mode
9540     * (00-24h-format) is used, in opposition to the USA, where the
9541     * am/pm mode is more commonly used.
9542     *
9543     * @see elm_clock_show_am_pm_get()
9544     *
9545     * @ingroup Clock
9546     */
9547    EAPI void              elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm) EINA_ARG_NONNULL(1);
9548
9549    /**
9550     * Get if the given clock widget shows hours in military or am/pm
9551     * mode
9552     *
9553     * @param obj The clock object
9554     * @return @c EINA_TRUE, if in am/pm mode, @c EINA_FALSE if in
9555     * military
9556     *
9557     * This function gets if the clock shows hours in military or am/pm
9558     * mode.
9559     *
9560     * @see elm_clock_show_am_pm_set() for more details
9561     *
9562     * @ingroup Clock
9563     */
9564    EAPI Eina_Bool         elm_clock_show_am_pm_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9565
9566    /**
9567     * Set if the given clock widget must show time with seconds or not
9568     *
9569     * @param obj The clock object
9570     * @param seconds @c EINA_TRUE to show seconds, @c EINA_FALSE otherwise
9571     *
9572     * This function sets if the given clock must show or not elapsed
9573     * seconds. By default, they are @b not shown.
9574     *
9575     * @see elm_clock_show_seconds_get()
9576     *
9577     * @ingroup Clock
9578     */
9579    EAPI void              elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds) EINA_ARG_NONNULL(1);
9580
9581    /**
9582     * Get whether the given clock widget is showing time with seconds
9583     * or not
9584     *
9585     * @param obj The clock object
9586     * @return @c EINA_TRUE if it's showing seconds, @c EINA_FALSE otherwise
9587     *
9588     * This function gets whether @p obj is showing or not the elapsed
9589     * seconds.
9590     *
9591     * @see elm_clock_show_seconds_set()
9592     *
9593     * @ingroup Clock
9594     */
9595    EAPI Eina_Bool         elm_clock_show_seconds_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9596
9597    /**
9598     * Set the interval on time updates for an user mouse button hold
9599     * on clock widgets' time edition.
9600     *
9601     * @param obj The clock object
9602     * @param interval The (first) interval value in seconds
9603     *
9604     * This interval value is @b decreased while the user holds the
9605     * mouse pointer either incrementing or decrementing a given the
9606     * clock digit's value.
9607     *
9608     * This helps the user to get to a given time distant from the
9609     * current one easier/faster, as it will start to flip quicker and
9610     * quicker on mouse button holds.
9611     *
9612     * The calculation for the next flip interval value, starting from
9613     * the one set with this call, is the previous interval divided by
9614     * 1.05, so it decreases a little bit.
9615     *
9616     * The default starting interval value for automatic flips is
9617     * @b 0.85 seconds.
9618     *
9619     * @see elm_clock_interval_get()
9620     *
9621     * @ingroup Clock
9622     */
9623    EAPI void              elm_clock_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
9624
9625    /**
9626     * Get the interval on time updates for an user mouse button hold
9627     * on clock widgets' time edition.
9628     *
9629     * @param obj The clock object
9630     * @return The (first) interval value, in seconds, set on it
9631     *
9632     * @see elm_clock_interval_set() for more details
9633     *
9634     * @ingroup Clock
9635     */
9636    EAPI double            elm_clock_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9637
9638    /**
9639     * @}
9640     */
9641
9642    /**
9643     * @defgroup Layout Layout
9644     *
9645     * @image html img/widget/layout/preview-00.png
9646     * @image latex img/widget/layout/preview-00.eps width=\textwidth
9647     *
9648     * @image html img/layout-predefined.png
9649     * @image latex img/layout-predefined.eps width=\textwidth
9650     *
9651     * This is a container widget that takes a standard Edje design file and
9652     * wraps it very thinly in a widget.
9653     *
9654     * An Edje design (theme) file has a very wide range of possibilities to
9655     * describe the behavior of elements added to the Layout. Check out the Edje
9656     * documentation and the EDC reference to get more information about what can
9657     * be done with Edje.
9658     *
9659     * Just like @ref List, @ref Box, and other container widgets, any
9660     * object added to the Layout will become its child, meaning that it will be
9661     * deleted if the Layout is deleted, move if the Layout is moved, and so on.
9662     *
9663     * The Layout widget can contain as many Contents, Boxes or Tables as
9664     * described in its theme file. For instance, objects can be added to
9665     * different Tables by specifying the respective Table part names. The same
9666     * is valid for Content and Box.
9667     *
9668     * The objects added as child of the Layout will behave as described in the
9669     * part description where they were added. There are 3 possible types of
9670     * parts where a child can be added:
9671     *
9672     * @section secContent Content (SWALLOW part)
9673     *
9674     * Only one object can be added to the @c SWALLOW part (but you still can
9675     * have many @c SWALLOW parts and one object on each of them). Use the @c
9676     * elm_layout_content_* set of functions to set, retrieve and unset objects
9677     * as content of the @c SWALLOW. After being set to this part, the object
9678     * size, position, visibility, clipping and other description properties
9679     * will be totally controled by the description of the given part (inside
9680     * the Edje theme file).
9681     *
9682     * One can use @c evas_object_size_hint_* functions on the child to have some
9683     * kind of control over its behavior, but the resulting behavior will still
9684     * depend heavily on the @c SWALLOW part description.
9685     *
9686     * The Edje theme also can change the part description, based on signals or
9687     * scripts running inside the theme. This change can also be animated. All of
9688     * this will affect the child object set as content accordingly. The object
9689     * size will be changed if the part size is changed, it will animate move if
9690     * the part is moving, and so on.
9691     *
9692     * The following picture demonstrates a Layout widget with a child object
9693     * added to its @c SWALLOW:
9694     *
9695     * @image html layout_swallow.png
9696     * @image latex layout_swallow.eps width=\textwidth
9697     *
9698     * @section secBox Box (BOX part)
9699     *
9700     * An Edje @c BOX part is very similar to the Elementary @ref Box widget. It
9701     * allows one to add objects to the box and have them distributed along its
9702     * area, accordingly to the specified @a layout property (now by @a layout we
9703     * mean the chosen layouting design of the Box, not the Layout widget
9704     * itself).
9705     *
9706     * A similar effect for having a box with its position, size and other things
9707     * controled by the Layout theme would be to create an Elementary @ref Box
9708     * widget and add it as a Content in the @c SWALLOW part.
9709     *
9710     * The main difference of using the Layout Box is that its behavior, the box
9711     * properties like layouting format, padding, align, etc. will be all
9712     * controled by the theme. This means, for example, that a signal could be
9713     * sent to the Layout theme (with elm_object_signal_emit()) and the theme
9714     * handled the signal by changing the box padding, or align, or both. Using
9715     * the Elementary @ref Box widget is not necessarily harder or easier, it
9716     * just depends on the circunstances and requirements.
9717     *
9718     * The Layout Box can be used through the @c elm_layout_box_* set of
9719     * functions.
9720     *
9721     * The following picture demonstrates a Layout widget with many child objects
9722     * added to its @c BOX part:
9723     *
9724     * @image html layout_box.png
9725     * @image latex layout_box.eps width=\textwidth
9726     *
9727     * @section secTable Table (TABLE part)
9728     *
9729     * Just like the @ref secBox, the Layout Table is very similar to the
9730     * Elementary @ref Table widget. It allows one to add objects to the Table
9731     * specifying the row and column where the object should be added, and any
9732     * column or row span if necessary.
9733     *
9734     * Again, we could have this design by adding a @ref Table widget to the @c
9735     * SWALLOW part using elm_layout_content_set(). The same difference happens
9736     * here when choosing to use the Layout Table (a @c TABLE part) instead of
9737     * the @ref Table plus @c SWALLOW part. It's just a matter of convenience.
9738     *
9739     * The Layout Table can be used through the @c elm_layout_table_* set of
9740     * functions.
9741     *
9742     * The following picture demonstrates a Layout widget with many child objects
9743     * added to its @c TABLE part:
9744     *
9745     * @image html layout_table.png
9746     * @image latex layout_table.eps width=\textwidth
9747     *
9748     * @section secPredef Predefined Layouts
9749     *
9750     * Another interesting thing about the Layout widget is that it offers some
9751     * predefined themes that come with the default Elementary theme. These
9752     * themes can be set by the call elm_layout_theme_set(), and provide some
9753     * basic functionality depending on the theme used.
9754     *
9755     * Most of them already send some signals, some already provide a toolbar or
9756     * back and next buttons.
9757     *
9758     * These are available predefined theme layouts. All of them have class = @c
9759     * layout, group = @c application, and style = one of the following options:
9760     *
9761     * @li @c toolbar-content - application with toolbar and main content area
9762     * @li @c toolbar-content-back - application with toolbar and main content
9763     * area with a back button and title area
9764     * @li @c toolbar-content-back-next - application with toolbar and main
9765     * content area with a back and next buttons and title area
9766     * @li @c content-back - application with a main content area with a back
9767     * button and title area
9768     * @li @c content-back-next - application with a main content area with a
9769     * back and next buttons and title area
9770     * @li @c toolbar-vbox - application with toolbar and main content area as a
9771     * vertical box
9772     * @li @c toolbar-table - application with toolbar and main content area as a
9773     * table
9774     *
9775     * @section secExamples Examples
9776     *
9777     * Some examples of the Layout widget can be found here:
9778     * @li @ref layout_example_01
9779     * @li @ref layout_example_02
9780     * @li @ref layout_example_03
9781     * @li @ref layout_example_edc
9782     *
9783     */
9784
9785    /**
9786     * Add a new layout to the parent
9787     *
9788     * @param parent The parent object
9789     * @return The new object or NULL if it cannot be created
9790     *
9791     * @see elm_layout_file_set()
9792     * @see elm_layout_theme_set()
9793     *
9794     * @ingroup Layout
9795     */
9796    EAPI Evas_Object       *elm_layout_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9797    /**
9798     * Set the file that will be used as layout
9799     *
9800     * @param obj The layout object
9801     * @param file The path to file (edj) that will be used as layout
9802     * @param group The group that the layout belongs in edje file
9803     *
9804     * @return (1 = success, 0 = error)
9805     *
9806     * @ingroup Layout
9807     */
9808    EAPI Eina_Bool          elm_layout_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
9809    /**
9810     * Set the edje group from the elementary theme that will be used as layout
9811     *
9812     * @param obj The layout object
9813     * @param clas the clas of the group
9814     * @param group the group
9815     * @param style the style to used
9816     *
9817     * @return (1 = success, 0 = error)
9818     *
9819     * @ingroup Layout
9820     */
9821    EAPI Eina_Bool          elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style) EINA_ARG_NONNULL(1);
9822    /**
9823     * Set the layout content.
9824     *
9825     * @param obj The layout object
9826     * @param swallow The swallow part name in the edje file
9827     * @param content The child that will be added in this layout object
9828     *
9829     * Once the content object is set, a previously set one will be deleted.
9830     * If you want to keep that old content object, use the
9831     * elm_layout_content_unset() function.
9832     *
9833     * @note In an Edje theme, the part used as a content container is called @c
9834     * SWALLOW. This is why the parameter name is called @p swallow, but it is
9835     * expected to be a part name just like the second parameter of
9836     * elm_layout_box_append().
9837     *
9838     * @see elm_layout_box_append()
9839     * @see elm_layout_content_get()
9840     * @see elm_layout_content_unset()
9841     * @see @ref secBox
9842     *
9843     * @ingroup Layout
9844     */
9845    EAPI void               elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
9846    /**
9847     * Get the child object in the given content part.
9848     *
9849     * @param obj The layout object
9850     * @param swallow The SWALLOW part to get its content
9851     *
9852     * @return The swallowed object or NULL if none or an error occurred
9853     *
9854     * @see elm_layout_content_set()
9855     *
9856     * @ingroup Layout
9857     */
9858    EAPI Evas_Object       *elm_layout_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
9859    /**
9860     * Unset the layout content.
9861     *
9862     * @param obj The layout object
9863     * @param swallow The swallow part name in the edje file
9864     * @return The content that was being used
9865     *
9866     * Unparent and return the content object which was set for this part.
9867     *
9868     * @see elm_layout_content_set()
9869     *
9870     * @ingroup Layout
9871     */
9872     EAPI Evas_Object       *elm_layout_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
9873    /**
9874     * Set the text of the given part
9875     *
9876     * @param obj The layout object
9877     * @param part The TEXT part where to set the text
9878     * @param text The text to set
9879     *
9880     * @ingroup Layout
9881     * @deprecated use elm_object_text_* instead.
9882     */
9883    EINA_DEPRECATED EAPI void               elm_layout_text_set(Evas_Object *obj, const char *part, const char *text) EINA_ARG_NONNULL(1);
9884    /**
9885     * Get the text set in the given part
9886     *
9887     * @param obj The layout object
9888     * @param part The TEXT part to retrieve the text off
9889     *
9890     * @return The text set in @p part
9891     *
9892     * @ingroup Layout
9893     * @deprecated use elm_object_text_* instead.
9894     */
9895    EINA_DEPRECATED EAPI const char        *elm_layout_text_get(const Evas_Object *obj, const char *part) EINA_ARG_NONNULL(1);
9896    /**
9897     * Append child to layout box part.
9898     *
9899     * @param obj the layout object
9900     * @param part the box part to which the object will be appended.
9901     * @param child the child object to append to box.
9902     *
9903     * Once the object is appended, it will become child of the layout. Its
9904     * lifetime will be bound to the layout, whenever the layout dies the child
9905     * will be deleted automatically. One should use elm_layout_box_remove() to
9906     * make this layout forget about the object.
9907     *
9908     * @see elm_layout_box_prepend()
9909     * @see elm_layout_box_insert_before()
9910     * @see elm_layout_box_insert_at()
9911     * @see elm_layout_box_remove()
9912     *
9913     * @ingroup Layout
9914     */
9915    EAPI void               elm_layout_box_append(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
9916    /**
9917     * Prepend child to layout box part.
9918     *
9919     * @param obj the layout object
9920     * @param part the box part to prepend.
9921     * @param child the child object to prepend to box.
9922     *
9923     * Once the object is prepended, it will become child of the layout. Its
9924     * lifetime will be bound to the layout, whenever the layout dies the child
9925     * will be deleted automatically. One should use elm_layout_box_remove() to
9926     * make this layout forget about the object.
9927     *
9928     * @see elm_layout_box_append()
9929     * @see elm_layout_box_insert_before()
9930     * @see elm_layout_box_insert_at()
9931     * @see elm_layout_box_remove()
9932     *
9933     * @ingroup Layout
9934     */
9935    EAPI void               elm_layout_box_prepend(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
9936    /**
9937     * Insert child to layout box part before a reference object.
9938     *
9939     * @param obj the layout object
9940     * @param part the box part to insert.
9941     * @param child the child object to insert into box.
9942     * @param reference another reference object to insert before in box.
9943     *
9944     * Once the object is inserted, it will become child of the layout. Its
9945     * lifetime will be bound to the layout, whenever the layout dies the child
9946     * will be deleted automatically. One should use elm_layout_box_remove() to
9947     * make this layout forget about the object.
9948     *
9949     * @see elm_layout_box_append()
9950     * @see elm_layout_box_prepend()
9951     * @see elm_layout_box_insert_before()
9952     * @see elm_layout_box_remove()
9953     *
9954     * @ingroup Layout
9955     */
9956    EAPI void               elm_layout_box_insert_before(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference) EINA_ARG_NONNULL(1);
9957    /**
9958     * Insert child to layout box part at a given position.
9959     *
9960     * @param obj the layout object
9961     * @param part the box part to insert.
9962     * @param child the child object to insert into box.
9963     * @param pos the numeric position >=0 to insert the child.
9964     *
9965     * Once the object is inserted, it will become child of the layout. Its
9966     * lifetime will be bound to the layout, whenever the layout dies the child
9967     * will be deleted automatically. One should use elm_layout_box_remove() to
9968     * make this layout forget about the object.
9969     *
9970     * @see elm_layout_box_append()
9971     * @see elm_layout_box_prepend()
9972     * @see elm_layout_box_insert_before()
9973     * @see elm_layout_box_remove()
9974     *
9975     * @ingroup Layout
9976     */
9977    EAPI void               elm_layout_box_insert_at(Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos) EINA_ARG_NONNULL(1);
9978    /**
9979     * Remove a child of the given part box.
9980     *
9981     * @param obj The layout object
9982     * @param part The box part name to remove child.
9983     * @param child The object to remove from box.
9984     * @return The object that was being used, or NULL if not found.
9985     *
9986     * The object will be removed from the box part and its lifetime will
9987     * not be handled by the layout anymore. This is equivalent to
9988     * elm_layout_content_unset() for box.
9989     *
9990     * @see elm_layout_box_append()
9991     * @see elm_layout_box_remove_all()
9992     *
9993     * @ingroup Layout
9994     */
9995    EAPI Evas_Object       *elm_layout_box_remove(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1, 2, 3);
9996    /**
9997     * Remove all child of the given part box.
9998     *
9999     * @param obj The layout object
10000     * @param part The box part name to remove child.
10001     * @param clear If EINA_TRUE, then all objects will be deleted as
10002     *        well, otherwise they will just be removed and will be
10003     *        dangling on the canvas.
10004     *
10005     * The objects will be removed from the box part and their lifetime will
10006     * not be handled by the layout anymore. This is equivalent to
10007     * elm_layout_box_remove() for all box children.
10008     *
10009     * @see elm_layout_box_append()
10010     * @see elm_layout_box_remove()
10011     *
10012     * @ingroup Layout
10013     */
10014    EAPI void               elm_layout_box_remove_all(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
10015    /**
10016     * Insert child to layout table part.
10017     *
10018     * @param obj the layout object
10019     * @param part the box part to pack child.
10020     * @param child_obj the child object to pack into table.
10021     * @param col the column to which the child should be added. (>= 0)
10022     * @param row the row to which the child should be added. (>= 0)
10023     * @param colspan how many columns should be used to store this object. (>=
10024     *        1)
10025     * @param rowspan how many rows should be used to store this object. (>= 1)
10026     *
10027     * Once the object is inserted, it will become child of the table. Its
10028     * lifetime will be bound to the layout, and whenever the layout dies the
10029     * child will be deleted automatically. One should use
10030     * elm_layout_table_remove() to make this layout forget about the object.
10031     *
10032     * If @p colspan or @p rowspan are bigger than 1, that object will occupy
10033     * more space than a single cell. For instance, the following code:
10034     * @code
10035     * elm_layout_table_pack(layout, "table_part", child, 0, 1, 3, 1);
10036     * @endcode
10037     *
10038     * Would result in an object being added like the following picture:
10039     *
10040     * @image html layout_colspan.png
10041     * @image latex layout_colspan.eps width=\textwidth
10042     *
10043     * @see elm_layout_table_unpack()
10044     * @see elm_layout_table_clear()
10045     *
10046     * @ingroup Layout
10047     */
10048    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);
10049    /**
10050     * Unpack (remove) a child of the given part table.
10051     *
10052     * @param obj The layout object
10053     * @param part The table part name to remove child.
10054     * @param child_obj The object to remove from table.
10055     * @return The object that was being used, or NULL if not found.
10056     *
10057     * The object will be unpacked from the table part and its lifetime
10058     * will not be handled by the layout anymore. This is equivalent to
10059     * elm_layout_content_unset() for table.
10060     *
10061     * @see elm_layout_table_pack()
10062     * @see elm_layout_table_clear()
10063     *
10064     * @ingroup Layout
10065     */
10066    EAPI Evas_Object       *elm_layout_table_unpack(Evas_Object *obj, const char *part, Evas_Object *child_obj) EINA_ARG_NONNULL(1, 2, 3);
10067    /**
10068     * Remove all child of the given part table.
10069     *
10070     * @param obj The layout object
10071     * @param part The table part name to remove child.
10072     * @param clear If EINA_TRUE, then all objects will be deleted as
10073     *        well, otherwise they will just be removed and will be
10074     *        dangling on the canvas.
10075     *
10076     * The objects will be removed from the table part and their lifetime will
10077     * not be handled by the layout anymore. This is equivalent to
10078     * elm_layout_table_unpack() for all table children.
10079     *
10080     * @see elm_layout_table_pack()
10081     * @see elm_layout_table_unpack()
10082     *
10083     * @ingroup Layout
10084     */
10085    EAPI void               elm_layout_table_clear(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
10086    /**
10087     * Get the edje layout
10088     *
10089     * @param obj The layout object
10090     *
10091     * @return A Evas_Object with the edje layout settings loaded
10092     * with function elm_layout_file_set
10093     *
10094     * This returns the edje object. It is not expected to be used to then
10095     * swallow objects via edje_object_part_swallow() for example. Use
10096     * elm_layout_content_set() instead so child object handling and sizing is
10097     * done properly.
10098     *
10099     * @note This function should only be used if you really need to call some
10100     * low level Edje function on this edje object. All the common stuff (setting
10101     * text, emitting signals, hooking callbacks to signals, etc.) can be done
10102     * with proper elementary functions.
10103     *
10104     * @see elm_object_signal_callback_add()
10105     * @see elm_object_signal_emit()
10106     * @see elm_object_text_part_set()
10107     * @see elm_layout_content_set()
10108     * @see elm_layout_box_append()
10109     * @see elm_layout_table_pack()
10110     * @see elm_layout_data_get()
10111     *
10112     * @ingroup Layout
10113     */
10114    EAPI Evas_Object       *elm_layout_edje_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10115    /**
10116     * Get the edje data from the given layout
10117     *
10118     * @param obj The layout object
10119     * @param key The data key
10120     *
10121     * @return The edje data string
10122     *
10123     * This function fetches data specified inside the edje theme of this layout.
10124     * This function return NULL if data is not found.
10125     *
10126     * In EDC this comes from a data block within the group block that @p
10127     * obj was loaded from. E.g.
10128     *
10129     * @code
10130     * collections {
10131     *   group {
10132     *     name: "a_group";
10133     *     data {
10134     *       item: "key1" "value1";
10135     *       item: "key2" "value2";
10136     *     }
10137     *   }
10138     * }
10139     * @endcode
10140     *
10141     * @ingroup Layout
10142     */
10143    EAPI const char        *elm_layout_data_get(const Evas_Object *obj, const char *key) EINA_ARG_NONNULL(1, 2);
10144    /**
10145     * Eval sizing
10146     *
10147     * @param obj The layout object
10148     *
10149     * Manually forces a sizing re-evaluation. This is useful when the minimum
10150     * size required by the edje theme of this layout has changed. The change on
10151     * the minimum size required by the edje theme is not immediately reported to
10152     * the elementary layout, so one needs to call this function in order to tell
10153     * the widget (layout) that it needs to reevaluate its own size.
10154     *
10155     * The minimum size of the theme is calculated based on minimum size of
10156     * parts, the size of elements inside containers like box and table, etc. All
10157     * of this can change due to state changes, and that's when this function
10158     * should be called.
10159     *
10160     * Also note that a standard signal of "size,eval" "elm" emitted from the
10161     * edje object will cause this to happen too.
10162     *
10163     * @ingroup Layout
10164     */
10165    EAPI void               elm_layout_sizing_eval(Evas_Object *obj) EINA_ARG_NONNULL(1);
10166
10167    /**
10168     * Sets a specific cursor for an edje part.
10169     *
10170     * @param obj The layout object.
10171     * @param part_name a part from loaded edje group.
10172     * @param cursor cursor name to use, see Elementary_Cursor.h
10173     *
10174     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10175     *         part not exists or it has "mouse_events: 0".
10176     *
10177     * @ingroup Layout
10178     */
10179    EAPI Eina_Bool          elm_layout_part_cursor_set(Evas_Object *obj, const char *part_name, const char *cursor) EINA_ARG_NONNULL(1, 2);
10180
10181    /**
10182     * Get the cursor to be shown when mouse is over an edje part
10183     *
10184     * @param obj The layout object.
10185     * @param part_name a part from loaded edje group.
10186     * @return the cursor name.
10187     *
10188     * @ingroup Layout
10189     */
10190    EAPI const char        *elm_layout_part_cursor_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10191
10192    /**
10193     * Unsets a cursor previously set with elm_layout_part_cursor_set().
10194     *
10195     * @param obj The layout object.
10196     * @param part_name a part from loaded edje group, that had a cursor set
10197     *        with elm_layout_part_cursor_set().
10198     *
10199     * @ingroup Layout
10200     */
10201    EAPI void               elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10202
10203    /**
10204     * Sets a specific cursor style for an edje part.
10205     *
10206     * @param obj The layout object.
10207     * @param part_name a part from loaded edje group.
10208     * @param style the theme style to use (default, transparent, ...)
10209     *
10210     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10211     *         part not exists or it did not had a cursor set.
10212     *
10213     * @ingroup Layout
10214     */
10215    EAPI Eina_Bool          elm_layout_part_cursor_style_set(Evas_Object *obj, const char *part_name, const char *style) EINA_ARG_NONNULL(1, 2);
10216
10217    /**
10218     * Gets a specific cursor style for an edje part.
10219     *
10220     * @param obj The layout object.
10221     * @param part_name a part from loaded edje group.
10222     *
10223     * @return the theme style in use, defaults to "default". If the
10224     *         object does not have a cursor set, then NULL is returned.
10225     *
10226     * @ingroup Layout
10227     */
10228    EAPI const char        *elm_layout_part_cursor_style_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10229
10230    /**
10231     * Sets if the cursor set should be searched on the theme or should use
10232     * the provided by the engine, only.
10233     *
10234     * @note before you set if should look on theme you should define a
10235     * cursor with elm_layout_part_cursor_set(). By default it will only
10236     * look for cursors provided by the engine.
10237     *
10238     * @param obj The layout object.
10239     * @param part_name a part from loaded edje group.
10240     * @param engine_only if cursors should be just provided by the engine
10241     *        or should also search on widget's theme as well
10242     *
10243     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10244     *         part not exists or it did not had a cursor set.
10245     *
10246     * @ingroup Layout
10247     */
10248    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);
10249
10250    /**
10251     * Gets a specific cursor engine_only for an edje part.
10252     *
10253     * @param obj The layout object.
10254     * @param part_name a part from loaded edje group.
10255     *
10256     * @return whenever the cursor is just provided by engine or also from theme.
10257     *
10258     * @ingroup Layout
10259     */
10260    EAPI Eina_Bool          elm_layout_part_cursor_engine_only_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10261
10262 /**
10263  * @def elm_layout_icon_set
10264  * Convienience macro to set the icon object in a layout that follows the
10265  * Elementary naming convention for its parts.
10266  *
10267  * @ingroup Layout
10268  */
10269 #define elm_layout_icon_set(_ly, _obj) \
10270   do { \
10271     const char *sig; \
10272     elm_layout_content_set((_ly), "elm.swallow.icon", (_obj)); \
10273     if ((_obj)) sig = "elm,state,icon,visible"; \
10274     else sig = "elm,state,icon,hidden"; \
10275     elm_object_signal_emit((_ly), sig, "elm"); \
10276   } while (0)
10277
10278 /**
10279  * @def elm_layout_icon_get
10280  * Convienience macro to get the icon object from a layout that follows the
10281  * Elementary naming convention for its parts.
10282  *
10283  * @ingroup Layout
10284  */
10285 #define elm_layout_icon_get(_ly) \
10286   elm_layout_content_get((_ly), "elm.swallow.icon")
10287
10288 /**
10289  * @def elm_layout_end_set
10290  * Convienience macro to set the end object in a layout that follows the
10291  * Elementary naming convention for its parts.
10292  *
10293  * @ingroup Layout
10294  */
10295 #define elm_layout_end_set(_ly, _obj) \
10296   do { \
10297     const char *sig; \
10298     elm_layout_content_set((_ly), "elm.swallow.end", (_obj)); \
10299     if ((_obj)) sig = "elm,state,end,visible"; \
10300     else sig = "elm,state,end,hidden"; \
10301     elm_object_signal_emit((_ly), sig, "elm"); \
10302   } while (0)
10303
10304 /**
10305  * @def elm_layout_end_get
10306  * Convienience macro to get the end object in a layout that follows the
10307  * Elementary naming convention for its parts.
10308  *
10309  * @ingroup Layout
10310  */
10311 #define elm_layout_end_get(_ly) \
10312   elm_layout_content_get((_ly), "elm.swallow.end")
10313
10314 /**
10315  * @def elm_layout_label_set
10316  * Convienience macro to set the label in a layout that follows the
10317  * Elementary naming convention for its parts.
10318  *
10319  * @ingroup Layout
10320  * @deprecated use elm_object_text_* instead.
10321  */
10322 #define elm_layout_label_set(_ly, _txt) \
10323   elm_layout_text_set((_ly), "elm.text", (_txt))
10324
10325 /**
10326  * @def elm_layout_label_get
10327  * Convienience macro to get the label in a layout that follows the
10328  * Elementary naming convention for its parts.
10329  *
10330  * @ingroup Layout
10331  * @deprecated use elm_object_text_* instead.
10332  */
10333 #define elm_layout_label_get(_ly) \
10334   elm_layout_text_get((_ly), "elm.text")
10335
10336    /* smart callbacks called:
10337     * "theme,changed" - when elm theme is changed.
10338     */
10339
10340    /**
10341     * @defgroup Notify Notify
10342     *
10343     * @image html img/widget/notify/preview-00.png
10344     * @image latex img/widget/notify/preview-00.eps
10345     *
10346     * Display a container in a particular region of the parent(top, bottom,
10347     * etc.  A timeout can be set to automatically hide the notify. This is so
10348     * that, after an evas_object_show() on a notify object, if a timeout was set
10349     * on it, it will @b automatically get hidden after that time.
10350     *
10351     * Signals that you can add callbacks for are:
10352     * @li "timeout" - when timeout happens on notify and it's hidden
10353     * @li "block,clicked" - when a click outside of the notify happens
10354     *
10355     * @ref tutorial_notify show usage of the API.
10356     *
10357     * @{
10358     */
10359    /**
10360     * @brief Possible orient values for notify.
10361     *
10362     * This values should be used in conjunction to elm_notify_orient_set() to
10363     * set the position in which the notify should appear(relative to its parent)
10364     * and in conjunction with elm_notify_orient_get() to know where the notify
10365     * is appearing.
10366     */
10367    typedef enum _Elm_Notify_Orient
10368      {
10369         ELM_NOTIFY_ORIENT_TOP, /**< Notify should appear in the top of parent, default */
10370         ELM_NOTIFY_ORIENT_CENTER, /**< Notify should appear in the center of parent */
10371         ELM_NOTIFY_ORIENT_BOTTOM, /**< Notify should appear in the bottom of parent */
10372         ELM_NOTIFY_ORIENT_LEFT, /**< Notify should appear in the left of parent */
10373         ELM_NOTIFY_ORIENT_RIGHT, /**< Notify should appear in the right of parent */
10374         ELM_NOTIFY_ORIENT_TOP_LEFT, /**< Notify should appear in the top left of parent */
10375         ELM_NOTIFY_ORIENT_TOP_RIGHT, /**< Notify should appear in the top right of parent */
10376         ELM_NOTIFY_ORIENT_BOTTOM_LEFT, /**< Notify should appear in the bottom left of parent */
10377         ELM_NOTIFY_ORIENT_BOTTOM_RIGHT, /**< Notify should appear in the bottom right of parent */
10378         ELM_NOTIFY_ORIENT_LAST /**< Sentinel value, @b don't use */
10379      } Elm_Notify_Orient;
10380    /**
10381     * @brief Add a new notify to the parent
10382     *
10383     * @param parent The parent object
10384     * @return The new object or NULL if it cannot be created
10385     */
10386    EAPI Evas_Object      *elm_notify_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10387    /**
10388     * @brief Set the content of the notify widget
10389     *
10390     * @param obj The notify object
10391     * @param content The content will be filled in this notify object
10392     *
10393     * Once the content object is set, a previously set one will be deleted. If
10394     * you want to keep that old content object, use the
10395     * elm_notify_content_unset() function.
10396     */
10397    EAPI void              elm_notify_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
10398    /**
10399     * @brief Unset the content of the notify widget
10400     *
10401     * @param obj The notify object
10402     * @return The content that was being used
10403     *
10404     * Unparent and return the content object which was set for this widget
10405     *
10406     * @see elm_notify_content_set()
10407     */
10408    EAPI Evas_Object      *elm_notify_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
10409    /**
10410     * @brief Return the content of the notify widget
10411     *
10412     * @param obj The notify object
10413     * @return The content that is being used
10414     *
10415     * @see elm_notify_content_set()
10416     */
10417    EAPI Evas_Object      *elm_notify_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10418    /**
10419     * @brief Set the notify parent
10420     *
10421     * @param obj The notify object
10422     * @param content The new parent
10423     *
10424     * Once the parent object is set, a previously set one will be disconnected
10425     * and replaced.
10426     */
10427    EAPI void              elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
10428    /**
10429     * @brief Get the notify parent
10430     *
10431     * @param obj The notify object
10432     * @return The parent
10433     *
10434     * @see elm_notify_parent_set()
10435     */
10436    EAPI Evas_Object      *elm_notify_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10437    /**
10438     * @brief Set the orientation
10439     *
10440     * @param obj The notify object
10441     * @param orient The new orientation
10442     *
10443     * Sets the position in which the notify will appear in its parent.
10444     *
10445     * @see @ref Elm_Notify_Orient for possible values.
10446     */
10447    EAPI void              elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient) EINA_ARG_NONNULL(1);
10448    /**
10449     * @brief Return the orientation
10450     * @param obj The notify object
10451     * @return The orientation of the notification
10452     *
10453     * @see elm_notify_orient_set()
10454     * @see Elm_Notify_Orient
10455     */
10456    EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10457    /**
10458     * @brief Set the time interval after which the notify window is going to be
10459     * hidden.
10460     *
10461     * @param obj The notify object
10462     * @param time The timeout in seconds
10463     *
10464     * This function sets a timeout and starts the timer controlling when the
10465     * notify is hidden. Since calling evas_object_show() on a notify restarts
10466     * the timer controlling when the notify is hidden, setting this before the
10467     * notify is shown will in effect mean starting the timer when the notify is
10468     * shown.
10469     *
10470     * @note Set a value <= 0.0 to disable a running timer.
10471     *
10472     * @note If the value > 0.0 and the notify is previously visible, the
10473     * timer will be started with this value, canceling any running timer.
10474     */
10475    EAPI void              elm_notify_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
10476    /**
10477     * @brief Return the timeout value (in seconds)
10478     * @param obj the notify object
10479     *
10480     * @see elm_notify_timeout_set()
10481     */
10482    EAPI double            elm_notify_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10483    /**
10484     * @brief Sets whether events should be passed to by a click outside
10485     * its area.
10486     *
10487     * @param obj The notify object
10488     * @param repeats EINA_TRUE Events are repeats, else no
10489     *
10490     * When true if the user clicks outside the window the events will be caught
10491     * by the others widgets, else the events are blocked.
10492     *
10493     * @note The default value is EINA_TRUE.
10494     */
10495    EAPI void              elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat) EINA_ARG_NONNULL(1);
10496    /**
10497     * @brief Return true if events are repeat below the notify object
10498     * @param obj the notify object
10499     *
10500     * @see elm_notify_repeat_events_set()
10501     */
10502    EAPI Eina_Bool         elm_notify_repeat_events_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10503    /**
10504     * @}
10505     */
10506
10507    /**
10508     * @defgroup Hover Hover
10509     *
10510     * @image html img/widget/hover/preview-00.png
10511     * @image latex img/widget/hover/preview-00.eps
10512     *
10513     * A Hover object will hover over its @p parent object at the @p target
10514     * location. Anything in the background will be given a darker coloring to
10515     * indicate that the hover object is on top (at the default theme). When the
10516     * hover is clicked it is dismissed(hidden), if the contents of the hover are
10517     * clicked that @b doesn't cause the hover to be dismissed.
10518     *
10519     * @note The hover object will take up the entire space of @p target
10520     * object.
10521     *
10522     * Elementary has the following styles for the hover widget:
10523     * @li default
10524     * @li popout
10525     * @li menu
10526     * @li hoversel_vertical
10527     *
10528     * The following are the available position for content:
10529     * @li left
10530     * @li top-left
10531     * @li top
10532     * @li top-right
10533     * @li right
10534     * @li bottom-right
10535     * @li bottom
10536     * @li bottom-left
10537     * @li middle
10538     * @li smart
10539     *
10540     * Signals that you can add callbacks for are:
10541     * @li "clicked" - the user clicked the empty space in the hover to dismiss
10542     * @li "smart,changed" - a content object placed under the "smart"
10543     *                   policy was replaced to a new slot direction.
10544     *
10545     * See @ref tutorial_hover for more information.
10546     *
10547     * @{
10548     */
10549    typedef enum _Elm_Hover_Axis
10550      {
10551         ELM_HOVER_AXIS_NONE, /**< ELM_HOVER_AXIS_NONE -- no prefered orientation */
10552         ELM_HOVER_AXIS_HORIZONTAL, /**< ELM_HOVER_AXIS_HORIZONTAL -- horizontal */
10553         ELM_HOVER_AXIS_VERTICAL, /**< ELM_HOVER_AXIS_VERTICAL -- vertical */
10554         ELM_HOVER_AXIS_BOTH /**< ELM_HOVER_AXIS_BOTH -- both */
10555      } Elm_Hover_Axis;
10556    /**
10557     * @brief Adds a hover object to @p parent
10558     *
10559     * @param parent The parent object
10560     * @return The hover object or NULL if one could not be created
10561     */
10562    EAPI Evas_Object *elm_hover_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10563    /**
10564     * @brief Sets the target object for the hover.
10565     *
10566     * @param obj The hover object
10567     * @param target The object to center the hover onto. The hover
10568     *
10569     * This function will cause the hover to be centered on the target object.
10570     */
10571    EAPI void         elm_hover_target_set(Evas_Object *obj, Evas_Object *target) EINA_ARG_NONNULL(1);
10572    /**
10573     * @brief Gets the target object for the hover.
10574     *
10575     * @param obj The hover object
10576     * @param parent The object to locate the hover over.
10577     *
10578     * @see elm_hover_target_set()
10579     */
10580    EAPI Evas_Object *elm_hover_target_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10581    /**
10582     * @brief Sets the parent object for the hover.
10583     *
10584     * @param obj The hover object
10585     * @param parent The object to locate the hover over.
10586     *
10587     * This function will cause the hover to take up the entire space that the
10588     * parent object fills.
10589     */
10590    EAPI void         elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
10591    /**
10592     * @brief Gets the parent object for the hover.
10593     *
10594     * @param obj The hover object
10595     * @return The parent object to locate the hover over.
10596     *
10597     * @see elm_hover_parent_set()
10598     */
10599    EAPI Evas_Object *elm_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10600    /**
10601     * @brief Sets the content of the hover object and the direction in which it
10602     * will pop out.
10603     *
10604     * @param obj The hover object
10605     * @param swallow The direction that the object will be displayed
10606     * at. Accepted values are "left", "top-left", "top", "top-right",
10607     * "right", "bottom-right", "bottom", "bottom-left", "middle" and
10608     * "smart".
10609     * @param content The content to place at @p swallow
10610     *
10611     * Once the content object is set for a given direction, a previously
10612     * set one (on the same direction) will be deleted. If you want to
10613     * keep that old content object, use the elm_hover_content_unset()
10614     * function.
10615     *
10616     * All directions may have contents at the same time, except for
10617     * "smart". This is a special placement hint and its use case
10618     * independs of the calculations coming from
10619     * elm_hover_best_content_location_get(). Its use is for cases when
10620     * one desires only one hover content, but with a dinamic special
10621     * placement within the hover area. The content's geometry, whenever
10622     * it changes, will be used to decide on a best location not
10623     * extrapolating the hover's parent object view to show it in (still
10624     * being the hover's target determinant of its medium part -- move and
10625     * resize it to simulate finger sizes, for example). If one of the
10626     * directions other than "smart" are used, a previously content set
10627     * using it will be deleted, and vice-versa.
10628     */
10629    EAPI void         elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
10630    /**
10631     * @brief Get the content of the hover object, in a given direction.
10632     *
10633     * Return the content object which was set for this widget in the
10634     * @p swallow direction.
10635     *
10636     * @param obj The hover object
10637     * @param swallow The direction that the object was display at.
10638     * @return The content that was being used
10639     *
10640     * @see elm_hover_content_set()
10641     */
10642    EAPI Evas_Object *elm_hover_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10643    /**
10644     * @brief Unset the content of the hover object, in a given direction.
10645     *
10646     * Unparent and return the content object set at @p swallow direction.
10647     *
10648     * @param obj The hover object
10649     * @param swallow The direction that the object was display at.
10650     * @return The content that was being used.
10651     *
10652     * @see elm_hover_content_set()
10653     */
10654    EAPI Evas_Object *elm_hover_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10655    /**
10656     * @brief Returns the best swallow location for content in the hover.
10657     *
10658     * @param obj The hover object
10659     * @param pref_axis The preferred orientation axis for the hover object to use
10660     * @return The edje location to place content into the hover or @c
10661     *         NULL, on errors.
10662     *
10663     * Best is defined here as the location at which there is the most available
10664     * space.
10665     *
10666     * @p pref_axis may be one of
10667     * - @c ELM_HOVER_AXIS_NONE -- no prefered orientation
10668     * - @c ELM_HOVER_AXIS_HORIZONTAL -- horizontal
10669     * - @c ELM_HOVER_AXIS_VERTICAL -- vertical
10670     * - @c ELM_HOVER_AXIS_BOTH -- both
10671     *
10672     * If ELM_HOVER_AXIS_HORIZONTAL is choosen the returned position will
10673     * nescessarily be along the horizontal axis("left" or "right"). If
10674     * ELM_HOVER_AXIS_VERTICAL is choosen the returned position will nescessarily
10675     * be along the vertical axis("top" or "bottom"). Chossing
10676     * ELM_HOVER_AXIS_BOTH or ELM_HOVER_AXIS_NONE has the same effect and the
10677     * returned position may be in either axis.
10678     *
10679     * @see elm_hover_content_set()
10680     */
10681    EAPI const char  *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis) EINA_ARG_NONNULL(1);
10682    /**
10683     * @}
10684     */
10685
10686    /* entry */
10687    /**
10688     * @defgroup Entry Entry
10689     *
10690     * @image html img/widget/entry/preview-00.png
10691     * @image latex img/widget/entry/preview-00.eps width=\textwidth
10692     * @image html img/widget/entry/preview-01.png
10693     * @image latex img/widget/entry/preview-01.eps width=\textwidth
10694     * @image html img/widget/entry/preview-02.png
10695     * @image latex img/widget/entry/preview-02.eps width=\textwidth
10696     * @image html img/widget/entry/preview-03.png
10697     * @image latex img/widget/entry/preview-03.eps width=\textwidth
10698     *
10699     * An entry is a convenience widget which shows a box that the user can
10700     * enter text into. Entries by default don't scroll, so they grow to
10701     * accomodate the entire text, resizing the parent window as needed. This
10702     * can be changed with the elm_entry_scrollable_set() function.
10703     *
10704     * They can also be single line or multi line (the default) and when set
10705     * to multi line mode they support text wrapping in any of the modes
10706     * indicated by #Elm_Wrap_Type.
10707     *
10708     * Other features include password mode, filtering of inserted text with
10709     * elm_entry_text_filter_append() and related functions, inline "items" and
10710     * formatted markup text.
10711     *
10712     * @section entry-markup Formatted text
10713     *
10714     * The markup tags supported by the Entry are defined by the theme, but
10715     * even when writing new themes or extensions it's a good idea to stick to
10716     * a sane default, to maintain coherency and avoid application breakages.
10717     * Currently defined by the default theme are the following tags:
10718     * @li \<br\>: Inserts a line break.
10719     * @li \<ps\>: Inserts a paragraph separator. This is preferred over line
10720     * breaks.
10721     * @li \<tab\>: Inserts a tab.
10722     * @li \<em\>...\</em\>: Emphasis. Sets the @em oblique style for the
10723     * enclosed text.
10724     * @li \<b\>...\</b\>: Sets the @b bold style for the enclosed text.
10725     * @li \<link\>...\</link\>: Underlines the enclosed text.
10726     * @li \<hilight\>...\</hilight\>: Hilights the enclosed text.
10727     *
10728     * @section entry-special Special markups
10729     *
10730     * Besides those used to format text, entries support two special markup
10731     * tags used to insert clickable portions of text or items inlined within
10732     * the text.
10733     *
10734     * @subsection entry-anchors Anchors
10735     *
10736     * Anchors are similar to HTML anchors. Text can be surrounded by \<a\> and
10737     * \</a\> tags and an event will be generated when this text is clicked,
10738     * like this:
10739     *
10740     * @code
10741     * This text is outside <a href=anc-01>but this one is an anchor</a>
10742     * @endcode
10743     *
10744     * The @c href attribute in the opening tag gives the name that will be
10745     * used to identify the anchor and it can be any valid utf8 string.
10746     *
10747     * When an anchor is clicked, an @c "anchor,clicked" signal is emitted with
10748     * an #Elm_Entry_Anchor_Info in the @c event_info parameter for the
10749     * callback function. The same applies for "anchor,in" (mouse in), "anchor,out"
10750     * (mouse out), "anchor,down" (mouse down), and "anchor,up" (mouse up) events on
10751     * an anchor.
10752     *
10753     * @subsection entry-items Items
10754     *
10755     * Inlined in the text, any other @c Evas_Object can be inserted by using
10756     * \<item\> tags this way:
10757     *
10758     * @code
10759     * <item size=16x16 vsize=full href=emoticon/haha></item>
10760     * @endcode
10761     *
10762     * Just like with anchors, the @c href identifies each item, but these need,
10763     * in addition, to indicate their size, which is done using any one of
10764     * @c size, @c absize or @c relsize attributes. These attributes take their
10765     * value in the WxH format, where W is the width and H the height of the
10766     * item.
10767     *
10768     * @li absize: Absolute pixel size for the item. Whatever value is set will
10769     * be the item's size regardless of any scale value the object may have
10770     * been set to. The final line height will be adjusted to fit larger items.
10771     * @li size: Similar to @c absize, but it's adjusted to the scale value set
10772     * for the object.
10773     * @li relsize: Size is adjusted for the item to fit within the current
10774     * line height.
10775     *
10776     * Besides their size, items are specificed a @c vsize value that affects
10777     * how their final size and position are calculated. The possible values
10778     * are:
10779     * @li ascent: Item will be placed within the line's baseline and its
10780     * ascent. That is, the height between the line where all characters are
10781     * positioned and the highest point in the line. For @c size and @c absize
10782     * items, the descent value will be added to the total line height to make
10783     * them fit. @c relsize items will be adjusted to fit within this space.
10784     * @li full: Items will be placed between the descent and ascent, or the
10785     * lowest point in the line and its highest.
10786     *
10787     * The next image shows different configurations of items and how they
10788     * are the previously mentioned options affect their sizes. In all cases,
10789     * the green line indicates the ascent, blue for the baseline and red for
10790     * the descent.
10791     *
10792     * @image html entry_item.png
10793     * @image latex entry_item.eps width=\textwidth
10794     *
10795     * And another one to show how size differs from absize. In the first one,
10796     * the scale value is set to 1.0, while the second one is using one of 2.0.
10797     *
10798     * @image html entry_item_scale.png
10799     * @image latex entry_item_scale.eps width=\textwidth
10800     *
10801     * After the size for an item is calculated, the entry will request an
10802     * object to place in its space. For this, the functions set with
10803     * elm_entry_item_provider_append() and related functions will be called
10804     * in order until one of them returns a @c non-NULL value. If no providers
10805     * are available, or all of them return @c NULL, then the entry falls back
10806     * to one of the internal defaults, provided the name matches with one of
10807     * them.
10808     *
10809     * All of the following are currently supported:
10810     *
10811     * - emoticon/angry
10812     * - emoticon/angry-shout
10813     * - emoticon/crazy-laugh
10814     * - emoticon/evil-laugh
10815     * - emoticon/evil
10816     * - emoticon/goggle-smile
10817     * - emoticon/grumpy
10818     * - emoticon/grumpy-smile
10819     * - emoticon/guilty
10820     * - emoticon/guilty-smile
10821     * - emoticon/haha
10822     * - emoticon/half-smile
10823     * - emoticon/happy-panting
10824     * - emoticon/happy
10825     * - emoticon/indifferent
10826     * - emoticon/kiss
10827     * - emoticon/knowing-grin
10828     * - emoticon/laugh
10829     * - emoticon/little-bit-sorry
10830     * - emoticon/love-lots
10831     * - emoticon/love
10832     * - emoticon/minimal-smile
10833     * - emoticon/not-happy
10834     * - emoticon/not-impressed
10835     * - emoticon/omg
10836     * - emoticon/opensmile
10837     * - emoticon/smile
10838     * - emoticon/sorry
10839     * - emoticon/squint-laugh
10840     * - emoticon/surprised
10841     * - emoticon/suspicious
10842     * - emoticon/tongue-dangling
10843     * - emoticon/tongue-poke
10844     * - emoticon/uh
10845     * - emoticon/unhappy
10846     * - emoticon/very-sorry
10847     * - emoticon/what
10848     * - emoticon/wink
10849     * - emoticon/worried
10850     * - emoticon/wtf
10851     *
10852     * Alternatively, an item may reference an image by its path, using
10853     * the URI form @c file:///path/to/an/image.png and the entry will then
10854     * use that image for the item.
10855     *
10856     * @section entry-files Loading and saving files
10857     *
10858     * Entries have convinience functions to load text from a file and save
10859     * changes back to it after a short delay. The automatic saving is enabled
10860     * by default, but can be disabled with elm_entry_autosave_set() and files
10861     * can be loaded directly as plain text or have any markup in them
10862     * recognized. See elm_entry_file_set() for more details.
10863     *
10864     * @section entry-signals Emitted signals
10865     *
10866     * This widget emits the following signals:
10867     *
10868     * @li "changed": The text within the entry was changed.
10869     * @li "changed,user": The text within the entry was changed because of user interaction.
10870     * @li "activated": The enter key was pressed on a single line entry.
10871     * @li "press": A mouse button has been pressed on the entry.
10872     * @li "longpressed": A mouse button has been pressed and held for a couple
10873     * seconds.
10874     * @li "clicked": The entry has been clicked (mouse press and release).
10875     * @li "clicked,double": The entry has been double clicked.
10876     * @li "clicked,triple": The entry has been triple clicked.
10877     * @li "focused": The entry has received focus.
10878     * @li "unfocused": The entry has lost focus.
10879     * @li "selection,paste": A paste of the clipboard contents was requested.
10880     * @li "selection,copy": A copy of the selected text into the clipboard was
10881     * requested.
10882     * @li "selection,cut": A cut of the selected text into the clipboard was
10883     * requested.
10884     * @li "selection,start": A selection has begun and no previous selection
10885     * existed.
10886     * @li "selection,changed": The current selection has changed.
10887     * @li "selection,cleared": The current selection has been cleared.
10888     * @li "cursor,changed": The cursor has changed position.
10889     * @li "anchor,clicked": An anchor has been clicked. The event_info
10890     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10891     * @li "anchor,in": Mouse cursor has moved into an anchor. The event_info
10892     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10893     * @li "anchor,out": Mouse cursor has moved out of an anchor. The event_info
10894     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10895     * @li "anchor,up": Mouse button has been unpressed on an anchor. The event_info
10896     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10897     * @li "anchor,down": Mouse button has been pressed on an anchor. The event_info
10898     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
10899     * @li "preedit,changed": The preedit string has changed.
10900     * @li "language,changed": Program language changed.
10901     *
10902     * @section entry-examples
10903     *
10904     * An overview of the Entry API can be seen in @ref entry_example_01
10905     *
10906     * @{
10907     */
10908    /**
10909     * @typedef Elm_Entry_Anchor_Info
10910     *
10911     * The info sent in the callback for the "anchor,clicked" signals emitted
10912     * by entries.
10913     */
10914    typedef struct _Elm_Entry_Anchor_Info Elm_Entry_Anchor_Info;
10915    /**
10916     * @struct _Elm_Entry_Anchor_Info
10917     *
10918     * The info sent in the callback for the "anchor,clicked" signals emitted
10919     * by entries.
10920     */
10921    struct _Elm_Entry_Anchor_Info
10922      {
10923         const char *name; /**< The name of the anchor, as stated in its href */
10924         int         button; /**< The mouse button used to click on it */
10925         Evas_Coord  x, /**< Anchor geometry, relative to canvas */
10926                     y, /**< Anchor geometry, relative to canvas */
10927                     w, /**< Anchor geometry, relative to canvas */
10928                     h; /**< Anchor geometry, relative to canvas */
10929      };
10930    /**
10931     * @typedef Elm_Entry_Filter_Cb
10932     * This callback type is used by entry filters to modify text.
10933     * @param data The data specified as the last param when adding the filter
10934     * @param entry The entry object
10935     * @param text A pointer to the location of the text being filtered. This data can be modified,
10936     * but any additional allocations must be managed by the user.
10937     * @see elm_entry_text_filter_append
10938     * @see elm_entry_text_filter_prepend
10939     */
10940    typedef void (*Elm_Entry_Filter_Cb)(void *data, Evas_Object *entry, char **text);
10941
10942    /**
10943     * This adds an entry to @p parent object.
10944     *
10945     * By default, entries are:
10946     * @li not scrolled
10947     * @li multi-line
10948     * @li word wrapped
10949     * @li autosave is enabled
10950     *
10951     * @param parent The parent object
10952     * @return The new object or NULL if it cannot be created
10953     */
10954    EAPI Evas_Object *elm_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10955    /**
10956     * Sets the entry to single line mode.
10957     *
10958     * In single line mode, entries don't ever wrap when the text reaches the
10959     * edge, and instead they keep growing horizontally. Pressing the @c Enter
10960     * key will generate an @c "activate" event instead of adding a new line.
10961     *
10962     * When @p single_line is @c EINA_FALSE, line wrapping takes effect again
10963     * and pressing enter will break the text into a different line
10964     * without generating any events.
10965     *
10966     * @param obj The entry object
10967     * @param single_line If true, the text in the entry
10968     * will be on a single line.
10969     */
10970    EAPI void         elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
10971    /**
10972     * Gets whether the entry is set to be single line.
10973     *
10974     * @param obj The entry object
10975     * @return single_line If true, the text in the entry is set to display
10976     * on a single line.
10977     *
10978     * @see elm_entry_single_line_set()
10979     */
10980    EAPI Eina_Bool    elm_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10981    /**
10982     * Sets the entry to password mode.
10983     *
10984     * In password mode, entries are implicitly single line and the display of
10985     * any text in them is replaced with asterisks (*).
10986     *
10987     * @param obj The entry object
10988     * @param password If true, password mode is enabled.
10989     */
10990    EAPI void         elm_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
10991    /**
10992     * Gets whether the entry is set to password mode.
10993     *
10994     * @param obj The entry object
10995     * @return If true, the entry is set to display all characters
10996     * as asterisks (*).
10997     *
10998     * @see elm_entry_password_set()
10999     */
11000    EAPI Eina_Bool    elm_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11001    /**
11002     * This sets the text displayed within the entry to @p entry.
11003     *
11004     * @param obj The entry object
11005     * @param entry The text to be displayed
11006     *
11007     * @deprecated Use elm_object_text_set() instead.
11008     */
11009    EAPI void         elm_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11010    /**
11011     * This returns the text currently shown in object @p entry.
11012     * See also elm_entry_entry_set().
11013     *
11014     * @param obj The entry object
11015     * @return The currently displayed text or NULL on failure
11016     *
11017     * @deprecated Use elm_object_text_get() instead.
11018     */
11019    EAPI const char  *elm_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11020    /**
11021     * Appends @p entry to the text of the entry.
11022     *
11023     * Adds the text in @p entry to the end of any text already present in the
11024     * widget.
11025     *
11026     * The appended text is subject to any filters set for the widget.
11027     *
11028     * @param obj The entry object
11029     * @param entry The text to be displayed
11030     *
11031     * @see elm_entry_text_filter_append()
11032     */
11033    EAPI void         elm_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11034    /**
11035     * Gets whether the entry is empty.
11036     *
11037     * Empty means no text at all. If there are any markup tags, like an item
11038     * tag for which no provider finds anything, and no text is displayed, this
11039     * function still returns EINA_FALSE.
11040     *
11041     * @param obj The entry object
11042     * @return EINA_TRUE if the entry is empty, EINA_FALSE otherwise.
11043     */
11044    EAPI Eina_Bool    elm_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11045    /**
11046     * Gets any selected text within the entry.
11047     *
11048     * If there's any selected text in the entry, this function returns it as
11049     * a string in markup format. NULL is returned if no selection exists or
11050     * if an error occurred.
11051     *
11052     * The returned value points to an internal string and should not be freed
11053     * or modified in any way. If the @p entry object is deleted or its
11054     * contents are changed, the returned pointer should be considered invalid.
11055     *
11056     * @param obj The entry object
11057     * @return The selected text within the entry or NULL on failure
11058     */
11059    EAPI const char  *elm_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11060    /**
11061     * Inserts the given text into the entry at the current cursor position.
11062     *
11063     * This inserts text at the cursor position as if it was typed
11064     * by the user (note that this also allows markup which a user
11065     * can't just "type" as it would be converted to escaped text, so this
11066     * call can be used to insert things like emoticon items or bold push/pop
11067     * tags, other font and color change tags etc.)
11068     *
11069     * If any selection exists, it will be replaced by the inserted text.
11070     *
11071     * The inserted text is subject to any filters set for the widget.
11072     *
11073     * @param obj The entry object
11074     * @param entry The text to insert
11075     *
11076     * @see elm_entry_text_filter_append()
11077     */
11078    EAPI void         elm_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11079    /**
11080     * Set the line wrap type to use on multi-line entries.
11081     *
11082     * Sets the wrap type used by the entry to any of the specified in
11083     * #Elm_Wrap_Type. This tells how the text will be implicitly cut into a new
11084     * line (without inserting a line break or paragraph separator) when it
11085     * reaches the far edge of the widget.
11086     *
11087     * Note that this only makes sense for multi-line entries. A widget set
11088     * to be single line will never wrap.
11089     *
11090     * @param obj The entry object
11091     * @param wrap The wrap mode to use. See #Elm_Wrap_Type for details on them
11092     */
11093    EAPI void         elm_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
11094    /**
11095     * Gets the wrap mode the entry was set to use.
11096     *
11097     * @param obj The entry object
11098     * @return Wrap type
11099     *
11100     * @see also elm_entry_line_wrap_set()
11101     */
11102    EAPI Elm_Wrap_Type elm_entry_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11103    /**
11104     * Sets if the entry is to be editable or not.
11105     *
11106     * By default, entries are editable and when focused, any text input by the
11107     * user will be inserted at the current cursor position. But calling this
11108     * function with @p editable as EINA_FALSE will prevent the user from
11109     * inputting text into the entry.
11110     *
11111     * The only way to change the text of a non-editable entry is to use
11112     * elm_object_text_set(), elm_entry_entry_insert() and other related
11113     * functions.
11114     *
11115     * @param obj The entry object
11116     * @param editable If EINA_TRUE, user input will be inserted in the entry,
11117     * if not, the entry is read-only and no user input is allowed.
11118     */
11119    EAPI void         elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
11120    /**
11121     * Gets whether the entry is editable or not.
11122     *
11123     * @param obj The entry object
11124     * @return If true, the entry is editable by the user.
11125     * If false, it is not editable by the user
11126     *
11127     * @see elm_entry_editable_set()
11128     */
11129    EAPI Eina_Bool    elm_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11130    /**
11131     * This drops any existing text selection within the entry.
11132     *
11133     * @param obj The entry object
11134     */
11135    EAPI void         elm_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
11136    /**
11137     * This selects all text within the entry.
11138     *
11139     * @param obj The entry object
11140     */
11141    EAPI void         elm_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
11142    /**
11143     * This moves the cursor one place to the right within the entry.
11144     *
11145     * @param obj The entry object
11146     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11147     */
11148    EAPI Eina_Bool    elm_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
11149    /**
11150     * This moves the cursor one place to the left within the entry.
11151     *
11152     * @param obj The entry object
11153     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11154     */
11155    EAPI Eina_Bool    elm_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
11156    /**
11157     * This moves the cursor one line up within the entry.
11158     *
11159     * @param obj The entry object
11160     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11161     */
11162    EAPI Eina_Bool    elm_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
11163    /**
11164     * This moves the cursor one line down within the entry.
11165     *
11166     * @param obj The entry object
11167     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11168     */
11169    EAPI Eina_Bool    elm_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
11170    /**
11171     * This moves the cursor to the beginning of the entry.
11172     *
11173     * @param obj The entry object
11174     */
11175    EAPI void         elm_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11176    /**
11177     * This moves the cursor to the end of the entry.
11178     *
11179     * @param obj The entry object
11180     */
11181    EAPI void         elm_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11182    /**
11183     * This moves the cursor to the beginning of the current line.
11184     *
11185     * @param obj The entry object
11186     */
11187    EAPI void         elm_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11188    /**
11189     * This moves the cursor to the end of the current line.
11190     *
11191     * @param obj The entry object
11192     */
11193    EAPI void         elm_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11194    /**
11195     * This begins a selection within the entry as though
11196     * the user were holding down the mouse button to make a selection.
11197     *
11198     * @param obj The entry object
11199     */
11200    EAPI void         elm_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
11201    /**
11202     * This ends a selection within the entry as though
11203     * the user had just released the mouse button while making a selection.
11204     *
11205     * @param obj The entry object
11206     */
11207    EAPI void         elm_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
11208    /**
11209     * Gets whether a format node exists at the current cursor position.
11210     *
11211     * A format node is anything that defines how the text is rendered. It can
11212     * be a visible format node, such as a line break or a paragraph separator,
11213     * or an invisible one, such as bold begin or end tag.
11214     * This function returns whether any format node exists at the current
11215     * cursor position.
11216     *
11217     * @param obj The entry object
11218     * @return EINA_TRUE if the current cursor position contains a format node,
11219     * EINA_FALSE otherwise.
11220     *
11221     * @see elm_entry_cursor_is_visible_format_get()
11222     */
11223    EAPI Eina_Bool    elm_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11224    /**
11225     * Gets if the current cursor position holds a visible format node.
11226     *
11227     * @param obj The entry object
11228     * @return EINA_TRUE if the current cursor is a visible format, EINA_FALSE
11229     * if it's an invisible one or no format exists.
11230     *
11231     * @see elm_entry_cursor_is_format_get()
11232     */
11233    EAPI Eina_Bool    elm_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11234    /**
11235     * Gets the character pointed by the cursor at its current position.
11236     *
11237     * This function returns a string with the utf8 character stored at the
11238     * current cursor position.
11239     * Only the text is returned, any format that may exist will not be part
11240     * of the return value.
11241     *
11242     * @param obj The entry object
11243     * @return The text pointed by the cursors.
11244     */
11245    EAPI const char  *elm_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11246    /**
11247     * This function returns the geometry of the cursor.
11248     *
11249     * It's useful if you want to draw something on the cursor (or where it is),
11250     * or for example in the case of scrolled entry where you want to show the
11251     * cursor.
11252     *
11253     * @param obj The entry object
11254     * @param x returned geometry
11255     * @param y returned geometry
11256     * @param w returned geometry
11257     * @param h returned geometry
11258     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11259     */
11260    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);
11261    /**
11262     * Sets the cursor position in the entry to the given value
11263     *
11264     * The value in @p pos is the index of the character position within the
11265     * contents of the string as returned by elm_entry_cursor_pos_get().
11266     *
11267     * @param obj The entry object
11268     * @param pos The position of the cursor
11269     */
11270    EAPI void         elm_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
11271    /**
11272     * Retrieves the current position of the cursor in the entry
11273     *
11274     * @param obj The entry object
11275     * @return The cursor position
11276     */
11277    EAPI int          elm_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11278    /**
11279     * This executes a "cut" action on the selected text in the entry.
11280     *
11281     * @param obj The entry object
11282     */
11283    EAPI void         elm_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
11284    /**
11285     * This executes a "copy" action on the selected text in the entry.
11286     *
11287     * @param obj The entry object
11288     */
11289    EAPI void         elm_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
11290    /**
11291     * This executes a "paste" action in the entry.
11292     *
11293     * @param obj The entry object
11294     */
11295    EAPI void         elm_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
11296    /**
11297     * This clears and frees the items in a entry's contextual (longpress)
11298     * menu.
11299     *
11300     * @param obj The entry object
11301     *
11302     * @see elm_entry_context_menu_item_add()
11303     */
11304    EAPI void         elm_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
11305    /**
11306     * This adds an item to the entry's contextual menu.
11307     *
11308     * A longpress on an entry will make the contextual menu show up, if this
11309     * hasn't been disabled with elm_entry_context_menu_disabled_set().
11310     * By default, this menu provides a few options like enabling selection mode,
11311     * which is useful on embedded devices that need to be explicit about it,
11312     * and when a selection exists it also shows the copy and cut actions.
11313     *
11314     * With this function, developers can add other options to this menu to
11315     * perform any action they deem necessary.
11316     *
11317     * @param obj The entry object
11318     * @param label The item's text label
11319     * @param icon_file The item's icon file
11320     * @param icon_type The item's icon type
11321     * @param func The callback to execute when the item is clicked
11322     * @param data The data to associate with the item for related functions
11323     */
11324    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);
11325    /**
11326     * This disables the entry's contextual (longpress) menu.
11327     *
11328     * @param obj The entry object
11329     * @param disabled If true, the menu is disabled
11330     */
11331    EAPI void         elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
11332    /**
11333     * This returns whether the entry's contextual (longpress) menu is
11334     * disabled.
11335     *
11336     * @param obj The entry object
11337     * @return If true, the menu is disabled
11338     */
11339    EAPI Eina_Bool    elm_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11340    /**
11341     * This appends a custom item provider to the list for that entry
11342     *
11343     * This appends the given callback. The list is walked from beginning to end
11344     * with each function called given the item href string in the text. If the
11345     * function returns an object handle other than NULL (it should create an
11346     * object to do this), then this object is used to replace that item. If
11347     * not the next provider is called until one provides an item object, or the
11348     * default provider in entry does.
11349     *
11350     * @param obj The entry object
11351     * @param func The function called to provide the item object
11352     * @param data The data passed to @p func
11353     *
11354     * @see @ref entry-items
11355     */
11356    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);
11357    /**
11358     * This prepends a custom item provider to the list for that entry
11359     *
11360     * This prepends the given callback. See elm_entry_item_provider_append() for
11361     * more information
11362     *
11363     * @param obj The entry object
11364     * @param func The function called to provide the item object
11365     * @param data The data passed to @p func
11366     */
11367    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);
11368    /**
11369     * This removes a custom item provider to the list for that entry
11370     *
11371     * This removes the given callback. See elm_entry_item_provider_append() for
11372     * more information
11373     *
11374     * @param obj The entry object
11375     * @param func The function called to provide the item object
11376     * @param data The data passed to @p func
11377     */
11378    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);
11379    /**
11380     * Append a filter function for text inserted in the entry
11381     *
11382     * Append the given callback to the list. This functions will be called
11383     * whenever any text is inserted into the entry, with the text to be inserted
11384     * as a parameter. The callback function is free to alter the text in any way
11385     * it wants, but it must remember to free the given pointer and update it.
11386     * If the new text is to be discarded, the function can free it and set its
11387     * text parameter to NULL. This will also prevent any following filters from
11388     * being called.
11389     *
11390     * @param obj The entry object
11391     * @param func The function to use as text filter
11392     * @param data User data to pass to @p func
11393     */
11394    EAPI void         elm_entry_text_filter_append(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11395    /**
11396     * Prepend a filter function for text insdrted in the entry
11397     *
11398     * Prepend the given callback to the list. See elm_entry_text_filter_append()
11399     * for more information
11400     *
11401     * @param obj The entry object
11402     * @param func The function to use as text filter
11403     * @param data User data to pass to @p func
11404     */
11405    EAPI void         elm_entry_text_filter_prepend(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11406    /**
11407     * Remove a filter from the list
11408     *
11409     * Removes the given callback from the filter list. See
11410     * elm_entry_text_filter_append() for more information.
11411     *
11412     * @param obj The entry object
11413     * @param func The filter function to remove
11414     * @param data The user data passed when adding the function
11415     */
11416    EAPI void         elm_entry_text_filter_remove(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11417    /**
11418     * This converts a markup (HTML-like) string into UTF-8.
11419     *
11420     * The returned string is a malloc'ed buffer and it should be freed when
11421     * not needed anymore.
11422     *
11423     * @param s The string (in markup) to be converted
11424     * @return The converted string (in UTF-8). It should be freed.
11425     */
11426    EAPI char        *elm_entry_markup_to_utf8(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
11427    /**
11428     * This converts a UTF-8 string into markup (HTML-like).
11429     *
11430     * The returned string is a malloc'ed buffer and it should be freed when
11431     * not needed anymore.
11432     *
11433     * @param s The string (in UTF-8) to be converted
11434     * @return The converted string (in markup). It should be freed.
11435     */
11436    EAPI char        *elm_entry_utf8_to_markup(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
11437    /**
11438     * This sets the file (and implicitly loads it) for the text to display and
11439     * then edit. All changes are written back to the file after a short delay if
11440     * the entry object is set to autosave (which is the default).
11441     *
11442     * If the entry had any other file set previously, any changes made to it
11443     * will be saved if the autosave feature is enabled, otherwise, the file
11444     * will be silently discarded and any non-saved changes will be lost.
11445     *
11446     * @param obj The entry object
11447     * @param file The path to the file to load and save
11448     * @param format The file format
11449     */
11450    EAPI void         elm_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
11451    /**
11452     * Gets the file being edited by the entry.
11453     *
11454     * This function can be used to retrieve any file set on the entry for
11455     * edition, along with the format used to load and save it.
11456     *
11457     * @param obj The entry object
11458     * @param file The path to the file to load and save
11459     * @param format The file format
11460     */
11461    EAPI void         elm_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
11462    /**
11463     * This function writes any changes made to the file set with
11464     * elm_entry_file_set()
11465     *
11466     * @param obj The entry object
11467     */
11468    EAPI void         elm_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
11469    /**
11470     * This sets the entry object to 'autosave' the loaded text file or not.
11471     *
11472     * @param obj The entry object
11473     * @param autosave Autosave the loaded file or not
11474     *
11475     * @see elm_entry_file_set()
11476     */
11477    EAPI void         elm_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
11478    /**
11479     * This gets the entry object's 'autosave' status.
11480     *
11481     * @param obj The entry object
11482     * @return Autosave the loaded file or not
11483     *
11484     * @see elm_entry_file_set()
11485     */
11486    EAPI Eina_Bool    elm_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11487    /**
11488     * Control pasting of text and images for the widget.
11489     *
11490     * Normally the entry allows both text and images to be pasted.  By setting
11491     * textonly to be true, this prevents images from being pasted.
11492     *
11493     * Note this only changes the behaviour of text.
11494     *
11495     * @param obj The entry object
11496     * @param textonly paste mode - EINA_TRUE is text only, EINA_FALSE is
11497     * text+image+other.
11498     */
11499    EAPI void         elm_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
11500    /**
11501     * Getting elm_entry text paste/drop mode.
11502     *
11503     * In textonly mode, only text may be pasted or dropped into the widget.
11504     *
11505     * @param obj The entry object
11506     * @return If the widget only accepts text from pastes.
11507     */
11508    EAPI Eina_Bool    elm_entry_cnp_textonly_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11509    /**
11510     * Enable or disable scrolling in entry
11511     *
11512     * Normally the entry is not scrollable unless you enable it with this call.
11513     *
11514     * @param obj The entry object
11515     * @param scroll EINA_TRUE if it is to be scrollable, EINA_FALSE otherwise
11516     */
11517    EAPI void         elm_entry_scrollable_set(Evas_Object *obj, Eina_Bool scroll);
11518    /**
11519     * Get the scrollable state of the entry
11520     *
11521     * Normally the entry is not scrollable. This gets the scrollable state
11522     * of the entry. See elm_entry_scrollable_set() for more information.
11523     *
11524     * @param obj The entry object
11525     * @return The scrollable state
11526     */
11527    EAPI Eina_Bool    elm_entry_scrollable_get(const Evas_Object *obj);
11528    /**
11529     * This sets a widget to be displayed to the left of a scrolled entry.
11530     *
11531     * @param obj The scrolled entry object
11532     * @param icon The widget to display on the left side of the scrolled
11533     * entry.
11534     *
11535     * @note A previously set widget will be destroyed.
11536     * @note If the object being set does not have minimum size hints set,
11537     * it won't get properly displayed.
11538     *
11539     * @see elm_entry_end_set()
11540     */
11541    EAPI void         elm_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
11542    /**
11543     * Gets the leftmost widget of the scrolled entry. This object is
11544     * owned by the scrolled entry and should not be modified.
11545     *
11546     * @param obj The scrolled entry object
11547     * @return the left widget inside the scroller
11548     */
11549    EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *obj);
11550    /**
11551     * Unset the leftmost widget of the scrolled entry, unparenting and
11552     * returning it.
11553     *
11554     * @param obj The scrolled entry object
11555     * @return the previously set icon sub-object of this entry, on
11556     * success.
11557     *
11558     * @see elm_entry_icon_set()
11559     */
11560    EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj);
11561    /**
11562     * Sets the visibility of the left-side widget of the scrolled entry,
11563     * set by elm_entry_icon_set().
11564     *
11565     * @param obj The scrolled entry object
11566     * @param setting EINA_TRUE if the object should be displayed,
11567     * EINA_FALSE if not.
11568     */
11569    EAPI void         elm_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
11570    /**
11571     * This sets a widget to be displayed to the end of a scrolled entry.
11572     *
11573     * @param obj The scrolled entry object
11574     * @param end The widget to display on the right side of the scrolled
11575     * entry.
11576     *
11577     * @note A previously set widget will be destroyed.
11578     * @note If the object being set does not have minimum size hints set,
11579     * it won't get properly displayed.
11580     *
11581     * @see elm_entry_icon_set
11582     */
11583    EAPI void         elm_entry_end_set(Evas_Object *obj, Evas_Object *end);
11584    /**
11585     * Gets the endmost widget of the scrolled entry. This object is owned
11586     * by the scrolled entry and should not be modified.
11587     *
11588     * @param obj The scrolled entry object
11589     * @return the right widget inside the scroller
11590     */
11591    EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj);
11592    /**
11593     * Unset the endmost widget of the scrolled entry, unparenting and
11594     * returning it.
11595     *
11596     * @param obj The scrolled entry object
11597     * @return the previously set icon sub-object of this entry, on
11598     * success.
11599     *
11600     * @see elm_entry_icon_set()
11601     */
11602    EAPI Evas_Object *elm_entry_end_unset(Evas_Object *obj);
11603    /**
11604     * Sets the visibility of the end widget of the scrolled entry, set by
11605     * elm_entry_end_set().
11606     *
11607     * @param obj The scrolled entry object
11608     * @param setting EINA_TRUE if the object should be displayed,
11609     * EINA_FALSE if not.
11610     */
11611    EAPI void         elm_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
11612    /**
11613     * This sets the scrolled entry's scrollbar policy (ie. enabling/disabling
11614     * them).
11615     *
11616     * Setting an entry to single-line mode with elm_entry_single_line_set()
11617     * will automatically disable the display of scrollbars when the entry
11618     * moves inside its scroller.
11619     *
11620     * @param obj The scrolled entry object
11621     * @param h The horizontal scrollbar policy to apply
11622     * @param v The vertical scrollbar policy to apply
11623     */
11624    EAPI void         elm_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
11625    /**
11626     * This enables/disables bouncing within the entry.
11627     *
11628     * This function sets whether the entry will bounce when scrolling reaches
11629     * the end of the contained entry.
11630     *
11631     * @param obj The scrolled entry object
11632     * @param h The horizontal bounce state
11633     * @param v The vertical bounce state
11634     */
11635    EAPI void         elm_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
11636    /**
11637     * Get the bounce mode
11638     *
11639     * @param obj The Entry object
11640     * @param h_bounce Allow bounce horizontally
11641     * @param v_bounce Allow bounce vertically
11642     */
11643    EAPI void         elm_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
11644
11645    /* pre-made filters for entries */
11646    /**
11647     * @typedef Elm_Entry_Filter_Limit_Size
11648     *
11649     * Data for the elm_entry_filter_limit_size() entry filter.
11650     */
11651    typedef struct _Elm_Entry_Filter_Limit_Size Elm_Entry_Filter_Limit_Size;
11652    /**
11653     * @struct _Elm_Entry_Filter_Limit_Size
11654     *
11655     * Data for the elm_entry_filter_limit_size() entry filter.
11656     */
11657    struct _Elm_Entry_Filter_Limit_Size
11658      {
11659         int max_char_count; /**< The maximum number of characters allowed. */
11660         int max_byte_count; /**< The maximum number of bytes allowed*/
11661      };
11662    /**
11663     * Filter inserted text based on user defined character and byte limits
11664     *
11665     * Add this filter to an entry to limit the characters that it will accept
11666     * based the the contents of the provided #Elm_Entry_Filter_Limit_Size.
11667     * The funtion works on the UTF-8 representation of the string, converting
11668     * it from the set markup, thus not accounting for any format in it.
11669     *
11670     * The user must create an #Elm_Entry_Filter_Limit_Size structure and pass
11671     * it as data when setting the filter. In it, it's possible to set limits
11672     * by character count or bytes (any of them is disabled if 0), and both can
11673     * be set at the same time. In that case, it first checks for characters,
11674     * then bytes.
11675     *
11676     * The function will cut the inserted text in order to allow only the first
11677     * number of characters that are still allowed. The cut is made in
11678     * characters, even when limiting by bytes, in order to always contain
11679     * valid ones and avoid half unicode characters making it in.
11680     *
11681     * This filter, like any others, does not apply when setting the entry text
11682     * directly with elm_object_text_set() (or the deprecated
11683     * elm_entry_entry_set()).
11684     */
11685    EAPI void         elm_entry_filter_limit_size(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 2, 3);
11686    /**
11687     * @typedef Elm_Entry_Filter_Accept_Set
11688     *
11689     * Data for the elm_entry_filter_accept_set() entry filter.
11690     */
11691    typedef struct _Elm_Entry_Filter_Accept_Set Elm_Entry_Filter_Accept_Set;
11692    /**
11693     * @struct _Elm_Entry_Filter_Accept_Set
11694     *
11695     * Data for the elm_entry_filter_accept_set() entry filter.
11696     */
11697    struct _Elm_Entry_Filter_Accept_Set
11698      {
11699         const char *accepted; /**< Set of characters accepted in the entry. */
11700         const char *rejected; /**< Set of characters rejected from the entry. */
11701      };
11702    /**
11703     * Filter inserted text based on accepted or rejected sets of characters
11704     *
11705     * Add this filter to an entry to restrict the set of accepted characters
11706     * based on the sets in the provided #Elm_Entry_Filter_Accept_Set.
11707     * This structure contains both accepted and rejected sets, but they are
11708     * mutually exclusive.
11709     *
11710     * The @c accepted set takes preference, so if it is set, the filter will
11711     * only work based on the accepted characters, ignoring anything in the
11712     * @c rejected value. If @c accepted is @c NULL, then @c rejected is used.
11713     *
11714     * In both cases, the function filters by matching utf8 characters to the
11715     * raw markup text, so it can be used to remove formatting tags.
11716     *
11717     * This filter, like any others, does not apply when setting the entry text
11718     * directly with elm_object_text_set() (or the deprecated
11719     * elm_entry_entry_set()).
11720     */
11721    EAPI void         elm_entry_filter_accept_set(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 3);
11722    /**
11723     * Set the input panel layout of the entry
11724     *
11725     * @param obj The entry object
11726     * @param layout layout type
11727     */
11728    EAPI void elm_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout) EINA_ARG_NONNULL(1);
11729    /**
11730     * Get the input panel layout of the entry
11731     *
11732     * @param obj The entry object
11733     * @return layout type
11734     *
11735     * @see elm_entry_input_panel_layout_set
11736     */
11737    EAPI Elm_Input_Panel_Layout elm_entry_input_panel_layout_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
11738    /**
11739     * @}
11740     */
11741
11742    /* composite widgets - these basically put together basic widgets above
11743     * in convenient packages that do more than basic stuff */
11744
11745    /* anchorview */
11746    /**
11747     * @defgroup Anchorview Anchorview
11748     *
11749     * @image html img/widget/anchorview/preview-00.png
11750     * @image latex img/widget/anchorview/preview-00.eps
11751     *
11752     * Anchorview is for displaying text that contains markup with anchors
11753     * like <c>\<a href=1234\>something\</\></c> in it.
11754     *
11755     * Besides being styled differently, the anchorview widget provides the
11756     * necessary functionality so that clicking on these anchors brings up a
11757     * popup with user defined content such as "call", "add to contacts" or
11758     * "open web page". This popup is provided using the @ref Hover widget.
11759     *
11760     * This widget is very similar to @ref Anchorblock, so refer to that
11761     * widget for an example. The only difference Anchorview has is that the
11762     * widget is already provided with scrolling functionality, so if the
11763     * text set to it is too large to fit in the given space, it will scroll,
11764     * whereas the @ref Anchorblock widget will keep growing to ensure all the
11765     * text can be displayed.
11766     *
11767     * This widget emits the following signals:
11768     * @li "anchor,clicked": will be called when an anchor is clicked. The
11769     * @p event_info parameter on the callback will be a pointer of type
11770     * ::Elm_Entry_Anchorview_Info.
11771     *
11772     * See @ref Anchorblock for an example on how to use both of them.
11773     *
11774     * @see Anchorblock
11775     * @see Entry
11776     * @see Hover
11777     *
11778     * @{
11779     */
11780    /**
11781     * @typedef Elm_Entry_Anchorview_Info
11782     *
11783     * The info sent in the callback for "anchor,clicked" signals emitted by
11784     * the Anchorview widget.
11785     */
11786    typedef struct _Elm_Entry_Anchorview_Info Elm_Entry_Anchorview_Info;
11787    /**
11788     * @struct _Elm_Entry_Anchorview_Info
11789     *
11790     * The info sent in the callback for "anchor,clicked" signals emitted by
11791     * the Anchorview widget.
11792     */
11793    struct _Elm_Entry_Anchorview_Info
11794      {
11795         const char     *name; /**< Name of the anchor, as indicated in its href
11796                                    attribute */
11797         int             button; /**< The mouse button used to click on it */
11798         Evas_Object    *hover; /**< The hover object to use for the popup */
11799         struct {
11800              Evas_Coord    x, y, w, h;
11801         } anchor, /**< Geometry selection of text used as anchor */
11802           hover_parent; /**< Geometry of the object used as parent by the
11803                              hover */
11804         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
11805                                              for content on the left side of
11806                                              the hover. Before calling the
11807                                              callback, the widget will make the
11808                                              necessary calculations to check
11809                                              which sides are fit to be set with
11810                                              content, based on the position the
11811                                              hover is activated and its distance
11812                                              to the edges of its parent object
11813                                              */
11814         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
11815                                               the right side of the hover.
11816                                               See @ref hover_left */
11817         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
11818                                             of the hover. See @ref hover_left */
11819         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
11820                                                below the hover. See @ref
11821                                                hover_left */
11822      };
11823    /**
11824     * Add a new Anchorview object
11825     *
11826     * @param parent The parent object
11827     * @return The new object or NULL if it cannot be created
11828     */
11829    EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
11830    /**
11831     * Set the text to show in the anchorview
11832     *
11833     * Sets the text of the anchorview to @p text. This text can include markup
11834     * format tags, including <c>\<a href=anchorname\></c> to begin a segment of
11835     * text that will be specially styled and react to click events, ended with
11836     * either of \</a\> or \</\>. When clicked, the anchor will emit an
11837     * "anchor,clicked" signal that you can attach a callback to with
11838     * evas_object_smart_callback_add(). The name of the anchor given in the
11839     * event info struct will be the one set in the href attribute, in this
11840     * case, anchorname.
11841     *
11842     * Other markup can be used to style the text in different ways, but it's
11843     * up to the style defined in the theme which tags do what.
11844     * @deprecated use elm_object_text_set() instead.
11845     */
11846    EINA_DEPRECATED EAPI void         elm_anchorview_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
11847    /**
11848     * Get the markup text set for the anchorview
11849     *
11850     * Retrieves the text set on the anchorview, with markup tags included.
11851     *
11852     * @param obj The anchorview object
11853     * @return The markup text set or @c NULL if nothing was set or an error
11854     * occurred
11855     * @deprecated use elm_object_text_set() instead.
11856     */
11857    EINA_DEPRECATED EAPI const char  *elm_anchorview_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11858    /**
11859     * Set the parent of the hover popup
11860     *
11861     * Sets the parent object to use by the hover created by the anchorview
11862     * when an anchor is clicked. See @ref Hover for more details on this.
11863     * If no parent is set, the same anchorview object will be used.
11864     *
11865     * @param obj The anchorview object
11866     * @param parent The object to use as parent for the hover
11867     */
11868    EAPI void         elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
11869    /**
11870     * Get the parent of the hover popup
11871     *
11872     * Get the object used as parent for the hover created by the anchorview
11873     * widget. See @ref Hover for more details on this.
11874     *
11875     * @param obj The anchorview object
11876     * @return The object used as parent for the hover, NULL if none is set.
11877     */
11878    EAPI Evas_Object *elm_anchorview_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11879    /**
11880     * Set the style that the hover should use
11881     *
11882     * When creating the popup hover, anchorview will request that it's
11883     * themed according to @p style.
11884     *
11885     * @param obj The anchorview object
11886     * @param style The style to use for the underlying hover
11887     *
11888     * @see elm_object_style_set()
11889     */
11890    EAPI void         elm_anchorview_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
11891    /**
11892     * Get the style that the hover should use
11893     *
11894     * Get the style the hover created by anchorview will use.
11895     *
11896     * @param obj The anchorview object
11897     * @return The style to use by the hover. NULL means the default is used.
11898     *
11899     * @see elm_object_style_set()
11900     */
11901    EAPI const char  *elm_anchorview_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11902    /**
11903     * Ends the hover popup in the anchorview
11904     *
11905     * When an anchor is clicked, the anchorview widget will create a hover
11906     * object to use as a popup with user provided content. This function
11907     * terminates this popup, returning the anchorview to its normal state.
11908     *
11909     * @param obj The anchorview object
11910     */
11911    EAPI void         elm_anchorview_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
11912    /**
11913     * Set bouncing behaviour when the scrolled content reaches an edge
11914     *
11915     * Tell the internal scroller object whether it should bounce or not
11916     * when it reaches the respective edges for each axis.
11917     *
11918     * @param obj The anchorview object
11919     * @param h_bounce Whether to bounce or not in the horizontal axis
11920     * @param v_bounce Whether to bounce or not in the vertical axis
11921     *
11922     * @see elm_scroller_bounce_set()
11923     */
11924    EAPI void         elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
11925    /**
11926     * Get the set bouncing behaviour of the internal scroller
11927     *
11928     * Get whether the internal scroller should bounce when the edge of each
11929     * axis is reached scrolling.
11930     *
11931     * @param obj The anchorview object
11932     * @param h_bounce Pointer where to store the bounce state of the horizontal
11933     *                 axis
11934     * @param v_bounce Pointer where to store the bounce state of the vertical
11935     *                 axis
11936     *
11937     * @see elm_scroller_bounce_get()
11938     */
11939    EAPI void         elm_anchorview_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
11940    /**
11941     * Appends a custom item provider to the given anchorview
11942     *
11943     * Appends the given function to the list of items providers. This list is
11944     * called, one function at a time, with the given @p data pointer, the
11945     * anchorview object and, in the @p item parameter, the item name as
11946     * referenced in its href string. Following functions in the list will be
11947     * called in order until one of them returns something different to NULL,
11948     * which should be an Evas_Object which will be used in place of the item
11949     * element.
11950     *
11951     * Items in the markup text take the form \<item relsize=16x16 vsize=full
11952     * href=item/name\>\</item\>
11953     *
11954     * @param obj The anchorview object
11955     * @param func The function to add to the list of providers
11956     * @param data User data that will be passed to the callback function
11957     *
11958     * @see elm_entry_item_provider_append()
11959     */
11960    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);
11961    /**
11962     * Prepend a custom item provider to the given anchorview
11963     *
11964     * Like elm_anchorview_item_provider_append(), but it adds the function
11965     * @p func to the beginning of the list, instead of the end.
11966     *
11967     * @param obj The anchorview object
11968     * @param func The function to add to the list of providers
11969     * @param data User data that will be passed to the callback function
11970     */
11971    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);
11972    /**
11973     * Remove a custom item provider from the list of the given anchorview
11974     *
11975     * Removes the function and data pairing that matches @p func and @p data.
11976     * That is, unless the same function and same user data are given, the
11977     * function will not be removed from the list. This allows us to add the
11978     * same callback several times, with different @p data pointers and be
11979     * able to remove them later without conflicts.
11980     *
11981     * @param obj The anchorview object
11982     * @param func The function to remove from the list
11983     * @param data The data matching the function to remove from the list
11984     */
11985    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);
11986    /**
11987     * @}
11988     */
11989
11990    /* anchorblock */
11991    /**
11992     * @defgroup Anchorblock Anchorblock
11993     *
11994     * @image html img/widget/anchorblock/preview-00.png
11995     * @image latex img/widget/anchorblock/preview-00.eps
11996     *
11997     * Anchorblock is for displaying text that contains markup with anchors
11998     * like <c>\<a href=1234\>something\</\></c> in it.
11999     *
12000     * Besides being styled differently, the anchorblock widget provides the
12001     * necessary functionality so that clicking on these anchors brings up a
12002     * popup with user defined content such as "call", "add to contacts" or
12003     * "open web page". This popup is provided using the @ref Hover widget.
12004     *
12005     * This widget emits the following signals:
12006     * @li "anchor,clicked": will be called when an anchor is clicked. The
12007     * @p event_info parameter on the callback will be a pointer of type
12008     * ::Elm_Entry_Anchorblock_Info.
12009     *
12010     * @see Anchorview
12011     * @see Entry
12012     * @see Hover
12013     *
12014     * Since examples are usually better than plain words, we might as well
12015     * try @ref tutorial_anchorblock_example "one".
12016     */
12017    /**
12018     * @addtogroup Anchorblock
12019     * @{
12020     */
12021    /**
12022     * @typedef Elm_Entry_Anchorblock_Info
12023     *
12024     * The info sent in the callback for "anchor,clicked" signals emitted by
12025     * the Anchorblock widget.
12026     */
12027    typedef struct _Elm_Entry_Anchorblock_Info Elm_Entry_Anchorblock_Info;
12028    /**
12029     * @struct _Elm_Entry_Anchorblock_Info
12030     *
12031     * The info sent in the callback for "anchor,clicked" signals emitted by
12032     * the Anchorblock widget.
12033     */
12034    struct _Elm_Entry_Anchorblock_Info
12035      {
12036         const char     *name; /**< Name of the anchor, as indicated in its href
12037                                    attribute */
12038         int             button; /**< The mouse button used to click on it */
12039         Evas_Object    *hover; /**< The hover object to use for the popup */
12040         struct {
12041              Evas_Coord    x, y, w, h;
12042         } anchor, /**< Geometry selection of text used as anchor */
12043           hover_parent; /**< Geometry of the object used as parent by the
12044                              hover */
12045         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
12046                                              for content on the left side of
12047                                              the hover. Before calling the
12048                                              callback, the widget will make the
12049                                              necessary calculations to check
12050                                              which sides are fit to be set with
12051                                              content, based on the position the
12052                                              hover is activated and its distance
12053                                              to the edges of its parent object
12054                                              */
12055         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
12056                                               the right side of the hover.
12057                                               See @ref hover_left */
12058         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
12059                                             of the hover. See @ref hover_left */
12060         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
12061                                                below the hover. See @ref
12062                                                hover_left */
12063      };
12064    /**
12065     * Add a new Anchorblock object
12066     *
12067     * @param parent The parent object
12068     * @return The new object or NULL if it cannot be created
12069     */
12070    EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12071    /**
12072     * Set the text to show in the anchorblock
12073     *
12074     * Sets the text of the anchorblock to @p text. This text can include markup
12075     * format tags, including <c>\<a href=anchorname\></a></c> to begin a segment
12076     * of text that will be specially styled and react to click events, ended
12077     * with either of \</a\> or \</\>. When clicked, the anchor will emit an
12078     * "anchor,clicked" signal that you can attach a callback to with
12079     * evas_object_smart_callback_add(). The name of the anchor given in the
12080     * event info struct will be the one set in the href attribute, in this
12081     * case, anchorname.
12082     *
12083     * Other markup can be used to style the text in different ways, but it's
12084     * up to the style defined in the theme which tags do what.
12085     * @deprecated use elm_object_text_set() instead.
12086     */
12087    EINA_DEPRECATED EAPI void         elm_anchorblock_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
12088    /**
12089     * Get the markup text set for the anchorblock
12090     *
12091     * Retrieves the text set on the anchorblock, with markup tags included.
12092     *
12093     * @param obj The anchorblock object
12094     * @return The markup text set or @c NULL if nothing was set or an error
12095     * occurred
12096     * @deprecated use elm_object_text_set() instead.
12097     */
12098    EINA_DEPRECATED EAPI const char  *elm_anchorblock_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12099    /**
12100     * Set the parent of the hover popup
12101     *
12102     * Sets the parent object to use by the hover created by the anchorblock
12103     * when an anchor is clicked. See @ref Hover for more details on this.
12104     *
12105     * @param obj The anchorblock object
12106     * @param parent The object to use as parent for the hover
12107     */
12108    EAPI void         elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
12109    /**
12110     * Get the parent of the hover popup
12111     *
12112     * Get the object used as parent for the hover created by the anchorblock
12113     * widget. See @ref Hover for more details on this.
12114     * If no parent is set, the same anchorblock object will be used.
12115     *
12116     * @param obj The anchorblock object
12117     * @return The object used as parent for the hover, NULL if none is set.
12118     */
12119    EAPI Evas_Object *elm_anchorblock_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12120    /**
12121     * Set the style that the hover should use
12122     *
12123     * When creating the popup hover, anchorblock will request that it's
12124     * themed according to @p style.
12125     *
12126     * @param obj The anchorblock object
12127     * @param style The style to use for the underlying hover
12128     *
12129     * @see elm_object_style_set()
12130     */
12131    EAPI void         elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
12132    /**
12133     * Get the style that the hover should use
12134     *
12135     * Get the style the hover created by anchorblock will use.
12136     *
12137     * @param obj The anchorblock object
12138     * @return The style to use by the hover. NULL means the default is used.
12139     *
12140     * @see elm_object_style_set()
12141     */
12142    EAPI const char  *elm_anchorblock_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12143    /**
12144     * Ends the hover popup in the anchorblock
12145     *
12146     * When an anchor is clicked, the anchorblock widget will create a hover
12147     * object to use as a popup with user provided content. This function
12148     * terminates this popup, returning the anchorblock to its normal state.
12149     *
12150     * @param obj The anchorblock object
12151     */
12152    EAPI void         elm_anchorblock_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
12153    /**
12154     * Appends a custom item provider to the given anchorblock
12155     *
12156     * Appends the given function to the list of items providers. This list is
12157     * called, one function at a time, with the given @p data pointer, the
12158     * anchorblock object and, in the @p item parameter, the item name as
12159     * referenced in its href string. Following functions in the list will be
12160     * called in order until one of them returns something different to NULL,
12161     * which should be an Evas_Object which will be used in place of the item
12162     * element.
12163     *
12164     * Items in the markup text take the form \<item relsize=16x16 vsize=full
12165     * href=item/name\>\</item\>
12166     *
12167     * @param obj The anchorblock object
12168     * @param func The function to add to the list of providers
12169     * @param data User data that will be passed to the callback function
12170     *
12171     * @see elm_entry_item_provider_append()
12172     */
12173    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);
12174    /**
12175     * Prepend a custom item provider to the given anchorblock
12176     *
12177     * Like elm_anchorblock_item_provider_append(), but it adds the function
12178     * @p func to the beginning of the list, instead of the end.
12179     *
12180     * @param obj The anchorblock object
12181     * @param func The function to add to the list of providers
12182     * @param data User data that will be passed to the callback function
12183     */
12184    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);
12185    /**
12186     * Remove a custom item provider from the list of the given anchorblock
12187     *
12188     * Removes the function and data pairing that matches @p func and @p data.
12189     * That is, unless the same function and same user data are given, the
12190     * function will not be removed from the list. This allows us to add the
12191     * same callback several times, with different @p data pointers and be
12192     * able to remove them later without conflicts.
12193     *
12194     * @param obj The anchorblock object
12195     * @param func The function to remove from the list
12196     * @param data The data matching the function to remove from the list
12197     */
12198    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);
12199    /**
12200     * @}
12201     */
12202
12203    /**
12204     * @defgroup Bubble Bubble
12205     *
12206     * @image html img/widget/bubble/preview-00.png
12207     * @image latex img/widget/bubble/preview-00.eps
12208     * @image html img/widget/bubble/preview-01.png
12209     * @image latex img/widget/bubble/preview-01.eps
12210     * @image html img/widget/bubble/preview-02.png
12211     * @image latex img/widget/bubble/preview-02.eps
12212     *
12213     * @brief The Bubble is a widget to show text similarly to how speech is
12214     * represented in comics.
12215     *
12216     * The bubble widget contains 5 important visual elements:
12217     * @li The frame is a rectangle with rounded rectangles and an "arrow".
12218     * @li The @p icon is an image to which the frame's arrow points to.
12219     * @li The @p label is a text which appears to the right of the icon if the
12220     * corner is "top_left" or "bottom_left" and is right aligned to the frame
12221     * otherwise.
12222     * @li The @p info is a text which appears to the right of the label. Info's
12223     * font is of a ligther color than label.
12224     * @li The @p content is an evas object that is shown inside the frame.
12225     *
12226     * The position of the arrow, icon, label and info depends on which corner is
12227     * selected. The four available corners are:
12228     * @li "top_left" - Default
12229     * @li "top_right"
12230     * @li "bottom_left"
12231     * @li "bottom_right"
12232     *
12233     * Signals that you can add callbacks for are:
12234     * @li "clicked" - This is called when a user has clicked the bubble.
12235     *
12236     * For an example of using a buble see @ref bubble_01_example_page "this".
12237     *
12238     * @{
12239     */
12240    /**
12241     * Add a new bubble to the parent
12242     *
12243     * @param parent The parent object
12244     * @return The new object or NULL if it cannot be created
12245     *
12246     * This function adds a text bubble to the given parent evas object.
12247     */
12248    EAPI Evas_Object *elm_bubble_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12249    /**
12250     * Set the label of the bubble
12251     *
12252     * @param obj The bubble object
12253     * @param label The string to set in the label
12254     *
12255     * This function sets the title of the bubble. Where this appears depends on
12256     * the selected corner.
12257     * @deprecated use elm_object_text_set() instead.
12258     */
12259    EINA_DEPRECATED EAPI void         elm_bubble_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
12260    /**
12261     * Get the label of the bubble
12262     *
12263     * @param obj The bubble object
12264     * @return The string of set in the label
12265     *
12266     * This function gets the title of the bubble.
12267     * @deprecated use elm_object_text_get() instead.
12268     */
12269    EINA_DEPRECATED EAPI const char  *elm_bubble_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12270    /**
12271     * Set the info of the bubble
12272     *
12273     * @param obj The bubble object
12274     * @param info The given info about the bubble
12275     *
12276     * This function sets the info of the bubble. Where this appears depends on
12277     * the selected corner.
12278     * @deprecated use elm_object_text_part_set() instead. (with "info" as the parameter).
12279     */
12280    EINA_DEPRECATED EAPI void         elm_bubble_info_set(Evas_Object *obj, const char *info) EINA_ARG_NONNULL(1);
12281    /**
12282     * Get the info of the bubble
12283     *
12284     * @param obj The bubble object
12285     *
12286     * @return The "info" string of the bubble
12287     *
12288     * This function gets the info text.
12289     * @deprecated use elm_object_text_part_get() instead. (with "info" as the parameter).
12290     */
12291    EINA_DEPRECATED EAPI const char  *elm_bubble_info_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12292    /**
12293     * Set the content to be shown in the bubble
12294     *
12295     * Once the content object is set, a previously set one will be deleted.
12296     * If you want to keep the old content object, use the
12297     * elm_bubble_content_unset() function.
12298     *
12299     * @param obj The bubble object
12300     * @param content The given content of the bubble
12301     *
12302     * This function sets the content shown on the middle of the bubble.
12303     */
12304    EAPI void         elm_bubble_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
12305    /**
12306     * Get the content shown in the bubble
12307     *
12308     * Return the content object which is set for this widget.
12309     *
12310     * @param obj The bubble object
12311     * @return The content that is being used
12312     */
12313    EAPI Evas_Object *elm_bubble_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12314    /**
12315     * Unset the content shown in the bubble
12316     *
12317     * Unparent and return the content object which was set for this widget.
12318     *
12319     * @param obj The bubble object
12320     * @return The content that was being used
12321     */
12322    EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
12323    /**
12324     * Set the icon of the bubble
12325     *
12326     * Once the icon object is set, a previously set one will be deleted.
12327     * If you want to keep the old content object, use the
12328     * elm_icon_content_unset() function.
12329     *
12330     * @param obj The bubble object
12331     * @param icon The given icon for the bubble
12332     */
12333    EAPI void         elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
12334    /**
12335     * Get the icon of the bubble
12336     *
12337     * @param obj The bubble object
12338     * @return The icon for the bubble
12339     *
12340     * This function gets the icon shown on the top left of bubble.
12341     */
12342    EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12343    /**
12344     * Unset the icon of the bubble
12345     *
12346     * Unparent and return the icon object which was set for this widget.
12347     *
12348     * @param obj The bubble object
12349     * @return The icon that was being used
12350     */
12351    EAPI Evas_Object *elm_bubble_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
12352    /**
12353     * Set the corner of the bubble
12354     *
12355     * @param obj The bubble object.
12356     * @param corner The given corner for the bubble.
12357     *
12358     * This function sets the corner of the bubble. The corner will be used to
12359     * determine where the arrow in the frame points to and where label, icon and
12360     * info arre shown.
12361     *
12362     * Possible values for corner are:
12363     * @li "top_left" - Default
12364     * @li "top_right"
12365     * @li "bottom_left"
12366     * @li "bottom_right"
12367     */
12368    EAPI void         elm_bubble_corner_set(Evas_Object *obj, const char *corner) EINA_ARG_NONNULL(1, 2);
12369    /**
12370     * Get the corner of the bubble
12371     *
12372     * @param obj The bubble object.
12373     * @return The given corner for the bubble.
12374     *
12375     * This function gets the selected corner of the bubble.
12376     */
12377    EAPI const char  *elm_bubble_corner_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12378    /**
12379     * @}
12380     */
12381
12382    /**
12383     * @defgroup Photo Photo
12384     *
12385     * For displaying the photo of a person (contact). Simple yet
12386     * with a very specific purpose.
12387     *
12388     * Signals that you can add callbacks for are:
12389     *
12390     * "clicked" - This is called when a user has clicked the photo
12391     * "drag,start" - Someone started dragging the image out of the object
12392     * "drag,end" - Dragged item was dropped (somewhere)
12393     *
12394     * @{
12395     */
12396
12397    /**
12398     * Add a new photo to the parent
12399     *
12400     * @param parent The parent object
12401     * @return The new object or NULL if it cannot be created
12402     *
12403     * @ingroup Photo
12404     */
12405    EAPI Evas_Object *elm_photo_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12406
12407    /**
12408     * Set the file that will be used as photo
12409     *
12410     * @param obj The photo object
12411     * @param file The path to file that will be used as photo
12412     *
12413     * @return (1 = success, 0 = error)
12414     *
12415     * @ingroup Photo
12416     */
12417    EAPI Eina_Bool    elm_photo_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
12418
12419     /**
12420     * Set the file that will be used as thumbnail in the photo.
12421     *
12422     * @param obj The photo object.
12423     * @param file The path to file that will be used as thumb.
12424     * @param group The key used in case of an EET file.
12425     *
12426     * @ingroup Photo
12427     */
12428    EAPI void         elm_photo_thumb_set(const Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
12429
12430    /**
12431     * Set the size that will be used on the photo
12432     *
12433     * @param obj The photo object
12434     * @param size The size that the photo will be
12435     *
12436     * @ingroup Photo
12437     */
12438    EAPI void         elm_photo_size_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
12439
12440    /**
12441     * Set if the photo should be completely visible or not.
12442     *
12443     * @param obj The photo object
12444     * @param fill if true the photo will be completely visible
12445     *
12446     * @ingroup Photo
12447     */
12448    EAPI void         elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill) EINA_ARG_NONNULL(1);
12449
12450    /**
12451     * Set editability of the photo.
12452     *
12453     * An editable photo can be dragged to or from, and can be cut or
12454     * pasted too.  Note that pasting an image or dropping an item on
12455     * the image will delete the existing content.
12456     *
12457     * @param obj The photo object.
12458     * @param set To set of clear editablity.
12459     */
12460    EAPI void         elm_photo_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
12461
12462    /**
12463     * @}
12464     */
12465
12466    /* gesture layer */
12467    /**
12468     * @defgroup Elm_Gesture_Layer Gesture Layer
12469     * Gesture Layer Usage:
12470     *
12471     * Use Gesture Layer to detect gestures.
12472     * The advantage is that you don't have to implement
12473     * gesture detection, just set callbacks of gesture state.
12474     * By using gesture layer we make standard interface.
12475     *
12476     * In order to use Gesture Layer you start with @ref elm_gesture_layer_add
12477     * with a parent object parameter.
12478     * Next 'activate' gesture layer with a @ref elm_gesture_layer_attach
12479     * call. Usually with same object as target (2nd parameter).
12480     *
12481     * Now you need to tell gesture layer what gestures you follow.
12482     * This is done with @ref elm_gesture_layer_cb_set call.
12483     * By setting the callback you actually saying to gesture layer:
12484     * I would like to know when the gesture @ref Elm_Gesture_Types
12485     * switches to state @ref Elm_Gesture_State.
12486     *
12487     * Next, you need to implement the actual action that follows the input
12488     * in your callback.
12489     *
12490     * Note that if you like to stop being reported about a gesture, just set
12491     * all callbacks referring this gesture to NULL.
12492     * (again with @ref elm_gesture_layer_cb_set)
12493     *
12494     * The information reported by gesture layer to your callback is depending
12495     * on @ref Elm_Gesture_Types:
12496     * @ref Elm_Gesture_Taps_Info is the info reported for tap gestures:
12497     * @ref ELM_GESTURE_N_TAPS, @ref ELM_GESTURE_N_LONG_TAPS,
12498     * @ref ELM_GESTURE_N_DOUBLE_TAPS, @ref ELM_GESTURE_N_TRIPLE_TAPS.
12499     *
12500     * @ref Elm_Gesture_Momentum_Info is info reported for momentum gestures:
12501     * @ref ELM_GESTURE_MOMENTUM.
12502     *
12503     * @ref Elm_Gesture_Line_Info is the info reported for line gestures:
12504     * (this also contains @ref Elm_Gesture_Momentum_Info internal structure)
12505     * @ref ELM_GESTURE_N_LINES, @ref ELM_GESTURE_N_FLICKS.
12506     * Note that we consider a flick as a line-gesture that should be completed
12507     * in flick-time-limit as defined in @ref Config.
12508     *
12509     * @ref Elm_Gesture_Zoom_Info is the info reported for @ref ELM_GESTURE_ZOOM gesture.
12510     *
12511     * @ref Elm_Gesture_Rotate_Info is the info reported for @ref ELM_GESTURE_ROTATE gesture.
12512     *
12513     *
12514     * Gesture Layer Tweaks:
12515     *
12516     * Note that line, flick, gestures can start without the need to remove fingers from surface.
12517     * When user fingers rests on same-spot gesture is ended and starts again when fingers moved.
12518     *
12519     * Setting glayer_continues_enable to false in @ref Config will change this behavior
12520     * so gesture starts when user touches (a *DOWN event) touch-surface
12521     * and ends when no fingers touches surface (a *UP event).
12522     */
12523
12524    /**
12525     * @enum _Elm_Gesture_Types
12526     * Enum of supported gesture types.
12527     * @ingroup Elm_Gesture_Layer
12528     */
12529    enum _Elm_Gesture_Types
12530      {
12531         ELM_GESTURE_FIRST = 0,
12532
12533         ELM_GESTURE_N_TAPS, /**< N fingers single taps */
12534         ELM_GESTURE_N_LONG_TAPS, /**< N fingers single long-taps */
12535         ELM_GESTURE_N_DOUBLE_TAPS, /**< N fingers double-single taps */
12536         ELM_GESTURE_N_TRIPLE_TAPS, /**< N fingers triple-single taps */
12537
12538         ELM_GESTURE_MOMENTUM, /**< Reports momentum in the dircetion of move */
12539
12540         ELM_GESTURE_N_LINES, /**< N fingers line gesture */
12541         ELM_GESTURE_N_FLICKS, /**< N fingers flick gesture */
12542
12543         ELM_GESTURE_ZOOM, /**< Zoom */
12544         ELM_GESTURE_ROTATE, /**< Rotate */
12545
12546         ELM_GESTURE_LAST
12547      };
12548
12549    /**
12550     * @typedef Elm_Gesture_Types
12551     * gesture types enum
12552     * @ingroup Elm_Gesture_Layer
12553     */
12554    typedef enum _Elm_Gesture_Types Elm_Gesture_Types;
12555
12556    /**
12557     * @enum _Elm_Gesture_State
12558     * Enum of gesture states.
12559     * @ingroup Elm_Gesture_Layer
12560     */
12561    enum _Elm_Gesture_State
12562      {
12563         ELM_GESTURE_STATE_UNDEFINED = -1, /**< Gesture not STARTed */
12564         ELM_GESTURE_STATE_START,          /**< Gesture STARTed     */
12565         ELM_GESTURE_STATE_MOVE,           /**< Gesture is ongoing  */
12566         ELM_GESTURE_STATE_END,            /**< Gesture completed   */
12567         ELM_GESTURE_STATE_ABORT    /**< Onging gesture was ABORTed */
12568      };
12569
12570    /**
12571     * @typedef Elm_Gesture_State
12572     * gesture states enum
12573     * @ingroup Elm_Gesture_Layer
12574     */
12575    typedef enum _Elm_Gesture_State Elm_Gesture_State;
12576
12577    /**
12578     * @struct _Elm_Gesture_Taps_Info
12579     * Struct holds taps info for user
12580     * @ingroup Elm_Gesture_Layer
12581     */
12582    struct _Elm_Gesture_Taps_Info
12583      {
12584         Evas_Coord x, y;         /**< Holds center point between fingers */
12585         unsigned int n;          /**< Number of fingers tapped           */
12586         unsigned int timestamp;  /**< event timestamp       */
12587      };
12588
12589    /**
12590     * @typedef Elm_Gesture_Taps_Info
12591     * holds taps info for user
12592     * @ingroup Elm_Gesture_Layer
12593     */
12594    typedef struct _Elm_Gesture_Taps_Info Elm_Gesture_Taps_Info;
12595
12596    /**
12597     * @struct _Elm_Gesture_Momentum_Info
12598     * Struct holds momentum info for user
12599     * x1 and y1 are not necessarily in sync
12600     * x1 holds x value of x direction starting point
12601     * and same holds for y1.
12602     * This is noticeable when doing V-shape movement
12603     * @ingroup Elm_Gesture_Layer
12604     */
12605    struct _Elm_Gesture_Momentum_Info
12606      {  /* Report line ends, timestamps, and momentum computed        */
12607         Evas_Coord x1; /**< Final-swipe direction starting point on X */
12608         Evas_Coord y1; /**< Final-swipe direction starting point on Y */
12609         Evas_Coord x2; /**< Final-swipe direction ending point on X   */
12610         Evas_Coord y2; /**< Final-swipe direction ending point on Y   */
12611
12612         unsigned int tx; /**< Timestamp of start of final x-swipe */
12613         unsigned int ty; /**< Timestamp of start of final y-swipe */
12614
12615         Evas_Coord mx; /**< Momentum on X */
12616         Evas_Coord my; /**< Momentum on Y */
12617      };
12618
12619    /**
12620     * @typedef Elm_Gesture_Momentum_Info
12621     * holds momentum info for user
12622     * @ingroup Elm_Gesture_Layer
12623     */
12624     typedef struct _Elm_Gesture_Momentum_Info Elm_Gesture_Momentum_Info;
12625
12626    /**
12627     * @struct _Elm_Gesture_Line_Info
12628     * Struct holds line info for user
12629     * @ingroup Elm_Gesture_Layer
12630     */
12631    struct _Elm_Gesture_Line_Info
12632      {  /* Report line ends, timestamps, and momentum computed      */
12633         Elm_Gesture_Momentum_Info momentum; /**< Line momentum info */
12634         unsigned int n;            /**< Number of fingers (lines)   */
12635         /* FIXME should be radians, bot degrees */
12636         double angle;              /**< Angle (direction) of lines  */
12637      };
12638
12639    /**
12640     * @typedef Elm_Gesture_Line_Info
12641     * Holds line info for user
12642     * @ingroup Elm_Gesture_Layer
12643     */
12644     typedef struct  _Elm_Gesture_Line_Info Elm_Gesture_Line_Info;
12645
12646    /**
12647     * @struct _Elm_Gesture_Zoom_Info
12648     * Struct holds zoom info for user
12649     * @ingroup Elm_Gesture_Layer
12650     */
12651    struct _Elm_Gesture_Zoom_Info
12652      {
12653         Evas_Coord x, y;       /**< Holds zoom center point reported to user  */
12654         Evas_Coord radius; /**< Holds radius between fingers reported to user */
12655         double zoom;            /**< Zoom value: 1.0 means no zoom             */
12656         double momentum;        /**< Zoom momentum: zoom growth per second (NOT YET SUPPORTED) */
12657      };
12658
12659    /**
12660     * @typedef Elm_Gesture_Zoom_Info
12661     * Holds zoom info for user
12662     * @ingroup Elm_Gesture_Layer
12663     */
12664    typedef struct _Elm_Gesture_Zoom_Info Elm_Gesture_Zoom_Info;
12665
12666    /**
12667     * @struct _Elm_Gesture_Rotate_Info
12668     * Struct holds rotation info for user
12669     * @ingroup Elm_Gesture_Layer
12670     */
12671    struct _Elm_Gesture_Rotate_Info
12672      {
12673         Evas_Coord x, y;   /**< Holds zoom center point reported to user      */
12674         Evas_Coord radius; /**< Holds radius between fingers reported to user */
12675         double base_angle; /**< Holds start-angle */
12676         double angle;      /**< Rotation value: 0.0 means no rotation         */
12677         double momentum;   /**< Rotation momentum: rotation done per second (NOT YET SUPPORTED) */
12678      };
12679
12680    /**
12681     * @typedef Elm_Gesture_Rotate_Info
12682     * Holds rotation info for user
12683     * @ingroup Elm_Gesture_Layer
12684     */
12685    typedef struct _Elm_Gesture_Rotate_Info Elm_Gesture_Rotate_Info;
12686
12687    /**
12688     * @typedef Elm_Gesture_Event_Cb
12689     * User callback used to stream gesture info from gesture layer
12690     * @param data user data
12691     * @param event_info gesture report info
12692     * Returns a flag field to be applied on the causing event.
12693     * You should probably return EVAS_EVENT_FLAG_ON_HOLD if your widget acted
12694     * upon the event, in an irreversible way.
12695     *
12696     * @ingroup Elm_Gesture_Layer
12697     */
12698    typedef Evas_Event_Flags (*Elm_Gesture_Event_Cb) (void *data, void *event_info);
12699
12700    /**
12701     * Use function to set callbacks to be notified about
12702     * change of state of gesture.
12703     * When a user registers a callback with this function
12704     * this means this gesture has to be tested.
12705     *
12706     * When ALL callbacks for a gesture are set to NULL
12707     * it means user isn't interested in gesture-state
12708     * and it will not be tested.
12709     *
12710     * @param obj Pointer to gesture-layer.
12711     * @param idx The gesture you would like to track its state.
12712     * @param cb callback function pointer.
12713     * @param cb_type what event this callback tracks: START, MOVE, END, ABORT.
12714     * @param data user info to be sent to callback (usually, Smart Data)
12715     *
12716     * @ingroup Elm_Gesture_Layer
12717     */
12718    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);
12719
12720    /**
12721     * Call this function to get repeat-events settings.
12722     *
12723     * @param obj Pointer to gesture-layer.
12724     *
12725     * @return repeat events settings.
12726     * @see elm_gesture_layer_hold_events_set()
12727     * @ingroup Elm_Gesture_Layer
12728     */
12729    EAPI Eina_Bool elm_gesture_layer_hold_events_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
12730
12731    /**
12732     * This function called in order to make gesture-layer repeat events.
12733     * Set this of you like to get the raw events only if gestures were not detected.
12734     * Clear this if you like gesture layer to fwd events as testing gestures.
12735     *
12736     * @param obj Pointer to gesture-layer.
12737     * @param r Repeat: TRUE/FALSE
12738     *
12739     * @ingroup Elm_Gesture_Layer
12740     */
12741    EAPI void elm_gesture_layer_hold_events_set(Evas_Object *obj, Eina_Bool r) EINA_ARG_NONNULL(1);
12742
12743    /**
12744     * This function sets step-value for zoom action.
12745     * Set step to any positive value.
12746     * Cancel step setting by setting to 0.0
12747     *
12748     * @param obj Pointer to gesture-layer.
12749     * @param s new zoom step value.
12750     *
12751     * @ingroup Elm_Gesture_Layer
12752     */
12753    EAPI void elm_gesture_layer_zoom_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
12754
12755    /**
12756     * This function sets step-value for rotate action.
12757     * Set step to any positive value.
12758     * Cancel step setting by setting to 0.0
12759     *
12760     * @param obj Pointer to gesture-layer.
12761     * @param s new roatate step value.
12762     *
12763     * @ingroup Elm_Gesture_Layer
12764     */
12765    EAPI void elm_gesture_layer_rotate_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
12766
12767    /**
12768     * This function called to attach gesture-layer to an Evas_Object.
12769     * @param obj Pointer to gesture-layer.
12770     * @param t Pointer to underlying object (AKA Target)
12771     *
12772     * @return TRUE, FALSE on success, failure.
12773     *
12774     * @ingroup Elm_Gesture_Layer
12775     */
12776    EAPI Eina_Bool elm_gesture_layer_attach(Evas_Object *obj, Evas_Object *t) EINA_ARG_NONNULL(1, 2);
12777
12778    /**
12779     * Call this function to construct a new gesture-layer object.
12780     * This does not activate the gesture layer. You have to
12781     * call elm_gesture_layer_attach in order to 'activate' gesture-layer.
12782     *
12783     * @param parent the parent object.
12784     *
12785     * @return Pointer to new gesture-layer object.
12786     *
12787     * @ingroup Elm_Gesture_Layer
12788     */
12789    EAPI Evas_Object *elm_gesture_layer_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12790
12791    /**
12792     * @defgroup Thumb Thumb
12793     *
12794     * @image html img/widget/thumb/preview-00.png
12795     * @image latex img/widget/thumb/preview-00.eps
12796     *
12797     * A thumb object is used for displaying the thumbnail of an image or video.
12798     * You must have compiled Elementary with Ethumb_Client support and the DBus
12799     * service must be present and auto-activated in order to have thumbnails to
12800     * be generated.
12801     *
12802     * Once the thumbnail object becomes visible, it will check if there is a
12803     * previously generated thumbnail image for the file set on it. If not, it
12804     * will start generating this thumbnail.
12805     *
12806     * Different config settings will cause different thumbnails to be generated
12807     * even on the same file.
12808     *
12809     * Generated thumbnails are stored under @c $HOME/.thumbnails/. Check the
12810     * Ethumb documentation to change this path, and to see other configuration
12811     * options.
12812     *
12813     * Signals that you can add callbacks for are:
12814     *
12815     * - "clicked" - This is called when a user has clicked the thumb without dragging
12816     *             around.
12817     * - "clicked,double" - This is called when a user has double-clicked the thumb.
12818     * - "press" - This is called when a user has pressed down the thumb.
12819     * - "generate,start" - The thumbnail generation started.
12820     * - "generate,stop" - The generation process stopped.
12821     * - "generate,error" - The generation failed.
12822     * - "load,error" - The thumbnail image loading failed.
12823     *
12824     * available styles:
12825     * - default
12826     * - noframe
12827     *
12828     * An example of use of thumbnail:
12829     *
12830     * - @ref thumb_example_01
12831     */
12832
12833    /**
12834     * @addtogroup Thumb
12835     * @{
12836     */
12837
12838    /**
12839     * @enum _Elm_Thumb_Animation_Setting
12840     * @typedef Elm_Thumb_Animation_Setting
12841     *
12842     * Used to set if a video thumbnail is animating or not.
12843     *
12844     * @ingroup Thumb
12845     */
12846    typedef enum _Elm_Thumb_Animation_Setting
12847      {
12848         ELM_THUMB_ANIMATION_START = 0, /**< Play animation once */
12849         ELM_THUMB_ANIMATION_LOOP,      /**< Keep playing animation until stop is requested */
12850         ELM_THUMB_ANIMATION_STOP,      /**< Stop playing the animation */
12851         ELM_THUMB_ANIMATION_LAST
12852      } Elm_Thumb_Animation_Setting;
12853
12854    /**
12855     * Add a new thumb object to the parent.
12856     *
12857     * @param parent The parent object.
12858     * @return The new object or NULL if it cannot be created.
12859     *
12860     * @see elm_thumb_file_set()
12861     * @see elm_thumb_ethumb_client_get()
12862     *
12863     * @ingroup Thumb
12864     */
12865    EAPI Evas_Object                 *elm_thumb_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12866    /**
12867     * Reload thumbnail if it was generated before.
12868     *
12869     * @param obj The thumb object to reload
12870     *
12871     * This is useful if the ethumb client configuration changed, like its
12872     * size, aspect or any other property one set in the handle returned
12873     * by elm_thumb_ethumb_client_get().
12874     *
12875     * If the options didn't change, the thumbnail won't be generated again, but
12876     * the old one will still be used.
12877     *
12878     * @see elm_thumb_file_set()
12879     *
12880     * @ingroup Thumb
12881     */
12882    EAPI void                         elm_thumb_reload(Evas_Object *obj) EINA_ARG_NONNULL(1);
12883    /**
12884     * Set the file that will be used as thumbnail.
12885     *
12886     * @param obj The thumb object.
12887     * @param file The path to file that will be used as thumb.
12888     * @param key The key used in case of an EET file.
12889     *
12890     * The file can be an image or a video (in that case, acceptable extensions are:
12891     * avi, mp4, ogv, mov, mpg and wmv). To start the video animation, use the
12892     * function elm_thumb_animate().
12893     *
12894     * @see elm_thumb_file_get()
12895     * @see elm_thumb_reload()
12896     * @see elm_thumb_animate()
12897     *
12898     * @ingroup Thumb
12899     */
12900    EAPI void                         elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key) EINA_ARG_NONNULL(1);
12901    /**
12902     * Get the image or video path and key used to generate the thumbnail.
12903     *
12904     * @param obj The thumb object.
12905     * @param file Pointer to filename.
12906     * @param key Pointer to key.
12907     *
12908     * @see elm_thumb_file_set()
12909     * @see elm_thumb_path_get()
12910     *
12911     * @ingroup Thumb
12912     */
12913    EAPI void                         elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
12914    /**
12915     * Get the path and key to the image or video generated by ethumb.
12916     *
12917     * One just need to make sure that the thumbnail was generated before getting
12918     * its path; otherwise, the path will be NULL. One way to do that is by asking
12919     * for the path when/after the "generate,stop" smart callback is called.
12920     *
12921     * @param obj The thumb object.
12922     * @param file Pointer to thumb path.
12923     * @param key Pointer to thumb key.
12924     *
12925     * @see elm_thumb_file_get()
12926     *
12927     * @ingroup Thumb
12928     */
12929    EAPI void                         elm_thumb_path_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
12930    /**
12931     * Set the animation state for the thumb object. If its content is an animated
12932     * video, you may start/stop the animation or tell it to play continuously and
12933     * looping.
12934     *
12935     * @param obj The thumb object.
12936     * @param setting The animation setting.
12937     *
12938     * @see elm_thumb_file_set()
12939     *
12940     * @ingroup Thumb
12941     */
12942    EAPI void                         elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s) EINA_ARG_NONNULL(1);
12943    /**
12944     * Get the animation state for the thumb object.
12945     *
12946     * @param obj The thumb object.
12947     * @return getting The animation setting or @c ELM_THUMB_ANIMATION_LAST,
12948     * on errors.
12949     *
12950     * @see elm_thumb_animate_set()
12951     *
12952     * @ingroup Thumb
12953     */
12954    EAPI Elm_Thumb_Animation_Setting  elm_thumb_animate_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12955    /**
12956     * Get the ethumb_client handle so custom configuration can be made.
12957     *
12958     * @return Ethumb_Client instance or NULL.
12959     *
12960     * This must be called before the objects are created to be sure no object is
12961     * visible and no generation started.
12962     *
12963     * Example of usage:
12964     *
12965     * @code
12966     * #include <Elementary.h>
12967     * #ifndef ELM_LIB_QUICKLAUNCH
12968     * EAPI_MAIN int
12969     * elm_main(int argc, char **argv)
12970     * {
12971     *    Ethumb_Client *client;
12972     *
12973     *    elm_need_ethumb();
12974     *
12975     *    // ... your code
12976     *
12977     *    client = elm_thumb_ethumb_client_get();
12978     *    if (!client)
12979     *      {
12980     *         ERR("could not get ethumb_client");
12981     *         return 1;
12982     *      }
12983     *    ethumb_client_size_set(client, 100, 100);
12984     *    ethumb_client_crop_align_set(client, 0.5, 0.5);
12985     *    // ... your code
12986     *
12987     *    // Create elm_thumb objects here
12988     *
12989     *    elm_run();
12990     *    elm_shutdown();
12991     *    return 0;
12992     * }
12993     * #endif
12994     * ELM_MAIN()
12995     * @endcode
12996     *
12997     * @note There's only one client handle for Ethumb, so once a configuration
12998     * change is done to it, any other request for thumbnails (for any thumbnail
12999     * object) will use that configuration. Thus, this configuration is global.
13000     *
13001     * @ingroup Thumb
13002     */
13003    EAPI void                        *elm_thumb_ethumb_client_get(void);
13004    /**
13005     * Get the ethumb_client connection state.
13006     *
13007     * @return EINA_TRUE if the client is connected to the server or EINA_FALSE
13008     * otherwise.
13009     */
13010    EAPI Eina_Bool                    elm_thumb_ethumb_client_connected(void);
13011    /**
13012     * Make the thumbnail 'editable'.
13013     *
13014     * @param obj Thumb object.
13015     * @param set Turn on or off editability. Default is @c EINA_FALSE.
13016     *
13017     * This means the thumbnail is a valid drag target for drag and drop, and can be
13018     * cut or pasted too.
13019     *
13020     * @see elm_thumb_editable_get()
13021     *
13022     * @ingroup Thumb
13023     */
13024    EAPI Eina_Bool                    elm_thumb_editable_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
13025    /**
13026     * Make the thumbnail 'editable'.
13027     *
13028     * @param obj Thumb object.
13029     * @return Editability.
13030     *
13031     * This means the thumbnail is a valid drag target for drag and drop, and can be
13032     * cut or pasted too.
13033     *
13034     * @see elm_thumb_editable_set()
13035     *
13036     * @ingroup Thumb
13037     */
13038    EAPI Eina_Bool                    elm_thumb_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13039
13040    /**
13041     * @}
13042     */
13043
13044    /**
13045     * @defgroup Web Web
13046     *
13047     * @image html img/widget/web/preview-00.png
13048     * @image latex img/widget/web/preview-00.eps
13049     *
13050     * A web object is used for displaying web pages (HTML/CSS/JS)
13051     * using WebKit-EFL. You must have compiled Elementary with
13052     * ewebkit support.
13053     *
13054     * Signals that you can add callbacks for are:
13055     * @li "download,request": A file download has been requested. Event info is
13056     * a pointer to a Elm_Web_Download
13057     * @li "editorclient,contents,changed": Editor client's contents changed
13058     * @li "editorclient,selection,changed": Editor client's selection changed
13059     * @li "frame,created": A new frame was created. Event info is an
13060     * Evas_Object which can be handled with WebKit's ewk_frame API
13061     * @li "icon,received": An icon was received by the main frame
13062     * @li "inputmethod,changed": Input method changed. Event info is an
13063     * Eina_Bool indicating whether it's enabled or not
13064     * @li "js,windowobject,clear": JS window object has been cleared
13065     * @li "link,hover,in": Mouse cursor is hovering over a link. Event info
13066     * is a char *link[2], where the first string contains the URL the link
13067     * points to, and the second one the title of the link
13068     * @li "link,hover,out": Mouse cursor left the link
13069     * @li "load,document,finished": Loading of a document finished. Event info
13070     * is the frame that finished loading
13071     * @li "load,error": Load failed. Event info is a pointer to
13072     * Elm_Web_Frame_Load_Error
13073     * @li "load,finished": Load finished. Event info is NULL on success, on
13074     * error it's a pointer to Elm_Web_Frame_Load_Error
13075     * @li "load,newwindow,show": A new window was created and is ready to be
13076     * shown
13077     * @li "load,progress": Overall load progress. Event info is a pointer to
13078     * a double containing a value between 0.0 and 1.0
13079     * @li "load,provisional": Started provisional load
13080     * @li "load,started": Loading of a document started
13081     * @li "menubar,visible,get": Queries if the menubar is visible. Event info
13082     * is a pointer to Eina_Bool where the callback should set EINA_TRUE if
13083     * the menubar is visible, or EINA_FALSE in case it's not
13084     * @li "menubar,visible,set": Informs menubar visibility. Event info is
13085     * an Eina_Bool indicating the visibility
13086     * @li "popup,created": A dropdown widget was activated, requesting its
13087     * popup menu to be created. Event info is a pointer to Elm_Web_Menu
13088     * @li "popup,willdelete": The web object is ready to destroy the popup
13089     * object created. Event info is a pointer to Elm_Web_Menu
13090     * @li "ready": Page is fully loaded
13091     * @li "scrollbars,visible,get": Queries visibility of scrollbars. Event
13092     * info is a pointer to Eina_Bool where the visibility state should be set
13093     * @li "scrollbars,visible,set": Informs scrollbars visibility. Event info
13094     * is an Eina_Bool with the visibility state set
13095     * @li "statusbar,text,set": Text of the statusbar changed. Even info is
13096     * a string with the new text
13097     * @li "statusbar,visible,get": Queries visibility of the status bar.
13098     * Event info is a pointer to Eina_Bool where the visibility state should be
13099     * set.
13100     * @li "statusbar,visible,set": Informs statusbar visibility. Event info is
13101     * an Eina_Bool with the visibility value
13102     * @li "title,changed": Title of the main frame changed. Event info is a
13103     * string with the new title
13104     * @li "toolbars,visible,get": Queries visibility of toolbars. Event info
13105     * is a pointer to Eina_Bool where the visibility state should be set
13106     * @li "toolbars,visible,set": Informs the visibility of toolbars. Event
13107     * info is an Eina_Bool with the visibility state
13108     * @li "tooltip,text,set": Show and set text of a tooltip. Event info is
13109     * a string with the text to show
13110     * @li "uri,changed": URI of the main frame changed. Event info is a string
13111     * with the new URI
13112     * @li "view,resized": The web object internal's view changed sized
13113     * @li "windows,close,request": A JavaScript request to close the current
13114     * window was requested
13115     * @li "zoom,animated,end": Animated zoom finished
13116     *
13117     * available styles:
13118     * - default
13119     *
13120     * An example of use of web:
13121     *
13122     * - @ref web_example_01 TBD
13123     */
13124
13125    /**
13126     * @addtogroup Web
13127     * @{
13128     */
13129
13130    /**
13131     * Structure used to report load errors.
13132     *
13133     * Load errors are reported as signal by elm_web. All the strings are
13134     * temporary references and should @b not be used after the signal
13135     * callback returns. If it's required, make copies with strdup() or
13136     * eina_stringshare_add() (they are not even guaranteed to be
13137     * stringshared, so must use eina_stringshare_add() and not
13138     * eina_stringshare_ref()).
13139     */
13140    typedef struct _Elm_Web_Frame_Load_Error Elm_Web_Frame_Load_Error;
13141    /**
13142     * Structure used to report load errors.
13143     *
13144     * Load errors are reported as signal by elm_web. All the strings are
13145     * temporary references and should @b not be used after the signal
13146     * callback returns. If it's required, make copies with strdup() or
13147     * eina_stringshare_add() (they are not even guaranteed to be
13148     * stringshared, so must use eina_stringshare_add() and not
13149     * eina_stringshare_ref()).
13150     */
13151    struct _Elm_Web_Frame_Load_Error
13152      {
13153         int code; /**< Numeric error code */
13154         Eina_Bool is_cancellation; /**< Error produced by cancelling a request */
13155         const char *domain; /**< Error domain name */
13156         const char *description; /**< Error description (already localized) */
13157         const char *failing_url; /**< The URL that failed to load */
13158         Evas_Object *frame; /**< Frame object that produced the error */
13159      };
13160
13161    /**
13162     * The possibles types that the items in a menu can be
13163     */
13164    typedef enum _Elm_Web_Menu_Item_Type
13165      {
13166         ELM_WEB_MENU_SEPARATOR,
13167         ELM_WEB_MENU_GROUP,
13168         ELM_WEB_MENU_OPTION
13169      } Elm_Web_Menu_Item_Type;
13170
13171    /**
13172     * Structure describing the items in a menu
13173     */
13174    typedef struct _Elm_Web_Menu_Item Elm_Web_Menu_Item;
13175    /**
13176     * Structure describing the items in a menu
13177     */
13178    struct _Elm_Web_Menu_Item
13179      {
13180         const char *text; /**< The text for the item */
13181         Elm_Web_Menu_Item_Type type; /**< The type of the item */
13182      };
13183
13184    /**
13185     * Structure describing the menu of a popup
13186     *
13187     * This structure will be passed as the @c event_info for the "popup,create"
13188     * signal, which is emitted when a dropdown menu is opened. Users wanting
13189     * to handle these popups by themselves should listen to this signal and
13190     * set the @c handled property of the struct to @c EINA_TRUE. Leaving this
13191     * property as @c EINA_FALSE means that the user will not handle the popup
13192     * and the default implementation will be used.
13193     *
13194     * When the popup is ready to be dismissed, a "popup,willdelete" signal
13195     * will be emitted to notify the user that it can destroy any objects and
13196     * free all data related to it.
13197     *
13198     * @see elm_web_popup_selected_set()
13199     * @see elm_web_popup_destroy()
13200     */
13201    typedef struct _Elm_Web_Menu Elm_Web_Menu;
13202    /**
13203     * Structure describing the menu of a popup
13204     *
13205     * This structure will be passed as the @c event_info for the "popup,create"
13206     * signal, which is emitted when a dropdown menu is opened. Users wanting
13207     * to handle these popups by themselves should listen to this signal and
13208     * set the @c handled property of the struct to @c EINA_TRUE. Leaving this
13209     * property as @c EINA_FALSE means that the user will not handle the popup
13210     * and the default implementation will be used.
13211     *
13212     * When the popup is ready to be dismissed, a "popup,willdelete" signal
13213     * will be emitted to notify the user that it can destroy any objects and
13214     * free all data related to it.
13215     *
13216     * @see elm_web_popup_selected_set()
13217     * @see elm_web_popup_destroy()
13218     */
13219    struct _Elm_Web_Menu
13220      {
13221         Eina_List *items; /**< List of #Elm_Web_Menu_Item */
13222         int x; /**< The X position of the popup, relative to the elm_web object */
13223         int y; /**< The Y position of the popup, relative to the elm_web object */
13224         int width; /**< Width of the popup menu */
13225         int height; /**< Height of the popup menu */
13226
13227         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. */
13228      };
13229
13230    typedef struct _Elm_Web_Download Elm_Web_Download;
13231    struct _Elm_Web_Download
13232      {
13233         const char *url;
13234      };
13235
13236    /**
13237     * Types of zoom available.
13238     */
13239    typedef enum _Elm_Web_Zoom_Mode
13240      {
13241         ELM_WEB_ZOOM_MODE_MANUAL = 0, /**< Zoom controled normally by elm_web_zoom_set */
13242         ELM_WEB_ZOOM_MODE_AUTO_FIT, /**< Zoom until content fits in web object */
13243         ELM_WEB_ZOOM_MODE_AUTO_FILL, /**< Zoom until content fills web object */
13244         ELM_WEB_ZOOM_MODE_LAST
13245      } Elm_Web_Zoom_Mode;
13246    /**
13247     * Opaque handler containing the features (such as statusbar, menubar, etc)
13248     * that are to be set on a newly requested window.
13249     */
13250    typedef struct _Elm_Web_Window_Features Elm_Web_Window_Features;
13251    /**
13252     * Callback type for the create_window hook.
13253     *
13254     * The function parameters are:
13255     * @li @p data User data pointer set when setting the hook function
13256     * @li @p obj The elm_web object requesting the new window
13257     * @li @p js Set to @c EINA_TRUE if the request was originated from
13258     * JavaScript. @c EINA_FALSE otherwise.
13259     * @li @p window_features A pointer of #Elm_Web_Window_Features indicating
13260     * the features requested for the new window.
13261     *
13262     * The returned value of the function should be the @c elm_web widget where
13263     * the request will be loaded. That is, if a new window or tab is created,
13264     * the elm_web widget in it should be returned, and @b NOT the window
13265     * object.
13266     * Returning @c NULL should cancel the request.
13267     *
13268     * @see elm_web_window_create_hook_set()
13269     */
13270    typedef Evas_Object *(*Elm_Web_Window_Open)(void *data, Evas_Object *obj, Eina_Bool js, const Elm_Web_Window_Features *window_features);
13271    /**
13272     * Callback type for the JS alert hook.
13273     *
13274     * The function parameters are:
13275     * @li @p data User data pointer set when setting the hook function
13276     * @li @p obj The elm_web object requesting the new window
13277     * @li @p message The message to show in the alert dialog
13278     *
13279     * The function should return the object representing the alert dialog.
13280     * Elm_Web will run a second main loop to handle the dialog and normal
13281     * flow of the application will be restored when the object is deleted, so
13282     * the user should handle the popup properly in order to delete the object
13283     * when the action is finished.
13284     * If the function returns @c NULL the popup will be ignored.
13285     *
13286     * @see elm_web_dialog_alert_hook_set()
13287     */
13288    typedef Evas_Object *(*Elm_Web_Dialog_Alert)(void *data, Evas_Object *obj, const char *message);
13289    /**
13290     * Callback type for the JS confirm hook.
13291     *
13292     * The function parameters are:
13293     * @li @p data User data pointer set when setting the hook function
13294     * @li @p obj The elm_web object requesting the new window
13295     * @li @p message The message to show in the confirm dialog
13296     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13297     * the user selected @c Ok, @c EINA_FALSE otherwise.
13298     *
13299     * The function should return the object representing the confirm dialog.
13300     * Elm_Web will run a second main loop to handle the dialog and normal
13301     * flow of the application will be restored when the object is deleted, so
13302     * the user should handle the popup properly in order to delete the object
13303     * when the action is finished.
13304     * If the function returns @c NULL the popup will be ignored.
13305     *
13306     * @see elm_web_dialog_confirm_hook_set()
13307     */
13308    typedef Evas_Object *(*Elm_Web_Dialog_Confirm)(void *data, Evas_Object *obj, const char *message, Eina_Bool *ret);
13309    /**
13310     * Callback type for the JS prompt hook.
13311     *
13312     * The function parameters are:
13313     * @li @p data User data pointer set when setting the hook function
13314     * @li @p obj The elm_web object requesting the new window
13315     * @li @p message The message to show in the prompt dialog
13316     * @li @p def_value The default value to present the user in the entry
13317     * @li @p value Pointer where to store the value given by the user. Must
13318     * be a malloc'ed string or @c NULL if the user cancelled the popup.
13319     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13320     * the user selected @c Ok, @c EINA_FALSE otherwise.
13321     *
13322     * The function should return the object representing the prompt dialog.
13323     * Elm_Web will run a second main loop to handle the dialog and normal
13324     * flow of the application will be restored when the object is deleted, so
13325     * the user should handle the popup properly in order to delete the object
13326     * when the action is finished.
13327     * If the function returns @c NULL the popup will be ignored.
13328     *
13329     * @see elm_web_dialog_prompt_hook_set()
13330     */
13331    typedef Evas_Object *(*Elm_Web_Dialog_Prompt)(void *data, Evas_Object *obj, const char *message, const char *def_value, char **value, Eina_Bool *ret);
13332    /**
13333     * Callback type for the JS file selector hook.
13334     *
13335     * The function parameters are:
13336     * @li @p data User data pointer set when setting the hook function
13337     * @li @p obj The elm_web object requesting the new window
13338     * @li @p allows_multiple @c EINA_TRUE if multiple files can be selected.
13339     * @li @p accept_types Mime types accepted
13340     * @li @p selected Pointer where to store the list of malloc'ed strings
13341     * containing the path to each file selected. Must be @c NULL if the file
13342     * dialog is cancelled
13343     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13344     * the user selected @c Ok, @c EINA_FALSE otherwise.
13345     *
13346     * The function should return the object representing the file selector
13347     * dialog.
13348     * Elm_Web will run a second main loop to handle the dialog and normal
13349     * flow of the application will be restored when the object is deleted, so
13350     * the user should handle the popup properly in order to delete the object
13351     * when the action is finished.
13352     * If the function returns @c NULL the popup will be ignored.
13353     *
13354     * @see elm_web_dialog_file selector_hook_set()
13355     */
13356    typedef Evas_Object *(*Elm_Web_Dialog_File_Selector)(void *data, Evas_Object *obj, Eina_Bool allows_multiple, Eina_List *accept_types, Eina_List **selected, Eina_Bool *ret);
13357    /**
13358     * Callback type for the JS console message hook.
13359     *
13360     * When a console message is added from JavaScript, any set function to the
13361     * console message hook will be called for the user to handle. There is no
13362     * default implementation of this hook.
13363     *
13364     * The function parameters are:
13365     * @li @p data User data pointer set when setting the hook function
13366     * @li @p obj The elm_web object that originated the message
13367     * @li @p message The message sent
13368     * @li @p line_number The line number
13369     * @li @p source_id Source id
13370     *
13371     * @see elm_web_console_message_hook_set()
13372     */
13373    typedef void (*Elm_Web_Console_Message)(void *data, Evas_Object *obj, const char *message, unsigned int line_number, const char *source_id);
13374    /**
13375     * Add a new web object to the parent.
13376     *
13377     * @param parent The parent object.
13378     * @return The new object or NULL if it cannot be created.
13379     *
13380     * @see elm_web_uri_set()
13381     * @see elm_web_webkit_view_get()
13382     */
13383    EAPI Evas_Object                 *elm_web_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13384
13385    /**
13386     * Get internal ewk_view object from web object.
13387     *
13388     * Elementary may not provide some low level features of EWebKit,
13389     * instead of cluttering the API with proxy methods we opted to
13390     * return the internal reference. Be careful using it as it may
13391     * interfere with elm_web behavior.
13392     *
13393     * @param obj The web object.
13394     * @return The internal ewk_view object or NULL if it does not
13395     *         exist. (Failure to create or Elementary compiled without
13396     *         ewebkit)
13397     *
13398     * @see elm_web_add()
13399     */
13400    EAPI Evas_Object                 *elm_web_webkit_view_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13401
13402    /**
13403     * Sets the function to call when a new window is requested
13404     *
13405     * This hook will be called when a request to create a new window is
13406     * issued from the web page loaded.
13407     * There is no default implementation for this feature, so leaving this
13408     * unset or passing @c NULL in @p func will prevent new windows from
13409     * opening.
13410     *
13411     * @param obj The web object where to set the hook function
13412     * @param func The hook function to be called when a window is requested
13413     * @param data User data
13414     */
13415    EAPI void                         elm_web_window_create_hook_set(Evas_Object *obj, Elm_Web_Window_Open func, void *data);
13416    /**
13417     * Sets the function to call when an alert dialog
13418     *
13419     * This hook will be called when a JavaScript alert dialog is requested.
13420     * If no function is set or @c NULL is passed in @p func, the default
13421     * implementation will take place.
13422     *
13423     * @param obj The web object where to set the hook function
13424     * @param func The callback function to be used
13425     * @param data User data
13426     *
13427     * @see elm_web_inwin_mode_set()
13428     */
13429    EAPI void                         elm_web_dialog_alert_hook_set(Evas_Object *obj, Elm_Web_Dialog_Alert func, void *data);
13430    /**
13431     * Sets the function to call when an confirm dialog
13432     *
13433     * This hook will be called when a JavaScript confirm dialog is requested.
13434     * If no function is set or @c NULL is passed in @p func, the default
13435     * implementation will take place.
13436     *
13437     * @param obj The web object where to set the hook function
13438     * @param func The callback function to be used
13439     * @param data User data
13440     *
13441     * @see elm_web_inwin_mode_set()
13442     */
13443    EAPI void                         elm_web_dialog_confirm_hook_set(Evas_Object *obj, Elm_Web_Dialog_Confirm func, void *data);
13444    /**
13445     * Sets the function to call when an prompt dialog
13446     *
13447     * This hook will be called when a JavaScript prompt dialog is requested.
13448     * If no function is set or @c NULL is passed in @p func, the default
13449     * implementation will take place.
13450     *
13451     * @param obj The web object where to set the hook function
13452     * @param func The callback function to be used
13453     * @param data User data
13454     *
13455     * @see elm_web_inwin_mode_set()
13456     */
13457    EAPI void                         elm_web_dialog_prompt_hook_set(Evas_Object *obj, Elm_Web_Dialog_Prompt func, void *data);
13458    /**
13459     * Sets the function to call when an file selector dialog
13460     *
13461     * This hook will be called when a JavaScript file selector dialog is
13462     * requested.
13463     * If no function is set or @c NULL is passed in @p func, the default
13464     * implementation will take place.
13465     *
13466     * @param obj The web object where to set the hook function
13467     * @param func The callback function to be used
13468     * @param data User data
13469     *
13470     * @see elm_web_inwin_mode_set()
13471     */
13472    EAPI void                         elm_web_dialog_file_selector_hook_set(Evas_Object *obj, Elm_Web_Dialog_File_Selector func, void *data);
13473    /**
13474     * Sets the function to call when a console message is emitted from JS
13475     *
13476     * This hook will be called when a console message is emitted from
13477     * JavaScript. There is no default implementation for this feature.
13478     *
13479     * @param obj The web object where to set the hook function
13480     * @param func The callback function to be used
13481     * @param data User data
13482     */
13483    EAPI void                         elm_web_console_message_hook_set(Evas_Object *obj, Elm_Web_Console_Message func, void *data);
13484    /**
13485     * Gets the status of the tab propagation
13486     *
13487     * @param obj The web object to query
13488     * @return EINA_TRUE if tab propagation is enabled, EINA_FALSE otherwise
13489     *
13490     * @see elm_web_tab_propagate_set()
13491     */
13492    EAPI Eina_Bool                    elm_web_tab_propagate_get(const Evas_Object *obj);
13493    /**
13494     * Sets whether to use tab propagation
13495     *
13496     * If tab propagation is enabled, whenever the user presses the Tab key,
13497     * Elementary will handle it and switch focus to the next widget.
13498     * The default value is disabled, where WebKit will handle the Tab key to
13499     * cycle focus though its internal objects, jumping to the next widget
13500     * only when that cycle ends.
13501     *
13502     * @param obj The web object
13503     * @param propagate Whether to propagate Tab keys to Elementary or not
13504     */
13505    EAPI void                         elm_web_tab_propagate_set(Evas_Object *obj, Eina_Bool propagate);
13506    /**
13507     * Sets the URI for the web object
13508     *
13509     * It must be a full URI, with resource included, in the form
13510     * http://www.enlightenment.org or file:///tmp/something.html
13511     *
13512     * @param obj The web object
13513     * @param uri The URI to set
13514     * @return EINA_TRUE if the URI could be, EINA_FALSE if an error occurred
13515     */
13516    EAPI Eina_Bool                    elm_web_uri_set(Evas_Object *obj, const char *uri);
13517    /**
13518     * Gets the current URI for the object
13519     *
13520     * The returned string must not be freed and is guaranteed to be
13521     * stringshared.
13522     *
13523     * @param obj The web object
13524     * @return A stringshared internal string with the current URI, or NULL on
13525     * failure
13526     */
13527    EAPI const char                  *elm_web_uri_get(const Evas_Object *obj);
13528    /**
13529     * Gets the current title
13530     *
13531     * The returned string must not be freed and is guaranteed to be
13532     * stringshared.
13533     *
13534     * @param obj The web object
13535     * @return A stringshared internal string with the current title, or NULL on
13536     * failure
13537     */
13538    EAPI const char                  *elm_web_title_get(const Evas_Object *obj);
13539    /**
13540     * Sets the background color to be used by the web object
13541     *
13542     * This is the color that will be used by default when the loaded page
13543     * does not set it's own. Color values are pre-multiplied.
13544     *
13545     * @param obj The web object
13546     * @param r Red component
13547     * @param g Green component
13548     * @param b Blue component
13549     * @param a Alpha component
13550     */
13551    EAPI void                         elm_web_bg_color_set(Evas_Object *obj, int r, int g, int b, int a);
13552    /**
13553     * Gets the background color to be used by the web object
13554     *
13555     * This is the color that will be used by default when the loaded page
13556     * does not set it's own. Color values are pre-multiplied.
13557     *
13558     * @param obj The web object
13559     * @param r Red component
13560     * @param g Green component
13561     * @param b Blue component
13562     * @param a Alpha component
13563     */
13564    EAPI void                         elm_web_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a);
13565    /**
13566     * Gets a copy of the currently selected text
13567     *
13568     * The string returned must be freed by the user when it's done with it.
13569     *
13570     * @param obj The web object
13571     * @return A newly allocated string, or NULL if nothing is selected or an
13572     * error occurred
13573     */
13574    EAPI char                        *elm_view_selection_get(const Evas_Object *obj);
13575    /**
13576     * Tells the web object which index in the currently open popup was selected
13577     *
13578     * When the user handles the popup creation from the "popup,created" signal,
13579     * it needs to tell the web object which item was selected by calling this
13580     * function with the index corresponding to the item.
13581     *
13582     * @param obj The web object
13583     * @param index The index selected
13584     *
13585     * @see elm_web_popup_destroy()
13586     */
13587    EAPI void                         elm_web_popup_selected_set(Evas_Object *obj, int index);
13588    /**
13589     * Dismisses an open dropdown popup
13590     *
13591     * When the popup from a dropdown widget is to be dismissed, either after
13592     * selecting an option or to cancel it, this function must be called, which
13593     * will later emit an "popup,willdelete" signal to notify the user that
13594     * any memory and objects related to this popup can be freed.
13595     *
13596     * @param obj The web object
13597     * @return EINA_TRUE if the menu was successfully destroyed, or EINA_FALSE
13598     * if there was no menu to destroy
13599     */
13600    EAPI Eina_Bool                    elm_web_popup_destroy(Evas_Object *obj);
13601    /**
13602     * Searches the given string in a document.
13603     *
13604     * @param obj The web object where to search the text
13605     * @param string String to search
13606     * @param case_sensitive If search should be case sensitive or not
13607     * @param forward If search is from cursor and on or backwards
13608     * @param wrap If search should wrap at the end
13609     *
13610     * @return @c EINA_TRUE if the given string was found, @c EINA_FALSE if not
13611     * or failure
13612     */
13613    EAPI Eina_Bool                    elm_web_text_search(const Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool forward, Eina_Bool wrap);
13614    /**
13615     * Marks matches of the given string in a document.
13616     *
13617     * @param obj The web object where to search text
13618     * @param string String to match
13619     * @param case_sensitive If match should be case sensitive or not
13620     * @param highlight If matches should be highlighted
13621     * @param limit Maximum amount of matches, or zero to unlimited
13622     *
13623     * @return number of matched @a string
13624     */
13625    EAPI unsigned int                 elm_web_text_matches_mark(Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit);
13626    /**
13627     * Clears all marked matches in the document
13628     *
13629     * @param obj The web object
13630     *
13631     * @return EINA_TRUE on success, EINA_FALSE otherwise
13632     */
13633    EAPI Eina_Bool                    elm_web_text_matches_unmark_all(Evas_Object *obj);
13634    /**
13635     * Sets whether to highlight the matched marks
13636     *
13637     * If enabled, marks set with elm_web_text_matches_mark() will be
13638     * highlighted.
13639     *
13640     * @param obj The web object
13641     * @param highlight Whether to highlight the marks or not
13642     *
13643     * @return EINA_TRUE on success, EINA_FALSE otherwise
13644     */
13645    EAPI Eina_Bool                    elm_web_text_matches_highlight_set(Evas_Object *obj, Eina_Bool highlight);
13646    /**
13647     * Gets whether highlighting marks is enabled
13648     *
13649     * @param The web object
13650     *
13651     * @return EINA_TRUE is marks are set to be highlighted, EINA_FALSE
13652     * otherwise
13653     */
13654    EAPI Eina_Bool                    elm_web_text_matches_highlight_get(const Evas_Object *obj);
13655    /**
13656     * Gets the overall loading progress of the page
13657     *
13658     * Returns the estimated loading progress of the page, with a value between
13659     * 0.0 and 1.0. This is an estimated progress accounting for all the frames
13660     * included in the page.
13661     *
13662     * @param The web object
13663     *
13664     * @return A value between 0.0 and 1.0 indicating the progress, or -1.0 on
13665     * failure
13666     */
13667    EAPI double                       elm_web_load_progress_get(const Evas_Object *obj);
13668    /**
13669     * Stops loading the current page
13670     *
13671     * Cancels the loading of the current page in the web object. This will
13672     * cause a "load,error" signal to be emitted, with the is_cancellation
13673     * flag set to EINA_TRUE.
13674     *
13675     * @param obj The web object
13676     *
13677     * @return EINA_TRUE if the cancel was successful, EINA_FALSE otherwise
13678     */
13679    EAPI Eina_Bool                    elm_web_stop(Evas_Object *obj);
13680    /**
13681     * Requests a reload of the current document in the object
13682     *
13683     * @param obj The web object
13684     *
13685     * @return EINA_TRUE on success, EINA_FALSE otherwise
13686     */
13687    EAPI Eina_Bool                    elm_web_reload(Evas_Object *obj);
13688    /**
13689     * Requests a reload of the current document, avoiding any existing caches
13690     *
13691     * @param obj The web object
13692     *
13693     * @return EINA_TRUE on success, EINA_FALSE otherwise
13694     */
13695    EAPI Eina_Bool                    elm_web_reload_full(Evas_Object *obj);
13696    /**
13697     * Goes back one step in the browsing history
13698     *
13699     * This is equivalent to calling elm_web_object_navigate(obj, -1);
13700     *
13701     * @param obj The web object
13702     *
13703     * @return EINA_TRUE on success, EINA_FALSE otherwise
13704     *
13705     * @see elm_web_history_enable_set()
13706     * @see elm_web_back_possible()
13707     * @see elm_web_forward()
13708     * @see elm_web_navigate()
13709     */
13710    EAPI Eina_Bool                    elm_web_back(Evas_Object *obj);
13711    /**
13712     * Goes forward one step in the browsing history
13713     *
13714     * This is equivalent to calling elm_web_object_navigate(obj, 1);
13715     *
13716     * @param obj The web object
13717     *
13718     * @return EINA_TRUE on success, EINA_FALSE otherwise
13719     *
13720     * @see elm_web_history_enable_set()
13721     * @see elm_web_forward_possible()
13722     * @see elm_web_back()
13723     * @see elm_web_navigate()
13724     */
13725    EAPI Eina_Bool                    elm_web_forward(Evas_Object *obj);
13726    /**
13727     * Jumps the given number of steps in the browsing history
13728     *
13729     * The @p steps value can be a negative integer to back in history, or a
13730     * positive to move forward.
13731     *
13732     * @param obj The web object
13733     * @param steps The number of steps to jump
13734     *
13735     * @return EINA_TRUE on success, EINA_FALSE on error or if not enough
13736     * history exists to jump the given number of steps
13737     *
13738     * @see elm_web_history_enable_set()
13739     * @see elm_web_navigate_possible()
13740     * @see elm_web_back()
13741     * @see elm_web_forward()
13742     */
13743    EAPI Eina_Bool                    elm_web_navigate(Evas_Object *obj, int steps);
13744    /**
13745     * Queries whether it's possible to go back in history
13746     *
13747     * @param obj The web object
13748     *
13749     * @return EINA_TRUE if it's possible to back in history, EINA_FALSE
13750     * otherwise
13751     */
13752    EAPI Eina_Bool                    elm_web_back_possible(Evas_Object *obj);
13753    /**
13754     * Queries whether it's possible to go forward in history
13755     *
13756     * @param obj The web object
13757     *
13758     * @return EINA_TRUE if it's possible to forward in history, EINA_FALSE
13759     * otherwise
13760     */
13761    EAPI Eina_Bool                    elm_web_forward_possible(Evas_Object *obj);
13762    /**
13763     * Queries whether it's possible to jump the given number of steps
13764     *
13765     * The @p steps value can be a negative integer to back in history, or a
13766     * positive to move forward.
13767     *
13768     * @param obj The web object
13769     * @param steps The number of steps to check for
13770     *
13771     * @return EINA_TRUE if enough history exists to perform the given jump,
13772     * EINA_FALSE otherwise
13773     */
13774    EAPI Eina_Bool                    elm_web_navigate_possible(Evas_Object *obj, int steps);
13775    /**
13776     * Gets whether browsing history is enabled for the given object
13777     *
13778     * @param obj The web object
13779     *
13780     * @return EINA_TRUE if history is enabled, EINA_FALSE otherwise
13781     */
13782    EAPI Eina_Bool                    elm_web_history_enable_get(const Evas_Object *obj);
13783    /**
13784     * Enables or disables the browsing history
13785     *
13786     * @param obj The web object
13787     * @param enable Whether to enable or disable the browsing history
13788     */
13789    EAPI void                         elm_web_history_enable_set(Evas_Object *obj, Eina_Bool enable);
13790    /**
13791     * Sets the zoom level of the web object
13792     *
13793     * Zoom level matches the Webkit API, so 1.0 means normal zoom, with higher
13794     * values meaning zoom in and lower meaning zoom out. This function will
13795     * only affect the zoom level if the mode set with elm_web_zoom_mode_set()
13796     * is ::ELM_WEB_ZOOM_MODE_MANUAL.
13797     *
13798     * @param obj The web object
13799     * @param zoom The zoom level to set
13800     */
13801    EAPI void                         elm_web_zoom_set(Evas_Object *obj, double zoom);
13802    /**
13803     * Gets the current zoom level set on the web object
13804     *
13805     * Note that this is the zoom level set on the web object and not that
13806     * of the underlying Webkit one. In the ::ELM_WEB_ZOOM_MODE_MANUAL mode,
13807     * the two zoom levels should match, but for the other two modes the
13808     * Webkit zoom is calculated internally to match the chosen mode without
13809     * changing the zoom level set for the web object.
13810     *
13811     * @param obj The web object
13812     *
13813     * @return The zoom level set on the object
13814     */
13815    EAPI double                       elm_web_zoom_get(const Evas_Object *obj);
13816    /**
13817     * Sets the zoom mode to use
13818     *
13819     * The modes can be any of those defined in ::Elm_Web_Zoom_Mode, except
13820     * ::ELM_WEB_ZOOM_MODE_LAST. The default is ::ELM_WEB_ZOOM_MODE_MANUAL.
13821     *
13822     * ::ELM_WEB_ZOOM_MODE_MANUAL means the zoom level will be controlled
13823     * with the elm_web_zoom_set() function.
13824     * ::ELM_WEB_ZOOM_MODE_AUTO_FIT will calculate the needed zoom level to
13825     * make sure the entirety of the web object's contents are shown.
13826     * ::ELM_WEB_ZOOM_MODE_AUTO_FILL will calculate the needed zoom level to
13827     * fit the contents in the web object's size, without leaving any space
13828     * unused.
13829     *
13830     * @param obj The web object
13831     * @param mode The mode to set
13832     */
13833    EAPI void                         elm_web_zoom_mode_set(Evas_Object *obj, Elm_Web_Zoom_Mode mode);
13834    /**
13835     * Gets the currently set zoom mode
13836     *
13837     * @param obj The web object
13838     *
13839     * @return The current zoom mode set for the object, or
13840     * ::ELM_WEB_ZOOM_MODE_LAST on error
13841     */
13842    EAPI Elm_Web_Zoom_Mode            elm_web_zoom_mode_get(const Evas_Object *obj);
13843    /**
13844     * Shows the given region in the web object
13845     *
13846     * @param obj The web object
13847     * @param x The x coordinate of the region to show
13848     * @param y The y coordinate of the region to show
13849     * @param w The width of the region to show
13850     * @param h The height of the region to show
13851     */
13852    EAPI void                         elm_web_region_show(Evas_Object *obj, int x, int y, int w, int h);
13853    /**
13854     * Brings in the region to the visible area
13855     *
13856     * Like elm_web_region_show(), but it animates the scrolling of the object
13857     * to show the area
13858     *
13859     * @param obj The web object
13860     * @param x The x coordinate of the region to show
13861     * @param y The y coordinate of the region to show
13862     * @param w The width of the region to show
13863     * @param h The height of the region to show
13864     */
13865    EAPI void                         elm_web_region_bring_in(Evas_Object *obj, int x, int y, int w, int h);
13866    /**
13867     * Sets the default dialogs to use an Inwin instead of a normal window
13868     *
13869     * If set, then the default implementation for the JavaScript dialogs and
13870     * file selector will be opened in an Inwin. Otherwise they will use a
13871     * normal separated window.
13872     *
13873     * @param obj The web object
13874     * @param value EINA_TRUE to use Inwin, EINA_FALSE to use a normal window
13875     */
13876    EAPI void                         elm_web_inwin_mode_set(Evas_Object *obj, Eina_Bool value);
13877    /**
13878     * Gets whether Inwin mode is set for the current object
13879     *
13880     * @param obj The web object
13881     *
13882     * @return EINA_TRUE if Inwin mode is set, EINA_FALSE otherwise
13883     */
13884    EAPI Eina_Bool                    elm_web_inwin_mode_get(const Evas_Object *obj);
13885
13886    EAPI void                         elm_web_window_features_ref(Elm_Web_Window_Features *wf);
13887    EAPI void                         elm_web_window_features_unref(Elm_Web_Window_Features *wf);
13888    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);
13889    EAPI void                         elm_web_window_features_int_property_get(const Elm_Web_Window_Features *wf, int *x, int *y, int *w, int *h);
13890
13891    /**
13892     * @}
13893     */
13894
13895    /**
13896     * @defgroup Hoversel Hoversel
13897     *
13898     * @image html img/widget/hoversel/preview-00.png
13899     * @image latex img/widget/hoversel/preview-00.eps
13900     *
13901     * A hoversel is a button that pops up a list of items (automatically
13902     * choosing the direction to display) that have a label and, optionally, an
13903     * icon to select from. It is a convenience widget to avoid the need to do
13904     * all the piecing together yourself. It is intended for a small number of
13905     * items in the hoversel menu (no more than 8), though is capable of many
13906     * more.
13907     *
13908     * Signals that you can add callbacks for are:
13909     * "clicked" - the user clicked the hoversel button and popped up the sel
13910     * "selected" - an item in the hoversel list is selected. event_info is the item
13911     * "dismissed" - the hover is dismissed
13912     *
13913     * See @ref tutorial_hoversel for an example.
13914     * @{
13915     */
13916    typedef struct _Elm_Hoversel_Item Elm_Hoversel_Item; /**< Item of Elm_Hoversel. Sub-type of Elm_Widget_Item */
13917    /**
13918     * @brief Add a new Hoversel object
13919     *
13920     * @param parent The parent object
13921     * @return The new object or NULL if it cannot be created
13922     */
13923    EAPI Evas_Object       *elm_hoversel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13924    /**
13925     * @brief This sets the hoversel to expand horizontally.
13926     *
13927     * @param obj The hoversel object
13928     * @param horizontal If true, the hover will expand horizontally to the
13929     * right.
13930     *
13931     * @note The initial button will display horizontally regardless of this
13932     * setting.
13933     */
13934    EAPI void               elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
13935    /**
13936     * @brief This returns whether the hoversel is set to expand horizontally.
13937     *
13938     * @param obj The hoversel object
13939     * @return If true, the hover will expand horizontally to the right.
13940     *
13941     * @see elm_hoversel_horizontal_set()
13942     */
13943    EAPI Eina_Bool          elm_hoversel_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13944    /**
13945     * @brief Set the Hover parent
13946     *
13947     * @param obj The hoversel object
13948     * @param parent The parent to use
13949     *
13950     * Sets the hover parent object, the area that will be darkened when the
13951     * hoversel is clicked. Should probably be the window that the hoversel is
13952     * in. See @ref Hover objects for more information.
13953     */
13954    EAPI void               elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
13955    /**
13956     * @brief Get the Hover parent
13957     *
13958     * @param obj The hoversel object
13959     * @return The used parent
13960     *
13961     * Gets the hover parent object.
13962     *
13963     * @see elm_hoversel_hover_parent_set()
13964     */
13965    EAPI Evas_Object       *elm_hoversel_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13966    /**
13967     * @brief Set the hoversel button label
13968     *
13969     * @param obj The hoversel object
13970     * @param label The label text.
13971     *
13972     * This sets the label of the button that is always visible (before it is
13973     * clicked and expanded).
13974     *
13975     * @deprecated elm_object_text_set()
13976     */
13977    EINA_DEPRECATED EAPI void               elm_hoversel_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
13978    /**
13979     * @brief Get the hoversel button label
13980     *
13981     * @param obj The hoversel object
13982     * @return The label text.
13983     *
13984     * @deprecated elm_object_text_get()
13985     */
13986    EINA_DEPRECATED EAPI const char        *elm_hoversel_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13987    /**
13988     * @brief Set the icon of the hoversel button
13989     *
13990     * @param obj The hoversel object
13991     * @param icon The icon object
13992     *
13993     * Sets the icon of the button that is always visible (before it is clicked
13994     * and expanded).  Once the icon object is set, a previously set one will be
13995     * deleted, if you want to keep that old content object, use the
13996     * elm_hoversel_icon_unset() function.
13997     *
13998     * @see elm_button_icon_set()
13999     */
14000    EAPI void               elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
14001    /**
14002     * @brief Get the icon of the hoversel button
14003     *
14004     * @param obj The hoversel object
14005     * @return The icon object
14006     *
14007     * Get the icon of the button that is always visible (before it is clicked
14008     * and expanded). Also see elm_button_icon_get().
14009     *
14010     * @see elm_hoversel_icon_set()
14011     */
14012    EAPI Evas_Object       *elm_hoversel_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14013    /**
14014     * @brief Get and unparent the icon of the hoversel button
14015     *
14016     * @param obj The hoversel object
14017     * @return The icon object that was being used
14018     *
14019     * Unparent and return the icon of the button that is always visible
14020     * (before it is clicked and expanded).
14021     *
14022     * @see elm_hoversel_icon_set()
14023     * @see elm_button_icon_unset()
14024     */
14025    EAPI Evas_Object       *elm_hoversel_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
14026    /**
14027     * @brief This triggers the hoversel popup from code, the same as if the user
14028     * had clicked the button.
14029     *
14030     * @param obj The hoversel object
14031     */
14032    EAPI void               elm_hoversel_hover_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
14033    /**
14034     * @brief This dismisses the hoversel popup as if the user had clicked
14035     * outside the hover.
14036     *
14037     * @param obj The hoversel object
14038     */
14039    EAPI void               elm_hoversel_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
14040    /**
14041     * @brief Returns whether the hoversel is expanded.
14042     *
14043     * @param obj The hoversel object
14044     * @return  This will return EINA_TRUE if the hoversel is expanded or
14045     * EINA_FALSE if it is not expanded.
14046     */
14047    EAPI Eina_Bool          elm_hoversel_expanded_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14048    /**
14049     * @brief This will remove all the children items from the hoversel.
14050     *
14051     * @param obj The hoversel object
14052     *
14053     * @warning Should @b not be called while the hoversel is active; use
14054     * elm_hoversel_expanded_get() to check first.
14055     *
14056     * @see elm_hoversel_item_del_cb_set()
14057     * @see elm_hoversel_item_del()
14058     */
14059    EAPI void               elm_hoversel_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
14060    /**
14061     * @brief Get the list of items within the given hoversel.
14062     *
14063     * @param obj The hoversel object
14064     * @return Returns a list of Elm_Hoversel_Item*
14065     *
14066     * @see elm_hoversel_item_add()
14067     */
14068    EAPI const Eina_List   *elm_hoversel_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14069    /**
14070     * @brief Add an item to the hoversel button
14071     *
14072     * @param obj The hoversel object
14073     * @param label The text label to use for the item (NULL if not desired)
14074     * @param icon_file An image file path on disk to use for the icon or standard
14075     * icon name (NULL if not desired)
14076     * @param icon_type The icon type if relevant
14077     * @param func Convenience function to call when this item is selected
14078     * @param data Data to pass to item-related functions
14079     * @return A handle to the item added.
14080     *
14081     * This adds an item to the hoversel to show when it is clicked. Note: if you
14082     * need to use an icon from an edje file then use
14083     * elm_hoversel_item_icon_set() right after the this function, and set
14084     * icon_file to NULL here.
14085     *
14086     * For more information on what @p icon_file and @p icon_type are see the
14087     * @ref Icon "icon documentation".
14088     */
14089    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);
14090    /**
14091     * @brief Delete an item from the hoversel
14092     *
14093     * @param item The item to delete
14094     *
14095     * This deletes the item from the hoversel (should not be called while the
14096     * hoversel is active; use elm_hoversel_expanded_get() to check first).
14097     *
14098     * @see elm_hoversel_item_add()
14099     * @see elm_hoversel_item_del_cb_set()
14100     */
14101    EAPI void               elm_hoversel_item_del(Elm_Hoversel_Item *item) EINA_ARG_NONNULL(1);
14102    /**
14103     * @brief Set the function to be called when an item from the hoversel is
14104     * freed.
14105     *
14106     * @param item The item to set the callback on
14107     * @param func The function called
14108     *
14109     * That function will receive these parameters:
14110     * @li void *item_data
14111     * @li Evas_Object *the_item_object
14112     * @li Elm_Hoversel_Item *the_object_struct
14113     *
14114     * @see elm_hoversel_item_add()
14115     */
14116    EAPI void               elm_hoversel_item_del_cb_set(Elm_Hoversel_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
14117    /**
14118     * @brief This returns the data pointer supplied with elm_hoversel_item_add()
14119     * that will be passed to associated function callbacks.
14120     *
14121     * @param item The item to get the data from
14122     * @return The data pointer set with elm_hoversel_item_add()
14123     *
14124     * @see elm_hoversel_item_add()
14125     */
14126    EAPI void              *elm_hoversel_item_data_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
14127    /**
14128     * @brief This returns the label text of the given hoversel item.
14129     *
14130     * @param item The item to get the label
14131     * @return The label text of the hoversel item
14132     *
14133     * @see elm_hoversel_item_add()
14134     */
14135    EAPI const char        *elm_hoversel_item_label_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
14136    /**
14137     * @brief This sets the icon for the given hoversel item.
14138     *
14139     * @param item The item to set the icon
14140     * @param icon_file An image file path on disk to use for the icon or standard
14141     * icon name
14142     * @param icon_group The edje group to use if @p icon_file is an edje file. Set this
14143     * to NULL if the icon is not an edje file
14144     * @param icon_type The icon type
14145     *
14146     * The icon can be loaded from the standard set, from an image file, or from
14147     * an edje file.
14148     *
14149     * @see elm_hoversel_item_add()
14150     */
14151    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);
14152    /**
14153     * @brief Get the icon object of the hoversel item
14154     *
14155     * @param item The item to get the icon from
14156     * @param icon_file The image file path on disk used for the icon or standard
14157     * icon name
14158     * @param icon_group The edje group used if @p icon_file is an edje file. NULL
14159     * if the icon is not an edje file
14160     * @param icon_type The icon type
14161     *
14162     * @see elm_hoversel_item_icon_set()
14163     * @see elm_hoversel_item_add()
14164     */
14165    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);
14166    /**
14167     * @}
14168     */
14169
14170    /**
14171     * @defgroup Toolbar Toolbar
14172     * @ingroup Elementary
14173     *
14174     * @image html img/widget/toolbar/preview-00.png
14175     * @image latex img/widget/toolbar/preview-00.eps width=\textwidth
14176     *
14177     * @image html img/toolbar.png
14178     * @image latex img/toolbar.eps width=\textwidth
14179     *
14180     * A toolbar is a widget that displays a list of items inside
14181     * a box. It can be scrollable, show a menu with items that don't fit
14182     * to toolbar size or even crop them.
14183     *
14184     * Only one item can be selected at a time.
14185     *
14186     * Items can have multiple states, or show menus when selected by the user.
14187     *
14188     * Smart callbacks one can listen to:
14189     * - "clicked" - when the user clicks on a toolbar item and becomes selected.
14190     * - "language,changed" - when the program language changes
14191     *
14192     * Available styles for it:
14193     * - @c "default"
14194     * - @c "transparent" - no background or shadow, just show the content
14195     *
14196     * List of examples:
14197     * @li @ref toolbar_example_01
14198     * @li @ref toolbar_example_02
14199     * @li @ref toolbar_example_03
14200     */
14201
14202    /**
14203     * @addtogroup Toolbar
14204     * @{
14205     */
14206
14207    /**
14208     * @enum _Elm_Toolbar_Shrink_Mode
14209     * @typedef Elm_Toolbar_Shrink_Mode
14210     *
14211     * Set toolbar's items display behavior, it can be scrollabel,
14212     * show a menu with exceeding items, or simply hide them.
14213     *
14214     * @note Default value is #ELM_TOOLBAR_SHRINK_MENU. It reads value
14215     * from elm config.
14216     *
14217     * Values <b> don't </b> work as bitmask, only one can be choosen.
14218     *
14219     * @see elm_toolbar_mode_shrink_set()
14220     * @see elm_toolbar_mode_shrink_get()
14221     *
14222     * @ingroup Toolbar
14223     */
14224    typedef enum _Elm_Toolbar_Shrink_Mode
14225      {
14226         ELM_TOOLBAR_SHRINK_NONE,   /**< Set toolbar minimun size to fit all the items. */
14227         ELM_TOOLBAR_SHRINK_HIDE,   /**< Hide exceeding items. */
14228         ELM_TOOLBAR_SHRINK_SCROLL, /**< Allow accessing exceeding items through a scroller. */
14229         ELM_TOOLBAR_SHRINK_MENU    /**< Inserts a button to pop up a menu with exceeding items. */
14230      } Elm_Toolbar_Shrink_Mode;
14231
14232    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(). */
14233
14234    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(). */
14235
14236    /**
14237     * Add a new toolbar widget to the given parent Elementary
14238     * (container) object.
14239     *
14240     * @param parent The parent object.
14241     * @return a new toolbar widget handle or @c NULL, on errors.
14242     *
14243     * This function inserts a new toolbar widget on the canvas.
14244     *
14245     * @ingroup Toolbar
14246     */
14247    EAPI Evas_Object            *elm_toolbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
14248
14249    /**
14250     * Set the icon size, in pixels, to be used by toolbar items.
14251     *
14252     * @param obj The toolbar object
14253     * @param icon_size The icon size in pixels
14254     *
14255     * @note Default value is @c 32. It reads value from elm config.
14256     *
14257     * @see elm_toolbar_icon_size_get()
14258     *
14259     * @ingroup Toolbar
14260     */
14261    EAPI void                    elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size) EINA_ARG_NONNULL(1);
14262
14263    /**
14264     * Get the icon size, in pixels, to be used by toolbar items.
14265     *
14266     * @param obj The toolbar object.
14267     * @return The icon size in pixels.
14268     *
14269     * @see elm_toolbar_icon_size_set() for details.
14270     *
14271     * @ingroup Toolbar
14272     */
14273    EAPI int                     elm_toolbar_icon_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14274
14275    /**
14276     * Sets icon lookup order, for toolbar items' icons.
14277     *
14278     * @param obj The toolbar object.
14279     * @param order The icon lookup order.
14280     *
14281     * Icons added before calling this function will not be affected.
14282     * The default lookup order is #ELM_ICON_LOOKUP_THEME_FDO.
14283     *
14284     * @see elm_toolbar_icon_order_lookup_get()
14285     *
14286     * @ingroup Toolbar
14287     */
14288    EAPI void                    elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
14289
14290    /**
14291     * Gets the icon lookup order.
14292     *
14293     * @param obj The toolbar object.
14294     * @return The icon lookup order.
14295     *
14296     * @see elm_toolbar_icon_order_lookup_set() for details.
14297     *
14298     * @ingroup Toolbar
14299     */
14300    EAPI Elm_Icon_Lookup_Order   elm_toolbar_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14301
14302    /**
14303     * Set whether the toolbar should always have an item selected.
14304     *
14305     * @param obj The toolbar object.
14306     * @param wrap @c EINA_TRUE to enable always-select mode or @c EINA_FALSE to
14307     * disable it.
14308     *
14309     * This will cause the toolbar to always have an item selected, and clicking
14310     * the selected item will not cause a selected event to be emitted. Enabling this mode
14311     * will immediately select the first toolbar item.
14312     *
14313     * Always-selected is disabled by default.
14314     *
14315     * @see elm_toolbar_always_select_mode_get().
14316     *
14317     * @ingroup Toolbar
14318     */
14319    EAPI void                    elm_toolbar_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
14320
14321    /**
14322     * Get whether the toolbar should always have an item selected.
14323     *
14324     * @param obj The toolbar object.
14325     * @return @c EINA_TRUE means an item will always be selected, @c EINA_FALSE indicates
14326     * that it is possible to have no items selected. If @p obj is @c NULL, @c EINA_FALSE is returned.
14327     *
14328     * @see elm_toolbar_always_select_mode_set() for details.
14329     *
14330     * @ingroup Toolbar
14331     */
14332    EAPI Eina_Bool               elm_toolbar_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14333
14334    /**
14335     * Set whether the toolbar items' should be selected by the user or not.
14336     *
14337     * @param obj The toolbar object.
14338     * @param wrap @c EINA_TRUE to disable selection or @c EINA_FALSE to
14339     * enable it.
14340     *
14341     * This will turn off the ability to select items entirely and they will
14342     * neither appear selected nor emit selected signals. The clicked
14343     * callback function will still be called.
14344     *
14345     * Selection is enabled by default.
14346     *
14347     * @see elm_toolbar_no_select_mode_get().
14348     *
14349     * @ingroup Toolbar
14350     */
14351    EAPI void                    elm_toolbar_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
14352
14353    /**
14354     * Set whether the toolbar items' should be selected by the user or not.
14355     *
14356     * @param obj The toolbar object.
14357     * @return @c EINA_TRUE means items can be selected. @c EINA_FALSE indicates
14358     * they can't. If @p obj is @c NULL, @c EINA_FALSE is returned.
14359     *
14360     * @see elm_toolbar_no_select_mode_set() for details.
14361     *
14362     * @ingroup Toolbar
14363     */
14364    EAPI Eina_Bool               elm_toolbar_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14365
14366    /**
14367     * Append item to the toolbar.
14368     *
14369     * @param obj The toolbar object.
14370     * @param icon A string with icon name or the absolute path of an image file.
14371     * @param label The label of the item.
14372     * @param func The function to call when the item is clicked.
14373     * @param data The data to associate with the item for related callbacks.
14374     * @return The created item or @c NULL upon failure.
14375     *
14376     * A new item will be created and appended to the toolbar, i.e., will
14377     * be set as @b last item.
14378     *
14379     * Items created with this method can be deleted with
14380     * elm_toolbar_item_del().
14381     *
14382     * Associated @p data can be properly freed when item is deleted if a
14383     * callback function is set with elm_toolbar_item_del_cb_set().
14384     *
14385     * If a function is passed as argument, it will be called everytime this item
14386     * is selected, i.e., the user clicks over an unselected item.
14387     * If such function isn't needed, just passing
14388     * @c NULL as @p func is enough. The same should be done for @p data.
14389     *
14390     * Toolbar will load icon image from fdo or current theme.
14391     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14392     * If an absolute path is provided it will load it direct from a file.
14393     *
14394     * @see elm_toolbar_item_icon_set()
14395     * @see elm_toolbar_item_del()
14396     * @see elm_toolbar_item_del_cb_set()
14397     *
14398     * @ingroup Toolbar
14399     */
14400    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);
14401
14402    /**
14403     * Prepend item to the toolbar.
14404     *
14405     * @param obj The toolbar object.
14406     * @param icon A string with icon name or the absolute path of an image file.
14407     * @param label The label of the item.
14408     * @param func The function to call when the item is clicked.
14409     * @param data The data to associate with the item for related callbacks.
14410     * @return The created item or @c NULL upon failure.
14411     *
14412     * A new item will be created and prepended to the toolbar, i.e., will
14413     * be set as @b first item.
14414     *
14415     * Items created with this method can be deleted with
14416     * elm_toolbar_item_del().
14417     *
14418     * Associated @p data can be properly freed when item is deleted if a
14419     * callback function is set with elm_toolbar_item_del_cb_set().
14420     *
14421     * If a function is passed as argument, it will be called everytime this item
14422     * is selected, i.e., the user clicks over an unselected item.
14423     * If such function isn't needed, just passing
14424     * @c NULL as @p func is enough. The same should be done for @p data.
14425     *
14426     * Toolbar will load icon image from fdo or current theme.
14427     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14428     * If an absolute path is provided it will load it direct from a file.
14429     *
14430     * @see elm_toolbar_item_icon_set()
14431     * @see elm_toolbar_item_del()
14432     * @see elm_toolbar_item_del_cb_set()
14433     *
14434     * @ingroup Toolbar
14435     */
14436    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);
14437
14438    /**
14439     * Insert a new item into the toolbar object before item @p before.
14440     *
14441     * @param obj The toolbar object.
14442     * @param before The toolbar item to insert before.
14443     * @param icon A string with icon name or the absolute path of an image file.
14444     * @param label The label of the item.
14445     * @param func The function to call when the item is clicked.
14446     * @param data The data to associate with the item for related callbacks.
14447     * @return The created item or @c NULL upon failure.
14448     *
14449     * A new item will be created and added to the toolbar. Its position in
14450     * this toolbar will be just before item @p before.
14451     *
14452     * Items created with this method can be deleted with
14453     * elm_toolbar_item_del().
14454     *
14455     * Associated @p data can be properly freed when item is deleted if a
14456     * callback function is set with elm_toolbar_item_del_cb_set().
14457     *
14458     * If a function is passed as argument, it will be called everytime this item
14459     * is selected, i.e., the user clicks over an unselected item.
14460     * If such function isn't needed, just passing
14461     * @c NULL as @p func is enough. The same should be done for @p data.
14462     *
14463     * Toolbar will load icon image from fdo or current theme.
14464     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14465     * If an absolute path is provided it will load it direct from a file.
14466     *
14467     * @see elm_toolbar_item_icon_set()
14468     * @see elm_toolbar_item_del()
14469     * @see elm_toolbar_item_del_cb_set()
14470     *
14471     * @ingroup Toolbar
14472     */
14473    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);
14474
14475    /**
14476     * Insert a new item into the toolbar object after item @p after.
14477     *
14478     * @param obj The toolbar object.
14479     * @param before The toolbar item to insert before.
14480     * @param icon A string with icon name or the absolute path of an image file.
14481     * @param label The label of the item.
14482     * @param func The function to call when the item is clicked.
14483     * @param data The data to associate with the item for related callbacks.
14484     * @return The created item or @c NULL upon failure.
14485     *
14486     * A new item will be created and added to the toolbar. Its position in
14487     * this toolbar will be just after item @p after.
14488     *
14489     * Items created with this method can be deleted with
14490     * elm_toolbar_item_del().
14491     *
14492     * Associated @p data can be properly freed when item is deleted if a
14493     * callback function is set with elm_toolbar_item_del_cb_set().
14494     *
14495     * If a function is passed as argument, it will be called everytime this item
14496     * is selected, i.e., the user clicks over an unselected item.
14497     * If such function isn't needed, just passing
14498     * @c NULL as @p func is enough. The same should be done for @p data.
14499     *
14500     * Toolbar will load icon image from fdo or current theme.
14501     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14502     * If an absolute path is provided it will load it direct from a file.
14503     *
14504     * @see elm_toolbar_item_icon_set()
14505     * @see elm_toolbar_item_del()
14506     * @see elm_toolbar_item_del_cb_set()
14507     *
14508     * @ingroup Toolbar
14509     */
14510    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);
14511
14512    /**
14513     * Get the first item in the given toolbar widget's list of
14514     * items.
14515     *
14516     * @param obj The toolbar object
14517     * @return The first item or @c NULL, if it has no items (and on
14518     * errors)
14519     *
14520     * @see elm_toolbar_item_append()
14521     * @see elm_toolbar_last_item_get()
14522     *
14523     * @ingroup Toolbar
14524     */
14525    EAPI Elm_Toolbar_Item       *elm_toolbar_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14526
14527    /**
14528     * Get the last item in the given toolbar widget's list of
14529     * items.
14530     *
14531     * @param obj The toolbar object
14532     * @return The last item or @c NULL, if it has no items (and on
14533     * errors)
14534     *
14535     * @see elm_toolbar_item_prepend()
14536     * @see elm_toolbar_first_item_get()
14537     *
14538     * @ingroup Toolbar
14539     */
14540    EAPI Elm_Toolbar_Item       *elm_toolbar_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14541
14542    /**
14543     * Get the item after @p item in toolbar.
14544     *
14545     * @param item The toolbar item.
14546     * @return The item after @p item, or @c NULL if none or on failure.
14547     *
14548     * @note If it is the last item, @c NULL will be returned.
14549     *
14550     * @see elm_toolbar_item_append()
14551     *
14552     * @ingroup Toolbar
14553     */
14554    EAPI Elm_Toolbar_Item       *elm_toolbar_item_next_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14555
14556    /**
14557     * Get the item before @p item in toolbar.
14558     *
14559     * @param item The toolbar item.
14560     * @return The item before @p item, or @c NULL if none or on failure.
14561     *
14562     * @note If it is the first item, @c NULL will be returned.
14563     *
14564     * @see elm_toolbar_item_prepend()
14565     *
14566     * @ingroup Toolbar
14567     */
14568    EAPI Elm_Toolbar_Item       *elm_toolbar_item_prev_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14569
14570    /**
14571     * Get the toolbar object from an item.
14572     *
14573     * @param item The item.
14574     * @return The toolbar object.
14575     *
14576     * This returns the toolbar object itself that an item belongs to.
14577     *
14578     * @ingroup Toolbar
14579     */
14580    EAPI Evas_Object            *elm_toolbar_item_toolbar_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14581
14582    /**
14583     * Set the priority of a toolbar item.
14584     *
14585     * @param item The toolbar item.
14586     * @param priority The item priority. The default is zero.
14587     *
14588     * This is used only when the toolbar shrink mode is set to
14589     * #ELM_TOOLBAR_SHRINK_MENU or #ELM_TOOLBAR_SHRINK_HIDE.
14590     * When space is less than required, items with low priority
14591     * will be removed from the toolbar and added to a dynamically-created menu,
14592     * while items with higher priority will remain on the toolbar,
14593     * with the same order they were added.
14594     *
14595     * @see elm_toolbar_item_priority_get()
14596     *
14597     * @ingroup Toolbar
14598     */
14599    EAPI void                    elm_toolbar_item_priority_set(Elm_Toolbar_Item *item, int priority) EINA_ARG_NONNULL(1);
14600
14601    /**
14602     * Get the priority of a toolbar item.
14603     *
14604     * @param item The toolbar item.
14605     * @return The @p item priority, or @c 0 on failure.
14606     *
14607     * @see elm_toolbar_item_priority_set() for details.
14608     *
14609     * @ingroup Toolbar
14610     */
14611    EAPI int                     elm_toolbar_item_priority_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14612
14613    /**
14614     * Get the label of item.
14615     *
14616     * @param item The item of toolbar.
14617     * @return The label of item.
14618     *
14619     * The return value is a pointer to the label associated to @p item when
14620     * it was created, with function elm_toolbar_item_append() or similar,
14621     * or later,
14622     * with function elm_toolbar_item_label_set. If no label
14623     * was passed as argument, it will return @c NULL.
14624     *
14625     * @see elm_toolbar_item_label_set() for more details.
14626     * @see elm_toolbar_item_append()
14627     *
14628     * @ingroup Toolbar
14629     */
14630    EAPI const char             *elm_toolbar_item_label_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14631
14632    /**
14633     * Set the label of item.
14634     *
14635     * @param item The item of toolbar.
14636     * @param text The label of item.
14637     *
14638     * The label to be displayed by the item.
14639     * Label will be placed at icons bottom (if set).
14640     *
14641     * If a label was passed as argument on item creation, with function
14642     * elm_toolbar_item_append() or similar, it will be already
14643     * displayed by the item.
14644     *
14645     * @see elm_toolbar_item_label_get()
14646     * @see elm_toolbar_item_append()
14647     *
14648     * @ingroup Toolbar
14649     */
14650    EAPI void                    elm_toolbar_item_label_set(Elm_Toolbar_Item *item, const char *label) EINA_ARG_NONNULL(1);
14651
14652    /**
14653     * Return the data associated with a given toolbar widget item.
14654     *
14655     * @param item The toolbar widget item handle.
14656     * @return The data associated with @p item.
14657     *
14658     * @see elm_toolbar_item_data_set()
14659     *
14660     * @ingroup Toolbar
14661     */
14662    EAPI void                   *elm_toolbar_item_data_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14663
14664    /**
14665     * Set the data associated with a given toolbar widget item.
14666     *
14667     * @param item The toolbar widget item handle.
14668     * @param data The new data pointer to set to @p item.
14669     *
14670     * This sets new item data on @p item.
14671     *
14672     * @warning The old data pointer won't be touched by this function, so
14673     * the user had better to free that old data himself/herself.
14674     *
14675     * @ingroup Toolbar
14676     */
14677    EAPI void                    elm_toolbar_item_data_set(Elm_Toolbar_Item *item, const void *data) EINA_ARG_NONNULL(1);
14678
14679    /**
14680     * Returns a pointer to a toolbar item by its label.
14681     *
14682     * @param obj The toolbar object.
14683     * @param label The label of the item to find.
14684     *
14685     * @return The pointer to the toolbar item matching @p label or @c NULL
14686     * on failure.
14687     *
14688     * @ingroup Toolbar
14689     */
14690    EAPI Elm_Toolbar_Item       *elm_toolbar_item_find_by_label(const Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
14691
14692    /*
14693     * Get whether the @p item is selected or not.
14694     *
14695     * @param item The toolbar item.
14696     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
14697     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
14698     *
14699     * @see elm_toolbar_selected_item_set() for details.
14700     * @see elm_toolbar_item_selected_get()
14701     *
14702     * @ingroup Toolbar
14703     */
14704    EAPI Eina_Bool               elm_toolbar_item_selected_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14705
14706    /**
14707     * Set the selected state of an item.
14708     *
14709     * @param item The toolbar item
14710     * @param selected The selected state
14711     *
14712     * This sets the selected state of the given item @p it.
14713     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
14714     *
14715     * If a new item is selected the previosly selected will be unselected.
14716     * Previoulsy selected item can be get with function
14717     * elm_toolbar_selected_item_get().
14718     *
14719     * Selected items will be highlighted.
14720     *
14721     * @see elm_toolbar_item_selected_get()
14722     * @see elm_toolbar_selected_item_get()
14723     *
14724     * @ingroup Toolbar
14725     */
14726    EAPI void                    elm_toolbar_item_selected_set(Elm_Toolbar_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
14727
14728    /**
14729     * Get the selected item.
14730     *
14731     * @param obj The toolbar object.
14732     * @return The selected toolbar item.
14733     *
14734     * The selected item can be unselected with function
14735     * elm_toolbar_item_selected_set().
14736     *
14737     * The selected item always will be highlighted on toolbar.
14738     *
14739     * @see elm_toolbar_selected_items_get()
14740     *
14741     * @ingroup Toolbar
14742     */
14743    EAPI Elm_Toolbar_Item       *elm_toolbar_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14744
14745    /**
14746     * Set the icon associated with @p item.
14747     *
14748     * @param obj The parent of this item.
14749     * @param item The toolbar item.
14750     * @param icon A string with icon name or the absolute path of an image file.
14751     *
14752     * Toolbar will load icon image from fdo or current theme.
14753     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14754     * If an absolute path is provided it will load it direct from a file.
14755     *
14756     * @see elm_toolbar_icon_order_lookup_set()
14757     * @see elm_toolbar_icon_order_lookup_get()
14758     *
14759     * @ingroup Toolbar
14760     */
14761    EAPI void                    elm_toolbar_item_icon_set(Elm_Toolbar_Item *item, const char *icon) EINA_ARG_NONNULL(1);
14762
14763    /**
14764     * Get the string used to set the icon of @p item.
14765     *
14766     * @param item The toolbar item.
14767     * @return The string associated with the icon object.
14768     *
14769     * @see elm_toolbar_item_icon_set() for details.
14770     *
14771     * @ingroup Toolbar
14772     */
14773    EAPI const char             *elm_toolbar_item_icon_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14774
14775    /**
14776     * Get the object of @p item.
14777     *
14778     * @param item The toolbar item.
14779     * @return The object
14780     *
14781     * @ingroup Toolbar
14782     */
14783    EAPI Evas_Object            *elm_toolbar_item_object_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14784
14785    /**
14786     * Get the icon object of @p item.
14787     *
14788     * @param item The toolbar item.
14789     * @return The icon object
14790     *
14791     * @see elm_toolbar_item_icon_set() or elm_toolbar_item_icon_memfile_set() for details.
14792     *
14793     * @ingroup Toolbar
14794     */
14795    EAPI Evas_Object            *elm_toolbar_item_icon_object_get(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14796
14797    /**
14798     * Set the icon associated with @p item to an image in a binary buffer.
14799     *
14800     * @param item The toolbar item.
14801     * @param img The binary data that will be used as an image
14802     * @param size The size of binary data @p img
14803     * @param format Optional format of @p img to pass to the image loader
14804     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
14805     *
14806     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
14807     *
14808     * @note The icon image set by this function can be changed by
14809     * elm_toolbar_item_icon_set().
14810     * 
14811     * @ingroup Toolbar
14812     */
14813    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);
14814
14815    /**
14816     * Delete them item from the toolbar.
14817     *
14818     * @param item The item of toolbar to be deleted.
14819     *
14820     * @see elm_toolbar_item_append()
14821     * @see elm_toolbar_item_del_cb_set()
14822     *
14823     * @ingroup Toolbar
14824     */
14825    EAPI void                    elm_toolbar_item_del(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14826
14827    /**
14828     * Set the function called when a toolbar item is freed.
14829     *
14830     * @param item The item to set the callback on.
14831     * @param func The function called.
14832     *
14833     * If there is a @p func, then it will be called prior item's memory release.
14834     * That will be called with the following arguments:
14835     * @li item's data;
14836     * @li item's Evas object;
14837     * @li item itself;
14838     *
14839     * This way, a data associated to a toolbar item could be properly freed.
14840     *
14841     * @ingroup Toolbar
14842     */
14843    EAPI void                    elm_toolbar_item_del_cb_set(Elm_Toolbar_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
14844
14845    /**
14846     * Get a value whether toolbar item is disabled or not.
14847     *
14848     * @param item The item.
14849     * @return The disabled state.
14850     *
14851     * @see elm_toolbar_item_disabled_set() for more details.
14852     *
14853     * @ingroup Toolbar
14854     */
14855    EAPI Eina_Bool               elm_toolbar_item_disabled_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14856
14857    /**
14858     * Sets the disabled/enabled state of a toolbar item.
14859     *
14860     * @param item The item.
14861     * @param disabled The disabled state.
14862     *
14863     * A disabled item cannot be selected or unselected. It will also
14864     * change its appearance (generally greyed out). This sets the
14865     * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
14866     * enabled).
14867     *
14868     * @ingroup Toolbar
14869     */
14870    EAPI void                    elm_toolbar_item_disabled_set(Elm_Toolbar_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
14871
14872    /**
14873     * Set or unset item as a separator.
14874     *
14875     * @param item The toolbar item.
14876     * @param setting @c EINA_TRUE to set item @p item as separator or
14877     * @c EINA_FALSE to unset, i.e., item will be used as a regular item.
14878     *
14879     * Items aren't set as separator by default.
14880     *
14881     * If set as separator it will display separator theme, so won't display
14882     * icons or label.
14883     *
14884     * @see elm_toolbar_item_separator_get()
14885     *
14886     * @ingroup Toolbar
14887     */
14888    EAPI void                    elm_toolbar_item_separator_set(Elm_Toolbar_Item *item, Eina_Bool separator) EINA_ARG_NONNULL(1);
14889
14890    /**
14891     * Get a value whether item is a separator or not.
14892     *
14893     * @param item The toolbar item.
14894     * @return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
14895     * indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
14896     *
14897     * @see elm_toolbar_item_separator_set() for details.
14898     *
14899     * @ingroup Toolbar
14900     */
14901    EAPI Eina_Bool               elm_toolbar_item_separator_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14902
14903    /**
14904     * Set the shrink state of toolbar @p obj.
14905     *
14906     * @param obj The toolbar object.
14907     * @param shrink_mode Toolbar's items display behavior.
14908     *
14909     * The toolbar won't scroll if #ELM_TOOLBAR_SHRINK_NONE,
14910     * but will enforce a minimun size so all the items will fit, won't scroll
14911     * and won't show the items that don't fit if #ELM_TOOLBAR_SHRINK_HIDE,
14912     * will scroll if #ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to
14913     * pop up excess elements with #ELM_TOOLBAR_SHRINK_MENU.
14914     *
14915     * @ingroup Toolbar
14916     */
14917    EAPI void                    elm_toolbar_mode_shrink_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode) EINA_ARG_NONNULL(1);
14918
14919    /**
14920     * Get the shrink mode of toolbar @p obj.
14921     *
14922     * @param obj The toolbar object.
14923     * @return Toolbar's items display behavior.
14924     *
14925     * @see elm_toolbar_mode_shrink_set() for details.
14926     *
14927     * @ingroup Toolbar
14928     */
14929    EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_mode_shrink_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14930
14931    /**
14932     * Enable/disable homogenous mode.
14933     *
14934     * @param obj The toolbar object
14935     * @param homogeneous Assume the items within the toolbar are of the
14936     * same size (EINA_TRUE = on, EINA_FALSE = off). Default is @c EINA_FALSE.
14937     *
14938     * This will enable the homogeneous mode where items are of the same size.
14939     * @see elm_toolbar_homogeneous_get()
14940     *
14941     * @ingroup Toolbar
14942     */
14943    EAPI void                    elm_toolbar_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
14944
14945    /**
14946     * Get whether the homogenous mode is enabled.
14947     *
14948     * @param obj The toolbar object.
14949     * @return Assume the items within the toolbar are of the same height
14950     * and width (EINA_TRUE = on, EINA_FALSE = off).
14951     *
14952     * @see elm_toolbar_homogeneous_set()
14953     *
14954     * @ingroup Toolbar
14955     */
14956    EAPI Eina_Bool               elm_toolbar_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14957
14958    /**
14959     * Enable/disable homogenous mode.
14960     *
14961     * @param obj The toolbar object
14962     * @param homogeneous Assume the items within the toolbar are of the
14963     * same size (EINA_TRUE = on, EINA_FALSE = off). Default is @c EINA_FALSE.
14964     *
14965     * This will enable the homogeneous mode where items are of the same size.
14966     * @see elm_toolbar_homogeneous_get()
14967     *
14968     * @deprecated use elm_toolbar_homogeneous_set() instead.
14969     *
14970     * @ingroup Toolbar
14971     */
14972    EINA_DEPRECATED EAPI void    elm_toolbar_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
14973
14974    /**
14975     * Get whether the homogenous mode is enabled.
14976     *
14977     * @param obj The toolbar object.
14978     * @return Assume the items within the toolbar are of the same height
14979     * and width (EINA_TRUE = on, EINA_FALSE = off).
14980     *
14981     * @see elm_toolbar_homogeneous_set()
14982     * @deprecated use elm_toolbar_homogeneous_get() instead.
14983     *
14984     * @ingroup Toolbar
14985     */
14986    EINA_DEPRECATED EAPI Eina_Bool elm_toolbar_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14987
14988    /**
14989     * Set the parent object of the toolbar items' menus.
14990     *
14991     * @param obj The toolbar object.
14992     * @param parent The parent of the menu objects.
14993     *
14994     * Each item can be set as item menu, with elm_toolbar_item_menu_set().
14995     *
14996     * For more details about setting the parent for toolbar menus, see
14997     * elm_menu_parent_set().
14998     *
14999     * @see elm_menu_parent_set() for details.
15000     * @see elm_toolbar_item_menu_set() for details.
15001     *
15002     * @ingroup Toolbar
15003     */
15004    EAPI void                    elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
15005
15006    /**
15007     * Get the parent object of the toolbar items' menus.
15008     *
15009     * @param obj The toolbar object.
15010     * @return The parent of the menu objects.
15011     *
15012     * @see elm_toolbar_menu_parent_set() for details.
15013     *
15014     * @ingroup Toolbar
15015     */
15016    EAPI Evas_Object            *elm_toolbar_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15017
15018    /**
15019     * Set the alignment of the items.
15020     *
15021     * @param obj The toolbar object.
15022     * @param align The new alignment, a float between <tt> 0.0 </tt>
15023     * and <tt> 1.0 </tt>.
15024     *
15025     * Alignment of toolbar items, from <tt> 0.0 </tt> to indicates to align
15026     * left, to <tt> 1.0 </tt>, to align to right. <tt> 0.5 </tt> centralize
15027     * items.
15028     *
15029     * Centered items by default.
15030     *
15031     * @see elm_toolbar_align_get()
15032     *
15033     * @ingroup Toolbar
15034     */
15035    EAPI void                    elm_toolbar_align_set(Evas_Object *obj, double align) EINA_ARG_NONNULL(1);
15036
15037    /**
15038     * Get the alignment of the items.
15039     *
15040     * @param obj The toolbar object.
15041     * @return toolbar items alignment, a float between <tt> 0.0 </tt> and
15042     * <tt> 1.0 </tt>.
15043     *
15044     * @see elm_toolbar_align_set() for details.
15045     *
15046     * @ingroup Toolbar
15047     */
15048    EAPI double                  elm_toolbar_align_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15049
15050    /**
15051     * Set whether the toolbar item opens a menu.
15052     *
15053     * @param item The toolbar item.
15054     * @param menu If @c EINA_TRUE, @p item will opens a menu when selected.
15055     *
15056     * A toolbar item can be set to be a menu, using this function.
15057     *
15058     * Once it is set to be a menu, it can be manipulated through the
15059     * menu-like function elm_toolbar_menu_parent_set() and the other
15060     * elm_menu functions, using the Evas_Object @c menu returned by
15061     * elm_toolbar_item_menu_get().
15062     *
15063     * So, items to be displayed in this item's menu should be added with
15064     * elm_menu_item_add().
15065     *
15066     * The following code exemplifies the most basic usage:
15067     * @code
15068     * tb = elm_toolbar_add(win)
15069     * item = elm_toolbar_item_append(tb, "refresh", "Menu", NULL, NULL);
15070     * elm_toolbar_item_menu_set(item, EINA_TRUE);
15071     * elm_toolbar_menu_parent_set(tb, win);
15072     * menu = elm_toolbar_item_menu_get(item);
15073     * elm_menu_item_add(menu, NULL, "edit-cut", "Cut", NULL, NULL);
15074     * menu_item = elm_menu_item_add(menu, NULL, "edit-copy", "Copy", NULL,
15075     * NULL);
15076     * @endcode
15077     *
15078     * @see elm_toolbar_item_menu_get()
15079     *
15080     * @ingroup Toolbar
15081     */
15082    EAPI void                    elm_toolbar_item_menu_set(Elm_Toolbar_Item *item, Eina_Bool menu) EINA_ARG_NONNULL(1);
15083
15084    /**
15085     * Get toolbar item's menu.
15086     *
15087     * @param item The toolbar item.
15088     * @return Item's menu object or @c NULL on failure.
15089     *
15090     * If @p item wasn't set as menu item with elm_toolbar_item_menu_set(),
15091     * this function will set it.
15092     *
15093     * @see elm_toolbar_item_menu_set() for details.
15094     *
15095     * @ingroup Toolbar
15096     */
15097    EAPI Evas_Object            *elm_toolbar_item_menu_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15098
15099    /**
15100     * Add a new state to @p item.
15101     *
15102     * @param item The item.
15103     * @param icon A string with icon name or the absolute path of an image file.
15104     * @param label The label of the new state.
15105     * @param func The function to call when the item is clicked when this
15106     * state is selected.
15107     * @param data The data to associate with the state.
15108     * @return The toolbar item state, or @c NULL upon failure.
15109     *
15110     * Toolbar will load icon image from fdo or current theme.
15111     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
15112     * If an absolute path is provided it will load it direct from a file.
15113     *
15114     * States created with this function can be removed with
15115     * elm_toolbar_item_state_del().
15116     *
15117     * @see elm_toolbar_item_state_del()
15118     * @see elm_toolbar_item_state_sel()
15119     * @see elm_toolbar_item_state_get()
15120     *
15121     * @ingroup Toolbar
15122     */
15123    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);
15124
15125    /**
15126     * Delete a previoulsy added state to @p item.
15127     *
15128     * @param item The toolbar item.
15129     * @param state The state to be deleted.
15130     * @return @c EINA_TRUE on success or @c EINA_FALSE on failure.
15131     *
15132     * @see elm_toolbar_item_state_add()
15133     */
15134    EAPI Eina_Bool               elm_toolbar_item_state_del(Elm_Toolbar_Item *item, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
15135
15136    /**
15137     * Set @p state as the current state of @p it.
15138     *
15139     * @param it The item.
15140     * @param state The state to use.
15141     * @return @c EINA_TRUE on success or @c EINA_FALSE on failure.
15142     *
15143     * If @p state is @c NULL, it won't select any state and the default item's
15144     * icon and label will be used. It's the same behaviour than
15145     * elm_toolbar_item_state_unser().
15146     *
15147     * @see elm_toolbar_item_state_unset()
15148     *
15149     * @ingroup Toolbar
15150     */
15151    EAPI Eina_Bool               elm_toolbar_item_state_set(Elm_Toolbar_Item *it, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
15152
15153    /**
15154     * Unset the state of @p it.
15155     *
15156     * @param it The item.
15157     *
15158     * The default icon and label from this item will be displayed.
15159     *
15160     * @see elm_toolbar_item_state_set() for more details.
15161     *
15162     * @ingroup Toolbar
15163     */
15164    EAPI void                    elm_toolbar_item_state_unset(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15165
15166    /**
15167     * Get the current state of @p it.
15168     *
15169     * @param item The item.
15170     * @return The selected state or @c NULL if none is selected or on failure.
15171     *
15172     * @see elm_toolbar_item_state_set() for details.
15173     * @see elm_toolbar_item_state_unset()
15174     * @see elm_toolbar_item_state_add()
15175     *
15176     * @ingroup Toolbar
15177     */
15178    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_get(const Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15179
15180    /**
15181     * Get the state after selected state in toolbar's @p item.
15182     *
15183     * @param it The toolbar item to change state.
15184     * @return The state after current state, or @c NULL on failure.
15185     *
15186     * If last state is selected, this function will return first state.
15187     *
15188     * @see elm_toolbar_item_state_set()
15189     * @see elm_toolbar_item_state_add()
15190     *
15191     * @ingroup Toolbar
15192     */
15193    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_next(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15194
15195    /**
15196     * Get the state before selected state in toolbar's @p item.
15197     *
15198     * @param it The toolbar item to change state.
15199     * @return The state before current state, or @c NULL on failure.
15200     *
15201     * If first state is selected, this function will return last state.
15202     *
15203     * @see elm_toolbar_item_state_set()
15204     * @see elm_toolbar_item_state_add()
15205     *
15206     * @ingroup Toolbar
15207     */
15208    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_prev(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15209
15210    /**
15211     * Set the text to be shown in a given toolbar item's tooltips.
15212     *
15213     * @param item Target item.
15214     * @param text The text to set in the content.
15215     *
15216     * Setup the text as tooltip to object. The item can have only one tooltip,
15217     * so any previous tooltip data - set with this function or
15218     * elm_toolbar_item_tooltip_content_cb_set() - is removed.
15219     *
15220     * @see elm_object_tooltip_text_set() for more details.
15221     *
15222     * @ingroup Toolbar
15223     */
15224    EAPI void             elm_toolbar_item_tooltip_text_set(Elm_Toolbar_Item *item, const char *text) EINA_ARG_NONNULL(1);
15225
15226    /**
15227     * Set the content to be shown in the tooltip item.
15228     *
15229     * Setup the tooltip to item. The item can have only one tooltip,
15230     * so any previous tooltip data is removed. @p func(with @p data) will
15231     * be called every time that need show the tooltip and it should
15232     * return a valid Evas_Object. This object is then managed fully by
15233     * tooltip system and is deleted when the tooltip is gone.
15234     *
15235     * @param item the toolbar item being attached a tooltip.
15236     * @param func the function used to create the tooltip contents.
15237     * @param data what to provide to @a func as callback data/context.
15238     * @param del_cb called when data is not needed anymore, either when
15239     *        another callback replaces @a func, the tooltip is unset with
15240     *        elm_toolbar_item_tooltip_unset() or the owner @a item
15241     *        dies. This callback receives as the first parameter the
15242     *        given @a data, and @c event_info is the item.
15243     *
15244     * @see elm_object_tooltip_content_cb_set() for more details.
15245     *
15246     * @ingroup Toolbar
15247     */
15248    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);
15249
15250    /**
15251     * Unset tooltip from item.
15252     *
15253     * @param item toolbar item to remove previously set tooltip.
15254     *
15255     * Remove tooltip from item. The callback provided as del_cb to
15256     * elm_toolbar_item_tooltip_content_cb_set() will be called to notify
15257     * it is not used anymore.
15258     *
15259     * @see elm_object_tooltip_unset() for more details.
15260     * @see elm_toolbar_item_tooltip_content_cb_set()
15261     *
15262     * @ingroup Toolbar
15263     */
15264    EAPI void             elm_toolbar_item_tooltip_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15265
15266    /**
15267     * Sets a different style for this item tooltip.
15268     *
15269     * @note before you set a style you should define a tooltip with
15270     *       elm_toolbar_item_tooltip_content_cb_set() or
15271     *       elm_toolbar_item_tooltip_text_set()
15272     *
15273     * @param item toolbar item with tooltip already set.
15274     * @param style the theme style to use (default, transparent, ...)
15275     *
15276     * @see elm_object_tooltip_style_set() for more details.
15277     *
15278     * @ingroup Toolbar
15279     */
15280    EAPI void             elm_toolbar_item_tooltip_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
15281
15282    /**
15283     * Get the style for this item tooltip.
15284     *
15285     * @param item toolbar item with tooltip already set.
15286     * @return style the theme style in use, defaults to "default". If the
15287     *         object does not have a tooltip set, then NULL is returned.
15288     *
15289     * @see elm_object_tooltip_style_get() for more details.
15290     * @see elm_toolbar_item_tooltip_style_set()
15291     *
15292     * @ingroup Toolbar
15293     */
15294    EAPI const char      *elm_toolbar_item_tooltip_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15295
15296    /**
15297     * Set the type of mouse pointer/cursor decoration to be shown,
15298     * when the mouse pointer is over the given toolbar widget item
15299     *
15300     * @param item toolbar item to customize cursor on
15301     * @param cursor the cursor type's name
15302     *
15303     * This function works analogously as elm_object_cursor_set(), but
15304     * here the cursor's changing area is restricted to the item's
15305     * area, and not the whole widget's. Note that that item cursors
15306     * have precedence over widget cursors, so that a mouse over an
15307     * item with custom cursor set will always show @b that cursor.
15308     *
15309     * If this function is called twice for an object, a previously set
15310     * cursor will be unset on the second call.
15311     *
15312     * @see elm_object_cursor_set()
15313     * @see elm_toolbar_item_cursor_get()
15314     * @see elm_toolbar_item_cursor_unset()
15315     *
15316     * @ingroup Toolbar
15317     */
15318    EAPI void             elm_toolbar_item_cursor_set(Elm_Toolbar_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
15319
15320    /*
15321     * Get the type of mouse pointer/cursor decoration set to be shown,
15322     * when the mouse pointer is over the given toolbar widget item
15323     *
15324     * @param item toolbar item with custom cursor set
15325     * @return the cursor type's name or @c NULL, if no custom cursors
15326     * were set to @p item (and on errors)
15327     *
15328     * @see elm_object_cursor_get()
15329     * @see elm_toolbar_item_cursor_set()
15330     * @see elm_toolbar_item_cursor_unset()
15331     *
15332     * @ingroup Toolbar
15333     */
15334    EAPI const char      *elm_toolbar_item_cursor_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15335
15336    /**
15337     * Unset any custom mouse pointer/cursor decoration set to be
15338     * shown, when the mouse pointer is over the given toolbar widget
15339     * item, thus making it show the @b default cursor again.
15340     *
15341     * @param item a toolbar item
15342     *
15343     * Use this call to undo any custom settings on this item's cursor
15344     * decoration, bringing it back to defaults (no custom style set).
15345     *
15346     * @see elm_object_cursor_unset()
15347     * @see elm_toolbar_item_cursor_set()
15348     *
15349     * @ingroup Toolbar
15350     */
15351    EAPI void             elm_toolbar_item_cursor_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15352
15353    /**
15354     * Set a different @b style for a given custom cursor set for a
15355     * toolbar item.
15356     *
15357     * @param item toolbar item with custom cursor set
15358     * @param style the <b>theme style</b> to use (e.g. @c "default",
15359     * @c "transparent", etc)
15360     *
15361     * This function only makes sense when one is using custom mouse
15362     * cursor decorations <b>defined in a theme file</b>, which can have,
15363     * given a cursor name/type, <b>alternate styles</b> on it. It
15364     * works analogously as elm_object_cursor_style_set(), but here
15365     * applyed only to toolbar item objects.
15366     *
15367     * @warning Before you set a cursor style you should have definen a
15368     *       custom cursor previously on the item, with
15369     *       elm_toolbar_item_cursor_set()
15370     *
15371     * @see elm_toolbar_item_cursor_engine_only_set()
15372     * @see elm_toolbar_item_cursor_style_get()
15373     *
15374     * @ingroup Toolbar
15375     */
15376    EAPI void             elm_toolbar_item_cursor_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
15377
15378    /**
15379     * Get the current @b style set for a given toolbar item's custom
15380     * cursor
15381     *
15382     * @param item toolbar item with custom cursor set.
15383     * @return style the cursor style in use. If the object does not
15384     *         have a cursor set, then @c NULL is returned.
15385     *
15386     * @see elm_toolbar_item_cursor_style_set() for more details
15387     *
15388     * @ingroup Toolbar
15389     */
15390    EAPI const char      *elm_toolbar_item_cursor_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15391
15392    /**
15393     * Set if the (custom)cursor for a given toolbar item should be
15394     * searched in its theme, also, or should only rely on the
15395     * rendering engine.
15396     *
15397     * @param item item with custom (custom) cursor already set on
15398     * @param engine_only Use @c EINA_TRUE to have cursors looked for
15399     * only on those provided by the rendering engine, @c EINA_FALSE to
15400     * have them searched on the widget's theme, as well.
15401     *
15402     * @note This call is of use only if you've set a custom cursor
15403     * for toolbar items, with elm_toolbar_item_cursor_set().
15404     *
15405     * @note By default, cursors will only be looked for between those
15406     * provided by the rendering engine.
15407     *
15408     * @ingroup Toolbar
15409     */
15410    EAPI void             elm_toolbar_item_cursor_engine_only_set(Elm_Toolbar_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
15411
15412    /**
15413     * Get if the (custom) cursor for a given toolbar item is being
15414     * searched in its theme, also, or is only relying on the rendering
15415     * engine.
15416     *
15417     * @param item a toolbar item
15418     * @return @c EINA_TRUE, if cursors are being looked for only on
15419     * those provided by the rendering engine, @c EINA_FALSE if they
15420     * are being searched on the widget's theme, as well.
15421     *
15422     * @see elm_toolbar_item_cursor_engine_only_set(), for more details
15423     *
15424     * @ingroup Toolbar
15425     */
15426    EAPI Eina_Bool        elm_toolbar_item_cursor_engine_only_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15427
15428    /**
15429     * Change a toolbar's orientation
15430     * @param obj The toolbar object
15431     * @param vertical If @c EINA_TRUE, the toolbar is vertical
15432     * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
15433     * @ingroup Toolbar
15434     */
15435    EAPI void             elm_toolbar_orientation_set(Evas_Object *obj, Eina_Bool vertical) EINA_ARG_NONNULL(1);
15436
15437    /**
15438     * Get a toolbar's orientation
15439     * @param obj The toolbar object
15440     * @return If @c EINA_TRUE, the toolbar is vertical
15441     * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
15442     * @ingroup Toolbar
15443     */
15444    EAPI Eina_Bool        elm_toolbar_orientation_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
15445
15446    /**
15447     * @}
15448     */
15449
15450    /**
15451     * @defgroup Tooltips Tooltips
15452     *
15453     * The Tooltip is an (internal, for now) smart object used to show a
15454     * content in a frame on mouse hover of objects(or widgets), with
15455     * tips/information about them.
15456     *
15457     * @{
15458     */
15459
15460    EAPI double       elm_tooltip_delay_get(void);
15461    EAPI Eina_Bool    elm_tooltip_delay_set(double delay);
15462    EAPI void         elm_object_tooltip_show(Evas_Object *obj) EINA_ARG_NONNULL(1);
15463    EAPI void         elm_object_tooltip_hide(Evas_Object *obj) EINA_ARG_NONNULL(1);
15464    EAPI void         elm_object_tooltip_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1, 2);
15465    EAPI void         elm_object_tooltip_domain_translatable_text_set(Evas_Object *obj, const char *domain, const char *text) EINA_ARG_NONNULL(1, 3);
15466 #define elm_object_tooltip_translatable_text_set(obj, text) elm_object_tooltip_domain_translatable_text_set((obj), NULL, (text))
15467    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);
15468    EAPI void         elm_object_tooltip_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15469    EAPI void         elm_object_tooltip_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
15470    EAPI const char  *elm_object_tooltip_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15471    EAPI Eina_Bool    elm_tooltip_size_restrict_disable(Evas_Object *obj, Eina_Bool disable); EINA_ARG_NONNULL(1);
15472    EAPI Eina_Bool    elm_tooltip_size_restrict_disabled_get(const Evas_Object *obj); EINA_ARG_NONNULL(1);
15473
15474    /**
15475     * @}
15476     */
15477
15478    /**
15479     * @defgroup Cursors Cursors
15480     *
15481     * The Elementary cursor is an internal smart object used to
15482     * customize the mouse cursor displayed over objects (or
15483     * widgets). In the most common scenario, the cursor decoration
15484     * comes from the graphical @b engine Elementary is running
15485     * on. Those engines may provide different decorations for cursors,
15486     * and Elementary provides functions to choose them (think of X11
15487     * cursors, as an example).
15488     *
15489     * There's also the possibility of, besides using engine provided
15490     * cursors, also use ones coming from Edje theming files. Both
15491     * globally and per widget, Elementary makes it possible for one to
15492     * make the cursors lookup to be held on engines only or on
15493     * Elementary's theme file, too.
15494     *
15495     * @{
15496     */
15497
15498    /**
15499     * Set the cursor to be shown when mouse is over the object
15500     *
15501     * Set the cursor that will be displayed when mouse is over the
15502     * object. The object can have only one cursor set to it, so if
15503     * this function is called twice for an object, the previous set
15504     * will be unset.
15505     * If using X cursors, a definition of all the valid cursor names
15506     * is listed on Elementary_Cursors.h. If an invalid name is set
15507     * the default cursor will be used.
15508     *
15509     * @param obj the object being set a cursor.
15510     * @param cursor the cursor name to be used.
15511     *
15512     * @ingroup Cursors
15513     */
15514    EAPI void         elm_object_cursor_set(Evas_Object *obj, const char *cursor) EINA_ARG_NONNULL(1);
15515
15516    /**
15517     * Get the cursor to be shown when mouse is over the object
15518     *
15519     * @param obj an object with cursor already set.
15520     * @return the cursor name.
15521     *
15522     * @ingroup Cursors
15523     */
15524    EAPI const char  *elm_object_cursor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15525
15526    /**
15527     * Unset cursor for object
15528     *
15529     * Unset cursor for object, and set the cursor to default if the mouse
15530     * was over this object.
15531     *
15532     * @param obj Target object
15533     * @see elm_object_cursor_set()
15534     *
15535     * @ingroup Cursors
15536     */
15537    EAPI void         elm_object_cursor_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15538
15539    /**
15540     * Sets a different style for this object cursor.
15541     *
15542     * @note before you set a style you should define a cursor with
15543     *       elm_object_cursor_set()
15544     *
15545     * @param obj an object with cursor already set.
15546     * @param style the theme style to use (default, transparent, ...)
15547     *
15548     * @ingroup Cursors
15549     */
15550    EAPI void         elm_object_cursor_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
15551
15552    /**
15553     * Get the style for this object cursor.
15554     *
15555     * @param obj an object with cursor already set.
15556     * @return style the theme style in use, defaults to "default". If the
15557     *         object does not have a cursor set, then NULL is returned.
15558     *
15559     * @ingroup Cursors
15560     */
15561    EAPI const char  *elm_object_cursor_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15562
15563    /**
15564     * Set if the cursor set should be searched on the theme or should use
15565     * the provided by the engine, only.
15566     *
15567     * @note before you set if should look on theme you should define a cursor
15568     * with elm_object_cursor_set(). By default it will only look for cursors
15569     * provided by the engine.
15570     *
15571     * @param obj an object with cursor already set.
15572     * @param engine_only boolean to define it cursors should be looked only
15573     * between the provided by the engine or searched on widget's theme as well.
15574     *
15575     * @ingroup Cursors
15576     */
15577    EAPI void         elm_object_cursor_engine_only_set(Evas_Object *obj, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
15578
15579    /**
15580     * Get the cursor engine only usage for this object cursor.
15581     *
15582     * @param obj an object with cursor already set.
15583     * @return engine_only boolean to define it cursors should be
15584     * looked only between the provided by the engine or searched on
15585     * widget's theme as well. If the object does not have a cursor
15586     * set, then EINA_FALSE is returned.
15587     *
15588     * @ingroup Cursors
15589     */
15590    EAPI Eina_Bool    elm_object_cursor_engine_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15591
15592    /**
15593     * Get the configured cursor engine only usage
15594     *
15595     * This gets the globally configured exclusive usage of engine cursors.
15596     *
15597     * @return 1 if only engine cursors should be used
15598     * @ingroup Cursors
15599     */
15600    EAPI int          elm_cursor_engine_only_get(void);
15601
15602    /**
15603     * Set the configured cursor engine only usage
15604     *
15605     * This sets the globally configured exclusive usage of engine cursors.
15606     * It won't affect cursors set before changing this value.
15607     *
15608     * @param engine_only If 1 only engine cursors will be enabled, if 0 will
15609     * look for them on theme before.
15610     * @return EINA_TRUE if value is valid and setted (0 or 1)
15611     * @ingroup Cursors
15612     */
15613    EAPI Eina_Bool    elm_cursor_engine_only_set(int engine_only);
15614
15615    /**
15616     * @}
15617     */
15618
15619    /**
15620     * @defgroup Menu Menu
15621     *
15622     * @image html img/widget/menu/preview-00.png
15623     * @image latex img/widget/menu/preview-00.eps
15624     *
15625     * A menu is a list of items displayed above its parent. When the menu is
15626     * showing its parent is darkened. Each item can have a sub-menu. The menu
15627     * object can be used to display a menu on a right click event, in a toolbar,
15628     * anywhere.
15629     *
15630     * Signals that you can add callbacks for are:
15631     * @li "clicked" - the user clicked the empty space in the menu to dismiss.
15632     *             event_info is NULL.
15633     *
15634     * @see @ref tutorial_menu
15635     * @{
15636     */
15637    typedef struct _Elm_Menu_Item Elm_Menu_Item; /**< Item of Elm_Menu. Sub-type of Elm_Widget_Item */
15638    /**
15639     * @brief Add a new menu to the parent
15640     *
15641     * @param parent The parent object.
15642     * @return The new object or NULL if it cannot be created.
15643     */
15644    EAPI Evas_Object       *elm_menu_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15645    /**
15646     * @brief Set the parent for the given menu widget
15647     *
15648     * @param obj The menu object.
15649     * @param parent The new parent.
15650     */
15651    EAPI void               elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
15652    /**
15653     * @brief Get the parent for the given menu widget
15654     *
15655     * @param obj The menu object.
15656     * @return The parent.
15657     *
15658     * @see elm_menu_parent_set()
15659     */
15660    EAPI Evas_Object       *elm_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15661    /**
15662     * @brief Move the menu to a new position
15663     *
15664     * @param obj The menu object.
15665     * @param x The new position.
15666     * @param y The new position.
15667     *
15668     * Sets the top-left position of the menu to (@p x,@p y).
15669     *
15670     * @note @p x and @p y coordinates are relative to parent.
15671     */
15672    EAPI void               elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
15673    /**
15674     * @brief Close a opened menu
15675     *
15676     * @param obj the menu object
15677     * @return void
15678     *
15679     * Hides the menu and all it's sub-menus.
15680     */
15681    EAPI void               elm_menu_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
15682    /**
15683     * @brief Returns a list of @p item's items.
15684     *
15685     * @param obj The menu object
15686     * @return An Eina_List* of @p item's items
15687     */
15688    EAPI const Eina_List   *elm_menu_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15689    /**
15690     * @brief Get the Evas_Object of an Elm_Menu_Item
15691     *
15692     * @param item The menu item object.
15693     * @return The edje object containing the swallowed content
15694     *
15695     * @warning Don't manipulate this object!
15696     */
15697    EAPI Evas_Object       *elm_menu_item_object_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
15698    /**
15699     * @brief Add an item at the end of the given menu widget
15700     *
15701     * @param obj The menu object.
15702     * @param parent The parent menu item (optional)
15703     * @param icon A icon display on the item. The icon will be destryed by the menu.
15704     * @param label The label of the item.
15705     * @param func Function called when the user select the item.
15706     * @param data Data sent by the callback.
15707     * @return Returns the new item.
15708     */
15709    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);
15710    /**
15711     * @brief Add an object swallowed in an item at the end of the given menu
15712     * widget
15713     *
15714     * @param obj The menu object.
15715     * @param parent The parent menu item (optional)
15716     * @param subobj The object to swallow
15717     * @param func Function called when the user select the item.
15718     * @param data Data sent by the callback.
15719     * @return Returns the new item.
15720     *
15721     * Add an evas object as an item to the menu.
15722     */
15723    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);
15724    /**
15725     * @brief Set the label of a menu item
15726     *
15727     * @param item The menu item object.
15728     * @param label The label to set for @p item
15729     *
15730     * @warning Don't use this funcion on items created with
15731     * elm_menu_item_add_object() or elm_menu_item_separator_add().
15732     */
15733    EAPI void               elm_menu_item_label_set(Elm_Menu_Item *item, const char *label) EINA_ARG_NONNULL(1);
15734    /**
15735     * @brief Get the label of a menu item
15736     *
15737     * @param item The menu item object.
15738     * @return The label of @p item
15739     */
15740    EAPI const char        *elm_menu_item_label_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15741    /**
15742     * @brief Set the icon of a menu item to the standard icon with name @p icon
15743     *
15744     * @param item The menu item object.
15745     * @param icon The icon object to set for the content of @p item
15746     *
15747     * Once this icon is set, any previously set icon will be deleted.
15748     */
15749    EAPI void               elm_menu_item_object_icon_name_set(Elm_Menu_Item *item, const char *icon) EINA_ARG_NONNULL(1, 2);
15750    /**
15751     * @brief Get the string representation from the icon of a menu item
15752     *
15753     * @param item The menu item object.
15754     * @return The string representation of @p item's icon or NULL
15755     *
15756     * @see elm_menu_item_object_icon_name_set()
15757     */
15758    EAPI const char        *elm_menu_item_object_icon_name_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15759    /**
15760     * @brief Set the content object of a menu item
15761     *
15762     * @param item The menu item object
15763     * @param The content object or NULL
15764     * @return EINA_TRUE on success, else EINA_FALSE
15765     *
15766     * Use this function to change the object swallowed by a menu item, deleting
15767     * any previously swallowed object.
15768     */
15769    EAPI Eina_Bool          elm_menu_item_object_content_set(Elm_Menu_Item *item, Evas_Object *obj) EINA_ARG_NONNULL(1);
15770    /**
15771     * @brief Get the content object of a menu item
15772     *
15773     * @param item The menu item object
15774     * @return The content object or NULL
15775     * @note If @p item was added with elm_menu_item_add_object, this
15776     * function will return the object passed, else it will return the
15777     * icon object.
15778     *
15779     * @see elm_menu_item_object_content_set()
15780     */
15781    EAPI Evas_Object *elm_menu_item_object_content_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15782    /**
15783     * @brief Set the selected state of @p item.
15784     *
15785     * @param item The menu item object.
15786     * @param selected The selected/unselected state of the item
15787     */
15788    EAPI void               elm_menu_item_selected_set(Elm_Menu_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
15789    /**
15790     * @brief Get the selected state of @p item.
15791     *
15792     * @param item The menu item object.
15793     * @return The selected/unselected state of the item
15794     *
15795     * @see elm_menu_item_selected_set()
15796     */
15797    EAPI Eina_Bool          elm_menu_item_selected_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15798    /**
15799     * @brief Set the disabled state of @p item.
15800     *
15801     * @param item The menu item object.
15802     * @param disabled The enabled/disabled state of the item
15803     */
15804    EAPI void               elm_menu_item_disabled_set(Elm_Menu_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
15805    /**
15806     * @brief Get the disabled state of @p item.
15807     *
15808     * @param item The menu item object.
15809     * @return The enabled/disabled state of the item
15810     *
15811     * @see elm_menu_item_disabled_set()
15812     */
15813    EAPI Eina_Bool          elm_menu_item_disabled_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15814    /**
15815     * @brief Add a separator item to menu @p obj under @p parent.
15816     *
15817     * @param obj The menu object
15818     * @param parent The item to add the separator under
15819     * @return The created item or NULL on failure
15820     *
15821     * This is item is a @ref Separator.
15822     */
15823    EAPI Elm_Menu_Item     *elm_menu_item_separator_add(Evas_Object *obj, Elm_Menu_Item *parent) EINA_ARG_NONNULL(1);
15824    /**
15825     * @brief Returns whether @p item is a separator.
15826     *
15827     * @param item The item to check
15828     * @return If true, @p item is a separator
15829     *
15830     * @see elm_menu_item_separator_add()
15831     */
15832    EAPI Eina_Bool          elm_menu_item_is_separator(Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15833    /**
15834     * @brief Deletes an item from the menu.
15835     *
15836     * @param item The item to delete.
15837     *
15838     * @see elm_menu_item_add()
15839     */
15840    EAPI void               elm_menu_item_del(Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15841    /**
15842     * @brief Set the function called when a menu item is deleted.
15843     *
15844     * @param item The item to set the callback on
15845     * @param func The function called
15846     *
15847     * @see elm_menu_item_add()
15848     * @see elm_menu_item_del()
15849     */
15850    EAPI void               elm_menu_item_del_cb_set(Elm_Menu_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
15851    /**
15852     * @brief Returns the data associated with menu item @p item.
15853     *
15854     * @param item The item
15855     * @return The data associated with @p item or NULL if none was set.
15856     *
15857     * This is the data set with elm_menu_add() or elm_menu_item_data_set().
15858     */
15859    EAPI void              *elm_menu_item_data_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
15860    /**
15861     * @brief Sets the data to be associated with menu item @p item.
15862     *
15863     * @param item The item
15864     * @param data The data to be associated with @p item
15865     */
15866    EAPI void               elm_menu_item_data_set(Elm_Menu_Item *item, const void *data) EINA_ARG_NONNULL(1);
15867    /**
15868     * @brief Returns a list of @p item's subitems.
15869     *
15870     * @param item The item
15871     * @return An Eina_List* of @p item's subitems
15872     *
15873     * @see elm_menu_add()
15874     */
15875    EAPI const Eina_List   *elm_menu_item_subitems_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
15876    /**
15877     * @brief Get the position of a menu item
15878     *
15879     * @param item The menu item
15880     * @return The item's index
15881     *
15882     * This function returns the index position of a menu item in a menu.
15883     * For a sub-menu, this number is relative to the first item in the sub-menu.
15884     *
15885     * @note Index values begin with 0
15886     */
15887    EAPI unsigned int       elm_menu_item_index_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1) EINA_PURE;
15888    /**
15889     * @brief @brief Return a menu item's owner menu
15890     *
15891     * @param item The menu item
15892     * @return The menu object owning @p item, or NULL on failure
15893     *
15894     * Use this function to get the menu object owning an item.
15895     */
15896    EAPI Evas_Object       *elm_menu_item_menu_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1) EINA_PURE;
15897    /**
15898     * @brief Get the selected item in the menu
15899     *
15900     * @param obj The menu object
15901     * @return The selected item, or NULL if none
15902     *
15903     * @see elm_menu_item_selected_get()
15904     * @see elm_menu_item_selected_set()
15905     */
15906    EAPI Elm_Menu_Item *elm_menu_selected_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
15907    /**
15908     * @brief Get the last item in the menu
15909     *
15910     * @param obj The menu object
15911     * @return The last item, or NULL if none
15912     */
15913    EAPI Elm_Menu_Item *elm_menu_last_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
15914    /**
15915     * @brief Get the first item in the menu
15916     *
15917     * @param obj The menu object
15918     * @return The first item, or NULL if none
15919     */
15920    EAPI Elm_Menu_Item *elm_menu_first_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
15921    /**
15922     * @brief Get the next item in the menu.
15923     *
15924     * @param item The menu item object.
15925     * @return The item after it, or NULL if none
15926     */
15927    EAPI Elm_Menu_Item *elm_menu_item_next_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
15928    /**
15929     * @brief Get the previous item in the menu.
15930     *
15931     * @param item The menu item object.
15932     * @return The item before it, or NULL if none
15933     */
15934    EAPI Elm_Menu_Item *elm_menu_item_prev_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
15935    /**
15936     * @}
15937     */
15938
15939    /**
15940     * @defgroup List List
15941     * @ingroup Elementary
15942     *
15943     * @image html img/widget/list/preview-00.png
15944     * @image latex img/widget/list/preview-00.eps width=\textwidth
15945     *
15946     * @image html img/list.png
15947     * @image latex img/list.eps width=\textwidth
15948     *
15949     * A list widget is a container whose children are displayed vertically or
15950     * horizontally, in order, and can be selected.
15951     * The list can accept only one or multiple items selection. Also has many
15952     * modes of items displaying.
15953     *
15954     * A list is a very simple type of list widget.  For more robust
15955     * lists, @ref Genlist should probably be used.
15956     *
15957     * Smart callbacks one can listen to:
15958     * - @c "activated" - The user has double-clicked or pressed
15959     *   (enter|return|spacebar) on an item. The @c event_info parameter
15960     *   is the item that was activated.
15961     * - @c "clicked,double" - The user has double-clicked an item.
15962     *   The @c event_info parameter is the item that was double-clicked.
15963     * - "selected" - when the user selected an item
15964     * - "unselected" - when the user unselected an item
15965     * - "longpressed" - an item in the list is long-pressed
15966     * - "edge,top" - the list is scrolled until the top edge
15967     * - "edge,bottom" - the list is scrolled until the bottom edge
15968     * - "edge,left" - the list is scrolled until the left edge
15969     * - "edge,right" - the list is scrolled until the right edge
15970     * - "language,changed" - the program's language changed
15971     *
15972     * Available styles for it:
15973     * - @c "default"
15974     *
15975     * List of examples:
15976     * @li @ref list_example_01
15977     * @li @ref list_example_02
15978     * @li @ref list_example_03
15979     */
15980
15981    /**
15982     * @addtogroup List
15983     * @{
15984     */
15985
15986    /**
15987     * @enum _Elm_List_Mode
15988     * @typedef Elm_List_Mode
15989     *
15990     * Set list's resize behavior, transverse axis scroll and
15991     * items cropping. See each mode's description for more details.
15992     *
15993     * @note Default value is #ELM_LIST_SCROLL.
15994     *
15995     * Values <b> don't </b> work as bitmask, only one can be choosen.
15996     *
15997     * @see elm_list_mode_set()
15998     * @see elm_list_mode_get()
15999     *
16000     * @ingroup List
16001     */
16002    typedef enum _Elm_List_Mode
16003      {
16004         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. */
16005         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). */
16006         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. */
16007         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. */
16008         ELM_LIST_LAST /**< Indicates error if returned by elm_list_mode_get() */
16009      } Elm_List_Mode;
16010
16011    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().  */
16012
16013    /**
16014     * Add a new list widget to the given parent Elementary
16015     * (container) object.
16016     *
16017     * @param parent The parent object.
16018     * @return a new list widget handle or @c NULL, on errors.
16019     *
16020     * This function inserts a new list widget on the canvas.
16021     *
16022     * @ingroup List
16023     */
16024    EAPI Evas_Object     *elm_list_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
16025
16026    /**
16027     * Starts the list.
16028     *
16029     * @param obj The list object
16030     *
16031     * @note Call before running show() on the list object.
16032     * @warning If not called, it won't display the list properly.
16033     *
16034     * @code
16035     * li = elm_list_add(win);
16036     * elm_list_item_append(li, "First", NULL, NULL, NULL, NULL);
16037     * elm_list_item_append(li, "Second", NULL, NULL, NULL, NULL);
16038     * elm_list_go(li);
16039     * evas_object_show(li);
16040     * @endcode
16041     *
16042     * @ingroup List
16043     */
16044    EAPI void             elm_list_go(Evas_Object *obj) EINA_ARG_NONNULL(1);
16045
16046    /**
16047     * Enable or disable multiple items selection on the list object.
16048     *
16049     * @param obj The list object
16050     * @param multi @c EINA_TRUE to enable multi selection or @c EINA_FALSE to
16051     * disable it.
16052     *
16053     * Disabled by default. If disabled, the user can select a single item of
16054     * the list each time. Selected items are highlighted on list.
16055     * If enabled, many items can be selected.
16056     *
16057     * If a selected item is selected again, it will be unselected.
16058     *
16059     * @see elm_list_multi_select_get()
16060     *
16061     * @ingroup List
16062     */
16063    EAPI void             elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
16064
16065    /**
16066     * Get a value whether multiple items selection is enabled or not.
16067     *
16068     * @see elm_list_multi_select_set() for details.
16069     *
16070     * @param obj The list object.
16071     * @return @c EINA_TRUE means multiple items selection is enabled.
16072     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
16073     * @c EINA_FALSE is returned.
16074     *
16075     * @ingroup List
16076     */
16077    EAPI Eina_Bool        elm_list_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16078
16079    /**
16080     * Set which mode to use for the list object.
16081     *
16082     * @param obj The list object
16083     * @param mode One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
16084     * #ELM_LIST_LIMIT or #ELM_LIST_EXPAND.
16085     *
16086     * Set list's resize behavior, transverse axis scroll and
16087     * items cropping. See each mode's description for more details.
16088     *
16089     * @note Default value is #ELM_LIST_SCROLL.
16090     *
16091     * Only one can be set, if a previous one was set, it will be changed
16092     * by the new mode set. Bitmask won't work as well.
16093     *
16094     * @see elm_list_mode_get()
16095     *
16096     * @ingroup List
16097     */
16098    EAPI void             elm_list_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
16099
16100    /**
16101     * Get the mode the list is at.
16102     *
16103     * @param obj The list object
16104     * @return One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
16105     * #ELM_LIST_LIMIT, #ELM_LIST_EXPAND or #ELM_LIST_LAST on errors.
16106     *
16107     * @note see elm_list_mode_set() for more information.
16108     *
16109     * @ingroup List
16110     */
16111    EAPI Elm_List_Mode    elm_list_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16112
16113    /**
16114     * Enable or disable horizontal mode on the list object.
16115     *
16116     * @param obj The list object.
16117     * @param horizontal @c EINA_TRUE to enable horizontal or @c EINA_FALSE to
16118     * disable it, i.e., to enable vertical mode.
16119     *
16120     * @note Vertical mode is set by default.
16121     *
16122     * On horizontal mode items are displayed on list from left to right,
16123     * instead of from top to bottom. Also, the list will scroll horizontally.
16124     * Each item will presents left icon on top and right icon, or end, at
16125     * the bottom.
16126     *
16127     * @see elm_list_horizontal_get()
16128     *
16129     * @ingroup List
16130     */
16131    EAPI void             elm_list_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
16132
16133    /**
16134     * Get a value whether horizontal mode is enabled or not.
16135     *
16136     * @param obj The list object.
16137     * @return @c EINA_TRUE means horizontal mode selection is enabled.
16138     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
16139     * @c EINA_FALSE is returned.
16140     *
16141     * @see elm_list_horizontal_set() for details.
16142     *
16143     * @ingroup List
16144     */
16145    EAPI Eina_Bool        elm_list_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16146
16147    /**
16148     * Enable or disable always select mode on the list object.
16149     *
16150     * @param obj The list object
16151     * @param always_select @c EINA_TRUE to enable always select mode or
16152     * @c EINA_FALSE to disable it.
16153     *
16154     * @note Always select mode is disabled by default.
16155     *
16156     * Default behavior of list items is to only call its callback function
16157     * the first time it's pressed, i.e., when it is selected. If a selected
16158     * item is pressed again, and multi-select is disabled, it won't call
16159     * this function (if multi-select is enabled it will unselect the item).
16160     *
16161     * If always select is enabled, it will call the callback function
16162     * everytime a item is pressed, so it will call when the item is selected,
16163     * and again when a selected item is pressed.
16164     *
16165     * @see elm_list_always_select_mode_get()
16166     * @see elm_list_multi_select_set()
16167     *
16168     * @ingroup List
16169     */
16170    EAPI void             elm_list_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
16171
16172    /**
16173     * Get a value whether always select mode is enabled or not, meaning that
16174     * an item will always call its callback function, even if already selected.
16175     *
16176     * @param obj The list object
16177     * @return @c EINA_TRUE means horizontal mode selection is enabled.
16178     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
16179     * @c EINA_FALSE is returned.
16180     *
16181     * @see elm_list_always_select_mode_set() for details.
16182     *
16183     * @ingroup List
16184     */
16185    EAPI Eina_Bool        elm_list_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16186
16187    /**
16188     * Set bouncing behaviour when the scrolled content reaches an edge.
16189     *
16190     * Tell the internal scroller object whether it should bounce or not
16191     * when it reaches the respective edges for each axis.
16192     *
16193     * @param obj The list object
16194     * @param h_bounce Whether to bounce or not in the horizontal axis.
16195     * @param v_bounce Whether to bounce or not in the vertical axis.
16196     *
16197     * @see elm_scroller_bounce_set()
16198     *
16199     * @ingroup List
16200     */
16201    EAPI void             elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
16202
16203    /**
16204     * Get the bouncing behaviour of the internal scroller.
16205     *
16206     * Get whether the internal scroller should bounce when the edge of each
16207     * axis is reached scrolling.
16208     *
16209     * @param obj The list object.
16210     * @param h_bounce Pointer where to store the bounce state of the horizontal
16211     * axis.
16212     * @param v_bounce Pointer where to store the bounce state of the vertical
16213     * axis.
16214     *
16215     * @see elm_scroller_bounce_get()
16216     * @see elm_list_bounce_set()
16217     *
16218     * @ingroup List
16219     */
16220    EAPI void             elm_list_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
16221
16222    /**
16223     * Set the scrollbar policy.
16224     *
16225     * @param obj The list object
16226     * @param policy_h Horizontal scrollbar policy.
16227     * @param policy_v Vertical scrollbar policy.
16228     *
16229     * This sets the scrollbar visibility policy for the given scroller.
16230     * #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
16231     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
16232     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
16233     * This applies respectively for the horizontal and vertical scrollbars.
16234     *
16235     * The both are disabled by default, i.e., are set to
16236     * #ELM_SCROLLER_POLICY_OFF.
16237     *
16238     * @ingroup List
16239     */
16240    EAPI void             elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
16241
16242    /**
16243     * Get the scrollbar policy.
16244     *
16245     * @see elm_list_scroller_policy_get() for details.
16246     *
16247     * @param obj The list object.
16248     * @param policy_h Pointer where to store horizontal scrollbar policy.
16249     * @param policy_v Pointer where to store vertical scrollbar policy.
16250     *
16251     * @ingroup List
16252     */
16253    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);
16254
16255    /**
16256     * Append a new item to the list object.
16257     *
16258     * @param obj The list object.
16259     * @param label The label of the list item.
16260     * @param icon The icon object to use for the left side of the item. An
16261     * icon can be any Evas object, but usually it is an icon created
16262     * with elm_icon_add().
16263     * @param end The icon object to use for the right side of the item. An
16264     * icon can be any Evas object.
16265     * @param func The function to call when the item is clicked.
16266     * @param data The data to associate with the item for related callbacks.
16267     *
16268     * @return The created item or @c NULL upon failure.
16269     *
16270     * A new item will be created and appended to the list, i.e., will
16271     * be set as @b last item.
16272     *
16273     * Items created with this method can be deleted with
16274     * elm_list_item_del().
16275     *
16276     * Associated @p data can be properly freed when item is deleted if a
16277     * callback function is set with elm_list_item_del_cb_set().
16278     *
16279     * If a function is passed as argument, it will be called everytime this item
16280     * is selected, i.e., the user clicks over an unselected item.
16281     * If always select is enabled it will call this function every time
16282     * user clicks over an item (already selected or not).
16283     * If such function isn't needed, just passing
16284     * @c NULL as @p func is enough. The same should be done for @p data.
16285     *
16286     * Simple example (with no function callback or data associated):
16287     * @code
16288     * li = elm_list_add(win);
16289     * ic = elm_icon_add(win);
16290     * elm_icon_file_set(ic, "path/to/image", NULL);
16291     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
16292     * elm_list_item_append(li, "label", ic, NULL, NULL, NULL);
16293     * elm_list_go(li);
16294     * evas_object_show(li);
16295     * @endcode
16296     *
16297     * @see elm_list_always_select_mode_set()
16298     * @see elm_list_item_del()
16299     * @see elm_list_item_del_cb_set()
16300     * @see elm_list_clear()
16301     * @see elm_icon_add()
16302     *
16303     * @ingroup List
16304     */
16305    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);
16306
16307    /**
16308     * Prepend a new item to the list object.
16309     *
16310     * @param obj The list object.
16311     * @param label The label of the list item.
16312     * @param icon The icon object to use for the left side of the item. An
16313     * icon can be any Evas object, but usually it is an icon created
16314     * with elm_icon_add().
16315     * @param end The icon object to use for the right side of the item. An
16316     * icon can be any Evas object.
16317     * @param func The function to call when the item is clicked.
16318     * @param data The data to associate with the item for related callbacks.
16319     *
16320     * @return The created item or @c NULL upon failure.
16321     *
16322     * A new item will be created and prepended to the list, i.e., will
16323     * be set as @b first item.
16324     *
16325     * Items created with this method can be deleted with
16326     * elm_list_item_del().
16327     *
16328     * Associated @p data can be properly freed when item is deleted if a
16329     * callback function is set with elm_list_item_del_cb_set().
16330     *
16331     * If a function is passed as argument, it will be called everytime this item
16332     * is selected, i.e., the user clicks over an unselected item.
16333     * If always select is enabled it will call this function every time
16334     * user clicks over an item (already selected or not).
16335     * If such function isn't needed, just passing
16336     * @c NULL as @p func is enough. The same should be done for @p data.
16337     *
16338     * @see elm_list_item_append() for a simple code example.
16339     * @see elm_list_always_select_mode_set()
16340     * @see elm_list_item_del()
16341     * @see elm_list_item_del_cb_set()
16342     * @see elm_list_clear()
16343     * @see elm_icon_add()
16344     *
16345     * @ingroup List
16346     */
16347    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);
16348
16349    /**
16350     * Insert a new item into the list object before item @p before.
16351     *
16352     * @param obj The list object.
16353     * @param before The list item to insert before.
16354     * @param label The label of the list item.
16355     * @param icon The icon object to use for the left side of the item. An
16356     * icon can be any Evas object, but usually it is an icon created
16357     * with elm_icon_add().
16358     * @param end The icon object to use for the right side of the item. An
16359     * icon can be any Evas object.
16360     * @param func The function to call when the item is clicked.
16361     * @param data The data to associate with the item for related callbacks.
16362     *
16363     * @return The created item or @c NULL upon failure.
16364     *
16365     * A new item will be created and added to the list. Its position in
16366     * this list will be just before item @p before.
16367     *
16368     * Items created with this method can be deleted with
16369     * elm_list_item_del().
16370     *
16371     * Associated @p data can be properly freed when item is deleted if a
16372     * callback function is set with elm_list_item_del_cb_set().
16373     *
16374     * If a function is passed as argument, it will be called everytime this item
16375     * is selected, i.e., the user clicks over an unselected item.
16376     * If always select is enabled it will call this function every time
16377     * user clicks over an item (already selected or not).
16378     * If such function isn't needed, just passing
16379     * @c NULL as @p func is enough. The same should be done for @p data.
16380     *
16381     * @see elm_list_item_append() for a simple code example.
16382     * @see elm_list_always_select_mode_set()
16383     * @see elm_list_item_del()
16384     * @see elm_list_item_del_cb_set()
16385     * @see elm_list_clear()
16386     * @see elm_icon_add()
16387     *
16388     * @ingroup List
16389     */
16390    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);
16391
16392    /**
16393     * Insert a new item into the list object after item @p after.
16394     *
16395     * @param obj The list object.
16396     * @param after The list item to insert after.
16397     * @param label The label of the list item.
16398     * @param icon The icon object to use for the left side of the item. An
16399     * icon can be any Evas object, but usually it is an icon created
16400     * with elm_icon_add().
16401     * @param end The icon object to use for the right side of the item. An
16402     * icon can be any Evas object.
16403     * @param func The function to call when the item is clicked.
16404     * @param data The data to associate with the item for related callbacks.
16405     *
16406     * @return The created item or @c NULL upon failure.
16407     *
16408     * A new item will be created and added to the list. Its position in
16409     * this list will be just after item @p after.
16410     *
16411     * Items created with this method can be deleted with
16412     * elm_list_item_del().
16413     *
16414     * Associated @p data can be properly freed when item is deleted if a
16415     * callback function is set with elm_list_item_del_cb_set().
16416     *
16417     * If a function is passed as argument, it will be called everytime this item
16418     * is selected, i.e., the user clicks over an unselected item.
16419     * If always select is enabled it will call this function every time
16420     * user clicks over an item (already selected or not).
16421     * If such function isn't needed, just passing
16422     * @c NULL as @p func is enough. The same should be done for @p data.
16423     *
16424     * @see elm_list_item_append() for a simple code example.
16425     * @see elm_list_always_select_mode_set()
16426     * @see elm_list_item_del()
16427     * @see elm_list_item_del_cb_set()
16428     * @see elm_list_clear()
16429     * @see elm_icon_add()
16430     *
16431     * @ingroup List
16432     */
16433    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);
16434
16435    /**
16436     * Insert a new item into the sorted list object.
16437     *
16438     * @param obj The list object.
16439     * @param label The label of the list item.
16440     * @param icon The icon object to use for the left side of the item. An
16441     * icon can be any Evas object, but usually it is an icon created
16442     * with elm_icon_add().
16443     * @param end The icon object to use for the right side of the item. An
16444     * icon can be any Evas object.
16445     * @param func The function to call when the item is clicked.
16446     * @param data The data to associate with the item for related callbacks.
16447     * @param cmp_func The comparing function to be used to sort list
16448     * items <b>by #Elm_List_Item item handles</b>. This function will
16449     * receive two items and compare them, returning a non-negative integer
16450     * if the second item should be place after the first, or negative value
16451     * if should be placed before.
16452     *
16453     * @return The created item or @c NULL upon failure.
16454     *
16455     * @note This function inserts values into a list object assuming it was
16456     * sorted and the result will be sorted.
16457     *
16458     * A new item will be created and added to the list. Its position in
16459     * this list will be found comparing the new item with previously inserted
16460     * items using function @p cmp_func.
16461     *
16462     * Items created with this method can be deleted with
16463     * elm_list_item_del().
16464     *
16465     * Associated @p data can be properly freed when item is deleted if a
16466     * callback function is set with elm_list_item_del_cb_set().
16467     *
16468     * If a function is passed as argument, it will be called everytime this item
16469     * is selected, i.e., the user clicks over an unselected item.
16470     * If always select is enabled it will call this function every time
16471     * user clicks over an item (already selected or not).
16472     * If such function isn't needed, just passing
16473     * @c NULL as @p func is enough. The same should be done for @p data.
16474     *
16475     * @see elm_list_item_append() for a simple code example.
16476     * @see elm_list_always_select_mode_set()
16477     * @see elm_list_item_del()
16478     * @see elm_list_item_del_cb_set()
16479     * @see elm_list_clear()
16480     * @see elm_icon_add()
16481     *
16482     * @ingroup List
16483     */
16484    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);
16485
16486    /**
16487     * Remove all list's items.
16488     *
16489     * @param obj The list object
16490     *
16491     * @see elm_list_item_del()
16492     * @see elm_list_item_append()
16493     *
16494     * @ingroup List
16495     */
16496    EAPI void             elm_list_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
16497
16498    /**
16499     * Get a list of all the list items.
16500     *
16501     * @param obj The list object
16502     * @return An @c Eina_List of list items, #Elm_List_Item,
16503     * or @c NULL on failure.
16504     *
16505     * @see elm_list_item_append()
16506     * @see elm_list_item_del()
16507     * @see elm_list_clear()
16508     *
16509     * @ingroup List
16510     */
16511    EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16512
16513    /**
16514     * Get the selected item.
16515     *
16516     * @param obj The list object.
16517     * @return The selected list item.
16518     *
16519     * The selected item can be unselected with function
16520     * elm_list_item_selected_set().
16521     *
16522     * The selected item always will be highlighted on list.
16523     *
16524     * @see elm_list_selected_items_get()
16525     *
16526     * @ingroup List
16527     */
16528    EAPI Elm_List_Item   *elm_list_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16529
16530    /**
16531     * Return a list of the currently selected list items.
16532     *
16533     * @param obj The list object.
16534     * @return An @c Eina_List of list items, #Elm_List_Item,
16535     * or @c NULL on failure.
16536     *
16537     * Multiple items can be selected if multi select is enabled. It can be
16538     * done with elm_list_multi_select_set().
16539     *
16540     * @see elm_list_selected_item_get()
16541     * @see elm_list_multi_select_set()
16542     *
16543     * @ingroup List
16544     */
16545    EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16546
16547    /**
16548     * Set the selected state of an item.
16549     *
16550     * @param item The list item
16551     * @param selected The selected state
16552     *
16553     * This sets the selected state of the given item @p it.
16554     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
16555     *
16556     * If a new item is selected the previosly selected will be unselected,
16557     * unless multiple selection is enabled with elm_list_multi_select_set().
16558     * Previoulsy selected item can be get with function
16559     * elm_list_selected_item_get().
16560     *
16561     * Selected items will be highlighted.
16562     *
16563     * @see elm_list_item_selected_get()
16564     * @see elm_list_selected_item_get()
16565     * @see elm_list_multi_select_set()
16566     *
16567     * @ingroup List
16568     */
16569    EAPI void             elm_list_item_selected_set(Elm_List_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
16570
16571    /*
16572     * Get whether the @p item is selected or not.
16573     *
16574     * @param item The list item.
16575     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
16576     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
16577     *
16578     * @see elm_list_selected_item_set() for details.
16579     * @see elm_list_item_selected_get()
16580     *
16581     * @ingroup List
16582     */
16583    EAPI Eina_Bool        elm_list_item_selected_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16584
16585    /**
16586     * Set or unset item as a separator.
16587     *
16588     * @param it The list item.
16589     * @param setting @c EINA_TRUE to set item @p it as separator or
16590     * @c EINA_FALSE to unset, i.e., item will be used as a regular item.
16591     *
16592     * Items aren't set as separator by default.
16593     *
16594     * If set as separator it will display separator theme, so won't display
16595     * icons or label.
16596     *
16597     * @see elm_list_item_separator_get()
16598     *
16599     * @ingroup List
16600     */
16601    EAPI void             elm_list_item_separator_set(Elm_List_Item *it, Eina_Bool setting) EINA_ARG_NONNULL(1);
16602
16603    /**
16604     * Get a value whether item is a separator or not.
16605     *
16606     * @see elm_list_item_separator_set() for details.
16607     *
16608     * @param it The list item.
16609     * @return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
16610     * indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
16611     *
16612     * @ingroup List
16613     */
16614    EAPI Eina_Bool        elm_list_item_separator_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
16615
16616    /**
16617     * Show @p item in the list view.
16618     *
16619     * @param item The list item to be shown.
16620     *
16621     * It won't animate list until item is visible. If such behavior is wanted,
16622     * use elm_list_bring_in() intead.
16623     *
16624     * @ingroup List
16625     */
16626    EAPI void             elm_list_item_show(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16627
16628    /**
16629     * Bring in the given item to list view.
16630     *
16631     * @param item The item.
16632     *
16633     * This causes list to jump to the given item @p item and show it
16634     * (by scrolling), if it is not fully visible.
16635     *
16636     * This may use animation to do so and take a period of time.
16637     *
16638     * If animation isn't wanted, elm_list_item_show() can be used.
16639     *
16640     * @ingroup List
16641     */
16642    EAPI void             elm_list_item_bring_in(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16643
16644    /**
16645     * Delete them item from the list.
16646     *
16647     * @param item The item of list to be deleted.
16648     *
16649     * If deleting all list items is required, elm_list_clear()
16650     * should be used instead of getting items list and deleting each one.
16651     *
16652     * @see elm_list_clear()
16653     * @see elm_list_item_append()
16654     * @see elm_list_item_del_cb_set()
16655     *
16656     * @ingroup List
16657     */
16658    EAPI void             elm_list_item_del(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16659
16660    /**
16661     * Set the function called when a list item is freed.
16662     *
16663     * @param item The item to set the callback on
16664     * @param func The function called
16665     *
16666     * If there is a @p func, then it will be called prior item's memory release.
16667     * That will be called with the following arguments:
16668     * @li item's data;
16669     * @li item's Evas object;
16670     * @li item itself;
16671     *
16672     * This way, a data associated to a list item could be properly freed.
16673     *
16674     * @ingroup List
16675     */
16676    EAPI void             elm_list_item_del_cb_set(Elm_List_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
16677
16678    /**
16679     * Get the data associated to the item.
16680     *
16681     * @param item The list item
16682     * @return The data associated to @p item
16683     *
16684     * The return value is a pointer to data associated to @p item when it was
16685     * created, with function elm_list_item_append() or similar. If no data
16686     * was passed as argument, it will return @c NULL.
16687     *
16688     * @see elm_list_item_append()
16689     *
16690     * @ingroup List
16691     */
16692    EAPI void            *elm_list_item_data_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16693
16694    /**
16695     * Get the left side icon associated to the item.
16696     *
16697     * @param item The list item
16698     * @return The left side icon associated to @p item
16699     *
16700     * The return value is a pointer to the icon associated to @p item when
16701     * it was
16702     * created, with function elm_list_item_append() or similar, or later
16703     * with function elm_list_item_icon_set(). If no icon
16704     * was passed as argument, it will return @c NULL.
16705     *
16706     * @see elm_list_item_append()
16707     * @see elm_list_item_icon_set()
16708     *
16709     * @ingroup List
16710     */
16711    EAPI Evas_Object     *elm_list_item_icon_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16712
16713    /**
16714     * Set the left side icon associated to the item.
16715     *
16716     * @param item The list item
16717     * @param icon The left side icon object to associate with @p item
16718     *
16719     * The icon object to use at left side of the item. An
16720     * icon can be any Evas object, but usually it is an icon created
16721     * with elm_icon_add().
16722     *
16723     * Once the icon object is set, a previously set one will be deleted.
16724     * @warning Setting the same icon for two items will cause the icon to
16725     * dissapear from the first item.
16726     *
16727     * If an icon was passed as argument on item creation, with function
16728     * elm_list_item_append() or similar, it will be already
16729     * associated to the item.
16730     *
16731     * @see elm_list_item_append()
16732     * @see elm_list_item_icon_get()
16733     *
16734     * @ingroup List
16735     */
16736    EAPI void             elm_list_item_icon_set(Elm_List_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
16737
16738    /**
16739     * Get the right side icon associated to the item.
16740     *
16741     * @param item The list item
16742     * @return The right side icon associated to @p item
16743     *
16744     * The return value is a pointer to the icon associated to @p item when
16745     * it was
16746     * created, with function elm_list_item_append() or similar, or later
16747     * with function elm_list_item_icon_set(). If no icon
16748     * was passed as argument, it will return @c NULL.
16749     *
16750     * @see elm_list_item_append()
16751     * @see elm_list_item_icon_set()
16752     *
16753     * @ingroup List
16754     */
16755    EAPI Evas_Object     *elm_list_item_end_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16756
16757    /**
16758     * Set the right side icon associated to the item.
16759     *
16760     * @param item The list item
16761     * @param end The right side icon object to associate with @p item
16762     *
16763     * The icon object to use at right side of the item. An
16764     * icon can be any Evas object, but usually it is an icon created
16765     * with elm_icon_add().
16766     *
16767     * Once the icon object is set, a previously set one will be deleted.
16768     * @warning Setting the same icon for two items will cause the icon to
16769     * dissapear from the first item.
16770     *
16771     * If an icon was passed as argument on item creation, with function
16772     * elm_list_item_append() or similar, it will be already
16773     * associated to the item.
16774     *
16775     * @see elm_list_item_append()
16776     * @see elm_list_item_end_get()
16777     *
16778     * @ingroup List
16779     */
16780    EAPI void             elm_list_item_end_set(Elm_List_Item *item, Evas_Object *end) EINA_ARG_NONNULL(1);
16781
16782    /**
16783     * Gets the base object of the item.
16784     *
16785     * @param item The list item
16786     * @return The base object associated with @p item
16787     *
16788     * Base object is the @c Evas_Object that represents that item.
16789     *
16790     * @ingroup List
16791     */
16792    EAPI Evas_Object     *elm_list_item_object_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16793    EINA_DEPRECATED EAPI Evas_Object     *elm_list_item_base_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16794
16795    /**
16796     * Get the label of item.
16797     *
16798     * @param item The item of list.
16799     * @return The label of item.
16800     *
16801     * The return value is a pointer to the label associated to @p item when
16802     * it was created, with function elm_list_item_append(), or later
16803     * with function elm_list_item_label_set. If no label
16804     * was passed as argument, it will return @c NULL.
16805     *
16806     * @see elm_list_item_label_set() for more details.
16807     * @see elm_list_item_append()
16808     *
16809     * @ingroup List
16810     */
16811    EAPI const char      *elm_list_item_label_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16812
16813    /**
16814     * Set the label of item.
16815     *
16816     * @param item The item of list.
16817     * @param text The label of item.
16818     *
16819     * The label to be displayed by the item.
16820     * Label will be placed between left and right side icons (if set).
16821     *
16822     * If a label was passed as argument on item creation, with function
16823     * elm_list_item_append() or similar, it will be already
16824     * displayed by the item.
16825     *
16826     * @see elm_list_item_label_get()
16827     * @see elm_list_item_append()
16828     *
16829     * @ingroup List
16830     */
16831    EAPI void             elm_list_item_label_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
16832
16833
16834    /**
16835     * Get the item before @p it in list.
16836     *
16837     * @param it The list item.
16838     * @return The item before @p it, or @c NULL if none or on failure.
16839     *
16840     * @note If it is the first item, @c NULL will be returned.
16841     *
16842     * @see elm_list_item_append()
16843     * @see elm_list_items_get()
16844     *
16845     * @ingroup List
16846     */
16847    EAPI Elm_List_Item   *elm_list_item_prev(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
16848
16849    /**
16850     * Get the item after @p it in list.
16851     *
16852     * @param it The list item.
16853     * @return The item after @p it, or @c NULL if none or on failure.
16854     *
16855     * @note If it is the last item, @c NULL will be returned.
16856     *
16857     * @see elm_list_item_append()
16858     * @see elm_list_items_get()
16859     *
16860     * @ingroup List
16861     */
16862    EAPI Elm_List_Item   *elm_list_item_next(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
16863
16864    /**
16865     * Sets the disabled/enabled state of a list item.
16866     *
16867     * @param it The item.
16868     * @param disabled The disabled state.
16869     *
16870     * A disabled item cannot be selected or unselected. It will also
16871     * change its appearance (generally greyed out). This sets the
16872     * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
16873     * enabled).
16874     *
16875     * @ingroup List
16876     */
16877    EAPI void             elm_list_item_disabled_set(Elm_List_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
16878
16879    /**
16880     * Get a value whether list item is disabled or not.
16881     *
16882     * @param it The item.
16883     * @return The disabled state.
16884     *
16885     * @see elm_list_item_disabled_set() for more details.
16886     *
16887     * @ingroup List
16888     */
16889    EAPI Eina_Bool        elm_list_item_disabled_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
16890
16891    /**
16892     * Set the text to be shown in a given list item's tooltips.
16893     *
16894     * @param item Target item.
16895     * @param text The text to set in the content.
16896     *
16897     * Setup the text as tooltip to object. The item can have only one tooltip,
16898     * so any previous tooltip data - set with this function or
16899     * elm_list_item_tooltip_content_cb_set() - is removed.
16900     *
16901     * @see elm_object_tooltip_text_set() for more details.
16902     *
16903     * @ingroup List
16904     */
16905    EAPI void             elm_list_item_tooltip_text_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
16906
16907
16908    /**
16909     * @brief Disable size restrictions on an object's tooltip
16910     * @param item The tooltip's anchor object
16911     * @param disable If EINA_TRUE, size restrictions are disabled
16912     * @return EINA_FALSE on failure, EINA_TRUE on success
16913     *
16914     * This function allows a tooltip to expand beyond its parant window's canvas.
16915     * It will instead be limited only by the size of the display.
16916     */
16917    EAPI Eina_Bool        elm_list_item_tooltip_size_restrict_disable(Elm_List_Item *item, Eina_Bool disable) EINA_ARG_NONNULL(1);
16918    /**
16919     * @brief Retrieve size restriction state of an object's tooltip
16920     * @param obj The tooltip's anchor object
16921     * @return If EINA_TRUE, size restrictions are disabled
16922     *
16923     * This function returns whether a tooltip is allowed to expand beyond
16924     * its parant window's canvas.
16925     * It will instead be limited only by the size of the display.
16926     */
16927    EAPI Eina_Bool        elm_list_item_tooltip_size_restrict_disabled_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16928
16929    /**
16930     * Set the content to be shown in the tooltip item.
16931     *
16932     * Setup the tooltip to item. The item can have only one tooltip,
16933     * so any previous tooltip data is removed. @p func(with @p data) will
16934     * be called every time that need show the tooltip and it should
16935     * return a valid Evas_Object. This object is then managed fully by
16936     * tooltip system and is deleted when the tooltip is gone.
16937     *
16938     * @param item the list item being attached a tooltip.
16939     * @param func the function used to create the tooltip contents.
16940     * @param data what to provide to @a func as callback data/context.
16941     * @param del_cb called when data is not needed anymore, either when
16942     *        another callback replaces @a func, the tooltip is unset with
16943     *        elm_list_item_tooltip_unset() or the owner @a item
16944     *        dies. This callback receives as the first parameter the
16945     *        given @a data, and @c event_info is the item.
16946     *
16947     * @see elm_object_tooltip_content_cb_set() for more details.
16948     *
16949     * @ingroup List
16950     */
16951    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);
16952
16953    /**
16954     * Unset tooltip from item.
16955     *
16956     * @param item list item to remove previously set tooltip.
16957     *
16958     * Remove tooltip from item. The callback provided as del_cb to
16959     * elm_list_item_tooltip_content_cb_set() will be called to notify
16960     * it is not used anymore.
16961     *
16962     * @see elm_object_tooltip_unset() for more details.
16963     * @see elm_list_item_tooltip_content_cb_set()
16964     *
16965     * @ingroup List
16966     */
16967    EAPI void             elm_list_item_tooltip_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16968
16969    /**
16970     * Sets a different style for this item tooltip.
16971     *
16972     * @note before you set a style you should define a tooltip with
16973     *       elm_list_item_tooltip_content_cb_set() or
16974     *       elm_list_item_tooltip_text_set()
16975     *
16976     * @param item list item with tooltip already set.
16977     * @param style the theme style to use (default, transparent, ...)
16978     *
16979     * @see elm_object_tooltip_style_set() for more details.
16980     *
16981     * @ingroup List
16982     */
16983    EAPI void             elm_list_item_tooltip_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
16984
16985    /**
16986     * Get the style for this item tooltip.
16987     *
16988     * @param item list item with tooltip already set.
16989     * @return style the theme style in use, defaults to "default". If the
16990     *         object does not have a tooltip set, then NULL is returned.
16991     *
16992     * @see elm_object_tooltip_style_get() for more details.
16993     * @see elm_list_item_tooltip_style_set()
16994     *
16995     * @ingroup List
16996     */
16997    EAPI const char      *elm_list_item_tooltip_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16998
16999    /**
17000     * Set the type of mouse pointer/cursor decoration to be shown,
17001     * when the mouse pointer is over the given list widget item
17002     *
17003     * @param item list item to customize cursor on
17004     * @param cursor the cursor type's name
17005     *
17006     * This function works analogously as elm_object_cursor_set(), but
17007     * here the cursor's changing area is restricted to the item's
17008     * area, and not the whole widget's. Note that that item cursors
17009     * have precedence over widget cursors, so that a mouse over an
17010     * item with custom cursor set will always show @b that cursor.
17011     *
17012     * If this function is called twice for an object, a previously set
17013     * cursor will be unset on the second call.
17014     *
17015     * @see elm_object_cursor_set()
17016     * @see elm_list_item_cursor_get()
17017     * @see elm_list_item_cursor_unset()
17018     *
17019     * @ingroup List
17020     */
17021    EAPI void             elm_list_item_cursor_set(Elm_List_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
17022
17023    /*
17024     * Get the type of mouse pointer/cursor decoration set to be shown,
17025     * when the mouse pointer is over the given list widget item
17026     *
17027     * @param item list item with custom cursor set
17028     * @return the cursor type's name or @c NULL, if no custom cursors
17029     * were set to @p item (and on errors)
17030     *
17031     * @see elm_object_cursor_get()
17032     * @see elm_list_item_cursor_set()
17033     * @see elm_list_item_cursor_unset()
17034     *
17035     * @ingroup List
17036     */
17037    EAPI const char      *elm_list_item_cursor_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17038
17039    /**
17040     * Unset any custom mouse pointer/cursor decoration set to be
17041     * shown, when the mouse pointer is over the given list widget
17042     * item, thus making it show the @b default cursor again.
17043     *
17044     * @param item a list item
17045     *
17046     * Use this call to undo any custom settings on this item's cursor
17047     * decoration, bringing it back to defaults (no custom style set).
17048     *
17049     * @see elm_object_cursor_unset()
17050     * @see elm_list_item_cursor_set()
17051     *
17052     * @ingroup List
17053     */
17054    EAPI void             elm_list_item_cursor_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
17055
17056    /**
17057     * Set a different @b style for a given custom cursor set for a
17058     * list item.
17059     *
17060     * @param item list item with custom cursor set
17061     * @param style the <b>theme style</b> to use (e.g. @c "default",
17062     * @c "transparent", etc)
17063     *
17064     * This function only makes sense when one is using custom mouse
17065     * cursor decorations <b>defined in a theme file</b>, which can have,
17066     * given a cursor name/type, <b>alternate styles</b> on it. It
17067     * works analogously as elm_object_cursor_style_set(), but here
17068     * applyed only to list item objects.
17069     *
17070     * @warning Before you set a cursor style you should have definen a
17071     *       custom cursor previously on the item, with
17072     *       elm_list_item_cursor_set()
17073     *
17074     * @see elm_list_item_cursor_engine_only_set()
17075     * @see elm_list_item_cursor_style_get()
17076     *
17077     * @ingroup List
17078     */
17079    EAPI void             elm_list_item_cursor_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
17080
17081    /**
17082     * Get the current @b style set for a given list item's custom
17083     * cursor
17084     *
17085     * @param item list item with custom cursor set.
17086     * @return style the cursor style in use. If the object does not
17087     *         have a cursor set, then @c NULL is returned.
17088     *
17089     * @see elm_list_item_cursor_style_set() for more details
17090     *
17091     * @ingroup List
17092     */
17093    EAPI const char      *elm_list_item_cursor_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17094
17095    /**
17096     * Set if the (custom)cursor for a given list item should be
17097     * searched in its theme, also, or should only rely on the
17098     * rendering engine.
17099     *
17100     * @param item item with custom (custom) cursor already set on
17101     * @param engine_only Use @c EINA_TRUE to have cursors looked for
17102     * only on those provided by the rendering engine, @c EINA_FALSE to
17103     * have them searched on the widget's theme, as well.
17104     *
17105     * @note This call is of use only if you've set a custom cursor
17106     * for list items, with elm_list_item_cursor_set().
17107     *
17108     * @note By default, cursors will only be looked for between those
17109     * provided by the rendering engine.
17110     *
17111     * @ingroup List
17112     */
17113    EAPI void             elm_list_item_cursor_engine_only_set(Elm_List_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
17114
17115    /**
17116     * Get if the (custom) cursor for a given list item is being
17117     * searched in its theme, also, or is only relying on the rendering
17118     * engine.
17119     *
17120     * @param item a list item
17121     * @return @c EINA_TRUE, if cursors are being looked for only on
17122     * those provided by the rendering engine, @c EINA_FALSE if they
17123     * are being searched on the widget's theme, as well.
17124     *
17125     * @see elm_list_item_cursor_engine_only_set(), for more details
17126     *
17127     * @ingroup List
17128     */
17129    EAPI Eina_Bool        elm_list_item_cursor_engine_only_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17130
17131    /**
17132     * @}
17133     */
17134
17135    /**
17136     * @defgroup Slider Slider
17137     * @ingroup Elementary
17138     *
17139     * @image html img/widget/slider/preview-00.png
17140     * @image latex img/widget/slider/preview-00.eps width=\textwidth
17141     *
17142     * The slider adds a dragable “slider” widget for selecting the value of
17143     * something within a range.
17144     *
17145     * A slider can be horizontal or vertical. It can contain an Icon and has a
17146     * primary label as well as a units label (that is formatted with floating
17147     * point values and thus accepts a printf-style format string, like
17148     * “%1.2f units”. There is also an indicator string that may be somewhere
17149     * else (like on the slider itself) that also accepts a format string like
17150     * units. Label, Icon Unit and Indicator strings/objects are optional.
17151     *
17152     * A slider may be inverted which means values invert, with high vales being
17153     * on the left or top and low values on the right or bottom (as opposed to
17154     * normally being low on the left or top and high on the bottom and right).
17155     *
17156     * The slider should have its minimum and maximum values set by the
17157     * application with  elm_slider_min_max_set() and value should also be set by
17158     * the application before use with  elm_slider_value_set(). The span of the
17159     * slider is its length (horizontally or vertically). This will be scaled by
17160     * the object or applications scaling factor. At any point code can query the
17161     * slider for its value with elm_slider_value_get().
17162     *
17163     * Smart callbacks one can listen to:
17164     * - "changed" - Whenever the slider value is changed by the user.
17165     * - "slider,drag,start" - dragging the slider indicator around has started.
17166     * - "slider,drag,stop" - dragging the slider indicator around has stopped.
17167     * - "delay,changed" - A short time after the value is changed by the user.
17168     * This will be called only when the user stops dragging for
17169     * a very short period or when they release their
17170     * finger/mouse, so it avoids possibly expensive reactions to
17171     * the value change.
17172     *
17173     * Available styles for it:
17174     * - @c "default"
17175     *
17176     * Here is an example on its usage:
17177     * @li @ref slider_example
17178     */
17179
17180    /**
17181     * @addtogroup Slider
17182     * @{
17183     */
17184
17185    /**
17186     * Add a new slider widget to the given parent Elementary
17187     * (container) object.
17188     *
17189     * @param parent The parent object.
17190     * @return a new slider widget handle or @c NULL, on errors.
17191     *
17192     * This function inserts a new slider widget on the canvas.
17193     *
17194     * @ingroup Slider
17195     */
17196    EAPI Evas_Object       *elm_slider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
17197
17198    /**
17199     * Set the label of a given slider widget
17200     *
17201     * @param obj The progress bar object
17202     * @param label The text label string, in UTF-8
17203     *
17204     * @ingroup Slider
17205     * @deprecated use elm_object_text_set() instead.
17206     */
17207    EINA_DEPRECATED EAPI void               elm_slider_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
17208
17209    /**
17210     * Get the label of a given slider widget
17211     *
17212     * @param obj The progressbar object
17213     * @return The text label string, in UTF-8
17214     *
17215     * @ingroup Slider
17216     * @deprecated use elm_object_text_get() instead.
17217     */
17218    EINA_DEPRECATED EAPI const char        *elm_slider_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17219
17220    /**
17221     * Set the icon object of the slider object.
17222     *
17223     * @param obj The slider object.
17224     * @param icon The icon object.
17225     *
17226     * On horizontal mode, icon is placed at left, and on vertical mode,
17227     * placed at top.
17228     *
17229     * @note Once the icon object is set, a previously set one will be deleted.
17230     * If you want to keep that old content object, use the
17231     * elm_slider_icon_unset() function.
17232     *
17233     * @warning If the object being set does not have minimum size hints set,
17234     * it won't get properly displayed.
17235     *
17236     * @ingroup Slider
17237     */
17238    EAPI void               elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
17239
17240    /**
17241     * Unset an icon set on a given slider widget.
17242     *
17243     * @param obj The slider object.
17244     * @return The icon object that was being used, if any was set, or
17245     * @c NULL, otherwise (and on errors).
17246     *
17247     * On horizontal mode, icon is placed at left, and on vertical mode,
17248     * placed at top.
17249     *
17250     * This call will unparent and return the icon object which was set
17251     * for this widget, previously, on success.
17252     *
17253     * @see elm_slider_icon_set() for more details
17254     * @see elm_slider_icon_get()
17255     *
17256     * @ingroup Slider
17257     */
17258    EAPI Evas_Object       *elm_slider_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
17259
17260    /**
17261     * Retrieve the icon object set for a given slider widget.
17262     *
17263     * @param obj The slider object.
17264     * @return The icon object's handle, if @p obj had one set, or @c NULL,
17265     * otherwise (and on errors).
17266     *
17267     * On horizontal mode, icon is placed at left, and on vertical mode,
17268     * placed at top.
17269     *
17270     * @see elm_slider_icon_set() for more details
17271     * @see elm_slider_icon_unset()
17272     *
17273     * @ingroup Slider
17274     */
17275    EAPI Evas_Object       *elm_slider_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17276
17277    /**
17278     * Set the end object of the slider object.
17279     *
17280     * @param obj The slider object.
17281     * @param end The end object.
17282     *
17283     * On horizontal mode, end is placed at left, and on vertical mode,
17284     * placed at bottom.
17285     *
17286     * @note Once the icon object is set, a previously set one will be deleted.
17287     * If you want to keep that old content object, use the
17288     * elm_slider_end_unset() function.
17289     *
17290     * @warning If the object being set does not have minimum size hints set,
17291     * it won't get properly displayed.
17292     *
17293     * @ingroup Slider
17294     */
17295    EAPI void               elm_slider_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1);
17296
17297    /**
17298     * Unset an end object set on a given slider widget.
17299     *
17300     * @param obj The slider object.
17301     * @return The end object that was being used, if any was set, or
17302     * @c NULL, otherwise (and on errors).
17303     *
17304     * On horizontal mode, end is placed at left, and on vertical mode,
17305     * placed at bottom.
17306     *
17307     * This call will unparent and return the icon object which was set
17308     * for this widget, previously, on success.
17309     *
17310     * @see elm_slider_end_set() for more details.
17311     * @see elm_slider_end_get()
17312     *
17313     * @ingroup Slider
17314     */
17315    EAPI Evas_Object       *elm_slider_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
17316
17317    /**
17318     * Retrieve the end object set for a given slider widget.
17319     *
17320     * @param obj The slider object.
17321     * @return The end object's handle, if @p obj had one set, or @c NULL,
17322     * otherwise (and on errors).
17323     *
17324     * On horizontal mode, icon is placed at right, and on vertical mode,
17325     * placed at bottom.
17326     *
17327     * @see elm_slider_end_set() for more details.
17328     * @see elm_slider_end_unset()
17329     *
17330     * @ingroup Slider
17331     */
17332    EAPI Evas_Object       *elm_slider_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17333
17334    /**
17335     * Set the (exact) length of the bar region of a given slider widget.
17336     *
17337     * @param obj The slider object.
17338     * @param size The length of the slider's bar region.
17339     *
17340     * This sets the minimum width (when in horizontal mode) or height
17341     * (when in vertical mode) of the actual bar area of the slider
17342     * @p obj. This in turn affects the object's minimum size. Use
17343     * this when you're not setting other size hints expanding on the
17344     * given direction (like weight and alignment hints) and you would
17345     * like it to have a specific size.
17346     *
17347     * @note Icon, end, label, indicator and unit text around @p obj
17348     * will require their
17349     * own space, which will make @p obj to require more the @p size,
17350     * actually.
17351     *
17352     * @see elm_slider_span_size_get()
17353     *
17354     * @ingroup Slider
17355     */
17356    EAPI void               elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
17357
17358    /**
17359     * Get the length set for the bar region of a given slider widget
17360     *
17361     * @param obj The slider object.
17362     * @return The length of the slider's bar region.
17363     *
17364     * If that size was not set previously, with
17365     * elm_slider_span_size_set(), this call will return @c 0.
17366     *
17367     * @ingroup Slider
17368     */
17369    EAPI Evas_Coord         elm_slider_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17370
17371    /**
17372     * Set the format string for the unit label.
17373     *
17374     * @param obj The slider object.
17375     * @param format The format string for the unit display.
17376     *
17377     * Unit label is displayed all the time, if set, after slider's bar.
17378     * In horizontal mode, at right and in vertical mode, at bottom.
17379     *
17380     * If @c NULL, unit label won't be visible. If not it sets the format
17381     * string for the label text. To the label text is provided a floating point
17382     * value, so the label text can display up to 1 floating point value.
17383     * Note that this is optional.
17384     *
17385     * Use a format string such as "%1.2f meters" for example, and it will
17386     * display values like: "3.14 meters" for a value equal to 3.14159.
17387     *
17388     * Default is unit label disabled.
17389     *
17390     * @see elm_slider_indicator_format_get()
17391     *
17392     * @ingroup Slider
17393     */
17394    EAPI void               elm_slider_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
17395
17396    /**
17397     * Get the unit label format of the slider.
17398     *
17399     * @param obj The slider object.
17400     * @return The unit label format string in UTF-8.
17401     *
17402     * Unit label is displayed all the time, if set, after slider's bar.
17403     * In horizontal mode, at right and in vertical mode, at bottom.
17404     *
17405     * @see elm_slider_unit_format_set() for more
17406     * information on how this works.
17407     *
17408     * @ingroup Slider
17409     */
17410    EAPI const char        *elm_slider_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17411
17412    /**
17413     * Set the format string for the indicator label.
17414     *
17415     * @param obj The slider object.
17416     * @param indicator The format string for the indicator display.
17417     *
17418     * The slider may display its value somewhere else then unit label,
17419     * for example, above the slider knob that is dragged around. This function
17420     * sets the format string used for this.
17421     *
17422     * If @c NULL, indicator label won't be visible. If not it sets the format
17423     * string for the label text. To the label text is provided a floating point
17424     * value, so the label text can display up to 1 floating point value.
17425     * Note that this is optional.
17426     *
17427     * Use a format string such as "%1.2f meters" for example, and it will
17428     * display values like: "3.14 meters" for a value equal to 3.14159.
17429     *
17430     * Default is indicator label disabled.
17431     *
17432     * @see elm_slider_indicator_format_get()
17433     *
17434     * @ingroup Slider
17435     */
17436    EAPI void               elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator) EINA_ARG_NONNULL(1);
17437
17438    /**
17439     * Get the indicator label format of the slider.
17440     *
17441     * @param obj The slider object.
17442     * @return The indicator label format string in UTF-8.
17443     *
17444     * The slider may display its value somewhere else then unit label,
17445     * for example, above the slider knob that is dragged around. This function
17446     * gets the format string used for this.
17447     *
17448     * @see elm_slider_indicator_format_set() for more
17449     * information on how this works.
17450     *
17451     * @ingroup Slider
17452     */
17453    EAPI const char        *elm_slider_indicator_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17454
17455    /**
17456     * Set the format function pointer for the indicator label
17457     *
17458     * @param obj The slider object.
17459     * @param func The indicator format function.
17460     * @param free_func The freeing function for the format string.
17461     *
17462     * Set the callback function to format the indicator string.
17463     *
17464     * @see elm_slider_indicator_format_set() for more info on how this works.
17465     *
17466     * @ingroup Slider
17467     */
17468   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);
17469
17470   /**
17471    * Set the format function pointer for the units label
17472    *
17473    * @param obj The slider object.
17474    * @param func The units format function.
17475    * @param free_func The freeing function for the format string.
17476    *
17477    * Set the callback function to format the indicator string.
17478    *
17479    * @see elm_slider_units_format_set() for more info on how this works.
17480    *
17481    * @ingroup Slider
17482    */
17483   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);
17484
17485   /**
17486    * Set the orientation of a given slider widget.
17487    *
17488    * @param obj The slider object.
17489    * @param horizontal Use @c EINA_TRUE to make @p obj to be
17490    * @b horizontal, @c EINA_FALSE to make it @b vertical.
17491    *
17492    * Use this function to change how your slider is to be
17493    * disposed: vertically or horizontally.
17494    *
17495    * By default it's displayed horizontally.
17496    *
17497    * @see elm_slider_horizontal_get()
17498    *
17499    * @ingroup Slider
17500    */
17501    EAPI void               elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
17502
17503    /**
17504     * Retrieve the orientation of a given slider widget
17505     *
17506     * @param obj The slider object.
17507     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
17508     * @c EINA_FALSE if it's @b vertical (and on errors).
17509     *
17510     * @see elm_slider_horizontal_set() for more details.
17511     *
17512     * @ingroup Slider
17513     */
17514    EAPI Eina_Bool          elm_slider_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17515
17516    /**
17517     * Set the minimum and maximum values for the slider.
17518     *
17519     * @param obj The slider object.
17520     * @param min The minimum value.
17521     * @param max The maximum value.
17522     *
17523     * Define the allowed range of values to be selected by the user.
17524     *
17525     * If actual value is less than @p min, it will be updated to @p min. If it
17526     * is bigger then @p max, will be updated to @p max. Actual value can be
17527     * get with elm_slider_value_get().
17528     *
17529     * By default, min is equal to 0.0, and max is equal to 1.0.
17530     *
17531     * @warning Maximum must be greater than minimum, otherwise behavior
17532     * is undefined.
17533     *
17534     * @see elm_slider_min_max_get()
17535     *
17536     * @ingroup Slider
17537     */
17538    EAPI void               elm_slider_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
17539
17540    /**
17541     * Get the minimum and maximum values of the slider.
17542     *
17543     * @param obj The slider object.
17544     * @param min Pointer where to store the minimum value.
17545     * @param max Pointer where to store the maximum value.
17546     *
17547     * @note If only one value is needed, the other pointer can be passed
17548     * as @c NULL.
17549     *
17550     * @see elm_slider_min_max_set() for details.
17551     *
17552     * @ingroup Slider
17553     */
17554    EAPI void               elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
17555
17556    /**
17557     * Set the value the slider displays.
17558     *
17559     * @param obj The slider object.
17560     * @param val The value to be displayed.
17561     *
17562     * Value will be presented on the unit label following format specified with
17563     * elm_slider_unit_format_set() and on indicator with
17564     * elm_slider_indicator_format_set().
17565     *
17566     * @warning The value must to be between min and max values. This values
17567     * are set by elm_slider_min_max_set().
17568     *
17569     * @see elm_slider_value_get()
17570     * @see elm_slider_unit_format_set()
17571     * @see elm_slider_indicator_format_set()
17572     * @see elm_slider_min_max_set()
17573     *
17574     * @ingroup Slider
17575     */
17576    EAPI void               elm_slider_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
17577
17578    /**
17579     * Get the value displayed by the spinner.
17580     *
17581     * @param obj The spinner object.
17582     * @return The value displayed.
17583     *
17584     * @see elm_spinner_value_set() for details.
17585     *
17586     * @ingroup Slider
17587     */
17588    EAPI double             elm_slider_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17589
17590    /**
17591     * Invert a given slider widget's displaying values order
17592     *
17593     * @param obj The slider object.
17594     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
17595     * @c EINA_FALSE to bring it back to default, non-inverted values.
17596     *
17597     * A slider may be @b inverted, in which state it gets its
17598     * values inverted, with high vales being on the left or top and
17599     * low values on the right or bottom, as opposed to normally have
17600     * the low values on the former and high values on the latter,
17601     * respectively, for horizontal and vertical modes.
17602     *
17603     * @see elm_slider_inverted_get()
17604     *
17605     * @ingroup Slider
17606     */
17607    EAPI void               elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
17608
17609    /**
17610     * Get whether a given slider widget's displaying values are
17611     * inverted or not.
17612     *
17613     * @param obj The slider object.
17614     * @return @c EINA_TRUE, if @p obj has inverted values,
17615     * @c EINA_FALSE otherwise (and on errors).
17616     *
17617     * @see elm_slider_inverted_set() for more details.
17618     *
17619     * @ingroup Slider
17620     */
17621    EAPI Eina_Bool          elm_slider_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17622
17623    /**
17624     * Set whether to enlarge slider indicator (augmented knob) or not.
17625     *
17626     * @param obj The slider object.
17627     * @param show @c EINA_TRUE will make it enlarge, @c EINA_FALSE will
17628     * let the knob always at default size.
17629     *
17630     * By default, indicator will be bigger while dragged by the user.
17631     *
17632     * @warning It won't display values set with
17633     * elm_slider_indicator_format_set() if you disable indicator.
17634     *
17635     * @ingroup Slider
17636     */
17637    EAPI void               elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show) EINA_ARG_NONNULL(1);
17638
17639    /**
17640     * Get whether a given slider widget's enlarging indicator or not.
17641     *
17642     * @param obj The slider object.
17643     * @return @c EINA_TRUE, if @p obj is enlarging indicator, or
17644     * @c EINA_FALSE otherwise (and on errors).
17645     *
17646     * @see elm_slider_indicator_show_set() for details.
17647     *
17648     * @ingroup Slider
17649     */
17650    EAPI Eina_Bool          elm_slider_indicator_show_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17651
17652    /**
17653     * @}
17654     */
17655
17656    /**
17657     * @addtogroup Actionslider Actionslider
17658     *
17659     * @image html img/widget/actionslider/preview-00.png
17660     * @image latex img/widget/actionslider/preview-00.eps
17661     *
17662     * A actionslider is a switcher for 2 or 3 labels with customizable magnet
17663     * properties. The indicator is the element the user drags to choose a label.
17664     * When the position is set with magnet, when released the indicator will be
17665     * moved to it if it's nearest the magnetized position.
17666     *
17667     * @note By default all positions are set as enabled.
17668     *
17669     * Signals that you can add callbacks for are:
17670     *
17671     * "selected" - when user selects an enabled position (the label is passed
17672     *              as event info)".
17673     * @n
17674     * "pos_changed" - when the indicator reaches any of the positions("left",
17675     *                 "right" or "center").
17676     *
17677     * See an example of actionslider usage @ref actionslider_example_page "here"
17678     * @{
17679     */
17680    typedef enum _Elm_Actionslider_Pos
17681      {
17682         ELM_ACTIONSLIDER_NONE = 0,
17683         ELM_ACTIONSLIDER_LEFT = 1 << 0,
17684         ELM_ACTIONSLIDER_CENTER = 1 << 1,
17685         ELM_ACTIONSLIDER_RIGHT = 1 << 2,
17686         ELM_ACTIONSLIDER_ALL = (1 << 3) -1
17687      } Elm_Actionslider_Pos;
17688
17689    /**
17690     * Add a new actionslider to the parent.
17691     *
17692     * @param parent The parent object
17693     * @return The new actionslider object or NULL if it cannot be created
17694     */
17695    EAPI Evas_Object          *elm_actionslider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
17696    /**
17697     * Set actionslider labels.
17698     *
17699     * @param obj The actionslider object
17700     * @param left_label The label to be set on the left.
17701     * @param center_label The label to be set on the center.
17702     * @param right_label The label to be set on the right.
17703     * @deprecated use elm_object_text_set() instead.
17704     */
17705    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);
17706    /**
17707     * Get actionslider labels.
17708     *
17709     * @param obj The actionslider object
17710     * @param left_label A char** to place the left_label of @p obj into.
17711     * @param center_label A char** to place the center_label of @p obj into.
17712     * @param right_label A char** to place the right_label of @p obj into.
17713     * @deprecated use elm_object_text_set() instead.
17714     */
17715    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);
17716    /**
17717     * Get actionslider selected label.
17718     *
17719     * @param obj The actionslider object
17720     * @return The selected label
17721     */
17722    EAPI const char           *elm_actionslider_selected_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17723    /**
17724     * Set actionslider indicator position.
17725     *
17726     * @param obj The actionslider object.
17727     * @param pos The position of the indicator.
17728     */
17729    EAPI void                  elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
17730    /**
17731     * Get actionslider indicator position.
17732     *
17733     * @param obj The actionslider object.
17734     * @return The position of the indicator.
17735     */
17736    EAPI Elm_Actionslider_Pos  elm_actionslider_indicator_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17737    /**
17738     * Set actionslider magnet position. To make multiple positions magnets @c or
17739     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT)
17740     *
17741     * @param obj The actionslider object.
17742     * @param pos Bit mask indicating the magnet positions.
17743     */
17744    EAPI void                  elm_actionslider_magnet_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
17745    /**
17746     * Get actionslider magnet position.
17747     *
17748     * @param obj The actionslider object.
17749     * @return The positions with magnet property.
17750     */
17751    EAPI Elm_Actionslider_Pos  elm_actionslider_magnet_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17752    /**
17753     * Set actionslider enabled position. To set multiple positions as enabled @c or
17754     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT).
17755     *
17756     * @note All the positions are enabled by default.
17757     *
17758     * @param obj The actionslider object.
17759     * @param pos Bit mask indicating the enabled positions.
17760     */
17761    EAPI void                  elm_actionslider_enabled_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
17762    /**
17763     * Get actionslider enabled position.
17764     *
17765     * @param obj The actionslider object.
17766     * @return The enabled positions.
17767     */
17768    EAPI Elm_Actionslider_Pos  elm_actionslider_enabled_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17769    /**
17770     * Set the label used on the indicator.
17771     *
17772     * @param obj The actionslider object
17773     * @param label The label to be set on the indicator.
17774     * @deprecated use elm_object_text_set() instead.
17775     */
17776    EINA_DEPRECATED EAPI void                  elm_actionslider_indicator_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
17777    /**
17778     * Get the label used on the indicator object.
17779     *
17780     * @param obj The actionslider object
17781     * @return The indicator label
17782     * @deprecated use elm_object_text_get() instead.
17783     */
17784    EINA_DEPRECATED EAPI const char           *elm_actionslider_indicator_label_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
17785    /**
17786     * @}
17787     */
17788
17789    /**
17790     * @defgroup Genlist Genlist
17791     *
17792     * @image html img/widget/genlist/preview-00.png
17793     * @image latex img/widget/genlist/preview-00.eps
17794     * @image html img/genlist.png
17795     * @image latex img/genlist.eps
17796     *
17797     * This widget aims to have more expansive list than the simple list in
17798     * Elementary that could have more flexible items and allow many more entries
17799     * while still being fast and low on memory usage. At the same time it was
17800     * also made to be able to do tree structures. But the price to pay is more
17801     * complexity when it comes to usage. If all you want is a simple list with
17802     * icons and a single label, use the normal @ref List object.
17803     *
17804     * Genlist has a fairly large API, mostly because it's relatively complex,
17805     * trying to be both expansive, powerful and efficient. First we will begin
17806     * an overview on the theory behind genlist.
17807     *
17808     * @section Genlist_Item_Class Genlist item classes - creating items
17809     *
17810     * In order to have the ability to add and delete items on the fly, genlist
17811     * implements a class (callback) system where the application provides a
17812     * structure with information about that type of item (genlist may contain
17813     * multiple different items with different classes, states and styles).
17814     * Genlist will call the functions in this struct (methods) when an item is
17815     * "realized" (i.e., created dynamically, while the user is scrolling the
17816     * grid). All objects will simply be deleted when no longer needed with
17817     * evas_object_del(). The #Elm_Genlist_Item_Class structure contains the
17818     * following members:
17819     * - @c item_style - This is a constant string and simply defines the name
17820     *   of the item style. It @b must be specified and the default should be @c
17821     *   "default".
17822     *
17823     * - @c func - A struct with pointers to functions that will be called when
17824     *   an item is going to be actually created. All of them receive a @c data
17825     *   parameter that will point to the same data passed to
17826     *   elm_genlist_item_append() and related item creation functions, and a @c
17827     *   obj parameter that points to the genlist object itself.
17828     *
17829     * The function pointers inside @c func are @c label_get, @c icon_get, @c
17830     * state_get and @c del. The 3 first functions also receive a @c part
17831     * parameter described below. A brief description of these functions follows:
17832     *
17833     * - @c label_get - The @c part parameter is the name string of one of the
17834     *   existing text parts in the Edje group implementing the item's theme.
17835     *   This function @b must return a strdup'()ed string, as the caller will
17836     *   free() it when done. See #Elm_Genlist_Item_Label_Get_Cb.
17837     * - @c icon_get - The @c part parameter is the name string of one of the
17838     *   existing (icon) swallow parts in the Edje group implementing the item's
17839     *   theme. It must return @c NULL, when no icon is desired, or a valid
17840     *   object handle, otherwise.  The object will be deleted by the genlist on
17841     *   its deletion or when the item is "unrealized".  See
17842     *   #Elm_Genlist_Item_Icon_Get_Cb.
17843     * - @c func.state_get - The @c part parameter is the name string of one of
17844     *   the state parts in the Edje group implementing the item's theme. Return
17845     *   @c EINA_FALSE for false/off or @c EINA_TRUE for true/on. Genlists will
17846     *   emit a signal to its theming Edje object with @c "elm,state,XXX,active"
17847     *   and @c "elm" as "emission" and "source" arguments, respectively, when
17848     *   the state is true (the default is false), where @c XXX is the name of
17849     *   the (state) part.  See #Elm_Genlist_Item_State_Get_Cb.
17850     * - @c func.del - This is intended for use when genlist items are deleted,
17851     *   so any data attached to the item (e.g. its data parameter on creation)
17852     *   can be deleted. See #Elm_Genlist_Item_Del_Cb.
17853     *
17854     * available item styles:
17855     * - default
17856     * - default_style - The text part is a textblock
17857     *
17858     * @image html img/widget/genlist/preview-04.png
17859     * @image latex img/widget/genlist/preview-04.eps
17860     *
17861     * - double_label
17862     *
17863     * @image html img/widget/genlist/preview-01.png
17864     * @image latex img/widget/genlist/preview-01.eps
17865     *
17866     * - icon_top_text_bottom
17867     *
17868     * @image html img/widget/genlist/preview-02.png
17869     * @image latex img/widget/genlist/preview-02.eps
17870     *
17871     * - group_index
17872     *
17873     * @image html img/widget/genlist/preview-03.png
17874     * @image latex img/widget/genlist/preview-03.eps
17875     *
17876     * @section Genlist_Items Structure of items
17877     *
17878     * An item in a genlist can have 0 or more text labels (they can be regular
17879     * text or textblock Evas objects - that's up to the style to determine), 0
17880     * or more icons (which are simply objects swallowed into the genlist item's
17881     * theming Edje object) and 0 or more <b>boolean states</b>, which have the
17882     * behavior left to the user to define. The Edje part names for each of
17883     * these properties will be looked up, in the theme file for the genlist,
17884     * under the Edje (string) data items named @c "labels", @c "icons" and @c
17885     * "states", respectively. For each of those properties, if more than one
17886     * part is provided, they must have names listed separated by spaces in the
17887     * data fields. For the default genlist item theme, we have @b one label
17888     * part (@c "elm.text"), @b two icon parts (@c "elm.swalllow.icon" and @c
17889     * "elm.swallow.end") and @b no state parts.
17890     *
17891     * A genlist item may be at one of several styles. Elementary provides one
17892     * by default - "default", but this can be extended by system or application
17893     * custom themes/overlays/extensions (see @ref Theme "themes" for more
17894     * details).
17895     *
17896     * @section Genlist_Manipulation Editing and Navigating
17897     *
17898     * Items can be added by several calls. All of them return a @ref
17899     * Elm_Genlist_Item handle that is an internal member inside the genlist.
17900     * They all take a data parameter that is meant to be used for a handle to
17901     * the applications internal data (eg the struct with the original item
17902     * data). The parent parameter is the parent genlist item this belongs to if
17903     * it is a tree or an indexed group, and NULL if there is no parent. The
17904     * flags can be a bitmask of #ELM_GENLIST_ITEM_NONE,
17905     * #ELM_GENLIST_ITEM_SUBITEMS and #ELM_GENLIST_ITEM_GROUP. If
17906     * #ELM_GENLIST_ITEM_SUBITEMS is set then this item is displayed as an item
17907     * that is able to expand and have child items.  If ELM_GENLIST_ITEM_GROUP
17908     * is set then this item is group index item that is displayed at the top
17909     * until the next group comes. The func parameter is a convenience callback
17910     * that is called when the item is selected and the data parameter will be
17911     * the func_data parameter, obj be the genlist object and event_info will be
17912     * the genlist item.
17913     *
17914     * elm_genlist_item_append() adds an item to the end of the list, or if
17915     * there is a parent, to the end of all the child items of the parent.
17916     * elm_genlist_item_prepend() is the same but adds to the beginning of
17917     * the list or children list. elm_genlist_item_insert_before() inserts at
17918     * item before another item and elm_genlist_item_insert_after() inserts after
17919     * the indicated item.
17920     *
17921     * The application can clear the list with elm_genlist_clear() which deletes
17922     * all the items in the list and elm_genlist_item_del() will delete a specific
17923     * item. elm_genlist_item_subitems_clear() will clear all items that are
17924     * children of the indicated parent item.
17925     *
17926     * To help inspect list items you can jump to the item at the top of the list
17927     * with elm_genlist_first_item_get() which will return the item pointer, and
17928     * similarly elm_genlist_last_item_get() gets the item at the end of the list.
17929     * elm_genlist_item_next_get() and elm_genlist_item_prev_get() get the next
17930     * and previous items respectively relative to the indicated item. Using
17931     * these calls you can walk the entire item list/tree. Note that as a tree
17932     * the items are flattened in the list, so elm_genlist_item_parent_get() will
17933     * let you know which item is the parent (and thus know how to skip them if
17934     * wanted).
17935     *
17936     * @section Genlist_Muti_Selection Multi-selection
17937     *
17938     * If the application wants multiple items to be able to be selected,
17939     * elm_genlist_multi_select_set() can enable this. If the list is
17940     * single-selection only (the default), then elm_genlist_selected_item_get()
17941     * will return the selected item, if any, or NULL I none is selected. If the
17942     * list is multi-select then elm_genlist_selected_items_get() will return a
17943     * list (that is only valid as long as no items are modified (added, deleted,
17944     * selected or unselected)).
17945     *
17946     * @section Genlist_Usage_Hints Usage hints
17947     *
17948     * There are also convenience functions. elm_genlist_item_genlist_get() will
17949     * return the genlist object the item belongs to. elm_genlist_item_show()
17950     * will make the scroller scroll to show that specific item so its visible.
17951     * elm_genlist_item_data_get() returns the data pointer set by the item
17952     * creation functions.
17953     *
17954     * If an item changes (state of boolean changes, label or icons change),
17955     * then use elm_genlist_item_update() to have genlist update the item with
17956     * the new state. Genlist will re-realize the item thus call the functions
17957     * in the _Elm_Genlist_Item_Class for that item.
17958     *
17959     * To programmatically (un)select an item use elm_genlist_item_selected_set().
17960     * To get its selected state use elm_genlist_item_selected_get(). Similarly
17961     * to expand/contract an item and get its expanded state, use
17962     * elm_genlist_item_expanded_set() and elm_genlist_item_expanded_get(). And
17963     * again to make an item disabled (unable to be selected and appear
17964     * differently) use elm_genlist_item_disabled_set() to set this and
17965     * elm_genlist_item_disabled_get() to get the disabled state.
17966     *
17967     * In general to indicate how the genlist should expand items horizontally to
17968     * fill the list area, use elm_genlist_horizontal_set(). Valid modes are
17969     * ELM_LIST_LIMIT and ELM_LIST_SCROLL. The default is ELM_LIST_SCROLL. This
17970     * mode means that if items are too wide to fit, the scroller will scroll
17971     * horizontally. Otherwise items are expanded to fill the width of the
17972     * viewport of the scroller. If it is ELM_LIST_LIMIT, items will be expanded
17973     * to the viewport width and limited to that size. This can be combined with
17974     * a different style that uses edjes' ellipsis feature (cutting text off like
17975     * this: "tex...").
17976     *
17977     * Items will only call their selection func and callback when first becoming
17978     * selected. Any further clicks will do nothing, unless you enable always
17979     * select with elm_genlist_always_select_mode_set(). This means even if
17980     * selected, every click will make the selected callbacks be called.
17981     * elm_genlist_no_select_mode_set() will turn off the ability to select
17982     * items entirely and they will neither appear selected nor call selected
17983     * callback functions.
17984     *
17985     * Remember that you can create new styles and add your own theme augmentation
17986     * per application with elm_theme_extension_add(). If you absolutely must
17987     * have a specific style that overrides any theme the user or system sets up
17988     * you can use elm_theme_overlay_add() to add such a file.
17989     *
17990     * @section Genlist_Implementation Implementation
17991     *
17992     * Evas tracks every object you create. Every time it processes an event
17993     * (mouse move, down, up etc.) it needs to walk through objects and find out
17994     * what event that affects. Even worse every time it renders display updates,
17995     * in order to just calculate what to re-draw, it needs to walk through many
17996     * many many objects. Thus, the more objects you keep active, the more
17997     * overhead Evas has in just doing its work. It is advisable to keep your
17998     * active objects to the minimum working set you need. Also remember that
17999     * object creation and deletion carries an overhead, so there is a
18000     * middle-ground, which is not easily determined. But don't keep massive lists
18001     * of objects you can't see or use. Genlist does this with list objects. It
18002     * creates and destroys them dynamically as you scroll around. It groups them
18003     * into blocks so it can determine the visibility etc. of a whole block at
18004     * once as opposed to having to walk the whole list. This 2-level list allows
18005     * for very large numbers of items to be in the list (tests have used up to
18006     * 2,000,000 items). Also genlist employs a queue for adding items. As items
18007     * may be different sizes, every item added needs to be calculated as to its
18008     * size and thus this presents a lot of overhead on populating the list, this
18009     * genlist employs a queue. Any item added is queued and spooled off over
18010     * time, actually appearing some time later, so if your list has many members
18011     * you may find it takes a while for them to all appear, with your process
18012     * consuming a lot of CPU while it is busy spooling.
18013     *
18014     * Genlist also implements a tree structure, but it does so with callbacks to
18015     * the application, with the application filling in tree structures when
18016     * requested (allowing for efficient building of a very deep tree that could
18017     * even be used for file-management). See the above smart signal callbacks for
18018     * details.
18019     *
18020     * @section Genlist_Smart_Events Genlist smart events
18021     *
18022     * Signals that you can add callbacks for are:
18023     * - @c "activated" - The user has double-clicked or pressed
18024     *   (enter|return|spacebar) on an item. The @c event_info parameter is the
18025     *   item that was activated.
18026     * - @c "clicked,double" - The user has double-clicked an item.  The @c
18027     *   event_info parameter is the item that was double-clicked.
18028     * - @c "selected" - This is called when a user has made an item selected.
18029     *   The event_info parameter is the genlist item that was selected.
18030     * - @c "unselected" - This is called when a user has made an item
18031     *   unselected. The event_info parameter is the genlist item that was
18032     *   unselected.
18033     * - @c "expanded" - This is called when elm_genlist_item_expanded_set() is
18034     *   called and the item is now meant to be expanded. The event_info
18035     *   parameter is the genlist item that was indicated to expand.  It is the
18036     *   job of this callback to then fill in the child items.
18037     * - @c "contracted" - This is called when elm_genlist_item_expanded_set() is
18038     *   called and the item is now meant to be contracted. The event_info
18039     *   parameter is the genlist item that was indicated to contract. It is the
18040     *   job of this callback to then delete the child items.
18041     * - @c "expand,request" - This is called when a user has indicated they want
18042     *   to expand a tree branch item. The callback should decide if the item can
18043     *   expand (has any children) and then call elm_genlist_item_expanded_set()
18044     *   appropriately to set the state. The event_info parameter is the genlist
18045     *   item that was indicated to expand.
18046     * - @c "contract,request" - This is called when a user has indicated they
18047     *   want to contract a tree branch item. The callback should decide if the
18048     *   item can contract (has any children) and then call
18049     *   elm_genlist_item_expanded_set() appropriately to set the state. The
18050     *   event_info parameter is the genlist item that was indicated to contract.
18051     * - @c "realized" - This is called when the item in the list is created as a
18052     *   real evas object. event_info parameter is the genlist item that was
18053     *   created. The object may be deleted at any time, so it is up to the
18054     *   caller to not use the object pointer from elm_genlist_item_object_get()
18055     *   in a way where it may point to freed objects.
18056     * - @c "unrealized" - This is called just before an item is unrealized.
18057     *   After this call icon objects provided will be deleted and the item
18058     *   object itself delete or be put into a floating cache.
18059     * - @c "drag,start,up" - This is called when the item in the list has been
18060     *   dragged (not scrolled) up.
18061     * - @c "drag,start,down" - This is called when the item in the list has been
18062     *   dragged (not scrolled) down.
18063     * - @c "drag,start,left" - This is called when the item in the list has been
18064     *   dragged (not scrolled) left.
18065     * - @c "drag,start,right" - This is called when the item in the list has
18066     *   been dragged (not scrolled) right.
18067     * - @c "drag,stop" - This is called when the item in the list has stopped
18068     *   being dragged.
18069     * - @c "drag" - This is called when the item in the list is being dragged.
18070     * - @c "longpressed" - This is called when the item is pressed for a certain
18071     *   amount of time. By default it's 1 second.
18072     * - @c "scroll,anim,start" - This is called when scrolling animation has
18073     *   started.
18074     * - @c "scroll,anim,stop" - This is called when scrolling animation has
18075     *   stopped.
18076     * - @c "scroll,drag,start" - This is called when dragging the content has
18077     *   started.
18078     * - @c "scroll,drag,stop" - This is called when dragging the content has
18079     *   stopped.
18080     * - @c "edge,top" - This is called when the genlist is scrolled until
18081     *   the top edge.
18082     * - @c "edge,bottom" - This is called when the genlist is scrolled
18083     *   until the bottom edge.
18084     * - @c "edge,left" - This is called when the genlist is scrolled
18085     *   until the left edge.
18086     * - @c "edge,right" - This is called when the genlist is scrolled
18087     *   until the right edge.
18088     * - @c "multi,swipe,left" - This is called when the genlist is multi-touch
18089     *   swiped left.
18090     * - @c "multi,swipe,right" - This is called when the genlist is multi-touch
18091     *   swiped right.
18092     * - @c "multi,swipe,up" - This is called when the genlist is multi-touch
18093     *   swiped up.
18094     * - @c "multi,swipe,down" - This is called when the genlist is multi-touch
18095     *   swiped down.
18096     * - @c "multi,pinch,out" - This is called when the genlist is multi-touch
18097     *   pinched out.  "- @c multi,pinch,in" - This is called when the genlist is
18098     *   multi-touch pinched in.
18099     * - @c "swipe" - This is called when the genlist is swiped.
18100     * - @c "moved" - This is called when a genlist item is moved.
18101     * - @c "language,changed" - This is called when the program's language is
18102     *   changed.
18103     *
18104     * @section Genlist_Examples Examples
18105     *
18106     * Here is a list of examples that use the genlist, trying to show some of
18107     * its capabilities:
18108     * - @ref genlist_example_01
18109     * - @ref genlist_example_02
18110     * - @ref genlist_example_03
18111     * - @ref genlist_example_04
18112     * - @ref genlist_example_05
18113     */
18114
18115    /**
18116     * @addtogroup Genlist
18117     * @{
18118     */
18119
18120    /**
18121     * @enum _Elm_Genlist_Item_Flags
18122     * @typedef Elm_Genlist_Item_Flags
18123     *
18124     * Defines if the item is of any special type (has subitems or it's the
18125     * index of a group), or is just a simple item.
18126     *
18127     * @ingroup Genlist
18128     */
18129    typedef enum _Elm_Genlist_Item_Flags
18130      {
18131         ELM_GENLIST_ITEM_NONE = 0, /**< simple item */
18132         ELM_GENLIST_ITEM_SUBITEMS = (1 << 0), /**< may expand and have child items */
18133         ELM_GENLIST_ITEM_GROUP = (1 << 1) /**< index of a group of items */
18134      } Elm_Genlist_Item_Flags;
18135    typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class;  /**< Genlist item class definition structs */
18136    #define Elm_Genlist_Item_Class Elm_Gen_Item_Class
18137    typedef struct _Elm_Genlist_Item       Elm_Genlist_Item; /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
18138    #define Elm_Genlist_Item Elm_Gen_Item /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
18139    typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func; /**< Class functions for genlist item class */
18140    typedef char        *(*Elm_Genlist_Item_Label_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< Label fetching class function for genlist item classes. */
18141    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. */
18142    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. */
18143    typedef void         (*Elm_Genlist_Item_Del_Cb)      (void *data, Evas_Object *obj); /**< Deletion class function for genlist item classes. */
18144
18145    /**
18146     * @struct _Elm_Genlist_Item_Class
18147     *
18148     * Genlist item class definition structs.
18149     *
18150     * This struct contains the style and fetching functions that will define the
18151     * contents of each item.
18152     *
18153     * @see @ref Genlist_Item_Class
18154     */
18155    struct _Elm_Genlist_Item_Class
18156      {
18157         const char                *item_style; /**< style of this class. */
18158         struct Elm_Genlist_Item_Class_Func
18159           {
18160              Elm_Genlist_Item_Label_Get_Cb  label_get; /**< Label fetching class function for genlist item classes.*/
18161              Elm_Genlist_Item_Icon_Get_Cb   icon_get; /**< Icon fetching class function for genlist item classes. */
18162              Elm_Genlist_Item_State_Get_Cb  state_get; /**< State fetching class function for genlist item classes. */
18163              Elm_Genlist_Item_Del_Cb        del; /**< Deletion class function for genlist item classes. */
18164           } func;
18165      };
18166    #define Elm_Genlist_Item_Class_Func Elm_Gen_Item_Class_Func
18167    /**
18168     * Add a new genlist widget to the given parent Elementary
18169     * (container) object
18170     *
18171     * @param parent The parent object
18172     * @return a new genlist widget handle or @c NULL, on errors
18173     *
18174     * This function inserts a new genlist widget on the canvas.
18175     *
18176     * @see elm_genlist_item_append()
18177     * @see elm_genlist_item_del()
18178     * @see elm_genlist_clear()
18179     *
18180     * @ingroup Genlist
18181     */
18182    EAPI Evas_Object      *elm_genlist_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
18183    /**
18184     * Remove all items from a given genlist widget.
18185     *
18186     * @param obj The genlist object
18187     *
18188     * This removes (and deletes) all items in @p obj, leaving it empty.
18189     *
18190     * @see elm_genlist_item_del(), to remove just one item.
18191     *
18192     * @ingroup Genlist
18193     */
18194    EINA_DEPRECATED EAPI void elm_genlist_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
18195    /**
18196     * Enable or disable multi-selection in the genlist
18197     *
18198     * @param obj The genlist object
18199     * @param multi Multi-select enable/disable. Default is disabled.
18200     *
18201     * This enables (@c EINA_TRUE) or disables (@c EINA_FALSE) multi-selection in
18202     * the list. This allows more than 1 item to be selected. To retrieve the list
18203     * of selected items, use elm_genlist_selected_items_get().
18204     *
18205     * @see elm_genlist_selected_items_get()
18206     * @see elm_genlist_multi_select_get()
18207     *
18208     * @ingroup Genlist
18209     */
18210    EAPI void              elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
18211    /**
18212     * Gets if multi-selection in genlist is enabled or disabled.
18213     *
18214     * @param obj The genlist object
18215     * @return Multi-select enabled/disabled
18216     * (@c EINA_TRUE = enabled/@c EINA_FALSE = disabled). Default is @c EINA_FALSE.
18217     *
18218     * @see elm_genlist_multi_select_set()
18219     *
18220     * @ingroup Genlist
18221     */
18222    EAPI Eina_Bool         elm_genlist_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18223    /**
18224     * This sets the horizontal stretching mode.
18225     *
18226     * @param obj The genlist object
18227     * @param mode The mode to use (one of #ELM_LIST_SCROLL or #ELM_LIST_LIMIT).
18228     *
18229     * This sets the mode used for sizing items horizontally. Valid modes
18230     * are #ELM_LIST_LIMIT and #ELM_LIST_SCROLL. The default is
18231     * ELM_LIST_SCROLL. This mode means that if items are too wide to fit,
18232     * the scroller will scroll horizontally. Otherwise items are expanded
18233     * to fill the width of the viewport of the scroller. If it is
18234     * ELM_LIST_LIMIT, items will be expanded to the viewport width and
18235     * limited to that size.
18236     *
18237     * @see elm_genlist_horizontal_get()
18238     *
18239     * @ingroup Genlist
18240     */
18241    EAPI void              elm_genlist_horizontal_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
18242    EINA_DEPRECATED EAPI void              elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
18243    /**
18244     * Gets the horizontal stretching mode.
18245     *
18246     * @param obj The genlist object
18247     * @return The mode to use
18248     * (#ELM_LIST_LIMIT, #ELM_LIST_SCROLL)
18249     *
18250     * @see elm_genlist_horizontal_set()
18251     *
18252     * @ingroup Genlist
18253     */
18254    EAPI Elm_List_Mode     elm_genlist_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18255    EINA_DEPRECATED EAPI Elm_List_Mode     elm_genlist_horizontal_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18256    /**
18257     * Set the always select mode.
18258     *
18259     * @param obj The genlist object
18260     * @param always_select The always select mode (@c EINA_TRUE = on, @c
18261     * EINA_FALSE = off). Default is @c EINA_FALSE.
18262     *
18263     * Items will only call their selection func and callback when first
18264     * becoming selected. Any further clicks will do nothing, unless you
18265     * enable always select with elm_genlist_always_select_mode_set().
18266     * This means that, even if selected, every click will make the selected
18267     * callbacks be called.
18268     *
18269     * @see elm_genlist_always_select_mode_get()
18270     *
18271     * @ingroup Genlist
18272     */
18273    EAPI void              elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
18274    /**
18275     * Get the always select mode.
18276     *
18277     * @param obj The genlist object
18278     * @return The always select mode
18279     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18280     *
18281     * @see elm_genlist_always_select_mode_set()
18282     *
18283     * @ingroup Genlist
18284     */
18285    EAPI Eina_Bool         elm_genlist_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18286    /**
18287     * Enable/disable the no select mode.
18288     *
18289     * @param obj The genlist object
18290     * @param no_select The no select mode
18291     * (EINA_TRUE = on, EINA_FALSE = off)
18292     *
18293     * This will turn off the ability to select items entirely and they
18294     * will neither appear selected nor call selected callback functions.
18295     *
18296     * @see elm_genlist_no_select_mode_get()
18297     *
18298     * @ingroup Genlist
18299     */
18300    EAPI void              elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
18301    /**
18302     * Gets whether the no select mode is enabled.
18303     *
18304     * @param obj The genlist object
18305     * @return The no select mode
18306     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18307     *
18308     * @see elm_genlist_no_select_mode_set()
18309     *
18310     * @ingroup Genlist
18311     */
18312    EAPI Eina_Bool         elm_genlist_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18313    /**
18314     * Enable/disable compress mode.
18315     *
18316     * @param obj The genlist object
18317     * @param compress The compress mode
18318     * (@c EINA_TRUE = on, @c EINA_FALSE = off). Default is @c EINA_FALSE.
18319     *
18320     * This will enable the compress mode where items are "compressed"
18321     * horizontally to fit the genlist scrollable viewport width. This is
18322     * special for genlist.  Do not rely on
18323     * elm_genlist_horizontal_set() being set to @c ELM_LIST_COMPRESS to
18324     * work as genlist needs to handle it specially.
18325     *
18326     * @see elm_genlist_compress_mode_get()
18327     *
18328     * @ingroup Genlist
18329     */
18330    EAPI void              elm_genlist_compress_mode_set(Evas_Object *obj, Eina_Bool compress) EINA_ARG_NONNULL(1);
18331    /**
18332     * Get whether the compress mode is enabled.
18333     *
18334     * @param obj The genlist object
18335     * @return The compress mode
18336     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18337     *
18338     * @see elm_genlist_compress_mode_set()
18339     *
18340     * @ingroup Genlist
18341     */
18342    EAPI Eina_Bool         elm_genlist_compress_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18343    /**
18344     * Enable/disable height-for-width mode.
18345     *
18346     * @param obj The genlist object
18347     * @param setting The height-for-width mode (@c EINA_TRUE = on,
18348     * @c EINA_FALSE = off). Default is @c EINA_FALSE.
18349     *
18350     * With height-for-width mode the item width will be fixed (restricted
18351     * to a minimum of) to the list width when calculating its size in
18352     * order to allow the height to be calculated based on it. This allows,
18353     * for instance, text block to wrap lines if the Edje part is
18354     * configured with "text.min: 0 1".
18355     *
18356     * @note This mode will make list resize slower as it will have to
18357     *       recalculate every item height again whenever the list width
18358     *       changes!
18359     *
18360     * @note When height-for-width mode is enabled, it also enables
18361     *       compress mode (see elm_genlist_compress_mode_set()) and
18362     *       disables homogeneous (see elm_genlist_homogeneous_set()).
18363     *
18364     * @ingroup Genlist
18365     */
18366    EAPI void              elm_genlist_height_for_width_mode_set(Evas_Object *obj, Eina_Bool height_for_width) EINA_ARG_NONNULL(1);
18367    /**
18368     * Get whether the height-for-width mode is enabled.
18369     *
18370     * @param obj The genlist object
18371     * @return The height-for-width mode (@c EINA_TRUE = on, @c EINA_FALSE =
18372     * off)
18373     *
18374     * @ingroup Genlist
18375     */
18376    EAPI Eina_Bool         elm_genlist_height_for_width_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18377    /**
18378     * Enable/disable horizontal and vertical bouncing effect.
18379     *
18380     * @param obj The genlist object
18381     * @param h_bounce Allow bounce horizontally (@c EINA_TRUE = on, @c
18382     * EINA_FALSE = off). Default is @c EINA_FALSE.
18383     * @param v_bounce Allow bounce vertically (@c EINA_TRUE = on, @c
18384     * EINA_FALSE = off). Default is @c EINA_TRUE.
18385     *
18386     * This will enable or disable the scroller bouncing effect for the
18387     * genlist. See elm_scroller_bounce_set() for details.
18388     *
18389     * @see elm_scroller_bounce_set()
18390     * @see elm_genlist_bounce_get()
18391     *
18392     * @ingroup Genlist
18393     */
18394    EAPI void              elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
18395    /**
18396     * Get whether the horizontal and vertical bouncing effect is enabled.
18397     *
18398     * @param obj The genlist object
18399     * @param h_bounce Pointer to a bool to receive if the bounce horizontally
18400     * option is set.
18401     * @param v_bounce Pointer to a bool to receive if the bounce vertically
18402     * option is set.
18403     *
18404     * @see elm_genlist_bounce_set()
18405     *
18406     * @ingroup Genlist
18407     */
18408    EAPI void              elm_genlist_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
18409    /**
18410     * Enable/disable homogenous mode.
18411     *
18412     * @param obj The genlist object
18413     * @param homogeneous Assume the items within the genlist are of the
18414     * same height and width (EINA_TRUE = on, EINA_FALSE = off). Default is @c
18415     * EINA_FALSE.
18416     *
18417     * This will enable the homogeneous mode where items are of the same
18418     * height and width so that genlist may do the lazy-loading at its
18419     * maximum (which increases the performance for scrolling the list). This
18420     * implies 'compressed' mode.
18421     *
18422     * @see elm_genlist_compress_mode_set()
18423     * @see elm_genlist_homogeneous_get()
18424     *
18425     * @ingroup Genlist
18426     */
18427    EAPI void              elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
18428    /**
18429     * Get whether the homogenous mode is enabled.
18430     *
18431     * @param obj The genlist object
18432     * @return Assume the items within the genlist are of the same height
18433     * and width (EINA_TRUE = on, EINA_FALSE = off)
18434     *
18435     * @see elm_genlist_homogeneous_set()
18436     *
18437     * @ingroup Genlist
18438     */
18439    EAPI Eina_Bool         elm_genlist_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18440    /**
18441     * Set the maximum number of items within an item block
18442     *
18443     * @param obj The genlist object
18444     * @param n   Maximum number of items within an item block. Default is 32.
18445     *
18446     * This will configure the block count to tune to the target with
18447     * particular performance matrix.
18448     *
18449     * A block of objects will be used to reduce the number of operations due to
18450     * many objects in the screen. It can determine the visibility, or if the
18451     * object has changed, it theme needs to be updated, etc. doing this kind of
18452     * calculation to the entire block, instead of per object.
18453     *
18454     * The default value for the block count is enough for most lists, so unless
18455     * you know you will have a lot of objects visible in the screen at the same
18456     * time, don't try to change this.
18457     *
18458     * @see elm_genlist_block_count_get()
18459     * @see @ref Genlist_Implementation
18460     *
18461     * @ingroup Genlist
18462     */
18463    EAPI void              elm_genlist_block_count_set(Evas_Object *obj, int n) EINA_ARG_NONNULL(1);
18464    /**
18465     * Get the maximum number of items within an item block
18466     *
18467     * @param obj The genlist object
18468     * @return Maximum number of items within an item block
18469     *
18470     * @see elm_genlist_block_count_set()
18471     *
18472     * @ingroup Genlist
18473     */
18474    EAPI int               elm_genlist_block_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18475    /**
18476     * Set the timeout in seconds for the longpress event.
18477     *
18478     * @param obj The genlist object
18479     * @param timeout timeout in seconds. Default is 1.
18480     *
18481     * This option will change how long it takes to send an event "longpressed"
18482     * after the mouse down signal is sent to the list. If this event occurs, no
18483     * "clicked" event will be sent.
18484     *
18485     * @see elm_genlist_longpress_timeout_set()
18486     *
18487     * @ingroup Genlist
18488     */
18489    EAPI void              elm_genlist_longpress_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
18490    /**
18491     * Get the timeout in seconds for the longpress event.
18492     *
18493     * @param obj The genlist object
18494     * @return timeout in seconds
18495     *
18496     * @see elm_genlist_longpress_timeout_get()
18497     *
18498     * @ingroup Genlist
18499     */
18500    EAPI double            elm_genlist_longpress_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18501    /**
18502     * Append a new item in a given genlist widget.
18503     *
18504     * @param obj The genlist object
18505     * @param itc The item class for the item
18506     * @param data The item data
18507     * @param parent The parent item, or NULL if none
18508     * @param flags Item flags
18509     * @param func Convenience function called when the item is selected
18510     * @param func_data Data passed to @p func above.
18511     * @return A handle to the item added or @c NULL if not possible
18512     *
18513     * This adds the given item to the end of the list or the end of
18514     * the children list if the @p parent is given.
18515     *
18516     * @see elm_genlist_item_prepend()
18517     * @see elm_genlist_item_insert_before()
18518     * @see elm_genlist_item_insert_after()
18519     * @see elm_genlist_item_del()
18520     *
18521     * @ingroup Genlist
18522     */
18523    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);
18524    /**
18525     * Prepend a new item in a given genlist widget.
18526     *
18527     * @param obj The genlist object
18528     * @param itc The item class for the item
18529     * @param data The item data
18530     * @param parent The parent item, or NULL if none
18531     * @param flags Item flags
18532     * @param func Convenience function called when the item is selected
18533     * @param func_data Data passed to @p func above.
18534     * @return A handle to the item added or NULL if not possible
18535     *
18536     * This adds an item to the beginning of the list or beginning of the
18537     * children of the parent if given.
18538     *
18539     * @see elm_genlist_item_append()
18540     * @see elm_genlist_item_insert_before()
18541     * @see elm_genlist_item_insert_after()
18542     * @see elm_genlist_item_del()
18543     *
18544     * @ingroup Genlist
18545     */
18546    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);
18547    /**
18548     * Insert an item before another in a genlist widget
18549     *
18550     * @param obj The genlist object
18551     * @param itc The item class for the item
18552     * @param data The item data
18553     * @param before The item to place this new one before.
18554     * @param flags Item flags
18555     * @param func Convenience function called when the item is selected
18556     * @param func_data Data passed to @p func above.
18557     * @return A handle to the item added or @c NULL if not possible
18558     *
18559     * This inserts an item before another in the list. It will be in the
18560     * same tree level or group as the item it is inserted before.
18561     *
18562     * @see elm_genlist_item_append()
18563     * @see elm_genlist_item_prepend()
18564     * @see elm_genlist_item_insert_after()
18565     * @see elm_genlist_item_del()
18566     *
18567     * @ingroup Genlist
18568     */
18569    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);
18570    /**
18571     * Insert an item after another in a genlist widget
18572     *
18573     * @param obj The genlist object
18574     * @param itc The item class for the item
18575     * @param data The item data
18576     * @param after The item to place this new one after.
18577     * @param flags Item flags
18578     * @param func Convenience function called when the item is selected
18579     * @param func_data Data passed to @p func above.
18580     * @return A handle to the item added or @c NULL if not possible
18581     *
18582     * This inserts an item after another in the list. It will be in the
18583     * same tree level or group as the item it is inserted after.
18584     *
18585     * @see elm_genlist_item_append()
18586     * @see elm_genlist_item_prepend()
18587     * @see elm_genlist_item_insert_before()
18588     * @see elm_genlist_item_del()
18589     *
18590     * @ingroup Genlist
18591     */
18592    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);
18593    /**
18594     * Insert a new item into the sorted genlist object
18595     *
18596     * @param obj The genlist object
18597     * @param itc The item class for the item
18598     * @param data The item data
18599     * @param parent The parent item, or NULL if none
18600     * @param flags Item flags
18601     * @param comp The function called for the sort
18602     * @param func Convenience function called when item selected
18603     * @param func_data Data passed to @p func above.
18604     * @return A handle to the item added or NULL if not possible
18605     *
18606     * @ingroup Genlist
18607     */
18608    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);
18609    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);
18610    /* operations to retrieve existing items */
18611    /**
18612     * Get the selectd item in the genlist.
18613     *
18614     * @param obj The genlist object
18615     * @return The selected item, or NULL if none is selected.
18616     *
18617     * This gets the selected item in the list (if multi-selection is enabled, only
18618     * the item that was first selected in the list is returned - which is not very
18619     * useful, so see elm_genlist_selected_items_get() for when multi-selection is
18620     * used).
18621     *
18622     * If no item is selected, NULL is returned.
18623     *
18624     * @see elm_genlist_selected_items_get()
18625     *
18626     * @ingroup Genlist
18627     */
18628    EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18629    /**
18630     * Get a list of selected items in the genlist.
18631     *
18632     * @param obj The genlist object
18633     * @return The list of selected items, or NULL if none are selected.
18634     *
18635     * It returns a list of the selected items. This list pointer is only valid so
18636     * long as the selection doesn't change (no items are selected or unselected, or
18637     * unselected implicitly by deletion). The list contains Elm_Genlist_Item
18638     * pointers. The order of the items in this list is the order which they were
18639     * selected, i.e. the first item in this list is the first item that was
18640     * selected, and so on.
18641     *
18642     * @note If not in multi-select mode, consider using function
18643     * elm_genlist_selected_item_get() instead.
18644     *
18645     * @see elm_genlist_multi_select_set()
18646     * @see elm_genlist_selected_item_get()
18647     *
18648     * @ingroup Genlist
18649     */
18650    EAPI const Eina_List  *elm_genlist_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18651    /**
18652     * Get the mode item style of items in the genlist
18653     * @param obj The genlist object
18654     * @return The mode item style string, or NULL if none is specified
18655     * 
18656     * This is a constant string and simply defines the name of the
18657     * style that will be used for mode animations. It can be
18658     * @c NULL if you don't plan to use Genlist mode. See
18659     * elm_genlist_item_mode_set() for more info.
18660     * 
18661     * @ingroup Genlist
18662     */
18663    EAPI const char       *elm_genlist_mode_item_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18664    /**
18665     * Set the mode item style of items in the genlist
18666     * @param obj The genlist object
18667     * @param style The mode item style string, or NULL if none is desired
18668     * 
18669     * This is a constant string and simply defines the name of the
18670     * style that will be used for mode animations. It can be
18671     * @c NULL if you don't plan to use Genlist mode. See
18672     * elm_genlist_item_mode_set() for more info.
18673     * 
18674     * @ingroup Genlist
18675     */
18676    EAPI void              elm_genlist_mode_item_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
18677    /**
18678     * Get a list of realized items in genlist
18679     *
18680     * @param obj The genlist object
18681     * @return The list of realized items, nor NULL if none are realized.
18682     *
18683     * This returns a list of the realized items in the genlist. The list
18684     * contains Elm_Genlist_Item pointers. The list must be freed by the
18685     * caller when done with eina_list_free(). The item pointers in the
18686     * list are only valid so long as those items are not deleted or the
18687     * genlist is not deleted.
18688     *
18689     * @see elm_genlist_realized_items_update()
18690     *
18691     * @ingroup Genlist
18692     */
18693    EAPI Eina_List        *elm_genlist_realized_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18694    /**
18695     * Get the item that is at the x, y canvas coords.
18696     *
18697     * @param obj The gelinst object.
18698     * @param x The input x coordinate
18699     * @param y The input y coordinate
18700     * @param posret The position relative to the item returned here
18701     * @return The item at the coordinates or NULL if none
18702     *
18703     * This returns the item at the given coordinates (which are canvas
18704     * relative, not object-relative). If an item is at that coordinate,
18705     * that item handle is returned, and if @p posret is not NULL, the
18706     * integer pointed to is set to a value of -1, 0 or 1, depending if
18707     * the coordinate is on the upper portion of that item (-1), on the
18708     * middle section (0) or on the lower part (1). If NULL is returned as
18709     * an item (no item found there), then posret may indicate -1 or 1
18710     * based if the coordinate is above or below all items respectively in
18711     * the genlist.
18712     *
18713     * @ingroup Genlist
18714     */
18715    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);
18716    /**
18717     * Get the first item in the genlist
18718     *
18719     * This returns the first item in the list.
18720     *
18721     * @param obj The genlist object
18722     * @return The first item, or NULL if none
18723     *
18724     * @ingroup Genlist
18725     */
18726    EAPI Elm_Genlist_Item *elm_genlist_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18727    /**
18728     * Get the last item in the genlist
18729     *
18730     * This returns the last item in the list.
18731     *
18732     * @return The last item, or NULL if none
18733     *
18734     * @ingroup Genlist
18735     */
18736    EAPI Elm_Genlist_Item *elm_genlist_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18737    /**
18738     * Set the scrollbar policy
18739     *
18740     * @param obj The genlist object
18741     * @param policy_h Horizontal scrollbar policy.
18742     * @param policy_v Vertical scrollbar policy.
18743     *
18744     * This sets the scrollbar visibility policy for the given genlist
18745     * scroller. #ELM_SMART_SCROLLER_POLICY_AUTO means the scrollbar is
18746     * made visible if it is needed, and otherwise kept hidden.
18747     * #ELM_SMART_SCROLLER_POLICY_ON turns it on all the time, and
18748     * #ELM_SMART_SCROLLER_POLICY_OFF always keeps it off. This applies
18749     * respectively for the horizontal and vertical scrollbars. Default is
18750     * #ELM_SMART_SCROLLER_POLICY_AUTO
18751     *
18752     * @see elm_genlist_scroller_policy_get()
18753     *
18754     * @ingroup Genlist
18755     */
18756    EAPI void              elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
18757    /**
18758     * Get the scrollbar policy
18759     *
18760     * @param obj The genlist object
18761     * @param policy_h Pointer to store the horizontal scrollbar policy.
18762     * @param policy_v Pointer to store the vertical scrollbar policy.
18763     *
18764     * @see elm_genlist_scroller_policy_set()
18765     *
18766     * @ingroup Genlist
18767     */
18768    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);
18769    /**
18770     * Get the @b next item in a genlist widget's internal list of items,
18771     * given a handle to one of those items.
18772     *
18773     * @param item The genlist item to fetch next from
18774     * @return The item after @p item, or @c NULL if there's none (and
18775     * on errors)
18776     *
18777     * This returns the item placed after the @p item, on the container
18778     * genlist.
18779     *
18780     * @see elm_genlist_item_prev_get()
18781     *
18782     * @ingroup Genlist
18783     */
18784    EAPI Elm_Genlist_Item  *elm_genlist_item_next_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18785    /**
18786     * Get the @b previous item in a genlist widget's internal list of items,
18787     * given a handle to one of those items.
18788     *
18789     * @param item The genlist item to fetch previous from
18790     * @return The item before @p item, or @c NULL if there's none (and
18791     * on errors)
18792     *
18793     * This returns the item placed before the @p item, on the container
18794     * genlist.
18795     *
18796     * @see elm_genlist_item_next_get()
18797     *
18798     * @ingroup Genlist
18799     */
18800    EAPI Elm_Genlist_Item  *elm_genlist_item_prev_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18801    /**
18802     * Get the genlist object's handle which contains a given genlist
18803     * item
18804     *
18805     * @param item The item to fetch the container from
18806     * @return The genlist (parent) object
18807     *
18808     * This returns the genlist object itself that an item belongs to.
18809     *
18810     * @ingroup Genlist
18811     */
18812    EAPI Evas_Object       *elm_genlist_item_genlist_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18813    /**
18814     * Get the parent item of the given item
18815     *
18816     * @param it The item
18817     * @return The parent of the item or @c NULL if it has no parent.
18818     *
18819     * This returns the item that was specified as parent of the item @p it on
18820     * elm_genlist_item_append() and insertion related functions.
18821     *
18822     * @ingroup Genlist
18823     */
18824    EAPI Elm_Genlist_Item  *elm_genlist_item_parent_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
18825    /**
18826     * Remove all sub-items (children) of the given item
18827     *
18828     * @param it The item
18829     *
18830     * This removes all items that are children (and their descendants) of the
18831     * given item @p it.
18832     *
18833     * @see elm_genlist_clear()
18834     * @see elm_genlist_item_del()
18835     *
18836     * @ingroup Genlist
18837     */
18838    EAPI void               elm_genlist_item_subitems_clear(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18839    /**
18840     * Set whether a given genlist item is selected or not
18841     *
18842     * @param it The item
18843     * @param selected Use @c EINA_TRUE, to make it selected, @c
18844     * EINA_FALSE to make it unselected
18845     *
18846     * This sets the selected state of an item. If multi selection is
18847     * not enabled on the containing genlist and @p selected is @c
18848     * EINA_TRUE, any other previously selected items will get
18849     * unselected in favor of this new one.
18850     *
18851     * @see elm_genlist_item_selected_get()
18852     *
18853     * @ingroup Genlist
18854     */
18855    EAPI void               elm_genlist_item_selected_set(Elm_Genlist_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
18856    /**
18857     * Get whether a given genlist item is selected or not
18858     *
18859     * @param it The item
18860     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
18861     *
18862     * @see elm_genlist_item_selected_set() for more details
18863     *
18864     * @ingroup Genlist
18865     */
18866    EAPI Eina_Bool          elm_genlist_item_selected_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18867    /**
18868     * Sets the expanded state of an item.
18869     *
18870     * @param it The item
18871     * @param expanded The expanded state (@c EINA_TRUE expanded, @c EINA_FALSE not expanded).
18872     *
18873     * This function flags the item of type #ELM_GENLIST_ITEM_SUBITEMS as
18874     * expanded or not.
18875     *
18876     * The theme will respond to this change visually, and a signal "expanded" or
18877     * "contracted" will be sent from the genlist with a pointer to the item that
18878     * has been expanded/contracted.
18879     *
18880     * Calling this function won't show or hide any child of this item (if it is
18881     * a parent). You must manually delete and create them on the callbacks fo
18882     * the "expanded" or "contracted" signals.
18883     *
18884     * @see elm_genlist_item_expanded_get()
18885     *
18886     * @ingroup Genlist
18887     */
18888    EAPI void               elm_genlist_item_expanded_set(Elm_Genlist_Item *item, Eina_Bool expanded) EINA_ARG_NONNULL(1);
18889    /**
18890     * Get the expanded state of an item
18891     *
18892     * @param it The item
18893     * @return The expanded state
18894     *
18895     * This gets the expanded state of an item.
18896     *
18897     * @see elm_genlist_item_expanded_set()
18898     *
18899     * @ingroup Genlist
18900     */
18901    EAPI Eina_Bool          elm_genlist_item_expanded_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18902    /**
18903     * Get the depth of expanded item
18904     *
18905     * @param it The genlist item object
18906     * @return The depth of expanded item
18907     *
18908     * @ingroup Genlist
18909     */
18910    EAPI int                elm_genlist_item_expanded_depth_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
18911    /**
18912     * Set whether a given genlist item is disabled or not.
18913     *
18914     * @param it The item
18915     * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
18916     * to enable it back.
18917     *
18918     * A disabled item cannot be selected or unselected. It will also
18919     * change its appearance, to signal the user it's disabled.
18920     *
18921     * @see elm_genlist_item_disabled_get()
18922     *
18923     * @ingroup Genlist
18924     */
18925    EAPI void               elm_genlist_item_disabled_set(Elm_Genlist_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
18926    /**
18927     * Get whether a given genlist item is disabled or not.
18928     *
18929     * @param it The item
18930     * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
18931     * (and on errors).
18932     *
18933     * @see elm_genlist_item_disabled_set() for more details
18934     *
18935     * @ingroup Genlist
18936     */
18937    EAPI Eina_Bool          elm_genlist_item_disabled_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18938    /**
18939     * Sets the display only state of an item.
18940     *
18941     * @param it The item
18942     * @param display_only @c EINA_TRUE if the item is display only, @c
18943     * EINA_FALSE otherwise.
18944     *
18945     * A display only item cannot be selected or unselected. It is for
18946     * display only and not selecting or otherwise clicking, dragging
18947     * etc. by the user, thus finger size rules will not be applied to
18948     * this item.
18949     *
18950     * It's good to set group index items to display only state.
18951     *
18952     * @see elm_genlist_item_display_only_get()
18953     *
18954     * @ingroup Genlist
18955     */
18956    EAPI void               elm_genlist_item_display_only_set(Elm_Genlist_Item *it, Eina_Bool display_only) EINA_ARG_NONNULL(1);
18957    /**
18958     * Get the display only state of an item
18959     *
18960     * @param it The item
18961     * @return @c EINA_TRUE if the item is display only, @c
18962     * EINA_FALSE otherwise.
18963     *
18964     * @see elm_genlist_item_display_only_set()
18965     *
18966     * @ingroup Genlist
18967     */
18968    EAPI Eina_Bool          elm_genlist_item_display_only_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
18969    /**
18970     * Show the portion of a genlist's internal list containing a given
18971     * item, immediately.
18972     *
18973     * @param it The item to display
18974     *
18975     * This causes genlist to jump to the given item @p it and show it (by
18976     * immediately scrolling to that position), if it is not fully visible.
18977     *
18978     * @see elm_genlist_item_bring_in()
18979     * @see elm_genlist_item_top_show()
18980     * @see elm_genlist_item_middle_show()
18981     *
18982     * @ingroup Genlist
18983     */
18984    EAPI void               elm_genlist_item_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
18985    /**
18986     * Animatedly bring in, to the visible are of a genlist, a given
18987     * item on it.
18988     *
18989     * @param it The item to display
18990     *
18991     * This causes genlist to jump to the given item @p it and show it (by
18992     * animatedly scrolling), if it is not fully visible. This may use animation
18993     * to do so and take a period of time
18994     *
18995     * @see elm_genlist_item_show()
18996     * @see elm_genlist_item_top_bring_in()
18997     * @see elm_genlist_item_middle_bring_in()
18998     *
18999     * @ingroup Genlist
19000     */
19001    EAPI void               elm_genlist_item_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19002    /**
19003     * Show the portion of a genlist's internal list containing a given
19004     * item, immediately.
19005     *
19006     * @param it The item to display
19007     *
19008     * This causes genlist to jump to the given item @p it and show it (by
19009     * immediately scrolling to that position), if it is not fully visible.
19010     *
19011     * The item will be positioned at the top of the genlist viewport.
19012     *
19013     * @see elm_genlist_item_show()
19014     * @see elm_genlist_item_top_bring_in()
19015     *
19016     * @ingroup Genlist
19017     */
19018    EAPI void               elm_genlist_item_top_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19019    /**
19020     * Animatedly bring in, to the visible are of a genlist, a given
19021     * item on it.
19022     *
19023     * @param it The item
19024     *
19025     * This causes genlist to jump to the given item @p it and show it (by
19026     * animatedly scrolling), if it is not fully visible. This may use animation
19027     * to do so and take a period of time
19028     *
19029     * The item will be positioned at the top of the genlist viewport.
19030     *
19031     * @see elm_genlist_item_bring_in()
19032     * @see elm_genlist_item_top_show()
19033     *
19034     * @ingroup Genlist
19035     */
19036    EAPI void               elm_genlist_item_top_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19037    /**
19038     * Show the portion of a genlist's internal list containing a given
19039     * item, immediately.
19040     *
19041     * @param it The item to display
19042     *
19043     * This causes genlist to jump to the given item @p it and show it (by
19044     * immediately scrolling to that position), if it is not fully visible.
19045     *
19046     * The item will be positioned at the middle of the genlist viewport.
19047     *
19048     * @see elm_genlist_item_show()
19049     * @see elm_genlist_item_middle_bring_in()
19050     *
19051     * @ingroup Genlist
19052     */
19053    EAPI void               elm_genlist_item_middle_show(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19054    /**
19055     * Animatedly bring in, to the visible are of a genlist, a given
19056     * item on it.
19057     *
19058     * @param it The item
19059     *
19060     * This causes genlist to jump to the given item @p it and show it (by
19061     * animatedly scrolling), if it is not fully visible. This may use animation
19062     * to do so and take a period of time
19063     *
19064     * The item will be positioned at the middle of the genlist viewport.
19065     *
19066     * @see elm_genlist_item_bring_in()
19067     * @see elm_genlist_item_middle_show()
19068     *
19069     * @ingroup Genlist
19070     */
19071    EAPI void               elm_genlist_item_middle_bring_in(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19072    /**
19073     * Remove a genlist item from the its parent, deleting it.
19074     *
19075     * @param item The item to be removed.
19076     * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
19077     *
19078     * @see elm_genlist_clear(), to remove all items in a genlist at
19079     * once.
19080     *
19081     * @ingroup Genlist
19082     */
19083    EAPI void               elm_genlist_item_del(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19084    /**
19085     * Return the data associated to a given genlist item
19086     *
19087     * @param item The genlist item.
19088     * @return the data associated to this item.
19089     *
19090     * This returns the @c data value passed on the
19091     * elm_genlist_item_append() and related item addition calls.
19092     *
19093     * @see elm_genlist_item_append()
19094     * @see elm_genlist_item_data_set()
19095     *
19096     * @ingroup Genlist
19097     */
19098    EAPI void              *elm_genlist_item_data_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19099    /**
19100     * Set the data associated to a given genlist item
19101     *
19102     * @param item The genlist item
19103     * @param data The new data pointer to set on it
19104     *
19105     * This @b overrides the @c data value passed on the
19106     * elm_genlist_item_append() and related item addition calls. This
19107     * function @b won't call elm_genlist_item_update() automatically,
19108     * so you'd issue it afterwards if you want to hove the item
19109     * updated to reflect the that new data.
19110     *
19111     * @see elm_genlist_item_data_get()
19112     *
19113     * @ingroup Genlist
19114     */
19115    EAPI void               elm_genlist_item_data_set(Elm_Genlist_Item *it, const void *data) EINA_ARG_NONNULL(1);
19116    /**
19117     * Tells genlist to "orphan" icons fetchs by the item class
19118     *
19119     * @param it The item
19120     *
19121     * This instructs genlist to release references to icons in the item,
19122     * meaning that they will no longer be managed by genlist and are
19123     * floating "orphans" that can be re-used elsewhere if the user wants
19124     * to.
19125     *
19126     * @ingroup Genlist
19127     */
19128    EAPI void               elm_genlist_item_icons_orphan(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19129    /**
19130     * Get the real Evas object created to implement the view of a
19131     * given genlist item
19132     *
19133     * @param item The genlist item.
19134     * @return the Evas object implementing this item's view.
19135     *
19136     * This returns the actual Evas object used to implement the
19137     * specified genlist item's view. This may be @c NULL, as it may
19138     * not have been created or may have been deleted, at any time, by
19139     * the genlist. <b>Do not modify this object</b> (move, resize,
19140     * show, hide, etc.), as the genlist is controlling it. This
19141     * function is for querying, emitting custom signals or hooking
19142     * lower level callbacks for events on that object. Do not delete
19143     * this object under any circumstances.
19144     *
19145     * @see elm_genlist_item_data_get()
19146     *
19147     * @ingroup Genlist
19148     */
19149    EAPI const Evas_Object *elm_genlist_item_object_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19150    /**
19151     * Update the contents of an item
19152     *
19153     * @param it The item
19154     *
19155     * This updates an item by calling all the item class functions again
19156     * to get the icons, labels and states. Use this when the original
19157     * item data has changed and the changes are desired to be reflected.
19158     *
19159     * Use elm_genlist_realized_items_update() to update all already realized
19160     * items.
19161     *
19162     * @see elm_genlist_realized_items_update()
19163     *
19164     * @ingroup Genlist
19165     */
19166    EAPI void               elm_genlist_item_update(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19167    /**
19168     * Update the item class of an item
19169     *
19170     * @param it The item
19171     * @param itc The item class for the item
19172     *
19173     * This sets another class fo the item, changing the way that it is
19174     * displayed. After changing the item class, elm_genlist_item_update() is
19175     * called on the item @p it.
19176     *
19177     * @ingroup Genlist
19178     */
19179    EAPI void               elm_genlist_item_item_class_update(Elm_Genlist_Item *it, const Elm_Genlist_Item_Class *itc) EINA_ARG_NONNULL(1, 2);
19180    EAPI const Elm_Genlist_Item_Class *elm_genlist_item_item_class_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19181    /**
19182     * Set the text to be shown in a given genlist item's tooltips.
19183     *
19184     * @param item The genlist item
19185     * @param text The text to set in the content
19186     *
19187     * This call will setup the text to be used as tooltip to that item
19188     * (analogous to elm_object_tooltip_text_set(), but being item
19189     * tooltips with higher precedence than object tooltips). It can
19190     * have only one tooltip at a time, so any previous tooltip data
19191     * will get removed.
19192     *
19193     * In order to set an icon or something else as a tooltip, look at
19194     * elm_genlist_item_tooltip_content_cb_set().
19195     *
19196     * @ingroup Genlist
19197     */
19198    EAPI void               elm_genlist_item_tooltip_text_set(Elm_Genlist_Item *item, const char *text) EINA_ARG_NONNULL(1);
19199    /**
19200     * Set the content to be shown in a given genlist item's tooltips
19201     *
19202     * @param item The genlist item.
19203     * @param func The function returning the tooltip contents.
19204     * @param data What to provide to @a func as callback data/context.
19205     * @param del_cb Called when data is not needed anymore, either when
19206     *        another callback replaces @p func, the tooltip is unset with
19207     *        elm_genlist_item_tooltip_unset() or the owner @p item
19208     *        dies. This callback receives as its first parameter the
19209     *        given @p data, being @c event_info the item handle.
19210     *
19211     * This call will setup the tooltip's contents to @p item
19212     * (analogous to elm_object_tooltip_content_cb_set(), but being
19213     * item tooltips with higher precedence than object tooltips). It
19214     * can have only one tooltip at a time, so any previous tooltip
19215     * content will get removed. @p func (with @p data) will be called
19216     * every time Elementary needs to show the tooltip and it should
19217     * return a valid Evas object, which will be fully managed by the
19218     * tooltip system, getting deleted when the tooltip is gone.
19219     *
19220     * In order to set just a text as a tooltip, look at
19221     * elm_genlist_item_tooltip_text_set().
19222     *
19223     * @ingroup Genlist
19224     */
19225    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);
19226    /**
19227     * Unset a tooltip from a given genlist item
19228     *
19229     * @param item genlist item to remove a previously set tooltip from.
19230     *
19231     * This call removes any tooltip set on @p item. The callback
19232     * provided as @c del_cb to
19233     * elm_genlist_item_tooltip_content_cb_set() will be called to
19234     * notify it is not used anymore (and have resources cleaned, if
19235     * need be).
19236     *
19237     * @see elm_genlist_item_tooltip_content_cb_set()
19238     *
19239     * @ingroup Genlist
19240     */
19241    EAPI void               elm_genlist_item_tooltip_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19242    /**
19243     * Set a different @b style for a given genlist item's tooltip.
19244     *
19245     * @param item genlist item with tooltip set
19246     * @param style the <b>theme style</b> to use on tooltips (e.g. @c
19247     * "default", @c "transparent", etc)
19248     *
19249     * Tooltips can have <b>alternate styles</b> to be displayed on,
19250     * which are defined by the theme set on Elementary. This function
19251     * works analogously as elm_object_tooltip_style_set(), but here
19252     * applied only to genlist item objects. The default style for
19253     * tooltips is @c "default".
19254     *
19255     * @note before you set a style you should define a tooltip with
19256     *       elm_genlist_item_tooltip_content_cb_set() or
19257     *       elm_genlist_item_tooltip_text_set()
19258     *
19259     * @see elm_genlist_item_tooltip_style_get()
19260     *
19261     * @ingroup Genlist
19262     */
19263    EAPI void               elm_genlist_item_tooltip_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
19264    /**
19265     * Get the style set a given genlist item's tooltip.
19266     *
19267     * @param item genlist item with tooltip already set on.
19268     * @return style the theme style in use, which defaults to
19269     *         "default". If the object does not have a tooltip set,
19270     *         then @c NULL is returned.
19271     *
19272     * @see elm_genlist_item_tooltip_style_set() for more details
19273     *
19274     * @ingroup Genlist
19275     */
19276    EAPI const char        *elm_genlist_item_tooltip_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19277    /**
19278     * @brief Disable size restrictions on an object's tooltip
19279     * @param item The tooltip's anchor object
19280     * @param disable If EINA_TRUE, size restrictions are disabled
19281     * @return EINA_FALSE on failure, EINA_TRUE on success
19282     *
19283     * This function allows a tooltip to expand beyond its parant window's canvas.
19284     * It will instead be limited only by the size of the display.
19285     */
19286    EAPI Eina_Bool          elm_genlist_item_tooltip_size_restrict_disable(Elm_Genlist_Item *item, Eina_Bool disable);
19287    /**
19288     * @brief Retrieve size restriction state of an object's tooltip
19289     * @param item The tooltip's anchor object
19290     * @return If EINA_TRUE, size restrictions are disabled
19291     *
19292     * This function returns whether a tooltip is allowed to expand beyond
19293     * its parant window's canvas.
19294     * It will instead be limited only by the size of the display.
19295     */
19296    EAPI Eina_Bool          elm_genlist_item_tooltip_size_restrict_disabled_get(const Elm_Genlist_Item *item);
19297    /**
19298     * Set the type of mouse pointer/cursor decoration to be shown,
19299     * when the mouse pointer is over the given genlist widget item
19300     *
19301     * @param item genlist item to customize cursor on
19302     * @param cursor the cursor type's name
19303     *
19304     * This function works analogously as elm_object_cursor_set(), but
19305     * here the cursor's changing area is restricted to the item's
19306     * area, and not the whole widget's. Note that that item cursors
19307     * have precedence over widget cursors, so that a mouse over @p
19308     * item will always show cursor @p type.
19309     *
19310     * If this function is called twice for an object, a previously set
19311     * cursor will be unset on the second call.
19312     *
19313     * @see elm_object_cursor_set()
19314     * @see elm_genlist_item_cursor_get()
19315     * @see elm_genlist_item_cursor_unset()
19316     *
19317     * @ingroup Genlist
19318     */
19319    EAPI void               elm_genlist_item_cursor_set(Elm_Genlist_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
19320    /**
19321     * Get the type of mouse pointer/cursor decoration set to be shown,
19322     * when the mouse pointer is over the given genlist widget item
19323     *
19324     * @param item genlist item with custom cursor set
19325     * @return the cursor type's name or @c NULL, if no custom cursors
19326     * were set to @p item (and on errors)
19327     *
19328     * @see elm_object_cursor_get()
19329     * @see elm_genlist_item_cursor_set() for more details
19330     * @see elm_genlist_item_cursor_unset()
19331     *
19332     * @ingroup Genlist
19333     */
19334    EAPI const char        *elm_genlist_item_cursor_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19335    /**
19336     * Unset any custom mouse pointer/cursor decoration set to be
19337     * shown, when the mouse pointer is over the given genlist widget
19338     * item, thus making it show the @b default cursor again.
19339     *
19340     * @param item a genlist item
19341     *
19342     * Use this call to undo any custom settings on this item's cursor
19343     * decoration, bringing it back to defaults (no custom style set).
19344     *
19345     * @see elm_object_cursor_unset()
19346     * @see elm_genlist_item_cursor_set() for more details
19347     *
19348     * @ingroup Genlist
19349     */
19350    EAPI void               elm_genlist_item_cursor_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19351    /**
19352     * Set a different @b style for a given custom cursor set for a
19353     * genlist item.
19354     *
19355     * @param item genlist item with custom cursor set
19356     * @param style the <b>theme style</b> to use (e.g. @c "default",
19357     * @c "transparent", etc)
19358     *
19359     * This function only makes sense when one is using custom mouse
19360     * cursor decorations <b>defined in a theme file</b> , which can
19361     * have, given a cursor name/type, <b>alternate styles</b> on
19362     * it. It works analogously as elm_object_cursor_style_set(), but
19363     * here applied only to genlist item objects.
19364     *
19365     * @warning Before you set a cursor style you should have defined a
19366     *       custom cursor previously on the item, with
19367     *       elm_genlist_item_cursor_set()
19368     *
19369     * @see elm_genlist_item_cursor_engine_only_set()
19370     * @see elm_genlist_item_cursor_style_get()
19371     *
19372     * @ingroup Genlist
19373     */
19374    EAPI void               elm_genlist_item_cursor_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
19375    /**
19376     * Get the current @b style set for a given genlist item's custom
19377     * cursor
19378     *
19379     * @param item genlist item with custom cursor set.
19380     * @return style the cursor style in use. If the object does not
19381     *         have a cursor set, then @c NULL is returned.
19382     *
19383     * @see elm_genlist_item_cursor_style_set() for more details
19384     *
19385     * @ingroup Genlist
19386     */
19387    EAPI const char        *elm_genlist_item_cursor_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19388    /**
19389     * Set if the (custom) cursor for a given genlist item should be
19390     * searched in its theme, also, or should only rely on the
19391     * rendering engine.
19392     *
19393     * @param item item with custom (custom) cursor already set on
19394     * @param engine_only Use @c EINA_TRUE to have cursors looked for
19395     * only on those provided by the rendering engine, @c EINA_FALSE to
19396     * have them searched on the widget's theme, as well.
19397     *
19398     * @note This call is of use only if you've set a custom cursor
19399     * for genlist items, with elm_genlist_item_cursor_set().
19400     *
19401     * @note By default, cursors will only be looked for between those
19402     * provided by the rendering engine.
19403     *
19404     * @ingroup Genlist
19405     */
19406    EAPI void               elm_genlist_item_cursor_engine_only_set(Elm_Genlist_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
19407    /**
19408     * Get if the (custom) cursor for a given genlist item is being
19409     * searched in its theme, also, or is only relying on the rendering
19410     * engine.
19411     *
19412     * @param item a genlist item
19413     * @return @c EINA_TRUE, if cursors are being looked for only on
19414     * those provided by the rendering engine, @c EINA_FALSE if they
19415     * are being searched on the widget's theme, as well.
19416     *
19417     * @see elm_genlist_item_cursor_engine_only_set(), for more details
19418     *
19419     * @ingroup Genlist
19420     */
19421    EAPI Eina_Bool          elm_genlist_item_cursor_engine_only_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19422    /**
19423     * Update the contents of all realized items.
19424     *
19425     * @param obj The genlist object.
19426     *
19427     * This updates all realized items by calling all the item class functions again
19428     * to get the icons, labels and states. Use this when the original
19429     * item data has changed and the changes are desired to be reflected.
19430     *
19431     * To update just one item, use elm_genlist_item_update().
19432     *
19433     * @see elm_genlist_realized_items_get()
19434     * @see elm_genlist_item_update()
19435     *
19436     * @ingroup Genlist
19437     */
19438    EAPI void               elm_genlist_realized_items_update(Evas_Object *obj) EINA_ARG_NONNULL(1);
19439    /**
19440     * Activate a genlist mode on an item
19441     *
19442     * @param item The genlist item
19443     * @param mode Mode name
19444     * @param mode_set Boolean to define set or unset mode.
19445     *
19446     * A genlist mode is a different way of selecting an item. Once a mode is
19447     * activated on an item, any other selected item is immediately unselected.
19448     * This feature provides an easy way of implementing a new kind of animation
19449     * for selecting an item, without having to entirely rewrite the item style
19450     * theme. However, the elm_genlist_selected_* API can't be used to get what
19451     * item is activate for a mode.
19452     *
19453     * The current item style will still be used, but applying a genlist mode to
19454     * an item will select it using a different kind of animation.
19455     *
19456     * The current active item for a mode can be found by
19457     * elm_genlist_mode_item_get().
19458     *
19459     * The characteristics of genlist mode are:
19460     * - Only one mode can be active at any time, and for only one item.
19461     * - Genlist handles deactivating other items when one item is activated.
19462     * - A mode is defined in the genlist theme (edc), and more modes can easily
19463     *   be added.
19464     * - A mode style and the genlist item style are different things. They
19465     *   can be combined to provide a default style to the item, with some kind
19466     *   of animation for that item when the mode is activated.
19467     *
19468     * When a mode is activated on an item, a new view for that item is created.
19469     * The theme of this mode defines the animation that will be used to transit
19470     * the item from the old view to the new view. This second (new) view will be
19471     * active for that item while the mode is active on the item, and will be
19472     * destroyed after the mode is totally deactivated from that item.
19473     *
19474     * @see elm_genlist_mode_get()
19475     * @see elm_genlist_mode_item_get()
19476     *
19477     * @ingroup Genlist
19478     */
19479    EAPI void               elm_genlist_item_mode_set(Elm_Genlist_Item *it, const char *mode_type, Eina_Bool mode_set) EINA_ARG_NONNULL(1, 2);
19480    /**
19481     * Get the last (or current) genlist mode used.
19482     *
19483     * @param obj The genlist object
19484     *
19485     * This function just returns the name of the last used genlist mode. It will
19486     * be the current mode if it's still active.
19487     *
19488     * @see elm_genlist_item_mode_set()
19489     * @see elm_genlist_mode_item_get()
19490     *
19491     * @ingroup Genlist
19492     */
19493    EAPI const char        *elm_genlist_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19494    /**
19495     * Get active genlist mode item
19496     *
19497     * @param obj The genlist object
19498     * @return The active item for that current mode. Or @c NULL if no item is
19499     * activated with any mode.
19500     *
19501     * This function returns the item that was activated with a mode, by the
19502     * function elm_genlist_item_mode_set().
19503     *
19504     * @see elm_genlist_item_mode_set()
19505     * @see elm_genlist_mode_get()
19506     *
19507     * @ingroup Genlist
19508     */
19509    EAPI const Elm_Genlist_Item *elm_genlist_mode_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19510
19511    /**
19512     * Set reorder mode
19513     *
19514     * @param obj The genlist object
19515     * @param reorder_mode The reorder mode
19516     * (EINA_TRUE = on, EINA_FALSE = off)
19517     *
19518     * @ingroup Genlist
19519     */
19520    EAPI void               elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
19521
19522    /**
19523     * Get the reorder mode
19524     *
19525     * @param obj The genlist object
19526     * @return The reorder mode
19527     * (EINA_TRUE = on, EINA_FALSE = off)
19528     *
19529     * @ingroup Genlist
19530     */
19531    EAPI Eina_Bool          elm_genlist_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19532
19533    /**
19534     * @}
19535     */
19536
19537    /**
19538     * @defgroup Check Check
19539     *
19540     * @image html img/widget/check/preview-00.png
19541     * @image latex img/widget/check/preview-00.eps
19542     * @image html img/widget/check/preview-01.png
19543     * @image latex img/widget/check/preview-01.eps
19544     * @image html img/widget/check/preview-02.png
19545     * @image latex img/widget/check/preview-02.eps
19546     *
19547     * @brief The check widget allows for toggling a value between true and
19548     * false.
19549     *
19550     * Check objects are a lot like radio objects in layout and functionality
19551     * except they do not work as a group, but independently and only toggle the
19552     * value of a boolean from false to true (0 or 1). elm_check_state_set() sets
19553     * the boolean state (1 for true, 0 for false), and elm_check_state_get()
19554     * returns the current state. For convenience, like the radio objects, you
19555     * can set a pointer to a boolean directly with elm_check_state_pointer_set()
19556     * for it to modify.
19557     *
19558     * Signals that you can add callbacks for are:
19559     * "changed" - This is called whenever the user changes the state of one of
19560     *             the check object(event_info is NULL).
19561     *
19562     * @ref tutorial_check should give you a firm grasp of how to use this widget.
19563     * @{
19564     */
19565    /**
19566     * @brief Add a new Check object
19567     *
19568     * @param parent The parent object
19569     * @return The new object or NULL if it cannot be created
19570     */
19571    EAPI Evas_Object *elm_check_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
19572    /**
19573     * @brief Set the text label of the check object
19574     *
19575     * @param obj The check object
19576     * @param label The text label string in UTF-8
19577     *
19578     * @deprecated use elm_object_text_set() instead.
19579     */
19580    EINA_DEPRECATED EAPI void         elm_check_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
19581    /**
19582     * @brief Get the text label of the check object
19583     *
19584     * @param obj The check object
19585     * @return The text label string in UTF-8
19586     *
19587     * @deprecated use elm_object_text_get() instead.
19588     */
19589    EINA_DEPRECATED EAPI const char  *elm_check_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19590    /**
19591     * @brief Set the icon object of the check object
19592     *
19593     * @param obj The check object
19594     * @param icon The icon object
19595     *
19596     * Once the icon object is set, a previously set one will be deleted.
19597     * If you want to keep that old content object, use the
19598     * elm_check_icon_unset() function.
19599     */
19600    EAPI void         elm_check_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
19601    /**
19602     * @brief Get the icon object of the check object
19603     *
19604     * @param obj The check object
19605     * @return The icon object
19606     */
19607    EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19608    /**
19609     * @brief Unset the icon used for the check object
19610     *
19611     * @param obj The check object
19612     * @return The icon object that was being used
19613     *
19614     * Unparent and return the icon object which was set for this widget.
19615     */
19616    EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
19617    /**
19618     * @brief Set the on/off state of the check object
19619     *
19620     * @param obj The check object
19621     * @param state The state to use (1 == on, 0 == off)
19622     *
19623     * This sets the state of the check. If set
19624     * with elm_check_state_pointer_set() the state of that variable is also
19625     * changed. Calling this @b doesn't cause the "changed" signal to be emited.
19626     */
19627    EAPI void         elm_check_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
19628    /**
19629     * @brief Get the state of the check object
19630     *
19631     * @param obj The check object
19632     * @return The boolean state
19633     */
19634    EAPI Eina_Bool    elm_check_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19635    /**
19636     * @brief Set a convenience pointer to a boolean to change
19637     *
19638     * @param obj The check object
19639     * @param statep Pointer to the boolean to modify
19640     *
19641     * This sets a pointer to a boolean, that, in addition to the check objects
19642     * state will also be modified directly. To stop setting the object pointed
19643     * to simply use NULL as the @p statep parameter. If @p statep is not NULL,
19644     * then when this is called, the check objects state will also be modified to
19645     * reflect the value of the boolean @p statep points to, just like calling
19646     * elm_check_state_set().
19647     */
19648    EAPI void         elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
19649    EINA_DEPRECATED EAPI void         elm_check_states_labels_set(Evas_Object *obj, const char *ontext, const char *offtext) EINA_ARG_NONNULL(1,2,3);
19650    EINA_DEPRECATED EAPI void         elm_check_states_labels_get(const Evas_Object *obj, const char **ontext, const char **offtext) EINA_ARG_NONNULL(1,2,3);
19651
19652    /**
19653     * @}
19654     */
19655
19656    /**
19657     * @defgroup Radio Radio
19658     *
19659     * @image html img/widget/radio/preview-00.png
19660     * @image latex img/widget/radio/preview-00.eps
19661     *
19662     * @brief Radio is a widget that allows for 1 or more options to be displayed
19663     * and have the user choose only 1 of them.
19664     *
19665     * A radio object contains an indicator, an optional Label and an optional
19666     * icon object. While it's possible to have a group of only one radio they,
19667     * are normally used in groups of 2 or more. To add a radio to a group use
19668     * elm_radio_group_add(). The radio object(s) will select from one of a set
19669     * of integer values, so any value they are configuring needs to be mapped to
19670     * a set of integers. To configure what value that radio object represents,
19671     * use  elm_radio_state_value_set() to set the integer it represents. To set
19672     * the value the whole group(which one is currently selected) is to indicate
19673     * use elm_radio_value_set() on any group member, and to get the groups value
19674     * use elm_radio_value_get(). For convenience the radio objects are also able
19675     * to directly set an integer(int) to the value that is selected. To specify
19676     * the pointer to this integer to modify, use elm_radio_value_pointer_set().
19677     * The radio objects will modify this directly. That implies the pointer must
19678     * point to valid memory for as long as the radio objects exist.
19679     *
19680     * Signals that you can add callbacks for are:
19681     * @li changed - This is called whenever the user changes the state of one of
19682     * the radio objects within the group of radio objects that work together.
19683     *
19684     * @ref tutorial_radio show most of this API in action.
19685     * @{
19686     */
19687    /**
19688     * @brief Add a new radio to the parent
19689     *
19690     * @param parent The parent object
19691     * @return The new object or NULL if it cannot be created
19692     */
19693    EAPI Evas_Object *elm_radio_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
19694    /**
19695     * @brief Set the text label of the radio object
19696     *
19697     * @param obj The radio object
19698     * @param label The text label string in UTF-8
19699     *
19700     * @deprecated use elm_object_text_set() instead.
19701     */
19702    EINA_DEPRECATED EAPI void         elm_radio_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
19703    /**
19704     * @brief Get the text label of the radio object
19705     *
19706     * @param obj The radio object
19707     * @return The text label string in UTF-8
19708     *
19709     * @deprecated use elm_object_text_set() instead.
19710     */
19711    EINA_DEPRECATED EAPI const char  *elm_radio_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19712    /**
19713     * @brief Set the icon object of the radio object
19714     *
19715     * @param obj The radio object
19716     * @param icon The icon object
19717     *
19718     * Once the icon object is set, a previously set one will be deleted. If you
19719     * want to keep that old content object, use the elm_radio_icon_unset()
19720     * function.
19721     */
19722    EAPI void         elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
19723    /**
19724     * @brief Get the icon object of the radio object
19725     *
19726     * @param obj The radio object
19727     * @return The icon object
19728     *
19729     * @see elm_radio_icon_set()
19730     */
19731    EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19732    /**
19733     * @brief Unset the icon used for the radio object
19734     *
19735     * @param obj The radio object
19736     * @return The icon object that was being used
19737     *
19738     * Unparent and return the icon object which was set for this widget.
19739     *
19740     * @see elm_radio_icon_set()
19741     */
19742    EAPI Evas_Object *elm_radio_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
19743    /**
19744     * @brief Add this radio to a group of other radio objects
19745     *
19746     * @param obj The radio object
19747     * @param group Any object whose group the @p obj is to join.
19748     *
19749     * Radio objects work in groups. Each member should have a different integer
19750     * value assigned. In order to have them work as a group, they need to know
19751     * about each other. This adds the given radio object to the group of which
19752     * the group object indicated is a member.
19753     */
19754    EAPI void         elm_radio_group_add(Evas_Object *obj, Evas_Object *group) EINA_ARG_NONNULL(1);
19755    /**
19756     * @brief Set the integer value that this radio object represents
19757     *
19758     * @param obj The radio object
19759     * @param value The value to use if this radio object is selected
19760     *
19761     * This sets the value of the radio.
19762     */
19763    EAPI void         elm_radio_state_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
19764    /**
19765     * @brief Get the integer value that this radio object represents
19766     *
19767     * @param obj The radio object
19768     * @return The value used if this radio object is selected
19769     *
19770     * This gets the value of the radio.
19771     *
19772     * @see elm_radio_value_set()
19773     */
19774    EAPI int          elm_radio_state_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19775    /**
19776     * @brief Set the value of the radio.
19777     *
19778     * @param obj The radio object
19779     * @param value The value to use for the group
19780     *
19781     * This sets the value of the radio group and will also set the value if
19782     * pointed to, to the value supplied, but will not call any callbacks.
19783     */
19784    EAPI void         elm_radio_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
19785    /**
19786     * @brief Get the state of the radio object
19787     *
19788     * @param obj The radio object
19789     * @return The integer state
19790     */
19791    EAPI int          elm_radio_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19792    /**
19793     * @brief Set a convenience pointer to a integer to change
19794     *
19795     * @param obj The radio object
19796     * @param valuep Pointer to the integer to modify
19797     *
19798     * This sets a pointer to a integer, that, in addition to the radio objects
19799     * state will also be modified directly. To stop setting the object pointed
19800     * to simply use NULL as the @p valuep argument. If valuep is not NULL, then
19801     * when this is called, the radio objects state will also be modified to
19802     * reflect the value of the integer valuep points to, just like calling
19803     * elm_radio_value_set().
19804     */
19805    EAPI void         elm_radio_value_pointer_set(Evas_Object *obj, int *valuep) EINA_ARG_NONNULL(1);
19806    /**
19807     * @}
19808     */
19809
19810    /**
19811     * @defgroup Pager Pager
19812     *
19813     * @image html img/widget/pager/preview-00.png
19814     * @image latex img/widget/pager/preview-00.eps
19815     *
19816     * @brief Widget that allows flipping between 1 or more “pages” of objects.
19817     *
19818     * The flipping between “pages” of objects is animated. All content in pager
19819     * is kept in a stack, the last content to be added will be on the top of the
19820     * stack(be visible).
19821     *
19822     * Objects can be pushed or popped from the stack or deleted as normal.
19823     * Pushes and pops will animate (and a pop will delete the object once the
19824     * animation is finished). Any object already in the pager can be promoted to
19825     * the top(from its current stacking position) through the use of
19826     * elm_pager_content_promote(). Objects are pushed to the top with
19827     * elm_pager_content_push() and when the top item is no longer wanted, simply
19828     * pop it with elm_pager_content_pop() and it will also be deleted. If an
19829     * object is no longer needed and is not the top item, just delete it as
19830     * normal. You can query which objects are the top and bottom with
19831     * elm_pager_content_bottom_get() and elm_pager_content_top_get().
19832     *
19833     * Signals that you can add callbacks for are:
19834     * "hide,finished" - when the previous page is hided
19835     *
19836     * This widget has the following styles available:
19837     * @li default
19838     * @li fade
19839     * @li fade_translucide
19840     * @li fade_invisible
19841     * @note This styles affect only the flipping animations, the appearance when
19842     * not animating is unaffected by styles.
19843     *
19844     * @ref tutorial_pager gives a good overview of the usage of the API.
19845     * @{
19846     */
19847    /**
19848     * Add a new pager to the parent
19849     *
19850     * @param parent The parent object
19851     * @return The new object or NULL if it cannot be created
19852     *
19853     * @ingroup Pager
19854     */
19855    EAPI Evas_Object *elm_pager_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
19856    /**
19857     * @brief Push an object to the top of the pager stack (and show it).
19858     *
19859     * @param obj The pager object
19860     * @param content The object to push
19861     *
19862     * The object pushed becomes a child of the pager, it will be controlled and
19863     * deleted when the pager is deleted.
19864     *
19865     * @note If the content is already in the stack use
19866     * elm_pager_content_promote().
19867     * @warning Using this function on @p content already in the stack results in
19868     * undefined behavior.
19869     */
19870    EAPI void         elm_pager_content_push(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
19871    /**
19872     * @brief Pop the object that is on top of the stack
19873     *
19874     * @param obj The pager object
19875     *
19876     * This pops the object that is on the top(visible) of the pager, makes it
19877     * disappear, then deletes the object. The object that was underneath it on
19878     * the stack will become visible.
19879     */
19880    EAPI void         elm_pager_content_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
19881    /**
19882     * @brief Moves an object already in the pager stack to the top of the stack.
19883     *
19884     * @param obj The pager object
19885     * @param content The object to promote
19886     *
19887     * This will take the @p content and move it to the top of the stack as
19888     * if it had been pushed there.
19889     *
19890     * @note If the content isn't already in the stack use
19891     * elm_pager_content_push().
19892     * @warning Using this function on @p content not already in the stack
19893     * results in undefined behavior.
19894     */
19895    EAPI void         elm_pager_content_promote(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
19896    /**
19897     * @brief Return the object at the bottom of the pager stack
19898     *
19899     * @param obj The pager object
19900     * @return The bottom object or NULL if none
19901     */
19902    EAPI Evas_Object *elm_pager_content_bottom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19903    /**
19904     * @brief  Return the object at the top of the pager stack
19905     *
19906     * @param obj The pager object
19907     * @return The top object or NULL if none
19908     */
19909    EAPI Evas_Object *elm_pager_content_top_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19910
19911    /**
19912     * @}
19913     */
19914
19915    /**
19916     * @defgroup Slideshow Slideshow
19917     *
19918     * @image html img/widget/slideshow/preview-00.png
19919     * @image latex img/widget/slideshow/preview-00.eps
19920     *
19921     * This widget, as the name indicates, is a pre-made image
19922     * slideshow panel, with API functions acting on (child) image
19923     * items presentation. Between those actions, are:
19924     * - advance to next/previous image
19925     * - select the style of image transition animation
19926     * - set the exhibition time for each image
19927     * - start/stop the slideshow
19928     *
19929     * The transition animations are defined in the widget's theme,
19930     * consequently new animations can be added without having to
19931     * update the widget's code.
19932     *
19933     * @section Slideshow_Items Slideshow items
19934     *
19935     * For slideshow items, just like for @ref Genlist "genlist" ones,
19936     * the user defines a @b classes, specifying functions that will be
19937     * called on the item's creation and deletion times.
19938     *
19939     * The #Elm_Slideshow_Item_Class structure contains the following
19940     * members:
19941     *
19942     * - @c func.get - When an item is displayed, this function is
19943     *   called, and it's where one should create the item object, de
19944     *   facto. For example, the object can be a pure Evas image object
19945     *   or an Elementary @ref Photocam "photocam" widget. See
19946     *   #SlideshowItemGetFunc.
19947     * - @c func.del - When an item is no more displayed, this function
19948     *   is called, where the user must delete any data associated to
19949     *   the item. See #SlideshowItemDelFunc.
19950     *
19951     * @section Slideshow_Caching Slideshow caching
19952     *
19953     * The slideshow provides facilities to have items adjacent to the
19954     * one being displayed <b>already "realized"</b> (i.e. loaded) for
19955     * you, so that the system does not have to decode image data
19956     * anymore at the time it has to actually switch images on its
19957     * viewport. The user is able to set the numbers of items to be
19958     * cached @b before and @b after the current item, in the widget's
19959     * item list.
19960     *
19961     * Smart events one can add callbacks for are:
19962     *
19963     * - @c "changed" - when the slideshow switches its view to a new
19964     *   item
19965     *
19966     * List of examples for the slideshow widget:
19967     * @li @ref slideshow_example
19968     */
19969
19970    /**
19971     * @addtogroup Slideshow
19972     * @{
19973     */
19974
19975    typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class; /**< Slideshow item class definition struct */
19976    typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func; /**< Class functions for slideshow item classes. */
19977    typedef struct _Elm_Slideshow_Item       Elm_Slideshow_Item; /**< Slideshow item handle */
19978    typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj); /**< Image fetching class function for slideshow item classes. */
19979    typedef void         (*SlideshowItemDelFunc) (void *data, Evas_Object *obj); /**< Deletion class function for slideshow item classes. */
19980
19981    /**
19982     * @struct _Elm_Slideshow_Item_Class
19983     *
19984     * Slideshow item class definition. See @ref Slideshow_Items for
19985     * field details.
19986     */
19987    struct _Elm_Slideshow_Item_Class
19988      {
19989         struct _Elm_Slideshow_Item_Class_Func
19990           {
19991              SlideshowItemGetFunc get;
19992              SlideshowItemDelFunc del;
19993           } func;
19994      }; /**< #Elm_Slideshow_Item_Class member definitions */
19995
19996    /**
19997     * Add a new slideshow widget to the given parent Elementary
19998     * (container) object
19999     *
20000     * @param parent The parent object
20001     * @return A new slideshow widget handle or @c NULL, on errors
20002     *
20003     * This function inserts a new slideshow widget on the canvas.
20004     *
20005     * @ingroup Slideshow
20006     */
20007    EAPI Evas_Object        *elm_slideshow_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20008
20009    /**
20010     * Add (append) a new item in a given slideshow widget.
20011     *
20012     * @param obj The slideshow object
20013     * @param itc The item class for the item
20014     * @param data The item's data
20015     * @return A handle to the item added or @c NULL, on errors
20016     *
20017     * Add a new item to @p obj's internal list of items, appending it.
20018     * The item's class must contain the function really fetching the
20019     * image object to show for this item, which could be an Evas image
20020     * object or an Elementary photo, for example. The @p data
20021     * parameter is going to be passed to both class functions of the
20022     * item.
20023     *
20024     * @see #Elm_Slideshow_Item_Class
20025     * @see elm_slideshow_item_sorted_insert()
20026     *
20027     * @ingroup Slideshow
20028     */
20029    EAPI Elm_Slideshow_Item *elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data) EINA_ARG_NONNULL(1);
20030
20031    /**
20032     * Insert a new item into the given slideshow widget, using the @p func
20033     * function to sort items (by item handles).
20034     *
20035     * @param obj The slideshow object
20036     * @param itc The item class for the item
20037     * @param data The item's data
20038     * @param func The comparing function to be used to sort slideshow
20039     * items <b>by #Elm_Slideshow_Item item handles</b>
20040     * @return Returns The slideshow item handle, on success, or
20041     * @c NULL, on errors
20042     *
20043     * Add a new item to @p obj's internal list of items, in a position
20044     * determined by the @p func comparing function. The item's class
20045     * must contain the function really fetching the image object to
20046     * show for this item, which could be an Evas image object or an
20047     * Elementary photo, for example. The @p data parameter is going to
20048     * be passed to both class functions of the item.
20049     *
20050     * @see #Elm_Slideshow_Item_Class
20051     * @see elm_slideshow_item_add()
20052     *
20053     * @ingroup Slideshow
20054     */
20055    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);
20056
20057    /**
20058     * Display a given slideshow widget's item, programmatically.
20059     *
20060     * @param obj The slideshow object
20061     * @param item The item to display on @p obj's viewport
20062     *
20063     * The change between the current item and @p item will use the
20064     * transition @p obj is set to use (@see
20065     * elm_slideshow_transition_set()).
20066     *
20067     * @ingroup Slideshow
20068     */
20069    EAPI void                elm_slideshow_show(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
20070
20071    /**
20072     * Slide to the @b next item, in a given slideshow widget
20073     *
20074     * @param obj The slideshow object
20075     *
20076     * The sliding animation @p obj is set to use will be the
20077     * transition effect used, after this call is issued.
20078     *
20079     * @note If the end of the slideshow's internal list of items is
20080     * reached, it'll wrap around to the list's beginning, again.
20081     *
20082     * @ingroup Slideshow
20083     */
20084    EAPI void                elm_slideshow_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
20085
20086    /**
20087     * Slide to the @b previous item, in a given slideshow widget
20088     *
20089     * @param obj The slideshow object
20090     *
20091     * The sliding animation @p obj is set to use will be the
20092     * transition effect used, after this call is issued.
20093     *
20094     * @note If the beginning of the slideshow's internal list of items
20095     * is reached, it'll wrap around to the list's end, again.
20096     *
20097     * @ingroup Slideshow
20098     */
20099    EAPI void                elm_slideshow_previous(Evas_Object *obj) EINA_ARG_NONNULL(1);
20100
20101    /**
20102     * Returns the list of sliding transition/effect names available, for a
20103     * given slideshow widget.
20104     *
20105     * @param obj The slideshow object
20106     * @return The list of transitions (list of @b stringshared strings
20107     * as data)
20108     *
20109     * The transitions, which come from @p obj's theme, must be an EDC
20110     * data item named @c "transitions" on the theme file, with (prefix)
20111     * names of EDC programs actually implementing them.
20112     *
20113     * The available transitions for slideshows on the default theme are:
20114     * - @c "fade" - the current item fades out, while the new one
20115     *   fades in to the slideshow's viewport.
20116     * - @c "black_fade" - the current item fades to black, and just
20117     *   then, the new item will fade in.
20118     * - @c "horizontal" - the current item slides horizontally, until
20119     *   it gets out of the slideshow's viewport, while the new item
20120     *   comes from the left to take its place.
20121     * - @c "vertical" - the current item slides vertically, until it
20122     *   gets out of the slideshow's viewport, while the new item comes
20123     *   from the bottom to take its place.
20124     * - @c "square" - the new item starts to appear from the middle of
20125     *   the current one, but with a tiny size, growing until its
20126     *   target (full) size and covering the old one.
20127     *
20128     * @warning The stringshared strings get no new references
20129     * exclusive to the user grabbing the list, here, so if you'd like
20130     * to use them out of this call's context, you'd better @c
20131     * eina_stringshare_ref() them.
20132     *
20133     * @see elm_slideshow_transition_set()
20134     *
20135     * @ingroup Slideshow
20136     */
20137    EAPI const Eina_List    *elm_slideshow_transitions_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20138
20139    /**
20140     * Set the current slide transition/effect in use for a given
20141     * slideshow widget
20142     *
20143     * @param obj The slideshow object
20144     * @param transition The new transition's name string
20145     *
20146     * If @p transition is implemented in @p obj's theme (i.e., is
20147     * contained in the list returned by
20148     * elm_slideshow_transitions_get()), this new sliding effect will
20149     * be used on the widget.
20150     *
20151     * @see elm_slideshow_transitions_get() for more details
20152     *
20153     * @ingroup Slideshow
20154     */
20155    EAPI void                elm_slideshow_transition_set(Evas_Object *obj, const char *transition) EINA_ARG_NONNULL(1);
20156
20157    /**
20158     * Get the current slide transition/effect in use for a given
20159     * slideshow widget
20160     *
20161     * @param obj The slideshow object
20162     * @return The current transition's name
20163     *
20164     * @see elm_slideshow_transition_set() for more details
20165     *
20166     * @ingroup Slideshow
20167     */
20168    EAPI const char         *elm_slideshow_transition_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20169
20170    /**
20171     * Set the interval between each image transition on a given
20172     * slideshow widget, <b>and start the slideshow, itself</b>
20173     *
20174     * @param obj The slideshow object
20175     * @param timeout The new displaying timeout for images
20176     *
20177     * After this call, the slideshow widget will start cycling its
20178     * view, sequentially and automatically, with the images of the
20179     * items it has. The time between each new image displayed is going
20180     * to be @p timeout, in @b seconds. If a different timeout was set
20181     * previously and an slideshow was in progress, it will continue
20182     * with the new time between transitions, after this call.
20183     *
20184     * @note A value less than or equal to 0 on @p timeout will disable
20185     * the widget's internal timer, thus halting any slideshow which
20186     * could be happening on @p obj.
20187     *
20188     * @see elm_slideshow_timeout_get()
20189     *
20190     * @ingroup Slideshow
20191     */
20192    EAPI void                elm_slideshow_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
20193
20194    /**
20195     * Get the interval set for image transitions on a given slideshow
20196     * widget.
20197     *
20198     * @param obj The slideshow object
20199     * @return Returns the timeout set on it
20200     *
20201     * @see elm_slideshow_timeout_set() for more details
20202     *
20203     * @ingroup Slideshow
20204     */
20205    EAPI double              elm_slideshow_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20206
20207    /**
20208     * Set if, after a slideshow is started, for a given slideshow
20209     * widget, its items should be displayed cyclically or not.
20210     *
20211     * @param obj The slideshow object
20212     * @param loop Use @c EINA_TRUE to make it cycle through items or
20213     * @c EINA_FALSE for it to stop at the end of @p obj's internal
20214     * list of items
20215     *
20216     * @note elm_slideshow_next() and elm_slideshow_previous() will @b
20217     * ignore what is set by this functions, i.e., they'll @b always
20218     * cycle through items. This affects only the "automatic"
20219     * slideshow, as set by elm_slideshow_timeout_set().
20220     *
20221     * @see elm_slideshow_loop_get()
20222     *
20223     * @ingroup Slideshow
20224     */
20225    EAPI void                elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop) EINA_ARG_NONNULL(1);
20226
20227    /**
20228     * Get if, after a slideshow is started, for a given slideshow
20229     * widget, its items are to be displayed cyclically or not.
20230     *
20231     * @param obj The slideshow object
20232     * @return @c EINA_TRUE, if the items in @p obj will be cycled
20233     * through or @c EINA_FALSE, otherwise
20234     *
20235     * @see elm_slideshow_loop_set() for more details
20236     *
20237     * @ingroup Slideshow
20238     */
20239    EAPI Eina_Bool           elm_slideshow_loop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20240
20241    /**
20242     * Remove all items from a given slideshow widget
20243     *
20244     * @param obj The slideshow object
20245     *
20246     * This removes (and deletes) all items in @p obj, leaving it
20247     * empty.
20248     *
20249     * @see elm_slideshow_item_del(), to remove just one item.
20250     *
20251     * @ingroup Slideshow
20252     */
20253    EAPI void                elm_slideshow_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
20254
20255    /**
20256     * Get the internal list of items in a given slideshow widget.
20257     *
20258     * @param obj The slideshow object
20259     * @return The list of items (#Elm_Slideshow_Item as data) or
20260     * @c NULL on errors.
20261     *
20262     * This list is @b not to be modified in any way and must not be
20263     * freed. Use the list members with functions like
20264     * elm_slideshow_item_del(), elm_slideshow_item_data_get().
20265     *
20266     * @warning This list is only valid until @p obj object's internal
20267     * items list is changed. It should be fetched again with another
20268     * call to this function when changes happen.
20269     *
20270     * @ingroup Slideshow
20271     */
20272    EAPI const Eina_List    *elm_slideshow_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20273
20274    /**
20275     * Delete a given item from a slideshow widget.
20276     *
20277     * @param item The slideshow item
20278     *
20279     * @ingroup Slideshow
20280     */
20281    EAPI void                elm_slideshow_item_del(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
20282
20283    /**
20284     * Return the data associated with a given slideshow item
20285     *
20286     * @param item The slideshow item
20287     * @return Returns the data associated to this item
20288     *
20289     * @ingroup Slideshow
20290     */
20291    EAPI void               *elm_slideshow_item_data_get(const Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
20292
20293    /**
20294     * Returns the currently displayed item, in a given slideshow widget
20295     *
20296     * @param obj The slideshow object
20297     * @return A handle to the item being displayed in @p obj or
20298     * @c NULL, if none is (and on errors)
20299     *
20300     * @ingroup Slideshow
20301     */
20302    EAPI Elm_Slideshow_Item *elm_slideshow_item_current_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20303
20304    /**
20305     * Get the real Evas object created to implement the view of a
20306     * given slideshow item
20307     *
20308     * @param item The slideshow item.
20309     * @return the Evas object implementing this item's view.
20310     *
20311     * This returns the actual Evas object used to implement the
20312     * specified slideshow item's view. This may be @c NULL, as it may
20313     * not have been created or may have been deleted, at any time, by
20314     * the slideshow. <b>Do not modify this object</b> (move, resize,
20315     * show, hide, etc.), as the slideshow is controlling it. This
20316     * function is for querying, emitting custom signals or hooking
20317     * lower level callbacks for events on that object. Do not delete
20318     * this object under any circumstances.
20319     *
20320     * @see elm_slideshow_item_data_get()
20321     *
20322     * @ingroup Slideshow
20323     */
20324    EAPI Evas_Object*        elm_slideshow_item_object_get(const Elm_Slideshow_Item* item) EINA_ARG_NONNULL(1);
20325
20326    /**
20327     * Get the the item, in a given slideshow widget, placed at
20328     * position @p nth, in its internal items list
20329     *
20330     * @param obj The slideshow object
20331     * @param nth The number of the item to grab a handle to (0 being
20332     * the first)
20333     * @return The item stored in @p obj at position @p nth or @c NULL,
20334     * if there's no item with that index (and on errors)
20335     *
20336     * @ingroup Slideshow
20337     */
20338    EAPI Elm_Slideshow_Item *elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth) EINA_ARG_NONNULL(1);
20339
20340    /**
20341     * Set the current slide layout in use for a given slideshow widget
20342     *
20343     * @param obj The slideshow object
20344     * @param layout The new layout's name string
20345     *
20346     * If @p layout is implemented in @p obj's theme (i.e., is contained
20347     * in the list returned by elm_slideshow_layouts_get()), this new
20348     * images layout will be used on the widget.
20349     *
20350     * @see elm_slideshow_layouts_get() for more details
20351     *
20352     * @ingroup Slideshow
20353     */
20354    EAPI void                elm_slideshow_layout_set(Evas_Object *obj, const char *layout) EINA_ARG_NONNULL(1);
20355
20356    /**
20357     * Get the current slide layout in use for a given slideshow widget
20358     *
20359     * @param obj The slideshow object
20360     * @return The current layout's name
20361     *
20362     * @see elm_slideshow_layout_set() for more details
20363     *
20364     * @ingroup Slideshow
20365     */
20366    EAPI const char         *elm_slideshow_layout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20367
20368    /**
20369     * Returns the list of @b layout names available, for a given
20370     * slideshow widget.
20371     *
20372     * @param obj The slideshow object
20373     * @return The list of layouts (list of @b stringshared strings
20374     * as data)
20375     *
20376     * Slideshow layouts will change how the widget is to dispose each
20377     * image item in its viewport, with regard to cropping, scaling,
20378     * etc.
20379     *
20380     * The layouts, which come from @p obj's theme, must be an EDC
20381     * data item name @c "layouts" on the theme file, with (prefix)
20382     * names of EDC programs actually implementing them.
20383     *
20384     * The available layouts for slideshows on the default theme are:
20385     * - @c "fullscreen" - item images with original aspect, scaled to
20386     *   touch top and down slideshow borders or, if the image's heigh
20387     *   is not enough, left and right slideshow borders.
20388     * - @c "not_fullscreen" - the same behavior as the @c "fullscreen"
20389     *   one, but always leaving 10% of the slideshow's dimensions of
20390     *   distance between the item image's borders and the slideshow
20391     *   borders, for each axis.
20392     *
20393     * @warning The stringshared strings get no new references
20394     * exclusive to the user grabbing the list, here, so if you'd like
20395     * to use them out of this call's context, you'd better @c
20396     * eina_stringshare_ref() them.
20397     *
20398     * @see elm_slideshow_layout_set()
20399     *
20400     * @ingroup Slideshow
20401     */
20402    EAPI const Eina_List    *elm_slideshow_layouts_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20403
20404    /**
20405     * Set the number of items to cache, on a given slideshow widget,
20406     * <b>before the current item</b>
20407     *
20408     * @param obj The slideshow object
20409     * @param count Number of items to cache before the current one
20410     *
20411     * The default value for this property is @c 2. See
20412     * @ref Slideshow_Caching "slideshow caching" for more details.
20413     *
20414     * @see elm_slideshow_cache_before_get()
20415     *
20416     * @ingroup Slideshow
20417     */
20418    EAPI void                elm_slideshow_cache_before_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
20419
20420    /**
20421     * Retrieve the number of items to cache, on a given slideshow widget,
20422     * <b>before the current item</b>
20423     *
20424     * @param obj The slideshow object
20425     * @return The number of items set to be cached before the current one
20426     *
20427     * @see elm_slideshow_cache_before_set() for more details
20428     *
20429     * @ingroup Slideshow
20430     */
20431    EAPI int                 elm_slideshow_cache_before_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20432
20433    /**
20434     * Set the number of items to cache, on a given slideshow widget,
20435     * <b>after the current item</b>
20436     *
20437     * @param obj The slideshow object
20438     * @param count Number of items to cache after the current one
20439     *
20440     * The default value for this property is @c 2. See
20441     * @ref Slideshow_Caching "slideshow caching" for more details.
20442     *
20443     * @see elm_slideshow_cache_after_get()
20444     *
20445     * @ingroup Slideshow
20446     */
20447    EAPI void                elm_slideshow_cache_after_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
20448
20449    /**
20450     * Retrieve the number of items to cache, on a given slideshow widget,
20451     * <b>after the current item</b>
20452     *
20453     * @param obj The slideshow object
20454     * @return The number of items set to be cached after the current one
20455     *
20456     * @see elm_slideshow_cache_after_set() for more details
20457     *
20458     * @ingroup Slideshow
20459     */
20460    EAPI int                 elm_slideshow_cache_after_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20461
20462    /**
20463     * Get the number of items stored in a given slideshow widget
20464     *
20465     * @param obj The slideshow object
20466     * @return The number of items on @p obj, at the moment of this call
20467     *
20468     * @ingroup Slideshow
20469     */
20470    EAPI unsigned int        elm_slideshow_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20471
20472    /**
20473     * @}
20474     */
20475
20476    /**
20477     * @defgroup Fileselector File Selector
20478     *
20479     * @image html img/widget/fileselector/preview-00.png
20480     * @image latex img/widget/fileselector/preview-00.eps
20481     *
20482     * A file selector is a widget that allows a user to navigate
20483     * through a file system, reporting file selections back via its
20484     * API.
20485     *
20486     * It contains shortcut buttons for home directory (@c ~) and to
20487     * jump one directory upwards (..), as well as cancel/ok buttons to
20488     * confirm/cancel a given selection. After either one of those two
20489     * former actions, the file selector will issue its @c "done" smart
20490     * callback.
20491     *
20492     * There's a text entry on it, too, showing the name of the current
20493     * selection. There's the possibility of making it editable, so it
20494     * is useful on file saving dialogs on applications, where one
20495     * gives a file name to save contents to, in a given directory in
20496     * the system. This custom file name will be reported on the @c
20497     * "done" smart callback (explained in sequence).
20498     *
20499     * Finally, it has a view to display file system items into in two
20500     * possible forms:
20501     * - list
20502     * - grid
20503     *
20504     * If Elementary is built with support of the Ethumb thumbnailing
20505     * library, the second form of view will display preview thumbnails
20506     * of files which it supports.
20507     *
20508     * Smart callbacks one can register to:
20509     *
20510     * - @c "selected" - the user has clicked on a file (when not in
20511     *      folders-only mode) or directory (when in folders-only mode)
20512     * - @c "directory,open" - the list has been populated with new
20513     *      content (@c event_info is a pointer to the directory's
20514     *      path, a @b stringshared string)
20515     * - @c "done" - the user has clicked on the "ok" or "cancel"
20516     *      buttons (@c event_info is a pointer to the selection's
20517     *      path, a @b stringshared string)
20518     *
20519     * Here is an example on its usage:
20520     * @li @ref fileselector_example
20521     */
20522
20523    /**
20524     * @addtogroup Fileselector
20525     * @{
20526     */
20527
20528    /**
20529     * Defines how a file selector widget is to layout its contents
20530     * (file system entries).
20531     */
20532    typedef enum _Elm_Fileselector_Mode
20533      {
20534         ELM_FILESELECTOR_LIST = 0, /**< layout as a list */
20535         ELM_FILESELECTOR_GRID, /**< layout as a grid */
20536         ELM_FILESELECTOR_LAST /**< sentinel (helper) value, not used */
20537      } Elm_Fileselector_Mode;
20538
20539    /**
20540     * Add a new file selector widget to the given parent Elementary
20541     * (container) object
20542     *
20543     * @param parent The parent object
20544     * @return a new file selector widget handle or @c NULL, on errors
20545     *
20546     * This function inserts a new file selector widget on the canvas.
20547     *
20548     * @ingroup Fileselector
20549     */
20550    EAPI Evas_Object          *elm_fileselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20551
20552    /**
20553     * Enable/disable the file name entry box where the user can type
20554     * in a name for a file, in a given file selector widget
20555     *
20556     * @param obj The file selector object
20557     * @param is_save @c EINA_TRUE to make the file selector a "saving
20558     * dialog", @c EINA_FALSE otherwise
20559     *
20560     * Having the entry editable is useful on file saving dialogs on
20561     * applications, where one gives a file name to save contents to,
20562     * in a given directory in the system. This custom file name will
20563     * be reported on the @c "done" smart callback.
20564     *
20565     * @see elm_fileselector_is_save_get()
20566     *
20567     * @ingroup Fileselector
20568     */
20569    EAPI void                  elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save) EINA_ARG_NONNULL(1);
20570
20571    /**
20572     * Get whether the given file selector is in "saving dialog" mode
20573     *
20574     * @param obj The file selector object
20575     * @return @c EINA_TRUE, if the file selector is in "saving dialog"
20576     * mode, @c EINA_FALSE otherwise (and on errors)
20577     *
20578     * @see elm_fileselector_is_save_set() for more details
20579     *
20580     * @ingroup Fileselector
20581     */
20582    EAPI Eina_Bool             elm_fileselector_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20583
20584    /**
20585     * Enable/disable folder-only view for a given file selector widget
20586     *
20587     * @param obj The file selector object
20588     * @param only @c EINA_TRUE to make @p obj only display
20589     * directories, @c EINA_FALSE to make files to be displayed in it
20590     * too
20591     *
20592     * If enabled, the widget's view will only display folder items,
20593     * naturally.
20594     *
20595     * @see elm_fileselector_folder_only_get()
20596     *
20597     * @ingroup Fileselector
20598     */
20599    EAPI void                  elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only) EINA_ARG_NONNULL(1);
20600
20601    /**
20602     * Get whether folder-only view is set for a given file selector
20603     * widget
20604     *
20605     * @param obj The file selector object
20606     * @return only @c EINA_TRUE if @p obj is only displaying
20607     * directories, @c EINA_FALSE if files are being displayed in it
20608     * too (and on errors)
20609     *
20610     * @see elm_fileselector_folder_only_get()
20611     *
20612     * @ingroup Fileselector
20613     */
20614    EAPI Eina_Bool             elm_fileselector_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20615
20616    /**
20617     * Enable/disable the "ok" and "cancel" buttons on a given file
20618     * selector widget
20619     *
20620     * @param obj The file selector object
20621     * @param only @c EINA_TRUE to show them, @c EINA_FALSE to hide.
20622     *
20623     * @note A file selector without those buttons will never emit the
20624     * @c "done" smart event, and is only usable if one is just hooking
20625     * to the other two events.
20626     *
20627     * @see elm_fileselector_buttons_ok_cancel_get()
20628     *
20629     * @ingroup Fileselector
20630     */
20631    EAPI void                  elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons) EINA_ARG_NONNULL(1);
20632
20633    /**
20634     * Get whether the "ok" and "cancel" buttons on a given file
20635     * selector widget are being shown.
20636     *
20637     * @param obj The file selector object
20638     * @return @c EINA_TRUE if they are being shown, @c EINA_FALSE
20639     * otherwise (and on errors)
20640     *
20641     * @see elm_fileselector_buttons_ok_cancel_set() for more details
20642     *
20643     * @ingroup Fileselector
20644     */
20645    EAPI Eina_Bool             elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20646
20647    /**
20648     * Enable/disable a tree view in the given file selector widget,
20649     * <b>if it's in @c #ELM_FILESELECTOR_LIST mode</b>
20650     *
20651     * @param obj The file selector object
20652     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
20653     * disable
20654     *
20655     * In a tree view, arrows are created on the sides of directories,
20656     * allowing them to expand in place.
20657     *
20658     * @note If it's in other mode, the changes made by this function
20659     * will only be visible when one switches back to "list" mode.
20660     *
20661     * @see elm_fileselector_expandable_get()
20662     *
20663     * @ingroup Fileselector
20664     */
20665    EAPI void                  elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand) EINA_ARG_NONNULL(1);
20666
20667    /**
20668     * Get whether tree view is enabled for the given file selector
20669     * widget
20670     *
20671     * @param obj The file selector object
20672     * @return @c EINA_TRUE if @p obj is in tree view, @c EINA_FALSE
20673     * otherwise (and or errors)
20674     *
20675     * @see elm_fileselector_expandable_set() for more details
20676     *
20677     * @ingroup Fileselector
20678     */
20679    EAPI Eina_Bool             elm_fileselector_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20680
20681    /**
20682     * Set, programmatically, the @b directory that a given file
20683     * selector widget will display contents from
20684     *
20685     * @param obj The file selector object
20686     * @param path The path to display in @p obj
20687     *
20688     * This will change the @b directory that @p obj is displaying. It
20689     * will also clear the text entry area on the @p obj object, which
20690     * displays select files' names.
20691     *
20692     * @see elm_fileselector_path_get()
20693     *
20694     * @ingroup Fileselector
20695     */
20696    EAPI void                  elm_fileselector_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
20697
20698    /**
20699     * Get the parent directory's path that a given file selector
20700     * widget is displaying
20701     *
20702     * @param obj The file selector object
20703     * @return The (full) path of the directory the file selector is
20704     * displaying, a @b stringshared string
20705     *
20706     * @see elm_fileselector_path_set()
20707     *
20708     * @ingroup Fileselector
20709     */
20710    EAPI const char           *elm_fileselector_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20711
20712    /**
20713     * Set, programmatically, the currently selected file/directory in
20714     * the given file selector widget
20715     *
20716     * @param obj The file selector object
20717     * @param path The (full) path to a file or directory
20718     * @return @c EINA_TRUE on success, @c EINA_FALSE on failure. The
20719     * latter case occurs if the directory or file pointed to do not
20720     * exist.
20721     *
20722     * @see elm_fileselector_selected_get()
20723     *
20724     * @ingroup Fileselector
20725     */
20726    EAPI Eina_Bool             elm_fileselector_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
20727
20728    /**
20729     * Get the currently selected item's (full) path, in the given file
20730     * selector widget
20731     *
20732     * @param obj The file selector object
20733     * @return The absolute path of the selected item, a @b
20734     * stringshared string
20735     *
20736     * @note Custom editions on @p obj object's text entry, if made,
20737     * will appear on the return string of this function, naturally.
20738     *
20739     * @see elm_fileselector_selected_set() for more details
20740     *
20741     * @ingroup Fileselector
20742     */
20743    EAPI const char           *elm_fileselector_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20744
20745    /**
20746     * Set the mode in which a given file selector widget will display
20747     * (layout) file system entries in its view
20748     *
20749     * @param obj The file selector object
20750     * @param mode The mode of the fileselector, being it one of
20751     * #ELM_FILESELECTOR_LIST (default) or #ELM_FILESELECTOR_GRID. The
20752     * first one, naturally, will display the files in a list. The
20753     * latter will make the widget to display its entries in a grid
20754     * form.
20755     *
20756     * @note By using elm_fileselector_expandable_set(), the user may
20757     * trigger a tree view for that list.
20758     *
20759     * @note If Elementary is built with support of the Ethumb
20760     * thumbnailing library, the second form of view will display
20761     * preview thumbnails of files which it supports. You must have
20762     * elm_need_ethumb() called in your Elementary for thumbnailing to
20763     * work, though.
20764     *
20765     * @see elm_fileselector_expandable_set().
20766     * @see elm_fileselector_mode_get().
20767     *
20768     * @ingroup Fileselector
20769     */
20770    EAPI void                  elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode) EINA_ARG_NONNULL(1);
20771
20772    /**
20773     * Get the mode in which a given file selector widget is displaying
20774     * (layouting) file system entries in its view
20775     *
20776     * @param obj The fileselector object
20777     * @return The mode in which the fileselector is at
20778     *
20779     * @see elm_fileselector_mode_set() for more details
20780     *
20781     * @ingroup Fileselector
20782     */
20783    EAPI Elm_Fileselector_Mode elm_fileselector_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20784
20785    /**
20786     * @}
20787     */
20788
20789    /**
20790     * @defgroup Progressbar Progress bar
20791     *
20792     * The progress bar is a widget for visually representing the
20793     * progress status of a given job/task.
20794     *
20795     * A progress bar may be horizontal or vertical. It may display an
20796     * icon besides it, as well as primary and @b units labels. The
20797     * former is meant to label the widget as a whole, while the
20798     * latter, which is formatted with floating point values (and thus
20799     * accepts a <c>printf</c>-style format string, like <c>"%1.2f
20800     * units"</c>), is meant to label the widget's <b>progress
20801     * value</b>. Label, icon and unit strings/objects are @b optional
20802     * for progress bars.
20803     *
20804     * A progress bar may be @b inverted, in which state it gets its
20805     * values inverted, with high values being on the left or top and
20806     * low values on the right or bottom, as opposed to normally have
20807     * the low values on the former and high values on the latter,
20808     * respectively, for horizontal and vertical modes.
20809     *
20810     * The @b span of the progress, as set by
20811     * elm_progressbar_span_size_set(), is its length (horizontally or
20812     * vertically), unless one puts size hints on the widget to expand
20813     * on desired directions, by any container. That length will be
20814     * scaled by the object or applications scaling factor. At any
20815     * point code can query the progress bar for its value with
20816     * elm_progressbar_value_get().
20817     *
20818     * Available widget styles for progress bars:
20819     * - @c "default"
20820     * - @c "wheel" (simple style, no text, no progression, only
20821     *      "pulse" effect is available)
20822     *
20823     * Here is an example on its usage:
20824     * @li @ref progressbar_example
20825     */
20826
20827    /**
20828     * Add a new progress bar widget to the given parent Elementary
20829     * (container) object
20830     *
20831     * @param parent The parent object
20832     * @return a new progress bar widget handle or @c NULL, on errors
20833     *
20834     * This function inserts a new progress bar widget on the canvas.
20835     *
20836     * @ingroup Progressbar
20837     */
20838    EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20839
20840    /**
20841     * Set whether a given progress bar widget is at "pulsing mode" or
20842     * not.
20843     *
20844     * @param obj The progress bar object
20845     * @param pulse @c EINA_TRUE to put @p obj in pulsing mode,
20846     * @c EINA_FALSE to put it back to its default one
20847     *
20848     * By default, progress bars will display values from the low to
20849     * high value boundaries. There are, though, contexts in which the
20850     * state of progression of a given task is @b unknown.  For those,
20851     * one can set a progress bar widget to a "pulsing state", to give
20852     * the user an idea that some computation is being held, but
20853     * without exact progress values. In the default theme it will
20854     * animate its bar with the contents filling in constantly and back
20855     * to non-filled, in a loop. To start and stop this pulsing
20856     * animation, one has to explicitly call elm_progressbar_pulse().
20857     *
20858     * @see elm_progressbar_pulse_get()
20859     * @see elm_progressbar_pulse()
20860     *
20861     * @ingroup Progressbar
20862     */
20863    EAPI void         elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse) EINA_ARG_NONNULL(1);
20864
20865    /**
20866     * Get whether a given progress bar widget is at "pulsing mode" or
20867     * not.
20868     *
20869     * @param obj The progress bar object
20870     * @return @c EINA_TRUE, if @p obj is in pulsing mode, @c EINA_FALSE
20871     * if it's in the default one (and on errors)
20872     *
20873     * @ingroup Progressbar
20874     */
20875    EAPI Eina_Bool    elm_progressbar_pulse_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20876
20877    /**
20878     * Start/stop a given progress bar "pulsing" animation, if its
20879     * under that mode
20880     *
20881     * @param obj The progress bar object
20882     * @param state @c EINA_TRUE, to @b start the pulsing animation,
20883     * @c EINA_FALSE to @b stop it
20884     *
20885     * @note This call won't do anything if @p obj is not under "pulsing mode".
20886     *
20887     * @see elm_progressbar_pulse_set() for more details.
20888     *
20889     * @ingroup Progressbar
20890     */
20891    EAPI void         elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
20892
20893    /**
20894     * Set the progress value (in percentage) on a given progress bar
20895     * widget
20896     *
20897     * @param obj The progress bar object
20898     * @param val The progress value (@b must be between @c 0.0 and @c
20899     * 1.0)
20900     *
20901     * Use this call to set progress bar levels.
20902     *
20903     * @note If you passes a value out of the specified range for @p
20904     * val, it will be interpreted as the @b closest of the @b boundary
20905     * values in the range.
20906     *
20907     * @ingroup Progressbar
20908     */
20909    EAPI void         elm_progressbar_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
20910
20911    /**
20912     * Get the progress value (in percentage) on a given progress bar
20913     * widget
20914     *
20915     * @param obj The progress bar object
20916     * @return The value of the progressbar
20917     *
20918     * @see elm_progressbar_value_set() for more details
20919     *
20920     * @ingroup Progressbar
20921     */
20922    EAPI double       elm_progressbar_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20923
20924    /**
20925     * Set the label of a given progress bar widget
20926     *
20927     * @param obj The progress bar object
20928     * @param label The text label string, in UTF-8
20929     *
20930     * @ingroup Progressbar
20931     * @deprecated use elm_object_text_set() instead.
20932     */
20933    EINA_DEPRECATED EAPI void         elm_progressbar_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
20934
20935    /**
20936     * Get the label of a given progress bar widget
20937     *
20938     * @param obj The progressbar object
20939     * @return The text label string, in UTF-8
20940     *
20941     * @ingroup Progressbar
20942     * @deprecated use elm_object_text_set() instead.
20943     */
20944    EINA_DEPRECATED EAPI const char  *elm_progressbar_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20945
20946    /**
20947     * Set the icon object of a given progress bar widget
20948     *
20949     * @param obj The progress bar object
20950     * @param icon The icon object
20951     *
20952     * Use this call to decorate @p obj with an icon next to it.
20953     *
20954     * @note Once the icon object is set, a previously set one will be
20955     * deleted. If you want to keep that old content object, use the
20956     * elm_progressbar_icon_unset() function.
20957     *
20958     * @see elm_progressbar_icon_get()
20959     *
20960     * @ingroup Progressbar
20961     */
20962    EAPI void         elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
20963
20964    /**
20965     * Retrieve the icon object set for a given progress bar widget
20966     *
20967     * @param obj The progress bar object
20968     * @return The icon object's handle, if @p obj had one set, or @c NULL,
20969     * otherwise (and on errors)
20970     *
20971     * @see elm_progressbar_icon_set() for more details
20972     *
20973     * @ingroup Progressbar
20974     */
20975    EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20976
20977    /**
20978     * Unset an icon set on a given progress bar widget
20979     *
20980     * @param obj The progress bar object
20981     * @return The icon object that was being used, if any was set, or
20982     * @c NULL, otherwise (and on errors)
20983     *
20984     * This call will unparent and return the icon object which was set
20985     * for this widget, previously, on success.
20986     *
20987     * @see elm_progressbar_icon_set() for more details
20988     *
20989     * @ingroup Progressbar
20990     */
20991    EAPI Evas_Object *elm_progressbar_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
20992
20993    /**
20994     * Set the (exact) length of the bar region of a given progress bar
20995     * widget
20996     *
20997     * @param obj The progress bar object
20998     * @param size The length of the progress bar's bar region
20999     *
21000     * This sets the minimum width (when in horizontal mode) or height
21001     * (when in vertical mode) of the actual bar area of the progress
21002     * bar @p obj. This in turn affects the object's minimum size. Use
21003     * this when you're not setting other size hints expanding on the
21004     * given direction (like weight and alignment hints) and you would
21005     * like it to have a specific size.
21006     *
21007     * @note Icon, label and unit text around @p obj will require their
21008     * own space, which will make @p obj to require more the @p size,
21009     * actually.
21010     *
21011     * @see elm_progressbar_span_size_get()
21012     *
21013     * @ingroup Progressbar
21014     */
21015    EAPI void         elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
21016
21017    /**
21018     * Get the length set for the bar region of a given progress bar
21019     * widget
21020     *
21021     * @param obj The progress bar object
21022     * @return The length of the progress bar's bar region
21023     *
21024     * If that size was not set previously, with
21025     * elm_progressbar_span_size_set(), this call will return @c 0.
21026     *
21027     * @ingroup Progressbar
21028     */
21029    EAPI Evas_Coord   elm_progressbar_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21030
21031    /**
21032     * Set the format string for a given progress bar widget's units
21033     * label
21034     *
21035     * @param obj The progress bar object
21036     * @param format The format string for @p obj's units label
21037     *
21038     * If @c NULL is passed on @p format, it will make @p obj's units
21039     * area to be hidden completely. If not, it'll set the <b>format
21040     * string</b> for the units label's @b text. The units label is
21041     * provided a floating point value, so the units text is up display
21042     * at most one floating point falue. Note that the units label is
21043     * optional. Use a format string such as "%1.2f meters" for
21044     * example.
21045     *
21046     * @note The default format string for a progress bar is an integer
21047     * percentage, as in @c "%.0f %%".
21048     *
21049     * @see elm_progressbar_unit_format_get()
21050     *
21051     * @ingroup Progressbar
21052     */
21053    EAPI void         elm_progressbar_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
21054
21055    /**
21056     * Retrieve the format string set for a given progress bar widget's
21057     * units label
21058     *
21059     * @param obj The progress bar object
21060     * @return The format set string for @p obj's units label or
21061     * @c NULL, if none was set (and on errors)
21062     *
21063     * @see elm_progressbar_unit_format_set() for more details
21064     *
21065     * @ingroup Progressbar
21066     */
21067    EAPI const char  *elm_progressbar_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21068
21069    /**
21070     * Set the orientation of a given progress bar widget
21071     *
21072     * @param obj The progress bar object
21073     * @param horizontal Use @c EINA_TRUE to make @p obj to be
21074     * @b horizontal, @c EINA_FALSE to make it @b vertical
21075     *
21076     * Use this function to change how your progress bar is to be
21077     * disposed: vertically or horizontally.
21078     *
21079     * @see elm_progressbar_horizontal_get()
21080     *
21081     * @ingroup Progressbar
21082     */
21083    EAPI void         elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
21084
21085    /**
21086     * Retrieve the orientation of a given progress bar widget
21087     *
21088     * @param obj The progress bar object
21089     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
21090     * @c EINA_FALSE if it's @b vertical (and on errors)
21091     *
21092     * @see elm_progressbar_horizontal_set() for more details
21093     *
21094     * @ingroup Progressbar
21095     */
21096    EAPI Eina_Bool    elm_progressbar_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21097
21098    /**
21099     * Invert a given progress bar widget's displaying values order
21100     *
21101     * @param obj The progress bar object
21102     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
21103     * @c EINA_FALSE to bring it back to default, non-inverted values.
21104     *
21105     * A progress bar may be @b inverted, in which state it gets its
21106     * values inverted, with high values being on the left or top and
21107     * low values on the right or bottom, as opposed to normally have
21108     * the low values on the former and high values on the latter,
21109     * respectively, for horizontal and vertical modes.
21110     *
21111     * @see elm_progressbar_inverted_get()
21112     *
21113     * @ingroup Progressbar
21114     */
21115    EAPI void         elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
21116
21117    /**
21118     * Get whether a given progress bar widget's displaying values are
21119     * inverted or not
21120     *
21121     * @param obj The progress bar object
21122     * @return @c EINA_TRUE, if @p obj has inverted values,
21123     * @c EINA_FALSE otherwise (and on errors)
21124     *
21125     * @see elm_progressbar_inverted_set() for more details
21126     *
21127     * @ingroup Progressbar
21128     */
21129    EAPI Eina_Bool    elm_progressbar_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21130
21131    /**
21132     * @defgroup Separator Separator
21133     *
21134     * @brief Separator is a very thin object used to separate other objects.
21135     *
21136     * A separator can be vertical or horizontal.
21137     *
21138     * @ref tutorial_separator is a good example of how to use a separator.
21139     * @{
21140     */
21141    /**
21142     * @brief Add a separator object to @p parent
21143     *
21144     * @param parent The parent object
21145     *
21146     * @return The separator object, or NULL upon failure
21147     */
21148    EAPI Evas_Object *elm_separator_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21149    /**
21150     * @brief Set the horizontal mode of a separator object
21151     *
21152     * @param obj The separator object
21153     * @param horizontal If true, the separator is horizontal
21154     */
21155    EAPI void         elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
21156    /**
21157     * @brief Get the horizontal mode of a separator object
21158     *
21159     * @param obj The separator object
21160     * @return If true, the separator is horizontal
21161     *
21162     * @see elm_separator_horizontal_set()
21163     */
21164    EAPI Eina_Bool    elm_separator_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21165    /**
21166     * @}
21167     */
21168
21169    /**
21170     * @defgroup Spinner Spinner
21171     * @ingroup Elementary
21172     *
21173     * @image html img/widget/spinner/preview-00.png
21174     * @image latex img/widget/spinner/preview-00.eps
21175     *
21176     * A spinner is a widget which allows the user to increase or decrease
21177     * numeric values using arrow buttons, or edit values directly, clicking
21178     * over it and typing the new value.
21179     *
21180     * By default the spinner will not wrap and has a label
21181     * of "%.0f" (just showing the integer value of the double).
21182     *
21183     * A spinner has a label that is formatted with floating
21184     * point values and thus accepts a printf-style format string, like
21185     * “%1.2f units”.
21186     *
21187     * It also allows specific values to be replaced by pre-defined labels.
21188     *
21189     * Smart callbacks one can register to:
21190     *
21191     * - "changed" - Whenever the spinner value is changed.
21192     * - "delay,changed" - A short time after the value is changed by the user.
21193     *    This will be called only when the user stops dragging for a very short
21194     *    period or when they release their finger/mouse, so it avoids possibly
21195     *    expensive reactions to the value change.
21196     *
21197     * Available styles for it:
21198     * - @c "default";
21199     * - @c "vertical": up/down buttons at the right side and text left aligned.
21200     *
21201     * Here is an example on its usage:
21202     * @ref spinner_example
21203     */
21204
21205    /**
21206     * @addtogroup Spinner
21207     * @{
21208     */
21209
21210    /**
21211     * Add a new spinner widget to the given parent Elementary
21212     * (container) object.
21213     *
21214     * @param parent The parent object.
21215     * @return a new spinner widget handle or @c NULL, on errors.
21216     *
21217     * This function inserts a new spinner widget on the canvas.
21218     *
21219     * @ingroup Spinner
21220     *
21221     */
21222    EAPI Evas_Object *elm_spinner_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21223
21224    /**
21225     * Set the format string of the displayed label.
21226     *
21227     * @param obj The spinner object.
21228     * @param fmt The format string for the label display.
21229     *
21230     * If @c NULL, this sets the format to "%.0f". If not it sets the format
21231     * string for the label text. The label text is provided a floating point
21232     * value, so the label text can display up to 1 floating point value.
21233     * Note that this is optional.
21234     *
21235     * Use a format string such as "%1.2f meters" for example, and it will
21236     * display values like: "3.14 meters" for a value equal to 3.14159.
21237     *
21238     * Default is "%0.f".
21239     *
21240     * @see elm_spinner_label_format_get()
21241     *
21242     * @ingroup Spinner
21243     */
21244    EAPI void         elm_spinner_label_format_set(Evas_Object *obj, const char *fmt) EINA_ARG_NONNULL(1);
21245
21246    /**
21247     * Get the label format of the spinner.
21248     *
21249     * @param obj The spinner object.
21250     * @return The text label format string in UTF-8.
21251     *
21252     * @see elm_spinner_label_format_set() for details.
21253     *
21254     * @ingroup Spinner
21255     */
21256    EAPI const char  *elm_spinner_label_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21257
21258    /**
21259     * Set the minimum and maximum values for the spinner.
21260     *
21261     * @param obj The spinner object.
21262     * @param min The minimum value.
21263     * @param max The maximum value.
21264     *
21265     * Define the allowed range of values to be selected by the user.
21266     *
21267     * If actual value is less than @p min, it will be updated to @p min. If it
21268     * is bigger then @p max, will be updated to @p max. Actual value can be
21269     * get with elm_spinner_value_get().
21270     *
21271     * By default, min is equal to 0, and max is equal to 100.
21272     *
21273     * @warning Maximum must be greater than minimum.
21274     *
21275     * @see elm_spinner_min_max_get()
21276     *
21277     * @ingroup Spinner
21278     */
21279    EAPI void         elm_spinner_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
21280
21281    /**
21282     * Get the minimum and maximum values of the spinner.
21283     *
21284     * @param obj The spinner object.
21285     * @param min Pointer where to store the minimum value.
21286     * @param max Pointer where to store the maximum value.
21287     *
21288     * @note If only one value is needed, the other pointer can be passed
21289     * as @c NULL.
21290     *
21291     * @see elm_spinner_min_max_set() for details.
21292     *
21293     * @ingroup Spinner
21294     */
21295    EAPI void         elm_spinner_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
21296
21297    /**
21298     * Set the step used to increment or decrement the spinner value.
21299     *
21300     * @param obj The spinner object.
21301     * @param step The step value.
21302     *
21303     * This value will be incremented or decremented to the displayed value.
21304     * It will be incremented while the user keep right or top arrow pressed,
21305     * and will be decremented while the user keep left or bottom arrow pressed.
21306     *
21307     * The interval to increment / decrement can be set with
21308     * elm_spinner_interval_set().
21309     *
21310     * By default step value is equal to 1.
21311     *
21312     * @see elm_spinner_step_get()
21313     *
21314     * @ingroup Spinner
21315     */
21316    EAPI void         elm_spinner_step_set(Evas_Object *obj, double step) EINA_ARG_NONNULL(1);
21317
21318    /**
21319     * Get the step used to increment or decrement the spinner value.
21320     *
21321     * @param obj The spinner object.
21322     * @return The step value.
21323     *
21324     * @see elm_spinner_step_get() for more details.
21325     *
21326     * @ingroup Spinner
21327     */
21328    EAPI double       elm_spinner_step_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21329
21330    /**
21331     * Set the value the spinner displays.
21332     *
21333     * @param obj The spinner object.
21334     * @param val The value to be displayed.
21335     *
21336     * Value will be presented on the label following format specified with
21337     * elm_spinner_format_set().
21338     *
21339     * @warning The value must to be between min and max values. This values
21340     * are set by elm_spinner_min_max_set().
21341     *
21342     * @see elm_spinner_value_get().
21343     * @see elm_spinner_format_set().
21344     * @see elm_spinner_min_max_set().
21345     *
21346     * @ingroup Spinner
21347     */
21348    EAPI void         elm_spinner_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
21349
21350    /**
21351     * Get the value displayed by the spinner.
21352     *
21353     * @param obj The spinner object.
21354     * @return The value displayed.
21355     *
21356     * @see elm_spinner_value_set() for details.
21357     *
21358     * @ingroup Spinner
21359     */
21360    EAPI double       elm_spinner_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21361
21362    /**
21363     * Set whether the spinner should wrap when it reaches its
21364     * minimum or maximum value.
21365     *
21366     * @param obj The spinner object.
21367     * @param wrap @c EINA_TRUE to enable wrap or @c EINA_FALSE to
21368     * disable it.
21369     *
21370     * Disabled by default. If disabled, when the user tries to increment the
21371     * value,
21372     * but displayed value plus step value is bigger than maximum value,
21373     * the spinner
21374     * won't allow it. The same happens when the user tries to decrement it,
21375     * but the value less step is less than minimum value.
21376     *
21377     * When wrap is enabled, in such situations it will allow these changes,
21378     * but will get the value that would be less than minimum and subtracts
21379     * from maximum. Or add the value that would be more than maximum to
21380     * the minimum.
21381     *
21382     * E.g.:
21383     * @li min value = 10
21384     * @li max value = 50
21385     * @li step value = 20
21386     * @li displayed value = 20
21387     *
21388     * When the user decrement value (using left or bottom arrow), it will
21389     * displays @c 40, because max - (min - (displayed - step)) is
21390     * @c 50 - (@c 10 - (@c 20 - @c 20)) = @c 40.
21391     *
21392     * @see elm_spinner_wrap_get().
21393     *
21394     * @ingroup Spinner
21395     */
21396    EAPI void         elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap) EINA_ARG_NONNULL(1);
21397
21398    /**
21399     * Get whether the spinner should wrap when it reaches its
21400     * minimum or maximum value.
21401     *
21402     * @param obj The spinner object
21403     * @return @c EINA_TRUE means wrap is enabled. @c EINA_FALSE indicates
21404     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
21405     *
21406     * @see elm_spinner_wrap_set() for details.
21407     *
21408     * @ingroup Spinner
21409     */
21410    EAPI Eina_Bool    elm_spinner_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21411
21412    /**
21413     * Set whether the spinner can be directly edited by the user or not.
21414     *
21415     * @param obj The spinner object.
21416     * @param editable @c EINA_TRUE to allow users to edit it or @c EINA_FALSE to
21417     * don't allow users to edit it directly.
21418     *
21419     * Spinner objects can have edition @b disabled, in which state they will
21420     * be changed only by arrows.
21421     * Useful for contexts
21422     * where you don't want your users to interact with it writting the value.
21423     * Specially
21424     * when using special values, the user can see real value instead
21425     * of special label on edition.
21426     *
21427     * It's enabled by default.
21428     *
21429     * @see elm_spinner_editable_get()
21430     *
21431     * @ingroup Spinner
21432     */
21433    EAPI void         elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
21434
21435    /**
21436     * Get whether the spinner can be directly edited by the user or not.
21437     *
21438     * @param obj The spinner object.
21439     * @return @c EINA_TRUE means edition is enabled. @c EINA_FALSE indicates
21440     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
21441     *
21442     * @see elm_spinner_editable_set() for details.
21443     *
21444     * @ingroup Spinner
21445     */
21446    EAPI Eina_Bool    elm_spinner_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21447
21448    /**
21449     * Set a special string to display in the place of the numerical value.
21450     *
21451     * @param obj The spinner object.
21452     * @param value The value to be replaced.
21453     * @param label The label to be used.
21454     *
21455     * It's useful for cases when a user should select an item that is
21456     * better indicated by a label than a value. For example, weekdays or months.
21457     *
21458     * E.g.:
21459     * @code
21460     * sp = elm_spinner_add(win);
21461     * elm_spinner_min_max_set(sp, 1, 3);
21462     * elm_spinner_special_value_add(sp, 1, "January");
21463     * elm_spinner_special_value_add(sp, 2, "February");
21464     * elm_spinner_special_value_add(sp, 3, "March");
21465     * evas_object_show(sp);
21466     * @endcode
21467     *
21468     * @ingroup Spinner
21469     */
21470    EAPI void         elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label) EINA_ARG_NONNULL(1);
21471
21472    /**
21473     * Set the interval on time updates for an user mouse button hold
21474     * on spinner widgets' arrows.
21475     *
21476     * @param obj The spinner object.
21477     * @param interval The (first) interval value in seconds.
21478     *
21479     * This interval value is @b decreased while the user holds the
21480     * mouse pointer either incrementing or decrementing spinner's value.
21481     *
21482     * This helps the user to get to a given value distant from the
21483     * current one easier/faster, as it will start to change quicker and
21484     * quicker on mouse button holds.
21485     *
21486     * The calculation for the next change interval value, starting from
21487     * the one set with this call, is the previous interval divided by
21488     * @c 1.05, so it decreases a little bit.
21489     *
21490     * The default starting interval value for automatic changes is
21491     * @c 0.85 seconds.
21492     *
21493     * @see elm_spinner_interval_get()
21494     *
21495     * @ingroup Spinner
21496     */
21497    EAPI void         elm_spinner_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
21498
21499    /**
21500     * Get the interval on time updates for an user mouse button hold
21501     * on spinner widgets' arrows.
21502     *
21503     * @param obj The spinner object.
21504     * @return The (first) interval value, in seconds, set on it.
21505     *
21506     * @see elm_spinner_interval_set() for more details.
21507     *
21508     * @ingroup Spinner
21509     */
21510    EAPI double       elm_spinner_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21511
21512    /**
21513     * @}
21514     */
21515
21516    /**
21517     * @defgroup Index Index
21518     *
21519     * @image html img/widget/index/preview-00.png
21520     * @image latex img/widget/index/preview-00.eps
21521     *
21522     * An index widget gives you an index for fast access to whichever
21523     * group of other UI items one might have. It's a list of text
21524     * items (usually letters, for alphabetically ordered access).
21525     *
21526     * Index widgets are by default hidden and just appear when the
21527     * user clicks over it's reserved area in the canvas. In its
21528     * default theme, it's an area one @ref Fingers "finger" wide on
21529     * the right side of the index widget's container.
21530     *
21531     * When items on the index are selected, smart callbacks get
21532     * called, so that its user can make other container objects to
21533     * show a given area or child object depending on the index item
21534     * selected. You'd probably be using an index together with @ref
21535     * List "lists", @ref Genlist "generic lists" or @ref Gengrid
21536     * "general grids".
21537     *
21538     * Smart events one  can add callbacks for are:
21539     * - @c "changed" - When the selected index item changes. @c
21540     *      event_info is the selected item's data pointer.
21541     * - @c "delay,changed" - When the selected index item changes, but
21542     *      after a small idling period. @c event_info is the selected
21543     *      item's data pointer.
21544     * - @c "selected" - When the user releases a mouse button and
21545     *      selects an item. @c event_info is the selected item's data
21546     *      pointer.
21547     * - @c "level,up" - when the user moves a finger from the first
21548     *      level to the second level
21549     * - @c "level,down" - when the user moves a finger from the second
21550     *      level to the first level
21551     *
21552     * The @c "delay,changed" event is so that it'll wait a small time
21553     * before actually reporting those events and, moreover, just the
21554     * last event happening on those time frames will actually be
21555     * reported.
21556     *
21557     * Here are some examples on its usage:
21558     * @li @ref index_example_01
21559     * @li @ref index_example_02
21560     */
21561
21562    /**
21563     * @addtogroup Index
21564     * @{
21565     */
21566
21567    typedef struct _Elm_Index_Item Elm_Index_Item; /**< Opaque handle for items of Elementary index widgets */
21568
21569    /**
21570     * Add a new index widget to the given parent Elementary
21571     * (container) object
21572     *
21573     * @param parent The parent object
21574     * @return a new index widget handle or @c NULL, on errors
21575     *
21576     * This function inserts a new index widget on the canvas.
21577     *
21578     * @ingroup Index
21579     */
21580    EAPI Evas_Object    *elm_index_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21581
21582    /**
21583     * Set whether a given index widget is or not visible,
21584     * programatically.
21585     *
21586     * @param obj The index object
21587     * @param active @c EINA_TRUE to show it, @c EINA_FALSE to hide it
21588     *
21589     * Not to be confused with visible as in @c evas_object_show() --
21590     * visible with regard to the widget's auto hiding feature.
21591     *
21592     * @see elm_index_active_get()
21593     *
21594     * @ingroup Index
21595     */
21596    EAPI void            elm_index_active_set(Evas_Object *obj, Eina_Bool active) EINA_ARG_NONNULL(1);
21597
21598    /**
21599     * Get whether a given index widget is currently visible or not.
21600     *
21601     * @param obj The index object
21602     * @return @c EINA_TRUE, if it's shown, @c EINA_FALSE otherwise
21603     *
21604     * @see elm_index_active_set() for more details
21605     *
21606     * @ingroup Index
21607     */
21608    EAPI Eina_Bool       elm_index_active_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21609
21610    /**
21611     * Set the items level for a given index widget.
21612     *
21613     * @param obj The index object.
21614     * @param level @c 0 or @c 1, the currently implemented levels.
21615     *
21616     * @see elm_index_item_level_get()
21617     *
21618     * @ingroup Index
21619     */
21620    EAPI void            elm_index_item_level_set(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
21621
21622    /**
21623     * Get the items level set for a given index widget.
21624     *
21625     * @param obj The index object.
21626     * @return @c 0 or @c 1, which are the levels @p obj might be at.
21627     *
21628     * @see elm_index_item_level_set() for more information
21629     *
21630     * @ingroup Index
21631     */
21632    EAPI int             elm_index_item_level_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21633
21634    /**
21635     * Returns the last selected item's data, for a given index widget.
21636     *
21637     * @param obj The index object.
21638     * @return The item @b data associated to the last selected item on
21639     * @p obj (or @c NULL, on errors).
21640     *
21641     * @warning The returned value is @b not an #Elm_Index_Item item
21642     * handle, but the data associated to it (see the @c item parameter
21643     * in elm_index_item_append(), as an example).
21644     *
21645     * @ingroup Index
21646     */
21647    EAPI void           *elm_index_item_selected_get(const Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
21648
21649    /**
21650     * Append a new item on a given index widget.
21651     *
21652     * @param obj The index object.
21653     * @param letter Letter under which the item should be indexed
21654     * @param item The item data to set for the index's item
21655     *
21656     * Despite the most common usage of the @p letter argument is for
21657     * single char strings, one could use arbitrary strings as index
21658     * entries.
21659     *
21660     * @c item will be the pointer returned back on @c "changed", @c
21661     * "delay,changed" and @c "selected" smart events.
21662     *
21663     * @ingroup Index
21664     */
21665    EAPI void            elm_index_item_append(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
21666
21667    /**
21668     * Prepend a new item on a given index widget.
21669     *
21670     * @param obj The index object.
21671     * @param letter Letter under which the item should be indexed
21672     * @param item The item data to set for the index's item
21673     *
21674     * Despite the most common usage of the @p letter argument is for
21675     * single char strings, one could use arbitrary strings as index
21676     * entries.
21677     *
21678     * @c item will be the pointer returned back on @c "changed", @c
21679     * "delay,changed" and @c "selected" smart events.
21680     *
21681     * @ingroup Index
21682     */
21683    EAPI void            elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
21684
21685    /**
21686     * Append a new item, on a given index widget, <b>after the item
21687     * having @p relative as data</b>.
21688     *
21689     * @param obj The index object.
21690     * @param letter Letter under which the item should be indexed
21691     * @param item The item data to set for the index's item
21692     * @param relative The item data of the index item to be the
21693     * predecessor of this new one
21694     *
21695     * Despite the most common usage of the @p letter argument is for
21696     * single char strings, one could use arbitrary strings as index
21697     * entries.
21698     *
21699     * @c item will be the pointer returned back on @c "changed", @c
21700     * "delay,changed" and @c "selected" smart events.
21701     *
21702     * @note If @p relative is @c NULL or if it's not found to be data
21703     * set on any previous item on @p obj, this function will behave as
21704     * elm_index_item_append().
21705     *
21706     * @ingroup Index
21707     */
21708    EAPI void            elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
21709
21710    /**
21711     * Prepend a new item, on a given index widget, <b>after the item
21712     * having @p relative as data</b>.
21713     *
21714     * @param obj The index object.
21715     * @param letter Letter under which the item should be indexed
21716     * @param item The item data to set for the index's item
21717     * @param relative The item data of the index item to be the
21718     * successor of this new one
21719     *
21720     * Despite the most common usage of the @p letter argument is for
21721     * single char strings, one could use arbitrary strings as index
21722     * entries.
21723     *
21724     * @c item will be the pointer returned back on @c "changed", @c
21725     * "delay,changed" and @c "selected" smart events.
21726     *
21727     * @note If @p relative is @c NULL or if it's not found to be data
21728     * set on any previous item on @p obj, this function will behave as
21729     * elm_index_item_prepend().
21730     *
21731     * @ingroup Index
21732     */
21733    EAPI void            elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
21734
21735    /**
21736     * Insert a new item into the given index widget, using @p cmp_func
21737     * function to sort items (by item handles).
21738     *
21739     * @param obj The index object.
21740     * @param letter Letter under which the item should be indexed
21741     * @param item The item data to set for the index's item
21742     * @param cmp_func The comparing function to be used to sort index
21743     * items <b>by #Elm_Index_Item item handles</b>
21744     * @param cmp_data_func A @b fallback function to be called for the
21745     * sorting of index items <b>by item data</b>). It will be used
21746     * when @p cmp_func returns @c 0 (equality), which means an index
21747     * item with provided item data already exists. To decide which
21748     * data item should be pointed to by the index item in question, @p
21749     * cmp_data_func will be used. If @p cmp_data_func returns a
21750     * non-negative value, the previous index item data will be
21751     * replaced by the given @p item pointer. If the previous data need
21752     * to be freed, it should be done by the @p cmp_data_func function,
21753     * because all references to it will be lost. If this function is
21754     * not provided (@c NULL is given), index items will be @b
21755     * duplicated, if @p cmp_func returns @c 0.
21756     *
21757     * Despite the most common usage of the @p letter argument is for
21758     * single char strings, one could use arbitrary strings as index
21759     * entries.
21760     *
21761     * @c item will be the pointer returned back on @c "changed", @c
21762     * "delay,changed" and @c "selected" smart events.
21763     *
21764     * @ingroup Index
21765     */
21766    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);
21767
21768    /**
21769     * Remove an item from a given index widget, <b>to be referenced by
21770     * it's data value</b>.
21771     *
21772     * @param obj The index object
21773     * @param item The item's data pointer for the item to be removed
21774     * from @p obj
21775     *
21776     * If a deletion callback is set, via elm_index_item_del_cb_set(),
21777     * that callback function will be called by this one.
21778     *
21779     * @warning The item to be removed from @p obj will be found via
21780     * its item data pointer, and not by an #Elm_Index_Item handle.
21781     *
21782     * @ingroup Index
21783     */
21784    EAPI void            elm_index_item_del(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
21785
21786    /**
21787     * Find a given index widget's item, <b>using item data</b>.
21788     *
21789     * @param obj The index object
21790     * @param item The item data pointed to by the desired index item
21791     * @return The index item handle, if found, or @c NULL otherwise
21792     *
21793     * @ingroup Index
21794     */
21795    EAPI Elm_Index_Item *elm_index_item_find(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
21796
21797    /**
21798     * Removes @b all items from a given index widget.
21799     *
21800     * @param obj The index object.
21801     *
21802     * If deletion callbacks are set, via elm_index_item_del_cb_set(),
21803     * that callback function will be called for each item in @p obj.
21804     *
21805     * @ingroup Index
21806     */
21807    EAPI void            elm_index_item_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
21808
21809    /**
21810     * Go to a given items level on a index widget
21811     *
21812     * @param obj The index object
21813     * @param level The index level (one of @c 0 or @c 1)
21814     *
21815     * @ingroup Index
21816     */
21817    EAPI void            elm_index_item_go(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
21818
21819    /**
21820     * Return the data associated with a given index widget item
21821     *
21822     * @param it The index widget item handle
21823     * @return The data associated with @p it
21824     *
21825     * @see elm_index_item_data_set()
21826     *
21827     * @ingroup Index
21828     */
21829    EAPI void           *elm_index_item_data_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
21830
21831    /**
21832     * Set the data associated with a given index widget item
21833     *
21834     * @param it The index widget item handle
21835     * @param data The new data pointer to set to @p it
21836     *
21837     * This sets new item data on @p it.
21838     *
21839     * @warning The old data pointer won't be touched by this function, so
21840     * the user had better to free that old data himself/herself.
21841     *
21842     * @ingroup Index
21843     */
21844    EAPI void            elm_index_item_data_set(Elm_Index_Item *it, const void *data) EINA_ARG_NONNULL(1);
21845
21846    /**
21847     * Set the function to be called when a given index widget item is freed.
21848     *
21849     * @param it The item to set the callback on
21850     * @param func The function to call on the item's deletion
21851     *
21852     * When called, @p func will have both @c data and @c event_info
21853     * arguments with the @p it item's data value and, naturally, the
21854     * @c obj argument with a handle to the parent index widget.
21855     *
21856     * @ingroup Index
21857     */
21858    EAPI void            elm_index_item_del_cb_set(Elm_Index_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
21859
21860    /**
21861     * Get the letter (string) set on a given index widget item.
21862     *
21863     * @param it The index item handle
21864     * @return The letter string set on @p it
21865     *
21866     * @ingroup Index
21867     */
21868    EAPI const char     *elm_index_item_letter_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
21869
21870    /**
21871     * @}
21872     */
21873
21874    /**
21875     * @defgroup Photocam Photocam
21876     *
21877     * @image html img/widget/photocam/preview-00.png
21878     * @image latex img/widget/photocam/preview-00.eps
21879     *
21880     * This is a widget specifically for displaying high-resolution digital
21881     * camera photos giving speedy feedback (fast load), low memory footprint
21882     * and zooming and panning as well as fitting logic. It is entirely focused
21883     * on jpeg images, and takes advantage of properties of the jpeg format (via
21884     * evas loader features in the jpeg loader).
21885     *
21886     * Signals that you can add callbacks for are:
21887     * @li "clicked" - This is called when a user has clicked the photo without
21888     *                 dragging around.
21889     * @li "press" - This is called when a user has pressed down on the photo.
21890     * @li "longpressed" - This is called when a user has pressed down on the
21891     *                     photo for a long time without dragging around.
21892     * @li "clicked,double" - This is called when a user has double-clicked the
21893     *                        photo.
21894     * @li "load" - Photo load begins.
21895     * @li "loaded" - This is called when the image file load is complete for the
21896     *                first view (low resolution blurry version).
21897     * @li "load,detail" - Photo detailed data load begins.
21898     * @li "loaded,detail" - This is called when the image file load is complete
21899     *                      for the detailed image data (full resolution needed).
21900     * @li "zoom,start" - Zoom animation started.
21901     * @li "zoom,stop" - Zoom animation stopped.
21902     * @li "zoom,change" - Zoom changed when using an auto zoom mode.
21903     * @li "scroll" - the content has been scrolled (moved)
21904     * @li "scroll,anim,start" - scrolling animation has started
21905     * @li "scroll,anim,stop" - scrolling animation has stopped
21906     * @li "scroll,drag,start" - dragging the contents around has started
21907     * @li "scroll,drag,stop" - dragging the contents around has stopped
21908     *
21909     * @ref tutorial_photocam shows the API in action.
21910     * @{
21911     */
21912    /**
21913     * @brief Types of zoom available.
21914     */
21915    typedef enum _Elm_Photocam_Zoom_Mode
21916      {
21917         ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0, /**< Zoom controled normally by elm_photocam_zoom_set */
21918         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT, /**< Zoom until photo fits in photocam */
21919         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL, /**< Zoom until photo fills photocam */
21920         ELM_PHOTOCAM_ZOOM_MODE_LAST
21921      } Elm_Photocam_Zoom_Mode;
21922    /**
21923     * @brief Add a new Photocam object
21924     *
21925     * @param parent The parent object
21926     * @return The new object or NULL if it cannot be created
21927     */
21928    EAPI Evas_Object           *elm_photocam_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21929    /**
21930     * @brief Set the photo file to be shown
21931     *
21932     * @param obj The photocam object
21933     * @param file The photo file
21934     * @return The return error (see EVAS_LOAD_ERROR_NONE, EVAS_LOAD_ERROR_GENERIC etc.)
21935     *
21936     * This sets (and shows) the specified file (with a relative or absolute
21937     * path) and will return a load error (same error that
21938     * evas_object_image_load_error_get() will return). The image will change and
21939     * adjust its size at this point and begin a background load process for this
21940     * photo that at some time in the future will be displayed at the full
21941     * quality needed.
21942     */
21943    EAPI Evas_Load_Error        elm_photocam_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
21944    /**
21945     * @brief Returns the path of the current image file
21946     *
21947     * @param obj The photocam object
21948     * @return Returns the path
21949     *
21950     * @see elm_photocam_file_set()
21951     */
21952    EAPI const char            *elm_photocam_file_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21953    /**
21954     * @brief Set the zoom level of the photo
21955     *
21956     * @param obj The photocam object
21957     * @param zoom The zoom level to set
21958     *
21959     * This sets the zoom level. 1 will be 1:1 pixel for pixel. 2 will be 2:1
21960     * (that is 2x2 photo pixels will display as 1 on-screen pixel). 4:1 will be
21961     * 4x4 photo pixels as 1 screen pixel, and so on. The @p zoom parameter must
21962     * be greater than 0. It is usggested to stick to powers of 2. (1, 2, 4, 8,
21963     * 16, 32, etc.).
21964     */
21965    EAPI void                   elm_photocam_zoom_set(Evas_Object *obj, double zoom) EINA_ARG_NONNULL(1);
21966    /**
21967     * @brief Get the zoom level of the photo
21968     *
21969     * @param obj The photocam object
21970     * @return The current zoom level
21971     *
21972     * This returns the current zoom level of the photocam object. Note that if
21973     * you set the fill mode to other than ELM_PHOTOCAM_ZOOM_MODE_MANUAL
21974     * (which is the default), the zoom level may be changed at any time by the
21975     * photocam object itself to account for photo size and photocam viewpoer
21976     * size.
21977     *
21978     * @see elm_photocam_zoom_set()
21979     * @see elm_photocam_zoom_mode_set()
21980     */
21981    EAPI double                 elm_photocam_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21982    /**
21983     * @brief Set the zoom mode
21984     *
21985     * @param obj The photocam object
21986     * @param mode The desired mode
21987     *
21988     * This sets the zoom mode to manual or one of several automatic levels.
21989     * Manual (ELM_PHOTOCAM_ZOOM_MODE_MANUAL) means that zoom is set manually by
21990     * elm_photocam_zoom_set() and will stay at that level until changed by code
21991     * or until zoom mode is changed. This is the default mode. The Automatic
21992     * modes will allow the photocam object to automatically adjust zoom mode
21993     * based on properties. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT) will adjust zoom so
21994     * the photo fits EXACTLY inside the scroll frame with no pixels outside this
21995     * area. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL will be similar but ensure no
21996     * pixels within the frame are left unfilled.
21997     */
21998    EAPI void                   elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode) EINA_ARG_NONNULL(1);
21999    /**
22000     * @brief Get the zoom mode
22001     *
22002     * @param obj The photocam object
22003     * @return The current zoom mode
22004     *
22005     * This gets the current zoom mode of the photocam object.
22006     *
22007     * @see elm_photocam_zoom_mode_set()
22008     */
22009    EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22010    /**
22011     * @brief Get the current image pixel width and height
22012     *
22013     * @param obj The photocam object
22014     * @param w A pointer to the width return
22015     * @param h A pointer to the height return
22016     *
22017     * This gets the current photo pixel width and height (for the original).
22018     * The size will be returned in the integers @p w and @p h that are pointed
22019     * to.
22020     */
22021    EAPI void                   elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
22022    /**
22023     * @brief Get the area of the image that is currently shown
22024     *
22025     * @param obj
22026     * @param x A pointer to the X-coordinate of region
22027     * @param y A pointer to the Y-coordinate of region
22028     * @param w A pointer to the width
22029     * @param h A pointer to the height
22030     *
22031     * @see elm_photocam_image_region_show()
22032     * @see elm_photocam_image_region_bring_in()
22033     */
22034    EAPI void                   elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
22035    /**
22036     * @brief Set the viewed portion of the image
22037     *
22038     * @param obj The photocam object
22039     * @param x X-coordinate of region in image original pixels
22040     * @param y Y-coordinate of region in image original pixels
22041     * @param w Width of region in image original pixels
22042     * @param h Height of region in image original pixels
22043     *
22044     * This shows the region of the image without using animation.
22045     */
22046    EAPI void                   elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
22047    /**
22048     * @brief Bring in the viewed portion of the image
22049     *
22050     * @param obj The photocam object
22051     * @param x X-coordinate of region in image original pixels
22052     * @param y Y-coordinate of region in image original pixels
22053     * @param w Width of region in image original pixels
22054     * @param h Height of region in image original pixels
22055     *
22056     * This shows the region of the image using animation.
22057     */
22058    EAPI void                   elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
22059    /**
22060     * @brief Set the paused state for photocam
22061     *
22062     * @param obj The photocam object
22063     * @param paused The pause state to set
22064     *
22065     * This sets the paused state to on(EINA_TRUE) or off (EINA_FALSE) for
22066     * photocam. The default is off. This will stop zooming using animation on
22067     * zoom levels changes and change instantly. This will stop any existing
22068     * animations that are running.
22069     */
22070    EAPI void                   elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
22071    /**
22072     * @brief Get the paused state for photocam
22073     *
22074     * @param obj The photocam object
22075     * @return The current paused state
22076     *
22077     * This gets the current paused state for the photocam object.
22078     *
22079     * @see elm_photocam_paused_set()
22080     */
22081    EAPI Eina_Bool              elm_photocam_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22082    /**
22083     * @brief Get the internal low-res image used for photocam
22084     *
22085     * @param obj The photocam object
22086     * @return The internal image object handle, or NULL if none exists
22087     *
22088     * This gets the internal image object inside photocam. Do not modify it. It
22089     * is for inspection only, and hooking callbacks to. Nothing else. It may be
22090     * deleted at any time as well.
22091     */
22092    EAPI Evas_Object           *elm_photocam_internal_image_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22093    /**
22094     * @brief Set the photocam scrolling bouncing.
22095     *
22096     * @param obj The photocam object
22097     * @param h_bounce bouncing for horizontal
22098     * @param v_bounce bouncing for vertical
22099     */
22100    EAPI void                   elm_photocam_bounce_set(Evas_Object *obj,  Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
22101    /**
22102     * @brief Get the photocam scrolling bouncing.
22103     *
22104     * @param obj The photocam object
22105     * @param h_bounce bouncing for horizontal
22106     * @param v_bounce bouncing for vertical
22107     *
22108     * @see elm_photocam_bounce_set()
22109     */
22110    EAPI void                   elm_photocam_bounce_get(const Evas_Object *obj,  Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
22111    /**
22112     * @}
22113     */
22114
22115    /**
22116     * @defgroup Map Map
22117     * @ingroup Elementary
22118     *
22119     * @image html img/widget/map/preview-00.png
22120     * @image latex img/widget/map/preview-00.eps
22121     *
22122     * This is a widget specifically for displaying a map. It uses basically
22123     * OpenStreetMap provider http://www.openstreetmap.org/,
22124     * but custom providers can be added.
22125     *
22126     * It supports some basic but yet nice features:
22127     * @li zoom and scroll
22128     * @li markers with content to be displayed when user clicks over it
22129     * @li group of markers
22130     * @li routes
22131     *
22132     * Smart callbacks one can listen to:
22133     *
22134     * - "clicked" - This is called when a user has clicked the map without
22135     *   dragging around.
22136     * - "press" - This is called when a user has pressed down on the map.
22137     * - "longpressed" - This is called when a user has pressed down on the map
22138     *   for a long time without dragging around.
22139     * - "clicked,double" - This is called when a user has double-clicked
22140     *   the map.
22141     * - "load,detail" - Map detailed data load begins.
22142     * - "loaded,detail" - This is called when all currently visible parts of
22143     *   the map are loaded.
22144     * - "zoom,start" - Zoom animation started.
22145     * - "zoom,stop" - Zoom animation stopped.
22146     * - "zoom,change" - Zoom changed when using an auto zoom mode.
22147     * - "scroll" - the content has been scrolled (moved).
22148     * - "scroll,anim,start" - scrolling animation has started.
22149     * - "scroll,anim,stop" - scrolling animation has stopped.
22150     * - "scroll,drag,start" - dragging the contents around has started.
22151     * - "scroll,drag,stop" - dragging the contents around has stopped.
22152     * - "downloaded" - This is called when all currently required map images
22153     *   are downloaded.
22154     * - "route,load" - This is called when route request begins.
22155     * - "route,loaded" - This is called when route request ends.
22156     * - "name,load" - This is called when name request begins.
22157     * - "name,loaded- This is called when name request ends.
22158     *
22159     * Available style for map widget:
22160     * - @c "default"
22161     *
22162     * Available style for markers:
22163     * - @c "radio"
22164     * - @c "radio2"
22165     * - @c "empty"
22166     *
22167     * Available style for marker bubble:
22168     * - @c "default"
22169     *
22170     * List of examples:
22171     * @li @ref map_example_01
22172     * @li @ref map_example_02
22173     * @li @ref map_example_03
22174     */
22175
22176    /**
22177     * @addtogroup Map
22178     * @{
22179     */
22180
22181    /**
22182     * @enum _Elm_Map_Zoom_Mode
22183     * @typedef Elm_Map_Zoom_Mode
22184     *
22185     * Set map's zoom behavior. It can be set to manual or automatic.
22186     *
22187     * Default value is #ELM_MAP_ZOOM_MODE_MANUAL.
22188     *
22189     * Values <b> don't </b> work as bitmask, only one can be choosen.
22190     *
22191     * @note Valid sizes are 2^zoom, consequently the map may be smaller
22192     * than the scroller view.
22193     *
22194     * @see elm_map_zoom_mode_set()
22195     * @see elm_map_zoom_mode_get()
22196     *
22197     * @ingroup Map
22198     */
22199    typedef enum _Elm_Map_Zoom_Mode
22200      {
22201         ELM_MAP_ZOOM_MODE_MANUAL, /**< Zoom controled manually by elm_map_zoom_set(). It's set by default. */
22202         ELM_MAP_ZOOM_MODE_AUTO_FIT, /**< Zoom until map fits inside the scroll frame with no pixels outside this area. */
22203         ELM_MAP_ZOOM_MODE_AUTO_FILL, /**< Zoom until map fills scroll, ensuring no pixels are left unfilled. */
22204         ELM_MAP_ZOOM_MODE_LAST
22205      } Elm_Map_Zoom_Mode;
22206
22207    /**
22208     * @enum _Elm_Map_Route_Sources
22209     * @typedef Elm_Map_Route_Sources
22210     *
22211     * Set route service to be used. By default used source is
22212     * #ELM_MAP_ROUTE_SOURCE_YOURS.
22213     *
22214     * @see elm_map_route_source_set()
22215     * @see elm_map_route_source_get()
22216     *
22217     * @ingroup Map
22218     */
22219    typedef enum _Elm_Map_Route_Sources
22220      {
22221         ELM_MAP_ROUTE_SOURCE_YOURS, /**< Routing service http://www.yournavigation.org/ . Set by default.*/
22222         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. */
22223         ELM_MAP_ROUTE_SOURCE_ORS, /**< Open Route Service: http://www.openrouteservice.org/ . It's not working with Map yet. */
22224         ELM_MAP_ROUTE_SOURCE_LAST
22225      } Elm_Map_Route_Sources;
22226
22227    typedef enum _Elm_Map_Name_Sources
22228      {
22229         ELM_MAP_NAME_SOURCE_NOMINATIM,
22230         ELM_MAP_NAME_SOURCE_LAST
22231      } Elm_Map_Name_Sources;
22232
22233    /**
22234     * @enum _Elm_Map_Route_Type
22235     * @typedef Elm_Map_Route_Type
22236     *
22237     * Set type of transport used on route.
22238     *
22239     * @see elm_map_route_add()
22240     *
22241     * @ingroup Map
22242     */
22243    typedef enum _Elm_Map_Route_Type
22244      {
22245         ELM_MAP_ROUTE_TYPE_MOTOCAR, /**< Route should consider an automobile will be used. */
22246         ELM_MAP_ROUTE_TYPE_BICYCLE, /**< Route should consider a bicycle will be used by the user. */
22247         ELM_MAP_ROUTE_TYPE_FOOT, /**< Route should consider user will be walking. */
22248         ELM_MAP_ROUTE_TYPE_LAST
22249      } Elm_Map_Route_Type;
22250
22251    /**
22252     * @enum _Elm_Map_Route_Method
22253     * @typedef Elm_Map_Route_Method
22254     *
22255     * Set the routing method, what should be priorized, time or distance.
22256     *
22257     * @see elm_map_route_add()
22258     *
22259     * @ingroup Map
22260     */
22261    typedef enum _Elm_Map_Route_Method
22262      {
22263         ELM_MAP_ROUTE_METHOD_FASTEST, /**< Route should priorize time. */
22264         ELM_MAP_ROUTE_METHOD_SHORTEST, /**< Route should priorize distance. */
22265         ELM_MAP_ROUTE_METHOD_LAST
22266      } Elm_Map_Route_Method;
22267
22268    typedef enum _Elm_Map_Name_Method
22269      {
22270         ELM_MAP_NAME_METHOD_SEARCH,
22271         ELM_MAP_NAME_METHOD_REVERSE,
22272         ELM_MAP_NAME_METHOD_LAST
22273      } Elm_Map_Name_Method;
22274
22275    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(). */
22276    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(). */
22277    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(). */
22278    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(). */
22279    typedef struct _Elm_Map_Name            Elm_Map_Name; /**< A handle for specific coordinates. */
22280    typedef struct _Elm_Map_Track           Elm_Map_Track;
22281
22282    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. */
22283    typedef void         (*ElmMapMarkerDelFunc)      (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o); /**< Function to delete bubble content for marker classes. */
22284    typedef Evas_Object *(*ElmMapMarkerIconGetFunc)  (Evas_Object *obj, Elm_Map_Marker *marker, void *data); /**< Icon fetching class function for marker classes. */
22285    typedef Evas_Object *(*ElmMapGroupIconGetFunc)   (Evas_Object *obj, void *data); /**< Icon fetching class function for markers group classes. */
22286
22287    typedef char        *(*ElmMapModuleSourceFunc) (void);
22288    typedef int          (*ElmMapModuleZoomMinFunc) (void);
22289    typedef int          (*ElmMapModuleZoomMaxFunc) (void);
22290    typedef char        *(*ElmMapModuleUrlFunc) (Evas_Object *obj, int x, int y, int zoom);
22291    typedef int          (*ElmMapModuleRouteSourceFunc) (void);
22292    typedef char        *(*ElmMapModuleRouteUrlFunc) (Evas_Object *obj, char *type_name, int method, double flon, double flat, double tlon, double tlat);
22293    typedef char        *(*ElmMapModuleNameUrlFunc) (Evas_Object *obj, int method, char *name, double lon, double lat);
22294    typedef Eina_Bool    (*ElmMapModuleGeoIntoCoordFunc) (const Evas_Object *obj, int zoom, double lon, double lat, int size, int *x, int *y);
22295    typedef Eina_Bool    (*ElmMapModuleCoordIntoGeoFunc) (const Evas_Object *obj, int zoom, int x, int y, int size, double *lon, double *lat);
22296
22297    /**
22298     * Add a new map widget to the given parent Elementary (container) object.
22299     *
22300     * @param parent The parent object.
22301     * @return a new map widget handle or @c NULL, on errors.
22302     *
22303     * This function inserts a new map widget on the canvas.
22304     *
22305     * @ingroup Map
22306     */
22307    EAPI Evas_Object          *elm_map_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22308
22309    /**
22310     * Set the zoom level of the map.
22311     *
22312     * @param obj The map object.
22313     * @param zoom The zoom level to set.
22314     *
22315     * This sets the zoom level.
22316     *
22317     * It will respect limits defined by elm_map_source_zoom_min_set() and
22318     * elm_map_source_zoom_max_set().
22319     *
22320     * By default these values are 0 (world map) and 18 (maximum zoom).
22321     *
22322     * This function should be used when zoom mode is set to
22323     * #ELM_MAP_ZOOM_MODE_MANUAL. This is the default mode, and can be set
22324     * with elm_map_zoom_mode_set().
22325     *
22326     * @see elm_map_zoom_mode_set().
22327     * @see elm_map_zoom_get().
22328     *
22329     * @ingroup Map
22330     */
22331    EAPI void                  elm_map_zoom_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
22332
22333    /**
22334     * Get the zoom level of the map.
22335     *
22336     * @param obj The map object.
22337     * @return The current zoom level.
22338     *
22339     * This returns the current zoom level of the map object.
22340     *
22341     * Note that if you set the fill mode to other than #ELM_MAP_ZOOM_MODE_MANUAL
22342     * (which is the default), the zoom level may be changed at any time by the
22343     * map object itself to account for map size and map viewport size.
22344     *
22345     * @see elm_map_zoom_set() for details.
22346     *
22347     * @ingroup Map
22348     */
22349    EAPI int                   elm_map_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22350
22351    /**
22352     * Set the zoom mode used by the map object.
22353     *
22354     * @param obj The map object.
22355     * @param mode The zoom mode of the map, being it one of
22356     * #ELM_MAP_ZOOM_MODE_MANUAL (default), #ELM_MAP_ZOOM_MODE_AUTO_FIT,
22357     * or #ELM_MAP_ZOOM_MODE_AUTO_FILL.
22358     *
22359     * This sets the zoom mode to manual or one of the automatic levels.
22360     * Manual (#ELM_MAP_ZOOM_MODE_MANUAL) means that zoom is set manually by
22361     * elm_map_zoom_set() and will stay at that level until changed by code
22362     * or until zoom mode is changed. This is the default mode.
22363     *
22364     * The Automatic modes will allow the map object to automatically
22365     * adjust zoom mode based on properties. #ELM_MAP_ZOOM_MODE_AUTO_FIT will
22366     * adjust zoom so the map fits inside the scroll frame with no pixels
22367     * outside this area. #ELM_MAP_ZOOM_MODE_AUTO_FILL will be similar but
22368     * ensure no pixels within the frame are left unfilled. Do not forget that
22369     * the valid sizes are 2^zoom, consequently the map may be smaller than
22370     * the scroller view.
22371     *
22372     * @see elm_map_zoom_set()
22373     *
22374     * @ingroup Map
22375     */
22376    EAPI void                  elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode) EINA_ARG_NONNULL(1);
22377
22378    /**
22379     * Get the zoom mode used by the map object.
22380     *
22381     * @param obj The map object.
22382     * @return The zoom mode of the map, being it one of
22383     * #ELM_MAP_ZOOM_MODE_MANUAL (default), #ELM_MAP_ZOOM_MODE_AUTO_FIT,
22384     * or #ELM_MAP_ZOOM_MODE_AUTO_FILL.
22385     *
22386     * This function returns the current zoom mode used by the map object.
22387     *
22388     * @see elm_map_zoom_mode_set() for more details.
22389     *
22390     * @ingroup Map
22391     */
22392    EAPI Elm_Map_Zoom_Mode     elm_map_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22393
22394    /**
22395     * Get the current coordinates of the map.
22396     *
22397     * @param obj The map object.
22398     * @param lon Pointer where to store longitude.
22399     * @param lat Pointer where to store latitude.
22400     *
22401     * This gets the current center coordinates of the map object. It can be
22402     * set by elm_map_geo_region_bring_in() and elm_map_geo_region_show().
22403     *
22404     * @see elm_map_geo_region_bring_in()
22405     * @see elm_map_geo_region_show()
22406     *
22407     * @ingroup Map
22408     */
22409    EAPI void                  elm_map_geo_region_get(const Evas_Object *obj, double *lon, double *lat) EINA_ARG_NONNULL(1);
22410
22411    /**
22412     * Animatedly bring in given coordinates to the center of the map.
22413     *
22414     * @param obj The map object.
22415     * @param lon Longitude to center at.
22416     * @param lat Latitude to center at.
22417     *
22418     * This causes map to jump to the given @p lat and @p lon coordinates
22419     * and show it (by scrolling) in the center of the viewport, if it is not
22420     * already centered. This will use animation to do so and take a period
22421     * of time to complete.
22422     *
22423     * @see elm_map_geo_region_show() for a function to avoid animation.
22424     * @see elm_map_geo_region_get()
22425     *
22426     * @ingroup Map
22427     */
22428    EAPI void                  elm_map_geo_region_bring_in(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
22429
22430    /**
22431     * Show the given coordinates at the center of the map, @b immediately.
22432     *
22433     * @param obj The map object.
22434     * @param lon Longitude to center at.
22435     * @param lat Latitude to center at.
22436     *
22437     * This causes map to @b redraw its viewport's contents to the
22438     * region contining the given @p lat and @p lon, that will be moved to the
22439     * center of the map.
22440     *
22441     * @see elm_map_geo_region_bring_in() for a function to move with animation.
22442     * @see elm_map_geo_region_get()
22443     *
22444     * @ingroup Map
22445     */
22446    EAPI void                  elm_map_geo_region_show(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
22447
22448    /**
22449     * Pause or unpause the map.
22450     *
22451     * @param obj The map object.
22452     * @param paused Use @c EINA_TRUE to pause the map @p obj or @c EINA_FALSE
22453     * to unpause it.
22454     *
22455     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
22456     * for map.
22457     *
22458     * The default is off.
22459     *
22460     * This will stop zooming using animation, changing zoom levels will
22461     * change instantly. This will stop any existing animations that are running.
22462     *
22463     * @see elm_map_paused_get()
22464     *
22465     * @ingroup Map
22466     */
22467    EAPI void                  elm_map_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
22468
22469    /**
22470     * Get a value whether map is paused or not.
22471     *
22472     * @param obj The map object.
22473     * @return @c EINA_TRUE means map is pause. @c EINA_FALSE indicates
22474     * it is not. If @p obj is @c NULL, @c EINA_FALSE is returned.
22475     *
22476     * This gets the current paused state for the map object.
22477     *
22478     * @see elm_map_paused_set() for details.
22479     *
22480     * @ingroup Map
22481     */
22482    EAPI Eina_Bool             elm_map_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22483
22484    /**
22485     * Set to show markers during zoom level changes or not.
22486     *
22487     * @param obj The map object.
22488     * @param paused Use @c EINA_TRUE to @b not show markers or @c EINA_FALSE
22489     * to show them.
22490     *
22491     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
22492     * for map.
22493     *
22494     * The default is off.
22495     *
22496     * This will stop zooming using animation, changing zoom levels will
22497     * change instantly. This will stop any existing animations that are running.
22498     *
22499     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
22500     * for the markers.
22501     *
22502     * The default  is off.
22503     *
22504     * Enabling it will force the map to stop displaying the markers during
22505     * zoom level changes. Set to on if you have a large number of markers.
22506     *
22507     * @see elm_map_paused_markers_get()
22508     *
22509     * @ingroup Map
22510     */
22511    EAPI void                  elm_map_paused_markers_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
22512
22513    /**
22514     * Get a value whether markers will be displayed on zoom level changes or not
22515     *
22516     * @param obj The map object.
22517     * @return @c EINA_TRUE means map @b won't display markers or @c EINA_FALSE
22518     * indicates it will. If @p obj is @c NULL, @c EINA_FALSE is returned.
22519     *
22520     * This gets the current markers paused state for the map object.
22521     *
22522     * @see elm_map_paused_markers_set() for details.
22523     *
22524     * @ingroup Map
22525     */
22526    EAPI Eina_Bool             elm_map_paused_markers_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22527
22528    /**
22529     * Get the information of downloading status.
22530     *
22531     * @param obj The map object.
22532     * @param try_num Pointer where to store number of tiles being downloaded.
22533     * @param finish_num Pointer where to store number of tiles successfully
22534     * downloaded.
22535     *
22536     * This gets the current downloading status for the map object, the number
22537     * of tiles being downloaded and the number of tiles already downloaded.
22538     *
22539     * @ingroup Map
22540     */
22541    EAPI void                  elm_map_utils_downloading_status_get(const Evas_Object *obj, int *try_num, int *finish_num) EINA_ARG_NONNULL(1, 2, 3);
22542
22543    /**
22544     * Convert a pixel coordinate (x,y) into a geographic coordinate
22545     * (longitude, latitude).
22546     *
22547     * @param obj The map object.
22548     * @param x the coordinate.
22549     * @param y the coordinate.
22550     * @param size the size in pixels of the map.
22551     * The map is a square and generally his size is : pow(2.0, zoom)*256.
22552     * @param lon Pointer where to store the longitude that correspond to x.
22553     * @param lat Pointer where to store the latitude that correspond to y.
22554     *
22555     * @note Origin pixel point is the top left corner of the viewport.
22556     * Map zoom and size are taken on account.
22557     *
22558     * @see elm_map_utils_convert_geo_into_coord() if you need the inverse.
22559     *
22560     * @ingroup Map
22561     */
22562    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);
22563
22564    /**
22565     * Convert a geographic coordinate (longitude, latitude) into a pixel
22566     * coordinate (x, y).
22567     *
22568     * @param obj The map object.
22569     * @param lon the longitude.
22570     * @param lat the latitude.
22571     * @param size the size in pixels of the map. The map is a square
22572     * and generally his size is : pow(2.0, zoom)*256.
22573     * @param x Pointer where to store the horizontal pixel coordinate that
22574     * correspond to the longitude.
22575     * @param y Pointer where to store the vertical pixel coordinate that
22576     * correspond to the latitude.
22577     *
22578     * @note Origin pixel point is the top left corner of the viewport.
22579     * Map zoom and size are taken on account.
22580     *
22581     * @see elm_map_utils_convert_coord_into_geo() if you need the inverse.
22582     *
22583     * @ingroup Map
22584     */
22585    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);
22586
22587    /**
22588     * Convert a geographic coordinate (longitude, latitude) into a name
22589     * (address).
22590     *
22591     * @param obj The map object.
22592     * @param lon the longitude.
22593     * @param lat the latitude.
22594     * @return name A #Elm_Map_Name handle for this coordinate.
22595     *
22596     * To get the string for this address, elm_map_name_address_get()
22597     * should be used.
22598     *
22599     * @see elm_map_utils_convert_name_into_coord() if you need the inverse.
22600     *
22601     * @ingroup Map
22602     */
22603    EAPI Elm_Map_Name         *elm_map_utils_convert_coord_into_name(const Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
22604
22605    /**
22606     * Convert a name (address) into a geographic coordinate
22607     * (longitude, latitude).
22608     *
22609     * @param obj The map object.
22610     * @param name The address.
22611     * @return name A #Elm_Map_Name handle for this address.
22612     *
22613     * To get the longitude and latitude, elm_map_name_region_get()
22614     * should be used.
22615     *
22616     * @see elm_map_utils_convert_coord_into_name() if you need the inverse.
22617     *
22618     * @ingroup Map
22619     */
22620    EAPI Elm_Map_Name         *elm_map_utils_convert_name_into_coord(const Evas_Object *obj, char *address) EINA_ARG_NONNULL(1, 2);
22621
22622    /**
22623     * Convert a pixel coordinate into a rotated pixel coordinate.
22624     *
22625     * @param obj The map object.
22626     * @param x horizontal coordinate of the point to rotate.
22627     * @param y vertical coordinate of the point to rotate.
22628     * @param cx rotation's center horizontal position.
22629     * @param cy rotation's center vertical position.
22630     * @param degree amount of degrees from 0.0 to 360.0 to rotate arount Z axis.
22631     * @param xx Pointer where to store rotated x.
22632     * @param yy Pointer where to store rotated y.
22633     *
22634     * @ingroup Map
22635     */
22636    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);
22637
22638    /**
22639     * Add a new marker to the map object.
22640     *
22641     * @param obj The map object.
22642     * @param lon The longitude of the marker.
22643     * @param lat The latitude of the marker.
22644     * @param clas The class, to use when marker @b isn't grouped to others.
22645     * @param clas_group The class group, to use when marker is grouped to others
22646     * @param data The data passed to the callbacks.
22647     *
22648     * @return The created marker or @c NULL upon failure.
22649     *
22650     * A marker will be created and shown in a specific point of the map, defined
22651     * by @p lon and @p lat.
22652     *
22653     * It will be displayed using style defined by @p class when this marker
22654     * is displayed alone (not grouped). A new class can be created with
22655     * elm_map_marker_class_new().
22656     *
22657     * If the marker is grouped to other markers, it will be displayed with
22658     * style defined by @p class_group. Markers with the same group are grouped
22659     * if they are close. A new group class can be created with
22660     * elm_map_marker_group_class_new().
22661     *
22662     * Markers created with this method can be deleted with
22663     * elm_map_marker_remove().
22664     *
22665     * A marker can have associated content to be displayed by a bubble,
22666     * when a user click over it, as well as an icon. These objects will
22667     * be fetch using class' callback functions.
22668     *
22669     * @see elm_map_marker_class_new()
22670     * @see elm_map_marker_group_class_new()
22671     * @see elm_map_marker_remove()
22672     *
22673     * @ingroup Map
22674     */
22675    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);
22676
22677    /**
22678     * Set the maximum numbers of markers' content to be displayed in a group.
22679     *
22680     * @param obj The map object.
22681     * @param max The maximum numbers of items displayed in a bubble.
22682     *
22683     * A bubble will be displayed when the user clicks over the group,
22684     * and will place the content of markers that belong to this group
22685     * inside it.
22686     *
22687     * A group can have a long list of markers, consequently the creation
22688     * of the content of the bubble can be very slow.
22689     *
22690     * In order to avoid this, a maximum number of items is displayed
22691     * in a bubble.
22692     *
22693     * By default this number is 30.
22694     *
22695     * Marker with the same group class are grouped if they are close.
22696     *
22697     * @see elm_map_marker_add()
22698     *
22699     * @ingroup Map
22700     */
22701    EAPI void                  elm_map_max_marker_per_group_set(Evas_Object *obj, int max) EINA_ARG_NONNULL(1);
22702
22703    /**
22704     * Remove a marker from the map.
22705     *
22706     * @param marker The marker to remove.
22707     *
22708     * @see elm_map_marker_add()
22709     *
22710     * @ingroup Map
22711     */
22712    EAPI void                  elm_map_marker_remove(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22713
22714    /**
22715     * Get the current coordinates of the marker.
22716     *
22717     * @param marker marker.
22718     * @param lat Pointer where to store the marker's latitude.
22719     * @param lon Pointer where to store the marker's longitude.
22720     *
22721     * These values are set when adding markers, with function
22722     * elm_map_marker_add().
22723     *
22724     * @see elm_map_marker_add()
22725     *
22726     * @ingroup Map
22727     */
22728    EAPI void                  elm_map_marker_region_get(const Elm_Map_Marker *marker, double *lon, double *lat) EINA_ARG_NONNULL(1);
22729
22730    /**
22731     * Animatedly bring in given marker to the center of the map.
22732     *
22733     * @param marker The marker to center at.
22734     *
22735     * This causes map to jump to the given @p marker's coordinates
22736     * and show it (by scrolling) in the center of the viewport, if it is not
22737     * already centered. This will use animation to do so and take a period
22738     * of time to complete.
22739     *
22740     * @see elm_map_marker_show() for a function to avoid animation.
22741     * @see elm_map_marker_region_get()
22742     *
22743     * @ingroup Map
22744     */
22745    EAPI void                  elm_map_marker_bring_in(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22746
22747    /**
22748     * Show the given marker at the center of the map, @b immediately.
22749     *
22750     * @param marker The marker to center at.
22751     *
22752     * This causes map to @b redraw its viewport's contents to the
22753     * region contining the given @p marker's coordinates, that will be
22754     * moved to the center of the map.
22755     *
22756     * @see elm_map_marker_bring_in() for a function to move with animation.
22757     * @see elm_map_markers_list_show() if more than one marker need to be
22758     * displayed.
22759     * @see elm_map_marker_region_get()
22760     *
22761     * @ingroup Map
22762     */
22763    EAPI void                  elm_map_marker_show(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22764
22765    /**
22766     * Move and zoom the map to display a list of markers.
22767     *
22768     * @param markers A list of #Elm_Map_Marker handles.
22769     *
22770     * The map will be centered on the center point of the markers in the list.
22771     * Then the map will be zoomed in order to fit the markers using the maximum
22772     * zoom which allows display of all the markers.
22773     *
22774     * @warning All the markers should belong to the same map object.
22775     *
22776     * @see elm_map_marker_show() to show a single marker.
22777     * @see elm_map_marker_bring_in()
22778     *
22779     * @ingroup Map
22780     */
22781    EAPI void                  elm_map_markers_list_show(Eina_List *markers) EINA_ARG_NONNULL(1);
22782
22783    /**
22784     * Get the Evas object returned by the ElmMapMarkerGetFunc callback
22785     *
22786     * @param marker The marker wich content should be returned.
22787     * @return Return the evas object if it exists, else @c NULL.
22788     *
22789     * To set callback function #ElmMapMarkerGetFunc for the marker class,
22790     * elm_map_marker_class_get_cb_set() should be used.
22791     *
22792     * This content is what will be inside the bubble that will be displayed
22793     * when an user clicks over the marker.
22794     *
22795     * This returns the actual Evas object used to be placed inside
22796     * the bubble. This may be @c NULL, as it may
22797     * not have been created or may have been deleted, at any time, by
22798     * the map. <b>Do not modify this object</b> (move, resize,
22799     * show, hide, etc.), as the map is controlling it. This
22800     * function is for querying, emitting custom signals or hooking
22801     * lower level callbacks for events on that object. Do not delete
22802     * this object under any circumstances.
22803     *
22804     * @ingroup Map
22805     */
22806    EAPI Evas_Object          *elm_map_marker_object_get(const Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22807
22808    /**
22809     * Update the marker
22810     *
22811     * @param marker The marker to be updated.
22812     *
22813     * If a content is set to this marker, it will call function to delete it,
22814     * #ElmMapMarkerDelFunc, and then will fetch the content again with
22815     * #ElmMapMarkerGetFunc.
22816     *
22817     * These functions are set for the marker class with
22818     * elm_map_marker_class_get_cb_set() and elm_map_marker_class_del_cb_set().
22819     *
22820     * @ingroup Map
22821     */
22822    EAPI void                  elm_map_marker_update(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
22823
22824    /**
22825     * Close all the bubbles opened by the user.
22826     *
22827     * @param obj The map object.
22828     *
22829     * A bubble is displayed with a content fetched with #ElmMapMarkerGetFunc
22830     * when the user clicks on a marker.
22831     *
22832     * This functions is set for the marker class with
22833     * elm_map_marker_class_get_cb_set().
22834     *
22835     * @ingroup Map
22836     */
22837    EAPI void                  elm_map_bubbles_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
22838
22839    /**
22840     * Create a new group class.
22841     *
22842     * @param obj The map object.
22843     * @return Returns the new group class.
22844     *
22845     * Each marker must be associated to a group class. Markers in the same
22846     * group are grouped if they are close.
22847     *
22848     * The group class defines the style of the marker when a marker is grouped
22849     * to others markers. When it is alone, another class will be used.
22850     *
22851     * A group class will need to be provided when creating a marker with
22852     * elm_map_marker_add().
22853     *
22854     * Some properties and functions can be set by class, as:
22855     * - style, with elm_map_group_class_style_set()
22856     * - data - to be associated to the group class. It can be set using
22857     *   elm_map_group_class_data_set().
22858     * - min zoom to display markers, set with
22859     *   elm_map_group_class_zoom_displayed_set().
22860     * - max zoom to group markers, set using
22861     *   elm_map_group_class_zoom_grouped_set().
22862     * - visibility - set if markers will be visible or not, set with
22863     *   elm_map_group_class_hide_set().
22864     * - #ElmMapGroupIconGetFunc - used to fetch icon for markers group classes.
22865     *   It can be set using elm_map_group_class_icon_cb_set().
22866     *
22867     * @see elm_map_marker_add()
22868     * @see elm_map_group_class_style_set()
22869     * @see elm_map_group_class_data_set()
22870     * @see elm_map_group_class_zoom_displayed_set()
22871     * @see elm_map_group_class_zoom_grouped_set()
22872     * @see elm_map_group_class_hide_set()
22873     * @see elm_map_group_class_icon_cb_set()
22874     *
22875     * @ingroup Map
22876     */
22877    EAPI Elm_Map_Group_Class  *elm_map_group_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
22878
22879    /**
22880     * Set the marker's style of a group class.
22881     *
22882     * @param clas The group class.
22883     * @param style The style to be used by markers.
22884     *
22885     * Each marker must be associated to a group class, and will use the style
22886     * defined by such class when grouped to other markers.
22887     *
22888     * The following styles are provided by default theme:
22889     * @li @c radio - blue circle
22890     * @li @c radio2 - green circle
22891     * @li @c empty
22892     *
22893     * @see elm_map_group_class_new() for more details.
22894     * @see elm_map_marker_add()
22895     *
22896     * @ingroup Map
22897     */
22898    EAPI void                  elm_map_group_class_style_set(Elm_Map_Group_Class *clas, const char *style) EINA_ARG_NONNULL(1);
22899
22900    /**
22901     * Set the icon callback function of a group class.
22902     *
22903     * @param clas The group class.
22904     * @param icon_get The callback function that will return the icon.
22905     *
22906     * Each marker must be associated to a group class, and it can display a
22907     * custom icon. The function @p icon_get must return this icon.
22908     *
22909     * @see elm_map_group_class_new() for more details.
22910     * @see elm_map_marker_add()
22911     *
22912     * @ingroup Map
22913     */
22914    EAPI void                  elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, ElmMapGroupIconGetFunc icon_get) EINA_ARG_NONNULL(1);
22915
22916    /**
22917     * Set the data associated to the group class.
22918     *
22919     * @param clas The group class.
22920     * @param data The new user data.
22921     *
22922     * This data will be passed for callback functions, like icon get callback,
22923     * that can be set with elm_map_group_class_icon_cb_set().
22924     *
22925     * If a data was previously set, the object will lose the pointer for it,
22926     * so if needs to be freed, you must do it yourself.
22927     *
22928     * @see elm_map_group_class_new() for more details.
22929     * @see elm_map_group_class_icon_cb_set()
22930     * @see elm_map_marker_add()
22931     *
22932     * @ingroup Map
22933     */
22934    EAPI void                  elm_map_group_class_data_set(Elm_Map_Group_Class *clas, void *data) EINA_ARG_NONNULL(1);
22935
22936    /**
22937     * Set the minimum zoom from where the markers are displayed.
22938     *
22939     * @param clas The group class.
22940     * @param zoom The minimum zoom.
22941     *
22942     * Markers only will be displayed when the map is displayed at @p zoom
22943     * or bigger.
22944     *
22945     * @see elm_map_group_class_new() for more details.
22946     * @see elm_map_marker_add()
22947     *
22948     * @ingroup Map
22949     */
22950    EAPI void                  elm_map_group_class_zoom_displayed_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
22951
22952    /**
22953     * Set the zoom from where the markers are no more grouped.
22954     *
22955     * @param clas The group class.
22956     * @param zoom The maximum zoom.
22957     *
22958     * Markers only will be grouped when the map is displayed at
22959     * less than @p zoom.
22960     *
22961     * @see elm_map_group_class_new() for more details.
22962     * @see elm_map_marker_add()
22963     *
22964     * @ingroup Map
22965     */
22966    EAPI void                  elm_map_group_class_zoom_grouped_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
22967
22968    /**
22969     * Set if the markers associated to the group class @clas are hidden or not.
22970     *
22971     * @param clas The group class.
22972     * @param hide Use @c EINA_TRUE to hide markers or @c EINA_FALSE
22973     * to show them.
22974     *
22975     * If @p hide is @c EINA_TRUE the markers will be hidden, but default
22976     * is to show them.
22977     *
22978     * @ingroup Map
22979     */
22980    EAPI void                  elm_map_group_class_hide_set(Evas_Object *obj, Elm_Map_Group_Class *clas, Eina_Bool hide) EINA_ARG_NONNULL(1, 2);
22981
22982    /**
22983     * Create a new marker class.
22984     *
22985     * @param obj The map object.
22986     * @return Returns the new group class.
22987     *
22988     * Each marker must be associated to a class.
22989     *
22990     * The marker class defines the style of the marker when a marker is
22991     * displayed alone, i.e., not grouped to to others markers. When grouped
22992     * it will use group class style.
22993     *
22994     * A marker class will need to be provided when creating a marker with
22995     * elm_map_marker_add().
22996     *
22997     * Some properties and functions can be set by class, as:
22998     * - style, with elm_map_marker_class_style_set()
22999     * - #ElmMapMarkerIconGetFunc - used to fetch icon for markers classes.
23000     *   It can be set using elm_map_marker_class_icon_cb_set().
23001     * - #ElmMapMarkerGetFunc - used to fetch bubble content for marker classes.
23002     *   Set using elm_map_marker_class_get_cb_set().
23003     * - #ElmMapMarkerDelFunc - used to delete bubble content for marker classes.
23004     *   Set using elm_map_marker_class_del_cb_set().
23005     *
23006     * @see elm_map_marker_add()
23007     * @see elm_map_marker_class_style_set()
23008     * @see elm_map_marker_class_icon_cb_set()
23009     * @see elm_map_marker_class_get_cb_set()
23010     * @see elm_map_marker_class_del_cb_set()
23011     *
23012     * @ingroup Map
23013     */
23014    EAPI Elm_Map_Marker_Class *elm_map_marker_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
23015
23016    /**
23017     * Set the marker's style of a marker class.
23018     *
23019     * @param clas The marker class.
23020     * @param style The style to be used by markers.
23021     *
23022     * Each marker must be associated to a marker class, and will use the style
23023     * defined by such class when alone, i.e., @b not grouped to other markers.
23024     *
23025     * The following styles are provided by default theme:
23026     * @li @c radio
23027     * @li @c radio2
23028     * @li @c empty
23029     *
23030     * @see elm_map_marker_class_new() for more details.
23031     * @see elm_map_marker_add()
23032     *
23033     * @ingroup Map
23034     */
23035    EAPI void                  elm_map_marker_class_style_set(Elm_Map_Marker_Class *clas, const char *style) EINA_ARG_NONNULL(1);
23036
23037    /**
23038     * Set the icon callback function of a marker class.
23039     *
23040     * @param clas The marker class.
23041     * @param icon_get The callback function that will return the icon.
23042     *
23043     * Each marker must be associated to a marker class, and it can display a
23044     * custom icon. The function @p icon_get must return this icon.
23045     *
23046     * @see elm_map_marker_class_new() for more details.
23047     * @see elm_map_marker_add()
23048     *
23049     * @ingroup Map
23050     */
23051    EAPI void                  elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerIconGetFunc icon_get) EINA_ARG_NONNULL(1);
23052
23053    /**
23054     * Set the bubble content callback function of a marker class.
23055     *
23056     * @param clas The marker class.
23057     * @param get The callback function that will return the content.
23058     *
23059     * Each marker must be associated to a marker class, and it can display a
23060     * a content on a bubble that opens when the user click over the marker.
23061     * The function @p get must return this content object.
23062     *
23063     * If this content will need to be deleted, elm_map_marker_class_del_cb_set()
23064     * can be used.
23065     *
23066     * @see elm_map_marker_class_new() for more details.
23067     * @see elm_map_marker_class_del_cb_set()
23068     * @see elm_map_marker_add()
23069     *
23070     * @ingroup Map
23071     */
23072    EAPI void                  elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerGetFunc get) EINA_ARG_NONNULL(1);
23073
23074    /**
23075     * Set the callback function used to delete bubble content of a marker class.
23076     *
23077     * @param clas The marker class.
23078     * @param del The callback function that will delete the content.
23079     *
23080     * Each marker must be associated to a marker class, and it can display a
23081     * a content on a bubble that opens when the user click over the marker.
23082     * The function to return such content can be set with
23083     * elm_map_marker_class_get_cb_set().
23084     *
23085     * If this content must be freed, a callback function need to be
23086     * set for that task with this function.
23087     *
23088     * If this callback is defined it will have to delete (or not) the
23089     * object inside, but if the callback is not defined the object will be
23090     * destroyed with evas_object_del().
23091     *
23092     * @see elm_map_marker_class_new() for more details.
23093     * @see elm_map_marker_class_get_cb_set()
23094     * @see elm_map_marker_add()
23095     *
23096     * @ingroup Map
23097     */
23098    EAPI void                  elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerDelFunc del) EINA_ARG_NONNULL(1);
23099
23100    /**
23101     * Get the list of available sources.
23102     *
23103     * @param obj The map object.
23104     * @return The source names list.
23105     *
23106     * It will provide a list with all available sources, that can be set as
23107     * current source with elm_map_source_name_set(), or get with
23108     * elm_map_source_name_get().
23109     *
23110     * Available sources:
23111     * @li "Mapnik"
23112     * @li "Osmarender"
23113     * @li "CycleMap"
23114     * @li "Maplint"
23115     *
23116     * @see elm_map_source_name_set() for more details.
23117     * @see elm_map_source_name_get()
23118     *
23119     * @ingroup Map
23120     */
23121    EAPI const char          **elm_map_source_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23122
23123    /**
23124     * Set the source of the map.
23125     *
23126     * @param obj The map object.
23127     * @param source The source to be used.
23128     *
23129     * Map widget retrieves images that composes the map from a web service.
23130     * This web service can be set with this method.
23131     *
23132     * A different service can return a different maps with different
23133     * information and it can use different zoom values.
23134     *
23135     * The @p source_name need to match one of the names provided by
23136     * elm_map_source_names_get().
23137     *
23138     * The current source can be get using elm_map_source_name_get().
23139     *
23140     * @see elm_map_source_names_get()
23141     * @see elm_map_source_name_get()
23142     *
23143     *
23144     * @ingroup Map
23145     */
23146    EAPI void                  elm_map_source_name_set(Evas_Object *obj, const char *source_name) EINA_ARG_NONNULL(1);
23147
23148    /**
23149     * Get the name of currently used source.
23150     *
23151     * @param obj The map object.
23152     * @return Returns the name of the source in use.
23153     *
23154     * @see elm_map_source_name_set() for more details.
23155     *
23156     * @ingroup Map
23157     */
23158    EAPI const char           *elm_map_source_name_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23159
23160    /**
23161     * Set the source of the route service to be used by the map.
23162     *
23163     * @param obj The map object.
23164     * @param source The route service to be used, being it one of
23165     * #ELM_MAP_ROUTE_SOURCE_YOURS (default), #ELM_MAP_ROUTE_SOURCE_MONAV,
23166     * and #ELM_MAP_ROUTE_SOURCE_ORS.
23167     *
23168     * Each one has its own algorithm, so the route retrieved may
23169     * differ depending on the source route. Now, only the default is working.
23170     *
23171     * #ELM_MAP_ROUTE_SOURCE_YOURS is the routing service provided at
23172     * http://www.yournavigation.org/.
23173     *
23174     * #ELM_MAP_ROUTE_SOURCE_MONAV, offers exact routing without heuristic
23175     * assumptions. Its routing core is based on Contraction Hierarchies.
23176     *
23177     * #ELM_MAP_ROUTE_SOURCE_ORS, is provided at http://www.openrouteservice.org/
23178     *
23179     * @see elm_map_route_source_get().
23180     *
23181     * @ingroup Map
23182     */
23183    EAPI void                  elm_map_route_source_set(Evas_Object *obj, Elm_Map_Route_Sources source) EINA_ARG_NONNULL(1);
23184
23185    /**
23186     * Get the current route source.
23187     *
23188     * @param obj The map object.
23189     * @return The source of the route service used by the map.
23190     *
23191     * @see elm_map_route_source_set() for details.
23192     *
23193     * @ingroup Map
23194     */
23195    EAPI Elm_Map_Route_Sources elm_map_route_source_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23196
23197    /**
23198     * Set the minimum zoom of the source.
23199     *
23200     * @param obj The map object.
23201     * @param zoom New minimum zoom value to be used.
23202     *
23203     * By default, it's 0.
23204     *
23205     * @ingroup Map
23206     */
23207    EAPI void                  elm_map_source_zoom_min_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
23208
23209    /**
23210     * Get the minimum zoom of the source.
23211     *
23212     * @param obj The map object.
23213     * @return Returns the minimum zoom of the source.
23214     *
23215     * @see elm_map_source_zoom_min_set() for details.
23216     *
23217     * @ingroup Map
23218     */
23219    EAPI int                   elm_map_source_zoom_min_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23220
23221    /**
23222     * Set the maximum zoom of the source.
23223     *
23224     * @param obj The map object.
23225     * @param zoom New maximum zoom value to be used.
23226     *
23227     * By default, it's 18.
23228     *
23229     * @ingroup Map
23230     */
23231    EAPI void                  elm_map_source_zoom_max_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
23232
23233    /**
23234     * Get the maximum zoom of the source.
23235     *
23236     * @param obj The map object.
23237     * @return Returns the maximum zoom of the source.
23238     *
23239     * @see elm_map_source_zoom_min_set() for details.
23240     *
23241     * @ingroup Map
23242     */
23243    EAPI int                   elm_map_source_zoom_max_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23244
23245    /**
23246     * Set the user agent used by the map object to access routing services.
23247     *
23248     * @param obj The map object.
23249     * @param user_agent The user agent to be used by the map.
23250     *
23251     * User agent is a client application implementing a network protocol used
23252     * in communications within a client–server distributed computing system
23253     *
23254     * The @p user_agent identification string will transmitted in a header
23255     * field @c User-Agent.
23256     *
23257     * @see elm_map_user_agent_get()
23258     *
23259     * @ingroup Map
23260     */
23261    EAPI void                  elm_map_user_agent_set(Evas_Object *obj, const char *user_agent) EINA_ARG_NONNULL(1, 2);
23262
23263    /**
23264     * Get the user agent used by the map object.
23265     *
23266     * @param obj The map object.
23267     * @return The user agent identification string used by the map.
23268     *
23269     * @see elm_map_user_agent_set() for details.
23270     *
23271     * @ingroup Map
23272     */
23273    EAPI const char           *elm_map_user_agent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23274
23275    /**
23276     * Add a new route to the map object.
23277     *
23278     * @param obj The map object.
23279     * @param type The type of transport to be considered when tracing a route.
23280     * @param method The routing method, what should be priorized.
23281     * @param flon The start longitude.
23282     * @param flat The start latitude.
23283     * @param tlon The destination longitude.
23284     * @param tlat The destination latitude.
23285     *
23286     * @return The created route or @c NULL upon failure.
23287     *
23288     * A route will be traced by point on coordinates (@p flat, @p flon)
23289     * to point on coordinates (@p tlat, @p tlon), using the route service
23290     * set with elm_map_route_source_set().
23291     *
23292     * It will take @p type on consideration to define the route,
23293     * depending if the user will be walking or driving, the route may vary.
23294     * One of #ELM_MAP_ROUTE_TYPE_MOTOCAR, #ELM_MAP_ROUTE_TYPE_BICYCLE, or
23295     * #ELM_MAP_ROUTE_TYPE_FOOT need to be used.
23296     *
23297     * Another parameter is what the route should priorize, the minor distance
23298     * or the less time to be spend on the route. So @p method should be one
23299     * of #ELM_MAP_ROUTE_METHOD_SHORTEST or #ELM_MAP_ROUTE_METHOD_FASTEST.
23300     *
23301     * Routes created with this method can be deleted with
23302     * elm_map_route_remove(), colored with elm_map_route_color_set(),
23303     * and distance can be get with elm_map_route_distance_get().
23304     *
23305     * @see elm_map_route_remove()
23306     * @see elm_map_route_color_set()
23307     * @see elm_map_route_distance_get()
23308     * @see elm_map_route_source_set()
23309     *
23310     * @ingroup Map
23311     */
23312    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);
23313
23314    /**
23315     * Remove a route from the map.
23316     *
23317     * @param route The route to remove.
23318     *
23319     * @see elm_map_route_add()
23320     *
23321     * @ingroup Map
23322     */
23323    EAPI void                  elm_map_route_remove(Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23324
23325    /**
23326     * Set the route color.
23327     *
23328     * @param route The route object.
23329     * @param r Red channel value, from 0 to 255.
23330     * @param g Green channel value, from 0 to 255.
23331     * @param b Blue channel value, from 0 to 255.
23332     * @param a Alpha channel value, from 0 to 255.
23333     *
23334     * It uses an additive color model, so each color channel represents
23335     * how much of each primary colors must to be used. 0 represents
23336     * ausence of this color, so if all of the three are set to 0,
23337     * the color will be black.
23338     *
23339     * These component values should be integers in the range 0 to 255,
23340     * (single 8-bit byte).
23341     *
23342     * This sets the color used for the route. By default, it is set to
23343     * solid red (r = 255, g = 0, b = 0, a = 255).
23344     *
23345     * For alpha channel, 0 represents completely transparent, and 255, opaque.
23346     *
23347     * @see elm_map_route_color_get()
23348     *
23349     * @ingroup Map
23350     */
23351    EAPI void                  elm_map_route_color_set(Elm_Map_Route *route, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
23352
23353    /**
23354     * Get the route color.
23355     *
23356     * @param route The route object.
23357     * @param r Pointer where to store the red channel value.
23358     * @param g Pointer where to store the green channel value.
23359     * @param b Pointer where to store the blue channel value.
23360     * @param a Pointer where to store the alpha channel value.
23361     *
23362     * @see elm_map_route_color_set() for details.
23363     *
23364     * @ingroup Map
23365     */
23366    EAPI void                  elm_map_route_color_get(const Elm_Map_Route *route, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
23367
23368    /**
23369     * Get the route distance in kilometers.
23370     *
23371     * @param route The route object.
23372     * @return The distance of route (unit : km).
23373     *
23374     * @ingroup Map
23375     */
23376    EAPI double                elm_map_route_distance_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23377
23378    /**
23379     * Get the information of route nodes.
23380     *
23381     * @param route The route object.
23382     * @return Returns a string with the nodes of route.
23383     *
23384     * @ingroup Map
23385     */
23386    EAPI const char           *elm_map_route_node_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23387
23388    /**
23389     * Get the information of route waypoint.
23390     *
23391     * @param route the route object.
23392     * @return Returns a string with information about waypoint of route.
23393     *
23394     * @ingroup Map
23395     */
23396    EAPI const char           *elm_map_route_waypoint_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23397
23398    /**
23399     * Get the address of the name.
23400     *
23401     * @param name The name handle.
23402     * @return Returns the address string of @p name.
23403     *
23404     * This gets the coordinates of the @p name, created with one of the
23405     * conversion functions.
23406     *
23407     * @see elm_map_utils_convert_name_into_coord()
23408     * @see elm_map_utils_convert_coord_into_name()
23409     *
23410     * @ingroup Map
23411     */
23412    EAPI const char           *elm_map_name_address_get(const Elm_Map_Name *name) EINA_ARG_NONNULL(1);
23413
23414    /**
23415     * Get the current coordinates of the name.
23416     *
23417     * @param name The name handle.
23418     * @param lat Pointer where to store the latitude.
23419     * @param lon Pointer where to store The longitude.
23420     *
23421     * This gets the coordinates of the @p name, created with one of the
23422     * conversion functions.
23423     *
23424     * @see elm_map_utils_convert_name_into_coord()
23425     * @see elm_map_utils_convert_coord_into_name()
23426     *
23427     * @ingroup Map
23428     */
23429    EAPI void                  elm_map_name_region_get(const Elm_Map_Name *name, double *lon, double *lat) EINA_ARG_NONNULL(1);
23430
23431    /**
23432     * Remove a name from the map.
23433     *
23434     * @param name The name to remove.
23435     *
23436     * Basically the struct handled by @p name will be freed, so convertions
23437     * between address and coordinates will be lost.
23438     *
23439     * @see elm_map_utils_convert_name_into_coord()
23440     * @see elm_map_utils_convert_coord_into_name()
23441     *
23442     * @ingroup Map
23443     */
23444    EAPI void                  elm_map_name_remove(Elm_Map_Name *name) EINA_ARG_NONNULL(1);
23445
23446    /**
23447     * Rotate the map.
23448     *
23449     * @param obj The map object.
23450     * @param degree Angle from 0.0 to 360.0 to rotate arount Z axis.
23451     * @param cx Rotation's center horizontal position.
23452     * @param cy Rotation's center vertical position.
23453     *
23454     * @see elm_map_rotate_get()
23455     *
23456     * @ingroup Map
23457     */
23458    EAPI void                  elm_map_rotate_set(Evas_Object *obj, double degree, Evas_Coord cx, Evas_Coord cy) EINA_ARG_NONNULL(1);
23459
23460    /**
23461     * Get the rotate degree of the map
23462     *
23463     * @param obj The map object
23464     * @param degree Pointer where to store degrees from 0.0 to 360.0
23465     * to rotate arount Z axis.
23466     * @param cx Pointer where to store rotation's center horizontal position.
23467     * @param cy Pointer where to store rotation's center vertical position.
23468     *
23469     * @see elm_map_rotate_set() to set map rotation.
23470     *
23471     * @ingroup Map
23472     */
23473    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);
23474
23475    /**
23476     * Enable or disable mouse wheel to be used to zoom in / out the map.
23477     *
23478     * @param obj The map object.
23479     * @param disabled Use @c EINA_TRUE to disable mouse wheel or @c EINA_FALSE
23480     * to enable it.
23481     *
23482     * Mouse wheel can be used for the user to zoom in or zoom out the map.
23483     *
23484     * It's disabled by default.
23485     *
23486     * @see elm_map_wheel_disabled_get()
23487     *
23488     * @ingroup Map
23489     */
23490    EAPI void                  elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
23491
23492    /**
23493     * Get a value whether mouse wheel is enabled or not.
23494     *
23495     * @param obj The map object.
23496     * @return @c EINA_TRUE means map is disabled. @c EINA_FALSE indicates
23497     * it is enabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
23498     *
23499     * Mouse wheel can be used for the user to zoom in or zoom out the map.
23500     *
23501     * @see elm_map_wheel_disabled_set() for details.
23502     *
23503     * @ingroup Map
23504     */
23505    EAPI Eina_Bool             elm_map_wheel_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23506
23507 #ifdef ELM_EMAP
23508    /**
23509     * Add a track on the map
23510     *
23511     * @param obj The map object.
23512     * @param emap The emap route object.
23513     * @return The route object. This is an elm object of type Route.
23514     *
23515     * @see elm_route_add() for details.
23516     *
23517     * @ingroup Map
23518     */
23519    EAPI Evas_Object          *elm_map_track_add(Evas_Object *obj, EMap_Route *emap) EINA_ARG_NONNULL(1);
23520 #endif
23521
23522    /**
23523     * Remove a track from the map
23524     *
23525     * @param obj The map object.
23526     * @param route The track to remove.
23527     *
23528     * @ingroup Map
23529     */
23530    EAPI void                  elm_map_track_remove(Evas_Object *obj, Evas_Object *route) EINA_ARG_NONNULL(1);
23531
23532    /**
23533     * @}
23534     */
23535
23536    /* Route */
23537    EAPI Evas_Object *elm_route_add(Evas_Object *parent);
23538 #ifdef ELM_EMAP
23539    EAPI void elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
23540 #endif
23541    EAPI double elm_route_lon_min_get(Evas_Object *obj);
23542    EAPI double elm_route_lat_min_get(Evas_Object *obj);
23543    EAPI double elm_route_lon_max_get(Evas_Object *obj);
23544    EAPI double elm_route_lat_max_get(Evas_Object *obj);
23545
23546
23547    /**
23548     * @defgroup Panel Panel
23549     *
23550     * @image html img/widget/panel/preview-00.png
23551     * @image latex img/widget/panel/preview-00.eps
23552     *
23553     * @brief A panel is a type of animated container that contains subobjects.
23554     * It can be expanded or contracted by clicking the button on it's edge.
23555     *
23556     * Orientations are as follows:
23557     * @li ELM_PANEL_ORIENT_TOP
23558     * @li ELM_PANEL_ORIENT_LEFT
23559     * @li ELM_PANEL_ORIENT_RIGHT
23560     *
23561     * @ref tutorial_panel shows one way to use this widget.
23562     * @{
23563     */
23564    typedef enum _Elm_Panel_Orient
23565      {
23566         ELM_PANEL_ORIENT_TOP, /**< Panel (dis)appears from the top */
23567         ELM_PANEL_ORIENT_BOTTOM, /**< Not implemented */
23568         ELM_PANEL_ORIENT_LEFT, /**< Panel (dis)appears from the left */
23569         ELM_PANEL_ORIENT_RIGHT, /**< Panel (dis)appears from the right */
23570      } Elm_Panel_Orient;
23571    /**
23572     * @brief Adds a panel object
23573     *
23574     * @param parent The parent object
23575     *
23576     * @return The panel object, or NULL on failure
23577     */
23578    EAPI Evas_Object          *elm_panel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
23579    /**
23580     * @brief Sets the orientation of the panel
23581     *
23582     * @param parent The parent object
23583     * @param orient The panel orientation. Can be one of the following:
23584     * @li ELM_PANEL_ORIENT_TOP
23585     * @li ELM_PANEL_ORIENT_LEFT
23586     * @li ELM_PANEL_ORIENT_RIGHT
23587     *
23588     * Sets from where the panel will (dis)appear.
23589     */
23590    EAPI void                  elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient) EINA_ARG_NONNULL(1);
23591    /**
23592     * @brief Get the orientation of the panel.
23593     *
23594     * @param obj The panel object
23595     * @return The Elm_Panel_Orient, or ELM_PANEL_ORIENT_LEFT on failure.
23596     */
23597    EAPI Elm_Panel_Orient      elm_panel_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23598    /**
23599     * @brief Set the content of the panel.
23600     *
23601     * @param obj The panel object
23602     * @param content The panel content
23603     *
23604     * Once the content object is set, a previously set one will be deleted.
23605     * If you want to keep that old content object, use the
23606     * elm_panel_content_unset() function.
23607     */
23608    EAPI void                  elm_panel_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23609    /**
23610     * @brief Get the content of the panel.
23611     *
23612     * @param obj The panel object
23613     * @return The content that is being used
23614     *
23615     * Return the content object which is set for this widget.
23616     *
23617     * @see elm_panel_content_set()
23618     */
23619    EAPI Evas_Object          *elm_panel_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23620    /**
23621     * @brief Unset the content of the panel.
23622     *
23623     * @param obj The panel object
23624     * @return The content that was being used
23625     *
23626     * Unparent and return the content object which was set for this widget.
23627     *
23628     * @see elm_panel_content_set()
23629     */
23630    EAPI Evas_Object          *elm_panel_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23631    /**
23632     * @brief Set the state of the panel.
23633     *
23634     * @param obj The panel object
23635     * @param hidden If true, the panel will run the animation to contract
23636     */
23637    EAPI void                  elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden) EINA_ARG_NONNULL(1);
23638    /**
23639     * @brief Get the state of the panel.
23640     *
23641     * @param obj The panel object
23642     * @param hidden If true, the panel is in the "hide" state
23643     */
23644    EAPI Eina_Bool             elm_panel_hidden_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23645    /**
23646     * @brief Toggle the hidden state of the panel from code
23647     *
23648     * @param obj The panel object
23649     */
23650    EAPI void                  elm_panel_toggle(Evas_Object *obj) EINA_ARG_NONNULL(1);
23651    /**
23652     * @}
23653     */
23654
23655    /**
23656     * @defgroup Panes Panes
23657     * @ingroup Elementary
23658     *
23659     * @image html img/widget/panes/preview-00.png
23660     * @image latex img/widget/panes/preview-00.eps width=\textwidth
23661     *
23662     * @image html img/panes.png
23663     * @image latex img/panes.eps width=\textwidth
23664     *
23665     * The panes adds a dragable bar between two contents. When dragged
23666     * this bar will resize contents size.
23667     *
23668     * Panes can be displayed vertically or horizontally, and contents
23669     * size proportion can be customized (homogeneous by default).
23670     *
23671     * Smart callbacks one can listen to:
23672     * - "press" - The panes has been pressed (button wasn't released yet).
23673     * - "unpressed" - The panes was released after being pressed.
23674     * - "clicked" - The panes has been clicked>
23675     * - "clicked,double" - The panes has been double clicked
23676     *
23677     * Available styles for it:
23678     * - @c "default"
23679     *
23680     * Here is an example on its usage:
23681     * @li @ref panes_example
23682     */
23683
23684    /**
23685     * @addtogroup Panes
23686     * @{
23687     */
23688
23689    /**
23690     * Add a new panes widget to the given parent Elementary
23691     * (container) object.
23692     *
23693     * @param parent The parent object.
23694     * @return a new panes widget handle or @c NULL, on errors.
23695     *
23696     * This function inserts a new panes widget on the canvas.
23697     *
23698     * @ingroup Panes
23699     */
23700    EAPI Evas_Object          *elm_panes_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
23701
23702    /**
23703     * Set the left content of the panes widget.
23704     *
23705     * @param obj The panes object.
23706     * @param content The new left content object.
23707     *
23708     * Once the content object is set, a previously set one will be deleted.
23709     * If you want to keep that old content object, use the
23710     * elm_panes_content_left_unset() function.
23711     *
23712     * If panes is displayed vertically, left content will be displayed at
23713     * top.
23714     *
23715     * @see elm_panes_content_left_get()
23716     * @see elm_panes_content_right_set() to set content on the other side.
23717     *
23718     * @ingroup Panes
23719     */
23720    EAPI void                  elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23721
23722    /**
23723     * Set the right content of the panes widget.
23724     *
23725     * @param obj The panes object.
23726     * @param content The new right content object.
23727     *
23728     * Once the content object is set, a previously set one will be deleted.
23729     * If you want to keep that old content object, use the
23730     * elm_panes_content_right_unset() function.
23731     *
23732     * If panes is displayed vertically, left content will be displayed at
23733     * bottom.
23734     *
23735     * @see elm_panes_content_right_get()
23736     * @see elm_panes_content_left_set() to set content on the other side.
23737     *
23738     * @ingroup Panes
23739     */
23740    EAPI void                  elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23741
23742    /**
23743     * Get the left content of the panes.
23744     *
23745     * @param obj The panes object.
23746     * @return The left content object that is being used.
23747     *
23748     * Return the left content object which is set for this widget.
23749     *
23750     * @see elm_panes_content_left_set() for details.
23751     *
23752     * @ingroup Panes
23753     */
23754    EAPI Evas_Object          *elm_panes_content_left_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23755
23756    /**
23757     * Get the right content of the panes.
23758     *
23759     * @param obj The panes object
23760     * @return The right content object that is being used
23761     *
23762     * Return the right content object which is set for this widget.
23763     *
23764     * @see elm_panes_content_right_set() for details.
23765     *
23766     * @ingroup Panes
23767     */
23768    EAPI Evas_Object          *elm_panes_content_right_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23769
23770    /**
23771     * Unset the left content used for the panes.
23772     *
23773     * @param obj The panes object.
23774     * @return The left content object that was being used.
23775     *
23776     * Unparent and return the left content object which was set for this widget.
23777     *
23778     * @see elm_panes_content_left_set() for details.
23779     * @see elm_panes_content_left_get().
23780     *
23781     * @ingroup Panes
23782     */
23783    EAPI Evas_Object          *elm_panes_content_left_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23784
23785    /**
23786     * Unset the right content used for the panes.
23787     *
23788     * @param obj The panes object.
23789     * @return The right content object that was being used.
23790     *
23791     * Unparent and return the right content object which was set for this
23792     * widget.
23793     *
23794     * @see elm_panes_content_right_set() for details.
23795     * @see elm_panes_content_right_get().
23796     *
23797     * @ingroup Panes
23798     */
23799    EAPI Evas_Object          *elm_panes_content_right_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23800
23801    /**
23802     * Get the size proportion of panes widget's left side.
23803     *
23804     * @param obj The panes object.
23805     * @return float value between 0.0 and 1.0 representing size proportion
23806     * of left side.
23807     *
23808     * @see elm_panes_content_left_size_set() for more details.
23809     *
23810     * @ingroup Panes
23811     */
23812    EAPI double                elm_panes_content_left_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23813
23814    /**
23815     * Set the size proportion of panes widget's left side.
23816     *
23817     * @param obj The panes object.
23818     * @param size Value between 0.0 and 1.0 representing size proportion
23819     * of left side.
23820     *
23821     * By default it's homogeneous, i.e., both sides have the same size.
23822     *
23823     * If something different is required, it can be set with this function.
23824     * For example, if the left content should be displayed over
23825     * 75% of the panes size, @p size should be passed as @c 0.75.
23826     * This way, right content will be resized to 25% of panes size.
23827     *
23828     * If displayed vertically, left content is displayed at top, and
23829     * right content at bottom.
23830     *
23831     * @note This proportion will change when user drags the panes bar.
23832     *
23833     * @see elm_panes_content_left_size_get()
23834     *
23835     * @ingroup Panes
23836     */
23837    EAPI void                  elm_panes_content_left_size_set(Evas_Object *obj, double size) EINA_ARG_NONNULL(1);
23838
23839   /**
23840    * Set the orientation of a given panes widget.
23841    *
23842    * @param obj The panes object.
23843    * @param horizontal Use @c EINA_TRUE to make @p obj to be
23844    * @b horizontal, @c EINA_FALSE to make it @b vertical.
23845    *
23846    * Use this function to change how your panes is to be
23847    * disposed: vertically or horizontally.
23848    *
23849    * By default it's displayed horizontally.
23850    *
23851    * @see elm_panes_horizontal_get()
23852    *
23853    * @ingroup Panes
23854    */
23855    EAPI void                  elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
23856
23857    /**
23858     * Retrieve the orientation of a given panes widget.
23859     *
23860     * @param obj The panes object.
23861     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
23862     * @c EINA_FALSE if it's @b vertical (and on errors).
23863     *
23864     * @see elm_panes_horizontal_set() for more details.
23865     *
23866     * @ingroup Panes
23867     */
23868    EAPI Eina_Bool             elm_panes_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23869    EAPI void                  elm_panes_fixed_set(Evas_Object *obj, Eina_Bool fixed) EINA_ARG_NONNULL(1);
23870    EAPI Eina_Bool             elm_panes_fixed_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23871
23872    /**
23873     * @}
23874     */
23875
23876    /**
23877     * @defgroup Flip Flip
23878     *
23879     * @image html img/widget/flip/preview-00.png
23880     * @image latex img/widget/flip/preview-00.eps
23881     *
23882     * This widget holds 2 content objects(Evas_Object): one on the front and one
23883     * on the back. It allows you to flip from front to back and vice-versa using
23884     * various animations.
23885     *
23886     * If either the front or back contents are not set the flip will treat that
23887     * as transparent. So if you wore to set the front content but not the back,
23888     * and then call elm_flip_go() you would see whatever is below the flip.
23889     *
23890     * For a list of supported animations see elm_flip_go().
23891     *
23892     * Signals that you can add callbacks for are:
23893     * "animate,begin" - when a flip animation was started
23894     * "animate,done" - when a flip animation is finished
23895     *
23896     * @ref tutorial_flip show how to use most of the API.
23897     *
23898     * @{
23899     */
23900    typedef enum _Elm_Flip_Mode
23901      {
23902         ELM_FLIP_ROTATE_Y_CENTER_AXIS,
23903         ELM_FLIP_ROTATE_X_CENTER_AXIS,
23904         ELM_FLIP_ROTATE_XZ_CENTER_AXIS,
23905         ELM_FLIP_ROTATE_YZ_CENTER_AXIS,
23906         ELM_FLIP_CUBE_LEFT,
23907         ELM_FLIP_CUBE_RIGHT,
23908         ELM_FLIP_CUBE_UP,
23909         ELM_FLIP_CUBE_DOWN,
23910         ELM_FLIP_PAGE_LEFT,
23911         ELM_FLIP_PAGE_RIGHT,
23912         ELM_FLIP_PAGE_UP,
23913         ELM_FLIP_PAGE_DOWN
23914      } Elm_Flip_Mode;
23915    typedef enum _Elm_Flip_Interaction
23916      {
23917         ELM_FLIP_INTERACTION_NONE,
23918         ELM_FLIP_INTERACTION_ROTATE,
23919         ELM_FLIP_INTERACTION_CUBE,
23920         ELM_FLIP_INTERACTION_PAGE
23921      } Elm_Flip_Interaction;
23922    typedef enum _Elm_Flip_Direction
23923      {
23924         ELM_FLIP_DIRECTION_UP, /**< Allows interaction with the top of the widget */
23925         ELM_FLIP_DIRECTION_DOWN, /**< Allows interaction with the bottom of the widget */
23926         ELM_FLIP_DIRECTION_LEFT, /**< Allows interaction with the left portion of the widget */
23927         ELM_FLIP_DIRECTION_RIGHT /**< Allows interaction with the right portion of the widget */
23928      } Elm_Flip_Direction;
23929    /**
23930     * @brief Add a new flip to the parent
23931     *
23932     * @param parent The parent object
23933     * @return The new object or NULL if it cannot be created
23934     */
23935    EAPI Evas_Object *elm_flip_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
23936    /**
23937     * @brief Set the front content of the flip widget.
23938     *
23939     * @param obj The flip object
23940     * @param content The new front content object
23941     *
23942     * Once the content object is set, a previously set one will be deleted.
23943     * If you want to keep that old content object, use the
23944     * elm_flip_content_front_unset() function.
23945     */
23946    EAPI void         elm_flip_content_front_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23947    /**
23948     * @brief Set the back content of the flip widget.
23949     *
23950     * @param obj The flip object
23951     * @param content The new back content object
23952     *
23953     * Once the content object is set, a previously set one will be deleted.
23954     * If you want to keep that old content object, use the
23955     * elm_flip_content_back_unset() function.
23956     */
23957    EAPI void         elm_flip_content_back_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
23958    /**
23959     * @brief Get the front content used for the flip
23960     *
23961     * @param obj The flip object
23962     * @return The front content object that is being used
23963     *
23964     * Return the front content object which is set for this widget.
23965     */
23966    EAPI Evas_Object *elm_flip_content_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23967    /**
23968     * @brief Get the back content used for the flip
23969     *
23970     * @param obj The flip object
23971     * @return The back content object that is being used
23972     *
23973     * Return the back content object which is set for this widget.
23974     */
23975    EAPI Evas_Object *elm_flip_content_back_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23976    /**
23977     * @brief Unset the front content used for the flip
23978     *
23979     * @param obj The flip object
23980     * @return The front content object that was being used
23981     *
23982     * Unparent and return the front content object which was set for this widget.
23983     */
23984    EAPI Evas_Object *elm_flip_content_front_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23985    /**
23986     * @brief Unset the back content used for the flip
23987     *
23988     * @param obj The flip object
23989     * @return The back content object that was being used
23990     *
23991     * Unparent and return the back content object which was set for this widget.
23992     */
23993    EAPI Evas_Object *elm_flip_content_back_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
23994    /**
23995     * @brief Get flip front visibility state
23996     *
23997     * @param obj The flip objct
23998     * @return EINA_TRUE if front front is showing, EINA_FALSE if the back is
23999     * showing.
24000     */
24001    EAPI Eina_Bool    elm_flip_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24002    /**
24003     * @brief Set flip perspective
24004     *
24005     * @param obj The flip object
24006     * @param foc The coordinate to set the focus on
24007     * @param x The X coordinate
24008     * @param y The Y coordinate
24009     *
24010     * @warning This function currently does nothing.
24011     */
24012    EAPI void         elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
24013    /**
24014     * @brief Runs the flip animation
24015     *
24016     * @param obj The flip object
24017     * @param mode The mode type
24018     *
24019     * Flips the front and back contents using the @p mode animation. This
24020     * efectively hides the currently visible content and shows the hidden one.
24021     *
24022     * There a number of possible animations to use for the flipping:
24023     * @li ELM_FLIP_ROTATE_X_CENTER_AXIS - Rotate the currently visible content
24024     * around a horizontal axis in the middle of its height, the other content
24025     * is shown as the other side of the flip.
24026     * @li ELM_FLIP_ROTATE_Y_CENTER_AXIS - Rotate the currently visible content
24027     * around a vertical axis in the middle of its width, the other content is
24028     * shown as the other side of the flip.
24029     * @li ELM_FLIP_ROTATE_XZ_CENTER_AXIS - Rotate the currently visible content
24030     * around a diagonal axis in the middle of its width, the other content is
24031     * shown as the other side of the flip.
24032     * @li ELM_FLIP_ROTATE_YZ_CENTER_AXIS - Rotate the currently visible content
24033     * around a diagonal axis in the middle of its height, the other content is
24034     * shown as the other side of the flip.
24035     * @li ELM_FLIP_CUBE_LEFT - Rotate the currently visible content to the left
24036     * as if the flip was a cube, the other content is show as the right face of
24037     * the cube.
24038     * @li ELM_FLIP_CUBE_RIGHT - Rotate the currently visible content to the
24039     * right as if the flip was a cube, the other content is show as the left
24040     * face of the cube.
24041     * @li ELM_FLIP_CUBE_UP - Rotate the currently visible content up as if the
24042     * flip was a cube, the other content is show as the bottom face of the cube.
24043     * @li ELM_FLIP_CUBE_DOWN - Rotate the currently visible content down as if
24044     * the flip was a cube, the other content is show as the upper face of the
24045     * cube.
24046     * @li ELM_FLIP_PAGE_LEFT - Move the currently visible content to the left as
24047     * if the flip was a book, the other content is shown as the page below that.
24048     * @li ELM_FLIP_PAGE_RIGHT - Move the currently visible content to the right
24049     * as if the flip was a book, the other content is shown as the page below
24050     * that.
24051     * @li ELM_FLIP_PAGE_UP - Move the currently visible content up as if the
24052     * flip was a book, the other content is shown as the page below that.
24053     * @li ELM_FLIP_PAGE_DOWN - Move the currently visible content down as if the
24054     * flip was a book, the other content is shown as the page below that.
24055     *
24056     * @image html elm_flip.png
24057     * @image latex elm_flip.eps width=\textwidth
24058     */
24059    EAPI void         elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode) EINA_ARG_NONNULL(1);
24060    /**
24061     * @brief Set the interactive flip mode
24062     *
24063     * @param obj The flip object
24064     * @param mode The interactive flip mode to use
24065     *
24066     * This sets if the flip should be interactive (allow user to click and
24067     * drag a side of the flip to reveal the back page and cause it to flip).
24068     * By default a flip is not interactive. You may also need to set which
24069     * sides of the flip are "active" for flipping and how much space they use
24070     * (a minimum of a finger size) with elm_flip_interacton_direction_enabled_set()
24071     * and elm_flip_interacton_direction_hitsize_set()
24072     *
24073     * The four avilable mode of interaction are:
24074     * @li ELM_FLIP_INTERACTION_NONE - No interaction is allowed
24075     * @li ELM_FLIP_INTERACTION_ROTATE - Interaction will cause rotate animation
24076     * @li ELM_FLIP_INTERACTION_CUBE - Interaction will cause cube animation
24077     * @li ELM_FLIP_INTERACTION_PAGE - Interaction will cause page animation
24078     *
24079     * @note ELM_FLIP_INTERACTION_ROTATE won't cause
24080     * ELM_FLIP_ROTATE_XZ_CENTER_AXIS or ELM_FLIP_ROTATE_YZ_CENTER_AXIS to
24081     * happen, those can only be acheived with elm_flip_go();
24082     */
24083    EAPI void         elm_flip_interaction_set(Evas_Object *obj, Elm_Flip_Interaction mode);
24084    /**
24085     * @brief Get the interactive flip mode
24086     *
24087     * @param obj The flip object
24088     * @return The interactive flip mode
24089     *
24090     * Returns the interactive flip mode set by elm_flip_interaction_set()
24091     */
24092    EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Evas_Object *obj);
24093    /**
24094     * @brief Set which directions of the flip respond to interactive flip
24095     *
24096     * @param obj The flip object
24097     * @param dir The direction to change
24098     * @param enabled If that direction is enabled or not
24099     *
24100     * By default all directions are disabled, so you may want to enable the
24101     * desired directions for flipping if you need interactive flipping. You must
24102     * call this function once for each direction that should be enabled.
24103     *
24104     * @see elm_flip_interaction_set()
24105     */
24106    EAPI void         elm_flip_interacton_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled);
24107    /**
24108     * @brief Get the enabled state of that flip direction
24109     *
24110     * @param obj The flip object
24111     * @param dir The direction to check
24112     * @return If that direction is enabled or not
24113     *
24114     * Gets the enabled state set by elm_flip_interacton_direction_enabled_set()
24115     *
24116     * @see elm_flip_interaction_set()
24117     */
24118    EAPI Eina_Bool    elm_flip_interacton_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir);
24119    /**
24120     * @brief Set the amount of the flip that is sensitive to interactive flip
24121     *
24122     * @param obj The flip object
24123     * @param dir The direction to modify
24124     * @param hitsize The amount of that dimension (0.0 to 1.0) to use
24125     *
24126     * Set the amount of the flip that is sensitive to interactive flip, with 0
24127     * representing no area in the flip and 1 representing the entire flip. There
24128     * is however a consideration to be made in that the area will never be
24129     * smaller than the finger size set(as set in your Elementary configuration).
24130     *
24131     * @see elm_flip_interaction_set()
24132     */
24133    EAPI void         elm_flip_interacton_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize);
24134    /**
24135     * @brief Get the amount of the flip that is sensitive to interactive flip
24136     *
24137     * @param obj The flip object
24138     * @param dir The direction to check
24139     * @return The size set for that direction
24140     *
24141     * Returns the amount os sensitive area set by
24142     * elm_flip_interacton_direction_hitsize_set().
24143     */
24144    EAPI double       elm_flip_interacton_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir);
24145    /**
24146     * @}
24147     */
24148
24149    /* scrolledentry */
24150    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24151    EINA_DEPRECATED EAPI void         elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
24152    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24153    EINA_DEPRECATED EAPI void         elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
24154    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24155    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
24156    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24157    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
24158    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24159    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24160    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
24161    EINA_DEPRECATED EAPI void         elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
24162    EINA_DEPRECATED EAPI void         elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
24163    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24164    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
24165    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
24166    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
24167    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
24168    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
24169    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
24170    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24171    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24172    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24173    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24174    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
24175    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
24176    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24177    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24178    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24179    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
24180    EINA_DEPRECATED EAPI int          elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24181    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
24182    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
24183    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
24184    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
24185    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);
24186    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
24187    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24188    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);
24189    EINA_DEPRECATED EAPI void         elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
24190    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);
24191    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1, 2);
24192    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24193    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24194    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
24195    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1, 2);
24196    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24197    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24198    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
24199    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);
24200    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);
24201    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);
24202    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);
24203    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);
24204    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);
24205    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
24206    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
24207    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
24208    EINA_DEPRECATED EAPI void         elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
24209    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24210    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
24211    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
24212
24213    /**
24214     * @defgroup Conformant Conformant
24215     * @ingroup Elementary
24216     *
24217     * @image html img/widget/conformant/preview-00.png
24218     * @image latex img/widget/conformant/preview-00.eps width=\textwidth
24219     *
24220     * @image html img/conformant.png
24221     * @image latex img/conformant.eps width=\textwidth
24222     *
24223     * The aim is to provide a widget that can be used in elementary apps to
24224     * account for space taken up by the indicator, virtual keypad & softkey
24225     * windows when running the illume2 module of E17.
24226     *
24227     * So conformant content will be sized and positioned considering the
24228     * space required for such stuff, and when they popup, as a keyboard
24229     * shows when an entry is selected, conformant content won't change.
24230     *
24231     * Available styles for it:
24232     * - @c "default"
24233     *
24234     * See how to use this widget in this example:
24235     * @ref conformant_example
24236     */
24237
24238    /**
24239     * @addtogroup Conformant
24240     * @{
24241     */
24242
24243    /**
24244     * Add a new conformant widget to the given parent Elementary
24245     * (container) object.
24246     *
24247     * @param parent The parent object.
24248     * @return A new conformant widget handle or @c NULL, on errors.
24249     *
24250     * This function inserts a new conformant widget on the canvas.
24251     *
24252     * @ingroup Conformant
24253     */
24254    EAPI Evas_Object *elm_conformant_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24255
24256    /**
24257     * Set the content of the conformant widget.
24258     *
24259     * @param obj The conformant object.
24260     * @param content The content to be displayed by the conformant.
24261     *
24262     * Content will be sized and positioned considering the space required
24263     * to display a virtual keyboard. So it won't fill all the conformant
24264     * size. This way is possible to be sure that content won't resize
24265     * or be re-positioned after the keyboard is displayed.
24266     *
24267     * Once the content object is set, a previously set one will be deleted.
24268     * If you want to keep that old content object, use the
24269     * elm_conformat_content_unset() function.
24270     *
24271     * @see elm_conformant_content_unset()
24272     * @see elm_conformant_content_get()
24273     *
24274     * @ingroup Conformant
24275     */
24276    EAPI void         elm_conformant_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24277
24278    /**
24279     * Get the content of the conformant widget.
24280     *
24281     * @param obj The conformant object.
24282     * @return The content that is being used.
24283     *
24284     * Return the content object which is set for this widget.
24285     * It won't be unparent from conformant. For that, use
24286     * elm_conformant_content_unset().
24287     *
24288     * @see elm_conformant_content_set() for more details.
24289     * @see elm_conformant_content_unset()
24290     *
24291     * @ingroup Conformant
24292     */
24293    EAPI Evas_Object *elm_conformant_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24294
24295    /**
24296     * Unset the content of the conformant widget.
24297     *
24298     * @param obj The conformant object.
24299     * @return The content that was being used.
24300     *
24301     * Unparent and return the content object which was set for this widget.
24302     *
24303     * @see elm_conformant_content_set() for more details.
24304     *
24305     * @ingroup Conformant
24306     */
24307    EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24308
24309    /**
24310     * Returns the Evas_Object that represents the content area.
24311     *
24312     * @param obj The conformant object.
24313     * @return The content area of the widget.
24314     *
24315     * @ingroup Conformant
24316     */
24317    EAPI Evas_Object *elm_conformant_content_area_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24318
24319    /**
24320     * @}
24321     */
24322
24323    /**
24324     * @defgroup Mapbuf Mapbuf
24325     * @ingroup Elementary
24326     *
24327     * @image html img/widget/mapbuf/preview-00.png
24328     * @image latex img/widget/mapbuf/preview-00.eps width=\textwidth
24329     *
24330     * This holds one content object and uses an Evas Map of transformation
24331     * points to be later used with this content. So the content will be
24332     * moved, resized, etc as a single image. So it will improve performance
24333     * when you have a complex interafce, with a lot of elements, and will
24334     * need to resize or move it frequently (the content object and its
24335     * children).
24336     *
24337     * See how to use this widget in this example:
24338     * @ref mapbuf_example
24339     */
24340
24341    /**
24342     * @addtogroup Mapbuf
24343     * @{
24344     */
24345
24346    /**
24347     * Add a new mapbuf widget to the given parent Elementary
24348     * (container) object.
24349     *
24350     * @param parent The parent object.
24351     * @return A new mapbuf widget handle or @c NULL, on errors.
24352     *
24353     * This function inserts a new mapbuf widget on the canvas.
24354     *
24355     * @ingroup Mapbuf
24356     */
24357    EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24358
24359    /**
24360     * Set the content of the mapbuf.
24361     *
24362     * @param obj The mapbuf object.
24363     * @param content The content that will be filled in this mapbuf object.
24364     *
24365     * Once the content object is set, a previously set one will be deleted.
24366     * If you want to keep that old content object, use the
24367     * elm_mapbuf_content_unset() function.
24368     *
24369     * To enable map, elm_mapbuf_enabled_set() should be used.
24370     *
24371     * @ingroup Mapbuf
24372     */
24373    EAPI void         elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24374
24375    /**
24376     * Get the content of the mapbuf.
24377     *
24378     * @param obj The mapbuf object.
24379     * @return The content that is being used.
24380     *
24381     * Return the content object which is set for this widget.
24382     *
24383     * @see elm_mapbuf_content_set() for details.
24384     *
24385     * @ingroup Mapbuf
24386     */
24387    EAPI Evas_Object *elm_mapbuf_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24388
24389    /**
24390     * Unset the content of the mapbuf.
24391     *
24392     * @param obj The mapbuf object.
24393     * @return The content that was being used.
24394     *
24395     * Unparent and return the content object which was set for this widget.
24396     *
24397     * @see elm_mapbuf_content_set() for details.
24398     *
24399     * @ingroup Mapbuf
24400     */
24401    EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24402
24403    /**
24404     * Enable or disable the map.
24405     *
24406     * @param obj The mapbuf object.
24407     * @param enabled @c EINA_TRUE to enable map or @c EINA_FALSE to disable it.
24408     *
24409     * This enables the map that is set or disables it. On enable, the object
24410     * geometry will be saved, and the new geometry will change (position and
24411     * size) to reflect the map geometry set.
24412     *
24413     * Also, when enabled, alpha and smooth states will be used, so if the
24414     * content isn't solid, alpha should be enabled, for example, otherwise
24415     * a black retangle will fill the content.
24416     *
24417     * When disabled, the stored map will be freed and geometry prior to
24418     * enabling the map will be restored.
24419     *
24420     * It's disabled by default.
24421     *
24422     * @see elm_mapbuf_alpha_set()
24423     * @see elm_mapbuf_smooth_set()
24424     *
24425     * @ingroup Mapbuf
24426     */
24427    EAPI void         elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
24428
24429    /**
24430     * Get a value whether map is enabled or not.
24431     *
24432     * @param obj The mapbuf object.
24433     * @return @c EINA_TRUE means map is enabled. @c EINA_FALSE indicates
24434     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
24435     *
24436     * @see elm_mapbuf_enabled_set() for details.
24437     *
24438     * @ingroup Mapbuf
24439     */
24440    EAPI Eina_Bool    elm_mapbuf_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24441
24442    /**
24443     * Enable or disable smooth map rendering.
24444     *
24445     * @param obj The mapbuf object.
24446     * @param smooth @c EINA_TRUE to enable smooth map rendering or @c EINA_FALSE
24447     * to disable it.
24448     *
24449     * This sets smoothing for map rendering. If the object is a type that has
24450     * its own smoothing settings, then both the smooth settings for this object
24451     * and the map must be turned off.
24452     *
24453     * By default smooth maps are enabled.
24454     *
24455     * @ingroup Mapbuf
24456     */
24457    EAPI void         elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
24458
24459    /**
24460     * Get a value whether smooth map rendering is enabled or not.
24461     *
24462     * @param obj The mapbuf object.
24463     * @return @c EINA_TRUE means smooth map rendering is enabled. @c EINA_FALSE
24464     * indicates it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
24465     *
24466     * @see elm_mapbuf_smooth_set() for details.
24467     *
24468     * @ingroup Mapbuf
24469     */
24470    EAPI Eina_Bool    elm_mapbuf_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24471
24472    /**
24473     * Set or unset alpha flag for map rendering.
24474     *
24475     * @param obj The mapbuf object.
24476     * @param alpha @c EINA_TRUE to enable alpha blending or @c EINA_FALSE
24477     * to disable it.
24478     *
24479     * This sets alpha flag for map rendering. If the object is a type that has
24480     * its own alpha settings, then this will take precedence. Only image objects
24481     * have this currently. It stops alpha blending of the map area, and is
24482     * useful if you know the object and/or all sub-objects is 100% solid.
24483     *
24484     * Alpha is enabled by default.
24485     *
24486     * @ingroup Mapbuf
24487     */
24488    EAPI void         elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
24489
24490    /**
24491     * Get a value whether alpha blending is enabled or not.
24492     *
24493     * @param obj The mapbuf object.
24494     * @return @c EINA_TRUE means alpha blending is enabled. @c EINA_FALSE
24495     * indicates it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
24496     *
24497     * @see elm_mapbuf_alpha_set() for details.
24498     *
24499     * @ingroup Mapbuf
24500     */
24501    EAPI Eina_Bool    elm_mapbuf_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24502
24503    /**
24504     * @}
24505     */
24506
24507    /**
24508     * @defgroup Flipselector Flip Selector
24509     *
24510     * @image html img/widget/flipselector/preview-00.png
24511     * @image latex img/widget/flipselector/preview-00.eps
24512     *
24513     * A flip selector is a widget to show a set of @b text items, one
24514     * at a time, with the same sheet switching style as the @ref Clock
24515     * "clock" widget, when one changes the current displaying sheet
24516     * (thus, the "flip" in the name).
24517     *
24518     * User clicks to flip sheets which are @b held for some time will
24519     * make the flip selector to flip continuosly and automatically for
24520     * the user. The interval between flips will keep growing in time,
24521     * so that it helps the user to reach an item which is distant from
24522     * the current selection.
24523     *
24524     * Smart callbacks one can register to:
24525     * - @c "selected" - when the widget's selected text item is changed
24526     * - @c "overflowed" - when the widget's current selection is changed
24527     *   from the first item in its list to the last
24528     * - @c "underflowed" - when the widget's current selection is changed
24529     *   from the last item in its list to the first
24530     *
24531     * Available styles for it:
24532     * - @c "default"
24533     *
24534     * Here is an example on its usage:
24535     * @li @ref flipselector_example
24536     */
24537
24538    /**
24539     * @addtogroup Flipselector
24540     * @{
24541     */
24542
24543    typedef struct _Elm_Flipselector_Item Elm_Flipselector_Item; /**< Item handle for a flip selector widget. */
24544
24545    /**
24546     * Add a new flip selector widget to the given parent Elementary
24547     * (container) widget
24548     *
24549     * @param parent The parent object
24550     * @return a new flip selector widget handle or @c NULL, on errors
24551     *
24552     * This function inserts a new flip selector widget on the canvas.
24553     *
24554     * @ingroup Flipselector
24555     */
24556    EAPI Evas_Object               *elm_flipselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24557
24558    /**
24559     * Programmatically select the next item of a flip selector widget
24560     *
24561     * @param obj The flipselector object
24562     *
24563     * @note The selection will be animated. Also, if it reaches the
24564     * end of its list of member items, it will continue with the first
24565     * one onwards.
24566     *
24567     * @ingroup Flipselector
24568     */
24569    EAPI void                       elm_flipselector_flip_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
24570
24571    /**
24572     * Programmatically select the previous item of a flip selector
24573     * widget
24574     *
24575     * @param obj The flipselector object
24576     *
24577     * @note The selection will be animated.  Also, if it reaches the
24578     * beginning of its list of member items, it will continue with the
24579     * last one backwards.
24580     *
24581     * @ingroup Flipselector
24582     */
24583    EAPI void                       elm_flipselector_flip_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
24584
24585    /**
24586     * Append a (text) item to a flip selector widget
24587     *
24588     * @param obj The flipselector object
24589     * @param label The (text) label of the new item
24590     * @param func Convenience callback function to take place when
24591     * item is selected
24592     * @param data Data passed to @p func, above
24593     * @return A handle to the item added or @c NULL, on errors
24594     *
24595     * The widget's list of labels to show will be appended with the
24596     * given value. If the user wishes so, a callback function pointer
24597     * can be passed, which will get called when this same item is
24598     * selected.
24599     *
24600     * @note The current selection @b won't be modified by appending an
24601     * element to the list.
24602     *
24603     * @note The maximum length of the text label is going to be
24604     * determined <b>by the widget's theme</b>. Strings larger than
24605     * that value are going to be @b truncated.
24606     *
24607     * @ingroup Flipselector
24608     */
24609    EAPI Elm_Flipselector_Item     *elm_flipselector_item_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
24610
24611    /**
24612     * Prepend a (text) item to a flip selector widget
24613     *
24614     * @param obj The flipselector object
24615     * @param label The (text) label of the new item
24616     * @param func Convenience callback function to take place when
24617     * item is selected
24618     * @param data Data passed to @p func, above
24619     * @return A handle to the item added or @c NULL, on errors
24620     *
24621     * The widget's list of labels to show will be prepended with the
24622     * given value. If the user wishes so, a callback function pointer
24623     * can be passed, which will get called when this same item is
24624     * selected.
24625     *
24626     * @note The current selection @b won't be modified by prepending
24627     * an element to the list.
24628     *
24629     * @note The maximum length of the text label is going to be
24630     * determined <b>by the widget's theme</b>. Strings larger than
24631     * that value are going to be @b truncated.
24632     *
24633     * @ingroup Flipselector
24634     */
24635    EAPI Elm_Flipselector_Item     *elm_flipselector_item_prepend(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
24636
24637    /**
24638     * Get the internal list of items in a given flip selector widget.
24639     *
24640     * @param obj The flipselector object
24641     * @return The list of items (#Elm_Flipselector_Item as data) or
24642     * @c NULL on errors.
24643     *
24644     * This list is @b not to be modified in any way and must not be
24645     * freed. Use the list members with functions like
24646     * elm_flipselector_item_label_set(),
24647     * elm_flipselector_item_label_get(),
24648     * elm_flipselector_item_del(),
24649     * elm_flipselector_item_selected_get(),
24650     * elm_flipselector_item_selected_set().
24651     *
24652     * @warning This list is only valid until @p obj object's internal
24653     * items list is changed. It should be fetched again with another
24654     * call to this function when changes happen.
24655     *
24656     * @ingroup Flipselector
24657     */
24658    EAPI const Eina_List           *elm_flipselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24659
24660    /**
24661     * Get the first item in the given flip selector widget's list of
24662     * items.
24663     *
24664     * @param obj The flipselector object
24665     * @return The first item or @c NULL, if it has no items (and on
24666     * errors)
24667     *
24668     * @see elm_flipselector_item_append()
24669     * @see elm_flipselector_last_item_get()
24670     *
24671     * @ingroup Flipselector
24672     */
24673    EAPI Elm_Flipselector_Item     *elm_flipselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24674
24675    /**
24676     * Get the last item in the given flip selector widget's list of
24677     * items.
24678     *
24679     * @param obj The flipselector object
24680     * @return The last item or @c NULL, if it has no items (and on
24681     * errors)
24682     *
24683     * @see elm_flipselector_item_prepend()
24684     * @see elm_flipselector_first_item_get()
24685     *
24686     * @ingroup Flipselector
24687     */
24688    EAPI Elm_Flipselector_Item     *elm_flipselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24689
24690    /**
24691     * Get the currently selected item in a flip selector widget.
24692     *
24693     * @param obj The flipselector object
24694     * @return The selected item or @c NULL, if the widget has no items
24695     * (and on erros)
24696     *
24697     * @ingroup Flipselector
24698     */
24699    EAPI Elm_Flipselector_Item     *elm_flipselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24700
24701    /**
24702     * Set whether a given flip selector widget's item should be the
24703     * currently selected one.
24704     *
24705     * @param item The flip selector item
24706     * @param selected @c EINA_TRUE to select it, @c EINA_FALSE to unselect.
24707     *
24708     * This sets whether @p item is or not the selected (thus, under
24709     * display) one. If @p item is different than one under display,
24710     * the latter will be unselected. If the @p item is set to be
24711     * unselected, on the other hand, the @b first item in the widget's
24712     * internal members list will be the new selected one.
24713     *
24714     * @see elm_flipselector_item_selected_get()
24715     *
24716     * @ingroup Flipselector
24717     */
24718    EAPI void                       elm_flipselector_item_selected_set(Elm_Flipselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
24719
24720    /**
24721     * Get whether a given flip selector widget's item is the currently
24722     * selected one.
24723     *
24724     * @param item The flip selector item
24725     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
24726     * (or on errors).
24727     *
24728     * @see elm_flipselector_item_selected_set()
24729     *
24730     * @ingroup Flipselector
24731     */
24732    EAPI Eina_Bool                  elm_flipselector_item_selected_get(const Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24733
24734    /**
24735     * Delete a given item from a flip selector widget.
24736     *
24737     * @param item The item to delete
24738     *
24739     * @ingroup Flipselector
24740     */
24741    EAPI void                       elm_flipselector_item_del(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24742
24743    /**
24744     * Get the label of a given flip selector widget's item.
24745     *
24746     * @param item The item to get label from
24747     * @return The text label of @p item or @c NULL, on errors
24748     *
24749     * @see elm_flipselector_item_label_set()
24750     *
24751     * @ingroup Flipselector
24752     */
24753    EAPI const char                *elm_flipselector_item_label_get(const Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24754
24755    /**
24756     * Set the label of a given flip selector widget's item.
24757     *
24758     * @param item The item to set label on
24759     * @param label The text label string, in UTF-8 encoding
24760     *
24761     * @see elm_flipselector_item_label_get()
24762     *
24763     * @ingroup Flipselector
24764     */
24765    EAPI void                       elm_flipselector_item_label_set(Elm_Flipselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
24766
24767    /**
24768     * Gets the item before @p item in a flip selector widget's
24769     * internal list of items.
24770     *
24771     * @param item The item to fetch previous from
24772     * @return The item before the @p item, in its parent's list. If
24773     *         there is no previous item for @p item or there's an
24774     *         error, @c NULL is returned.
24775     *
24776     * @see elm_flipselector_item_next_get()
24777     *
24778     * @ingroup Flipselector
24779     */
24780    EAPI Elm_Flipselector_Item     *elm_flipselector_item_prev_get(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24781
24782    /**
24783     * Gets the item after @p item in a flip selector widget's
24784     * internal list of items.
24785     *
24786     * @param item The item to fetch next from
24787     * @return The item after the @p item, in its parent's list. If
24788     *         there is no next item for @p item or there's an
24789     *         error, @c NULL is returned.
24790     *
24791     * @see elm_flipselector_item_next_get()
24792     *
24793     * @ingroup Flipselector
24794     */
24795    EAPI Elm_Flipselector_Item     *elm_flipselector_item_next_get(Elm_Flipselector_Item *item) EINA_ARG_NONNULL(1);
24796
24797    /**
24798     * Set the interval on time updates for an user mouse button hold
24799     * on a flip selector widget.
24800     *
24801     * @param obj The flip selector object
24802     * @param interval The (first) interval value in seconds
24803     *
24804     * This interval value is @b decreased while the user holds the
24805     * mouse pointer either flipping up or flipping doww a given flip
24806     * selector.
24807     *
24808     * This helps the user to get to a given item distant from the
24809     * current one easier/faster, as it will start to flip quicker and
24810     * quicker on mouse button holds.
24811     *
24812     * The calculation for the next flip interval value, starting from
24813     * the one set with this call, is the previous interval divided by
24814     * 1.05, so it decreases a little bit.
24815     *
24816     * The default starting interval value for automatic flips is
24817     * @b 0.85 seconds.
24818     *
24819     * @see elm_flipselector_interval_get()
24820     *
24821     * @ingroup Flipselector
24822     */
24823    EAPI void                       elm_flipselector_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
24824
24825    /**
24826     * Get the interval on time updates for an user mouse button hold
24827     * on a flip selector widget.
24828     *
24829     * @param obj The flip selector object
24830     * @return The (first) interval value, in seconds, set on it
24831     *
24832     * @see elm_flipselector_interval_set() for more details
24833     *
24834     * @ingroup Flipselector
24835     */
24836    EAPI double                     elm_flipselector_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24837    /**
24838     * @}
24839     */
24840
24841    /**
24842     * @addtogroup Calendar
24843     * @{
24844     */
24845
24846    /**
24847     * @enum _Elm_Calendar_Mark_Repeat
24848     * @typedef Elm_Calendar_Mark_Repeat
24849     *
24850     * Event periodicity, used to define if a mark should be repeated
24851     * @b beyond event's day. It's set when a mark is added.
24852     *
24853     * So, for a mark added to 13th May with periodicity set to WEEKLY,
24854     * there will be marks every week after this date. Marks will be displayed
24855     * at 13th, 20th, 27th, 3rd June ...
24856     *
24857     * Values don't work as bitmask, only one can be choosen.
24858     *
24859     * @see elm_calendar_mark_add()
24860     *
24861     * @ingroup Calendar
24862     */
24863    typedef enum _Elm_Calendar_Mark_Repeat
24864      {
24865         ELM_CALENDAR_UNIQUE, /**< Default value. Marks will be displayed only on event day. */
24866         ELM_CALENDAR_DAILY, /**< Marks will be displayed everyday after event day (inclusive). */
24867         ELM_CALENDAR_WEEKLY, /**< Marks will be displayed every week after event day (inclusive) - i.e. each seven days. */
24868         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*/
24869         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. */
24870      } Elm_Calendar_Mark_Repeat;
24871
24872    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(). */
24873
24874    /**
24875     * Add a new calendar widget to the given parent Elementary
24876     * (container) object.
24877     *
24878     * @param parent The parent object.
24879     * @return a new calendar widget handle or @c NULL, on errors.
24880     *
24881     * This function inserts a new calendar widget on the canvas.
24882     *
24883     * @ref calendar_example_01
24884     *
24885     * @ingroup Calendar
24886     */
24887    EAPI Evas_Object       *elm_calendar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24888
24889    /**
24890     * Get weekdays names displayed by the calendar.
24891     *
24892     * @param obj The calendar object.
24893     * @return Array of seven strings to be used as weekday names.
24894     *
24895     * By default, weekdays abbreviations get from system are displayed:
24896     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
24897     * The first string is related to Sunday, the second to Monday...
24898     *
24899     * @see elm_calendar_weekdays_name_set()
24900     *
24901     * @ref calendar_example_05
24902     *
24903     * @ingroup Calendar
24904     */
24905    EAPI const char       **elm_calendar_weekdays_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24906
24907    /**
24908     * Set weekdays names to be displayed by the calendar.
24909     *
24910     * @param obj The calendar object.
24911     * @param weekdays Array of seven strings to be used as weekday names.
24912     * @warning It must have 7 elements, or it will access invalid memory.
24913     * @warning The strings must be NULL terminated ('@\0').
24914     *
24915     * By default, weekdays abbreviations get from system are displayed:
24916     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
24917     *
24918     * The first string should be related to Sunday, the second to Monday...
24919     *
24920     * The usage should be like this:
24921     * @code
24922     *   const char *weekdays[] =
24923     *   {
24924     *      "Sunday", "Monday", "Tuesday", "Wednesday",
24925     *      "Thursday", "Friday", "Saturday"
24926     *   };
24927     *   elm_calendar_weekdays_names_set(calendar, weekdays);
24928     * @endcode
24929     *
24930     * @see elm_calendar_weekdays_name_get()
24931     *
24932     * @ref calendar_example_02
24933     *
24934     * @ingroup Calendar
24935     */
24936    EAPI void               elm_calendar_weekdays_names_set(Evas_Object *obj, const char *weekdays[]) EINA_ARG_NONNULL(1, 2);
24937
24938    /**
24939     * Set the minimum and maximum values for the year
24940     *
24941     * @param obj The calendar object
24942     * @param min The minimum year, greater than 1901;
24943     * @param max The maximum year;
24944     *
24945     * Maximum must be greater than minimum, except if you don't wan't to set
24946     * maximum year.
24947     * Default values are 1902 and -1.
24948     *
24949     * If the maximum year is a negative value, it will be limited depending
24950     * on the platform architecture (year 2037 for 32 bits);
24951     *
24952     * @see elm_calendar_min_max_year_get()
24953     *
24954     * @ref calendar_example_03
24955     *
24956     * @ingroup Calendar
24957     */
24958    EAPI void               elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max) EINA_ARG_NONNULL(1);
24959
24960    /**
24961     * Get the minimum and maximum values for the year
24962     *
24963     * @param obj The calendar object.
24964     * @param min The minimum year.
24965     * @param max The maximum year.
24966     *
24967     * Default values are 1902 and -1.
24968     *
24969     * @see elm_calendar_min_max_year_get() for more details.
24970     *
24971     * @ref calendar_example_05
24972     *
24973     * @ingroup Calendar
24974     */
24975    EAPI void               elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max) EINA_ARG_NONNULL(1);
24976
24977    /**
24978     * Enable or disable day selection
24979     *
24980     * @param obj The calendar object.
24981     * @param enabled @c EINA_TRUE to enable selection or @c EINA_FALSE to
24982     * disable it.
24983     *
24984     * Enabled by default. If disabled, the user still can select months,
24985     * but not days. Selected days are highlighted on calendar.
24986     * It should be used if you won't need such selection for the widget usage.
24987     *
24988     * When a day is selected, or month is changed, smart callbacks for
24989     * signal "changed" will be called.
24990     *
24991     * @see elm_calendar_day_selection_enable_get()
24992     *
24993     * @ref calendar_example_04
24994     *
24995     * @ingroup Calendar
24996     */
24997    EAPI void               elm_calendar_day_selection_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
24998
24999    /**
25000     * Get a value whether day selection is enabled or not.
25001     *
25002     * @see elm_calendar_day_selection_enable_set() for details.
25003     *
25004     * @param obj The calendar object.
25005     * @return EINA_TRUE means day selection is enabled. EINA_FALSE indicates
25006     * it's disabled. If @p obj is NULL, EINA_FALSE is returned.
25007     *
25008     * @ref calendar_example_05
25009     *
25010     * @ingroup Calendar
25011     */
25012    EAPI Eina_Bool          elm_calendar_day_selection_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25013
25014
25015    /**
25016     * Set selected date to be highlighted on calendar.
25017     *
25018     * @param obj The calendar object.
25019     * @param selected_time A @b tm struct to represent the selected date.
25020     *
25021     * Set the selected date, changing the displayed month if needed.
25022     * Selected date changes when the user goes to next/previous month or
25023     * select a day pressing over it on calendar.
25024     *
25025     * @see elm_calendar_selected_time_get()
25026     *
25027     * @ref calendar_example_04
25028     *
25029     * @ingroup Calendar
25030     */
25031    EAPI void               elm_calendar_selected_time_set(Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1);
25032
25033    /**
25034     * Get selected date.
25035     *
25036     * @param obj The calendar object
25037     * @param selected_time A @b tm struct to point to selected date
25038     * @return EINA_FALSE means an error ocurred and returned time shouldn't
25039     * be considered.
25040     *
25041     * Get date selected by the user or set by function
25042     * elm_calendar_selected_time_set().
25043     * Selected date changes when the user goes to next/previous month or
25044     * select a day pressing over it on calendar.
25045     *
25046     * @see elm_calendar_selected_time_get()
25047     *
25048     * @ref calendar_example_05
25049     *
25050     * @ingroup Calendar
25051     */
25052    EAPI Eina_Bool          elm_calendar_selected_time_get(const Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1, 2);
25053
25054    /**
25055     * Set a function to format the string that will be used to display
25056     * month and year;
25057     *
25058     * @param obj The calendar object
25059     * @param format_function Function to set the month-year string given
25060     * the selected date
25061     *
25062     * By default it uses strftime with "%B %Y" format string.
25063     * It should allocate the memory that will be used by the string,
25064     * that will be freed by the widget after usage.
25065     * A pointer to the string and a pointer to the time struct will be provided.
25066     *
25067     * Example:
25068     * @code
25069     * static char *
25070     * _format_month_year(struct tm *selected_time)
25071     * {
25072     *    char buf[32];
25073     *    if (!strftime(buf, sizeof(buf), "%B %Y", selected_time)) return NULL;
25074     *    return strdup(buf);
25075     * }
25076     *
25077     * elm_calendar_format_function_set(calendar, _format_month_year);
25078     * @endcode
25079     *
25080     * @ref calendar_example_02
25081     *
25082     * @ingroup Calendar
25083     */
25084    EAPI void               elm_calendar_format_function_set(Evas_Object *obj, char * (*format_function) (struct tm *stime)) EINA_ARG_NONNULL(1);
25085
25086    /**
25087     * Add a new mark to the calendar
25088     *
25089     * @param obj The calendar object
25090     * @param mark_type A string used to define the type of mark. It will be
25091     * emitted to the theme, that should display a related modification on these
25092     * days representation.
25093     * @param mark_time A time struct to represent the date of inclusion of the
25094     * mark. For marks that repeats it will just be displayed after the inclusion
25095     * date in the calendar.
25096     * @param repeat Repeat the event following this periodicity. Can be a unique
25097     * mark (that don't repeat), daily, weekly, monthly or annually.
25098     * @return The created mark or @p NULL upon failure.
25099     *
25100     * Add a mark that will be drawn in the calendar respecting the insertion
25101     * time and periodicity. It will emit the type as signal to the widget theme.
25102     * Default theme supports "holiday" and "checked", but it can be extended.
25103     *
25104     * It won't immediately update the calendar, drawing the marks.
25105     * For this, call elm_calendar_marks_draw(). However, when user selects
25106     * next or previous month calendar forces marks drawn.
25107     *
25108     * Marks created with this method can be deleted with
25109     * elm_calendar_mark_del().
25110     *
25111     * Example
25112     * @code
25113     * struct tm selected_time;
25114     * time_t current_time;
25115     *
25116     * current_time = time(NULL) + 5 * 84600;
25117     * localtime_r(&current_time, &selected_time);
25118     * elm_calendar_mark_add(cal, "holiday", selected_time,
25119     *     ELM_CALENDAR_ANNUALLY);
25120     *
25121     * current_time = time(NULL) + 1 * 84600;
25122     * localtime_r(&current_time, &selected_time);
25123     * elm_calendar_mark_add(cal, "checked", selected_time, ELM_CALENDAR_UNIQUE);
25124     *
25125     * elm_calendar_marks_draw(cal);
25126     * @endcode
25127     *
25128     * @see elm_calendar_marks_draw()
25129     * @see elm_calendar_mark_del()
25130     *
25131     * @ref calendar_example_06
25132     *
25133     * @ingroup Calendar
25134     */
25135    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);
25136
25137    /**
25138     * Delete mark from the calendar.
25139     *
25140     * @param mark The mark to be deleted.
25141     *
25142     * If deleting all calendar marks is required, elm_calendar_marks_clear()
25143     * should be used instead of getting marks list and deleting each one.
25144     *
25145     * @see elm_calendar_mark_add()
25146     *
25147     * @ref calendar_example_06
25148     *
25149     * @ingroup Calendar
25150     */
25151    EAPI void               elm_calendar_mark_del(Elm_Calendar_Mark *mark) EINA_ARG_NONNULL(1);
25152
25153    /**
25154     * Remove all calendar's marks
25155     *
25156     * @param obj The calendar object.
25157     *
25158     * @see elm_calendar_mark_add()
25159     * @see elm_calendar_mark_del()
25160     *
25161     * @ingroup Calendar
25162     */
25163    EAPI void               elm_calendar_marks_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
25164
25165
25166    /**
25167     * Get a list of all the calendar marks.
25168     *
25169     * @param obj The calendar object.
25170     * @return An @c Eina_List of calendar marks objects, or @c NULL on failure.
25171     *
25172     * @see elm_calendar_mark_add()
25173     * @see elm_calendar_mark_del()
25174     * @see elm_calendar_marks_clear()
25175     *
25176     * @ingroup Calendar
25177     */
25178    EAPI const Eina_List   *elm_calendar_marks_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25179
25180    /**
25181     * Draw calendar marks.
25182     *
25183     * @param obj The calendar object.
25184     *
25185     * Should be used after adding, removing or clearing marks.
25186     * It will go through the entire marks list updating the calendar.
25187     * If lots of marks will be added, add all the marks and then call
25188     * this function.
25189     *
25190     * When the month is changed, i.e. user selects next or previous month,
25191     * marks will be drawed.
25192     *
25193     * @see elm_calendar_mark_add()
25194     * @see elm_calendar_mark_del()
25195     * @see elm_calendar_marks_clear()
25196     *
25197     * @ref calendar_example_06
25198     *
25199     * @ingroup Calendar
25200     */
25201    EAPI void               elm_calendar_marks_draw(Evas_Object *obj) EINA_ARG_NONNULL(1);
25202
25203    /**
25204     * Set a day text color to the same that represents Saturdays.
25205     *
25206     * @param obj The calendar object.
25207     * @param pos The text position. Position is the cell counter, from left
25208     * to right, up to down. It starts on 0 and ends on 41.
25209     *
25210     * @deprecated use elm_calendar_mark_add() instead like:
25211     *
25212     * @code
25213     * struct tm t = { 0, 0, 12, 6, 0, 0, 6, 6, -1 };
25214     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
25215     * @endcode
25216     *
25217     * @see elm_calendar_mark_add()
25218     *
25219     * @ingroup Calendar
25220     */
25221    EINA_DEPRECATED EAPI void               elm_calendar_text_saturday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
25222
25223    /**
25224     * Set a day text color to the same that represents Sundays.
25225     *
25226     * @param obj The calendar object.
25227     * @param pos The text position. Position is the cell counter, from left
25228     * to right, up to down. It starts on 0 and ends on 41.
25229
25230     * @deprecated use elm_calendar_mark_add() instead like:
25231     *
25232     * @code
25233     * struct tm t = { 0, 0, 12, 7, 0, 0, 0, 0, -1 };
25234     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
25235     * @endcode
25236     *
25237     * @see elm_calendar_mark_add()
25238     *
25239     * @ingroup Calendar
25240     */
25241    EINA_DEPRECATED EAPI void               elm_calendar_text_sunday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
25242
25243    /**
25244     * Set a day text color to the same that represents Weekdays.
25245     *
25246     * @param obj The calendar object
25247     * @param pos The text position. Position is the cell counter, from left
25248     * to right, up to down. It starts on 0 and ends on 41.
25249     *
25250     * @deprecated use elm_calendar_mark_add() instead like:
25251     *
25252     * @code
25253     * struct tm t = { 0, 0, 12, 1, 0, 0, 0, 0, -1 };
25254     *
25255     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // monday
25256     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25257     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // tuesday
25258     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25259     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // wednesday
25260     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25261     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // thursday
25262     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25263     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // friday
25264     * @endcode
25265     *
25266     * @see elm_calendar_mark_add()
25267     *
25268     * @ingroup Calendar
25269     */
25270    EINA_DEPRECATED EAPI void               elm_calendar_text_weekday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
25271
25272    /**
25273     * Set the interval on time updates for an user mouse button hold
25274     * on calendar widgets' month selection.
25275     *
25276     * @param obj The calendar object
25277     * @param interval The (first) interval value in seconds
25278     *
25279     * This interval value is @b decreased while the user holds the
25280     * mouse pointer either selecting next or previous month.
25281     *
25282     * This helps the user to get to a given month distant from the
25283     * current one easier/faster, as it will start to change quicker and
25284     * quicker on mouse button holds.
25285     *
25286     * The calculation for the next change interval value, starting from
25287     * the one set with this call, is the previous interval divided by
25288     * 1.05, so it decreases a little bit.
25289     *
25290     * The default starting interval value for automatic changes is
25291     * @b 0.85 seconds.
25292     *
25293     * @see elm_calendar_interval_get()
25294     *
25295     * @ingroup Calendar
25296     */
25297    EAPI void               elm_calendar_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
25298
25299    /**
25300     * Get the interval on time updates for an user mouse button hold
25301     * on calendar widgets' month selection.
25302     *
25303     * @param obj The calendar object
25304     * @return The (first) interval value, in seconds, set on it
25305     *
25306     * @see elm_calendar_interval_set() for more details
25307     *
25308     * @ingroup Calendar
25309     */
25310    EAPI double             elm_calendar_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25311
25312    /**
25313     * @}
25314     */
25315
25316    /**
25317     * @defgroup Diskselector Diskselector
25318     * @ingroup Elementary
25319     *
25320     * @image html img/widget/diskselector/preview-00.png
25321     * @image latex img/widget/diskselector/preview-00.eps
25322     *
25323     * A diskselector is a kind of list widget. It scrolls horizontally,
25324     * and can contain label and icon objects. Three items are displayed
25325     * with the selected one in the middle.
25326     *
25327     * It can act like a circular list with round mode and labels can be
25328     * reduced for a defined length for side items.
25329     *
25330     * Smart callbacks one can listen to:
25331     * - "selected" - when item is selected, i.e. scroller stops.
25332     *
25333     * Available styles for it:
25334     * - @c "default"
25335     *
25336     * List of examples:
25337     * @li @ref diskselector_example_01
25338     * @li @ref diskselector_example_02
25339     */
25340
25341    /**
25342     * @addtogroup Diskselector
25343     * @{
25344     */
25345
25346    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(). */
25347
25348    /**
25349     * Add a new diskselector widget to the given parent Elementary
25350     * (container) object.
25351     *
25352     * @param parent The parent object.
25353     * @return a new diskselector widget handle or @c NULL, on errors.
25354     *
25355     * This function inserts a new diskselector widget on the canvas.
25356     *
25357     * @ingroup Diskselector
25358     */
25359    EAPI Evas_Object           *elm_diskselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25360
25361    /**
25362     * Enable or disable round mode.
25363     *
25364     * @param obj The diskselector object.
25365     * @param round @c EINA_TRUE to enable round mode or @c EINA_FALSE to
25366     * disable it.
25367     *
25368     * Disabled by default. If round mode is enabled the items list will
25369     * work like a circle list, so when the user reaches the last item,
25370     * the first one will popup.
25371     *
25372     * @see elm_diskselector_round_get()
25373     *
25374     * @ingroup Diskselector
25375     */
25376    EAPI void                   elm_diskselector_round_set(Evas_Object *obj, Eina_Bool round) EINA_ARG_NONNULL(1);
25377
25378    /**
25379     * Get a value whether round mode is enabled or not.
25380     *
25381     * @see elm_diskselector_round_set() for details.
25382     *
25383     * @param obj The diskselector object.
25384     * @return @c EINA_TRUE means round mode is enabled. @c EINA_FALSE indicates
25385     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
25386     *
25387     * @ingroup Diskselector
25388     */
25389    EAPI Eina_Bool              elm_diskselector_round_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25390
25391    /**
25392     * Get the side labels max length.
25393     *
25394     * @deprecated use elm_diskselector_side_label_length_get() instead:
25395     *
25396     * @param obj The diskselector object.
25397     * @return The max length defined for side labels, or 0 if not a valid
25398     * diskselector.
25399     *
25400     * @ingroup Diskselector
25401     */
25402    EINA_DEPRECATED EAPI int    elm_diskselector_side_label_lenght_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25403
25404    /**
25405     * Set the side labels max length.
25406     *
25407     * @deprecated use elm_diskselector_side_label_length_set() instead:
25408     *
25409     * @param obj The diskselector object.
25410     * @param len The max length defined for side labels.
25411     *
25412     * @ingroup Diskselector
25413     */
25414    EINA_DEPRECATED EAPI void   elm_diskselector_side_label_lenght_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
25415
25416    /**
25417     * Get the side labels max length.
25418     *
25419     * @see elm_diskselector_side_label_length_set() for details.
25420     *
25421     * @param obj The diskselector object.
25422     * @return The max length defined for side labels, or 0 if not a valid
25423     * diskselector.
25424     *
25425     * @ingroup Diskselector
25426     */
25427    EAPI int                    elm_diskselector_side_label_length_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25428
25429    /**
25430     * Set the side labels max length.
25431     *
25432     * @param obj The diskselector object.
25433     * @param len The max length defined for side labels.
25434     *
25435     * Length is the number of characters of items' label that will be
25436     * visible when it's set on side positions. It will just crop
25437     * the string after defined size. E.g.:
25438     *
25439     * An item with label "January" would be displayed on side position as
25440     * "Jan" if max length is set to 3, or "Janu", if this property
25441     * is set to 4.
25442     *
25443     * When it's selected, the entire label will be displayed, except for
25444     * width restrictions. In this case label will be cropped and "..."
25445     * will be concatenated.
25446     *
25447     * Default side label max length is 3.
25448     *
25449     * This property will be applyed over all items, included before or
25450     * later this function call.
25451     *
25452     * @ingroup Diskselector
25453     */
25454    EAPI void                   elm_diskselector_side_label_length_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
25455
25456    /**
25457     * Set the number of items to be displayed.
25458     *
25459     * @param obj The diskselector object.
25460     * @param num The number of items the diskselector will display.
25461     *
25462     * Default value is 3, and also it's the minimun. If @p num is less
25463     * than 3, it will be set to 3.
25464     *
25465     * Also, it can be set on theme, using data item @c display_item_num
25466     * on group "elm/diskselector/item/X", where X is style set.
25467     * E.g.:
25468     *
25469     * group { name: "elm/diskselector/item/X";
25470     * data {
25471     *     item: "display_item_num" "5";
25472     *     }
25473     *
25474     * @ingroup Diskselector
25475     */
25476    EAPI void                   elm_diskselector_display_item_num_set(Evas_Object *obj, int num) EINA_ARG_NONNULL(1);
25477
25478    /**
25479     * Get the number of items in the diskselector object.
25480     *
25481     * @param obj The diskselector object.
25482     *
25483     * @ingroup Diskselector
25484     */
25485    EAPI int                   elm_diskselector_display_item_num_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25486
25487    /**
25488     * Set bouncing behaviour when the scrolled content reaches an edge.
25489     *
25490     * Tell the internal scroller object whether it should bounce or not
25491     * when it reaches the respective edges for each axis.
25492     *
25493     * @param obj The diskselector object.
25494     * @param h_bounce Whether to bounce or not in the horizontal axis.
25495     * @param v_bounce Whether to bounce or not in the vertical axis.
25496     *
25497     * @see elm_scroller_bounce_set()
25498     *
25499     * @ingroup Diskselector
25500     */
25501    EAPI void                   elm_diskselector_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
25502
25503    /**
25504     * Get the bouncing behaviour of the internal scroller.
25505     *
25506     * Get whether the internal scroller should bounce when the edge of each
25507     * axis is reached scrolling.
25508     *
25509     * @param obj The diskselector object.
25510     * @param h_bounce Pointer where to store the bounce state of the horizontal
25511     * axis.
25512     * @param v_bounce Pointer where to store the bounce state of the vertical
25513     * axis.
25514     *
25515     * @see elm_scroller_bounce_get()
25516     * @see elm_diskselector_bounce_set()
25517     *
25518     * @ingroup Diskselector
25519     */
25520    EAPI void                   elm_diskselector_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
25521
25522    /**
25523     * Get the scrollbar policy.
25524     *
25525     * @see elm_diskselector_scroller_policy_get() for details.
25526     *
25527     * @param obj The diskselector object.
25528     * @param policy_h Pointer where to store horizontal scrollbar policy.
25529     * @param policy_v Pointer where to store vertical scrollbar policy.
25530     *
25531     * @ingroup Diskselector
25532     */
25533    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);
25534
25535    /**
25536     * Set the scrollbar policy.
25537     *
25538     * @param obj The diskselector object.
25539     * @param policy_h Horizontal scrollbar policy.
25540     * @param policy_v Vertical scrollbar policy.
25541     *
25542     * This sets the scrollbar visibility policy for the given scroller.
25543     * #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
25544     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
25545     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
25546     * This applies respectively for the horizontal and vertical scrollbars.
25547     *
25548     * The both are disabled by default, i.e., are set to
25549     * #ELM_SCROLLER_POLICY_OFF.
25550     *
25551     * @ingroup Diskselector
25552     */
25553    EAPI void                   elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
25554
25555    /**
25556     * Remove all diskselector's items.
25557     *
25558     * @param obj The diskselector object.
25559     *
25560     * @see elm_diskselector_item_del()
25561     * @see elm_diskselector_item_append()
25562     *
25563     * @ingroup Diskselector
25564     */
25565    EAPI void                   elm_diskselector_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
25566
25567    /**
25568     * Get a list of all the diskselector items.
25569     *
25570     * @param obj The diskselector object.
25571     * @return An @c Eina_List of diskselector items, #Elm_Diskselector_Item,
25572     * or @c NULL on failure.
25573     *
25574     * @see elm_diskselector_item_append()
25575     * @see elm_diskselector_item_del()
25576     * @see elm_diskselector_clear()
25577     *
25578     * @ingroup Diskselector
25579     */
25580    EAPI const Eina_List       *elm_diskselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25581
25582    /**
25583     * Appends a new item to the diskselector object.
25584     *
25585     * @param obj The diskselector object.
25586     * @param label The label of the diskselector item.
25587     * @param icon The icon object to use at left side of the item. An
25588     * icon can be any Evas object, but usually it is an icon created
25589     * with elm_icon_add().
25590     * @param func The function to call when the item is selected.
25591     * @param data The data to associate with the item for related callbacks.
25592     *
25593     * @return The created item or @c NULL upon failure.
25594     *
25595     * A new item will be created and appended to the diskselector, i.e., will
25596     * be set as last item. Also, if there is no selected item, it will
25597     * be selected. This will always happens for the first appended item.
25598     *
25599     * If no icon is set, label will be centered on item position, otherwise
25600     * the icon will be placed at left of the label, that will be shifted
25601     * to the right.
25602     *
25603     * Items created with this method can be deleted with
25604     * elm_diskselector_item_del().
25605     *
25606     * Associated @p data can be properly freed when item is deleted if a
25607     * callback function is set with elm_diskselector_item_del_cb_set().
25608     *
25609     * If a function is passed as argument, it will be called everytime this item
25610     * is selected, i.e., the user stops the diskselector with this
25611     * item on center position. If such function isn't needed, just passing
25612     * @c NULL as @p func is enough. The same should be done for @p data.
25613     *
25614     * Simple example (with no function callback or data associated):
25615     * @code
25616     * disk = elm_diskselector_add(win);
25617     * ic = elm_icon_add(win);
25618     * elm_icon_file_set(ic, "path/to/image", NULL);
25619     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
25620     * elm_diskselector_item_append(disk, "label", ic, NULL, NULL);
25621     * @endcode
25622     *
25623     * @see elm_diskselector_item_del()
25624     * @see elm_diskselector_item_del_cb_set()
25625     * @see elm_diskselector_clear()
25626     * @see elm_icon_add()
25627     *
25628     * @ingroup Diskselector
25629     */
25630    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);
25631
25632
25633    /**
25634     * Delete them item from the diskselector.
25635     *
25636     * @param it The item of diskselector to be deleted.
25637     *
25638     * If deleting all diskselector items is required, elm_diskselector_clear()
25639     * should be used instead of getting items list and deleting each one.
25640     *
25641     * @see elm_diskselector_clear()
25642     * @see elm_diskselector_item_append()
25643     * @see elm_diskselector_item_del_cb_set()
25644     *
25645     * @ingroup Diskselector
25646     */
25647    EAPI void                   elm_diskselector_item_del(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25648
25649    /**
25650     * Set the function called when a diskselector item is freed.
25651     *
25652     * @param it The item to set the callback on
25653     * @param func The function called
25654     *
25655     * If there is a @p func, then it will be called prior item's memory release.
25656     * That will be called with the following arguments:
25657     * @li item's data;
25658     * @li item's Evas object;
25659     * @li item itself;
25660     *
25661     * This way, a data associated to a diskselector item could be properly
25662     * freed.
25663     *
25664     * @ingroup Diskselector
25665     */
25666    EAPI void                   elm_diskselector_item_del_cb_set(Elm_Diskselector_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
25667
25668    /**
25669     * Get the data associated to the item.
25670     *
25671     * @param it The diskselector item
25672     * @return The data associated to @p it
25673     *
25674     * The return value is a pointer to data associated to @p item when it was
25675     * created, with function elm_diskselector_item_append(). If no data
25676     * was passed as argument, it will return @c NULL.
25677     *
25678     * @see elm_diskselector_item_append()
25679     *
25680     * @ingroup Diskselector
25681     */
25682    EAPI void                  *elm_diskselector_item_data_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25683
25684    /**
25685     * Set the icon associated to the item.
25686     *
25687     * @param it The diskselector item
25688     * @param icon The icon object to associate with @p it
25689     *
25690     * The icon object to use at left side of the item. An
25691     * icon can be any Evas object, but usually it is an icon created
25692     * with elm_icon_add().
25693     *
25694     * Once the icon object is set, a previously set one will be deleted.
25695     * @warning Setting the same icon for two items will cause the icon to
25696     * dissapear from the first item.
25697     *
25698     * If an icon was passed as argument on item creation, with function
25699     * elm_diskselector_item_append(), it will be already
25700     * associated to the item.
25701     *
25702     * @see elm_diskselector_item_append()
25703     * @see elm_diskselector_item_icon_get()
25704     *
25705     * @ingroup Diskselector
25706     */
25707    EAPI void                   elm_diskselector_item_icon_set(Elm_Diskselector_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
25708
25709    /**
25710     * Get the icon associated to the item.
25711     *
25712     * @param it The diskselector item
25713     * @return The icon associated to @p it
25714     *
25715     * The return value is a pointer to the icon associated to @p item when it was
25716     * created, with function elm_diskselector_item_append(), or later
25717     * with function elm_diskselector_item_icon_set. If no icon
25718     * was passed as argument, it will return @c NULL.
25719     *
25720     * @see elm_diskselector_item_append()
25721     * @see elm_diskselector_item_icon_set()
25722     *
25723     * @ingroup Diskselector
25724     */
25725    EAPI Evas_Object           *elm_diskselector_item_icon_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25726
25727    /**
25728     * Set the label of item.
25729     *
25730     * @param it The item of diskselector.
25731     * @param label The label of item.
25732     *
25733     * The label to be displayed by the item.
25734     *
25735     * If no icon is set, label will be centered on item position, otherwise
25736     * the icon will be placed at left of the label, that will be shifted
25737     * to the right.
25738     *
25739     * An item with label "January" would be displayed on side position as
25740     * "Jan" if max length is set to 3 with function
25741     * elm_diskselector_side_label_lenght_set(), or "Janu", if this property
25742     * is set to 4.
25743     *
25744     * When this @p item is selected, the entire label will be displayed,
25745     * except for width restrictions.
25746     * In this case label will be cropped and "..." will be concatenated,
25747     * but only for display purposes. It will keep the entire string, so
25748     * if diskselector is resized the remaining characters will be displayed.
25749     *
25750     * If a label was passed as argument on item creation, with function
25751     * elm_diskselector_item_append(), it will be already
25752     * displayed by the item.
25753     *
25754     * @see elm_diskselector_side_label_lenght_set()
25755     * @see elm_diskselector_item_label_get()
25756     * @see elm_diskselector_item_append()
25757     *
25758     * @ingroup Diskselector
25759     */
25760    EAPI void                   elm_diskselector_item_label_set(Elm_Diskselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
25761
25762    /**
25763     * Get the label of item.
25764     *
25765     * @param it The item of diskselector.
25766     * @return The label of item.
25767     *
25768     * The return value is a pointer to the label associated to @p item when it was
25769     * created, with function elm_diskselector_item_append(), or later
25770     * with function elm_diskselector_item_label_set. If no label
25771     * was passed as argument, it will return @c NULL.
25772     *
25773     * @see elm_diskselector_item_label_set() for more details.
25774     * @see elm_diskselector_item_append()
25775     *
25776     * @ingroup Diskselector
25777     */
25778    EAPI const char            *elm_diskselector_item_label_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25779
25780    /**
25781     * Get the selected item.
25782     *
25783     * @param obj The diskselector object.
25784     * @return The selected diskselector item.
25785     *
25786     * The selected item can be unselected with function
25787     * elm_diskselector_item_selected_set(), and the first item of
25788     * diskselector will be selected.
25789     *
25790     * The selected item always will be centered on diskselector, with
25791     * full label displayed, i.e., max lenght set to side labels won't
25792     * apply on the selected item. More details on
25793     * elm_diskselector_side_label_length_set().
25794     *
25795     * @ingroup Diskselector
25796     */
25797    EAPI Elm_Diskselector_Item *elm_diskselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25798
25799    /**
25800     * Set the selected state of an item.
25801     *
25802     * @param it The diskselector item
25803     * @param selected The selected state
25804     *
25805     * This sets the selected state of the given item @p it.
25806     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
25807     *
25808     * If a new item is selected the previosly selected will be unselected.
25809     * Previoulsy selected item can be get with function
25810     * elm_diskselector_selected_item_get().
25811     *
25812     * If the item @p it is unselected, the first item of diskselector will
25813     * be selected.
25814     *
25815     * Selected items will be visible on center position of diskselector.
25816     * So if it was on another position before selected, or was invisible,
25817     * diskselector will animate items until the selected item reaches center
25818     * position.
25819     *
25820     * @see elm_diskselector_item_selected_get()
25821     * @see elm_diskselector_selected_item_get()
25822     *
25823     * @ingroup Diskselector
25824     */
25825    EAPI void                   elm_diskselector_item_selected_set(Elm_Diskselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
25826
25827    /*
25828     * Get whether the @p item is selected or not.
25829     *
25830     * @param it The diskselector item.
25831     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
25832     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
25833     *
25834     * @see elm_diskselector_selected_item_set() for details.
25835     * @see elm_diskselector_item_selected_get()
25836     *
25837     * @ingroup Diskselector
25838     */
25839    EAPI Eina_Bool              elm_diskselector_item_selected_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25840
25841    /**
25842     * Get the first item of the diskselector.
25843     *
25844     * @param obj The diskselector object.
25845     * @return The first item, or @c NULL if none.
25846     *
25847     * The list of items follows append order. So it will return the first
25848     * item appended to the widget that wasn't deleted.
25849     *
25850     * @see elm_diskselector_item_append()
25851     * @see elm_diskselector_items_get()
25852     *
25853     * @ingroup Diskselector
25854     */
25855    EAPI Elm_Diskselector_Item *elm_diskselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25856
25857    /**
25858     * Get the last item of the diskselector.
25859     *
25860     * @param obj The diskselector object.
25861     * @return The last item, or @c NULL if none.
25862     *
25863     * The list of items follows append order. So it will return last first
25864     * item appended to the widget that wasn't deleted.
25865     *
25866     * @see elm_diskselector_item_append()
25867     * @see elm_diskselector_items_get()
25868     *
25869     * @ingroup Diskselector
25870     */
25871    EAPI Elm_Diskselector_Item *elm_diskselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25872
25873    /**
25874     * Get the item before @p item in diskselector.
25875     *
25876     * @param it The diskselector item.
25877     * @return The item before @p item, or @c NULL if none or on failure.
25878     *
25879     * The list of items follows append order. So it will return item appended
25880     * just before @p item and that wasn't deleted.
25881     *
25882     * If it is the first item, @c NULL will be returned.
25883     * First item can be get by elm_diskselector_first_item_get().
25884     *
25885     * @see elm_diskselector_item_append()
25886     * @see elm_diskselector_items_get()
25887     *
25888     * @ingroup Diskselector
25889     */
25890    EAPI Elm_Diskselector_Item *elm_diskselector_item_prev_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25891
25892    /**
25893     * Get the item after @p item in diskselector.
25894     *
25895     * @param it The diskselector item.
25896     * @return The item after @p item, or @c NULL if none or on failure.
25897     *
25898     * The list of items follows append order. So it will return item appended
25899     * just after @p item and that wasn't deleted.
25900     *
25901     * If it is the last item, @c NULL will be returned.
25902     * Last item can be get by elm_diskselector_last_item_get().
25903     *
25904     * @see elm_diskselector_item_append()
25905     * @see elm_diskselector_items_get()
25906     *
25907     * @ingroup Diskselector
25908     */
25909    EAPI Elm_Diskselector_Item *elm_diskselector_item_next_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25910
25911    /**
25912     * Set the text to be shown in the diskselector item.
25913     *
25914     * @param item Target item
25915     * @param text The text to set in the content
25916     *
25917     * Setup the text as tooltip to object. The item can have only one tooltip,
25918     * so any previous tooltip data is removed.
25919     *
25920     * @see elm_object_tooltip_text_set() for more details.
25921     *
25922     * @ingroup Diskselector
25923     */
25924    EAPI void                   elm_diskselector_item_tooltip_text_set(Elm_Diskselector_Item *item, const char *text) EINA_ARG_NONNULL(1);
25925
25926    /**
25927     * Set the content to be shown in the tooltip item.
25928     *
25929     * Setup the tooltip to item. The item can have only one tooltip,
25930     * so any previous tooltip data is removed. @p func(with @p data) will
25931     * be called every time that need show the tooltip and it should
25932     * return a valid Evas_Object. This object is then managed fully by
25933     * tooltip system and is deleted when the tooltip is gone.
25934     *
25935     * @param item the diskselector item being attached a tooltip.
25936     * @param func the function used to create the tooltip contents.
25937     * @param data what to provide to @a func as callback data/context.
25938     * @param del_cb called when data is not needed anymore, either when
25939     *        another callback replaces @p func, the tooltip is unset with
25940     *        elm_diskselector_item_tooltip_unset() or the owner @a item
25941     *        dies. This callback receives as the first parameter the
25942     *        given @a data, and @c event_info is the item.
25943     *
25944     * @see elm_object_tooltip_content_cb_set() for more details.
25945     *
25946     * @ingroup Diskselector
25947     */
25948    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);
25949
25950    /**
25951     * Unset tooltip from item.
25952     *
25953     * @param item diskselector item to remove previously set tooltip.
25954     *
25955     * Remove tooltip from item. The callback provided as del_cb to
25956     * elm_diskselector_item_tooltip_content_cb_set() will be called to notify
25957     * it is not used anymore.
25958     *
25959     * @see elm_object_tooltip_unset() for more details.
25960     * @see elm_diskselector_item_tooltip_content_cb_set()
25961     *
25962     * @ingroup Diskselector
25963     */
25964    EAPI void                   elm_diskselector_item_tooltip_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25965
25966
25967    /**
25968     * Sets a different style for this item tooltip.
25969     *
25970     * @note before you set a style you should define a tooltip with
25971     *       elm_diskselector_item_tooltip_content_cb_set() or
25972     *       elm_diskselector_item_tooltip_text_set()
25973     *
25974     * @param item diskselector item with tooltip already set.
25975     * @param style the theme style to use (default, transparent, ...)
25976     *
25977     * @see elm_object_tooltip_style_set() for more details.
25978     *
25979     * @ingroup Diskselector
25980     */
25981    EAPI void                   elm_diskselector_item_tooltip_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
25982
25983    /**
25984     * Get the style for this item tooltip.
25985     *
25986     * @param item diskselector item with tooltip already set.
25987     * @return style the theme style in use, defaults to "default". If the
25988     *         object does not have a tooltip set, then NULL is returned.
25989     *
25990     * @see elm_object_tooltip_style_get() for more details.
25991     * @see elm_diskselector_item_tooltip_style_set()
25992     *
25993     * @ingroup Diskselector
25994     */
25995    EAPI const char            *elm_diskselector_item_tooltip_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
25996
25997    /**
25998     * Set the cursor to be shown when mouse is over the diskselector item
25999     *
26000     * @param item Target item
26001     * @param cursor the cursor name to be used.
26002     *
26003     * @see elm_object_cursor_set() for more details.
26004     *
26005     * @ingroup Diskselector
26006     */
26007    EAPI void                   elm_diskselector_item_cursor_set(Elm_Diskselector_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
26008
26009    /**
26010     * Get the cursor to be shown when mouse is over the diskselector item
26011     *
26012     * @param item diskselector item with cursor already set.
26013     * @return the cursor name.
26014     *
26015     * @see elm_object_cursor_get() for more details.
26016     * @see elm_diskselector_cursor_set()
26017     *
26018     * @ingroup Diskselector
26019     */
26020    EAPI const char            *elm_diskselector_item_cursor_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26021
26022
26023    /**
26024     * Unset the cursor to be shown when mouse is over the diskselector item
26025     *
26026     * @param item Target item
26027     *
26028     * @see elm_object_cursor_unset() for more details.
26029     * @see elm_diskselector_cursor_set()
26030     *
26031     * @ingroup Diskselector
26032     */
26033    EAPI void                   elm_diskselector_item_cursor_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26034
26035    /**
26036     * Sets a different style for this item cursor.
26037     *
26038     * @note before you set a style you should define a cursor with
26039     *       elm_diskselector_item_cursor_set()
26040     *
26041     * @param item diskselector item with cursor already set.
26042     * @param style the theme style to use (default, transparent, ...)
26043     *
26044     * @see elm_object_cursor_style_set() for more details.
26045     *
26046     * @ingroup Diskselector
26047     */
26048    EAPI void                   elm_diskselector_item_cursor_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
26049
26050
26051    /**
26052     * Get the style for this item cursor.
26053     *
26054     * @param item diskselector item with cursor already set.
26055     * @return style the theme style in use, defaults to "default". If the
26056     *         object does not have a cursor set, then @c NULL is returned.
26057     *
26058     * @see elm_object_cursor_style_get() for more details.
26059     * @see elm_diskselector_item_cursor_style_set()
26060     *
26061     * @ingroup Diskselector
26062     */
26063    EAPI const char            *elm_diskselector_item_cursor_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26064
26065
26066    /**
26067     * Set if the cursor set should be searched on the theme or should use
26068     * the provided by the engine, only.
26069     *
26070     * @note before you set if should look on theme you should define a cursor
26071     * with elm_diskselector_item_cursor_set().
26072     * By default it will only look for cursors provided by the engine.
26073     *
26074     * @param item widget item with cursor already set.
26075     * @param engine_only boolean to define if cursors set with
26076     * elm_diskselector_item_cursor_set() should be searched only
26077     * between cursors provided by the engine or searched on widget's
26078     * theme as well.
26079     *
26080     * @see elm_object_cursor_engine_only_set() for more details.
26081     *
26082     * @ingroup Diskselector
26083     */
26084    EAPI void                   elm_diskselector_item_cursor_engine_only_set(Elm_Diskselector_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
26085
26086    /**
26087     * Get the cursor engine only usage for this item cursor.
26088     *
26089     * @param item widget item with cursor already set.
26090     * @return engine_only boolean to define it cursors should be looked only
26091     * between the provided by the engine or searched on widget's theme as well.
26092     * If the item does not have a cursor set, then @c EINA_FALSE is returned.
26093     *
26094     * @see elm_object_cursor_engine_only_get() for more details.
26095     * @see elm_diskselector_item_cursor_engine_only_set()
26096     *
26097     * @ingroup Diskselector
26098     */
26099    EAPI Eina_Bool              elm_diskselector_item_cursor_engine_only_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26100
26101    /**
26102     * @}
26103     */
26104
26105    /**
26106     * @defgroup Colorselector Colorselector
26107     *
26108     * @{
26109     *
26110     * @image html img/widget/colorselector/preview-00.png
26111     * @image latex img/widget/colorselector/preview-00.eps
26112     *
26113     * @brief Widget for user to select a color.
26114     *
26115     * Signals that you can add callbacks for are:
26116     * "changed" - When the color value changes(event_info is NULL).
26117     *
26118     * See @ref tutorial_colorselector.
26119     */
26120    /**
26121     * @brief Add a new colorselector to the parent
26122     *
26123     * @param parent The parent object
26124     * @return The new object or NULL if it cannot be created
26125     *
26126     * @ingroup Colorselector
26127     */
26128    EAPI Evas_Object *elm_colorselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
26129    /**
26130     * Set a color for the colorselector
26131     *
26132     * @param obj   Colorselector object
26133     * @param r     r-value of color
26134     * @param g     g-value of color
26135     * @param b     b-value of color
26136     * @param a     a-value of color
26137     *
26138     * @ingroup Colorselector
26139     */
26140    EAPI void         elm_colorselector_color_set(Evas_Object *obj, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
26141    /**
26142     * Get a color from the colorselector
26143     *
26144     * @param obj   Colorselector object
26145     * @param r     integer pointer for r-value of color
26146     * @param g     integer pointer for g-value of color
26147     * @param b     integer pointer for b-value of color
26148     * @param a     integer pointer for a-value of color
26149     *
26150     * @ingroup Colorselector
26151     */
26152    EAPI void         elm_colorselector_color_get(const Evas_Object *obj, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
26153    /**
26154     * @}
26155     */
26156
26157    /**
26158     * @defgroup Ctxpopup Ctxpopup
26159     *
26160     * @image html img/widget/ctxpopup/preview-00.png
26161     * @image latex img/widget/ctxpopup/preview-00.eps
26162     *
26163     * @brief Context popup widet.
26164     *
26165     * A ctxpopup is a widget that, when shown, pops up a list of items.
26166     * It automatically chooses an area inside its parent object's view
26167     * (set via elm_ctxpopup_add() and elm_ctxpopup_hover_parent_set()) to
26168     * optimally fit into it. In the default theme, it will also point an
26169     * arrow to it's top left position at the time one shows it. Ctxpopup
26170     * items have a label and/or an icon. It is intended for a small
26171     * number of items (hence the use of list, not genlist).
26172     *
26173     * @note Ctxpopup is a especialization of @ref Hover.
26174     *
26175     * Signals that you can add callbacks for are:
26176     * "dismissed" - the ctxpopup was dismissed
26177     *
26178     * @ref tutorial_ctxpopup shows the usage of a good deal of the API.
26179     * @{
26180     */
26181    typedef enum _Elm_Ctxpopup_Direction
26182      {
26183         ELM_CTXPOPUP_DIRECTION_DOWN, /**< ctxpopup show appear below clicked
26184                                           area */
26185         ELM_CTXPOPUP_DIRECTION_RIGHT, /**< ctxpopup show appear to the right of
26186                                            the clicked area */
26187         ELM_CTXPOPUP_DIRECTION_LEFT, /**< ctxpopup show appear to the left of
26188                                           the clicked area */
26189         ELM_CTXPOPUP_DIRECTION_UP, /**< ctxpopup show appear above the clicked
26190                                         area */
26191         ELM_CTXPOPUP_DIRECTION_UNKNOWN, /**< ctxpopup does not determine it's direction yet*/
26192      } Elm_Ctxpopup_Direction;
26193
26194    /**
26195     * @brief Add a new Ctxpopup object to the parent.
26196     *
26197     * @param parent Parent object
26198     * @return New object or @c NULL, if it cannot be created
26199     */
26200    EAPI Evas_Object  *elm_ctxpopup_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
26201    /**
26202     * @brief Set the Ctxpopup's parent
26203     *
26204     * @param obj The ctxpopup object
26205     * @param area The parent to use
26206     *
26207     * Set the parent object.
26208     *
26209     * @note elm_ctxpopup_add() will automatically call this function
26210     * with its @c parent argument.
26211     *
26212     * @see elm_ctxpopup_add()
26213     * @see elm_hover_parent_set()
26214     */
26215    EAPI void          elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1, 2);
26216    /**
26217     * @brief Get the Ctxpopup's parent
26218     *
26219     * @param obj The ctxpopup object
26220     *
26221     * @see elm_ctxpopup_hover_parent_set() for more information
26222     */
26223    EAPI Evas_Object  *elm_ctxpopup_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26224    /**
26225     * @brief Clear all items in the given ctxpopup object.
26226     *
26227     * @param obj Ctxpopup object
26228     */
26229    EAPI void          elm_ctxpopup_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
26230    /**
26231     * @brief Change the ctxpopup's orientation to horizontal or vertical.
26232     *
26233     * @param obj Ctxpopup object
26234     * @param horizontal @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical
26235     */
26236    EAPI void          elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
26237    /**
26238     * @brief Get the value of current ctxpopup object's orientation.
26239     *
26240     * @param obj Ctxpopup object
26241     * @return @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical mode (or errors)
26242     *
26243     * @see elm_ctxpopup_horizontal_set()
26244     */
26245    EAPI Eina_Bool     elm_ctxpopup_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26246    /**
26247     * @brief Add a new item to a ctxpopup object.
26248     *
26249     * @param obj Ctxpopup object
26250     * @param icon Icon to be set on new item
26251     * @param label The Label of the new item
26252     * @param func Convenience function called when item selected
26253     * @param data Data passed to @p func
26254     * @return A handle to the item added or @c NULL, on errors
26255     *
26256     * @warning Ctxpopup can't hold both an item list and a content at the same
26257     * time. When an item is added, any previous content will be removed.
26258     *
26259     * @see elm_ctxpopup_content_set()
26260     */
26261    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);
26262    /**
26263     * @brief Delete the given item in a ctxpopup object.
26264     *
26265     * @param it Ctxpopup item to be deleted
26266     *
26267     * @see elm_ctxpopup_item_append()
26268     */
26269    EAPI void          elm_ctxpopup_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26270    /**
26271     * @brief Set the ctxpopup item's state as disabled or enabled.
26272     *
26273     * @param it Ctxpopup item to be enabled/disabled
26274     * @param disabled @c EINA_TRUE to disable it, @c EINA_FALSE to enable it
26275     *
26276     * When disabled the item is greyed out to indicate it's state.
26277     */
26278    EAPI void          elm_ctxpopup_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
26279    /**
26280     * @brief Get the ctxpopup item's disabled/enabled state.
26281     *
26282     * @param it Ctxpopup item to be enabled/disabled
26283     * @return disabled @c EINA_TRUE, if disabled, @c EINA_FALSE otherwise
26284     *
26285     * @see elm_ctxpopup_item_disabled_set()
26286     */
26287    EAPI Eina_Bool     elm_ctxpopup_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26288    /**
26289     * @brief Get the icon object for the given ctxpopup item.
26290     *
26291     * @param it Ctxpopup item
26292     * @return icon object or @c NULL, if the item does not have icon or an error
26293     * occurred
26294     *
26295     * @see elm_ctxpopup_item_append()
26296     * @see elm_ctxpopup_item_icon_set()
26297     */
26298    EAPI Evas_Object  *elm_ctxpopup_item_icon_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26299    /**
26300     * @brief Sets the side icon associated with the ctxpopup item
26301     *
26302     * @param it Ctxpopup item
26303     * @param icon Icon object to be set
26304     *
26305     * Once the icon object is set, a previously set one will be deleted.
26306     * @warning Setting the same icon for two items will cause the icon to
26307     * dissapear from the first item.
26308     *
26309     * @see elm_ctxpopup_item_append()
26310     */
26311    EAPI void          elm_ctxpopup_item_icon_set(Elm_Object_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
26312    /**
26313     * @brief Get the label for the given ctxpopup item.
26314     *
26315     * @param it Ctxpopup item
26316     * @return label string or @c NULL, if the item does not have label or an
26317     * error occured
26318     *
26319     * @see elm_ctxpopup_item_append()
26320     * @see elm_ctxpopup_item_label_set()
26321     */
26322    EAPI const char   *elm_ctxpopup_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26323    /**
26324     * @brief (Re)set the label on the given ctxpopup item.
26325     *
26326     * @param it Ctxpopup item
26327     * @param label String to set as label
26328     */
26329    EAPI void          elm_ctxpopup_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
26330    /**
26331     * @brief Set an elm widget as the content of the ctxpopup.
26332     *
26333     * @param obj Ctxpopup object
26334     * @param content Content to be swallowed
26335     *
26336     * If the content object is already set, a previous one will bedeleted. If
26337     * you want to keep that old content object, use the
26338     * elm_ctxpopup_content_unset() function.
26339     *
26340     * @deprecated use elm_object_content_set()
26341     *
26342     * @warning Ctxpopup can't hold both a item list and a content at the same
26343     * time. When a content is set, any previous items will be removed.
26344     */
26345    EINA_DEPRECATED EAPI void          elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1, 2);
26346    /**
26347     * @brief Unset the ctxpopup content
26348     *
26349     * @param obj Ctxpopup object
26350     * @return The content that was being used
26351     *
26352     * Unparent and return the content object which was set for this widget.
26353     *
26354     * @deprecated use elm_object_content_unset()
26355     *
26356     * @see elm_ctxpopup_content_set()
26357     */
26358    EINA_DEPRECATED EAPI Evas_Object  *elm_ctxpopup_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
26359    /**
26360     * @brief Set the direction priority of a ctxpopup.
26361     *
26362     * @param obj Ctxpopup object
26363     * @param first 1st priority of direction
26364     * @param second 2nd priority of direction
26365     * @param third 3th priority of direction
26366     * @param fourth 4th priority of direction
26367     *
26368     * This functions gives a chance to user to set the priority of ctxpopup
26369     * showing direction. This doesn't guarantee the ctxpopup will appear in the
26370     * requested direction.
26371     *
26372     * @see Elm_Ctxpopup_Direction
26373     */
26374    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);
26375    /**
26376     * @brief Get the direction priority of a ctxpopup.
26377     *
26378     * @param obj Ctxpopup object
26379     * @param first 1st priority of direction to be returned
26380     * @param second 2nd priority of direction to be returned
26381     * @param third 3th priority of direction to be returned
26382     * @param fourth 4th priority of direction to be returned
26383     *
26384     * @see elm_ctxpopup_direction_priority_set() for more information.
26385     */
26386    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);
26387
26388    /**
26389     * @brief Get the current direction of a ctxpopup.
26390     *
26391     * @param obj Ctxpopup object
26392     * @return current direction of a ctxpopup
26393     *
26394     * @warning Once the ctxpopup showed up, the direction would be determined
26395     */
26396    EAPI Elm_Ctxpopup_Direction elm_ctxpopup_direction_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26397
26398    /**
26399     * @}
26400     */
26401
26402    /* transit */
26403    /**
26404     *
26405     * @defgroup Transit Transit
26406     * @ingroup Elementary
26407     *
26408     * Transit is designed to apply various animated transition effects to @c
26409     * Evas_Object, such like translation, rotation, etc. For using these
26410     * effects, create an @ref Elm_Transit and add the desired transition effects.
26411     *
26412     * Once the effects are added into transit, they will be automatically
26413     * managed (their callback will be called until the duration is ended, and
26414     * they will be deleted on completion).
26415     *
26416     * Example:
26417     * @code
26418     * Elm_Transit *trans = elm_transit_add();
26419     * elm_transit_object_add(trans, obj);
26420     * elm_transit_effect_translation_add(trans, 0, 0, 280, 280
26421     * elm_transit_duration_set(transit, 1);
26422     * elm_transit_auto_reverse_set(transit, EINA_TRUE);
26423     * elm_transit_tween_mode_set(transit, ELM_TRANSIT_TWEEN_MODE_DECELERATE);
26424     * elm_transit_repeat_times_set(transit, 3);
26425     * @endcode
26426     *
26427     * Some transition effects are used to change the properties of objects. They
26428     * are:
26429     * @li @ref elm_transit_effect_translation_add
26430     * @li @ref elm_transit_effect_color_add
26431     * @li @ref elm_transit_effect_rotation_add
26432     * @li @ref elm_transit_effect_wipe_add
26433     * @li @ref elm_transit_effect_zoom_add
26434     * @li @ref elm_transit_effect_resizing_add
26435     *
26436     * Other transition effects are used to make one object disappear and another
26437     * object appear on its old place. These effects are:
26438     *
26439     * @li @ref elm_transit_effect_flip_add
26440     * @li @ref elm_transit_effect_resizable_flip_add
26441     * @li @ref elm_transit_effect_fade_add
26442     * @li @ref elm_transit_effect_blend_add
26443     *
26444     * It's also possible to make a transition chain with @ref
26445     * elm_transit_chain_transit_add.
26446     *
26447     * @warning We strongly recommend to use elm_transit just when edje can not do
26448     * the trick. Edje has more advantage than Elm_Transit, it has more flexibility and
26449     * animations can be manipulated inside the theme.
26450     *
26451     * List of examples:
26452     * @li @ref transit_example_01_explained
26453     * @li @ref transit_example_02_explained
26454     * @li @ref transit_example_03_c
26455     * @li @ref transit_example_04_c
26456     *
26457     * @{
26458     */
26459
26460    /**
26461     * @enum Elm_Transit_Tween_Mode
26462     *
26463     * The type of acceleration used in the transition.
26464     */
26465    typedef enum
26466      {
26467         ELM_TRANSIT_TWEEN_MODE_LINEAR, /**< Constant speed */
26468         ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL, /**< Starts slow, increase speed
26469                                              over time, then decrease again
26470                                              and stop slowly */
26471         ELM_TRANSIT_TWEEN_MODE_DECELERATE, /**< Starts fast and decrease
26472                                              speed over time */
26473         ELM_TRANSIT_TWEEN_MODE_ACCELERATE /**< Starts slow and increase speed
26474                                             over time */
26475      } Elm_Transit_Tween_Mode;
26476
26477    /**
26478     * @enum Elm_Transit_Effect_Flip_Axis
26479     *
26480     * The axis where flip effect should be applied.
26481     */
26482    typedef enum
26483      {
26484         ELM_TRANSIT_EFFECT_FLIP_AXIS_X, /**< Flip on X axis */
26485         ELM_TRANSIT_EFFECT_FLIP_AXIS_Y /**< Flip on Y axis */
26486      } Elm_Transit_Effect_Flip_Axis;
26487    /**
26488     * @enum Elm_Transit_Effect_Wipe_Dir
26489     *
26490     * The direction where the wipe effect should occur.
26491     */
26492    typedef enum
26493      {
26494         ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT, /**< Wipe to the left */
26495         ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT, /**< Wipe to the right */
26496         ELM_TRANSIT_EFFECT_WIPE_DIR_UP, /**< Wipe up */
26497         ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN /**< Wipe down */
26498      } Elm_Transit_Effect_Wipe_Dir;
26499    /** @enum Elm_Transit_Effect_Wipe_Type
26500     *
26501     * Whether the wipe effect should show or hide the object.
26502     */
26503    typedef enum
26504      {
26505         ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE, /**< Hide the object during the
26506                                              animation */
26507         ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW /**< Show the object during the
26508                                             animation */
26509      } Elm_Transit_Effect_Wipe_Type;
26510
26511    /**
26512     * @typedef Elm_Transit
26513     *
26514     * The Transit created with elm_transit_add(). This type has the information
26515     * about the objects which the transition will be applied, and the
26516     * transition effects that will be used. It also contains info about
26517     * duration, number of repetitions, auto-reverse, etc.
26518     */
26519    typedef struct _Elm_Transit Elm_Transit;
26520    typedef void Elm_Transit_Effect;
26521    /**
26522     * @typedef Elm_Transit_Effect_Transition_Cb
26523     *
26524     * Transition callback called for this effect on each transition iteration.
26525     */
26526    typedef void (*Elm_Transit_Effect_Transition_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit, double progress);
26527    /**
26528     * Elm_Transit_Effect_End_Cb
26529     *
26530     * Transition callback called for this effect when the transition is over.
26531     */
26532    typedef void (*Elm_Transit_Effect_End_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit);
26533
26534    /**
26535     * Elm_Transit_Del_Cb
26536     *
26537     * A callback called when the transit is deleted.
26538     */
26539    typedef void (*Elm_Transit_Del_Cb) (void *data, Elm_Transit *transit);
26540
26541    /**
26542     * Add new transit.
26543     *
26544     * @note Is not necessary to delete the transit object, it will be deleted at
26545     * the end of its operation.
26546     * @note The transit will start playing when the program enter in the main loop, is not
26547     * necessary to give a start to the transit.
26548     *
26549     * @return The transit object.
26550     *
26551     * @ingroup Transit
26552     */
26553    EAPI Elm_Transit                *elm_transit_add(void);
26554
26555    /**
26556     * Stops the animation and delete the @p transit object.
26557     *
26558     * Call this function if you wants to stop the animation before the duration
26559     * time. Make sure the @p transit object is still alive with
26560     * elm_transit_del_cb_set() function.
26561     * All added effects will be deleted, calling its repective data_free_cb
26562     * functions. The function setted by elm_transit_del_cb_set() will be called.
26563     *
26564     * @see elm_transit_del_cb_set()
26565     *
26566     * @param transit The transit object to be deleted.
26567     *
26568     * @ingroup Transit
26569     * @warning Just call this function if you are sure the transit is alive.
26570     */
26571    EAPI void                        elm_transit_del(Elm_Transit *transit) EINA_ARG_NONNULL(1);
26572
26573    /**
26574     * Add a new effect to the transit.
26575     *
26576     * @note The cb function and the data are the key to the effect. If you try to
26577     * add an already added effect, nothing is done.
26578     * @note After the first addition of an effect in @p transit, if its
26579     * effect list become empty again, the @p transit will be killed by
26580     * elm_transit_del(transit) function.
26581     *
26582     * Exemple:
26583     * @code
26584     * Elm_Transit *transit = elm_transit_add();
26585     * elm_transit_effect_add(transit,
26586     *                        elm_transit_effect_blend_op,
26587     *                        elm_transit_effect_blend_context_new(),
26588     *                        elm_transit_effect_blend_context_free);
26589     * @endcode
26590     *
26591     * @param transit The transit object.
26592     * @param transition_cb The operation function. It is called when the
26593     * animation begins, it is the function that actually performs the animation.
26594     * It is called with the @p data, @p transit and the time progression of the
26595     * animation (a double value between 0.0 and 1.0).
26596     * @param effect The context data of the effect.
26597     * @param end_cb The function to free the context data, it will be called
26598     * at the end of the effect, it must finalize the animation and free the
26599     * @p data.
26600     *
26601     * @ingroup Transit
26602     * @warning The transit free the context data at the and of the transition with
26603     * the data_free_cb function, do not use the context data in another transit.
26604     */
26605    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);
26606
26607    /**
26608     * Delete an added effect.
26609     *
26610     * This function will remove the effect from the @p transit, calling the
26611     * data_free_cb to free the @p data.
26612     *
26613     * @see elm_transit_effect_add()
26614     *
26615     * @note If the effect is not found, nothing is done.
26616     * @note If the effect list become empty, this function will call
26617     * elm_transit_del(transit), that is, it will kill the @p transit.
26618     *
26619     * @param transit The transit object.
26620     * @param transition_cb The operation function.
26621     * @param effect The context data of the effect.
26622     *
26623     * @ingroup Transit
26624     */
26625    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);
26626
26627    /**
26628     * Add new object to apply the effects.
26629     *
26630     * @note After the first addition of an object in @p transit, if its
26631     * object list become empty again, the @p transit will be killed by
26632     * elm_transit_del(transit) function.
26633     * @note If the @p obj belongs to another transit, the @p obj will be
26634     * removed from it and it will only belong to the @p transit. If the old
26635     * transit stays without objects, it will die.
26636     * @note When you add an object into the @p transit, its state from
26637     * evas_object_pass_events_get(obj) is saved, and it is applied when the
26638     * transit ends, if you change this state whith evas_object_pass_events_set()
26639     * after add the object, this state will change again when @p transit stops to
26640     * run.
26641     *
26642     * @param transit The transit object.
26643     * @param obj Object to be animated.
26644     *
26645     * @ingroup Transit
26646     * @warning It is not allowed to add a new object after transit begins to go.
26647     */
26648    EAPI void                        elm_transit_object_add(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
26649
26650    /**
26651     * Removes an added object from the transit.
26652     *
26653     * @note If the @p obj is not in the @p transit, nothing is done.
26654     * @note If the list become empty, this function will call
26655     * elm_transit_del(transit), that is, it will kill the @p transit.
26656     *
26657     * @param transit The transit object.
26658     * @param obj Object to be removed from @p transit.
26659     *
26660     * @ingroup Transit
26661     * @warning It is not allowed to remove objects after transit begins to go.
26662     */
26663    EAPI void                        elm_transit_object_remove(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
26664
26665    /**
26666     * Get the objects of the transit.
26667     *
26668     * @param transit The transit object.
26669     * @return a Eina_List with the objects from the transit.
26670     *
26671     * @ingroup Transit
26672     */
26673    EAPI const Eina_List            *elm_transit_objects_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26674
26675    /**
26676     * Enable/disable keeping up the objects states.
26677     * If it is not kept, the objects states will be reset when transition ends.
26678     *
26679     * @note @p transit can not be NULL.
26680     * @note One state includes geometry, color, map data.
26681     *
26682     * @param transit The transit object.
26683     * @param state_keep Keeping or Non Keeping.
26684     *
26685     * @ingroup Transit
26686     */
26687    EAPI void                        elm_transit_objects_final_state_keep_set(Elm_Transit *transit, Eina_Bool state_keep) EINA_ARG_NONNULL(1);
26688
26689    /**
26690     * Get a value whether the objects states will be reset or not.
26691     *
26692     * @note @p transit can not be NULL
26693     *
26694     * @see elm_transit_objects_final_state_keep_set()
26695     *
26696     * @param transit The transit object.
26697     * @return EINA_TRUE means the states of the objects will be reset.
26698     * If @p transit is NULL, EINA_FALSE is returned
26699     *
26700     * @ingroup Transit
26701     */
26702    EAPI Eina_Bool                   elm_transit_objects_final_state_keep_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26703
26704    /**
26705     * Set the event enabled when transit is operating.
26706     *
26707     * If @p enabled is EINA_TRUE, the objects of the transit will receives
26708     * events from mouse and keyboard during the animation.
26709     * @note When you add an object with elm_transit_object_add(), its state from
26710     * evas_object_pass_events_get(obj) is saved, and it is applied when the
26711     * transit ends, if you change this state with evas_object_pass_events_set()
26712     * after adding the object, this state will change again when @p transit stops
26713     * to run.
26714     *
26715     * @param transit The transit object.
26716     * @param enabled Events are received when enabled is @c EINA_TRUE, and
26717     * ignored otherwise.
26718     *
26719     * @ingroup Transit
26720     */
26721    EAPI void                        elm_transit_event_enabled_set(Elm_Transit *transit, Eina_Bool enabled) EINA_ARG_NONNULL(1);
26722
26723    /**
26724     * Get the value of event enabled status.
26725     *
26726     * @see elm_transit_event_enabled_set()
26727     *
26728     * @param transit The Transit object
26729     * @return EINA_TRUE, when event is enabled. If @p transit is NULL
26730     * EINA_FALSE is returned
26731     *
26732     * @ingroup Transit
26733     */
26734    EAPI Eina_Bool                   elm_transit_event_enabled_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26735
26736    /**
26737     * Set the user-callback function when the transit is deleted.
26738     *
26739     * @note Using this function twice will overwrite the first function setted.
26740     * @note the @p transit object will be deleted after call @p cb function.
26741     *
26742     * @param transit The transit object.
26743     * @param cb Callback function pointer. This function will be called before
26744     * the deletion of the transit.
26745     * @param data Callback funtion user data. It is the @p op parameter.
26746     *
26747     * @ingroup Transit
26748     */
26749    EAPI void                        elm_transit_del_cb_set(Elm_Transit *transit, Elm_Transit_Del_Cb cb, void *data) EINA_ARG_NONNULL(1);
26750
26751    /**
26752     * Set reverse effect automatically.
26753     *
26754     * If auto reverse is setted, after running the effects with the progress
26755     * parameter from 0 to 1, it will call the effecs again with the progress
26756     * from 1 to 0. The transit will last for a time iqual to (2 * duration * repeat),
26757     * where the duration was setted with the function elm_transit_add and
26758     * the repeat with the function elm_transit_repeat_times_set().
26759     *
26760     * @param transit The transit object.
26761     * @param reverse EINA_TRUE means the auto_reverse is on.
26762     *
26763     * @ingroup Transit
26764     */
26765    EAPI void                        elm_transit_auto_reverse_set(Elm_Transit *transit, Eina_Bool reverse) EINA_ARG_NONNULL(1);
26766
26767    /**
26768     * Get if the auto reverse is on.
26769     *
26770     * @see elm_transit_auto_reverse_set()
26771     *
26772     * @param transit The transit object.
26773     * @return EINA_TRUE means auto reverse is on. If @p transit is NULL
26774     * EINA_FALSE is returned
26775     *
26776     * @ingroup Transit
26777     */
26778    EAPI Eina_Bool                   elm_transit_auto_reverse_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26779
26780    /**
26781     * Set the transit repeat count. Effect will be repeated by repeat count.
26782     *
26783     * This function sets the number of repetition the transit will run after
26784     * the first one, that is, if @p repeat is 1, the transit will run 2 times.
26785     * If the @p repeat is a negative number, it will repeat infinite times.
26786     *
26787     * @note If this function is called during the transit execution, the transit
26788     * will run @p repeat times, ignoring the times it already performed.
26789     *
26790     * @param transit The transit object
26791     * @param repeat Repeat count
26792     *
26793     * @ingroup Transit
26794     */
26795    EAPI void                        elm_transit_repeat_times_set(Elm_Transit *transit, int repeat) EINA_ARG_NONNULL(1);
26796
26797    /**
26798     * Get the transit repeat count.
26799     *
26800     * @see elm_transit_repeat_times_set()
26801     *
26802     * @param transit The Transit object.
26803     * @return The repeat count. If @p transit is NULL
26804     * 0 is returned
26805     *
26806     * @ingroup Transit
26807     */
26808    EAPI int                         elm_transit_repeat_times_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26809
26810    /**
26811     * Set the transit animation acceleration type.
26812     *
26813     * This function sets the tween mode of the transit that can be:
26814     * ELM_TRANSIT_TWEEN_MODE_LINEAR - The default mode.
26815     * ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL - Starts in accelerate mode and ends decelerating.
26816     * ELM_TRANSIT_TWEEN_MODE_DECELERATE - The animation will be slowed over time.
26817     * ELM_TRANSIT_TWEEN_MODE_ACCELERATE - The animation will accelerate over time.
26818     *
26819     * @param transit The transit object.
26820     * @param tween_mode The tween type.
26821     *
26822     * @ingroup Transit
26823     */
26824    EAPI void                        elm_transit_tween_mode_set(Elm_Transit *transit, Elm_Transit_Tween_Mode tween_mode) EINA_ARG_NONNULL(1);
26825
26826    /**
26827     * Get the transit animation acceleration type.
26828     *
26829     * @note @p transit can not be NULL
26830     *
26831     * @param transit The transit object.
26832     * @return The tween type. If @p transit is NULL
26833     * ELM_TRANSIT_TWEEN_MODE_LINEAR is returned.
26834     *
26835     * @ingroup Transit
26836     */
26837    EAPI Elm_Transit_Tween_Mode      elm_transit_tween_mode_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26838
26839    /**
26840     * Set the transit animation time
26841     *
26842     * @note @p transit can not be NULL
26843     *
26844     * @param transit The transit object.
26845     * @param duration The animation time.
26846     *
26847     * @ingroup Transit
26848     */
26849    EAPI void                        elm_transit_duration_set(Elm_Transit *transit, double duration) EINA_ARG_NONNULL(1);
26850
26851    /**
26852     * Get the transit animation time
26853     *
26854     * @note @p transit can not be NULL
26855     *
26856     * @param transit The transit object.
26857     *
26858     * @return The transit animation time.
26859     *
26860     * @ingroup Transit
26861     */
26862    EAPI double                      elm_transit_duration_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26863
26864    /**
26865     * Starts the transition.
26866     * Once this API is called, the transit begins to measure the time.
26867     *
26868     * @note @p transit can not be NULL
26869     *
26870     * @param transit The transit object.
26871     *
26872     * @ingroup Transit
26873     */
26874    EAPI void                        elm_transit_go(Elm_Transit *transit) EINA_ARG_NONNULL(1);
26875
26876    /**
26877     * Pause/Resume the transition.
26878     *
26879     * If you call elm_transit_go again, the transit will be started from the
26880     * beginning, and will be unpaused.
26881     *
26882     * @note @p transit can not be NULL
26883     *
26884     * @param transit The transit object.
26885     * @param paused Whether the transition should be paused or not.
26886     *
26887     * @ingroup Transit
26888     */
26889    EAPI void                        elm_transit_paused_set(Elm_Transit *transit, Eina_Bool paused) EINA_ARG_NONNULL(1);
26890
26891    /**
26892     * Get the value of paused status.
26893     *
26894     * @see elm_transit_paused_set()
26895     *
26896     * @note @p transit can not be NULL
26897     *
26898     * @param transit The transit object.
26899     * @return EINA_TRUE means transition is paused. If @p transit is NULL
26900     * EINA_FALSE is returned
26901     *
26902     * @ingroup Transit
26903     */
26904    EAPI Eina_Bool                   elm_transit_paused_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26905
26906    /**
26907     * Get the time progression of the animation (a double value between 0.0 and 1.0).
26908     *
26909     * The value returned is a fraction (current time / total time). It
26910     * represents the progression position relative to the total.
26911     *
26912     * @note @p transit can not be NULL
26913     *
26914     * @param transit The transit object.
26915     *
26916     * @return The time progression value. If @p transit is NULL
26917     * 0 is returned
26918     *
26919     * @ingroup Transit
26920     */
26921    EAPI double                      elm_transit_progress_value_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
26922
26923    /**
26924     * Makes the chain relationship between two transits.
26925     *
26926     * @note @p transit can not be NULL. Transit would have multiple chain transits.
26927     * @note @p chain_transit can not be NULL. Chain transits could be chained to the only one transit.
26928     *
26929     * @param transit The transit object.
26930     * @param chain_transit The chain transit object. This transit will be operated
26931     *        after transit is done.
26932     *
26933     * This function adds @p chain_transit transition to a chain after the @p
26934     * transit, and will be started as soon as @p transit ends. See @ref
26935     * transit_example_02_explained for a full example.
26936     *
26937     * @ingroup Transit
26938     */
26939    EAPI void                        elm_transit_chain_transit_add(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1, 2);
26940
26941    /**
26942     * Cut off the chain relationship between two transits.
26943     *
26944     * @note @p transit can not be NULL. Transit would have the chain relationship with @p chain transit.
26945     * @note @p chain_transit can not be NULL. Chain transits should be chained to the @p transit.
26946     *
26947     * @param transit The transit object.
26948     * @param chain_transit The chain transit object.
26949     *
26950     * This function remove the @p chain_transit transition from the @p transit.
26951     *
26952     * @ingroup Transit
26953     */
26954    EAPI void                        elm_transit_chain_transit_del(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1,2);
26955
26956    /**
26957     * Get the current chain transit list.
26958     *
26959     * @note @p transit can not be NULL.
26960     *
26961     * @param transit The transit object.
26962     * @return chain transit list.
26963     *
26964     * @ingroup Transit
26965     */
26966    EAPI Eina_List                  *elm_transit_chain_transits_get(const Elm_Transit *transit);
26967
26968    /**
26969     * Add the Resizing Effect to Elm_Transit.
26970     *
26971     * @note This API is one of the facades. It creates resizing effect context
26972     * and add it's required APIs to elm_transit_effect_add.
26973     *
26974     * @see elm_transit_effect_add()
26975     *
26976     * @param transit Transit object.
26977     * @param from_w Object width size when effect begins.
26978     * @param from_h Object height size when effect begins.
26979     * @param to_w Object width size when effect ends.
26980     * @param to_h Object height size when effect ends.
26981     * @return Resizing effect context data.
26982     *
26983     * @ingroup Transit
26984     */
26985    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);
26986
26987    /**
26988     * Add the Translation Effect to Elm_Transit.
26989     *
26990     * @note This API is one of the facades. It creates translation effect context
26991     * and add it's required APIs to elm_transit_effect_add.
26992     *
26993     * @see elm_transit_effect_add()
26994     *
26995     * @param transit Transit object.
26996     * @param from_dx X Position variation when effect begins.
26997     * @param from_dy Y Position variation when effect begins.
26998     * @param to_dx X Position variation when effect ends.
26999     * @param to_dy Y Position variation when effect ends.
27000     * @return Translation effect context data.
27001     *
27002     * @ingroup Transit
27003     * @warning It is highly recommended just create a transit with this effect when
27004     * the window that the objects of the transit belongs has already been created.
27005     * This is because this effect needs the geometry information about the objects,
27006     * and if the window was not created yet, it can get a wrong information.
27007     */
27008    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);
27009
27010    /**
27011     * Add the Zoom Effect to Elm_Transit.
27012     *
27013     * @note This API is one of the facades. It creates zoom effect context
27014     * and add it's required APIs to elm_transit_effect_add.
27015     *
27016     * @see elm_transit_effect_add()
27017     *
27018     * @param transit Transit object.
27019     * @param from_rate Scale rate when effect begins (1 is current rate).
27020     * @param to_rate Scale rate when effect ends.
27021     * @return Zoom effect context data.
27022     *
27023     * @ingroup Transit
27024     * @warning It is highly recommended just create a transit with this effect when
27025     * the window that the objects of the transit belongs has already been created.
27026     * This is because this effect needs the geometry information about the objects,
27027     * and if the window was not created yet, it can get a wrong information.
27028     */
27029    EAPI Elm_Transit_Effect *elm_transit_effect_zoom_add(Elm_Transit *transit, float from_rate, float to_rate);
27030
27031    /**
27032     * Add the Flip Effect to Elm_Transit.
27033     *
27034     * @note This API is one of the facades. It creates flip effect context
27035     * and add it's required APIs to elm_transit_effect_add.
27036     * @note This effect is applied to each pair of objects in the order they are listed
27037     * in the transit list of objects. The first object in the pair will be the
27038     * "front" object and the second will be the "back" object.
27039     *
27040     * @see elm_transit_effect_add()
27041     *
27042     * @param transit Transit object.
27043     * @param axis Flipping Axis(X or Y).
27044     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
27045     * @return Flip effect context data.
27046     *
27047     * @ingroup Transit
27048     * @warning It is highly recommended just create a transit with this effect when
27049     * the window that the objects of the transit belongs has already been created.
27050     * This is because this effect needs the geometry information about the objects,
27051     * and if the window was not created yet, it can get a wrong information.
27052     */
27053    EAPI Elm_Transit_Effect *elm_transit_effect_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
27054
27055    /**
27056     * Add the Resizable Flip Effect to Elm_Transit.
27057     *
27058     * @note This API is one of the facades. It creates resizable flip effect context
27059     * and add it's required APIs to elm_transit_effect_add.
27060     * @note This effect is applied to each pair of objects in the order they are listed
27061     * in the transit list of objects. The first object in the pair will be the
27062     * "front" object and the second will be the "back" object.
27063     *
27064     * @see elm_transit_effect_add()
27065     *
27066     * @param transit Transit object.
27067     * @param axis Flipping Axis(X or Y).
27068     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
27069     * @return Resizable flip effect context data.
27070     *
27071     * @ingroup Transit
27072     * @warning It is highly recommended just create a transit with this effect when
27073     * the window that the objects of the transit belongs has already been created.
27074     * This is because this effect needs the geometry information about the objects,
27075     * and if the window was not created yet, it can get a wrong information.
27076     */
27077    EAPI Elm_Transit_Effect *elm_transit_effect_resizable_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
27078
27079    /**
27080     * Add the Wipe Effect to Elm_Transit.
27081     *
27082     * @note This API is one of the facades. It creates wipe effect context
27083     * and add it's required APIs to elm_transit_effect_add.
27084     *
27085     * @see elm_transit_effect_add()
27086     *
27087     * @param transit Transit object.
27088     * @param type Wipe type. Hide or show.
27089     * @param dir Wipe Direction.
27090     * @return Wipe effect context data.
27091     *
27092     * @ingroup Transit
27093     * @warning It is highly recommended just create a transit with this effect when
27094     * the window that the objects of the transit belongs has already been created.
27095     * This is because this effect needs the geometry information about the objects,
27096     * and if the window was not created yet, it can get a wrong information.
27097     */
27098    EAPI Elm_Transit_Effect *elm_transit_effect_wipe_add(Elm_Transit *transit, Elm_Transit_Effect_Wipe_Type type, Elm_Transit_Effect_Wipe_Dir dir);
27099
27100    /**
27101     * Add the Color Effect to Elm_Transit.
27102     *
27103     * @note This API is one of the facades. It creates color effect context
27104     * and add it's required APIs to elm_transit_effect_add.
27105     *
27106     * @see elm_transit_effect_add()
27107     *
27108     * @param transit        Transit object.
27109     * @param  from_r        RGB R when effect begins.
27110     * @param  from_g        RGB G when effect begins.
27111     * @param  from_b        RGB B when effect begins.
27112     * @param  from_a        RGB A when effect begins.
27113     * @param  to_r          RGB R when effect ends.
27114     * @param  to_g          RGB G when effect ends.
27115     * @param  to_b          RGB B when effect ends.
27116     * @param  to_a          RGB A when effect ends.
27117     * @return               Color effect context data.
27118     *
27119     * @ingroup Transit
27120     */
27121    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);
27122
27123    /**
27124     * Add the Fade Effect to Elm_Transit.
27125     *
27126     * @note This API is one of the facades. It creates fade effect context
27127     * and add it's required APIs to elm_transit_effect_add.
27128     * @note This effect is applied to each pair of objects in the order they are listed
27129     * in the transit list of objects. The first object in the pair will be the
27130     * "before" object and the second will be the "after" object.
27131     *
27132     * @see elm_transit_effect_add()
27133     *
27134     * @param transit Transit object.
27135     * @return Fade effect context data.
27136     *
27137     * @ingroup Transit
27138     * @warning It is highly recommended just create a transit with this effect when
27139     * the window that the objects of the transit belongs has already been created.
27140     * This is because this effect needs the color information about the objects,
27141     * and if the window was not created yet, it can get a wrong information.
27142     */
27143    EAPI Elm_Transit_Effect *elm_transit_effect_fade_add(Elm_Transit *transit);
27144
27145    /**
27146     * Add the Blend Effect to Elm_Transit.
27147     *
27148     * @note This API is one of the facades. It creates blend effect context
27149     * and add it's required APIs to elm_transit_effect_add.
27150     * @note This effect is applied to each pair of objects in the order they are listed
27151     * in the transit list of objects. The first object in the pair will be the
27152     * "before" object and the second will be the "after" object.
27153     *
27154     * @see elm_transit_effect_add()
27155     *
27156     * @param transit Transit object.
27157     * @return Blend effect context data.
27158     *
27159     * @ingroup Transit
27160     * @warning It is highly recommended just create a transit with this effect when
27161     * the window that the objects of the transit belongs has already been created.
27162     * This is because this effect needs the color information about the objects,
27163     * and if the window was not created yet, it can get a wrong information.
27164     */
27165    EAPI Elm_Transit_Effect *elm_transit_effect_blend_add(Elm_Transit *transit);
27166
27167    /**
27168     * Add the Rotation Effect to Elm_Transit.
27169     *
27170     * @note This API is one of the facades. It creates rotation effect context
27171     * and add it's required APIs to elm_transit_effect_add.
27172     *
27173     * @see elm_transit_effect_add()
27174     *
27175     * @param transit Transit object.
27176     * @param from_degree Degree when effect begins.
27177     * @param to_degree Degree when effect is ends.
27178     * @return Rotation effect context data.
27179     *
27180     * @ingroup Transit
27181     * @warning It is highly recommended just create a transit with this effect when
27182     * the window that the objects of the transit belongs has already been created.
27183     * This is because this effect needs the geometry information about the objects,
27184     * and if the window was not created yet, it can get a wrong information.
27185     */
27186    EAPI Elm_Transit_Effect *elm_transit_effect_rotation_add(Elm_Transit *transit, float from_degree, float to_degree);
27187
27188    /**
27189     * Add the ImageAnimation Effect to Elm_Transit.
27190     *
27191     * @note This API is one of the facades. It creates image animation effect context
27192     * and add it's required APIs to elm_transit_effect_add.
27193     * The @p images parameter is a list images paths. This list and
27194     * its contents will be deleted at the end of the effect by
27195     * elm_transit_effect_image_animation_context_free() function.
27196     *
27197     * Example:
27198     * @code
27199     * char buf[PATH_MAX];
27200     * Eina_List *images = NULL;
27201     * Elm_Transit *transi = elm_transit_add();
27202     *
27203     * snprintf(buf, sizeof(buf), "%s/images/icon_11.png", PACKAGE_DATA_DIR);
27204     * images = eina_list_append(images, eina_stringshare_add(buf));
27205     *
27206     * snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
27207     * images = eina_list_append(images, eina_stringshare_add(buf));
27208     * elm_transit_effect_image_animation_add(transi, images);
27209     *
27210     * @endcode
27211     *
27212     * @see elm_transit_effect_add()
27213     *
27214     * @param transit Transit object.
27215     * @param images Eina_List of images file paths. This list and
27216     * its contents will be deleted at the end of the effect by
27217     * elm_transit_effect_image_animation_context_free() function.
27218     * @return Image Animation effect context data.
27219     *
27220     * @ingroup Transit
27221     */
27222    EAPI Elm_Transit_Effect *elm_transit_effect_image_animation_add(Elm_Transit *transit, Eina_List *images);
27223    /**
27224     * @}
27225     */
27226
27227    typedef struct _Elm_Store                      Elm_Store;
27228    typedef struct _Elm_Store_Filesystem           Elm_Store_Filesystem;
27229    typedef struct _Elm_Store_Item                 Elm_Store_Item;
27230    typedef struct _Elm_Store_Item_Filesystem      Elm_Store_Item_Filesystem;
27231    typedef struct _Elm_Store_Item_Info            Elm_Store_Item_Info;
27232    typedef struct _Elm_Store_Item_Info_Filesystem Elm_Store_Item_Info_Filesystem;
27233    typedef struct _Elm_Store_Item_Mapping         Elm_Store_Item_Mapping;
27234    typedef struct _Elm_Store_Item_Mapping_Empty   Elm_Store_Item_Mapping_Empty;
27235    typedef struct _Elm_Store_Item_Mapping_Icon    Elm_Store_Item_Mapping_Icon;
27236    typedef struct _Elm_Store_Item_Mapping_Photo   Elm_Store_Item_Mapping_Photo;
27237    typedef struct _Elm_Store_Item_Mapping_Custom  Elm_Store_Item_Mapping_Custom;
27238
27239    typedef Eina_Bool (*Elm_Store_Item_List_Cb) (void *data, Elm_Store_Item_Info *info);
27240    typedef void      (*Elm_Store_Item_Fetch_Cb) (void *data, Elm_Store_Item *sti);
27241    typedef void      (*Elm_Store_Item_Unfetch_Cb) (void *data, Elm_Store_Item *sti);
27242    typedef void     *(*Elm_Store_Item_Mapping_Cb) (void *data, Elm_Store_Item *sti, const char *part);
27243
27244    typedef enum
27245      {
27246         ELM_STORE_ITEM_MAPPING_NONE = 0,
27247         ELM_STORE_ITEM_MAPPING_LABEL, // const char * -> label
27248         ELM_STORE_ITEM_MAPPING_STATE, // Eina_Bool -> state
27249         ELM_STORE_ITEM_MAPPING_ICON, // char * -> icon path
27250         ELM_STORE_ITEM_MAPPING_PHOTO, // char * -> photo path
27251         ELM_STORE_ITEM_MAPPING_CUSTOM, // item->custom(it->data, it, part) -> void * (-> any)
27252         // can add more here as needed by common apps
27253         ELM_STORE_ITEM_MAPPING_LAST
27254      } Elm_Store_Item_Mapping_Type;
27255
27256    struct _Elm_Store_Item_Mapping_Icon
27257      {
27258         // FIXME: allow edje file icons
27259         int                   w, h;
27260         Elm_Icon_Lookup_Order lookup_order;
27261         Eina_Bool             standard_name : 1;
27262         Eina_Bool             no_scale : 1;
27263         Eina_Bool             smooth : 1;
27264         Eina_Bool             scale_up : 1;
27265         Eina_Bool             scale_down : 1;
27266      };
27267
27268    struct _Elm_Store_Item_Mapping_Empty
27269      {
27270         Eina_Bool             dummy;
27271      };
27272
27273    struct _Elm_Store_Item_Mapping_Photo
27274      {
27275         int                   size;
27276      };
27277
27278    struct _Elm_Store_Item_Mapping_Custom
27279      {
27280         Elm_Store_Item_Mapping_Cb func;
27281      };
27282
27283    struct _Elm_Store_Item_Mapping
27284      {
27285         Elm_Store_Item_Mapping_Type     type;
27286         const char                     *part;
27287         int                             offset;
27288         union
27289           {
27290              Elm_Store_Item_Mapping_Empty  empty;
27291              Elm_Store_Item_Mapping_Icon   icon;
27292              Elm_Store_Item_Mapping_Photo  photo;
27293              Elm_Store_Item_Mapping_Custom custom;
27294              // add more types here
27295           } details;
27296      };
27297
27298    struct _Elm_Store_Item_Info
27299      {
27300         Elm_Genlist_Item_Class       *item_class;
27301         const Elm_Store_Item_Mapping *mapping;
27302         void                         *data;
27303         char                         *sort_id;
27304      };
27305
27306    struct _Elm_Store_Item_Info_Filesystem
27307      {
27308         Elm_Store_Item_Info  base;
27309         char                *path;
27310      };
27311
27312 #define ELM_STORE_ITEM_MAPPING_END { ELM_STORE_ITEM_MAPPING_NONE, NULL, 0, { .empty = { EINA_TRUE } } }
27313 #define ELM_STORE_ITEM_MAPPING_OFFSET(st, it) offsetof(st, it)
27314
27315    EAPI void                    elm_store_free(Elm_Store *st);
27316
27317    EAPI Elm_Store              *elm_store_filesystem_new(void);
27318    EAPI void                    elm_store_filesystem_directory_set(Elm_Store *st, const char *dir) EINA_ARG_NONNULL(1);
27319    EAPI const char             *elm_store_filesystem_directory_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27320    EAPI const char             *elm_store_item_filesystem_path_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27321
27322    EAPI void                    elm_store_target_genlist_set(Elm_Store *st, Evas_Object *obj) EINA_ARG_NONNULL(1);
27323
27324    EAPI void                    elm_store_cache_set(Elm_Store *st, int max) EINA_ARG_NONNULL(1);
27325    EAPI int                     elm_store_cache_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27326    EAPI void                    elm_store_list_func_set(Elm_Store *st, Elm_Store_Item_List_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
27327    EAPI void                    elm_store_fetch_func_set(Elm_Store *st, Elm_Store_Item_Fetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
27328    EAPI void                    elm_store_fetch_thread_set(Elm_Store *st, Eina_Bool use_thread) EINA_ARG_NONNULL(1);
27329    EAPI Eina_Bool               elm_store_fetch_thread_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27330
27331    EAPI void                    elm_store_unfetch_func_set(Elm_Store *st, Elm_Store_Item_Unfetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
27332    EAPI void                    elm_store_sorted_set(Elm_Store *st, Eina_Bool sorted) EINA_ARG_NONNULL(1);
27333    EAPI Eina_Bool               elm_store_sorted_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27334    EAPI void                    elm_store_item_data_set(Elm_Store_Item *sti, void *data) EINA_ARG_NONNULL(1);
27335    EAPI void                   *elm_store_item_data_get(Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27336    EAPI const Elm_Store        *elm_store_item_store_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27337    EAPI const Elm_Genlist_Item *elm_store_item_genlist_item_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27338
27339    /**
27340     * @defgroup SegmentControl SegmentControl
27341     * @ingroup Elementary
27342     *
27343     * @image html img/widget/segment_control/preview-00.png
27344     * @image latex img/widget/segment_control/preview-00.eps width=\textwidth
27345     *
27346     * @image html img/segment_control.png
27347     * @image latex img/segment_control.eps width=\textwidth
27348     *
27349     * Segment control widget is a horizontal control made of multiple segment
27350     * items, each segment item functioning similar to discrete two state button.
27351     * A segment control groups the items together and provides compact
27352     * single button with multiple equal size segments.
27353     *
27354     * Segment item size is determined by base widget
27355     * size and the number of items added.
27356     * Only one segment item can be at selected state. A segment item can display
27357     * combination of Text and any Evas_Object like Images or other widget.
27358     *
27359     * Smart callbacks one can listen to:
27360     * - "changed" - When the user clicks on a segment item which is not
27361     *   previously selected and get selected. The event_info parameter is the
27362     *   segment item index.
27363     *
27364     * Available styles for it:
27365     * - @c "default"
27366     *
27367     * Here is an example on its usage:
27368     * @li @ref segment_control_example
27369     */
27370
27371    /**
27372     * @addtogroup SegmentControl
27373     * @{
27374     */
27375
27376    typedef struct _Elm_Segment_Item Elm_Segment_Item; /**< Item handle for a segment control widget. */
27377
27378    /**
27379     * Add a new segment control widget to the given parent Elementary
27380     * (container) object.
27381     *
27382     * @param parent The parent object.
27383     * @return a new segment control widget handle or @c NULL, on errors.
27384     *
27385     * This function inserts a new segment control widget on the canvas.
27386     *
27387     * @ingroup SegmentControl
27388     */
27389    EAPI Evas_Object      *elm_segment_control_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
27390
27391    /**
27392     * Append a new item to the segment control object.
27393     *
27394     * @param obj The segment control object.
27395     * @param icon The icon object to use for the left side of the item. An
27396     * icon can be any Evas object, but usually it is an icon created
27397     * with elm_icon_add().
27398     * @param label The label of the item.
27399     *        Note that, NULL is different from empty string "".
27400     * @return The created item or @c NULL upon failure.
27401     *
27402     * A new item will be created and appended to the segment control, i.e., will
27403     * be set as @b last item.
27404     *
27405     * If it should be inserted at another position,
27406     * elm_segment_control_item_insert_at() should be used instead.
27407     *
27408     * Items created with this function can be deleted with function
27409     * elm_segment_control_item_del() or elm_segment_control_item_del_at().
27410     *
27411     * @note @p label set to @c NULL is different from empty string "".
27412     * If an item
27413     * only has icon, it will be displayed bigger and centered. If it has
27414     * icon and label, even that an empty string, icon will be smaller and
27415     * positioned at left.
27416     *
27417     * Simple example:
27418     * @code
27419     * sc = elm_segment_control_add(win);
27420     * ic = elm_icon_add(win);
27421     * elm_icon_file_set(ic, "path/to/image", NULL);
27422     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
27423     * elm_segment_control_item_add(sc, ic, "label");
27424     * evas_object_show(sc);
27425     * @endcode
27426     *
27427     * @see elm_segment_control_item_insert_at()
27428     * @see elm_segment_control_item_del()
27429     *
27430     * @ingroup SegmentControl
27431     */
27432    EAPI Elm_Segment_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const char *label) EINA_ARG_NONNULL(1);
27433
27434    /**
27435     * Insert a new item to the segment control object at specified position.
27436     *
27437     * @param obj The segment control object.
27438     * @param icon The icon object to use for the left side of the item. An
27439     * icon can be any Evas object, but usually it is an icon created
27440     * with elm_icon_add().
27441     * @param label The label of the item.
27442     * @param index Item position. Value should be between 0 and items count.
27443     * @return The created item or @c NULL upon failure.
27444
27445     * Index values must be between @c 0, when item will be prepended to
27446     * segment control, and items count, that can be get with
27447     * elm_segment_control_item_count_get(), case when item will be appended
27448     * to segment control, just like elm_segment_control_item_add().
27449     *
27450     * Items created with this function can be deleted with function
27451     * elm_segment_control_item_del() or elm_segment_control_item_del_at().
27452     *
27453     * @note @p label set to @c NULL is different from empty string "".
27454     * If an item
27455     * only has icon, it will be displayed bigger and centered. If it has
27456     * icon and label, even that an empty string, icon will be smaller and
27457     * positioned at left.
27458     *
27459     * @see elm_segment_control_item_add()
27460     * @see elm_segment_control_item_count_get()
27461     * @see elm_segment_control_item_del()
27462     *
27463     * @ingroup SegmentControl
27464     */
27465    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);
27466
27467    /**
27468     * Remove a segment control item from its parent, deleting it.
27469     *
27470     * @param it The item to be removed.
27471     *
27472     * Items can be added with elm_segment_control_item_add() or
27473     * elm_segment_control_item_insert_at().
27474     *
27475     * @ingroup SegmentControl
27476     */
27477    EAPI void              elm_segment_control_item_del(Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
27478
27479    /**
27480     * Remove a segment control item at given index from its parent,
27481     * deleting it.
27482     *
27483     * @param obj The segment control object.
27484     * @param index The position of the segment control item to be deleted.
27485     *
27486     * Items can be added with elm_segment_control_item_add() or
27487     * elm_segment_control_item_insert_at().
27488     *
27489     * @ingroup SegmentControl
27490     */
27491    EAPI void              elm_segment_control_item_del_at(Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
27492
27493    /**
27494     * Get the Segment items count from segment control.
27495     *
27496     * @param obj The segment control object.
27497     * @return Segment items count.
27498     *
27499     * It will just return the number of items added to segment control @p obj.
27500     *
27501     * @ingroup SegmentControl
27502     */
27503    EAPI int               elm_segment_control_item_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27504
27505    /**
27506     * Get the item placed at specified index.
27507     *
27508     * @param obj The segment control object.
27509     * @param index The index of the segment item.
27510     * @return The segment control item or @c NULL on failure.
27511     *
27512     * Index is the position of an item in segment control widget. Its
27513     * range is from @c 0 to <tt> count - 1 </tt>.
27514     * Count is the number of items, that can be get with
27515     * elm_segment_control_item_count_get().
27516     *
27517     * @ingroup SegmentControl
27518     */
27519    EAPI Elm_Segment_Item *elm_segment_control_item_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
27520
27521    /**
27522     * Get the label of item.
27523     *
27524     * @param obj The segment control object.
27525     * @param index The index of the segment item.
27526     * @return The label of the item at @p index.
27527     *
27528     * The return value is a pointer to the label associated to the item when
27529     * it was created, with function elm_segment_control_item_add(), or later
27530     * with function elm_segment_control_item_label_set. If no label
27531     * was passed as argument, it will return @c NULL.
27532     *
27533     * @see elm_segment_control_item_label_set() for more details.
27534     * @see elm_segment_control_item_add()
27535     *
27536     * @ingroup SegmentControl
27537     */
27538    EAPI const char       *elm_segment_control_item_label_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
27539
27540    /**
27541     * Set the label of item.
27542     *
27543     * @param it The item of segment control.
27544     * @param text The label of item.
27545     *
27546     * The label to be displayed by the item.
27547     * Label will be at right of the icon (if set).
27548     *
27549     * If a label was passed as argument on item creation, with function
27550     * elm_control_segment_item_add(), it will be already
27551     * displayed by the item.
27552     *
27553     * @see elm_segment_control_item_label_get()
27554     * @see elm_segment_control_item_add()
27555     *
27556     * @ingroup SegmentControl
27557     */
27558    EAPI void              elm_segment_control_item_label_set(Elm_Segment_Item* it, const char* label) EINA_ARG_NONNULL(1);
27559
27560    /**
27561     * Get the icon associated to the item.
27562     *
27563     * @param obj The segment control object.
27564     * @param index The index of the segment item.
27565     * @return The left side icon associated to the item at @p index.
27566     *
27567     * The return value is a pointer to the icon associated to the item when
27568     * it was created, with function elm_segment_control_item_add(), or later
27569     * with function elm_segment_control_item_icon_set(). If no icon
27570     * was passed as argument, it will return @c NULL.
27571     *
27572     * @see elm_segment_control_item_add()
27573     * @see elm_segment_control_item_icon_set()
27574     *
27575     * @ingroup SegmentControl
27576     */
27577    EAPI Evas_Object      *elm_segment_control_item_icon_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
27578
27579    /**
27580     * Set the icon associated to the item.
27581     *
27582     * @param it The segment control item.
27583     * @param icon The icon object to associate with @p it.
27584     *
27585     * The icon object to use at left side of the item. An
27586     * icon can be any Evas object, but usually it is an icon created
27587     * with elm_icon_add().
27588     *
27589     * Once the icon object is set, a previously set one will be deleted.
27590     * @warning Setting the same icon for two items will cause the icon to
27591     * dissapear from the first item.
27592     *
27593     * If an icon was passed as argument on item creation, with function
27594     * elm_segment_control_item_add(), it will be already
27595     * associated to the item.
27596     *
27597     * @see elm_segment_control_item_add()
27598     * @see elm_segment_control_item_icon_get()
27599     *
27600     * @ingroup SegmentControl
27601     */
27602    EAPI void              elm_segment_control_item_icon_set(Elm_Segment_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
27603
27604    /**
27605     * Get the index of an item.
27606     *
27607     * @param it The segment control item.
27608     * @return The position of item in segment control widget.
27609     *
27610     * Index is the position of an item in segment control widget. Its
27611     * range is from @c 0 to <tt> count - 1 </tt>.
27612     * Count is the number of items, that can be get with
27613     * elm_segment_control_item_count_get().
27614     *
27615     * @ingroup SegmentControl
27616     */
27617    EAPI int               elm_segment_control_item_index_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
27618
27619    /**
27620     * Get the base object of the item.
27621     *
27622     * @param it The segment control item.
27623     * @return The base object associated with @p it.
27624     *
27625     * Base object is the @c Evas_Object that represents that item.
27626     *
27627     * @ingroup SegmentControl
27628     */
27629    EAPI Evas_Object      *elm_segment_control_item_object_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
27630
27631    /**
27632     * Get the selected item.
27633     *
27634     * @param obj The segment control object.
27635     * @return The selected item or @c NULL if none of segment items is
27636     * selected.
27637     *
27638     * The selected item can be unselected with function
27639     * elm_segment_control_item_selected_set().
27640     *
27641     * The selected item always will be highlighted on segment control.
27642     *
27643     * @ingroup SegmentControl
27644     */
27645    EAPI Elm_Segment_Item *elm_segment_control_item_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27646
27647    /**
27648     * Set the selected state of an item.
27649     *
27650     * @param it The segment control item
27651     * @param select The selected state
27652     *
27653     * This sets the selected state of the given item @p it.
27654     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
27655     *
27656     * If a new item is selected the previosly selected will be unselected.
27657     * Previoulsy selected item can be get with function
27658     * elm_segment_control_item_selected_get().
27659     *
27660     * The selected item always will be highlighted on segment control.
27661     *
27662     * @see elm_segment_control_item_selected_get()
27663     *
27664     * @ingroup SegmentControl
27665     */
27666    EAPI void              elm_segment_control_item_selected_set(Elm_Segment_Item *it, Eina_Bool select) EINA_ARG_NONNULL(1);
27667
27668    /**
27669     * @}
27670     */
27671
27672    /**
27673     * @defgroup Grid Grid
27674     *
27675     * The grid is a grid layout widget that lays out a series of children as a
27676     * fixed "grid" of widgets using a given percentage of the grid width and
27677     * height each using the child object.
27678     *
27679     * The Grid uses a "Virtual resolution" that is stretched to fill the grid
27680     * widgets size itself. The default is 100 x 100, so that means the
27681     * position and sizes of children will effectively be percentages (0 to 100)
27682     * of the width or height of the grid widget
27683     *
27684     * @{
27685     */
27686
27687    /**
27688     * Add a new grid to the parent
27689     *
27690     * @param parent The parent object
27691     * @return The new object or NULL if it cannot be created
27692     *
27693     * @ingroup Grid
27694     */
27695    EAPI Evas_Object *elm_grid_add(Evas_Object *parent);
27696
27697    /**
27698     * Set the virtual size of the grid
27699     *
27700     * @param obj The grid object
27701     * @param w The virtual width of the grid
27702     * @param h The virtual height of the grid
27703     *
27704     * @ingroup Grid
27705     */
27706    EAPI void         elm_grid_size_set(Evas_Object *obj, int w, int h);
27707
27708    /**
27709     * Get the virtual size of the grid
27710     *
27711     * @param obj The grid object
27712     * @param w Pointer to integer to store the virtual width of the grid
27713     * @param h Pointer to integer to store the virtual height of the grid
27714     *
27715     * @ingroup Grid
27716     */
27717    EAPI void         elm_grid_size_get(Evas_Object *obj, int *w, int *h);
27718
27719    /**
27720     * Pack child at given position and size
27721     *
27722     * @param obj The grid object
27723     * @param subobj The child to pack
27724     * @param x The virtual x coord at which to pack it
27725     * @param y The virtual y coord at which to pack it
27726     * @param w The virtual width at which to pack it
27727     * @param h The virtual height at which to pack it
27728     *
27729     * @ingroup Grid
27730     */
27731    EAPI void         elm_grid_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h);
27732
27733    /**
27734     * Unpack a child from a grid object
27735     *
27736     * @param obj The grid object
27737     * @param subobj The child to unpack
27738     *
27739     * @ingroup Grid
27740     */
27741    EAPI void         elm_grid_unpack(Evas_Object *obj, Evas_Object *subobj);
27742
27743    /**
27744     * Faster way to remove all child objects from a grid object.
27745     *
27746     * @param obj The grid object
27747     * @param clear If true, it will delete just removed children
27748     *
27749     * @ingroup Grid
27750     */
27751    EAPI void         elm_grid_clear(Evas_Object *obj, Eina_Bool clear);
27752
27753    /**
27754     * Set packing of an existing child at to position and size
27755     *
27756     * @param subobj The child to set packing of
27757     * @param x The virtual x coord at which to pack it
27758     * @param y The virtual y coord at which to pack it
27759     * @param w The virtual width at which to pack it
27760     * @param h The virtual height at which to pack it
27761     *
27762     * @ingroup Grid
27763     */
27764    EAPI void         elm_grid_pack_set(Evas_Object *subobj, int x, int y, int w, int h);
27765
27766    /**
27767     * get packing of a child
27768     *
27769     * @param subobj The child to query
27770     * @param x Pointer to integer to store the virtual x coord
27771     * @param y Pointer to integer to store the virtual y coord
27772     * @param w Pointer to integer to store the virtual width
27773     * @param h Pointer to integer to store the virtual height
27774     *
27775     * @ingroup Grid
27776     */
27777    EAPI void         elm_grid_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h);
27778
27779    /**
27780     * @}
27781     */
27782
27783    EAPI Evas_Object *elm_factory_add(Evas_Object *parent);
27784    EAPI void         elm_factory_content_set(Evas_Object *obj, Evas_Object *content);
27785    EAPI Evas_Object *elm_factory_content_get(const Evas_Object *obj);
27786    EAPI void         elm_factory_maxmin_mode_set(Evas_Object *obj, Eina_Bool enabled);
27787    EAPI Eina_Bool    elm_factory_maxmin_mode_get(const Evas_Object *obj);
27788    EAPI void         elm_factory_maxmin_reset_set(Evas_Object *obj);
27789
27790    /**
27791     * @defgroup Video Video
27792     *
27793     * @addtogroup Video
27794     * @{
27795     *
27796     * Elementary comes with two object that help design application that need
27797     * to display video. The main one, Elm_Video, display a video by using Emotion.
27798     * It does embedded the video inside an Edje object, so you can do some
27799     * animation depending on the video state change. It does also implement a
27800     * ressource management policy to remove this burden from the application writer.
27801     *
27802     * The second one, Elm_Player is a video player that need to be linked with and Elm_Video.
27803     * It take care of updating its content according to Emotion event and provide a
27804     * way to theme itself. It also does automatically raise the priority of the
27805     * linked Elm_Video so it will use the video decoder if available. It also does
27806     * activate the remember function on the linked Elm_Video object.
27807     *
27808     * Signals that you can add callback for are :
27809     *
27810     * "forward,clicked" - the user clicked the forward button.
27811     * "info,clicked" - the user clicked the info button.
27812     * "next,clicked" - the user clicked the next button.
27813     * "pause,clicked" - the user clicked the pause button.
27814     * "play,clicked" - the user clicked the play button.
27815     * "prev,clicked" - the user clicked the prev button.
27816     * "rewind,clicked" - the user clicked the rewind button.
27817     * "stop,clicked" - the user clicked the stop button.
27818     */
27819
27820    /**
27821     * @brief Add a new Elm_Player object to the given parent Elementary (container) object.
27822     *
27823     * @param parent The parent object
27824     * @return a new player widget handle or @c NULL, on errors.
27825     *
27826     * This function inserts a new player widget on the canvas.
27827     *
27828     * @see elm_player_video_set()
27829     *
27830     * @ingroup Video
27831     */
27832    EAPI Evas_Object *elm_player_add(Evas_Object *parent);
27833
27834    /**
27835     * @brief Link a Elm_Payer with an Elm_Video object.
27836     *
27837     * @param player the Elm_Player object.
27838     * @param video The Elm_Video object.
27839     *
27840     * This mean that action on the player widget will affect the
27841     * video object and the state of the video will be reflected in
27842     * the player itself.
27843     *
27844     * @see elm_player_add()
27845     * @see elm_video_add()
27846     *
27847     * @ingroup Video
27848     */
27849    EAPI void elm_player_video_set(Evas_Object *player, Evas_Object *video);
27850
27851    /**
27852     * @brief Add a new Elm_Video object to the given parent Elementary (container) object.
27853     *
27854     * @param parent The parent object
27855     * @return a new video widget handle or @c NULL, on errors.
27856     *
27857     * This function inserts a new video widget on the canvas.
27858     *
27859     * @seeelm_video_file_set()
27860     * @see elm_video_uri_set()
27861     *
27862     * @ingroup Video
27863     */
27864    EAPI Evas_Object *elm_video_add(Evas_Object *parent);
27865
27866    /**
27867     * @brief Define the file that will be the video source.
27868     *
27869     * @param video The video object to define the file for.
27870     * @param filename The file to target.
27871     *
27872     * This function will explicitly define a filename as a source
27873     * for the video of the Elm_Video object.
27874     *
27875     * @see elm_video_uri_set()
27876     * @see elm_video_add()
27877     * @see elm_player_add()
27878     *
27879     * @ingroup Video
27880     */
27881    EAPI void elm_video_file_set(Evas_Object *video, const char *filename);
27882
27883    /**
27884     * @brief Define the uri that will be the video source.
27885     *
27886     * @param video The video object to define the file for.
27887     * @param uri The uri to target.
27888     *
27889     * This function will define an uri as a source for the video of the
27890     * Elm_Video object. URI could be remote source of video, like http:// or local source
27891     * like for example WebCam who are most of the time v4l2:// (but that depend and
27892     * you should use Emotion API to request and list the available Webcam on your system).
27893     *
27894     * @see elm_video_file_set()
27895     * @see elm_video_add()
27896     * @see elm_player_add()
27897     *
27898     * @ingroup Video
27899     */
27900    EAPI void elm_video_uri_set(Evas_Object *video, const char *uri);
27901
27902    /**
27903     * @brief Get the underlying Emotion object.
27904     *
27905     * @param video The video object to proceed the request on.
27906     * @return the underlying Emotion object.
27907     *
27908     * @ingroup Video
27909     */
27910    EAPI Evas_Object *elm_video_emotion_get(Evas_Object *video);
27911
27912    /**
27913     * @brief Start to play the video
27914     *
27915     * @param video The video object to proceed the request on.
27916     *
27917     * Start to play the video and cancel all suspend state.
27918     *
27919     * @ingroup Video
27920     */
27921    EAPI void elm_video_play(Evas_Object *video);
27922
27923    /**
27924     * @brief Pause the video
27925     *
27926     * @param video The video object to proceed the request on.
27927     *
27928     * Pause the video and start a timer to trigger suspend mode.
27929     *
27930     * @ingroup Video
27931     */
27932    EAPI void elm_video_pause(Evas_Object *video);
27933
27934    /**
27935     * @brief Stop the video
27936     *
27937     * @param video The video object to proceed the request on.
27938     *
27939     * Stop the video and put the emotion in deep sleep mode.
27940     *
27941     * @ingroup Video
27942     */
27943    EAPI void elm_video_stop(Evas_Object *video);
27944
27945    /**
27946     * @brief Is the video actually playing.
27947     *
27948     * @param video The video object to proceed the request on.
27949     * @return EINA_TRUE if the video is actually playing.
27950     *
27951     * You should consider watching event on the object instead of polling
27952     * the object state.
27953     *
27954     * @ingroup Video
27955     */
27956    EAPI Eina_Bool elm_video_is_playing(Evas_Object *video);
27957
27958    /**
27959     * @brief Is it possible to seek inside the video.
27960     *
27961     * @param video The video object to proceed the request on.
27962     * @return EINA_TRUE if is possible to seek inside the video.
27963     *
27964     * @ingroup Video
27965     */
27966    EAPI Eina_Bool elm_video_is_seekable(Evas_Object *video);
27967
27968    /**
27969     * @brief Is the audio muted.
27970     *
27971     * @param video The video object to proceed the request on.
27972     * @return EINA_TRUE if the audio is muted.
27973     *
27974     * @ingroup Video
27975     */
27976    EAPI Eina_Bool elm_video_audio_mute_get(Evas_Object *video);
27977
27978    /**
27979     * @brief Change the mute state of the Elm_Video object.
27980     *
27981     * @param video The video object to proceed the request on.
27982     * @param mute The new mute state.
27983     *
27984     * @ingroup Video
27985     */
27986    EAPI void elm_video_audio_mute_set(Evas_Object *video, Eina_Bool mute);
27987
27988    /**
27989     * @brief Get the audio level of the current video.
27990     *
27991     * @param video The video object to proceed the request on.
27992     * @return the current audio level.
27993     *
27994     * @ingroup Video
27995     */
27996    EAPI double elm_video_audio_level_get(Evas_Object *video);
27997
27998    /**
27999     * @brief Set the audio level of anElm_Video object.
28000     *
28001     * @param video The video object to proceed the request on.
28002     * @param volume The new audio volume.
28003     *
28004     * @ingroup Video
28005     */
28006    EAPI void elm_video_audio_level_set(Evas_Object *video, double volume);
28007
28008    EAPI double elm_video_play_position_get(Evas_Object *video);
28009    EAPI void elm_video_play_position_set(Evas_Object *video, double position);
28010    EAPI double elm_video_play_length_get(Evas_Object *video);
28011    EAPI void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember);
28012    EAPI Eina_Bool elm_video_remember_position_get(Evas_Object *video);
28013    EAPI const char *elm_video_title_get(Evas_Object *video);
28014    /**
28015     * @}
28016     */
28017
28018    /**
28019     * @defgroup Naviframe Naviframe
28020     * @ingroup Elementary
28021     *
28022     * @brief Naviframe is a kind of view manager for the applications.
28023     *
28024     * Naviframe provides functions to switch different pages with stack
28025     * mechanism. It means if one page(item) needs to be changed to the new one,
28026     * then naviframe would push the new page to it's internal stack. Of course,
28027     * it can be back to the previous page by popping the top page. Naviframe
28028     * provides some transition effect while the pages are switching (same as
28029     * pager).
28030     *
28031     * Since each item could keep the different styles, users could keep the
28032     * same look & feel for the pages or different styles for the items in it's
28033     * application.
28034     *
28035     * Signals that you can add callback for are:
28036     *
28037     * @li "transition,finished" - When the transition is finished in changing
28038     *     the item
28039     * @li "title,clicked" - User clicked title area
28040     *
28041     * Default contents parts for the naviframe items that you can use for are:
28042     *
28043     * @li "elm.swallow.content" - The main content of the page
28044     * @li "elm.swallow.prev_btn" - The button to go to the previous page
28045     * @li "elm.swallow.next_btn" - The button to go to the next page
28046     *
28047     * Default text parts of naviframe items that you can be used are:
28048     *
28049     * @li "elm.text.title" - The title label in the title area
28050     *
28051     * @ref tutorial_naviframe gives a good overview of the usage of the API.
28052     */
28053
28054    /**
28055     * @addtogroup Naviframe
28056     * @{
28057     */
28058
28059    /**
28060     * @brief Add a new Naviframe object to the parent.
28061     *
28062     * @param parent Parent object
28063     * @return New object or @c NULL, if it cannot be created
28064     *
28065     * @ingroup Naviframe
28066     */
28067    EAPI Evas_Object        *elm_naviframe_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
28068    /**
28069     * @brief Push a new item to the top of the naviframe stack (and show it).
28070     *
28071     * @param obj The naviframe object
28072     * @param title_label The label in the title area. The name of the title
28073     *        label part is "elm.text.title"
28074     * @param prev_btn The button to go to the previous item. If it is NULL,
28075     *        then naviframe will create a back button automatically. The name of
28076     *        the prev_btn part is "elm.swallow.prev_btn"
28077     * @param next_btn The button to go to the next item. Or It could be just an
28078     *        extra function button. The name of the next_btn part is
28079     *        "elm.swallow.next_btn"
28080     * @param content The main content object. The name of content part is
28081     *        "elm.swallow.content"
28082     * @param item_style The current item style name. @c NULL would be default.
28083     * @return The created item or @c NULL upon failure.
28084     *
28085     * The item pushed becomes one page of the naviframe, this item will be
28086     * deleted when it is popped.
28087     *
28088     * @see also elm_naviframe_item_style_set()
28089     *
28090     * The following styles are available for this item:
28091     * @li @c "default"
28092     *
28093     * @ingroup Naviframe
28094     */
28095    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);
28096    /**
28097     * @brief Pop an item that is on top of the stack
28098     *
28099     * @param obj The naviframe object
28100     * @return @c NULL or the content object(if the
28101     *         elm_naviframe_content_preserve_on_pop_get is true).
28102     *
28103     * This pops an item that is on the top(visible) of the naviframe, makes it
28104     * disappear, then deletes the item. The item that was underneath it on the
28105     * stack will become visible.
28106     *
28107     * @see also elm_naviframe_content_preserve_on_pop_get()
28108     *
28109     * @ingroup Naviframe
28110     */
28111    EAPI Evas_Object        *elm_naviframe_item_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
28112    /**
28113     * @brief Pop the items between the top and the above one on the given item.
28114     *
28115     * @param it The naviframe item
28116     *
28117     * @ingroup Naviframe
28118     */
28119    EAPI void                elm_naviframe_item_pop_to(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28120    /**
28121     * @brief Delete the given item instantly.
28122     *
28123     * @param it The naviframe item
28124     *
28125     * This just deletes the given item from the naviframe item list instantly.
28126     * So this would not emit any signals for view transitions but just change
28127     * the current view if the given item is a top one.
28128     *
28129     * @ingroup Naviframe
28130     */
28131    EAPI void                elm_naviframe_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28132    /**
28133     * @brief preserve the content objects when items are popped.
28134     *
28135     * @param obj The naviframe object
28136     * @param preserve Enable the preserve mode if EINA_TRUE, disable otherwise
28137     *
28138     * @see also elm_naviframe_content_preserve_on_pop_get()
28139     *
28140     * @ingroup Naviframe
28141     */
28142    EAPI void                elm_naviframe_content_preserve_on_pop_set(Evas_Object *obj, Eina_Bool preserve) EINA_ARG_NONNULL(1);
28143    /**
28144     * @brief Get a value whether preserve mode is enabled or not.
28145     *
28146     * @param obj The naviframe object
28147     * @return If @c EINA_TRUE, preserve mode is enabled
28148     *
28149     * @see also elm_naviframe_content_preserve_on_pop_set()
28150     *
28151     * @ingroup Naviframe
28152     */
28153    EAPI Eina_Bool           elm_naviframe_content_preserve_on_pop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28154    /**
28155     * @brief Get a top item on the naviframe stack
28156     *
28157     * @param obj The naviframe object
28158     * @return The top item on the naviframe stack or @c NULL, if the stack is
28159     *         empty
28160     *
28161     * @ingroup Naviframe
28162     */
28163    EAPI Elm_Object_Item    *elm_naviframe_top_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28164    /**
28165     * @brief Get a bottom item on the naviframe stack
28166     *
28167     * @param obj The naviframe object
28168     * @return The bottom item on the naviframe stack or @c NULL, if the stack is
28169     *         empty
28170     *
28171     * @ingroup Naviframe
28172     */
28173    EAPI Elm_Object_Item    *elm_naviframe_bottom_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28174    /**
28175     * @brief Set an item style
28176     *
28177     * @param obj The naviframe item
28178     * @param item_style The current item style name. @c NULL would be default
28179     *
28180     * The following styles are available for this item:
28181     * @li @c "default"
28182     *
28183     * @see also elm_naviframe_item_style_get()
28184     *
28185     * @ingroup Naviframe
28186     */
28187    EAPI void                elm_naviframe_item_style_set(Elm_Object_Item *it, const char *item_style) EINA_ARG_NONNULL(1);
28188    /**
28189     * @brief Get an item style
28190     *
28191     * @param obj The naviframe item
28192     * @return The current item style name
28193     *
28194     * @see also elm_naviframe_item_style_set()
28195     *
28196     * @ingroup Naviframe
28197     */
28198    EAPI const char         *elm_naviframe_item_style_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28199    /**
28200     * @brief Show/Hide the title area
28201     *
28202     * @param it The naviframe item
28203     * @param visible If @c EINA_TRUE, title area will be visible, hidden
28204     *        otherwise
28205     *
28206     * When the title area is invisible, then the controls would be hidden so as     * to expand the content area to full-size.
28207     *
28208     * @see also elm_naviframe_item_title_visible_get()
28209     *
28210     * @ingroup Naviframe
28211     */
28212    EAPI void                elm_naviframe_item_title_visible_set(Elm_Object_Item *it, Eina_Bool visible) EINA_ARG_NONNULL(1);
28213    /**
28214     * @brief Get a value whether title area is visible or not.
28215     *
28216     * @param it The naviframe item
28217     * @return If @c EINA_TRUE, title area is visible
28218     *
28219     * @see also elm_naviframe_item_title_visible_set()
28220     *
28221     * @ingroup Naviframe
28222     */
28223    EAPI Eina_Bool           elm_naviframe_item_title_visible_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28224
28225    /**
28226     * @brief Set creating prev button automatically or not
28227     *
28228     * @param obj The naviframe object
28229     * @param auto_pushed If @c EINA_TRUE, the previous button(back button) will
28230     *        be created internally when you pass the @c NULL to the prev_btn
28231     *        parameter in elm_naviframe_item_push
28232     *
28233     * @see also elm_naviframe_item_push()
28234     */
28235    EAPI void                elm_naviframe_prev_btn_auto_pushed_set(Evas_Object *obj, Eina_Bool auto_pushed) EINA_ARG_NONNULL(1);
28236    /**
28237     * @brief Get a value whether prev button(back button) will be auto pushed or
28238     *        not.
28239     *
28240     * @param obj The naviframe object
28241     * @return If @c EINA_TRUE, prev button will be auto pushed.
28242     *
28243     * @see also elm_naviframe_item_push()
28244     *           elm_naviframe_prev_btn_auto_pushed_set()
28245     */
28246    EAPI Eina_Bool           elm_naviframe_prev_btn_auto_pushed_get(const Evas_Object *obj); EINA_ARG_NONNULL(1);
28247
28248    /**
28249     * @}
28250     */
28251
28252 #ifdef __cplusplus
28253 }
28254 #endif
28255
28256 #endif