add promote/demote functions for genlist
[framework/uifw/elementary.git] / src / lib / Elementary.h.in
1 /*
2  *
3  * vim:ts=8:sw=3:sts=3:expandtab:cino=>5n-3f0^-2{2(0W1st0
4  */
5
6 /**
7 @file Elementary.h.in
8 @brief Elementary Widget Library
9 */
10
11 /**
12 @mainpage Elementary
13 @image html  elementary.png
14 @version 0.8.0
15 @date 2008-2011
16
17 @section intro What is Elementary?
18
19 This is a VERY SIMPLE toolkit. It is not meant for writing extensive desktop
20 applications (yet). Small simple ones with simple needs.
21
22 It is meant to make the programmers work almost brainless but give them lots
23 of flexibility.
24
25 @li @ref Start - Go here to quickly get started with writing Apps
26
27 @section organization Organization
28
29 One can divide Elemementary into three main groups:
30 @li @ref infralist - These are modules that deal with Elementary as a whole.
31 @li @ref widgetslist - These are the widgets you'll compose your UI out of.
32 @li @ref containerslist - These are the containers which hold the widgets.
33
34 @section license License
35
36 LGPL v2 (see COPYING in the base of Elementary's source). This applies to
37 all files in the source tree.
38
39 @section ack Acknowledgements
40 There is a lot that goes into making a widget set, and they don't happen out of
41 nothing. It's like trying to make everyone everywhere happy, regardless of age,
42 gender, race or nationality - and that is really tough. So thanks to people and
43 organisations behind this, as listed in the @ref authors page.
44 */
45
46
47 /**
48  * @defgroup Start Getting Started
49  *
50  * To write an Elementary app, you can get started with the following:
51  *
52 @code
53 #include <Elementary.h>
54 EAPI_MAIN int
55 elm_main(int argc, char **argv)
56 {
57    // create window(s) here and do any application init
58    elm_run(); // run main loop
59    elm_shutdown(); // after mainloop finishes running, shutdown
60    return 0; // exit 0 for exit code
61 }
62 ELM_MAIN()
63 @endcode
64  *
65  * To use autotools (which helps in many ways in the long run, like being able
66  * to immediately create releases of your software directly from your tree
67  * and ensure everything needed to build it is there) you will need a
68  * configure.ac, Makefile.am and autogen.sh file.
69  *
70  * configure.ac:
71  *
72 @verbatim
73 AC_INIT(myapp, 0.0.0, myname@mydomain.com)
74 AC_PREREQ(2.52)
75 AC_CONFIG_SRCDIR(configure.ac)
76 AM_CONFIG_HEADER(config.h)
77 AC_PROG_CC
78 AM_INIT_AUTOMAKE(1.6 dist-bzip2)
79 PKG_CHECK_MODULES([ELEMENTARY], elementary)
80 AC_OUTPUT(Makefile)
81 @endverbatim
82  *
83  * Makefile.am:
84  *
85 @verbatim
86 AUTOMAKE_OPTIONS = 1.4 foreign
87 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in configure depcomp install-sh missing
88
89 INCLUDES = -I$(top_srcdir)
90
91 bin_PROGRAMS = myapp
92
93 myapp_SOURCES = main.c
94 myapp_LDADD = @ELEMENTARY_LIBS@
95 myapp_CFLAGS = @ELEMENTARY_CFLAGS@
96 @endverbatim
97  *
98  * autogen.sh:
99  *
100 @verbatim
101 #!/bin/sh
102 echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
103 echo "Running autoheader..." ; autoheader || exit 1
104 echo "Running autoconf..." ; autoconf || exit 1
105 echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
106 ./configure "$@"
107 @endverbatim
108  *
109  * To generate all the things needed to bootstrap just run:
110  *
111 @verbatim
112 ./autogen.sh
113 @endverbatim
114  *
115  * This will generate Makefile.in's, the confgure script and everything else.
116  * After this it works like all normal autotools projects:
117 @verbatim
118 ./configure
119 make
120 sudo make install
121 @endverbatim
122  *
123  * Note sudo was assumed to get root permissions, as this would install in
124  * /usr/local which is system-owned. Use any way you like to gain root, or
125  * specify a different prefix with configure:
126  *
127 @verbatim
128 ./confiugre --prefix=$HOME/mysoftware
129 @endverbatim
130  *
131  * Also remember that autotools buys you some useful commands like:
132 @verbatim
133 make uninstall
134 @endverbatim
135  *
136  * This uninstalls the software after it was installed with "make install".
137  * It is very useful to clear up what you built if you wish to clean the
138  * system.
139  *
140 @verbatim
141 make distcheck
142 @endverbatim
143  *
144  * This firstly checks if your build tree is "clean" and ready for
145  * distribution. It also builds a tarball (myapp-0.0.0.tar.gz) that is
146  * ready to upload and distribute to the world, that contains the generated
147  * Makefile.in's and configure script. The users do not need to run
148  * autogen.sh - just configure and on. They don't need autotools installed.
149  * This tarball also builds cleanly, has all the sources it needs to build
150  * included (that is sources for your application, not libraries it depends
151  * on like Elementary). It builds cleanly in a buildroot and does not
152  * contain any files that are temporarily generated like binaries and other
153  * build-generated files, so the tarball is clean, and no need to worry
154  * about cleaning up your tree before packaging.
155  *
156 @verbatim
157 make clean
158 @endverbatim
159  *
160  * This cleans up all build files (binaries, objects etc.) from the tree.
161  *
162 @verbatim
163 make distclean
164 @endverbatim
165  *
166  * This cleans out all files from the build and from configure's output too.
167  *
168 @verbatim
169 make maintainer-clean
170 @endverbatim
171  *
172  * This deletes all the files autogen.sh will produce so the tree is clean
173  * to be put into a revision-control system (like CVS, SVN or GIT for example).
174  *
175  * There is a more advanced way of making use of the quicklaunch infrastructure
176  * in Elementary (which will not be covered here due to its more advanced
177  * nature).
178  *
179  * Now let's actually create an interactive "Hello World" gui that you can
180  * click the ok button to exit. It's more code because this now does something
181  * much more significant, but it's still very simple:
182  *
183 @code
184 #include <Elementary.h>
185
186 static void
187 on_done(void *data, Evas_Object *obj, void *event_info)
188 {
189    // quit the mainloop (elm_run function will return)
190    elm_exit();
191 }
192
193 EAPI_MAIN int
194 elm_main(int argc, char **argv)
195 {
196    Evas_Object *win, *bg, *box, *lab, *btn;
197
198    // new window - do the usual and give it a name (hello) and title (Hello)
199    win = elm_win_util_standard_add("hello", "Hello");
200    // when the user clicks "close" on a window there is a request to delete
201    evas_object_smart_callback_add(win, "delete,request", on_done, NULL);
202
203    // add a box object - default is vertical. a box holds children in a row,
204    // either horizontally or vertically. nothing more.
205    box = elm_box_add(win);
206    // make the box hotizontal
207    elm_box_horizontal_set(box, EINA_TRUE);
208    // add object as a resize object for the window (controls window minimum
209    // size as well as gets resized if window is resized)
210    elm_win_resize_object_add(win, box);
211    evas_object_show(box);
212
213    // add a label widget, set the text and put it in the pad frame
214    lab = elm_label_add(win);
215    // set default text of the label
216    elm_object_text_set(lab, "Hello out there world!");
217    // pack the label at the end of the box
218    elm_box_pack_end(box, lab);
219    evas_object_show(lab);
220
221    // add an ok button
222    btn = elm_button_add(win);
223    // set default text of button to "OK"
224    elm_object_text_set(btn, "OK");
225    // pack the button at the end of the box
226    elm_box_pack_end(box, btn);
227    evas_object_show(btn);
228    // call on_done when button is clicked
229    evas_object_smart_callback_add(btn, "clicked", on_done, NULL);
230
231    // now we are done, show the window
232    evas_object_show(win);
233
234    // run the mainloop and process events and callbacks
235    elm_run();
236    return 0;
237 }
238 ELM_MAIN()
239 @endcode
240    *
241    */
242
243 /**
244 @page authors Authors
245 @author Carsten Haitzler <raster@@rasterman.com>
246 @author Gustavo Sverzut Barbieri <barbieri@@profusion.mobi>
247 @author Cedric Bail <cedric.bail@@free.fr>
248 @author Vincent Torri <vtorri@@univ-evry.fr>
249 @author Daniel Kolesa <quaker66@@gmail.com>
250 @author Jaime Thomas <avi.thomas@@gmail.com>
251 @author Swisscom - http://www.swisscom.ch/
252 @author Christopher Michael <devilhorns@@comcast.net>
253 @author Marco Trevisan (TreviƱo) <mail@@3v1n0.net>
254 @author Michael Bouchaud <michael.bouchaud@@gmail.com>
255 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
256 @author Brian Wang <brian.wang.0721@@gmail.com>
257 @author Mike Blumenkrantz (discomfitor/zmike) <michael.blumenkrantz@@gmail.com>
258 @author Samsung Electronics <tbd>
259 @author Samsung SAIT <tbd>
260 @author Brett Nash <nash@@nash.id.au>
261 @author Bruno Dilly <bdilly@@profusion.mobi>
262 @author Rafael Fonseca <rfonseca@@profusion.mobi>
263 @author Chuneon Park <hermet@@hermet.pe.kr>
264 @author Woohyun Jung <wh0705.jung@@samsung.com>
265 @author Jaehwan Kim <jae.hwan.kim@@samsung.com>
266 @author Wonguk Jeong <wonguk.jeong@@samsung.com>
267 @author Leandro A. F. Pereira <leandro@@profusion.mobi>
268 @author Helen Fornazier <helen.fornazier@@profusion.mobi>
269 @author Gustavo Lima Chaves <glima@@profusion.mobi>
270 @author Fabiano FidĆŖncio <fidencio@@profusion.mobi>
271 @author Tiago FalcĆ£o <tiago@@profusion.mobi>
272 @author Otavio Pontes <otavio@@profusion.mobi>
273 @author Viktor Kojouharov <vkojouharov@@gmail.com>
274 @author Daniel Juyung Seo (SeoZ) <juyung.seo@@samsung.com> <seojuyung2@@gmail.com>
275 @author Sangho Park <sangho.g.park@@samsung.com> <gouache95@@gmail.com>
276 @author Rajeev Ranjan (Rajeev) <rajeev.r@@samsung.com> <rajeev.jnnce@@gmail.com>
277 @author Seunggyun Kim <sgyun.kim@@samsung.com> <tmdrbs@@gmail.com>
278 @author Sohyun Kim <anna1014.kim@@samsung.com> <sohyun.anna@@gmail.com>
279 @author Jihoon Kim <jihoon48.kim@@samsung.com>
280 @author Jeonghyun Yun (arosis) <jh0506.yun@@samsung.com>
281 @author Tom Hacohen <tom@@stosb.com>
282 @author Aharon Hillel <a.hillel@@partner.samsung.com>
283 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
284 @author Shinwoo Kim <kimcinoo@@gmail.com>
285 @author Govindaraju SM <govi.sm@@samsung.com> <govism@@gmail.com>
286 @author Prince Kumar Dubey <prince.dubey@@samsung.com> <prince.dubey@@gmail.com>
287 @author Sung W. Park <sungwoo@@gmail.com>
288 @author Thierry el Borgi <thierry@@substantiel.fr>
289 @author Shilpa Singh <shilpa.singh@@samsung.com> <shilpasingh.o@@gmail.com>
290 @author Chanwook Jung <joey.jung@@samsung.com>
291 @author Hyoyoung Chang <hyoyoung.chang@@samsung.com>
292 @author Guillaume "Kuri" Friloux <guillaume.friloux@@asp64.com>
293 @author Kim Yunhan <spbear@@gmail.com>
294 @author Bluezery <ohpowel@@gmail.com>
295 @author Nicolas Aguirre <aguirre.nicolas@@gmail.com>
296 @author Sanjeev BA <iamsanjeev@@gmail.com>
297
298 Please contact <enlightenment-devel@lists.sourceforge.net> to get in
299 contact with the developers and maintainers.
300  */
301
302 #ifndef ELEMENTARY_H
303 #define ELEMENTARY_H
304
305 /**
306  * @file Elementary.h
307  * @brief Elementary's API
308  *
309  * Elementary API.
310  */
311
312 @ELM_UNIX_DEF@ ELM_UNIX
313 @ELM_WIN32_DEF@ ELM_WIN32
314 @ELM_WINCE_DEF@ ELM_WINCE
315 @ELM_EDBUS_DEF@ ELM_EDBUS
316 @ELM_EFREET_DEF@ ELM_EFREET
317 @ELM_ETHUMB_DEF@ ELM_ETHUMB
318 @ELM_WEB_DEF@ ELM_WEB
319 @ELM_EMAP_DEF@ ELM_EMAP
320 @ELM_DEBUG_DEF@ ELM_DEBUG
321 @ELM_ALLOCA_H_DEF@ ELM_ALLOCA_H
322 @ELM_LIBINTL_H_DEF@ ELM_LIBINTL_H
323 @ELM_DIRENT_H_DEF@ ELM_DIRENT_H
324
325 /* Standard headers for standard system calls etc. */
326 #include <stdio.h>
327 #include <stdlib.h>
328 #include <unistd.h>
329 #include <string.h>
330 #include <sys/types.h>
331 #include <sys/stat.h>
332 #include <sys/time.h>
333 #include <sys/param.h>
334 #include <math.h>
335 #include <fnmatch.h>
336 #include <limits.h>
337 #include <ctype.h>
338 #include <time.h>
339 #ifdef ELM_DIRENT_H
340 # include <dirent.h>
341 #endif
342 #include <pwd.h>
343 #include <errno.h>
344
345 #ifdef ELM_UNIX
346 # include <locale.h>
347 # ifdef ELM_LIBINTL_H
348 #  include <libintl.h>
349 # endif
350 # include <signal.h>
351 # include <grp.h>
352 # include <glob.h>
353 #endif
354
355 #ifdef ELM_ALLOCA_H
356 # include <alloca.h>
357 #endif
358
359 #if defined (ELM_WIN32) || defined (ELM_WINCE)
360 # include <malloc.h>
361 # ifndef alloca
362 #  define alloca _alloca
363 # endif
364 #endif
365
366
367 /* EFL headers */
368 #include <Eina.h>
369 #include <Eet.h>
370 #include <Evas.h>
371 // disabled - evas 1.1 won't have this.
372 //#include <Evas_GL.h>
373 #include <Ecore.h>
374 #include <Ecore_Evas.h>
375 #include <Ecore_File.h>
376 @ELEMENTARY_ECORE_IMF_INC@
377 @ELEMENTARY_ECORE_CON_INC@
378 #include <Edje.h>
379
380 #ifdef ELM_EDBUS
381 # include <E_DBus.h>
382 #endif
383
384 #ifdef ELM_EFREET
385 # include <Efreet.h>
386 # include <Efreet_Mime.h>
387 # include <Efreet_Trash.h>
388 #endif
389
390 #ifdef ELM_ETHUMB
391 # include <Ethumb_Client.h>
392 #endif
393
394 #ifdef ELM_EMAP
395 # include <EMap.h>
396 #endif
397
398 #ifdef EAPI
399 # undef EAPI
400 #endif
401
402 #ifdef _WIN32
403 # ifdef ELEMENTARY_BUILD
404 #  ifdef DLL_EXPORT
405 #   define EAPI __declspec(dllexport)
406 #  else
407 #   define EAPI
408 #  endif /* ! DLL_EXPORT */
409 # else
410 #  define EAPI __declspec(dllimport)
411 # endif /* ! EFL_EVAS_BUILD */
412 #else
413 # ifdef __GNUC__
414 #  if __GNUC__ >= 4
415 #   define EAPI __attribute__ ((visibility("default")))
416 #  else
417 #   define EAPI
418 #  endif
419 # else
420 #  define EAPI
421 # endif
422 #endif /* ! _WIN32 */
423
424 #ifdef _WIN32
425 # define EAPI_MAIN
426 #else
427 # define EAPI_MAIN EAPI
428 #endif
429
430 /* allow usage from c++ */
431 #ifdef __cplusplus
432 extern "C" {
433 #endif
434
435 #define ELM_VERSION_MAJOR @VMAJ@
436 #define ELM_VERSION_MINOR @VMIN@
437
438    typedef struct _Elm_Version
439      {
440         int major;
441         int minor;
442         int micro;
443         int revision;
444      } Elm_Version;
445
446    EAPI extern Elm_Version *elm_version;
447
448 /* handy macros */
449 #define ELM_RECTS_INTERSECT(x, y, w, h, xx, yy, ww, hh) (((x) < ((xx) + (ww))) && ((y) < ((yy) + (hh))) && (((x) + (w)) > (xx)) && (((y) + (h)) > (yy)))
450 #define ELM_PI 3.14159265358979323846
451
452    /**
453     * @defgroup General General
454     *
455     * @brief General Elementary API. Functions that don't relate to
456     * Elementary objects specifically.
457     *
458     * Here are documented functions which init/shutdown the library,
459     * that apply to generic Elementary objects, that deal with
460     * configuration, et cetera.
461     *
462     * @ref general_functions_example_page "This" example contemplates
463     * some of these functions.
464     */
465
466    /**
467     * @addtogroup General
468     * @{
469     */
470
471   /**
472    * Defines couple of standard Evas_Object layers to be used
473    * with evas_object_layer_set().
474    *
475    * @note whenever extending with new values, try to keep some padding
476    *       to siblings so there is room for further extensions.
477    */
478   typedef enum _Elm_Object_Layer
479     {
480        ELM_OBJECT_LAYER_BACKGROUND = EVAS_LAYER_MIN + 64, /**< where to place backgrounds */
481        ELM_OBJECT_LAYER_DEFAULT = 0, /**< Evas_Object default layer (and thus for Elementary) */
482        ELM_OBJECT_LAYER_FOCUS = EVAS_LAYER_MAX - 128, /**< where focus object visualization is */
483        ELM_OBJECT_LAYER_TOOLTIP = EVAS_LAYER_MAX - 64, /**< where to show tooltips */
484        ELM_OBJECT_LAYER_CURSOR = EVAS_LAYER_MAX - 32, /**< where to show cursors */
485        ELM_OBJECT_LAYER_LAST /**< last layer known by Elementary */
486     } Elm_Object_Layer;
487
488 /**************************************************************************/
489    EAPI extern int ELM_ECORE_EVENT_ETHUMB_CONNECT;
490
491    /**
492     * Emitted when the application has reconfigured elementary settings due
493     * to an external configuration tool asking it to.
494     */
495    EAPI extern int ELM_EVENT_CONFIG_ALL_CHANGED;
496
497    /**
498     * Emitted when any Elementary's policy value is changed.
499     */
500    EAPI extern int ELM_EVENT_POLICY_CHANGED;
501
502    /**
503     * @typedef Elm_Event_Policy_Changed
504     *
505     * Data on the event when an Elementary policy has changed
506     */
507     typedef struct _Elm_Event_Policy_Changed Elm_Event_Policy_Changed;
508
509    /**
510     * @struct _Elm_Event_Policy_Changed
511     *
512     * Data on the event when an Elementary policy has changed
513     */
514     struct _Elm_Event_Policy_Changed
515      {
516         unsigned int policy; /**< the policy identifier */
517         int          new_value; /**< value the policy had before the change */
518         int          old_value; /**< new value the policy got */
519     };
520
521    /**
522     * Policy identifiers.
523     */
524     typedef enum _Elm_Policy
525     {
526         ELM_POLICY_QUIT, /**< under which circumstances the application
527                           * should quit automatically. @see
528                           * Elm_Policy_Quit.
529                           */
530         ELM_POLICY_LAST
531     } Elm_Policy; /**< Elementary policy identifiers/groups enumeration.  @see elm_policy_set()
532  */
533
534    typedef enum _Elm_Policy_Quit
535      {
536         ELM_POLICY_QUIT_NONE = 0, /**< never quit the application
537                                    * automatically */
538         ELM_POLICY_QUIT_LAST_WINDOW_CLOSED /**< quit when the
539                                             * application's last
540                                             * window is closed */
541      } Elm_Policy_Quit; /**< Possible values for the #ELM_POLICY_QUIT policy */
542
543    typedef enum _Elm_Focus_Direction
544      {
545         ELM_FOCUS_PREVIOUS,
546         ELM_FOCUS_NEXT
547      } Elm_Focus_Direction;
548
549    typedef enum _Elm_Text_Format
550      {
551         ELM_TEXT_FORMAT_PLAIN_UTF8,
552         ELM_TEXT_FORMAT_MARKUP_UTF8
553      } Elm_Text_Format;
554
555    /**
556     * Line wrapping types.
557     */
558    typedef enum _Elm_Wrap_Type
559      {
560         ELM_WRAP_NONE = 0, /**< No wrap - value is zero */
561         ELM_WRAP_CHAR, /**< Char wrap - wrap between characters */
562         ELM_WRAP_WORD, /**< Word wrap - wrap in allowed wrapping points (as defined in the unicode standard) */
563         ELM_WRAP_MIXED, /**< Mixed wrap - Word wrap, and if that fails, char wrap. */
564         ELM_WRAP_LAST
565      } Elm_Wrap_Type;
566
567    typedef enum
568      {
569         ELM_INPUT_PANEL_LAYOUT_NORMAL,          /**< Default layout */
570         ELM_INPUT_PANEL_LAYOUT_NUMBER,          /**< Number layout */
571         ELM_INPUT_PANEL_LAYOUT_EMAIL,           /**< Email layout */
572         ELM_INPUT_PANEL_LAYOUT_URL,             /**< URL layout */
573         ELM_INPUT_PANEL_LAYOUT_PHONENUMBER,     /**< Phone Number layout */
574         ELM_INPUT_PANEL_LAYOUT_IP,              /**< IP layout */
575         ELM_INPUT_PANEL_LAYOUT_MONTH,           /**< Month layout */
576         ELM_INPUT_PANEL_LAYOUT_NUMBERONLY,      /**< Number Only layout */
577         ELM_INPUT_PANEL_LAYOUT_INVALID
578      } Elm_Input_Panel_Layout;
579
580    typedef enum
581      {
582         ELM_AUTOCAPITAL_TYPE_NONE,
583         ELM_AUTOCAPITAL_TYPE_WORD,
584         ELM_AUTOCAPITAL_TYPE_SENTENCE,
585         ELM_AUTOCAPITAL_TYPE_ALLCHARACTER,
586      } Elm_Autocapital_Type;
587
588    /**
589     * @typedef Elm_Object_Item
590     * An Elementary Object item handle.
591     * @ingroup General
592     */
593    typedef struct _Elm_Object_Item Elm_Object_Item;
594
595
596    /**
597     * Called back when a widget's tooltip is activated and needs content.
598     * @param data user-data given to elm_object_tooltip_content_cb_set()
599     * @param obj owner widget.
600     * @param tooltip The tooltip object (affix content to this!)
601     */
602    typedef Evas_Object *(*Elm_Tooltip_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip);
603
604    /**
605     * Called back when a widget's item tooltip is activated and needs content.
606     * @param data user-data given to elm_object_tooltip_content_cb_set()
607     * @param obj owner widget.
608     * @param tooltip The tooltip object (affix content to this!)
609     * @param item context dependent item. As an example, if tooltip was
610     *        set on Elm_List_Item, then it is of this type.
611     */
612    typedef Evas_Object *(*Elm_Tooltip_Item_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip, void *item);
613
614    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. */
615
616 #ifndef ELM_LIB_QUICKLAUNCH
617 #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 */
618 #else
619 #define ELM_MAIN() int main(int argc, char **argv) {return elm_quicklaunch_fallback(argc, argv);} /**< macro to be used after the elm_main() function */
620 #endif
621
622 /**************************************************************************/
623    /* General calls */
624
625    /**
626     * Initialize Elementary
627     *
628     * @param[in] argc System's argument count value
629     * @param[in] argv System's pointer to array of argument strings
630     * @return The init counter value.
631     *
632     * This function initializes Elementary and increments a counter of
633     * the number of calls to it. It returns the new counter's value.
634     *
635     * @warning This call is exported only for use by the @c ELM_MAIN()
636     * macro. There is no need to use this if you use this macro (which
637     * is highly advisable). An elm_main() should contain the entry
638     * point code for your application, having the same prototype as
639     * elm_init(), and @b not being static (putting the @c EAPI symbol
640     * in front of its type declaration is advisable). The @c
641     * ELM_MAIN() call should be placed just after it.
642     *
643     * Example:
644     * @dontinclude bg_example_01.c
645     * @skip static void
646     * @until ELM_MAIN
647     *
648     * See the full @ref bg_example_01_c "example".
649     *
650     * @see elm_shutdown().
651     * @ingroup General
652     */
653    EAPI int          elm_init(int argc, char **argv);
654
655    /**
656     * Shut down Elementary
657     *
658     * @return The init counter value.
659     *
660     * This should be called at the end of your application, just
661     * before it ceases to do any more processing. This will clean up
662     * any permanent resources your application may have allocated via
663     * Elementary that would otherwise persist.
664     *
665     * @see elm_init() for an example
666     *
667     * @ingroup General
668     */
669    EAPI int          elm_shutdown(void);
670
671    /**
672     * Run Elementary's main loop
673     *
674     * This call should be issued just after all initialization is
675     * completed. This function will not return until elm_exit() is
676     * called. It will keep looping, running the main
677     * (event/processing) loop for Elementary.
678     *
679     * @see elm_init() for an example
680     *
681     * @ingroup General
682     */
683    EAPI void         elm_run(void);
684
685    /**
686     * Exit Elementary's main loop
687     *
688     * If this call is issued, it will flag the main loop to cease
689     * processing and return back to its parent function (usually your
690     * elm_main() function).
691     *
692     * @see elm_init() for an example. There, just after a request to
693     * close the window comes, the main loop will be left.
694     *
695     * @note By using the appropriate #ELM_POLICY_QUIT on your Elementary
696     * applications, you'll be able to get this function called automatically for you.
697     *
698     * @ingroup General
699     */
700    EAPI void         elm_exit(void);
701
702    /**
703     * Provide information in order to make Elementary determine the @b
704     * run time location of the software in question, so other data files
705     * such as images, sound files, executable utilities, libraries,
706     * modules and locale files can be found.
707     *
708     * @param mainfunc This is your application's main function name,
709     *        whose binary's location is to be found. Providing @c NULL
710     *        will make Elementary not to use it
711     * @param dom This will be used as the application's "domain", in the
712     *        form of a prefix to any environment variables that may
713     *        override prefix detection and the directory name, inside the
714     *        standard share or data directories, where the software's
715     *        data files will be looked for.
716     * @param checkfile This is an (optional) magic file's path to check
717     *        for existence (and it must be located in the data directory,
718     *        under the share directory provided above). Its presence will
719     *        help determine the prefix found was correct. Pass @c NULL if
720     *        the check is not to be done.
721     *
722     * This function allows one to re-locate the application somewhere
723     * else after compilation, if the developer wishes for easier
724     * distribution of pre-compiled binaries.
725     *
726     * The prefix system is designed to locate where the given software is
727     * installed (under a common path prefix) at run time and then report
728     * specific locations of this prefix and common directories inside
729     * this prefix like the binary, library, data and locale directories,
730     * through the @c elm_app_*_get() family of functions.
731     *
732     * Call elm_app_info_set() early on before you change working
733     * directory or anything about @c argv[0], so it gets accurate
734     * information.
735     *
736     * It will then try and trace back which file @p mainfunc comes from,
737     * if provided, to determine the application's prefix directory.
738     *
739     * The @p dom parameter provides a string prefix to prepend before
740     * environment variables, allowing a fallback to @b specific
741     * environment variables to locate the software. You would most
742     * probably provide a lowercase string there, because it will also
743     * serve as directory domain, explained next. For environment
744     * variables purposes, this string is made uppercase. For example if
745     * @c "myapp" is provided as the prefix, then the program would expect
746     * @c "MYAPP_PREFIX" as a master environment variable to specify the
747     * exact install prefix for the software, or more specific environment
748     * variables like @c "MYAPP_BIN_DIR", @c "MYAPP_LIB_DIR", @c
749     * "MYAPP_DATA_DIR" and @c "MYAPP_LOCALE_DIR", which could be set by
750     * the user or scripts before launching. If not provided (@c NULL),
751     * environment variables will not be used to override compiled-in
752     * defaults or auto detections.
753     *
754     * The @p dom string also provides a subdirectory inside the system
755     * shared data directory for data files. For example, if the system
756     * directory is @c /usr/local/share, then this directory name is
757     * appended, creating @c /usr/local/share/myapp, if it @p was @c
758     * "myapp". It is expected that the application installs data files in
759     * this directory.
760     *
761     * The @p checkfile is a file name or path of something inside the
762     * share or data directory to be used to test that the prefix
763     * detection worked. For example, your app will install a wallpaper
764     * image as @c /usr/local/share/myapp/images/wallpaper.jpg and so to
765     * check that this worked, provide @c "images/wallpaper.jpg" as the @p
766     * checkfile string.
767     *
768     * @see elm_app_compile_bin_dir_set()
769     * @see elm_app_compile_lib_dir_set()
770     * @see elm_app_compile_data_dir_set()
771     * @see elm_app_compile_locale_set()
772     * @see elm_app_prefix_dir_get()
773     * @see elm_app_bin_dir_get()
774     * @see elm_app_lib_dir_get()
775     * @see elm_app_data_dir_get()
776     * @see elm_app_locale_dir_get()
777     */
778    EAPI void         elm_app_info_set(void *mainfunc, const char *dom, const char *checkfile);
779
780    /**
781     * Provide information on the @b fallback application's binaries
782     * directory, in scenarios where they get overriden by
783     * elm_app_info_set().
784     *
785     * @param dir The path to the default binaries directory (compile time
786     * one)
787     *
788     * @note Elementary will as well use this path to determine actual
789     * names of binaries' directory paths, maybe changing it to be @c
790     * something/local/bin instead of @c something/bin, only, for
791     * example.
792     *
793     * @warning You should call this function @b before
794     * elm_app_info_set().
795     */
796    EAPI void         elm_app_compile_bin_dir_set(const char *dir);
797
798    /**
799     * Provide information on the @b fallback application's libraries
800     * directory, on scenarios where they get overriden by
801     * elm_app_info_set().
802     *
803     * @param dir The path to the default libraries directory (compile
804     * time one)
805     *
806     * @note Elementary will as well use this path to determine actual
807     * names of libraries' directory paths, maybe changing it to be @c
808     * something/lib32 or @c something/lib64 instead of @c something/lib,
809     * only, for example.
810     *
811     * @warning You should call this function @b before
812     * elm_app_info_set().
813     */
814    EAPI void         elm_app_compile_lib_dir_set(const char *dir);
815
816    /**
817     * Provide information on the @b fallback application's data
818     * directory, on scenarios where they get overriden by
819     * elm_app_info_set().
820     *
821     * @param dir The path to the default data directory (compile time
822     * one)
823     *
824     * @note Elementary will as well use this path to determine actual
825     * names of data directory paths, maybe changing it to be @c
826     * something/local/share instead of @c something/share, only, for
827     * example.
828     *
829     * @warning You should call this function @b before
830     * elm_app_info_set().
831     */
832    EAPI void         elm_app_compile_data_dir_set(const char *dir);
833
834    /**
835     * Provide information on the @b fallback application's locale
836     * directory, on scenarios where they get overriden by
837     * elm_app_info_set().
838     *
839     * @param dir The path to the default locale directory (compile time
840     * one)
841     *
842     * @warning You should call this function @b before
843     * elm_app_info_set().
844     */
845    EAPI void         elm_app_compile_locale_set(const char *dir);
846
847    /**
848     * Retrieve the application's run time prefix directory, as set by
849     * elm_app_info_set() and the way (environment) the application was
850     * run from.
851     *
852     * @return The directory prefix the application is actually using.
853     */
854    EAPI const char  *elm_app_prefix_dir_get(void);
855
856    /**
857     * Retrieve the application's run time binaries prefix directory, as
858     * set by elm_app_info_set() and the way (environment) the application
859     * was run from.
860     *
861     * @return The binaries directory prefix the application is actually
862     * using.
863     */
864    EAPI const char  *elm_app_bin_dir_get(void);
865
866    /**
867     * Retrieve the application's run time libraries prefix directory, as
868     * set by elm_app_info_set() and the way (environment) the application
869     * was run from.
870     *
871     * @return The libraries directory prefix the application is actually
872     * using.
873     */
874    EAPI const char  *elm_app_lib_dir_get(void);
875
876    /**
877     * Retrieve the application's run time data prefix directory, as
878     * set by elm_app_info_set() and the way (environment) the application
879     * was run from.
880     *
881     * @return The data directory prefix the application is actually
882     * using.
883     */
884    EAPI const char  *elm_app_data_dir_get(void);
885
886    /**
887     * Retrieve the application's run time locale prefix directory, as
888     * set by elm_app_info_set() and the way (environment) the application
889     * was run from.
890     *
891     * @return The locale directory prefix the application is actually
892     * using.
893     */
894    EAPI const char  *elm_app_locale_dir_get(void);
895
896    EAPI void         elm_quicklaunch_mode_set(Eina_Bool ql_on);
897    EAPI Eina_Bool    elm_quicklaunch_mode_get(void);
898    EAPI int          elm_quicklaunch_init(int argc, char **argv);
899    EAPI int          elm_quicklaunch_sub_init(int argc, char **argv);
900    EAPI int          elm_quicklaunch_sub_shutdown(void);
901    EAPI int          elm_quicklaunch_shutdown(void);
902    EAPI void         elm_quicklaunch_seed(void);
903    EAPI Eina_Bool    elm_quicklaunch_prepare(int argc, char **argv);
904    EAPI Eina_Bool    elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (postfork_func) (void *data), void *postfork_data);
905    EAPI void         elm_quicklaunch_cleanup(void);
906    EAPI int          elm_quicklaunch_fallback(int argc, char **argv);
907    EAPI char        *elm_quicklaunch_exe_path_get(const char *exe);
908
909    EAPI Eina_Bool    elm_need_efreet(void);
910    EAPI Eina_Bool    elm_need_e_dbus(void);
911
912    /**
913     * This must be called before any other function that deals with
914     * elm_thumb objects or ethumb_client instances.
915     *
916     * @ingroup Thumb
917     */
918    EAPI Eina_Bool    elm_need_ethumb(void);
919
920    /**
921     * This must be called before any other function that deals with
922     * elm_web objects or ewk_view instances.
923     *
924     * @ingroup Web
925     */
926    EAPI Eina_Bool    elm_need_web(void);
927
928    /**
929     * Set a new policy's value (for a given policy group/identifier).
930     *
931     * @param policy policy identifier, as in @ref Elm_Policy.
932     * @param value policy value, which depends on the identifier
933     *
934     * @return @c EINA_TRUE on success or @c EINA_FALSE, on error.
935     *
936     * Elementary policies define applications' behavior,
937     * somehow. These behaviors are divided in policy groups (see
938     * #Elm_Policy enumeration). This call will emit the Ecore event
939     * #ELM_EVENT_POLICY_CHANGED, which can be hooked at with
940     * handlers. An #Elm_Event_Policy_Changed struct will be passed,
941     * then.
942     *
943     * @note Currently, we have only one policy identifier/group
944     * (#ELM_POLICY_QUIT), which has two possible values.
945     *
946     * @ingroup General
947     */
948    EAPI Eina_Bool    elm_policy_set(unsigned int policy, int value);
949
950    /**
951     * Gets the policy value for given policy identifier.
952     *
953     * @param policy policy identifier, as in #Elm_Policy.
954     * @return The currently set policy value, for that
955     * identifier. Will be @c 0 if @p policy passed is invalid.
956     *
957     * @ingroup General
958     */
959    EAPI int          elm_policy_get(unsigned int policy);
960
961    /**
962     * Change the language of the current application
963     *
964     * The @p lang passed must be the full name of the locale to use, for
965     * example "en_US.utf8" or "es_ES@euro".
966     *
967     * Changing language with this function will make Elementary run through
968     * all its widgets, translating strings set with
969     * elm_object_domain_translatable_text_part_set(). This way, an entire
970     * UI can have its language changed without having to restart the program.
971     *
972     * For more complex cases, like having formatted strings that need
973     * translation, widgets will also emit a "language,changed" signal that
974     * the user can listen to to manually translate the text.
975     *
976     * @param lang Language to set, must be the full name of the locale
977     *
978     * @ingroup General
979     */
980    EAPI void         elm_language_set(const char *lang);
981
982    /**
983     * Set a label of an object
984     *
985     * @param obj The Elementary object
986     * @param part The text part name to set (NULL for the default label)
987     * @param label The new text of the label
988     *
989     * @note Elementary objects may have many labels (e.g. Action Slider)
990     * @deprecated Use elm_object_part_text_set() instead.
991     * @ingroup General
992     */
993    EINA_DEPRECATED EAPI void elm_object_text_part_set(Evas_Object *obj, const char *part, const char *label);
994
995    /**
996     * Set a label of an object
997     *
998     * @param obj The Elementary object
999     * @param part The text part name to set (NULL for the default label)
1000     * @param label The new text of the label
1001     *
1002     * @note Elementary objects may have many labels (e.g. Action Slider)
1003     *
1004     * @ingroup General
1005     */
1006    EAPI void elm_object_part_text_set(Evas_Object *obj, const char *part, const char *label);
1007
1008 #define elm_object_text_set(obj, label) elm_object_part_text_set((obj), NULL, (label))
1009
1010    /**
1011     * Get a label of an object
1012     *
1013     * @param obj The Elementary object
1014     * @param part The text part name to get (NULL for the default label)
1015     * @return text of the label or NULL for any error
1016     *
1017     * @note Elementary objects may have many labels (e.g. Action Slider)
1018     * @deprecated Use elm_object_part_text_get() instead.
1019     * @ingroup General
1020     */
1021    EINA_DEPRECATED EAPI const char  *elm_object_text_part_get(const Evas_Object *obj, const char *part);
1022
1023    /**
1024     * Get a label of an object
1025     *
1026     * @param obj The Elementary object
1027     * @param part The text part name to get (NULL for the default label)
1028     * @return text of the label or NULL for any error
1029     *
1030     * @note Elementary objects may have many labels (e.g. Action Slider)
1031     *
1032     * @ingroup General
1033     */
1034    EAPI const char  *elm_object_part_text_get(const Evas_Object *obj, const char *part);
1035
1036 #define elm_object_text_get(obj) elm_object_part_text_get((obj), NULL)
1037
1038    /**
1039     * Set the text for an objects' part, marking it as translatable.
1040     *
1041     * The string to set as @p text must be the original one. Do not pass the
1042     * return of @c gettext() here. Elementary will translate the string
1043     * internally and set it on the object using elm_object_part_text_set(),
1044     * also storing the original string so that it can be automatically
1045     * translated when the language is changed with elm_language_set().
1046     *
1047     * The @p domain will be stored along to find the translation in the
1048     * correct catalog. It can be NULL, in which case it will use whatever
1049     * domain was set by the application with @c textdomain(). This is useful
1050     * in case you are building a library on top of Elementary that will have
1051     * its own translatable strings, that should not be mixed with those of
1052     * programs using the library.
1053     *
1054     * @param obj The object containing the text part
1055     * @param part The name of the part to set
1056     * @param domain The translation domain to use
1057     * @param text The original, non-translated text to set
1058     *
1059     * @ingroup General
1060     */
1061    EAPI void         elm_object_domain_translatable_text_part_set(Evas_Object *obj, const char *part, const char *domain, const char *text);
1062
1063 #define elm_object_domain_translatable_text_set(obj, domain, text) elm_object_domain_translatable_text_part_set((obj), NULL, (domain), (text))
1064
1065 #define elm_object_translatable_text_set(obj, text) elm_object_domain_translatable_text_part_set((obj), NULL, NULL, (text))
1066
1067    /**
1068     * Gets the original string set as translatable for an object
1069     *
1070     * When setting translated strings, the function elm_object_part_text_get()
1071     * will return the translation returned by @c gettext(). To get the
1072     * original string use this function.
1073     *
1074     * @param obj The object
1075     * @param part The name of the part that was set
1076     *
1077     * @return The original, untranslated string
1078     *
1079     * @ingroup General
1080     */
1081    EAPI const char  *elm_object_translatable_text_part_get(const Evas_Object *obj, const char *part);
1082
1083 #define elm_object_translatable_text_get(obj) elm_object_translatable_text_part_get((obj), NULL)
1084
1085    /**
1086     * Set a content of an object
1087     *
1088     * @param obj The Elementary object
1089     * @param part The content part name to set (NULL for the default content)
1090     * @param content The new content of the object
1091     *
1092     * @note Elementary objects may have many contents
1093     * @deprecated Use elm_object_part_content_set instead.
1094     * @ingroup General
1095     */
1096    EINA_DEPRECATED EAPI void elm_object_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
1097
1098    /**
1099     * Set a content of an object
1100     *
1101     * @param obj The Elementary object
1102     * @param part The content part name to set (NULL for the default content)
1103     * @param content The new content of the object
1104     *
1105     * @note Elementary objects may have many contents
1106     *
1107     * @ingroup General
1108     */
1109    EAPI void elm_object_part_content_set(Evas_Object *obj, const char *part, Evas_Object *content);
1110
1111 #define elm_object_content_set(obj, content) elm_object_part_content_set((obj), NULL, (content))
1112
1113    /**
1114     * Get a content of an object
1115     *
1116     * @param obj The Elementary object
1117     * @param item The content part name to get (NULL for the default content)
1118     * @return content of the object or NULL for any error
1119     *
1120     * @note Elementary objects may have many contents
1121     * @deprecated Use elm_object_part_content_get instead.
1122     * @ingroup General
1123     */
1124    EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_get(const Evas_Object *obj, const char *part);
1125
1126    /**
1127     * Get a content of an object
1128     *
1129     * @param obj The Elementary object
1130     * @param item The content part name to get (NULL for the default content)
1131     * @return content of the object or NULL for any error
1132     *
1133     * @note Elementary objects may have many contents
1134     *
1135     * @ingroup General
1136     */
1137    EAPI Evas_Object *elm_object_part_content_get(const Evas_Object *obj, const char *part);
1138
1139 #define elm_object_content_get(obj) elm_object_part_content_get((obj), NULL)
1140
1141    /**
1142     * Unset a content of an object
1143     *
1144     * @param obj The Elementary object
1145     * @param item The content part name to unset (NULL for the default content)
1146     *
1147     * @note Elementary objects may have many contents
1148     * @deprecated Use elm_object_part_content_unset instead.
1149     * @ingroup General
1150     */
1151    EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_unset(Evas_Object *obj, const char *part);
1152
1153    /**
1154     * Unset a content of an object
1155     *
1156     * @param obj The Elementary object
1157     * @param item The content part name to unset (NULL for the default content)
1158     *
1159     * @note Elementary objects may have many contents
1160     *
1161     * @ingroup General
1162     */
1163    EAPI Evas_Object *elm_object_part_content_unset(Evas_Object *obj, const char *part);
1164
1165 #define elm_object_content_unset(obj) elm_object_part_content_unset((obj), NULL)
1166
1167    /**
1168     * Set the text to read out when in accessibility mode
1169     *
1170     * @param obj The object which is to be described
1171     * @param txt The text that describes the widget to people with poor or no vision
1172     *
1173     * @ingroup General
1174     */
1175    EAPI void elm_object_access_info_set(Evas_Object *obj, const char *txt);
1176
1177    /**
1178     * Get the widget object's handle which contains a given item
1179     *
1180     * @param item The Elementary object item
1181     * @return The widget object
1182     *
1183     * @note This returns the widget object itself that an item belongs to.
1184     *
1185     * @ingroup General
1186     */
1187    EAPI Evas_Object *elm_object_item_object_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
1188
1189    /**
1190     * Set a content of an object item
1191     *
1192     * @param it The Elementary object item
1193     * @param part The content part name to set (NULL for the default content)
1194     * @param content The new content of the object item
1195     *
1196     * @note Elementary object items may have many contents
1197     * @deprecated Use elm_object_item_part_content_set instead.
1198     * @ingroup General
1199     */
1200    EINA_DEPRECATED EAPI void elm_object_item_content_part_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
1201
1202    /**
1203     * Set a content of an object item
1204     *
1205     * @param it The Elementary object item
1206     * @param part The content part name to set (NULL for the default content)
1207     * @param content The new content of the object item
1208     *
1209     * @note Elementary object items may have many contents
1210     *
1211     * @ingroup General
1212     */
1213    EAPI void elm_object_item_part_content_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
1214
1215 #define elm_object_item_content_set(it, content) elm_object_item_part_content_set((it), NULL, (content))
1216
1217    /**
1218     * Get a content of an object item
1219     *
1220     * @param it The Elementary object item
1221     * @param part The content part name to unset (NULL for the default content)
1222     * @return content of the object item or NULL for any error
1223     *
1224     * @note Elementary object items may have many contents
1225     * @deprecated Use elm_object_item_part_content_get instead.
1226     * @ingroup General
1227     */
1228    EAPI Evas_Object *elm_object_item_content_part_get(const Elm_Object_Item *it, const char *part);
1229
1230    /**
1231     * Get a content of an object item
1232     *
1233     * @param it The Elementary object item
1234     * @param part The content part name to unset (NULL for the default content)
1235     * @return content of the object item or NULL for any error
1236     *
1237     * @note Elementary object items may have many contents
1238     *
1239     * @ingroup General
1240     */
1241    EAPI Evas_Object *elm_object_item_part_content_get(const Elm_Object_Item *it, const char *part);
1242
1243 #define elm_object_item_content_get(it) elm_object_item_part_content_get((it), NULL)
1244
1245    /**
1246     * Unset a content of an object item
1247     *
1248     * @param it The Elementary object item
1249     * @param part The content part name to unset (NULL for the default content)
1250     *
1251     * @note Elementary object items may have many contents
1252     * @deprecated Use elm_object_item_part_content_unset instead.
1253     * @ingroup General
1254     */
1255    EINA_DEPRECATED EAPI Evas_Object *elm_object_item_content_part_unset(Elm_Object_Item *it, const char *part);
1256
1257    /**
1258     * Unset a content of an object item
1259     *
1260     * @param it The Elementary object item
1261     * @param part The content part name to unset (NULL for the default content)
1262     *
1263     * @note Elementary object items may have many contents
1264     *
1265     * @ingroup General
1266     */
1267    EAPI Evas_Object *elm_object_item_part_content_unset(Elm_Object_Item *it, const char *part);
1268
1269 #define elm_object_item_content_unset(it) elm_object_item_part_content_unset((it), NULL)
1270
1271    /**
1272     * Set a label of an object item
1273     *
1274     * @param it The Elementary object item
1275     * @param part The text part name to set (NULL for the default label)
1276     * @param label The new text of the label
1277     *
1278     * @note Elementary object items may have many labels
1279     * @deprecated Use elm_object_item_part_text_set instead.
1280     * @ingroup General
1281     */
1282    EINA_DEPRECATED EAPI void elm_object_item_text_part_set(Elm_Object_Item *it, const char *part, const char *label);
1283
1284    /**
1285     * Set a label of an object item
1286     *
1287     * @param it The Elementary object item
1288     * @param part The text part name to set (NULL for the default label)
1289     * @param label The new text of the label
1290     *
1291     * @note Elementary object items may have many labels
1292     *
1293     * @ingroup General
1294     */
1295    EAPI void elm_object_item_part_text_set(Elm_Object_Item *it, const char *part, const char *label);
1296
1297 #define elm_object_item_text_set(it, label) elm_object_item_part_text_set((it), NULL, (label))
1298
1299    /**
1300     * Get a label of an object item
1301     *
1302     * @param it The Elementary object item
1303     * @param part The text part name to get (NULL for the default label)
1304     * @return text of the label or NULL for any error
1305     *
1306     * @note Elementary object items may have many labels
1307     * @deprecated Use elm_object_item_part_text_get instead.
1308     * @ingroup General
1309     */
1310    EINA_DEPRECATED EAPI const char *elm_object_item_text_part_get(const Elm_Object_Item *it, const char *part);
1311    /**
1312     * Get a label of an object item
1313     *
1314     * @param it The Elementary object item
1315     * @param part The text part name to get (NULL for the default label)
1316     * @return text of the label or NULL for any error
1317     *
1318     * @note Elementary object items may have many labels
1319     *
1320     * @ingroup General
1321     */
1322    EAPI const char *elm_object_item_part_text_get(const Elm_Object_Item *it, const char *part);
1323
1324 #define elm_object_item_text_get(it) elm_object_item_part_text_get((it), NULL)
1325
1326    /**
1327     * Set the text to read out when in accessibility mode
1328     *
1329     * @param it The object item which is to be described
1330     * @param txt The text that describes the widget to people with poor or no vision
1331     *
1332     * @ingroup General
1333     */
1334    EAPI void elm_object_item_access_info_set(Elm_Object_Item *it, const char *txt);
1335
1336    /**
1337     * Get the data associated with an object item
1338     * @param it The Elementary object item
1339     * @return The data associated with @p it
1340     *
1341     * @ingroup General
1342     */
1343    EAPI void *elm_object_item_data_get(const Elm_Object_Item *it);
1344
1345    /**
1346     * Set the data associated with an object item
1347     * @param it The Elementary object item
1348     * @param data The data to be associated with @p it
1349     *
1350     * @ingroup General
1351     */
1352    EAPI void elm_object_item_data_set(Elm_Object_Item *it, void *data);
1353
1354    /**
1355     * Send a signal to the edje object of the widget item.
1356     *
1357     * This function sends a signal to the edje object of the obj item. An
1358     * edje program can respond to a signal by specifying matching
1359     * 'signal' and 'source' fields.
1360     *
1361     * @param it The Elementary object item
1362     * @param emission The signal's name.
1363     * @param source The signal's source.
1364     * @ingroup General
1365     */
1366    EAPI void elm_object_item_signal_emit(Elm_Object_Item *it, const char *emission, const char *source) EINA_ARG_NONNULL(1);
1367
1368    /**
1369     * Set the disabled state of an widget item.
1370     *
1371     * @param obj The Elementary object item
1372     * @param disabled The state to put in in: @c EINA_TRUE for
1373     *        disabled, @c EINA_FALSE for enabled
1374     *
1375     * Elementary object item can be @b disabled, in which state they won't
1376     * receive input and, in general, will be themed differently from
1377     * their normal state, usually greyed out. Useful for contexts
1378     * where you don't want your users to interact with some of the
1379     * parts of you interface.
1380     *
1381     * This sets the state for the widget item, either disabling it or
1382     * enabling it back.
1383     *
1384     * @ingroup Styles
1385     */
1386    EAPI void elm_object_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
1387
1388    /**
1389     * Get the disabled state of an widget item.
1390     *
1391     * @param obj The Elementary object
1392     * @return @c EINA_TRUE, if the widget item is disabled, @c EINA_FALSE
1393     *            if it's enabled (or on errors)
1394     *
1395     * This gets the state of the widget, which might be enabled or disabled.
1396     *
1397     * @ingroup Styles
1398     */
1399    EAPI Eina_Bool    elm_object_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
1400
1401    /**
1402     * @}
1403     */
1404
1405    /**
1406     * @defgroup Caches Caches
1407     *
1408     * These are functions which let one fine-tune some cache values for
1409     * Elementary applications, thus allowing for performance adjustments.
1410     *
1411     * @{
1412     */
1413
1414    /**
1415     * @brief Flush all caches.
1416     *
1417     * Frees all data that was in cache and is not currently being used to reduce
1418     * memory usage. This frees Edje's, Evas' and Eet's cache. This is equivalent
1419     * to calling all of the following functions:
1420     * @li edje_file_cache_flush()
1421     * @li edje_collection_cache_flush()
1422     * @li eet_clearcache()
1423     * @li evas_image_cache_flush()
1424     * @li evas_font_cache_flush()
1425     * @li evas_render_dump()
1426     * @note Evas caches are flushed for every canvas associated with a window.
1427     *
1428     * @ingroup Caches
1429     */
1430    EAPI void         elm_all_flush(void);
1431
1432    /**
1433     * Get the configured cache flush interval time
1434     *
1435     * This gets the globally configured cache flush interval time, in
1436     * ticks
1437     *
1438     * @return The cache flush interval time
1439     * @ingroup Caches
1440     *
1441     * @see elm_all_flush()
1442     */
1443    EAPI int          elm_cache_flush_interval_get(void);
1444
1445    /**
1446     * Set the configured cache flush interval time
1447     *
1448     * This sets the globally configured cache flush interval time, in ticks
1449     *
1450     * @param size The cache flush interval time
1451     * @ingroup Caches
1452     *
1453     * @see elm_all_flush()
1454     */
1455    EAPI void         elm_cache_flush_interval_set(int size);
1456
1457    /**
1458     * Set the configured cache flush interval time for all applications on the
1459     * display
1460     *
1461     * This sets the globally configured cache flush interval time -- in ticks
1462     * -- for all applications on the display.
1463     *
1464     * @param size The cache flush interval time
1465     * @ingroup Caches
1466     */
1467    EAPI void         elm_cache_flush_interval_all_set(int size);
1468
1469    /**
1470     * Get the configured cache flush enabled state
1471     *
1472     * This gets the globally configured cache flush state - if it is enabled
1473     * or not. When cache flushing is enabled, elementary will regularly
1474     * (see elm_cache_flush_interval_get() ) flush caches and dump data out of
1475     * memory and allow usage to re-seed caches and data in memory where it
1476     * can do so. An idle application will thus minimise its memory usage as
1477     * data will be freed from memory and not be re-loaded as it is idle and
1478     * not rendering or doing anything graphically right now.
1479     *
1480     * @return The cache flush state
1481     * @ingroup Caches
1482     *
1483     * @see elm_all_flush()
1484     */
1485    EAPI Eina_Bool    elm_cache_flush_enabled_get(void);
1486
1487    /**
1488     * Set the configured cache flush enabled state
1489     *
1490     * This sets the globally configured cache flush enabled state.
1491     *
1492     * @param size The cache flush enabled state
1493     * @ingroup Caches
1494     *
1495     * @see elm_all_flush()
1496     */
1497    EAPI void         elm_cache_flush_enabled_set(Eina_Bool enabled);
1498
1499    /**
1500     * Set the configured cache flush enabled state for all applications on the
1501     * display
1502     *
1503     * This sets the globally configured cache flush enabled state for all
1504     * applications on the display.
1505     *
1506     * @param size The cache flush enabled state
1507     * @ingroup Caches
1508     */
1509    EAPI void         elm_cache_flush_enabled_all_set(Eina_Bool enabled);
1510
1511    /**
1512     * Get the configured font cache size
1513     *
1514     * This gets the globally configured font cache size, in bytes.
1515     *
1516     * @return The font cache size
1517     * @ingroup Caches
1518     */
1519    EAPI int          elm_font_cache_get(void);
1520
1521    /**
1522     * Set the configured font cache size
1523     *
1524     * This sets the globally configured font cache size, in bytes
1525     *
1526     * @param size The font cache size
1527     * @ingroup Caches
1528     */
1529    EAPI void         elm_font_cache_set(int size);
1530
1531    /**
1532     * Set the configured font cache size for all applications on the
1533     * display
1534     *
1535     * This sets the globally configured font cache size -- in bytes
1536     * -- for all applications on the display.
1537     *
1538     * @param size The font cache size
1539     * @ingroup Caches
1540     */
1541    EAPI void         elm_font_cache_all_set(int size);
1542
1543    /**
1544     * Get the configured image cache size
1545     *
1546     * This gets the globally configured image cache size, in bytes
1547     *
1548     * @return The image cache size
1549     * @ingroup Caches
1550     */
1551    EAPI int          elm_image_cache_get(void);
1552
1553    /**
1554     * Set the configured image cache size
1555     *
1556     * This sets the globally configured image cache size, in bytes
1557     *
1558     * @param size The image cache size
1559     * @ingroup Caches
1560     */
1561    EAPI void         elm_image_cache_set(int size);
1562
1563    /**
1564     * Set the configured image cache size for all applications on the
1565     * display
1566     *
1567     * This sets the globally configured image cache size -- in bytes
1568     * -- for all applications on the display.
1569     *
1570     * @param size The image cache size
1571     * @ingroup Caches
1572     */
1573    EAPI void         elm_image_cache_all_set(int size);
1574
1575    /**
1576     * Get the configured edje file cache size.
1577     *
1578     * This gets the globally configured edje file cache size, in number
1579     * of files.
1580     *
1581     * @return The edje file cache size
1582     * @ingroup Caches
1583     */
1584    EAPI int          elm_edje_file_cache_get(void);
1585
1586    /**
1587     * Set the configured edje file cache size
1588     *
1589     * This sets the globally configured edje file cache size, in number
1590     * of files.
1591     *
1592     * @param size The edje file cache size
1593     * @ingroup Caches
1594     */
1595    EAPI void         elm_edje_file_cache_set(int size);
1596
1597    /**
1598     * Set the configured edje file cache size for all applications on the
1599     * display
1600     *
1601     * This sets the globally configured edje file cache size -- in number
1602     * of files -- for all applications on the display.
1603     *
1604     * @param size The edje file cache size
1605     * @ingroup Caches
1606     */
1607    EAPI void         elm_edje_file_cache_all_set(int size);
1608
1609    /**
1610     * Get the configured edje collections (groups) cache size.
1611     *
1612     * This gets the globally configured edje collections cache size, in
1613     * number of collections.
1614     *
1615     * @return The edje collections cache size
1616     * @ingroup Caches
1617     */
1618    EAPI int          elm_edje_collection_cache_get(void);
1619
1620    /**
1621     * Set the configured edje collections (groups) cache size
1622     *
1623     * This sets the globally configured edje collections cache size, in
1624     * number of collections.
1625     *
1626     * @param size The edje collections cache size
1627     * @ingroup Caches
1628     */
1629    EAPI void         elm_edje_collection_cache_set(int size);
1630
1631    /**
1632     * Set the configured edje collections (groups) cache size for all
1633     * applications on the display
1634     *
1635     * This sets the globally configured edje collections cache size -- in
1636     * number of collections -- for all applications on the display.
1637     *
1638     * @param size The edje collections cache size
1639     * @ingroup Caches
1640     */
1641    EAPI void         elm_edje_collection_cache_all_set(int size);
1642
1643    /**
1644     * @}
1645     */
1646
1647    /**
1648     * @defgroup Scaling Widget Scaling
1649     *
1650     * Different widgets can be scaled independently. These functions
1651     * allow you to manipulate this scaling on a per-widget basis. The
1652     * object and all its children get their scaling factors multiplied
1653     * by the scale factor set. This is multiplicative, in that if a
1654     * child also has a scale size set it is in turn multiplied by its
1655     * parent's scale size. @c 1.0 means ā€œdon't scaleā€, @c 2.0 is
1656     * double size, @c 0.5 is half, etc.
1657     *
1658     * @ref general_functions_example_page "This" example contemplates
1659     * some of these functions.
1660     */
1661
1662    /**
1663     * Get the global scaling factor
1664     *
1665     * This gets the globally configured scaling factor that is applied to all
1666     * objects.
1667     *
1668     * @return The scaling factor
1669     * @ingroup Scaling
1670     */
1671    EAPI double       elm_scale_get(void);
1672
1673    /**
1674     * Set the global scaling factor
1675     *
1676     * This sets the globally configured scaling factor that is applied to all
1677     * objects.
1678     *
1679     * @param scale The scaling factor to set
1680     * @ingroup Scaling
1681     */
1682    EAPI void         elm_scale_set(double scale);
1683
1684    /**
1685     * Set the global scaling factor for all applications on the display
1686     *
1687     * This sets the globally configured scaling factor that is applied to all
1688     * objects for all applications.
1689     * @param scale The scaling factor to set
1690     * @ingroup Scaling
1691     */
1692    EAPI void         elm_scale_all_set(double scale);
1693
1694    /**
1695     * Set the scaling factor for a given Elementary object
1696     *
1697     * @param obj The Elementary to operate on
1698     * @param scale Scale factor (from @c 0.0 up, with @c 1.0 meaning
1699     * no scaling)
1700     *
1701     * @ingroup Scaling
1702     */
1703    EAPI void         elm_object_scale_set(Evas_Object *obj, double scale) EINA_ARG_NONNULL(1);
1704
1705    /**
1706     * Get the scaling factor for a given Elementary object
1707     *
1708     * @param obj The object
1709     * @return The scaling factor set by elm_object_scale_set()
1710     *
1711     * @ingroup Scaling
1712     */
1713    EAPI double       elm_object_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1714
1715    /**
1716     * @defgroup Password_last_show Password last input show
1717     *
1718     * Last show feature of password mode enables user to view
1719     * the last input entered for few seconds before masking it.
1720     * These functions allow to set this feature in password mode
1721     * of entry widget and also allow to manipulate the duration
1722     * for which the input has to be visible.
1723     *
1724     * @{
1725     */
1726
1727    /**
1728     * Get show last setting of password mode.
1729     *
1730     * This gets the show last input setting of password mode which might be
1731     * enabled or disabled.
1732     *
1733     * @return @c EINA_TRUE, if the last input show setting is enabled, @c EINA_FALSE
1734     *            if it's disabled.
1735     * @ingroup Password_last_show
1736     */
1737    EAPI Eina_Bool elm_password_show_last_get(void);
1738
1739    /**
1740     * Set show last setting in password mode.
1741     *
1742     * This enables or disables show last setting of password mode.
1743     *
1744     * @param password_show_last If EINA_TRUE enable's last input show in password mode.
1745     * @see elm_password_show_last_timeout_set()
1746     * @ingroup Password_last_show
1747     */
1748    EAPI void elm_password_show_last_set(Eina_Bool password_show_last);
1749
1750    /**
1751     * Get's the timeout value in last show password mode.
1752     *
1753     * This gets the time out value for which the last input entered in password
1754     * mode will be visible.
1755     *
1756     * @return The timeout value of last show password mode.
1757     * @ingroup Password_last_show
1758     */
1759    EAPI double elm_password_show_last_timeout_get(void);
1760
1761    /**
1762     * Set's the timeout value in last show password mode.
1763     *
1764     * This sets the time out value for which the last input entered in password
1765     * mode will be visible.
1766     *
1767     * @param password_show_last_timeout The timeout value.
1768     * @see elm_password_show_last_set()
1769     * @ingroup Password_last_show
1770     */
1771    EAPI void elm_password_show_last_timeout_set(double password_show_last_timeout);
1772
1773    /**
1774     * @}
1775     */
1776
1777    /**
1778     * @defgroup UI-Mirroring Selective Widget mirroring
1779     *
1780     * These functions allow you to set ui-mirroring on specific
1781     * widgets or the whole interface. Widgets can be in one of two
1782     * modes, automatic and manual.  Automatic means they'll be changed
1783     * according to the system mirroring mode and manual means only
1784     * explicit changes will matter. You are not supposed to change
1785     * mirroring state of a widget set to automatic, will mostly work,
1786     * but the behavior is not really defined.
1787     *
1788     * @{
1789     */
1790
1791    EAPI Eina_Bool    elm_mirrored_get(void);
1792    EAPI void         elm_mirrored_set(Eina_Bool mirrored);
1793
1794    /**
1795     * Get the system mirrored mode. This determines the default mirrored mode
1796     * of widgets.
1797     *
1798     * @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
1799     */
1800    EAPI Eina_Bool    elm_object_mirrored_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1801
1802    /**
1803     * Set the system mirrored mode. This determines the default mirrored mode
1804     * of widgets.
1805     *
1806     * @param mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
1807     */
1808    EAPI void         elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored) EINA_ARG_NONNULL(1);
1809
1810    /**
1811     * Returns the widget's mirrored mode setting.
1812     *
1813     * @param obj The widget.
1814     * @return mirrored mode setting of the object.
1815     *
1816     **/
1817    EAPI Eina_Bool    elm_object_mirrored_automatic_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1818
1819    /**
1820     * Sets the widget's mirrored mode setting.
1821     * When widget in automatic mode, it follows the system mirrored mode set by
1822     * elm_mirrored_set().
1823     * @param obj The widget.
1824     * @param automatic EINA_TRUE for auto mirrored mode. EINA_FALSE for manual.
1825     */
1826    EAPI void         elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic) EINA_ARG_NONNULL(1);
1827
1828    /**
1829     * @}
1830     */
1831
1832    /**
1833     * Set the style to use by a widget
1834     *
1835     * Sets the style name that will define the appearance of a widget. Styles
1836     * vary from widget to widget and may also be defined by other themes
1837     * by means of extensions and overlays.
1838     *
1839     * @param obj The Elementary widget to style
1840     * @param style The style name to use
1841     *
1842     * @see elm_theme_extension_add()
1843     * @see elm_theme_extension_del()
1844     * @see elm_theme_overlay_add()
1845     * @see elm_theme_overlay_del()
1846     *
1847     * @ingroup Styles
1848     */
1849    EAPI void         elm_object_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
1850    /**
1851     * Get the style used by the widget
1852     *
1853     * This gets the style being used for that widget. Note that the string
1854     * pointer is only valid as longas the object is valid and the style doesn't
1855     * change.
1856     *
1857     * @param obj The Elementary widget to query for its style
1858     * @return The style name used
1859     *
1860     * @see elm_object_style_set()
1861     *
1862     * @ingroup Styles
1863     */
1864    EAPI const char  *elm_object_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1865
1866    /**
1867     * @defgroup Styles Styles
1868     *
1869     * Widgets can have different styles of look. These generic API's
1870     * set styles of widgets, if they support them (and if the theme(s)
1871     * do).
1872     *
1873     * @ref general_functions_example_page "This" example contemplates
1874     * some of these functions.
1875     */
1876
1877    /**
1878     * Set the disabled state of an Elementary object.
1879     *
1880     * @param obj The Elementary object to operate on
1881     * @param disabled The state to put in in: @c EINA_TRUE for
1882     *        disabled, @c EINA_FALSE for enabled
1883     *
1884     * Elementary objects can be @b disabled, in which state they won't
1885     * receive input and, in general, will be themed differently from
1886     * their normal state, usually greyed out. Useful for contexts
1887     * where you don't want your users to interact with some of the
1888     * parts of you interface.
1889     *
1890     * This sets the state for the widget, either disabling it or
1891     * enabling it back.
1892     *
1893     * @ingroup Styles
1894     */
1895    EAPI void         elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
1896
1897    /**
1898     * Get the disabled state of an Elementary object.
1899     *
1900     * @param obj The Elementary object to operate on
1901     * @return @c EINA_TRUE, if the widget is disabled, @c EINA_FALSE
1902     *            if it's enabled (or on errors)
1903     *
1904     * This gets the state of the widget, which might be enabled or disabled.
1905     *
1906     * @ingroup Styles
1907     */
1908    EAPI Eina_Bool    elm_object_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1909
1910    /**
1911     * @defgroup WidgetNavigation Widget Tree Navigation.
1912     *
1913     * How to check if an Evas Object is an Elementary widget? How to
1914     * get the first elementary widget that is parent of the given
1915     * object?  These are all covered in widget tree navigation.
1916     *
1917     * @ref general_functions_example_page "This" example contemplates
1918     * some of these functions.
1919     */
1920
1921    /**
1922     * Check if the given Evas Object is an Elementary widget.
1923     *
1924     * @param obj the object to query.
1925     * @return @c EINA_TRUE if it is an elementary widget variant,
1926     *         @c EINA_FALSE otherwise
1927     * @ingroup WidgetNavigation
1928     */
1929    EAPI Eina_Bool    elm_object_widget_check(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1930
1931    /**
1932     * Get the first parent of the given object that is an Elementary
1933     * widget.
1934     *
1935     * @param obj the Elementary object to query parent from.
1936     * @return the parent object that is an Elementary widget, or @c
1937     *         NULL, if it was not found.
1938     *
1939     * Use this to query for an object's parent widget.
1940     *
1941     * @note Most of Elementary users wouldn't be mixing non-Elementary
1942     * smart objects in the objects tree of an application, as this is
1943     * an advanced usage of Elementary with Evas. So, except for the
1944     * application's window, which is the root of that tree, all other
1945     * objects would have valid Elementary widget parents.
1946     *
1947     * @ingroup WidgetNavigation
1948     */
1949    EAPI Evas_Object *elm_object_parent_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1950
1951    /**
1952     * Get the top level parent of an Elementary widget.
1953     *
1954     * @param obj The object to query.
1955     * @return The top level Elementary widget, or @c NULL if parent cannot be
1956     * found.
1957     * @ingroup WidgetNavigation
1958     */
1959    EAPI Evas_Object *elm_object_top_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1960
1961    /**
1962     * Get the string that represents this Elementary widget.
1963     *
1964     * @note Elementary is weird and exposes itself as a single
1965     *       Evas_Object_Smart_Class of type "elm_widget", so
1966     *       evas_object_type_get() always return that, making debug and
1967     *       language bindings hard. This function tries to mitigate this
1968     *       problem, but the solution is to change Elementary to use
1969     *       proper inheritance.
1970     *
1971     * @param obj the object to query.
1972     * @return Elementary widget name, or @c NULL if not a valid widget.
1973     * @ingroup WidgetNavigation
1974     */
1975    EAPI const char  *elm_object_widget_type_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1976
1977    /**
1978     * @defgroup Config Elementary Config
1979     *
1980     * Elementary configuration is formed by a set options bounded to a
1981     * given @ref Profile profile, like @ref Theme theme, @ref Fingers
1982     * "finger size", etc. These are functions with which one syncronizes
1983     * changes made to those values to the configuration storing files, de
1984     * facto. You most probably don't want to use the functions in this
1985     * group unlees you're writing an elementary configuration manager.
1986     *
1987     * @{
1988     */
1989
1990    /**
1991     * Save back Elementary's configuration, so that it will persist on
1992     * future sessions.
1993     *
1994     * @return @c EINA_TRUE, when sucessful. @c EINA_FALSE, otherwise.
1995     * @ingroup Config
1996     *
1997     * This function will take effect -- thus, do I/O -- immediately. Use
1998     * it when you want to apply all configuration changes at once. The
1999     * current configuration set will get saved onto the current profile
2000     * configuration file.
2001     *
2002     */
2003    EAPI Eina_Bool    elm_config_save(void);
2004
2005    /**
2006     * Reload Elementary's configuration, bounded to current selected
2007     * profile.
2008     *
2009     * @return @c EINA_TRUE, when sucessful. @c EINA_FALSE, otherwise.
2010     * @ingroup Config
2011     *
2012     * Useful when you want to force reloading of configuration values for
2013     * a profile. If one removes user custom configuration directories,
2014     * for example, it will force a reload with system values instead.
2015     *
2016     */
2017    EAPI void         elm_config_reload(void);
2018
2019    /**
2020     * @}
2021     */
2022
2023    /**
2024     * @defgroup Profile Elementary Profile
2025     *
2026     * Profiles are pre-set options that affect the whole look-and-feel of
2027     * Elementary-based applications. There are, for example, profiles
2028     * aimed at desktop computer applications and others aimed at mobile,
2029     * touchscreen-based ones. You most probably don't want to use the
2030     * functions in this group unlees you're writing an elementary
2031     * configuration manager.
2032     *
2033     * @{
2034     */
2035
2036    /**
2037     * Get Elementary's profile in use.
2038     *
2039     * This gets the global profile that is applied to all Elementary
2040     * applications.
2041     *
2042     * @return The profile's name
2043     * @ingroup Profile
2044     */
2045    EAPI const char  *elm_profile_current_get(void);
2046
2047    /**
2048     * Get an Elementary's profile directory path in the filesystem. One
2049     * may want to fetch a system profile's dir or an user one (fetched
2050     * inside $HOME).
2051     *
2052     * @param profile The profile's name
2053     * @param is_user Whether to lookup for an user profile (@c EINA_TRUE)
2054     *                or a system one (@c EINA_FALSE)
2055     * @return The profile's directory path.
2056     * @ingroup Profile
2057     *
2058     * @note You must free it with elm_profile_dir_free().
2059     */
2060    EAPI const char  *elm_profile_dir_get(const char *profile, Eina_Bool is_user);
2061
2062    /**
2063     * Free an Elementary's profile directory path, as returned by
2064     * elm_profile_dir_get().
2065     *
2066     * @param p_dir The profile's path
2067     * @ingroup Profile
2068     *
2069     */
2070    EAPI void         elm_profile_dir_free(const char *p_dir);
2071
2072    /**
2073     * Get Elementary's list of available profiles.
2074     *
2075     * @return The profiles list. List node data are the profile name
2076     *         strings.
2077     * @ingroup Profile
2078     *
2079     * @note One must free this list, after usage, with the function
2080     *       elm_profile_list_free().
2081     */
2082    EAPI Eina_List   *elm_profile_list_get(void);
2083
2084    /**
2085     * Free Elementary's list of available profiles.
2086     *
2087     * @param l The profiles list, as returned by elm_profile_list_get().
2088     * @ingroup Profile
2089     *
2090     */
2091    EAPI void         elm_profile_list_free(Eina_List *l);
2092
2093    /**
2094     * Set Elementary's profile.
2095     *
2096     * This sets the global profile that is applied to Elementary
2097     * applications. Just the process the call comes from will be
2098     * affected.
2099     *
2100     * @param profile The profile's name
2101     * @ingroup Profile
2102     *
2103     */
2104    EAPI void         elm_profile_set(const char *profile);
2105
2106    /**
2107     * Set Elementary's profile.
2108     *
2109     * This sets the global profile that is applied to all Elementary
2110     * applications. All running Elementary windows will be affected.
2111     *
2112     * @param profile The profile's name
2113     * @ingroup Profile
2114     *
2115     */
2116    EAPI void         elm_profile_all_set(const char *profile);
2117
2118    /**
2119     * @}
2120     */
2121
2122    /**
2123     * @defgroup Engine Elementary Engine
2124     *
2125     * These are functions setting and querying which rendering engine
2126     * Elementary will use for drawing its windows' pixels.
2127     *
2128     * The following are the available engines:
2129     * @li "software_x11"
2130     * @li "fb"
2131     * @li "directfb"
2132     * @li "software_16_x11"
2133     * @li "software_8_x11"
2134     * @li "xrender_x11"
2135     * @li "opengl_x11"
2136     * @li "software_gdi"
2137     * @li "software_16_wince_gdi"
2138     * @li "sdl"
2139     * @li "software_16_sdl"
2140     * @li "opengl_sdl"
2141     * @li "buffer"
2142     * @li "ews"
2143     * @li "opengl_cocoa"
2144     * @li "psl1ght"
2145     *
2146     * @{
2147     */
2148
2149    /**
2150     * @brief Get Elementary's rendering engine in use.
2151     *
2152     * @return The rendering engine's name
2153     * @note there's no need to free the returned string, here.
2154     *
2155     * This gets the global rendering engine that is applied to all Elementary
2156     * applications.
2157     *
2158     * @see elm_engine_set()
2159     */
2160    EAPI const char  *elm_engine_current_get(void);
2161
2162    /**
2163     * @brief Set Elementary's rendering engine for use.
2164     *
2165     * @param engine The rendering engine's name
2166     *
2167     * This sets global rendering engine that is applied to all Elementary
2168     * applications. Note that it will take effect only to Elementary windows
2169     * created after this is called.
2170     *
2171     * @see elm_win_add()
2172     */
2173    EAPI void         elm_engine_set(const char *engine);
2174
2175    /**
2176     * @}
2177     */
2178
2179    /**
2180     * @defgroup Fonts Elementary Fonts
2181     *
2182     * These are functions dealing with font rendering, selection and the
2183     * like for Elementary applications. One might fetch which system
2184     * fonts are there to use and set custom fonts for individual classes
2185     * of UI items containing text (text classes).
2186     *
2187     * @{
2188     */
2189
2190   typedef struct _Elm_Text_Class
2191     {
2192        const char *name;
2193        const char *desc;
2194     } Elm_Text_Class;
2195
2196   typedef struct _Elm_Font_Overlay
2197     {
2198        const char     *text_class;
2199        const char     *font;
2200        Evas_Font_Size  size;
2201     } Elm_Font_Overlay;
2202
2203   typedef struct _Elm_Font_Properties
2204     {
2205        const char *name;
2206        Eina_List  *styles;
2207     } Elm_Font_Properties;
2208
2209    /**
2210     * Get Elementary's list of supported text classes.
2211     *
2212     * @return The text classes list, with @c Elm_Text_Class blobs as data.
2213     * @ingroup Fonts
2214     *
2215     * Release the list with elm_text_classes_list_free().
2216     */
2217    EAPI const Eina_List     *elm_text_classes_list_get(void);
2218
2219    /**
2220     * Free Elementary's list of supported text classes.
2221     *
2222     * @ingroup Fonts
2223     *
2224     * @see elm_text_classes_list_get().
2225     */
2226    EAPI void                 elm_text_classes_list_free(const Eina_List *list);
2227
2228    /**
2229     * Get Elementary's list of font overlays, set with
2230     * elm_font_overlay_set().
2231     *
2232     * @return The font overlays list, with @c Elm_Font_Overlay blobs as
2233     * data.
2234     *
2235     * @ingroup Fonts
2236     *
2237     * For each text class, one can set a <b>font overlay</b> for it,
2238     * overriding the default font properties for that class coming from
2239     * the theme in use. There is no need to free this list.
2240     *
2241     * @see elm_font_overlay_set() and elm_font_overlay_unset().
2242     */
2243    EAPI const Eina_List     *elm_font_overlay_list_get(void);
2244
2245    /**
2246     * Set a font overlay for a given Elementary text class.
2247     *
2248     * @param text_class Text class name
2249     * @param font Font name and style string
2250     * @param size Font size
2251     *
2252     * @ingroup Fonts
2253     *
2254     * @p font has to be in the format returned by
2255     * elm_font_fontconfig_name_get(). @see elm_font_overlay_list_get()
2256     * and elm_font_overlay_unset().
2257     */
2258    EAPI void                 elm_font_overlay_set(const char *text_class, const char *font, Evas_Font_Size size);
2259
2260    /**
2261     * Unset a font overlay for a given Elementary text class.
2262     *
2263     * @param text_class Text class name
2264     *
2265     * @ingroup Fonts
2266     *
2267     * This will bring back text elements belonging to text class
2268     * @p text_class back to their default font settings.
2269     */
2270    EAPI void                 elm_font_overlay_unset(const char *text_class);
2271
2272    /**
2273     * Apply the changes made with elm_font_overlay_set() and
2274     * elm_font_overlay_unset() on the current Elementary window.
2275     *
2276     * @ingroup Fonts
2277     *
2278     * This applies all font overlays set to all objects in the UI.
2279     */
2280    EAPI void                 elm_font_overlay_apply(void);
2281
2282    /**
2283     * Apply the changes made with elm_font_overlay_set() and
2284     * elm_font_overlay_unset() on all Elementary application windows.
2285     *
2286     * @ingroup Fonts
2287     *
2288     * This applies all font overlays set to all objects in the UI.
2289     */
2290    EAPI void                 elm_font_overlay_all_apply(void);
2291
2292    /**
2293     * Translate a font (family) name string in fontconfig's font names
2294     * syntax into an @c Elm_Font_Properties struct.
2295     *
2296     * @param font The font name and styles string
2297     * @return the font properties struct
2298     *
2299     * @ingroup Fonts
2300     *
2301     * @note The reverse translation can be achived with
2302     * elm_font_fontconfig_name_get(), for one style only (single font
2303     * instance, not family).
2304     */
2305    EAPI Elm_Font_Properties *elm_font_properties_get(const char *font) EINA_ARG_NONNULL(1);
2306
2307    /**
2308     * Free font properties return by elm_font_properties_get().
2309     *
2310     * @param efp the font properties struct
2311     *
2312     * @ingroup Fonts
2313     */
2314    EAPI void                 elm_font_properties_free(Elm_Font_Properties *efp) EINA_ARG_NONNULL(1);
2315
2316    /**
2317     * Translate a font name, bound to a style, into fontconfig's font names
2318     * syntax.
2319     *
2320     * @param name The font (family) name
2321     * @param style The given style (may be @c NULL)
2322     *
2323     * @return the font name and style string
2324     *
2325     * @ingroup Fonts
2326     *
2327     * @note The reverse translation can be achived with
2328     * elm_font_properties_get(), for one style only (single font
2329     * instance, not family).
2330     */
2331    EAPI const char          *elm_font_fontconfig_name_get(const char *name, const char *style) EINA_ARG_NONNULL(1);
2332
2333    /**
2334     * Free the font string return by elm_font_fontconfig_name_get().
2335     *
2336     * @param efp the font properties struct
2337     *
2338     * @ingroup Fonts
2339     */
2340    EAPI void                 elm_font_fontconfig_name_free(const char *name) EINA_ARG_NONNULL(1);
2341
2342    /**
2343     * Create a font hash table of available system fonts.
2344     *
2345     * One must call it with @p list being the return value of
2346     * evas_font_available_list(). The hash will be indexed by font
2347     * (family) names, being its values @c Elm_Font_Properties blobs.
2348     *
2349     * @param list The list of available system fonts, as returned by
2350     * evas_font_available_list().
2351     * @return the font hash.
2352     *
2353     * @ingroup Fonts
2354     *
2355     * @note The user is supposed to get it populated at least with 3
2356     * default font families (Sans, Serif, Monospace), which should be
2357     * present on most systems.
2358     */
2359    EAPI Eina_Hash           *elm_font_available_hash_add(Eina_List *list);
2360
2361    /**
2362     * Free the hash return by elm_font_available_hash_add().
2363     *
2364     * @param hash the hash to be freed.
2365     *
2366     * @ingroup Fonts
2367     */
2368    EAPI void                 elm_font_available_hash_del(Eina_Hash *hash);
2369
2370    /**
2371     * @}
2372     */
2373
2374    /**
2375     * @defgroup Fingers Fingers
2376     *
2377     * Elementary is designed to be finger-friendly for touchscreens,
2378     * and so in addition to scaling for display resolution, it can
2379     * also scale based on finger "resolution" (or size). You can then
2380     * customize the granularity of the areas meant to receive clicks
2381     * on touchscreens.
2382     *
2383     * Different profiles may have pre-set values for finger sizes.
2384     *
2385     * @ref general_functions_example_page "This" example contemplates
2386     * some of these functions.
2387     *
2388     * @{
2389     */
2390
2391    /**
2392     * Get the configured "finger size"
2393     *
2394     * @return The finger size
2395     *
2396     * This gets the globally configured finger size, <b>in pixels</b>
2397     *
2398     * @ingroup Fingers
2399     */
2400    EAPI Evas_Coord       elm_finger_size_get(void);
2401
2402    /**
2403     * Set the configured finger size
2404     *
2405     * This sets the globally configured finger size in pixels
2406     *
2407     * @param size The finger size
2408     * @ingroup Fingers
2409     */
2410    EAPI void             elm_finger_size_set(Evas_Coord size);
2411
2412    /**
2413     * Set the configured finger size for all applications on the display
2414     *
2415     * This sets the globally configured finger size in pixels for all
2416     * applications on the display
2417     *
2418     * @param size The finger size
2419     * @ingroup Fingers
2420     */
2421    EAPI void             elm_finger_size_all_set(Evas_Coord size);
2422
2423    /**
2424     * @}
2425     */
2426
2427    /**
2428     * @defgroup Focus Focus
2429     *
2430     * An Elementary application has, at all times, one (and only one)
2431     * @b focused object. This is what determines where the input
2432     * events go to within the application's window. Also, focused
2433     * objects can be decorated differently, in order to signal to the
2434     * user where the input is, at a given moment.
2435     *
2436     * Elementary applications also have the concept of <b>focus
2437     * chain</b>: one can cycle through all the windows' focusable
2438     * objects by input (tab key) or programmatically. The default
2439     * focus chain for an application is the one define by the order in
2440     * which the widgets where added in code. One will cycle through
2441     * top level widgets, and, for each one containg sub-objects, cycle
2442     * through them all, before returning to the level
2443     * above. Elementary also allows one to set @b custom focus chains
2444     * for their applications.
2445     *
2446     * Besides the focused decoration a widget may exhibit, when it
2447     * gets focus, Elementary has a @b global focus highlight object
2448     * that can be enabled for a window. If one chooses to do so, this
2449     * extra highlight effect will surround the current focused object,
2450     * too.
2451     *
2452     * @note Some Elementary widgets are @b unfocusable, after
2453     * creation, by their very nature: they are not meant to be
2454     * interacted with input events, but are there just for visual
2455     * purposes.
2456     *
2457     * @ref general_functions_example_page "This" example contemplates
2458     * some of these functions.
2459     */
2460
2461    /**
2462     * Get the enable status of the focus highlight
2463     *
2464     * This gets whether the highlight on focused objects is enabled or not
2465     * @ingroup Focus
2466     */
2467    EAPI Eina_Bool        elm_focus_highlight_enabled_get(void);
2468
2469    /**
2470     * Set the enable status of the focus highlight
2471     *
2472     * Set whether to show or not the highlight on focused objects
2473     * @param enable Enable highlight if EINA_TRUE, disable otherwise
2474     * @ingroup Focus
2475     */
2476    EAPI void             elm_focus_highlight_enabled_set(Eina_Bool enable);
2477
2478    /**
2479     * Get the enable status of the highlight animation
2480     *
2481     * Get whether the focus highlight, if enabled, will animate its switch from
2482     * one object to the next
2483     * @ingroup Focus
2484     */
2485    EAPI Eina_Bool        elm_focus_highlight_animate_get(void);
2486
2487    /**
2488     * Set the enable status of the highlight animation
2489     *
2490     * Set whether the focus highlight, if enabled, will animate its switch from
2491     * one object to the next
2492     * @param animate Enable animation if EINA_TRUE, disable otherwise
2493     * @ingroup Focus
2494     */
2495    EAPI void             elm_focus_highlight_animate_set(Eina_Bool animate);
2496
2497    /**
2498     * Get the whether an Elementary object has the focus or not.
2499     *
2500     * @param obj The Elementary object to get the information from
2501     * @return @c EINA_TRUE, if the object is focused, @c EINA_FALSE if
2502     *            not (and on errors).
2503     *
2504     * @see elm_object_focus_set()
2505     *
2506     * @ingroup Focus
2507     */
2508    EAPI Eina_Bool        elm_object_focus_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2509
2510    /**
2511     * Set/unset focus to a given Elementary object.
2512     *
2513     * @param obj The Elementary object to operate on.
2514     * @param enable @c EINA_TRUE Set focus to a given object,
2515     *               @c EINA_FALSE Unset focus to a given object.
2516     *
2517     * @note When you set focus to this object, if it can handle focus, will
2518     * take the focus away from the one who had it previously and will, for
2519     * now on, be the one receiving input events. Unsetting focus will remove
2520     * the focus from @p obj, passing it back to the previous element in the
2521     * focus chain list.
2522     *
2523     * @see elm_object_focus_get(), elm_object_focus_custom_chain_get()
2524     *
2525     * @ingroup Focus
2526     */
2527    EAPI void             elm_object_focus_set(Evas_Object *obj, Eina_Bool focus) EINA_ARG_NONNULL(1);
2528
2529    /**
2530     * Make a given Elementary object the focused one.
2531     *
2532     * @param obj The Elementary object to make focused.
2533     *
2534     * @note This object, if it can handle focus, will take the focus
2535     * away from the one who had it previously and will, for now on, be
2536     * the one receiving input events.
2537     *
2538     * @see elm_object_focus_get()
2539     * @deprecated use elm_object_focus_set() instead.
2540     *
2541     * @ingroup Focus
2542     */
2543    EINA_DEPRECATED EAPI void             elm_object_focus(Evas_Object *obj) EINA_ARG_NONNULL(1);
2544
2545    /**
2546     * Remove the focus from an Elementary object
2547     *
2548     * @param obj The Elementary to take focus from
2549     *
2550     * This removes the focus from @p obj, passing it back to the
2551     * previous element in the focus chain list.
2552     *
2553     * @see elm_object_focus() and elm_object_focus_custom_chain_get()
2554     * @deprecated use elm_object_focus_set() instead.
2555     *
2556     * @ingroup Focus
2557     */
2558    EINA_DEPRECATED EAPI void             elm_object_unfocus(Evas_Object *obj) EINA_ARG_NONNULL(1);
2559
2560    /**
2561     * Set the ability for an Element object to be focused
2562     *
2563     * @param obj The Elementary object to operate on
2564     * @param enable @c EINA_TRUE if the object can be focused, @c
2565     *        EINA_FALSE if not (and on errors)
2566     *
2567     * This sets whether the object @p obj is able to take focus or
2568     * not. Unfocusable objects do nothing when programmatically
2569     * focused, being the nearest focusable parent object the one
2570     * really getting focus. Also, when they receive mouse input, they
2571     * will get the event, but not take away the focus from where it
2572     * was previously.
2573     *
2574     * @ingroup Focus
2575     */
2576    EAPI void             elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable) EINA_ARG_NONNULL(1);
2577
2578    /**
2579     * Get whether an Elementary object is focusable or not
2580     *
2581     * @param obj The Elementary object to operate on
2582     * @return @c EINA_TRUE if the object is allowed to be focused, @c
2583     *             EINA_FALSE if not (and on errors)
2584     *
2585     * @note Objects which are meant to be interacted with by input
2586     * events are created able to be focused, by default. All the
2587     * others are not.
2588     *
2589     * @ingroup Focus
2590     */
2591    EAPI Eina_Bool        elm_object_focus_allow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2592
2593    /**
2594     * Set custom focus chain.
2595     *
2596     * This function overwrites any previous custom focus chain within
2597     * the list of objects. The previous list will be deleted and this list
2598     * will be managed by elementary. After it is set, don't modify it.
2599     *
2600     * @note On focus cycle, only will be evaluated children of this container.
2601     *
2602     * @param obj The container object
2603     * @param objs Chain of objects to pass focus
2604     * @ingroup Focus
2605     */
2606    EAPI void             elm_object_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs) EINA_ARG_NONNULL(1);
2607
2608    /**
2609     * Unset a custom focus chain on a given Elementary widget
2610     *
2611     * @param obj The container object to remove focus chain from
2612     *
2613     * Any focus chain previously set on @p obj (for its child objects)
2614     * is removed entirely after this call.
2615     *
2616     * @ingroup Focus
2617     */
2618    EAPI void             elm_object_focus_custom_chain_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
2619
2620    /**
2621     * Get custom focus chain
2622     *
2623     * @param obj The container object
2624     * @ingroup Focus
2625     */
2626    EAPI const Eina_List *elm_object_focus_custom_chain_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2627
2628    /**
2629     * Append object to custom focus chain.
2630     *
2631     * @note If relative_child equal to NULL or not in custom chain, the object
2632     * will be added in end.
2633     *
2634     * @note On focus cycle, only will be evaluated children of this container.
2635     *
2636     * @param obj The container object
2637     * @param child The child to be added in custom chain
2638     * @param relative_child The relative object to position the child
2639     * @ingroup Focus
2640     */
2641    EAPI void             elm_object_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
2642
2643    /**
2644     * Prepend object to custom focus chain.
2645     *
2646     * @note If relative_child equal to NULL or not in custom chain, the object
2647     * will be added in begin.
2648     *
2649     * @note On focus cycle, only will be evaluated children of this container.
2650     *
2651     * @param obj The container object
2652     * @param child The child to be added in custom chain
2653     * @param relative_child The relative object to position the child
2654     * @ingroup Focus
2655     */
2656    EAPI void             elm_object_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
2657
2658    /**
2659     * Give focus to next object in object tree.
2660     *
2661     * Give focus to next object in focus chain of one object sub-tree.
2662     * If the last object of chain already have focus, the focus will go to the
2663     * first object of chain.
2664     *
2665     * @param obj The object root of sub-tree
2666     * @param dir Direction to cycle the focus
2667     *
2668     * @ingroup Focus
2669     */
2670    EAPI void             elm_object_focus_cycle(Evas_Object *obj, Elm_Focus_Direction dir) EINA_ARG_NONNULL(1);
2671
2672    /**
2673     * Give focus to near object in one direction.
2674     *
2675     * Give focus to near object in direction of one object.
2676     * If none focusable object in given direction, the focus will not change.
2677     *
2678     * @param obj The reference object
2679     * @param x Horizontal component of direction to focus
2680     * @param y Vertical component of direction to focus
2681     *
2682     * @ingroup Focus
2683     */
2684    EAPI void             elm_object_focus_direction_go(Evas_Object *obj, int x, int y) EINA_ARG_NONNULL(1);
2685
2686    /**
2687     * Make the elementary object and its children to be unfocusable
2688     * (or focusable).
2689     *
2690     * @param obj The Elementary object to operate on
2691     * @param tree_unfocusable @c EINA_TRUE for unfocusable,
2692     *        @c EINA_FALSE for focusable.
2693     *
2694     * This sets whether the object @p obj and its children objects
2695     * are able to take focus or not. If the tree is set as unfocusable,
2696     * newest focused object which is not in this tree will get focus.
2697     * This API can be helpful for an object to be deleted.
2698     * When an object will be deleted soon, it and its children may not
2699     * want to get focus (by focus reverting or by other focus controls).
2700     * Then, just use this API before deleting.
2701     *
2702     * @see elm_object_tree_unfocusable_get()
2703     *
2704     * @ingroup Focus
2705     */
2706    EAPI void             elm_object_tree_unfocusable_set(Evas_Object *obj, Eina_Bool tree_unfocusable) EINA_ARG_NONNULL(1);
2707
2708    /**
2709     * Get whether an Elementary object and its children are unfocusable or not.
2710     *
2711     * @param obj The Elementary object to get the information from
2712     * @return @c EINA_TRUE, if the tree is unfocussable,
2713     *         @c EINA_FALSE if not (and on errors).
2714     *
2715     * @see elm_object_tree_unfocusable_set()
2716     *
2717     * @ingroup Focus
2718     */
2719    EAPI Eina_Bool        elm_object_tree_unfocusable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2720
2721    /**
2722     * @defgroup Scrolling Scrolling
2723     *
2724     * These are functions setting how scrollable views in Elementary
2725     * widgets should behave on user interaction.
2726     *
2727     * @{
2728     */
2729
2730    /**
2731     * Get whether scrollers should bounce when they reach their
2732     * viewport's edge during a scroll.
2733     *
2734     * @return the thumb scroll bouncing state
2735     *
2736     * This is the default behavior for touch screens, in general.
2737     * @ingroup Scrolling
2738     */
2739    EAPI Eina_Bool        elm_scroll_bounce_enabled_get(void);
2740
2741    /**
2742     * Set whether scrollers should bounce when they reach their
2743     * viewport's edge during a scroll.
2744     *
2745     * @param enabled the thumb scroll bouncing state
2746     *
2747     * @see elm_thumbscroll_bounce_enabled_get()
2748     * @ingroup Scrolling
2749     */
2750    EAPI void             elm_scroll_bounce_enabled_set(Eina_Bool enabled);
2751
2752    /**
2753     * Set whether scrollers should bounce when they reach their
2754     * viewport's edge during a scroll, for all Elementary application
2755     * windows.
2756     *
2757     * @param enabled the thumb scroll bouncing state
2758     *
2759     * @see elm_thumbscroll_bounce_enabled_get()
2760     * @ingroup Scrolling
2761     */
2762    EAPI void             elm_scroll_bounce_enabled_all_set(Eina_Bool enabled);
2763
2764    /**
2765     * Get the amount of inertia a scroller will impose at bounce
2766     * animations.
2767     *
2768     * @return the thumb scroll bounce friction
2769     *
2770     * @ingroup Scrolling
2771     */
2772    EAPI double           elm_scroll_bounce_friction_get(void);
2773
2774    /**
2775     * Set the amount of inertia a scroller will impose at bounce
2776     * animations.
2777     *
2778     * @param friction the thumb scroll bounce friction
2779     *
2780     * @see elm_thumbscroll_bounce_friction_get()
2781     * @ingroup Scrolling
2782     */
2783    EAPI void             elm_scroll_bounce_friction_set(double friction);
2784
2785    /**
2786     * Set the amount of inertia a scroller will impose at bounce
2787     * animations, for all Elementary application windows.
2788     *
2789     * @param friction the thumb scroll bounce friction
2790     *
2791     * @see elm_thumbscroll_bounce_friction_get()
2792     * @ingroup Scrolling
2793     */
2794    EAPI void             elm_scroll_bounce_friction_all_set(double friction);
2795
2796    /**
2797     * Get the amount of inertia a <b>paged</b> scroller will impose at
2798     * page fitting animations.
2799     *
2800     * @return the page scroll friction
2801     *
2802     * @ingroup Scrolling
2803     */
2804    EAPI double           elm_scroll_page_scroll_friction_get(void);
2805
2806    /**
2807     * Set the amount of inertia a <b>paged</b> scroller will impose at
2808     * page fitting animations.
2809     *
2810     * @param friction the page scroll friction
2811     *
2812     * @see elm_thumbscroll_page_scroll_friction_get()
2813     * @ingroup Scrolling
2814     */
2815    EAPI void             elm_scroll_page_scroll_friction_set(double friction);
2816
2817    /**
2818     * Set the amount of inertia a <b>paged</b> scroller will impose at
2819     * page fitting animations, for all Elementary application windows.
2820     *
2821     * @param friction the page scroll friction
2822     *
2823     * @see elm_thumbscroll_page_scroll_friction_get()
2824     * @ingroup Scrolling
2825     */
2826    EAPI void             elm_scroll_page_scroll_friction_all_set(double friction);
2827
2828    /**
2829     * Get the amount of inertia a scroller will impose at region bring
2830     * animations.
2831     *
2832     * @return the bring in scroll friction
2833     *
2834     * @ingroup Scrolling
2835     */
2836    EAPI double           elm_scroll_bring_in_scroll_friction_get(void);
2837
2838    /**
2839     * Set the amount of inertia a scroller will impose at region bring
2840     * animations.
2841     *
2842     * @param friction the bring in scroll friction
2843     *
2844     * @see elm_thumbscroll_bring_in_scroll_friction_get()
2845     * @ingroup Scrolling
2846     */
2847    EAPI void             elm_scroll_bring_in_scroll_friction_set(double friction);
2848
2849    /**
2850     * Set the amount of inertia a scroller will impose at region bring
2851     * animations, for all Elementary application windows.
2852     *
2853     * @param friction the bring in scroll friction
2854     *
2855     * @see elm_thumbscroll_bring_in_scroll_friction_get()
2856     * @ingroup Scrolling
2857     */
2858    EAPI void             elm_scroll_bring_in_scroll_friction_all_set(double friction);
2859
2860    /**
2861     * Get the amount of inertia scrollers will impose at animations
2862     * triggered by Elementary widgets' zooming API.
2863     *
2864     * @return the zoom friction
2865     *
2866     * @ingroup Scrolling
2867     */
2868    EAPI double           elm_scroll_zoom_friction_get(void);
2869
2870    /**
2871     * Set the amount of inertia scrollers will impose at animations
2872     * triggered by Elementary widgets' zooming API.
2873     *
2874     * @param friction the zoom friction
2875     *
2876     * @see elm_thumbscroll_zoom_friction_get()
2877     * @ingroup Scrolling
2878     */
2879    EAPI void             elm_scroll_zoom_friction_set(double friction);
2880
2881    /**
2882     * Set the amount of inertia scrollers will impose at animations
2883     * triggered by Elementary widgets' zooming API, for all Elementary
2884     * application windows.
2885     *
2886     * @param friction the zoom friction
2887     *
2888     * @see elm_thumbscroll_zoom_friction_get()
2889     * @ingroup Scrolling
2890     */
2891    EAPI void             elm_scroll_zoom_friction_all_set(double friction);
2892
2893    /**
2894     * Get whether scrollers should be draggable from any point in their
2895     * views.
2896     *
2897     * @return the thumb scroll state
2898     *
2899     * @note This is the default behavior for touch screens, in general.
2900     * @note All other functions namespaced with "thumbscroll" will only
2901     *       have effect if this mode is enabled.
2902     *
2903     * @ingroup Scrolling
2904     */
2905    EAPI Eina_Bool        elm_scroll_thumbscroll_enabled_get(void);
2906
2907    /**
2908     * Set whether scrollers should be draggable from any point in their
2909     * views.
2910     *
2911     * @param enabled the thumb scroll state
2912     *
2913     * @see elm_thumbscroll_enabled_get()
2914     * @ingroup Scrolling
2915     */
2916    EAPI void             elm_scroll_thumbscroll_enabled_set(Eina_Bool enabled);
2917
2918    /**
2919     * Set whether scrollers should be draggable from any point in their
2920     * views, for all Elementary application windows.
2921     *
2922     * @param enabled the thumb scroll state
2923     *
2924     * @see elm_thumbscroll_enabled_get()
2925     * @ingroup Scrolling
2926     */
2927    EAPI void             elm_scroll_thumbscroll_enabled_all_set(Eina_Bool enabled);
2928
2929    /**
2930     * Get the number of pixels one should travel while dragging a
2931     * scroller's view to actually trigger scrolling.
2932     *
2933     * @return the thumb scroll threshould
2934     *
2935     * One would use higher values for touch screens, in general, because
2936     * of their inherent imprecision.
2937     * @ingroup Scrolling
2938     */
2939    EAPI unsigned int     elm_scroll_thumbscroll_threshold_get(void);
2940
2941    /**
2942     * Set the number of pixels one should travel while dragging a
2943     * scroller's view to actually trigger scrolling.
2944     *
2945     * @param threshold the thumb scroll threshould
2946     *
2947     * @see elm_thumbscroll_threshould_get()
2948     * @ingroup Scrolling
2949     */
2950    EAPI void             elm_scroll_thumbscroll_threshold_set(unsigned int threshold);
2951
2952    /**
2953     * Set the number of pixels one should travel while dragging a
2954     * scroller's view to actually trigger scrolling, for all Elementary
2955     * application windows.
2956     *
2957     * @param threshold the thumb scroll threshould
2958     *
2959     * @see elm_thumbscroll_threshould_get()
2960     * @ingroup Scrolling
2961     */
2962    EAPI void             elm_scroll_thumbscroll_threshold_all_set(unsigned int threshold);
2963
2964    /**
2965     * Get the minimum speed of mouse cursor movement which will trigger
2966     * list self scrolling animation after a mouse up event
2967     * (pixels/second).
2968     *
2969     * @return the thumb scroll momentum threshould
2970     *
2971     * @ingroup Scrolling
2972     */
2973    EAPI double           elm_scroll_thumbscroll_momentum_threshold_get(void);
2974
2975    /**
2976     * Set the minimum speed of mouse cursor movement which will trigger
2977     * list self scrolling animation after a mouse up event
2978     * (pixels/second).
2979     *
2980     * @param threshold the thumb scroll momentum threshould
2981     *
2982     * @see elm_thumbscroll_momentum_threshould_get()
2983     * @ingroup Scrolling
2984     */
2985    EAPI void             elm_scroll_thumbscroll_momentum_threshold_set(double threshold);
2986
2987    /**
2988     * Set the minimum speed of mouse cursor movement which will trigger
2989     * list self scrolling animation after a mouse up event
2990     * (pixels/second), for all Elementary application windows.
2991     *
2992     * @param threshold the thumb scroll momentum threshould
2993     *
2994     * @see elm_thumbscroll_momentum_threshould_get()
2995     * @ingroup Scrolling
2996     */
2997    EAPI void             elm_scroll_thumbscroll_momentum_threshold_all_set(double threshold);
2998
2999    /**
3000     * Get the amount of inertia a scroller will impose at self scrolling
3001     * animations.
3002     *
3003     * @return the thumb scroll friction
3004     *
3005     * @ingroup Scrolling
3006     */
3007    EAPI double           elm_scroll_thumbscroll_friction_get(void);
3008
3009    /**
3010     * Set the amount of inertia a scroller will impose at self scrolling
3011     * animations.
3012     *
3013     * @param friction the thumb scroll friction
3014     *
3015     * @see elm_thumbscroll_friction_get()
3016     * @ingroup Scrolling
3017     */
3018    EAPI void             elm_scroll_thumbscroll_friction_set(double friction);
3019
3020    /**
3021     * Set the amount of inertia a scroller will impose at self scrolling
3022     * animations, for all Elementary application windows.
3023     *
3024     * @param friction the thumb scroll friction
3025     *
3026     * @see elm_thumbscroll_friction_get()
3027     * @ingroup Scrolling
3028     */
3029    EAPI void             elm_scroll_thumbscroll_friction_all_set(double friction);
3030
3031    /**
3032     * Get the amount of lag between your actual mouse cursor dragging
3033     * movement and a scroller's view movement itself, while pushing it
3034     * into bounce state manually.
3035     *
3036     * @return the thumb scroll border friction
3037     *
3038     * @ingroup Scrolling
3039     */
3040    EAPI double           elm_scroll_thumbscroll_border_friction_get(void);
3041
3042    /**
3043     * Set the amount of lag between your actual mouse cursor dragging
3044     * movement and a scroller's view movement itself, while pushing it
3045     * into bounce state manually.
3046     *
3047     * @param friction the thumb scroll border friction. @c 0.0 for
3048     *        perfect synchrony between two movements, @c 1.0 for maximum
3049     *        lag.
3050     *
3051     * @see elm_thumbscroll_border_friction_get()
3052     * @note parameter value will get bound to 0.0 - 1.0 interval, always
3053     *
3054     * @ingroup Scrolling
3055     */
3056    EAPI void             elm_scroll_thumbscroll_border_friction_set(double friction);
3057
3058    /**
3059     * Set the amount of lag between your actual mouse cursor dragging
3060     * movement and a scroller's view movement itself, while pushing it
3061     * into bounce state manually, for all Elementary application windows.
3062     *
3063     * @param friction the thumb scroll border friction. @c 0.0 for
3064     *        perfect synchrony between two movements, @c 1.0 for maximum
3065     *        lag.
3066     *
3067     * @see elm_thumbscroll_border_friction_get()
3068     * @note parameter value will get bound to 0.0 - 1.0 interval, always
3069     *
3070     * @ingroup Scrolling
3071     */
3072    EAPI void             elm_scroll_thumbscroll_border_friction_all_set(double friction);
3073
3074    /**
3075     * Get the sensitivity amount which is be multiplied by the length of
3076     * mouse dragging.
3077     *
3078     * @return the thumb scroll sensitivity friction
3079     *
3080     * @ingroup Scrolling
3081     */
3082    EAPI double           elm_scroll_thumbscroll_sensitivity_friction_get(void);
3083
3084    /**
3085     * Set the sensitivity amount which is be multiplied by the length of
3086     * mouse dragging.
3087     *
3088     * @param friction the thumb scroll sensitivity friction. @c 0.1 for
3089     *        minimun sensitivity, @c 1.0 for maximum sensitivity. 0.25
3090     *        is proper.
3091     *
3092     * @see elm_thumbscroll_sensitivity_friction_get()
3093     * @note parameter value will get bound to 0.1 - 1.0 interval, always
3094     *
3095     * @ingroup Scrolling
3096     */
3097    EAPI void             elm_scroll_thumbscroll_sensitivity_friction_set(double friction);
3098
3099    /**
3100     * Set the sensitivity amount which is be multiplied by the length of
3101     * mouse dragging, for all Elementary application windows.
3102     *
3103     * @param friction the thumb scroll sensitivity friction. @c 0.1 for
3104     *        minimun sensitivity, @c 1.0 for maximum sensitivity. 0.25
3105     *        is proper.
3106     *
3107     * @see elm_thumbscroll_sensitivity_friction_get()
3108     * @note parameter value will get bound to 0.1 - 1.0 interval, always
3109     *
3110     * @ingroup Scrolling
3111     */
3112    EAPI void             elm_scroll_thumbscroll_sensitivity_friction_all_set(double friction);
3113
3114    /**
3115     * @}
3116     */
3117
3118    /**
3119     * @defgroup Scrollhints Scrollhints
3120     *
3121     * Objects when inside a scroller can scroll, but this may not always be
3122     * desirable in certain situations. This allows an object to hint to itself
3123     * and parents to "not scroll" in one of 2 ways. If any child object of a
3124     * scroller has pushed a scroll freeze or hold then it affects all parent
3125     * scrollers until all children have released them.
3126     *
3127     * 1. To hold on scrolling. This means just flicking and dragging may no
3128     * longer scroll, but pressing/dragging near an edge of the scroller will
3129     * still scroll. This is automatically used by the entry object when
3130     * selecting text.
3131     *
3132     * 2. To totally freeze scrolling. This means it stops. until
3133     * popped/released.
3134     *
3135     * @{
3136     */
3137
3138    /**
3139     * Push the scroll hold by 1
3140     *
3141     * This increments the scroll hold count by one. If it is more than 0 it will
3142     * take effect on the parents of the indicated object.
3143     *
3144     * @param obj The object
3145     * @ingroup Scrollhints
3146     */
3147    EAPI void             elm_object_scroll_hold_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
3148
3149    /**
3150     * Pop the scroll hold by 1
3151     *
3152     * This decrements the scroll hold count by one. If it is more than 0 it will
3153     * take effect on the parents of the indicated object.
3154     *
3155     * @param obj The object
3156     * @ingroup Scrollhints
3157     */
3158    EAPI void             elm_object_scroll_hold_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
3159
3160    /**
3161     * Push the scroll freeze by 1
3162     *
3163     * This increments the scroll freeze count by one. If it is more
3164     * than 0 it will take effect on the parents of the indicated
3165     * object.
3166     *
3167     * @param obj The object
3168     * @ingroup Scrollhints
3169     */
3170    EAPI void             elm_object_scroll_freeze_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
3171
3172    /**
3173     * Pop the scroll freeze by 1
3174     *
3175     * This decrements the scroll freeze count by one. If it is more
3176     * than 0 it will take effect on the parents of the indicated
3177     * object.
3178     *
3179     * @param obj The object
3180     * @ingroup Scrollhints
3181     */
3182    EAPI void             elm_object_scroll_freeze_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
3183
3184    /**
3185     * Lock the scrolling of the given widget (and thus all parents)
3186     *
3187     * This locks the given object from scrolling in the X axis (and implicitly
3188     * also locks all parent scrollers too from doing the same).
3189     *
3190     * @param obj The object
3191     * @param lock The lock state (1 == locked, 0 == unlocked)
3192     * @ingroup Scrollhints
3193     */
3194    EAPI void             elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
3195
3196    /**
3197     * Lock the scrolling of the given widget (and thus all parents)
3198     *
3199     * This locks the given object from scrolling in the Y axis (and implicitly
3200     * also locks all parent scrollers too from doing the same).
3201     *
3202     * @param obj The object
3203     * @param lock The lock state (1 == locked, 0 == unlocked)
3204     * @ingroup Scrollhints
3205     */
3206    EAPI void             elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
3207
3208    /**
3209     * Get the scrolling lock of the given widget
3210     *
3211     * This gets the lock for X axis scrolling.
3212     *
3213     * @param obj The object
3214     * @ingroup Scrollhints
3215     */
3216    EAPI Eina_Bool        elm_object_scroll_lock_x_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3217
3218    /**
3219     * Get the scrolling lock of the given widget
3220     *
3221     * This gets the lock for X axis scrolling.
3222     *
3223     * @param obj The object
3224     * @ingroup Scrollhints
3225     */
3226    EAPI Eina_Bool        elm_object_scroll_lock_y_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3227
3228    /**
3229     * @}
3230     */
3231
3232    /**
3233     * Send a signal to the widget edje object.
3234     *
3235     * This function sends a signal to the edje object of the obj. An
3236     * edje program can respond to a signal by specifying matching
3237     * 'signal' and 'source' fields.
3238     *
3239     * @param obj The object
3240     * @param emission The signal's name.
3241     * @param source The signal's source.
3242     * @ingroup General
3243     */
3244    EAPI void             elm_object_signal_emit(Evas_Object *obj, const char *emission, const char *source) EINA_ARG_NONNULL(1);
3245
3246    /**
3247     * Add a callback for a signal emitted by widget edje object.
3248     *
3249     * This function connects a callback function to a signal emitted by the
3250     * edje object of the obj.
3251     * Globs can occur in either the emission or source name.
3252     *
3253     * @param obj The object
3254     * @param emission The signal's name.
3255     * @param source The signal's source.
3256     * @param func The callback function to be executed when the signal is
3257     * emitted.
3258     * @param data A pointer to data to pass in to the callback function.
3259     * @ingroup General
3260     */
3261    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);
3262
3263    /**
3264     * Remove a signal-triggered callback from a widget edje object.
3265     *
3266     * This function removes a callback, previoulsy attached to a
3267     * signal emitted by the edje object of the obj.  The parameters
3268     * emission, source and func must match exactly those passed to a
3269     * previous call to elm_object_signal_callback_add(). The data
3270     * pointer that was passed to this call will be returned.
3271     *
3272     * @param obj The object
3273     * @param emission The signal's name.
3274     * @param source The signal's source.
3275     * @param func The callback function to be executed when the signal is
3276     * emitted.
3277     * @return The data pointer
3278     * @ingroup General
3279     */
3280    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);
3281
3282    /**
3283     * Add a callback for input events (key up, key down, mouse wheel)
3284     * on a given Elementary widget
3285     *
3286     * @param obj The widget to add an event callback on
3287     * @param func The callback function to be executed when the event
3288     * happens
3289     * @param data Data to pass in to @p func
3290     *
3291     * Every widget in an Elementary interface set to receive focus,
3292     * with elm_object_focus_allow_set(), will propagate @b all of its
3293     * key up, key down and mouse wheel input events up to its parent
3294     * object, and so on. All of the focusable ones in this chain which
3295     * had an event callback set, with this call, will be able to treat
3296     * those events. There are two ways of making the propagation of
3297     * these event upwards in the tree of widgets to @b cease:
3298     * - Just return @c EINA_TRUE on @p func. @c EINA_FALSE will mean
3299     *   the event was @b not processed, so the propagation will go on.
3300     * - The @c event_info pointer passed to @p func will contain the
3301     *   event's structure and, if you OR its @c event_flags inner
3302     *   value to @c EVAS_EVENT_FLAG_ON_HOLD, you're telling Elementary
3303     *   one has already handled it, thus killing the event's
3304     *   propagation, too.
3305     *
3306     * @note Your event callback will be issued on those events taking
3307     * place only if no other child widget of @obj has consumed the
3308     * event already.
3309     *
3310     * @note Not to be confused with @c
3311     * evas_object_event_callback_add(), which will add event callbacks
3312     * per type on general Evas objects (no event propagation
3313     * infrastructure taken in account).
3314     *
3315     * @note Not to be confused with @c
3316     * elm_object_signal_callback_add(), which will add callbacks to @b
3317     * signals coming from a widget's theme, not input events.
3318     *
3319     * @note Not to be confused with @c
3320     * edje_object_signal_callback_add(), which does the same as
3321     * elm_object_signal_callback_add(), but directly on an Edje
3322     * object.
3323     *
3324     * @note Not to be confused with @c
3325     * evas_object_smart_callback_add(), which adds callbacks to smart
3326     * objects' <b>smart events</b>, and not input events.
3327     *
3328     * @see elm_object_event_callback_del()
3329     *
3330     * @ingroup General
3331     */
3332    EAPI void             elm_object_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
3333
3334    /**
3335     * Remove an event callback from a widget.
3336     *
3337     * This function removes a callback, previoulsy attached to event emission
3338     * by the @p obj.
3339     * The parameters func and data must match exactly those passed to
3340     * a previous call to elm_object_event_callback_add(). The data pointer that
3341     * was passed to this call will be returned.
3342     *
3343     * @param obj The object
3344     * @param func The callback function to be executed when the event is
3345     * emitted.
3346     * @param data Data to pass in to the callback function.
3347     * @return The data pointer
3348     * @ingroup General
3349     */
3350    EAPI void            *elm_object_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
3351
3352    /**
3353     * Adjust size of an element for finger usage.
3354     *
3355     * @param times_w How many fingers should fit horizontally
3356     * @param w Pointer to the width size to adjust
3357     * @param times_h How many fingers should fit vertically
3358     * @param h Pointer to the height size to adjust
3359     *
3360     * This takes width and height sizes (in pixels) as input and a
3361     * size multiple (which is how many fingers you want to place
3362     * within the area, being "finger" the size set by
3363     * elm_finger_size_set()), and adjusts the size to be large enough
3364     * to accommodate the resulting size -- if it doesn't already
3365     * accommodate it. On return the @p w and @p h sizes pointed to by
3366     * these parameters will be modified, on those conditions.
3367     *
3368     * @note This is kind of a low level Elementary call, most useful
3369     * on size evaluation times for widgets. An external user wouldn't
3370     * be calling, most of the time.
3371     *
3372     * @ingroup Fingers
3373     */
3374    EAPI void             elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h);
3375
3376    /**
3377     * Get the duration for occuring long press event.
3378     *
3379     * @return Timeout for long press event
3380     * @ingroup Longpress
3381     */
3382    EAPI double           elm_longpress_timeout_get(void);
3383
3384    /**
3385     * Set the duration for occuring long press event.
3386     *
3387     * @param lonpress_timeout Timeout for long press event
3388     * @ingroup Longpress
3389     */
3390    EAPI void             elm_longpress_timeout_set(double longpress_timeout);
3391
3392    /**
3393     * @defgroup Debug Debug
3394     * don't use it unless you are sure
3395     *
3396     * @{
3397     */
3398
3399    /**
3400     * Print Tree object hierarchy in stdout
3401     *
3402     * @param obj The root object
3403     * @ingroup Debug
3404     */
3405    EAPI void             elm_object_tree_dump(const Evas_Object *top);
3406
3407    /**
3408     * Print Elm Objects tree hierarchy in file as dot(graphviz) syntax.
3409     *
3410     * @param obj The root object
3411     * @param file The path of output file
3412     * @ingroup Debug
3413     */
3414    EAPI void             elm_object_tree_dot_dump(const Evas_Object *top, const char *file);
3415
3416    /**
3417     * @}
3418     */
3419
3420    /**
3421     * @defgroup Theme Theme
3422     *
3423     * Elementary uses Edje to theme its widgets, naturally. But for the most
3424     * part this is hidden behind a simpler interface that lets the user set
3425     * extensions and choose the style of widgets in a much easier way.
3426     *
3427     * Instead of thinking in terms of paths to Edje files and their groups
3428     * each time you want to change the appearance of a widget, Elementary
3429     * works so you can add any theme file with extensions or replace the
3430     * main theme at one point in the application, and then just set the style
3431     * of widgets with elm_object_style_set() and related functions. Elementary
3432     * will then look in its list of themes for a matching group and apply it,
3433     * and when the theme changes midway through the application, all widgets
3434     * will be updated accordingly.
3435     *
3436     * There are three concepts you need to know to understand how Elementary
3437     * theming works: default theme, extensions and overlays.
3438     *
3439     * Default theme, obviously enough, is the one that provides the default
3440     * look of all widgets. End users can change the theme used by Elementary
3441     * by setting the @c ELM_THEME environment variable before running an
3442     * application, or globally for all programs using the @c elementary_config
3443     * utility. Applications can change the default theme using elm_theme_set(),
3444     * but this can go against the user wishes, so it's not an adviced practice.
3445     *
3446     * Ideally, applications should find everything they need in the already
3447     * provided theme, but there may be occasions when that's not enough and
3448     * custom styles are required to correctly express the idea. For this
3449     * cases, Elementary has extensions.
3450     *
3451     * Extensions allow the application developer to write styles of its own
3452     * to apply to some widgets. This requires knowledge of how each widget
3453     * is themed, as extensions will always replace the entire group used by
3454     * the widget, so important signals and parts need to be there for the
3455     * object to behave properly (see documentation of Edje for details).
3456     * Once the theme for the extension is done, the application needs to add
3457     * it to the list of themes Elementary will look into, using
3458     * elm_theme_extension_add(), and set the style of the desired widgets as
3459     * he would normally with elm_object_style_set().
3460     *
3461     * Overlays, on the other hand, can replace the look of all widgets by
3462     * overriding the default style. Like extensions, it's up to the application
3463     * developer to write the theme for the widgets it wants, the difference
3464     * being that when looking for the theme, Elementary will check first the
3465     * list of overlays, then the set theme and lastly the list of extensions,
3466     * so with overlays it's possible to replace the default view and every
3467     * widget will be affected. This is very much alike to setting the whole
3468     * theme for the application and will probably clash with the end user
3469     * options, not to mention the risk of ending up with not matching styles
3470     * across the program. Unless there's a very special reason to use them,
3471     * overlays should be avoided for the resons exposed before.
3472     *
3473     * All these theme lists are handled by ::Elm_Theme instances. Elementary
3474     * keeps one default internally and every function that receives one of
3475     * these can be called with NULL to refer to this default (except for
3476     * elm_theme_free()). It's possible to create a new instance of a
3477     * ::Elm_Theme to set other theme for a specific widget (and all of its
3478     * children), but this is as discouraged, if not even more so, than using
3479     * overlays. Don't use this unless you really know what you are doing.
3480     *
3481     * But to be less negative about things, you can look at the following
3482     * examples:
3483     * @li @ref theme_example_01 "Using extensions"
3484     * @li @ref theme_example_02 "Using overlays"
3485     *
3486     * @{
3487     */
3488    /**
3489     * @typedef Elm_Theme
3490     *
3491     * Opaque handler for the list of themes Elementary looks for when
3492     * rendering widgets.
3493     *
3494     * Stay out of this unless you really know what you are doing. For most
3495     * cases, sticking to the default is all a developer needs.
3496     */
3497    typedef struct _Elm_Theme Elm_Theme;
3498
3499    /**
3500     * Create a new specific theme
3501     *
3502     * This creates an empty specific theme that only uses the default theme. A
3503     * specific theme has its own private set of extensions and overlays too
3504     * (which are empty by default). Specific themes do not fall back to themes
3505     * of parent objects. They are not intended for this use. Use styles, overlays
3506     * and extensions when needed, but avoid specific themes unless there is no
3507     * other way (example: you want to have a preview of a new theme you are
3508     * selecting in a "theme selector" window. The preview is inside a scroller
3509     * and should display what the theme you selected will look like, but not
3510     * actually apply it yet. The child of the scroller will have a specific
3511     * theme set to show this preview before the user decides to apply it to all
3512     * applications).
3513     */
3514    EAPI Elm_Theme       *elm_theme_new(void);
3515    /**
3516     * Free a specific theme
3517     *
3518     * @param th The theme to free
3519     *
3520     * This frees a theme created with elm_theme_new().
3521     */
3522    EAPI void             elm_theme_free(Elm_Theme *th);
3523    /**
3524     * Copy the theme fom the source to the destination theme
3525     *
3526     * @param th The source theme to copy from
3527     * @param thdst The destination theme to copy data to
3528     *
3529     * This makes a one-time static copy of all the theme config, extensions
3530     * and overlays from @p th to @p thdst. If @p th references a theme, then
3531     * @p thdst is also set to reference it, with all the theme settings,
3532     * overlays and extensions that @p th had.
3533     */
3534    EAPI void             elm_theme_copy(Elm_Theme *th, Elm_Theme *thdst);
3535    /**
3536     * Tell the source theme to reference the ref theme
3537     *
3538     * @param th The theme that will do the referencing
3539     * @param thref The theme that is the reference source
3540     *
3541     * This clears @p th to be empty and then sets it to refer to @p thref
3542     * so @p th acts as an override to @p thref, but where its overrides
3543     * don't apply, it will fall through to @p thref for configuration.
3544     */
3545    EAPI void             elm_theme_ref_set(Elm_Theme *th, Elm_Theme *thref);
3546    /**
3547     * Return the theme referred to
3548     *
3549     * @param th The theme to get the reference from
3550     * @return The referenced theme handle
3551     *
3552     * This gets the theme set as the reference theme by elm_theme_ref_set().
3553     * If no theme is set as a reference, NULL is returned.
3554     */
3555    EAPI Elm_Theme       *elm_theme_ref_get(Elm_Theme *th);
3556    /**
3557     * Return the default theme
3558     *
3559     * @return The default theme handle
3560     *
3561     * This returns the internal default theme setup handle that all widgets
3562     * use implicitly unless a specific theme is set. This is also often use
3563     * as a shorthand of NULL.
3564     */
3565    EAPI Elm_Theme       *elm_theme_default_get(void);
3566    /**
3567     * Prepends a theme overlay to the list of overlays
3568     *
3569     * @param th The theme to add to, or if NULL, the default theme
3570     * @param item The Edje file path to be used
3571     *
3572     * Use this if your application needs to provide some custom overlay theme
3573     * (An Edje file that replaces some default styles of widgets) where adding
3574     * new styles, or changing system theme configuration is not possible. Do
3575     * NOT use this instead of a proper system theme configuration. Use proper
3576     * configuration files, profiles, environment variables etc. to set a theme
3577     * so that the theme can be altered by simple confiugration by a user. Using
3578     * this call to achieve that effect is abusing the API and will create lots
3579     * of trouble.
3580     *
3581     * @see elm_theme_extension_add()
3582     */
3583    EAPI void             elm_theme_overlay_add(Elm_Theme *th, const char *item);
3584    /**
3585     * Delete a theme overlay from the list of overlays
3586     *
3587     * @param th The theme to delete from, or if NULL, the default theme
3588     * @param item The name of the theme overlay
3589     *
3590     * @see elm_theme_overlay_add()
3591     */
3592    EAPI void             elm_theme_overlay_del(Elm_Theme *th, const char *item);
3593    /**
3594     * Appends a theme extension to the list of extensions.
3595     *
3596     * @param th The theme to add to, or if NULL, the default theme
3597     * @param item The Edje file path to be used
3598     *
3599     * This is intended when an application needs more styles of widgets or new
3600     * widget themes that the default does not provide (or may not provide). The
3601     * application has "extended" usage by coming up with new custom style names
3602     * for widgets for specific uses, but as these are not "standard", they are
3603     * not guaranteed to be provided by a default theme. This means the
3604     * application is required to provide these extra elements itself in specific
3605     * Edje files. This call adds one of those Edje files to the theme search
3606     * path to be search after the default theme. The use of this call is
3607     * encouraged when default styles do not meet the needs of the application.
3608     * Use this call instead of elm_theme_overlay_add() for almost all cases.
3609     *
3610     * @see elm_object_style_set()
3611     */
3612    EAPI void             elm_theme_extension_add(Elm_Theme *th, const char *item);
3613    /**
3614     * Deletes a theme extension from the list of extensions.
3615     *
3616     * @param th The theme to delete from, or if NULL, the default theme
3617     * @param item The name of the theme extension
3618     *
3619     * @see elm_theme_extension_add()
3620     */
3621    EAPI void             elm_theme_extension_del(Elm_Theme *th, const char *item);
3622    /**
3623     * Set the theme search order for the given theme
3624     *
3625     * @param th The theme to set the search order, or if NULL, the default theme
3626     * @param theme Theme search string
3627     *
3628     * This sets the search string for the theme in path-notation from first
3629     * theme to search, to last, delimited by the : character. Example:
3630     *
3631     * "shiny:/path/to/file.edj:default"
3632     *
3633     * See the ELM_THEME environment variable for more information.
3634     *
3635     * @see elm_theme_get()
3636     * @see elm_theme_list_get()
3637     */
3638    EAPI void             elm_theme_set(Elm_Theme *th, const char *theme);
3639    /**
3640     * Return the theme search order
3641     *
3642     * @param th The theme to get the search order, or if NULL, the default theme
3643     * @return The internal search order path
3644     *
3645     * This function returns a colon separated string of theme elements as
3646     * returned by elm_theme_list_get().
3647     *
3648     * @see elm_theme_set()
3649     * @see elm_theme_list_get()
3650     */
3651    EAPI const char      *elm_theme_get(Elm_Theme *th);
3652    /**
3653     * Return a list of theme elements to be used in a theme.
3654     *
3655     * @param th Theme to get the list of theme elements from.
3656     * @return The internal list of theme elements
3657     *
3658     * This returns the internal list of theme elements (will only be valid as
3659     * long as the theme is not modified by elm_theme_set() or theme is not
3660     * freed by elm_theme_free(). This is a list of strings which must not be
3661     * altered as they are also internal. If @p th is NULL, then the default
3662     * theme element list is returned.
3663     *
3664     * A theme element can consist of a full or relative path to a .edj file,
3665     * or a name, without extension, for a theme to be searched in the known
3666     * theme paths for Elemementary.
3667     *
3668     * @see elm_theme_set()
3669     * @see elm_theme_get()
3670     */
3671    EAPI const Eina_List *elm_theme_list_get(const Elm_Theme *th);
3672    /**
3673     * Return the full patrh for a theme element
3674     *
3675     * @param f The theme element name
3676     * @param in_search_path Pointer to a boolean to indicate if item is in the search path or not
3677     * @return The full path to the file found.
3678     *
3679     * This returns a string you should free with free() on success, NULL on
3680     * failure. This will search for the given theme element, and if it is a
3681     * full or relative path element or a simple searchable name. The returned
3682     * path is the full path to the file, if searched, and the file exists, or it
3683     * is simply the full path given in the element or a resolved path if
3684     * relative to home. The @p in_search_path boolean pointed to is set to
3685     * EINA_TRUE if the file was a searchable file andis in the search path,
3686     * and EINA_FALSE otherwise.
3687     */
3688    EAPI char            *elm_theme_list_item_path_get(const char *f, Eina_Bool *in_search_path);
3689    /**
3690     * Flush the current theme.
3691     *
3692     * @param th Theme to flush
3693     *
3694     * This flushes caches that let elementary know where to find theme elements
3695     * in the given theme. If @p th is NULL, then the default theme is flushed.
3696     * Call this function if source theme data has changed in such a way as to
3697     * make any caches Elementary kept invalid.
3698     */
3699    EAPI void             elm_theme_flush(Elm_Theme *th);
3700    /**
3701     * This flushes all themes (default and specific ones).
3702     *
3703     * This will flush all themes in the current application context, by calling
3704     * elm_theme_flush() on each of them.
3705     */
3706    EAPI void             elm_theme_full_flush(void);
3707    /**
3708     * Set the theme for all elementary using applications on the current display
3709     *
3710     * @param theme The name of the theme to use. Format same as the ELM_THEME
3711     * environment variable.
3712     */
3713    EAPI void             elm_theme_all_set(const char *theme);
3714    /**
3715     * Return a list of theme elements in the theme search path
3716     *
3717     * @return A list of strings that are the theme element names.
3718     *
3719     * This lists all available theme files in the standard Elementary search path
3720     * for theme elements, and returns them in alphabetical order as theme
3721     * element names in a list of strings. Free this with
3722     * elm_theme_name_available_list_free() when you are done with the list.
3723     */
3724    EAPI Eina_List       *elm_theme_name_available_list_new(void);
3725    /**
3726     * Free the list returned by elm_theme_name_available_list_new()
3727     *
3728     * This frees the list of themes returned by
3729     * elm_theme_name_available_list_new(). Once freed the list should no longer
3730     * be used. a new list mys be created.
3731     */
3732    EAPI void             elm_theme_name_available_list_free(Eina_List *list);
3733    /**
3734     * Set a specific theme to be used for this object and its children
3735     *
3736     * @param obj The object to set the theme on
3737     * @param th The theme to set
3738     *
3739     * This sets a specific theme that will be used for the given object and any
3740     * child objects it has. If @p th is NULL then the theme to be used is
3741     * cleared and the object will inherit its theme from its parent (which
3742     * ultimately will use the default theme if no specific themes are set).
3743     *
3744     * Use special themes with great care as this will annoy users and make
3745     * configuration difficult. Avoid any custom themes at all if it can be
3746     * helped.
3747     */
3748    EAPI void             elm_object_theme_set(Evas_Object *obj, Elm_Theme *th) EINA_ARG_NONNULL(1);
3749    /**
3750     * Get the specific theme to be used
3751     *
3752     * @param obj The object to get the specific theme from
3753     * @return The specifc theme set.
3754     *
3755     * This will return a specific theme set, or NULL if no specific theme is
3756     * set on that object. It will not return inherited themes from parents, only
3757     * the specific theme set for that specific object. See elm_object_theme_set()
3758     * for more information.
3759     */
3760    EAPI Elm_Theme       *elm_object_theme_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3761
3762    /**
3763     * Get a data item from a theme
3764     *
3765     * @param th The theme, or NULL for default theme
3766     * @param key The data key to search with
3767     * @return The data value, or NULL on failure
3768     *
3769     * This function is used to return data items from edc in @p th, an overlay, or an extension.
3770     * It works the same way as edje_file_data_get() except that the return is stringshared.
3771     */
3772    EAPI const char      *elm_theme_data_get(Elm_Theme *th, const char *key) EINA_ARG_NONNULL(2);
3773    /**
3774     * @}
3775     */
3776
3777    /* win */
3778    /** @defgroup Win Win
3779     *
3780     * @image html img/widget/win/preview-00.png
3781     * @image latex img/widget/win/preview-00.eps
3782     *
3783     * The window class of Elementary.  Contains functions to manipulate
3784     * windows. The Evas engine used to render the window contents is specified
3785     * in the system or user elementary config files (whichever is found last),
3786     * and can be overridden with the ELM_ENGINE environment variable for
3787     * testing.  Engines that may be supported (depending on Evas and Ecore-Evas
3788     * compilation setup and modules actually installed at runtime) are (listed
3789     * in order of best supported and most likely to be complete and work to
3790     * lowest quality).
3791     *
3792     * @li "x11", "x", "software-x11", "software_x11" (Software rendering in X11)
3793     * @li "gl", "opengl", "opengl-x11", "opengl_x11" (OpenGL or OpenGL-ES2
3794     * rendering in X11)
3795     * @li "shot:..." (Virtual screenshot renderer - renders to output file and
3796     * exits)
3797     * @li "fb", "software-fb", "software_fb" (Linux framebuffer direct software
3798     * rendering)
3799     * @li "sdl", "software-sdl", "software_sdl" (SDL software rendering to SDL
3800     * buffer)
3801     * @li "gl-sdl", "gl_sdl", "opengl-sdl", "opengl_sdl" (OpenGL or OpenGL-ES2
3802     * rendering using SDL as the buffer)
3803     * @li "gdi", "software-gdi", "software_gdi" (Windows WIN32 rendering via
3804     * GDI with software)
3805     * @li "dfb", "directfb" (Rendering to a DirectFB window)
3806     * @li "x11-8", "x8", "software-8-x11", "software_8_x11" (Rendering in
3807     * grayscale using dedicated 8bit software engine in X11)
3808     * @li "x11-16", "x16", "software-16-x11", "software_16_x11" (Rendering in
3809     * X11 using 16bit software engine)
3810     * @li "wince-gdi", "software-16-wince-gdi", "software_16_wince_gdi"
3811     * (Windows CE rendering via GDI with 16bit software renderer)
3812     * @li "sdl-16", "software-16-sdl", "software_16_sdl" (Rendering to SDL
3813     * buffer with 16bit software renderer)
3814     * @li "ews" (rendering to EWS - Ecore + Evas Single Process Windowing System)
3815     * @li "gl-cocoa", "gl_cocoa", "opengl-cocoa", "opengl_cocoa" (OpenGL rendering in Cocoa)
3816     * @li "psl1ght" (PS3 rendering using PSL1GHT)
3817     *
3818     * All engines use a simple string to select the engine to render, EXCEPT
3819     * the "shot" engine. This actually encodes the output of the virtual
3820     * screenshot and how long to delay in the engine string. The engine string
3821     * is encoded in the following way:
3822     *
3823     *   "shot:[delay=XX][:][repeat=DDD][:][file=XX]"
3824     *
3825     * Where options are separated by a ":" char if more than one option is
3826     * given, with delay, if provided being the first option and file the last
3827     * (order is important). The delay specifies how long to wait after the
3828     * window is shown before doing the virtual "in memory" rendering and then
3829     * save the output to the file specified by the file option (and then exit).
3830     * If no delay is given, the default is 0.5 seconds. If no file is given the
3831     * default output file is "out.png". Repeat option is for continous
3832     * capturing screenshots. Repeat range is from 1 to 999 and filename is
3833     * fixed to "out001.png" Some examples of using the shot engine:
3834     *
3835     *   ELM_ENGINE="shot:delay=1.0:repeat=5:file=elm_test.png" elementary_test
3836     *   ELM_ENGINE="shot:delay=1.0:file=elm_test.png" elementary_test
3837     *   ELM_ENGINE="shot:file=elm_test2.png" elementary_test
3838     *   ELM_ENGINE="shot:delay=2.0" elementary_test
3839     *   ELM_ENGINE="shot:" elementary_test
3840     *
3841     * Signals that you can add callbacks for are:
3842     *
3843     * @li "delete,request": the user requested to close the window. See
3844     * elm_win_autodel_set().
3845     * @li "focus,in": window got focus
3846     * @li "focus,out": window lost focus
3847     * @li "moved": window that holds the canvas was moved
3848     *
3849     * Examples:
3850     * @li @ref win_example_01
3851     *
3852     * @{
3853     */
3854    /**
3855     * Defines the types of window that can be created
3856     *
3857     * These are hints set on the window so that a running Window Manager knows
3858     * how the window should be handled and/or what kind of decorations it
3859     * should have.
3860     *
3861     * Currently, only the X11 backed engines use them.
3862     */
3863    typedef enum _Elm_Win_Type
3864      {
3865         ELM_WIN_BASIC, /**< A normal window. Indicates a normal, top-level
3866                          window. Almost every window will be created with this
3867                          type. */
3868         ELM_WIN_DIALOG_BASIC, /**< Used for simple dialog windows/ */
3869         ELM_WIN_DESKTOP, /**< For special desktop windows, like a background
3870                            window holding desktop icons. */
3871         ELM_WIN_DOCK, /**< The window is used as a dock or panel. Usually would
3872                         be kept on top of any other window by the Window
3873                         Manager. */
3874         ELM_WIN_TOOLBAR, /**< The window is used to hold a floating toolbar, or
3875                            similar. */
3876         ELM_WIN_MENU, /**< Similar to #ELM_WIN_TOOLBAR. */
3877         ELM_WIN_UTILITY, /**< A persistent utility window, like a toolbox or
3878                            pallete. */
3879         ELM_WIN_SPLASH, /**< Splash window for a starting up application. */
3880         ELM_WIN_DROPDOWN_MENU, /**< The window is a dropdown menu, as when an
3881                                  entry in a menubar is clicked. Typically used
3882                                  with elm_win_override_set(). This hint exists
3883                                  for completion only, as the EFL way of
3884                                  implementing a menu would not normally use a
3885                                  separate window for its contents. */
3886         ELM_WIN_POPUP_MENU, /**< Like #ELM_WIN_DROPDOWN_MENU, but for the menu
3887                               triggered by right-clicking an object. */
3888         ELM_WIN_TOOLTIP, /**< The window is a tooltip. A short piece of
3889                            explanatory text that typically appear after the
3890                            mouse cursor hovers over an object for a while.
3891                            Typically used with elm_win_override_set() and also
3892                            not very commonly used in the EFL. */
3893         ELM_WIN_NOTIFICATION, /**< A notification window, like a warning about
3894                                 battery life or a new E-Mail received. */
3895         ELM_WIN_COMBO, /**< A window holding the contents of a combo box. Not
3896                          usually used in the EFL. */
3897         ELM_WIN_DND, /**< Used to indicate the window is a representation of an
3898                        object being dragged across different windows, or even
3899                        applications. Typically used with
3900                        elm_win_override_set(). */
3901         ELM_WIN_INLINED_IMAGE, /**< The window is rendered onto an image
3902                                  buffer. No actual window is created for this
3903                                  type, instead the window and all of its
3904                                  contents will be rendered to an image buffer.
3905                                  This allows to have children window inside a
3906                                  parent one just like any other object would
3907                                  be, and do other things like applying @c
3908                                  Evas_Map effects to it. This is the only type
3909                                  of window that requires the @c parent
3910                                  parameter of elm_win_add() to be a valid @c
3911                                  Evas_Object. */
3912      } Elm_Win_Type;
3913
3914    /**
3915     * The differents layouts that can be requested for the virtual keyboard.
3916     *
3917     * When the application window is being managed by Illume, it may request
3918     * any of the following layouts for the virtual keyboard.
3919     */
3920    typedef enum _Elm_Win_Keyboard_Mode
3921      {
3922         ELM_WIN_KEYBOARD_UNKNOWN, /**< Unknown keyboard state */
3923         ELM_WIN_KEYBOARD_OFF, /**< Request to deactivate the keyboard */
3924         ELM_WIN_KEYBOARD_ON, /**< Enable keyboard with default layout */
3925         ELM_WIN_KEYBOARD_ALPHA, /**< Alpha (a-z) keyboard layout */
3926         ELM_WIN_KEYBOARD_NUMERIC, /**< Numeric keyboard layout */
3927         ELM_WIN_KEYBOARD_PIN, /**< PIN keyboard layout */
3928         ELM_WIN_KEYBOARD_PHONE_NUMBER, /**< Phone keyboard layout */
3929         ELM_WIN_KEYBOARD_HEX, /**< Hexadecimal numeric keyboard layout */
3930         ELM_WIN_KEYBOARD_TERMINAL, /**< Full (QUERTY) keyboard layout */
3931         ELM_WIN_KEYBOARD_PASSWORD, /**< Password keyboard layout */
3932         ELM_WIN_KEYBOARD_IP, /**< IP keyboard layout */
3933         ELM_WIN_KEYBOARD_HOST, /**< Host keyboard layout */
3934         ELM_WIN_KEYBOARD_FILE, /**< File keyboard layout */
3935         ELM_WIN_KEYBOARD_URL, /**< URL keyboard layout */
3936         ELM_WIN_KEYBOARD_KEYPAD, /**< Keypad layout */
3937         ELM_WIN_KEYBOARD_J2ME /**< J2ME keyboard layout */
3938      } Elm_Win_Keyboard_Mode;
3939
3940    /**
3941     * Available commands that can be sent to the Illume manager.
3942     *
3943     * When running under an Illume session, a window may send commands to the
3944     * Illume manager to perform different actions.
3945     */
3946    typedef enum _Elm_Illume_Command
3947      {
3948         ELM_ILLUME_COMMAND_FOCUS_BACK, /**< Reverts focus to the previous
3949                                          window */
3950         ELM_ILLUME_COMMAND_FOCUS_FORWARD, /**< Sends focus to the next window\
3951                                             in the list */
3952         ELM_ILLUME_COMMAND_FOCUS_HOME, /**< Hides all windows to show the Home
3953                                          screen */
3954         ELM_ILLUME_COMMAND_CLOSE /**< Closes the currently active window */
3955      } Elm_Illume_Command;
3956
3957    /**
3958     * Adds a window object. If this is the first window created, pass NULL as
3959     * @p parent.
3960     *
3961     * @param parent Parent object to add the window to, or NULL
3962     * @param name The name of the window
3963     * @param type The window type, one of #Elm_Win_Type.
3964     *
3965     * The @p parent paramter can be @c NULL for every window @p type except
3966     * #ELM_WIN_INLINED_IMAGE, which needs a parent to retrieve the canvas on
3967     * which the image object will be created.
3968     *
3969     * @return The created object, or NULL on failure
3970     */
3971    EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type);
3972    /**
3973     * Adds a window object with standard setup
3974     *
3975     * @param name The name of the window
3976     * @param title The title for the window
3977     *
3978     * This creates a window like elm_win_add() but also puts in a standard
3979     * background with elm_bg_add(), as well as setting the window title to
3980     * @p title. The window type created is of type ELM_WIN_BASIC, with NULL
3981     * as the parent widget.
3982     * 
3983     * @return The created object, or NULL on failure
3984     *
3985     * @see elm_win_add()
3986     */
3987    EAPI Evas_Object *elm_win_util_standard_add(const char *name, const char *title);
3988    /**
3989     * Add @p subobj as a resize object of window @p obj.
3990     *
3991     *
3992     * Setting an object as a resize object of the window means that the
3993     * @p subobj child's size and position will be controlled by the window
3994     * directly. That is, the object will be resized to match the window size
3995     * and should never be moved or resized manually by the developer.
3996     *
3997     * In addition, resize objects of the window control what the minimum size
3998     * of it will be, as well as whether it can or not be resized by the user.
3999     *
4000     * For the end user to be able to resize a window by dragging the handles
4001     * or borders provided by the Window Manager, or using any other similar
4002     * mechanism, all of the resize objects in the window should have their
4003     * evas_object_size_hint_weight_set() set to EVAS_HINT_EXPAND.
4004     *
4005     * @param obj The window object
4006     * @param subobj The resize object to add
4007     */
4008    EAPI void         elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
4009    /**
4010     * Delete @p subobj as a resize object of window @p obj.
4011     *
4012     * This function removes the object @p subobj from the resize objects of
4013     * the window @p obj. It will not delete the object itself, which will be
4014     * left unmanaged and should be deleted by the developer, manually handled
4015     * or set as child of some other container.
4016     *
4017     * @param obj The window object
4018     * @param subobj The resize object to add
4019     */
4020    EAPI void         elm_win_resize_object_del(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
4021    /**
4022     * Set the title of the window
4023     *
4024     * @param obj The window object
4025     * @param title The title to set
4026     */
4027    EAPI void         elm_win_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
4028    /**
4029     * Get the title of the window
4030     *
4031     * The returned string is an internal one and should not be freed or
4032     * modified. It will also be rendered invalid if a new title is set or if
4033     * the window is destroyed.
4034     *
4035     * @param obj The window object
4036     * @return The title
4037     */
4038    EAPI const char  *elm_win_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4039    /**
4040     * Set the window's autodel state.
4041     *
4042     * When closing the window in any way outside of the program control, like
4043     * pressing the X button in the titlebar or using a command from the
4044     * Window Manager, a "delete,request" signal is emitted to indicate that
4045     * this event occurred and the developer can take any action, which may
4046     * include, or not, destroying the window object.
4047     *
4048     * When the @p autodel parameter is set, the window will be automatically
4049     * destroyed when this event occurs, after the signal is emitted.
4050     * If @p autodel is @c EINA_FALSE, then the window will not be destroyed
4051     * and is up to the program to do so when it's required.
4052     *
4053     * @param obj The window object
4054     * @param autodel If true, the window will automatically delete itself when
4055     * closed
4056     */
4057    EAPI void         elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel) EINA_ARG_NONNULL(1);
4058    /**
4059     * Get the window's autodel state.
4060     *
4061     * @param obj The window object
4062     * @return If the window will automatically delete itself when closed
4063     *
4064     * @see elm_win_autodel_set()
4065     */
4066    EAPI Eina_Bool    elm_win_autodel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4067    /**
4068     * Activate a window object.
4069     *
4070     * This function sends a request to the Window Manager to activate the
4071     * window pointed by @p obj. If honored by the WM, the window will receive
4072     * the keyboard focus.
4073     *
4074     * @note This is just a request that a Window Manager may ignore, so calling
4075     * this function does not ensure in any way that the window will be the
4076     * active one after it.
4077     *
4078     * @param obj The window object
4079     */
4080    EAPI void         elm_win_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
4081    /**
4082     * Lower a window object.
4083     *
4084     * Places the window pointed by @p obj at the bottom of the stack, so that
4085     * no other window is covered by it.
4086     *
4087     * If elm_win_override_set() is not set, the Window Manager may ignore this
4088     * request.
4089     *
4090     * @param obj The window object
4091     */
4092    EAPI void         elm_win_lower(Evas_Object *obj) EINA_ARG_NONNULL(1);
4093    /**
4094     * Raise a window object.
4095     *
4096     * Places the window pointed by @p obj at the top of the stack, so that it's
4097     * not covered by any other window.
4098     *
4099     * If elm_win_override_set() is not set, the Window Manager may ignore this
4100     * request.
4101     *
4102     * @param obj The window object
4103     */
4104    EAPI void         elm_win_raise(Evas_Object *obj) EINA_ARG_NONNULL(1);
4105    /**
4106     * Set the borderless state of a window.
4107     *
4108     * This function requests the Window Manager to not draw any decoration
4109     * around the window.
4110     *
4111     * @param obj The window object
4112     * @param borderless If true, the window is borderless
4113     */
4114    EAPI void         elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless) EINA_ARG_NONNULL(1);
4115    /**
4116     * Get the borderless state of a window.
4117     *
4118     * @param obj The window object
4119     * @return If true, the window is borderless
4120     */
4121    EAPI Eina_Bool    elm_win_borderless_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4122    /**
4123     * Set the shaped state of a window.
4124     *
4125     * Shaped windows, when supported, will render the parts of the window that
4126     * has no content, transparent.
4127     *
4128     * If @p shaped is EINA_FALSE, then it is strongly adviced to have some
4129     * background object or cover the entire window in any other way, or the
4130     * parts of the canvas that have no data will show framebuffer artifacts.
4131     *
4132     * @param obj The window object
4133     * @param shaped If true, the window is shaped
4134     *
4135     * @see elm_win_alpha_set()
4136     */
4137    EAPI void         elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped) EINA_ARG_NONNULL(1);
4138    /**
4139     * Get the shaped state of a window.
4140     *
4141     * @param obj The window object
4142     * @return If true, the window is shaped
4143     *
4144     * @see elm_win_shaped_set()
4145     */
4146    EAPI Eina_Bool    elm_win_shaped_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4147    /**
4148     * Set the alpha channel state of a window.
4149     *
4150     * If @p alpha is EINA_TRUE, the alpha channel of the canvas will be enabled
4151     * possibly making parts of the window completely or partially transparent.
4152     * This is also subject to the underlying system supporting it, like for
4153     * example, running under a compositing manager. If no compositing is
4154     * available, enabling this option will instead fallback to using shaped
4155     * windows, with elm_win_shaped_set().
4156     *
4157     * @param obj The window object
4158     * @param alpha If true, the window has an alpha channel
4159     *
4160     * @see elm_win_alpha_set()
4161     */
4162    EAPI void         elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
4163    /**
4164     * Get the transparency state of a window.
4165     *
4166     * @param obj The window object
4167     * @return If true, the window is transparent
4168     *
4169     * @see elm_win_transparent_set()
4170     */
4171    EAPI Eina_Bool    elm_win_transparent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4172    /**
4173     * Set the transparency state of a window.
4174     *
4175     * Use elm_win_alpha_set() instead.
4176     *
4177     * @param obj The window object
4178     * @param transparent If true, the window is transparent
4179     *
4180     * @see elm_win_alpha_set()
4181     */
4182    EAPI void         elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent) EINA_ARG_NONNULL(1);
4183    /**
4184     * Get the alpha channel state of a window.
4185     *
4186     * @param obj The window object
4187     * @return If true, the window has an alpha channel
4188     */
4189    EAPI Eina_Bool    elm_win_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4190    /**
4191     * Set the override state of a window.
4192     *
4193     * A window with @p override set to EINA_TRUE will not be managed by the
4194     * Window Manager. This means that no decorations of any kind will be shown
4195     * for it, moving and resizing must be handled by the application, as well
4196     * as the window visibility.
4197     *
4198     * This should not be used for normal windows, and even for not so normal
4199     * ones, it should only be used when there's a good reason and with a lot
4200     * of care. Mishandling override windows may result situations that
4201     * disrupt the normal workflow of the end user.
4202     *
4203     * @param obj The window object
4204     * @param override If true, the window is overridden
4205     */
4206    EAPI void         elm_win_override_set(Evas_Object *obj, Eina_Bool override) EINA_ARG_NONNULL(1);
4207    /**
4208     * Get the override state of a window.
4209     *
4210     * @param obj The window object
4211     * @return If true, the window is overridden
4212     *
4213     * @see elm_win_override_set()
4214     */
4215    EAPI Eina_Bool    elm_win_override_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4216    /**
4217     * Set the fullscreen state of a window.
4218     *
4219     * @param obj The window object
4220     * @param fullscreen If true, the window is fullscreen
4221     */
4222    EAPI void         elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen) EINA_ARG_NONNULL(1);
4223    /**
4224     * Get the fullscreen state of a window.
4225     *
4226     * @param obj The window object
4227     * @return If true, the window is fullscreen
4228     */
4229    EAPI Eina_Bool    elm_win_fullscreen_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4230    /**
4231     * Set the maximized state of a window.
4232     *
4233     * @param obj The window object
4234     * @param maximized If true, the window is maximized
4235     */
4236    EAPI void         elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized) EINA_ARG_NONNULL(1);
4237    /**
4238     * Get the maximized state of a window.
4239     *
4240     * @param obj The window object
4241     * @return If true, the window is maximized
4242     */
4243    EAPI Eina_Bool    elm_win_maximized_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4244    /**
4245     * Set the iconified state of a window.
4246     *
4247     * @param obj The window object
4248     * @param iconified If true, the window is iconified
4249     */
4250    EAPI void         elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified) EINA_ARG_NONNULL(1);
4251    /**
4252     * Get the iconified state of a window.
4253     *
4254     * @param obj The window object
4255     * @return If true, the window is iconified
4256     */
4257    EAPI Eina_Bool    elm_win_iconified_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4258    /**
4259     * Set the layer of the window.
4260     *
4261     * What this means exactly will depend on the underlying engine used.
4262     *
4263     * In the case of X11 backed engines, the value in @p layer has the
4264     * following meanings:
4265     * @li < 3: The window will be placed below all others.
4266     * @li > 5: The window will be placed above all others.
4267     * @li other: The window will be placed in the default layer.
4268     *
4269     * @param obj The window object
4270     * @param layer The layer of the window
4271     */
4272    EAPI void         elm_win_layer_set(Evas_Object *obj, int layer) EINA_ARG_NONNULL(1);
4273    /**
4274     * Get the layer of the window.
4275     *
4276     * @param obj The window object
4277     * @return The layer of the window
4278     *
4279     * @see elm_win_layer_set()
4280     */
4281    EAPI int          elm_win_layer_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4282    /**
4283     * Set the rotation of the window.
4284     *
4285     * Most engines only work with multiples of 90.
4286     *
4287     * This function is used to set the orientation of the window @p obj to
4288     * match that of the screen. The window itself will be resized to adjust
4289     * to the new geometry of its contents. If you want to keep the window size,
4290     * see elm_win_rotation_with_resize_set().
4291     *
4292     * @param obj The window object
4293     * @param rotation The rotation of the window, in degrees (0-360),
4294     * counter-clockwise.
4295     */
4296    EAPI void         elm_win_rotation_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
4297    /**
4298     * Rotates the window and resizes it.
4299     *
4300     * Like elm_win_rotation_set(), but it also resizes the window's contents so
4301     * that they fit inside the current window geometry.
4302     *
4303     * @param obj The window object
4304     * @param layer The rotation of the window in degrees (0-360),
4305     * counter-clockwise.
4306     */
4307    EAPI void         elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
4308    /**
4309     * Get the rotation of the window.
4310     *
4311     * @param obj The window object
4312     * @return The rotation of the window in degrees (0-360)
4313     *
4314     * @see elm_win_rotation_set()
4315     * @see elm_win_rotation_with_resize_set()
4316     */
4317    EAPI int          elm_win_rotation_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4318    /**
4319     * Set the sticky state of the window.
4320     *
4321     * Hints the Window Manager that the window in @p obj should be left fixed
4322     * at its position even when the virtual desktop it's on moves or changes.
4323     *
4324     * @param obj The window object
4325     * @param sticky If true, the window's sticky state is enabled
4326     */
4327    EAPI void         elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky) EINA_ARG_NONNULL(1);
4328    /**
4329     * Get the sticky state of the window.
4330     *
4331     * @param obj The window object
4332     * @return If true, the window's sticky state is enabled
4333     *
4334     * @see elm_win_sticky_set()
4335     */
4336    EAPI Eina_Bool    elm_win_sticky_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4337    /**
4338     * Set if this window is an illume conformant window
4339     *
4340     * @param obj The window object
4341     * @param conformant The conformant flag (1 = conformant, 0 = non-conformant)
4342     */
4343    EAPI void         elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant) EINA_ARG_NONNULL(1);
4344    /**
4345     * Get if this window is an illume conformant window
4346     *
4347     * @param obj The window object
4348     * @return A boolean if this window is illume conformant or not
4349     */
4350    EAPI Eina_Bool    elm_win_conformant_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4351    /**
4352     * Set a window to be an illume quickpanel window
4353     *
4354     * By default window objects are not quickpanel windows.
4355     *
4356     * @param obj The window object
4357     * @param quickpanel The quickpanel flag (1 = quickpanel, 0 = normal window)
4358     */
4359    EAPI void         elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel) EINA_ARG_NONNULL(1);
4360    /**
4361     * Get if this window is a quickpanel or not
4362     *
4363     * @param obj The window object
4364     * @return A boolean if this window is a quickpanel or not
4365     */
4366    EAPI Eina_Bool    elm_win_quickpanel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4367    /**
4368     * Set the major priority of a quickpanel window
4369     *
4370     * @param obj The window object
4371     * @param priority The major priority for this quickpanel
4372     */
4373    EAPI void         elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
4374    /**
4375     * Get the major priority of a quickpanel window
4376     *
4377     * @param obj The window object
4378     * @return The major priority of this quickpanel
4379     */
4380    EAPI int          elm_win_quickpanel_priority_major_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4381    /**
4382     * Set the minor priority of a quickpanel window
4383     *
4384     * @param obj The window object
4385     * @param priority The minor priority for this quickpanel
4386     */
4387    EAPI void         elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
4388    /**
4389     * Get the minor priority of a quickpanel window
4390     *
4391     * @param obj The window object
4392     * @return The minor priority of this quickpanel
4393     */
4394    EAPI int          elm_win_quickpanel_priority_minor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4395    /**
4396     * Set which zone this quickpanel should appear in
4397     *
4398     * @param obj The window object
4399     * @param zone The requested zone for this quickpanel
4400     */
4401    EAPI void         elm_win_quickpanel_zone_set(Evas_Object *obj, int zone) EINA_ARG_NONNULL(1);
4402    /**
4403     * Get which zone this quickpanel should appear in
4404     *
4405     * @param obj The window object
4406     * @return The requested zone for this quickpanel
4407     */
4408    EAPI int          elm_win_quickpanel_zone_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4409    /**
4410     * Set the window to be skipped by keyboard focus
4411     *
4412     * This sets the window to be skipped by normal keyboard input. This means
4413     * a window manager will be asked to not focus this window as well as omit
4414     * it from things like the taskbar, pager, "alt-tab" list etc. etc.
4415     *
4416     * Call this and enable it on a window BEFORE you show it for the first time,
4417     * otherwise it may have no effect.
4418     *
4419     * Use this for windows that have only output information or might only be
4420     * interacted with by the mouse or fingers, and never for typing input.
4421     * Be careful that this may have side-effects like making the window
4422     * non-accessible in some cases unless the window is specially handled. Use
4423     * this with care.
4424     *
4425     * @param obj The window object
4426     * @param skip The skip flag state (EINA_TRUE if it is to be skipped)
4427     */
4428    EAPI void         elm_win_prop_focus_skip_set(Evas_Object *obj, Eina_Bool skip) EINA_ARG_NONNULL(1);
4429    /**
4430     * Send a command to the windowing environment
4431     *
4432     * This is intended to work in touchscreen or small screen device
4433     * environments where there is a more simplistic window management policy in
4434     * place. This uses the window object indicated to select which part of the
4435     * environment to control (the part that this window lives in), and provides
4436     * a command and an optional parameter structure (use NULL for this if not
4437     * needed).
4438     *
4439     * @param obj The window object that lives in the environment to control
4440     * @param command The command to send
4441     * @param params Optional parameters for the command
4442     */
4443    EAPI void         elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, void *params) EINA_ARG_NONNULL(1);
4444    /**
4445     * Get the inlined image object handle
4446     *
4447     * When you create a window with elm_win_add() of type ELM_WIN_INLINED_IMAGE,
4448     * then the window is in fact an evas image object inlined in the parent
4449     * canvas. You can get this object (be careful to not manipulate it as it
4450     * is under control of elementary), and use it to do things like get pixel
4451     * data, save the image to a file, etc.
4452     *
4453     * @param obj The window object to get the inlined image from
4454     * @return The inlined image object, or NULL if none exists
4455     */
4456    EAPI Evas_Object *elm_win_inlined_image_object_get(Evas_Object *obj);
4457    /**
4458     * Determine whether a window has focus
4459     * @param obj The window to query
4460     * @return EINA_TRUE if the window exists and has focus, else EINA_FALSE
4461     */
4462    EAPI Eina_Bool    elm_win_focus_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4463    /**
4464     * Get screen geometry details for the screen that a window is on
4465     * @param obj The window to query
4466     * @param x where to return the horizontal offset value. May be NULL.
4467     * @param y  where to return the vertical offset value. May be NULL.
4468     * @param w  where to return the width value. May be NULL.
4469     * @param h  where to return the height value. May be NULL.
4470     */
4471    EAPI void         elm_win_screen_size_get(const Evas_Object *obj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
4472    /**
4473     * Set the enabled status for the focus highlight in a window
4474     *
4475     * This function will enable or disable the focus highlight only for the
4476     * given window, regardless of the global setting for it
4477     *
4478     * @param obj The window where to enable the highlight
4479     * @param enabled The enabled value for the highlight
4480     */
4481    EAPI void         elm_win_focus_highlight_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
4482    /**
4483     * Get the enabled value of the focus highlight for this window
4484     *
4485     * @param obj The window in which to check if the focus highlight is enabled
4486     *
4487     * @return EINA_TRUE if enabled, EINA_FALSE otherwise
4488     */
4489    EAPI Eina_Bool    elm_win_focus_highlight_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4490    /**
4491     * Set the style for the focus highlight on this window
4492     *
4493     * Sets the style to use for theming the highlight of focused objects on
4494     * the given window. If @p style is NULL, the default will be used.
4495     *
4496     * @param obj The window where to set the style
4497     * @param style The style to set
4498     */
4499    EAPI void         elm_win_focus_highlight_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
4500    /**
4501     * Get the style set for the focus highlight object
4502     *
4503     * Gets the style set for this windows highilght object, or NULL if none
4504     * is set.
4505     *
4506     * @param obj The window to retrieve the highlights style from
4507     *
4508     * @return The style set or NULL if none was. Default is used in that case.
4509     */
4510    EAPI const char  *elm_win_focus_highlight_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4511    /*...
4512     * ecore_x_icccm_hints_set -> accepts_focus (add to ecore_evas)
4513     * ecore_x_icccm_hints_set -> window_group (add to ecore_evas)
4514     * ecore_x_icccm_size_pos_hints_set -> request_pos (add to ecore_evas)
4515     * ecore_x_icccm_client_leader_set -> l (add to ecore_evas)
4516     * ecore_x_icccm_window_role_set -> role (add to ecore_evas)
4517     * ecore_x_icccm_transient_for_set -> forwin (add to ecore_evas)
4518     * ecore_x_netwm_window_type_set -> type (add to ecore_evas)
4519     *
4520     * (add to ecore_x) set netwm argb icon! (add to ecore_evas)
4521     * (blank mouse, private mouse obj, defaultmouse)
4522     *
4523     */
4524    /**
4525     * Sets the keyboard mode of the window.
4526     *
4527     * @param obj The window object
4528     * @param mode The mode to set, one of #Elm_Win_Keyboard_Mode
4529     */
4530    EAPI void                  elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode) EINA_ARG_NONNULL(1);
4531    /**
4532     * Gets the keyboard mode of the window.
4533     *
4534     * @param obj The window object
4535     * @return The mode, one of #Elm_Win_Keyboard_Mode
4536     */
4537    EAPI Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4538    /**
4539     * Sets whether the window is a keyboard.
4540     *
4541     * @param obj The window object
4542     * @param is_keyboard If true, the window is a virtual keyboard
4543     */
4544    EAPI void                  elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard) EINA_ARG_NONNULL(1);
4545    /**
4546     * Gets whether the window is a keyboard.
4547     *
4548     * @param obj The window object
4549     * @return If the window is a virtual keyboard
4550     */
4551    EAPI Eina_Bool             elm_win_keyboard_win_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4552
4553    /**
4554     * Get the screen position of a window.
4555     *
4556     * @param obj The window object
4557     * @param x The int to store the x coordinate to
4558     * @param y The int to store the y coordinate to
4559     */
4560    EAPI void                  elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y) EINA_ARG_NONNULL(1);
4561    /**
4562     * @}
4563     */
4564
4565    /**
4566     * @defgroup Inwin Inwin
4567     *
4568     * @image html img/widget/inwin/preview-00.png
4569     * @image latex img/widget/inwin/preview-00.eps
4570     * @image html img/widget/inwin/preview-01.png
4571     * @image latex img/widget/inwin/preview-01.eps
4572     * @image html img/widget/inwin/preview-02.png
4573     * @image latex img/widget/inwin/preview-02.eps
4574     *
4575     * An inwin is a window inside a window that is useful for a quick popup.
4576     * It does not hover.
4577     *
4578     * It works by creating an object that will occupy the entire window, so it
4579     * must be created using an @ref Win "elm_win" as parent only. The inwin
4580     * object can be hidden or restacked below every other object if it's
4581     * needed to show what's behind it without destroying it. If this is done,
4582     * the elm_win_inwin_activate() function can be used to bring it back to
4583     * full visibility again.
4584     *
4585     * There are three styles available in the default theme. These are:
4586     * @li default: The inwin is sized to take over most of the window it's
4587     * placed in.
4588     * @li minimal: The size of the inwin will be the minimum necessary to show
4589     * its contents.
4590     * @li minimal_vertical: Horizontally, the inwin takes as much space as
4591     * possible, but it's sized vertically the most it needs to fit its\
4592     * contents.
4593     *
4594     * Some examples of Inwin can be found in the following:
4595     * @li @ref inwin_example_01
4596     *
4597     * @{
4598     */
4599    /**
4600     * Adds an inwin to the current window
4601     *
4602     * The @p obj used as parent @b MUST be an @ref Win "Elementary Window".
4603     * Never call this function with anything other than the top-most window
4604     * as its parameter, unless you are fond of undefined behavior.
4605     *
4606     * After creating the object, the widget will set itself as resize object
4607     * for the window with elm_win_resize_object_add(), so when shown it will
4608     * appear to cover almost the entire window (how much of it depends on its
4609     * content and the style used). It must not be added into other container
4610     * objects and it needs not be moved or resized manually.
4611     *
4612     * @param parent The parent object
4613     * @return The new object or NULL if it cannot be created
4614     */
4615    EAPI Evas_Object          *elm_win_inwin_add(Evas_Object *obj) EINA_ARG_NONNULL(1);
4616    /**
4617     * Activates an inwin object, ensuring its visibility
4618     *
4619     * This function will make sure that the inwin @p obj is completely visible
4620     * by calling evas_object_show() and evas_object_raise() on it, to bring it
4621     * to the front. It also sets the keyboard focus to it, which will be passed
4622     * onto its content.
4623     *
4624     * The object's theme will also receive the signal "elm,action,show" with
4625     * source "elm".
4626     *
4627     * @param obj The inwin to activate
4628     */
4629    EAPI void                  elm_win_inwin_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
4630    /**
4631     * Set the content of an inwin object.
4632     *
4633     * Once the content object is set, a previously set one will be deleted.
4634     * If you want to keep that old content object, use the
4635     * elm_win_inwin_content_unset() function.
4636     *
4637     * @param obj The inwin object
4638     * @param content The object to set as content
4639     */
4640    EAPI void                  elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
4641    /**
4642     * Get the content of an inwin object.
4643     *
4644     * Return the content object which is set for this widget.
4645     *
4646     * The returned object is valid as long as the inwin is still alive and no
4647     * other content is set on it. Deleting the object will notify the inwin
4648     * about it and this one will be left empty.
4649     *
4650     * If you need to remove an inwin's content to be reused somewhere else,
4651     * see elm_win_inwin_content_unset().
4652     *
4653     * @param obj The inwin object
4654     * @return The content that is being used
4655     */
4656    EAPI Evas_Object          *elm_win_inwin_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4657    /**
4658     * Unset the content of an inwin object.
4659     *
4660     * Unparent and return the content object which was set for this widget.
4661     *
4662     * @param obj The inwin object
4663     * @return The content that was being used
4664     */
4665    EAPI Evas_Object          *elm_win_inwin_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4666    /**
4667     * @}
4668     */
4669    /* X specific calls - won't work on non-x engines (return 0) */
4670
4671    /**
4672     * Get the Ecore_X_Window of an Evas_Object
4673     *
4674     * @param obj The object
4675     *
4676     * @return The Ecore_X_Window of @p obj
4677     *
4678     * @ingroup Win
4679     */
4680    EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4681
4682    /* smart callbacks called:
4683     * "delete,request" - the user requested to delete the window
4684     * "focus,in" - window got focus
4685     * "focus,out" - window lost focus
4686     * "moved" - window that holds the canvas was moved
4687     */
4688
4689    /**
4690     * @defgroup Bg Bg
4691     *
4692     * @image html img/widget/bg/preview-00.png
4693     * @image latex img/widget/bg/preview-00.eps
4694     *
4695     * @brief Background object, used for setting a solid color, image or Edje
4696     * group as background to a window or any container object.
4697     *
4698     * The bg object is used for setting a solid background to a window or
4699     * packing into any container object. It works just like an image, but has
4700     * some properties useful to a background, like setting it to tiled,
4701     * centered, scaled or stretched.
4702     * 
4703     * Default contents parts of the bg widget that you can use for are:
4704     * @li "overlay" - overlay of the bg
4705     *
4706     * Here is some sample code using it:
4707     * @li @ref bg_01_example_page
4708     * @li @ref bg_02_example_page
4709     * @li @ref bg_03_example_page
4710     */
4711
4712    /* bg */
4713    typedef enum _Elm_Bg_Option
4714      {
4715         ELM_BG_OPTION_CENTER,  /**< center the background */
4716         ELM_BG_OPTION_SCALE,   /**< scale the background retaining aspect ratio */
4717         ELM_BG_OPTION_STRETCH, /**< stretch the background to fill */
4718         ELM_BG_OPTION_TILE     /**< tile background at its original size */
4719      } Elm_Bg_Option;
4720
4721    /**
4722     * Add a new background to the parent
4723     *
4724     * @param parent The parent object
4725     * @return The new object or NULL if it cannot be created
4726     *
4727     * @ingroup Bg
4728     */
4729    EAPI Evas_Object  *elm_bg_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4730
4731    /**
4732     * Set the file (image or edje) used for the background
4733     *
4734     * @param obj The bg object
4735     * @param file The file path
4736     * @param group Optional key (group in Edje) within the file
4737     *
4738     * This sets the image file used in the background object. The image (or edje)
4739     * will be stretched (retaining aspect if its an image file) to completely fill
4740     * the bg object. This may mean some parts are not visible.
4741     *
4742     * @note  Once the image of @p obj is set, a previously set one will be deleted,
4743     * even if @p file is NULL.
4744     *
4745     * @ingroup Bg
4746     */
4747    EAPI void          elm_bg_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
4748
4749    /**
4750     * Get the file (image or edje) used for the background
4751     *
4752     * @param obj The bg object
4753     * @param file The file path
4754     * @param group Optional key (group in Edje) within the file
4755     *
4756     * @ingroup Bg
4757     */
4758    EAPI void          elm_bg_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
4759
4760    /**
4761     * Set the option used for the background image
4762     *
4763     * @param obj The bg object
4764     * @param option The desired background option (TILE, SCALE)
4765     *
4766     * This sets the option used for manipulating the display of the background
4767     * image. The image can be tiled or scaled.
4768     *
4769     * @ingroup Bg
4770     */
4771    EAPI void          elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option) EINA_ARG_NONNULL(1);
4772
4773    /**
4774     * Get the option used for the background image
4775     *
4776     * @param obj The bg object
4777     * @return The desired background option (CENTER, SCALE, STRETCH or TILE)
4778     *
4779     * @ingroup Bg
4780     */
4781    EAPI Elm_Bg_Option elm_bg_option_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4782    /**
4783     * Set the option used for the background color
4784     *
4785     * @param obj The bg object
4786     * @param r
4787     * @param g
4788     * @param b
4789     *
4790     * This sets the color used for the background rectangle. Its range goes
4791     * from 0 to 255.
4792     *
4793     * @ingroup Bg
4794     */
4795    EAPI void          elm_bg_color_set(Evas_Object *obj, int r, int g, int b) EINA_ARG_NONNULL(1);
4796    /**
4797     * Get the option used for the background color
4798     *
4799     * @param obj The bg object
4800     * @param r
4801     * @param g
4802     * @param b
4803     *
4804     * @ingroup Bg
4805     */
4806    EAPI void          elm_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b) EINA_ARG_NONNULL(1);
4807
4808    /**
4809     * Set the overlay object used for the background object.
4810     *
4811     * @param obj The bg object
4812     * @param overlay The overlay object
4813     *
4814     * This provides a way for elm_bg to have an 'overlay' that will be on top
4815     * of the bg. Once the over object is set, a previously set one will be
4816     * deleted, even if you set the new one to NULL. If you want to keep that
4817     * old content object, use the elm_bg_overlay_unset() function.
4818     *
4819     * @deprecated use elm_object_part_content_set() instead
4820     *
4821     * @ingroup Bg
4822     */
4823
4824    EINA_DEPRECATED EAPI void          elm_bg_overlay_set(Evas_Object *obj, Evas_Object *overlay) EINA_ARG_NONNULL(1);
4825
4826    /**
4827     * Get the overlay object used for the background object.
4828     *
4829     * @param obj The bg object
4830     * @return The content that is being used
4831     *
4832     * Return the content object which is set for this widget
4833     *
4834     * @deprecated use elm_object_part_content_get() instead
4835     *
4836     * @ingroup Bg
4837     */
4838    EINA_DEPRECATED EAPI Evas_Object  *elm_bg_overlay_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4839
4840    /**
4841     * Get the overlay object used for the background object.
4842     *
4843     * @param obj The bg object
4844     * @return The content that was being used
4845     *
4846     * Unparent and return the overlay object which was set for this widget
4847     *
4848     * @deprecated use elm_object_part_content_unset() instead
4849     *
4850     * @ingroup Bg
4851     */
4852    EINA_DEPRECATED EAPI Evas_Object  *elm_bg_overlay_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4853
4854    /**
4855     * Set the size of the pixmap representation of the image.
4856     *
4857     * This option just makes sense if an image is going to be set in the bg.
4858     *
4859     * @param obj The bg object
4860     * @param w The new width of the image pixmap representation.
4861     * @param h The new height of the image pixmap representation.
4862     *
4863     * This function sets a new size for pixmap representation of the given bg
4864     * image. It allows the image to be loaded already in the specified size,
4865     * reducing the memory usage and load time when loading a big image with load
4866     * size set to a smaller size.
4867     *
4868     * NOTE: this is just a hint, the real size of the pixmap may differ
4869     * depending on the type of image being loaded, being bigger than requested.
4870     *
4871     * @ingroup Bg
4872     */
4873    EAPI void          elm_bg_load_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
4874    /* smart callbacks called:
4875     */
4876
4877    /**
4878     * @defgroup Icon Icon
4879     *
4880     * @image html img/widget/icon/preview-00.png
4881     * @image latex img/widget/icon/preview-00.eps
4882     *
4883     * An object that provides standard icon images (delete, edit, arrows, etc.)
4884     * or a custom file (PNG, JPG, EDJE, etc.) used for an icon.
4885     *
4886     * The icon image requested can be in the elementary theme, or in the
4887     * freedesktop.org paths. It's possible to set the order of preference from
4888     * where the image will be used.
4889     *
4890     * This API is very similar to @ref Image, but with ready to use images.
4891     *
4892     * Default images provided by the theme are described below.
4893     *
4894     * The first list contains icons that were first intended to be used in
4895     * toolbars, but can be used in many other places too:
4896     * @li home
4897     * @li close
4898     * @li apps
4899     * @li arrow_up
4900     * @li arrow_down
4901     * @li arrow_left
4902     * @li arrow_right
4903     * @li chat
4904     * @li clock
4905     * @li delete
4906     * @li edit
4907     * @li refresh
4908     * @li folder
4909     * @li file
4910     *
4911     * Now some icons that were designed to be used in menus (but again, you can
4912     * use them anywhere else):
4913     * @li menu/home
4914     * @li menu/close
4915     * @li menu/apps
4916     * @li menu/arrow_up
4917     * @li menu/arrow_down
4918     * @li menu/arrow_left
4919     * @li menu/arrow_right
4920     * @li menu/chat
4921     * @li menu/clock
4922     * @li menu/delete
4923     * @li menu/edit
4924     * @li menu/refresh
4925     * @li menu/folder
4926     * @li menu/file
4927     *
4928     * And here we have some media player specific icons:
4929     * @li media_player/forward
4930     * @li media_player/info
4931     * @li media_player/next
4932     * @li media_player/pause
4933     * @li media_player/play
4934     * @li media_player/prev
4935     * @li media_player/rewind
4936     * @li media_player/stop
4937     *
4938     * Signals that you can add callbacks for are:
4939     *
4940     * "clicked" - This is called when a user has clicked the icon
4941     *
4942     * An example of usage for this API follows:
4943     * @li @ref tutorial_icon
4944     */
4945
4946    /**
4947     * @addtogroup Icon
4948     * @{
4949     */
4950
4951    typedef enum _Elm_Icon_Type
4952      {
4953         ELM_ICON_NONE,
4954         ELM_ICON_FILE,
4955         ELM_ICON_STANDARD
4956      } Elm_Icon_Type;
4957    /**
4958     * @enum _Elm_Icon_Lookup_Order
4959     * @typedef Elm_Icon_Lookup_Order
4960     *
4961     * Lookup order used by elm_icon_standard_set(). Should look for icons in the
4962     * theme, FDO paths, or both?
4963     *
4964     * @ingroup Icon
4965     */
4966    typedef enum _Elm_Icon_Lookup_Order
4967      {
4968         ELM_ICON_LOOKUP_FDO_THEME, /**< icon look up order: freedesktop, theme */
4969         ELM_ICON_LOOKUP_THEME_FDO, /**< icon look up order: theme, freedesktop */
4970         ELM_ICON_LOOKUP_FDO,       /**< icon look up order: freedesktop */
4971         ELM_ICON_LOOKUP_THEME      /**< icon look up order: theme */
4972      } Elm_Icon_Lookup_Order;
4973
4974    /**
4975     * Add a new icon object to the parent.
4976     *
4977     * @param parent The parent object
4978     * @return The new object or NULL if it cannot be created
4979     *
4980     * @see elm_icon_file_set()
4981     *
4982     * @ingroup Icon
4983     */
4984    EAPI Evas_Object          *elm_icon_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4985    /**
4986     * Set the file that will be used as icon.
4987     *
4988     * @param obj The icon object
4989     * @param file The path to file that will be used as icon image
4990     * @param group The group that the icon belongs to an edje file
4991     *
4992     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
4993     *
4994     * @note The icon image set by this function can be changed by
4995     * elm_icon_standard_set().
4996     *
4997     * @see elm_icon_file_get()
4998     *
4999     * @ingroup Icon
5000     */
5001    EAPI Eina_Bool             elm_icon_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
5002    /**
5003     * Set a location in memory to be used as an icon
5004     *
5005     * @param obj The icon object
5006     * @param img The binary data that will be used as an image
5007     * @param size The size of binary data @p img
5008     * @param format Optional format of @p img to pass to the image loader
5009     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
5010     *
5011     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5012     *
5013     * @note The icon image set by this function can be changed by
5014     * elm_icon_standard_set().
5015     *
5016     * @ingroup Icon
5017     */
5018    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);
5019    /**
5020     * Get the file that will be used as icon.
5021     *
5022     * @param obj The icon object
5023     * @param file The path to file that will be used as the icon image
5024     * @param group The group that the icon belongs to, in edje file
5025     *
5026     * @see elm_icon_file_set()
5027     *
5028     * @ingroup Icon
5029     */
5030    EAPI void                  elm_icon_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
5031    EAPI void                  elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
5032    /**
5033     * Set the icon by icon standards names.
5034     *
5035     * @param obj The icon object
5036     * @param name The icon name
5037     *
5038     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5039     *
5040     * For example, freedesktop.org defines standard icon names such as "home",
5041     * "network", etc. There can be different icon sets to match those icon
5042     * keys. The @p name given as parameter is one of these "keys", and will be
5043     * used to look in the freedesktop.org paths and elementary theme. One can
5044     * change the lookup order with elm_icon_order_lookup_set().
5045     *
5046     * If name is not found in any of the expected locations and it is the
5047     * absolute path of an image file, this image will be used.
5048     *
5049     * @note The icon image set by this function can be changed by
5050     * elm_icon_file_set().
5051     *
5052     * @see elm_icon_standard_get()
5053     * @see elm_icon_file_set()
5054     *
5055     * @ingroup Icon
5056     */
5057    EAPI Eina_Bool             elm_icon_standard_set(Evas_Object *obj, const char *name) EINA_ARG_NONNULL(1);
5058    /**
5059     * Get the icon name set by icon standard names.
5060     *
5061     * @param obj The icon object
5062     * @return The icon name
5063     *
5064     * If the icon image was set using elm_icon_file_set() instead of
5065     * elm_icon_standard_set(), then this function will return @c NULL.
5066     *
5067     * @see elm_icon_standard_set()
5068     *
5069     * @ingroup Icon
5070     */
5071    EAPI const char           *elm_icon_standard_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5072    /**
5073     * Set the smooth scaling for an icon object.
5074     *
5075     * @param obj The icon object
5076     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
5077     * otherwise. Default is @c EINA_TRUE.
5078     *
5079     * Set the scaling algorithm to be used when scaling the icon image. Smooth
5080     * scaling provides a better resulting image, but is slower.
5081     *
5082     * The smooth scaling should be disabled when making animations that change
5083     * the icon size, since they will be faster. Animations that don't require
5084     * resizing of the icon can keep the smooth scaling enabled (even if the icon
5085     * is already scaled, since the scaled icon image will be cached).
5086     *
5087     * @see elm_icon_smooth_get()
5088     *
5089     * @ingroup Icon
5090     */
5091    EAPI void                  elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
5092    /**
5093     * Get whether smooth scaling is enabled for an icon object.
5094     *
5095     * @param obj The icon object
5096     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
5097     *
5098     * @see elm_icon_smooth_set()
5099     *
5100     * @ingroup Icon
5101     */
5102    EAPI Eina_Bool             elm_icon_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5103    /**
5104     * Disable scaling of this object.
5105     *
5106     * @param obj The icon object.
5107     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
5108     * otherwise. Default is @c EINA_FALSE.
5109     *
5110     * This function disables scaling of the icon object through the function
5111     * elm_object_scale_set(). However, this does not affect the object
5112     * size/resize in any way. For that effect, take a look at
5113     * elm_icon_scale_set().
5114     *
5115     * @see elm_icon_no_scale_get()
5116     * @see elm_icon_scale_set()
5117     * @see elm_object_scale_set()
5118     *
5119     * @ingroup Icon
5120     */
5121    EAPI void                  elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
5122    /**
5123     * Get whether scaling is disabled on the object.
5124     *
5125     * @param obj The icon object
5126     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
5127     *
5128     * @see elm_icon_no_scale_set()
5129     *
5130     * @ingroup Icon
5131     */
5132    EAPI Eina_Bool             elm_icon_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5133    /**
5134     * Set if the object is (up/down) resizable.
5135     *
5136     * @param obj The icon object
5137     * @param scale_up A bool to set if the object is resizable up. Default is
5138     * @c EINA_TRUE.
5139     * @param scale_down A bool to set if the object is resizable down. Default
5140     * is @c EINA_TRUE.
5141     *
5142     * This function limits the icon object resize ability. If @p scale_up is set to
5143     * @c EINA_FALSE, the object can't have its height or width resized to a value
5144     * higher than the original icon size. Same is valid for @p scale_down.
5145     *
5146     * @see elm_icon_scale_get()
5147     *
5148     * @ingroup Icon
5149     */
5150    EAPI void                  elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
5151    /**
5152     * Get if the object is (up/down) resizable.
5153     *
5154     * @param obj The icon object
5155     * @param scale_up A bool to set if the object is resizable up
5156     * @param scale_down A bool to set if the object is resizable down
5157     *
5158     * @see elm_icon_scale_set()
5159     *
5160     * @ingroup Icon
5161     */
5162    EAPI void                  elm_icon_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
5163    /**
5164     * Get the object's image size
5165     *
5166     * @param obj The icon object
5167     * @param w A pointer to store the width in
5168     * @param h A pointer to store the height in
5169     *
5170     * @ingroup Icon
5171     */
5172    EAPI void                  elm_icon_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
5173    /**
5174     * Set if the icon fill the entire object area.
5175     *
5176     * @param obj The icon object
5177     * @param fill_outside @c EINA_TRUE if the object is filled outside,
5178     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5179     *
5180     * When the icon object is resized to a different aspect ratio from the
5181     * original icon image, the icon image will still keep its aspect. This flag
5182     * tells how the image should fill the object's area. They are: keep the
5183     * entire icon inside the limits of height and width of the object (@p
5184     * fill_outside is @c EINA_FALSE) or let the extra width or height go outside
5185     * of the object, and the icon will fill the entire object (@p fill_outside
5186     * is @c EINA_TRUE).
5187     *
5188     * @note Unlike @ref Image, there's no option in icon to set the aspect ratio
5189     * retain property to false. Thus, the icon image will always keep its
5190     * original aspect ratio.
5191     *
5192     * @see elm_icon_fill_outside_get()
5193     * @see elm_image_fill_outside_set()
5194     *
5195     * @ingroup Icon
5196     */
5197    EAPI void                  elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
5198    /**
5199     * Get if the object is filled outside.
5200     *
5201     * @param obj The icon object
5202     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
5203     *
5204     * @see elm_icon_fill_outside_set()
5205     *
5206     * @ingroup Icon
5207     */
5208    EAPI Eina_Bool             elm_icon_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5209    /**
5210     * Set the prescale size for the icon.
5211     *
5212     * @param obj The icon object
5213     * @param size The prescale size. This value is used for both width and
5214     * height.
5215     *
5216     * This function sets a new size for pixmap representation of the given
5217     * icon. It allows the icon to be loaded already in the specified size,
5218     * reducing the memory usage and load time when loading a big icon with load
5219     * size set to a smaller size.
5220     *
5221     * It's equivalent to the elm_bg_load_size_set() function for bg.
5222     *
5223     * @note this is just a hint, the real size of the pixmap may differ
5224     * depending on the type of icon being loaded, being bigger than requested.
5225     *
5226     * @see elm_icon_prescale_get()
5227     * @see elm_bg_load_size_set()
5228     *
5229     * @ingroup Icon
5230     */
5231    EAPI void                  elm_icon_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
5232    /**
5233     * Get the prescale size for the icon.
5234     *
5235     * @param obj The icon object
5236     * @return The prescale size
5237     *
5238     * @see elm_icon_prescale_set()
5239     *
5240     * @ingroup Icon
5241     */
5242    EAPI int                   elm_icon_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5243    /**
5244     * Gets the image object of the icon. DO NOT MODIFY THIS.
5245     *
5246     * @param obj The icon object
5247     * @return The internal icon object
5248     *
5249     * @ingroup Icon
5250     */
5251    EAPI Evas_Object          *elm_icon_object_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
5252    /**
5253     * Sets the icon lookup order used by elm_icon_standard_set().
5254     *
5255     * @param obj The icon object
5256     * @param order The icon lookup order (can be one of
5257     * ELM_ICON_LOOKUP_FDO_THEME, ELM_ICON_LOOKUP_THEME_FDO, ELM_ICON_LOOKUP_FDO
5258     * or ELM_ICON_LOOKUP_THEME)
5259     *
5260     * @see elm_icon_order_lookup_get()
5261     * @see Elm_Icon_Lookup_Order
5262     *
5263     * @ingroup Icon
5264     */
5265    EAPI void                  elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
5266    /**
5267     * Gets the icon lookup order.
5268     *
5269     * @param obj The icon object
5270     * @return The icon lookup order
5271     *
5272     * @see elm_icon_order_lookup_set()
5273     * @see Elm_Icon_Lookup_Order
5274     *
5275     * @ingroup Icon
5276     */
5277    EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5278    /**
5279     * Enable or disable preloading of the icon
5280     *
5281     * @param obj The icon object
5282     * @param disable If EINA_TRUE, preloading will be disabled
5283     * @ingroup Icon
5284     */
5285    EAPI void                  elm_icon_preload_set(Evas_Object *obj, Eina_Bool disable) EINA_ARG_NONNULL(1);
5286    /**
5287     * Get if the icon supports animation or not.
5288     *
5289     * @param obj The icon object
5290     * @return @c EINA_TRUE if the icon supports animation,
5291     *         @c EINA_FALSE otherwise.
5292     *
5293     * Return if this elm icon's image can be animated. Currently Evas only
5294     * supports gif animation. If the return value is EINA_FALSE, other
5295     * elm_icon_animated_XXX APIs won't work.
5296     * @ingroup Icon
5297     */
5298    EAPI Eina_Bool           elm_icon_animated_available_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5299    /**
5300     * Set animation mode of the icon.
5301     *
5302     * @param obj The icon object
5303     * @param anim @c EINA_TRUE if the object do animation job,
5304     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5305     *
5306     * Since the default animation mode is set to EINA_FALSE, 
5307     * the icon is shown without animation.
5308     * This might be desirable when the application developer wants to show
5309     * a snapshot of the animated icon.
5310     * Set it to EINA_TRUE when the icon needs to be animated.
5311     * @ingroup Icon
5312     */
5313    EAPI void                elm_icon_animated_set(Evas_Object *obj, Eina_Bool animated) EINA_ARG_NONNULL(1);
5314    /**
5315     * Get animation mode of the icon.
5316     *
5317     * @param obj The icon object
5318     * @return The animation mode of the icon object
5319     * @see elm_icon_animated_set
5320     * @ingroup Icon
5321     */
5322    EAPI Eina_Bool           elm_icon_animated_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5323    /**
5324     * Set animation play mode of the icon.
5325     *
5326     * @param obj The icon object
5327     * @param play @c EINA_TRUE the object play animation images,
5328     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5329     *
5330     * To play elm icon's animation, set play to EINA_TURE.
5331     * For example, you make gif player using this set/get API and click event.
5332     *
5333     * 1. Click event occurs
5334     * 2. Check play flag using elm_icon_animaged_play_get
5335     * 3. If elm icon was playing, set play to EINA_FALSE.
5336     *    Then animation will be stopped and vice versa
5337     * @ingroup Icon
5338     */
5339    EAPI void                elm_icon_animated_play_set(Evas_Object *obj, Eina_Bool play) EINA_ARG_NONNULL(1);
5340    /**
5341     * Get animation play mode of the icon.
5342     *
5343     * @param obj The icon object
5344     * @return The play mode of the icon object
5345     *
5346     * @see elm_icon_animated_play_get
5347     * @ingroup Icon
5348     */
5349    EAPI Eina_Bool           elm_icon_animated_play_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5350
5351    /**
5352     * @}
5353     */
5354
5355    /**
5356     * @defgroup Image Image
5357     *
5358     * @image html img/widget/image/preview-00.png
5359     * @image latex img/widget/image/preview-00.eps
5360
5361     *
5362     * An object that allows one to load an image file to it. It can be used
5363     * anywhere like any other elementary widget.
5364     *
5365     * This widget provides most of the functionality provided from @ref Bg or @ref
5366     * Icon, but with a slightly different API (use the one that fits better your
5367     * needs).
5368     *
5369     * The features not provided by those two other image widgets are:
5370     * @li allowing to get the basic @c Evas_Object with elm_image_object_get();
5371     * @li change the object orientation with elm_image_orient_set();
5372     * @li and turning the image editable with elm_image_editable_set().
5373     *
5374     * Signals that you can add callbacks for are:
5375     *
5376     * @li @c "clicked" - This is called when a user has clicked the image
5377     *
5378     * An example of usage for this API follows:
5379     * @li @ref tutorial_image
5380     */
5381
5382    /**
5383     * @addtogroup Image
5384     * @{
5385     */
5386
5387    /**
5388     * @enum _Elm_Image_Orient
5389     * @typedef Elm_Image_Orient
5390     *
5391     * Possible orientation options for elm_image_orient_set().
5392     *
5393     * @image html elm_image_orient_set.png
5394     * @image latex elm_image_orient_set.eps width=\textwidth
5395     *
5396     * @ingroup Image
5397     */
5398    typedef enum _Elm_Image_Orient
5399      {
5400         ELM_IMAGE_ORIENT_NONE, /**< no orientation change */
5401         ELM_IMAGE_ROTATE_90_CW, /**< rotate 90 degrees clockwise */
5402         ELM_IMAGE_ROTATE_180_CW, /**< rotate 180 degrees clockwise */
5403         ELM_IMAGE_ROTATE_90_CCW, /**< rotate 90 degrees counter-clockwise (i.e. 270 degrees clockwise) */
5404         ELM_IMAGE_FLIP_HORIZONTAL, /**< flip image horizontally */
5405         ELM_IMAGE_FLIP_VERTICAL, /**< flip image vertically */
5406         ELM_IMAGE_FLIP_TRANSPOSE, /**< flip the image along the y = (side - x) line*/
5407         ELM_IMAGE_FLIP_TRANSVERSE /**< flip the image along the y = x line */
5408      } Elm_Image_Orient;
5409
5410    /**
5411     * Add a new image to the parent.
5412     *
5413     * @param parent The parent object
5414     * @return The new object or NULL if it cannot be created
5415     *
5416     * @see elm_image_file_set()
5417     *
5418     * @ingroup Image
5419     */
5420    EAPI Evas_Object     *elm_image_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5421    /**
5422     * Set the file that will be used as image.
5423     *
5424     * @param obj The image object
5425     * @param file The path to file that will be used as image
5426     * @param group The group that the image belongs in edje file (if it's an
5427     * edje image)
5428     *
5429     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5430     *
5431     * @see elm_image_file_get()
5432     *
5433     * @ingroup Image
5434     */
5435    EAPI Eina_Bool        elm_image_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
5436    /**
5437     * Get the file that will be used as image.
5438     *
5439     * @param obj The image object
5440     * @param file The path to file
5441     * @param group The group that the image belongs in edje file
5442     *
5443     * @see elm_image_file_set()
5444     *
5445     * @ingroup Image
5446     */
5447    EAPI void             elm_image_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
5448    /**
5449     * Set the smooth effect for an image.
5450     *
5451     * @param obj The image object
5452     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
5453     * otherwise. Default is @c EINA_TRUE.
5454     *
5455     * Set the scaling algorithm to be used when scaling the image. Smooth
5456     * scaling provides a better resulting image, but is slower.
5457     *
5458     * The smooth scaling should be disabled when making animations that change
5459     * the image size, since it will be faster. Animations that don't require
5460     * resizing of the image can keep the smooth scaling enabled (even if the
5461     * image is already scaled, since the scaled image will be cached).
5462     *
5463     * @see elm_image_smooth_get()
5464     *
5465     * @ingroup Image
5466     */
5467    EAPI void             elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
5468    /**
5469     * Get the smooth effect for an image.
5470     *
5471     * @param obj The image object
5472     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
5473     *
5474     * @see elm_image_smooth_get()
5475     *
5476     * @ingroup Image
5477     */
5478    EAPI Eina_Bool        elm_image_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5479
5480    /**
5481     * Gets the current size of the image.
5482     *
5483     * @param obj The image object.
5484     * @param w Pointer to store width, or NULL.
5485     * @param h Pointer to store height, or NULL.
5486     *
5487     * This is the real size of the image, not the size of the object.
5488     *
5489     * On error, neither w or h will be written.
5490     *
5491     * @ingroup Image
5492     */
5493    EAPI void             elm_image_object_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
5494    /**
5495     * Disable scaling of this object.
5496     *
5497     * @param obj The image object.
5498     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
5499     * otherwise. Default is @c EINA_FALSE.
5500     *
5501     * This function disables scaling of the elm_image widget through the
5502     * function elm_object_scale_set(). However, this does not affect the widget
5503     * size/resize in any way. For that effect, take a look at
5504     * elm_image_scale_set().
5505     *
5506     * @see elm_image_no_scale_get()
5507     * @see elm_image_scale_set()
5508     * @see elm_object_scale_set()
5509     *
5510     * @ingroup Image
5511     */
5512    EAPI void             elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
5513    /**
5514     * Get whether scaling is disabled on the object.
5515     *
5516     * @param obj The image object
5517     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
5518     *
5519     * @see elm_image_no_scale_set()
5520     *
5521     * @ingroup Image
5522     */
5523    EAPI Eina_Bool        elm_image_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5524    /**
5525     * Set if the object is (up/down) resizable.
5526     *
5527     * @param obj The image object
5528     * @param scale_up A bool to set if the object is resizable up. Default is
5529     * @c EINA_TRUE.
5530     * @param scale_down A bool to set if the object is resizable down. Default
5531     * is @c EINA_TRUE.
5532     *
5533     * This function limits the image resize ability. If @p scale_up is set to
5534     * @c EINA_FALSE, the object can't have its height or width resized to a value
5535     * higher than the original image size. Same is valid for @p scale_down.
5536     *
5537     * @see elm_image_scale_get()
5538     *
5539     * @ingroup Image
5540     */
5541    EAPI void             elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
5542    /**
5543     * Get if the object is (up/down) resizable.
5544     *
5545     * @param obj The image object
5546     * @param scale_up A bool to set if the object is resizable up
5547     * @param scale_down A bool to set if the object is resizable down
5548     *
5549     * @see elm_image_scale_set()
5550     *
5551     * @ingroup Image
5552     */
5553    EAPI void             elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
5554    /**
5555     * Set if the image fills the entire object area, when keeping the aspect ratio.
5556     *
5557     * @param obj The image object
5558     * @param fill_outside @c EINA_TRUE if the object is filled outside,
5559     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5560     *
5561     * When the image should keep its aspect ratio even if resized to another
5562     * aspect ratio, there are two possibilities to resize it: keep the entire
5563     * image inside the limits of height and width of the object (@p fill_outside
5564     * is @c EINA_FALSE) or let the extra width or height go outside of the object,
5565     * and the image will fill the entire object (@p fill_outside is @c EINA_TRUE).
5566     *
5567     * @note This option will have no effect if
5568     * elm_image_aspect_ratio_retained_set() is set to @c EINA_FALSE.
5569     *
5570     * @see elm_image_fill_outside_get()
5571     * @see elm_image_aspect_ratio_retained_set()
5572     *
5573     * @ingroup Image
5574     */
5575    EAPI void             elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
5576    /**
5577     * Get if the object is filled outside
5578     *
5579     * @param obj The image object
5580     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
5581     *
5582     * @see elm_image_fill_outside_set()
5583     *
5584     * @ingroup Image
5585     */
5586    EAPI Eina_Bool        elm_image_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5587    /**
5588     * Set the prescale size for the image
5589     *
5590     * @param obj The image object
5591     * @param size The prescale size. This value is used for both width and
5592     * height.
5593     *
5594     * This function sets a new size for pixmap representation of the given
5595     * image. It allows the image to be loaded already in the specified size,
5596     * reducing the memory usage and load time when loading a big image with load
5597     * size set to a smaller size.
5598     *
5599     * It's equivalent to the elm_bg_load_size_set() function for bg.
5600     *
5601     * @note this is just a hint, the real size of the pixmap may differ
5602     * depending on the type of image being loaded, being bigger than requested.
5603     *
5604     * @see elm_image_prescale_get()
5605     * @see elm_bg_load_size_set()
5606     *
5607     * @ingroup Image
5608     */
5609    EAPI void             elm_image_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
5610    /**
5611     * Get the prescale size for the image
5612     *
5613     * @param obj The image object
5614     * @return The prescale size
5615     *
5616     * @see elm_image_prescale_set()
5617     *
5618     * @ingroup Image
5619     */
5620    EAPI int              elm_image_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5621    /**
5622     * Set the image orientation.
5623     *
5624     * @param obj The image object
5625     * @param orient The image orientation @ref Elm_Image_Orient
5626     *  Default is #ELM_IMAGE_ORIENT_NONE.
5627     *
5628     * This function allows to rotate or flip the given image.
5629     *
5630     * @see elm_image_orient_get()
5631     * @see @ref Elm_Image_Orient
5632     *
5633     * @ingroup Image
5634     */
5635    EAPI void             elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient) EINA_ARG_NONNULL(1);
5636    /**
5637     * Get the image orientation.
5638     *
5639     * @param obj The image object
5640     * @return The image orientation @ref Elm_Image_Orient
5641     *
5642     * @see elm_image_orient_set()
5643     * @see @ref Elm_Image_Orient
5644     *
5645     * @ingroup Image
5646     */
5647    EAPI Elm_Image_Orient elm_image_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5648    /**
5649     * Make the image 'editable'.
5650     *
5651     * @param obj Image object.
5652     * @param set Turn on or off editability. Default is @c EINA_FALSE.
5653     *
5654     * This means the image is a valid drag target for drag and drop, and can be
5655     * cut or pasted too.
5656     *
5657     * @ingroup Image
5658     */
5659    EAPI void             elm_image_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
5660    /**
5661     * Check if the image 'editable'.
5662     *
5663     * @param obj Image object.
5664     * @return Editability.
5665     *
5666     * A return value of EINA_TRUE means the image is a valid drag target
5667     * for drag and drop, and can be cut or pasted too.
5668     *
5669     * @ingroup Image
5670     */
5671    EAPI Eina_Bool        elm_image_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5672    /**
5673     * Get the basic Evas_Image object from this object (widget).
5674     *
5675     * @param obj The image object to get the inlined image from
5676     * @return The inlined image object, or NULL if none exists
5677     *
5678     * This function allows one to get the underlying @c Evas_Object of type
5679     * Image from this elementary widget. It can be useful to do things like get
5680     * the pixel data, save the image to a file, etc.
5681     *
5682     * @note Be careful to not manipulate it, as it is under control of
5683     * elementary.
5684     *
5685     * @ingroup Image
5686     */
5687    EAPI Evas_Object     *elm_image_object_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5688    /**
5689     * Set whether the original aspect ratio of the image should be kept on resize.
5690     *
5691     * @param obj The image object.
5692     * @param retained @c EINA_TRUE if the image should retain the aspect,
5693     * @c EINA_FALSE otherwise.
5694     *
5695     * The original aspect ratio (width / height) of the image is usually
5696     * distorted to match the object's size. Enabling this option will retain
5697     * this original aspect, and the way that the image is fit into the object's
5698     * area depends on the option set by elm_image_fill_outside_set().
5699     *
5700     * @see elm_image_aspect_ratio_retained_get()
5701     * @see elm_image_fill_outside_set()
5702     *
5703     * @ingroup Image
5704     */
5705    EAPI void             elm_image_aspect_ratio_retained_set(Evas_Object *obj, Eina_Bool retained) EINA_ARG_NONNULL(1);
5706    /**
5707     * Get if the object retains the original aspect ratio.
5708     *
5709     * @param obj The image object.
5710     * @return @c EINA_TRUE if the object keeps the original aspect, @c EINA_FALSE
5711     * otherwise.
5712     *
5713     * @ingroup Image
5714     */
5715    EAPI Eina_Bool        elm_image_aspect_ratio_retained_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5716
5717    /**
5718     * @}
5719     */
5720
5721    /* box */
5722    /**
5723     * @defgroup Box Box
5724     *
5725     * @image html img/widget/box/preview-00.png
5726     * @image latex img/widget/box/preview-00.eps width=\textwidth
5727     *
5728     * @image html img/box.png
5729     * @image latex img/box.eps width=\textwidth
5730     *
5731     * A box arranges objects in a linear fashion, governed by a layout function
5732     * that defines the details of this arrangement.
5733     *
5734     * By default, the box will use an internal function to set the layout to
5735     * a single row, either vertical or horizontal. This layout is affected
5736     * by a number of parameters, such as the homogeneous flag set by
5737     * elm_box_homogeneous_set(), the values given by elm_box_padding_set() and
5738     * elm_box_align_set() and the hints set to each object in the box.
5739     *
5740     * For this default layout, it's possible to change the orientation with
5741     * elm_box_horizontal_set(). The box will start in the vertical orientation,
5742     * placing its elements ordered from top to bottom. When horizontal is set,
5743     * the order will go from left to right. If the box is set to be
5744     * homogeneous, every object in it will be assigned the same space, that
5745     * of the largest object. Padding can be used to set some spacing between
5746     * the cell given to each object. The alignment of the box, set with
5747     * elm_box_align_set(), determines how the bounding box of all the elements
5748     * will be placed within the space given to the box widget itself.
5749     *
5750     * The size hints of each object also affect how they are placed and sized
5751     * within the box. evas_object_size_hint_min_set() will give the minimum
5752     * size the object can have, and the box will use it as the basis for all
5753     * latter calculations. Elementary widgets set their own minimum size as
5754     * needed, so there's rarely any need to use it manually.
5755     *
5756     * evas_object_size_hint_weight_set(), when not in homogeneous mode, is
5757     * used to tell whether the object will be allocated the minimum size it
5758     * needs or if the space given to it should be expanded. It's important
5759     * to realize that expanding the size given to the object is not the same
5760     * thing as resizing the object. It could very well end being a small
5761     * widget floating in a much larger empty space. If not set, the weight
5762     * for objects will normally be 0.0 for both axis, meaning the widget will
5763     * not be expanded. To take as much space possible, set the weight to
5764     * EVAS_HINT_EXPAND (defined to 1.0) for the desired axis to expand.
5765     *
5766     * Besides how much space each object is allocated, it's possible to control
5767     * how the widget will be placed within that space using
5768     * evas_object_size_hint_align_set(). By default, this value will be 0.5
5769     * for both axis, meaning the object will be centered, but any value from
5770     * 0.0 (left or top, for the @c x and @c y axis, respectively) to 1.0
5771     * (right or bottom) can be used. The special value EVAS_HINT_FILL, which
5772     * is -1.0, means the object will be resized to fill the entire space it
5773     * was allocated.
5774     *
5775     * In addition, customized functions to define the layout can be set, which
5776     * allow the application developer to organize the objects within the box
5777     * in any number of ways.
5778     *
5779     * The special elm_box_layout_transition() function can be used
5780     * to switch from one layout to another, animating the motion of the
5781     * children of the box.
5782     *
5783     * @note Objects should not be added to box objects using _add() calls.
5784     *
5785     * Some examples on how to use boxes follow:
5786     * @li @ref box_example_01
5787     * @li @ref box_example_02
5788     *
5789     * @{
5790     */
5791    /**
5792     * @typedef Elm_Box_Transition
5793     *
5794     * Opaque handler containing the parameters to perform an animated
5795     * transition of the layout the box uses.
5796     *
5797     * @see elm_box_transition_new()
5798     * @see elm_box_layout_set()
5799     * @see elm_box_layout_transition()
5800     */
5801    typedef struct _Elm_Box_Transition Elm_Box_Transition;
5802
5803    /**
5804     * Add a new box to the parent
5805     *
5806     * By default, the box will be in vertical mode and non-homogeneous.
5807     *
5808     * @param parent The parent object
5809     * @return The new object or NULL if it cannot be created
5810     */
5811    EAPI Evas_Object        *elm_box_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5812    /**
5813     * Set the horizontal orientation
5814     *
5815     * By default, box object arranges their contents vertically from top to
5816     * bottom.
5817     * By calling this function with @p horizontal as EINA_TRUE, the box will
5818     * become horizontal, arranging contents from left to right.
5819     *
5820     * @note This flag is ignored if a custom layout function is set.
5821     *
5822     * @param obj The box object
5823     * @param horizontal The horizontal flag (EINA_TRUE = horizontal,
5824     * EINA_FALSE = vertical)
5825     */
5826    EAPI void                elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
5827    /**
5828     * Get the horizontal orientation
5829     *
5830     * @param obj The box object
5831     * @return EINA_TRUE if the box is set to horizontal mode, EINA_FALSE otherwise
5832     */
5833    EAPI Eina_Bool           elm_box_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5834    /**
5835     * Set the box to arrange its children homogeneously
5836     *
5837     * If enabled, homogeneous layout makes all items the same size, according
5838     * to the size of the largest of its children.
5839     *
5840     * @note This flag is ignored if a custom layout function is set.
5841     *
5842     * @param obj The box object
5843     * @param homogeneous The homogeneous flag
5844     */
5845    EAPI void                elm_box_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
5846    /**
5847     * Get whether the box is using homogeneous mode or not
5848     *
5849     * @param obj The box object
5850     * @return EINA_TRUE if it's homogeneous, EINA_FALSE otherwise
5851     */
5852    EAPI Eina_Bool           elm_box_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5853    EINA_DEPRECATED EAPI void elm_box_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
5854    EINA_DEPRECATED EAPI Eina_Bool elm_box_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5855    /**
5856     * Add an object to the beginning of the pack list
5857     *
5858     * Pack @p subobj into the box @p obj, placing it first in the list of
5859     * children objects. The actual position the object will get on screen
5860     * depends on the layout used. If no custom layout is set, it will be at
5861     * the top or left, depending if the box is vertical or horizontal,
5862     * respectively.
5863     *
5864     * @param obj The box object
5865     * @param subobj The object to add to the box
5866     *
5867     * @see elm_box_pack_end()
5868     * @see elm_box_pack_before()
5869     * @see elm_box_pack_after()
5870     * @see elm_box_unpack()
5871     * @see elm_box_unpack_all()
5872     * @see elm_box_clear()
5873     */
5874    EAPI void                elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
5875    /**
5876     * Add an object at the end of the pack list
5877     *
5878     * Pack @p subobj into the box @p obj, placing it last in the list of
5879     * children objects. The actual position the object will get on screen
5880     * depends on the layout used. If no custom layout is set, it will be at
5881     * the bottom or right, depending if the box is vertical or horizontal,
5882     * respectively.
5883     *
5884     * @param obj The box object
5885     * @param subobj The object to add to the box
5886     *
5887     * @see elm_box_pack_start()
5888     * @see elm_box_pack_before()
5889     * @see elm_box_pack_after()
5890     * @see elm_box_unpack()
5891     * @see elm_box_unpack_all()
5892     * @see elm_box_clear()
5893     */
5894    EAPI void                elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
5895    /**
5896     * Adds an object to the box before the indicated object
5897     *
5898     * This will add the @p subobj to the box indicated before the object
5899     * indicated with @p before. If @p before is not already in the box, results
5900     * are undefined. Before means either to the left of the indicated object or
5901     * above it depending on orientation.
5902     *
5903     * @param obj The box object
5904     * @param subobj The object to add to the box
5905     * @param before The object before which to add it
5906     *
5907     * @see elm_box_pack_start()
5908     * @see elm_box_pack_end()
5909     * @see elm_box_pack_after()
5910     * @see elm_box_unpack()
5911     * @see elm_box_unpack_all()
5912     * @see elm_box_clear()
5913     */
5914    EAPI void                elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before) EINA_ARG_NONNULL(1);
5915    /**
5916     * Adds an object to the box after the indicated object
5917     *
5918     * This will add the @p subobj to the box indicated after the object
5919     * indicated with @p after. If @p after is not already in the box, results
5920     * are undefined. After means either to the right of the indicated object or
5921     * below it depending on orientation.
5922     *
5923     * @param obj The box object
5924     * @param subobj The object to add to the box
5925     * @param after The object after which to add it
5926     *
5927     * @see elm_box_pack_start()
5928     * @see elm_box_pack_end()
5929     * @see elm_box_pack_before()
5930     * @see elm_box_unpack()
5931     * @see elm_box_unpack_all()
5932     * @see elm_box_clear()
5933     */
5934    EAPI void                elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after) EINA_ARG_NONNULL(1);
5935    /**
5936     * Clear the box of all children
5937     *
5938     * Remove all the elements contained by the box, deleting the respective
5939     * objects.
5940     *
5941     * @param obj The box object
5942     *
5943     * @see elm_box_unpack()
5944     * @see elm_box_unpack_all()
5945     */
5946    EAPI void                elm_box_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
5947    /**
5948     * Unpack a box item
5949     *
5950     * Remove the object given by @p subobj from the box @p obj without
5951     * deleting it.
5952     *
5953     * @param obj The box object
5954     *
5955     * @see elm_box_unpack_all()
5956     * @see elm_box_clear()
5957     */
5958    EAPI void                elm_box_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
5959    /**
5960     * Remove all items from the box, without deleting them
5961     *
5962     * Clear the box from all children, but don't delete the respective objects.
5963     * If no other references of the box children exist, the objects will never
5964     * be deleted, and thus the application will leak the memory. Make sure
5965     * when using this function that you hold a reference to all the objects
5966     * in the box @p obj.
5967     *
5968     * @param obj The box object
5969     *
5970     * @see elm_box_clear()
5971     * @see elm_box_unpack()
5972     */
5973    EAPI void                elm_box_unpack_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
5974    /**
5975     * Retrieve a list of the objects packed into the box
5976     *
5977     * Returns a new @c Eina_List with a pointer to @c Evas_Object in its nodes.
5978     * The order of the list corresponds to the packing order the box uses.
5979     *
5980     * You must free this list with eina_list_free() once you are done with it.
5981     *
5982     * @param obj The box object
5983     */
5984    EAPI const Eina_List    *elm_box_children_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5985    /**
5986     * Set the space (padding) between the box's elements.
5987     *
5988     * Extra space in pixels that will be added between a box child and its
5989     * neighbors after its containing cell has been calculated. This padding
5990     * is set for all elements in the box, besides any possible padding that
5991     * individual elements may have through their size hints.
5992     *
5993     * @param obj The box object
5994     * @param horizontal The horizontal space between elements
5995     * @param vertical The vertical space between elements
5996     */
5997    EAPI void                elm_box_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
5998    /**
5999     * Get the space (padding) between the box's elements.
6000     *
6001     * @param obj The box object
6002     * @param horizontal The horizontal space between elements
6003     * @param vertical The vertical space between elements
6004     *
6005     * @see elm_box_padding_set()
6006     */
6007    EAPI void                elm_box_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
6008    /**
6009     * Set the alignment of the whole bouding box of contents.
6010     *
6011     * Sets how the bounding box containing all the elements of the box, after
6012     * their sizes and position has been calculated, will be aligned within
6013     * the space given for the whole box widget.
6014     *
6015     * @param obj The box object
6016     * @param horizontal The horizontal alignment of elements
6017     * @param vertical The vertical alignment of elements
6018     */
6019    EAPI void                elm_box_align_set(Evas_Object *obj, double horizontal, double vertical) EINA_ARG_NONNULL(1);
6020    /**
6021     * Get the alignment of the whole bouding box of contents.
6022     *
6023     * @param obj The box object
6024     * @param horizontal The horizontal alignment of elements
6025     * @param vertical The vertical alignment of elements
6026     *
6027     * @see elm_box_align_set()
6028     */
6029    EAPI void                elm_box_align_get(const Evas_Object *obj, double *horizontal, double *vertical) EINA_ARG_NONNULL(1);
6030
6031    /**
6032     * Force the box to recalculate its children packing.
6033     *
6034     * If any children was added or removed, box will not calculate the
6035     * values immediately rather leaving it to the next main loop
6036     * iteration. While this is great as it would save lots of
6037     * recalculation, whenever you need to get the position of a just
6038     * added item you must force recalculate before doing so.
6039     *
6040     * @param obj The box object.
6041     */
6042    EAPI void                 elm_box_recalculate(Evas_Object *obj);
6043
6044    /**
6045     * Set the layout defining function to be used by the box
6046     *
6047     * Whenever anything changes that requires the box in @p obj to recalculate
6048     * the size and position of its elements, the function @p cb will be called
6049     * to determine what the layout of the children will be.
6050     *
6051     * Once a custom function is set, everything about the children layout
6052     * is defined by it. The flags set by elm_box_horizontal_set() and
6053     * elm_box_homogeneous_set() no longer have any meaning, and the values
6054     * given by elm_box_padding_set() and elm_box_align_set() are up to this
6055     * layout function to decide if they are used and how. These last two
6056     * will be found in the @c priv parameter, of type @c Evas_Object_Box_Data,
6057     * passed to @p cb. The @c Evas_Object the function receives is not the
6058     * Elementary widget, but the internal Evas Box it uses, so none of the
6059     * functions described here can be used on it.
6060     *
6061     * Any of the layout functions in @c Evas can be used here, as well as the
6062     * special elm_box_layout_transition().
6063     *
6064     * The final @p data argument received by @p cb is the same @p data passed
6065     * here, and the @p free_data function will be called to free it
6066     * whenever the box is destroyed or another layout function is set.
6067     *
6068     * Setting @p cb to NULL will revert back to the default layout function.
6069     *
6070     * @param obj The box object
6071     * @param cb The callback function used for layout
6072     * @param data Data that will be passed to layout function
6073     * @param free_data Function called to free @p data
6074     *
6075     * @see elm_box_layout_transition()
6076     */
6077    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);
6078    /**
6079     * Special layout function that animates the transition from one layout to another
6080     *
6081     * Normally, when switching the layout function for a box, this will be
6082     * reflected immediately on screen on the next render, but it's also
6083     * possible to do this through an animated transition.
6084     *
6085     * This is done by creating an ::Elm_Box_Transition and setting the box
6086     * layout to this function.
6087     *
6088     * For example:
6089     * @code
6090     * Elm_Box_Transition *t = elm_box_transition_new(1.0,
6091     *                            evas_object_box_layout_vertical, // start
6092     *                            NULL, // data for initial layout
6093     *                            NULL, // free function for initial data
6094     *                            evas_object_box_layout_horizontal, // end
6095     *                            NULL, // data for final layout
6096     *                            NULL, // free function for final data
6097     *                            anim_end, // will be called when animation ends
6098     *                            NULL); // data for anim_end function\
6099     * elm_box_layout_set(box, elm_box_layout_transition, t,
6100     *                    elm_box_transition_free);
6101     * @endcode
6102     *
6103     * @note This function can only be used with elm_box_layout_set(). Calling
6104     * it directly will not have the expected results.
6105     *
6106     * @see elm_box_transition_new
6107     * @see elm_box_transition_free
6108     * @see elm_box_layout_set
6109     */
6110    EAPI void                elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data);
6111    /**
6112     * Create a new ::Elm_Box_Transition to animate the switch of layouts
6113     *
6114     * If you want to animate the change from one layout to another, you need
6115     * to set the layout function of the box to elm_box_layout_transition(),
6116     * passing as user data to it an instance of ::Elm_Box_Transition with the
6117     * necessary information to perform this animation. The free function to
6118     * set for the layout is elm_box_transition_free().
6119     *
6120     * The parameters to create an ::Elm_Box_Transition sum up to how long
6121     * will it be, in seconds, a layout function to describe the initial point,
6122     * another for the final position of the children and one function to be
6123     * called when the whole animation ends. This last function is useful to
6124     * set the definitive layout for the box, usually the same as the end
6125     * layout for the animation, but could be used to start another transition.
6126     *
6127     * @param start_layout The layout function that will be used to start the animation
6128     * @param start_layout_data The data to be passed the @p start_layout function
6129     * @param start_layout_free_data Function to free @p start_layout_data
6130     * @param end_layout The layout function that will be used to end the animation
6131     * @param end_layout_free_data The data to be passed the @p end_layout function
6132     * @param end_layout_free_data Function to free @p end_layout_data
6133     * @param transition_end_cb Callback function called when animation ends
6134     * @param transition_end_data Data to be passed to @p transition_end_cb
6135     * @return An instance of ::Elm_Box_Transition
6136     *
6137     * @see elm_box_transition_new
6138     * @see elm_box_layout_transition
6139     */
6140    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);
6141    /**
6142     * Free a Elm_Box_Transition instance created with elm_box_transition_new().
6143     *
6144     * This function is mostly useful as the @c free_data parameter in
6145     * elm_box_layout_set() when elm_box_layout_transition().
6146     *
6147     * @param data The Elm_Box_Transition instance to be freed.
6148     *
6149     * @see elm_box_transition_new
6150     * @see elm_box_layout_transition
6151     */
6152    EAPI void                elm_box_transition_free(void *data);
6153    /**
6154     * @}
6155     */
6156
6157    /* button */
6158    /**
6159     * @defgroup Button Button
6160     *
6161     * @image html img/widget/button/preview-00.png
6162     * @image latex img/widget/button/preview-00.eps
6163     * @image html img/widget/button/preview-01.png
6164     * @image latex img/widget/button/preview-01.eps
6165     * @image html img/widget/button/preview-02.png
6166     * @image latex img/widget/button/preview-02.eps
6167     *
6168     * This is a push-button. Press it and run some function. It can contain
6169     * a simple label and icon object and it also has an autorepeat feature.
6170     *
6171     * This widgets emits the following signals:
6172     * @li "clicked": the user clicked the button (press/release).
6173     * @li "repeated": the user pressed the button without releasing it.
6174     * @li "pressed": button was pressed.
6175     * @li "unpressed": button was released after being pressed.
6176     * In all three cases, the @c event parameter of the callback will be
6177     * @c NULL.
6178     *
6179     * Also, defined in the default theme, the button has the following styles
6180     * available:
6181     * @li default: a normal button.
6182     * @li anchor: Like default, but the button fades away when the mouse is not
6183     * over it, leaving only the text or icon.
6184     * @li hoversel_vertical: Internally used by @ref Hoversel to give a
6185     * continuous look across its options.
6186     * @li hoversel_vertical_entry: Another internal for @ref Hoversel.
6187     *
6188     * Default contents parts of the button widget that you can use for are:
6189     * @li "icon" - A icon of the button
6190     *
6191     * Default text parts of the button widget that you can use for are:
6192     * @li "default" - Label of the button
6193     *
6194     * Follow through a complete example @ref button_example_01 "here".
6195     * @{
6196     */
6197    /**
6198     * Add a new button to the parent's canvas
6199     *
6200     * @param parent The parent object
6201     * @return The new object or NULL if it cannot be created
6202     */
6203    EAPI Evas_Object *elm_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6204    /**
6205     * Set the label used in the button
6206     *
6207     * The passed @p label can be NULL to clean any existing text in it and
6208     * leave the button as an icon only object.
6209     *
6210     * @param obj The button object
6211     * @param label The text will be written on the button
6212     * @deprecated use elm_object_text_set() instead.
6213     */
6214    EINA_DEPRECATED EAPI void         elm_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6215    /**
6216     * Get the label set for the button
6217     *
6218     * The string returned is an internal pointer and should not be freed or
6219     * altered. It will also become invalid when the button is destroyed.
6220     * The string returned, if not NULL, is a stringshare, so if you need to
6221     * keep it around even after the button is destroyed, you can use
6222     * eina_stringshare_ref().
6223     *
6224     * @param obj The button object
6225     * @return The text set to the label, or NULL if nothing is set
6226     * @deprecated use elm_object_text_set() instead.
6227     */
6228    EINA_DEPRECATED EAPI const char  *elm_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6229    /**
6230     * Set the icon used for the button
6231     *
6232     * Setting a new icon will delete any other that was previously set, making
6233     * any reference to them invalid. If you need to maintain the previous
6234     * object alive, unset it first with elm_button_icon_unset().
6235     *
6236     * @param obj The button object
6237     * @param icon The icon object for the button
6238     * @deprecated use elm_object_part_content_set() instead.
6239     */
6240    EINA_DEPRECATED EAPI void         elm_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6241    /**
6242     * Get the icon used for the button
6243     *
6244     * Return the icon object which is set for this widget. If the button is
6245     * destroyed or another icon is set, the returned object will be deleted
6246     * and any reference to it will be invalid.
6247     *
6248     * @param obj The button object
6249     * @return The icon object that is being used
6250     *
6251     * @deprecated use elm_object_part_content_get() instead
6252     */
6253    EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6254    /**
6255     * Remove the icon set without deleting it and return the object
6256     *
6257     * This function drops the reference the button holds of the icon object
6258     * and returns this last object. It is used in case you want to remove any
6259     * icon, or set another one, without deleting the actual object. The button
6260     * will be left without an icon set.
6261     *
6262     * @param obj The button object
6263     * @return The icon object that was being used
6264     * @deprecated use elm_object_part_content_unset() instead.
6265     */
6266    EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6267    /**
6268     * Turn on/off the autorepeat event generated when the button is kept pressed
6269     *
6270     * When off, no autorepeat is performed and buttons emit a normal @c clicked
6271     * signal when they are clicked.
6272     *
6273     * When on, keeping a button pressed will continuously emit a @c repeated
6274     * signal until the button is released. The time it takes until it starts
6275     * emitting the signal is given by
6276     * elm_button_autorepeat_initial_timeout_set(), and the time between each
6277     * new emission by elm_button_autorepeat_gap_timeout_set().
6278     *
6279     * @param obj The button object
6280     * @param on  A bool to turn on/off the event
6281     */
6282    EAPI void         elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on) EINA_ARG_NONNULL(1);
6283    /**
6284     * Get whether the autorepeat feature is enabled
6285     *
6286     * @param obj The button object
6287     * @return EINA_TRUE if autorepeat is on, EINA_FALSE otherwise
6288     *
6289     * @see elm_button_autorepeat_set()
6290     */
6291    EAPI Eina_Bool    elm_button_autorepeat_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6292    /**
6293     * Set the initial timeout before the autorepeat event is generated
6294     *
6295     * Sets the timeout, in seconds, since the button is pressed until the
6296     * first @c repeated signal is emitted. If @p t is 0.0 or less, there
6297     * won't be any delay and the even will be fired the moment the button is
6298     * pressed.
6299     *
6300     * @param obj The button object
6301     * @param t   Timeout in seconds
6302     *
6303     * @see elm_button_autorepeat_set()
6304     * @see elm_button_autorepeat_gap_timeout_set()
6305     */
6306    EAPI void         elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
6307    /**
6308     * Get the initial timeout before the autorepeat event is generated
6309     *
6310     * @param obj The button object
6311     * @return Timeout in seconds
6312     *
6313     * @see elm_button_autorepeat_initial_timeout_set()
6314     */
6315    EAPI double       elm_button_autorepeat_initial_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6316    /**
6317     * Set the interval between each generated autorepeat event
6318     *
6319     * After the first @c repeated event is fired, all subsequent ones will
6320     * follow after a delay of @p t seconds for each.
6321     *
6322     * @param obj The button object
6323     * @param t   Interval in seconds
6324     *
6325     * @see elm_button_autorepeat_initial_timeout_set()
6326     */
6327    EAPI void         elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
6328    /**
6329     * Get the interval between each generated autorepeat event
6330     *
6331     * @param obj The button object
6332     * @return Interval in seconds
6333     */
6334    EAPI double       elm_button_autorepeat_gap_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6335    /**
6336     * @}
6337     */
6338
6339    /**
6340     * @defgroup File_Selector_Button File Selector Button
6341     *
6342     * @image html img/widget/fileselector_button/preview-00.png
6343     * @image latex img/widget/fileselector_button/preview-00.eps
6344     * @image html img/widget/fileselector_button/preview-01.png
6345     * @image latex img/widget/fileselector_button/preview-01.eps
6346     * @image html img/widget/fileselector_button/preview-02.png
6347     * @image latex img/widget/fileselector_button/preview-02.eps
6348     *
6349     * This is a button that, when clicked, creates an Elementary
6350     * window (or inner window) <b> with a @ref Fileselector "file
6351     * selector widget" within</b>. When a file is chosen, the (inner)
6352     * window is closed and the button emits a signal having the
6353     * selected file as it's @c event_info.
6354     *
6355     * This widget encapsulates operations on its internal file
6356     * selector on its own API. There is less control over its file
6357     * selector than that one would have instatiating one directly.
6358     *
6359     * The following styles are available for this button:
6360     * @li @c "default"
6361     * @li @c "anchor"
6362     * @li @c "hoversel_vertical"
6363     * @li @c "hoversel_vertical_entry"
6364     *
6365     * Smart callbacks one can register to:
6366     * - @c "file,chosen" - the user has selected a path, whose string
6367     *   pointer comes as the @c event_info data (a stringshared
6368     *   string)
6369     *
6370     * Here is an example on its usage:
6371     * @li @ref fileselector_button_example
6372     *
6373     * @see @ref File_Selector_Entry for a similar widget.
6374     * @{
6375     */
6376
6377    /**
6378     * Add a new file selector button widget to the given parent
6379     * Elementary (container) object
6380     *
6381     * @param parent The parent object
6382     * @return a new file selector button widget handle or @c NULL, on
6383     * errors
6384     */
6385    EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6386
6387    /**
6388     * Set the label for a given file selector button widget
6389     *
6390     * @param obj The file selector button widget
6391     * @param label The text label to be displayed on @p obj
6392     *
6393     * @deprecated use elm_object_text_set() instead.
6394     */
6395    EINA_DEPRECATED EAPI void         elm_fileselector_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6396
6397    /**
6398     * Get the label set for a given file selector button widget
6399     *
6400     * @param obj The file selector button widget
6401     * @return The button label
6402     *
6403     * @deprecated use elm_object_text_set() instead.
6404     */
6405    EINA_DEPRECATED EAPI const char  *elm_fileselector_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6406
6407    /**
6408     * Set the icon on a given file selector button widget
6409     *
6410     * @param obj The file selector button widget
6411     * @param icon The icon object for the button
6412     *
6413     * Once the icon object is set, a previously set one will be
6414     * deleted. If you want to keep the latter, use the
6415     * elm_fileselector_button_icon_unset() function.
6416     *
6417     * @see elm_fileselector_button_icon_get()
6418     */
6419    EAPI void         elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6420
6421    /**
6422     * Get the icon set for a given file selector button widget
6423     *
6424     * @param obj The file selector button widget
6425     * @return The icon object currently set on @p obj or @c NULL, if
6426     * none is
6427     *
6428     * @see elm_fileselector_button_icon_set()
6429     */
6430    EAPI Evas_Object *elm_fileselector_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6431
6432    /**
6433     * Unset the icon used in a given file selector button widget
6434     *
6435     * @param obj The file selector button widget
6436     * @return The icon object that was being used on @p obj or @c
6437     * NULL, on errors
6438     *
6439     * Unparent and return the icon object which was set for this
6440     * widget.
6441     *
6442     * @see elm_fileselector_button_icon_set()
6443     */
6444    EAPI Evas_Object *elm_fileselector_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6445
6446    /**
6447     * Set the title for a given file selector button widget's window
6448     *
6449     * @param obj The file selector button widget
6450     * @param title The title string
6451     *
6452     * This will change the window's title, when the file selector pops
6453     * out after a click on the button. Those windows have the default
6454     * (unlocalized) value of @c "Select a file" as titles.
6455     *
6456     * @note It will only take any effect if the file selector
6457     * button widget is @b not under "inwin mode".
6458     *
6459     * @see elm_fileselector_button_window_title_get()
6460     */
6461    EAPI void         elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
6462
6463    /**
6464     * Get the title set for a given file selector button widget's
6465     * window
6466     *
6467     * @param obj The file selector button widget
6468     * @return Title of the file selector button's window
6469     *
6470     * @see elm_fileselector_button_window_title_get() for more details
6471     */
6472    EAPI const char  *elm_fileselector_button_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6473
6474    /**
6475     * Set the size of a given file selector button widget's window,
6476     * holding the file selector itself.
6477     *
6478     * @param obj The file selector button widget
6479     * @param width The window's width
6480     * @param height The window's height
6481     *
6482     * @note it will only take any effect if the file selector button
6483     * widget is @b not under "inwin mode". The default size for the
6484     * window (when applicable) is 400x400 pixels.
6485     *
6486     * @see elm_fileselector_button_window_size_get()
6487     */
6488    EAPI void         elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
6489
6490    /**
6491     * Get the size of a given file selector button widget's window,
6492     * holding the file selector itself.
6493     *
6494     * @param obj The file selector button widget
6495     * @param width Pointer into which to store the width value
6496     * @param height Pointer into which to store the height value
6497     *
6498     * @note Use @c NULL pointers on the size values you're not
6499     * interested in: they'll be ignored by the function.
6500     *
6501     * @see elm_fileselector_button_window_size_set(), for more details
6502     */
6503    EAPI void         elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
6504
6505    /**
6506     * Set the initial file system path for a given file selector
6507     * button widget
6508     *
6509     * @param obj The file selector button widget
6510     * @param path The path string
6511     *
6512     * It must be a <b>directory</b> path, which will have the contents
6513     * displayed initially in the file selector's view, when invoked
6514     * from @p obj. The default initial path is the @c "HOME"
6515     * environment variable's value.
6516     *
6517     * @see elm_fileselector_button_path_get()
6518     */
6519    EAPI void         elm_fileselector_button_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
6520
6521    /**
6522     * Get the initial file system path set for a given file selector
6523     * button widget
6524     *
6525     * @param obj The file selector button widget
6526     * @return path The path string
6527     *
6528     * @see elm_fileselector_button_path_set() for more details
6529     */
6530    EAPI const char  *elm_fileselector_button_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6531
6532    /**
6533     * Enable/disable a tree view in the given file selector button
6534     * widget's internal file selector
6535     *
6536     * @param obj The file selector button widget
6537     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
6538     * disable
6539     *
6540     * This has the same effect as elm_fileselector_expandable_set(),
6541     * but now applied to a file selector button's internal file
6542     * selector.
6543     *
6544     * @note There's no way to put a file selector button's internal
6545     * file selector in "grid mode", as one may do with "pure" file
6546     * selectors.
6547     *
6548     * @see elm_fileselector_expandable_get()
6549     */
6550    EAPI void         elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6551
6552    /**
6553     * Get whether tree view is enabled for the given file selector
6554     * button widget's internal file selector
6555     *
6556     * @param obj The file selector button widget
6557     * @return @c EINA_TRUE if @p obj widget's internal file selector
6558     * is in tree view, @c EINA_FALSE otherwise (and or errors)
6559     *
6560     * @see elm_fileselector_expandable_set() for more details
6561     */
6562    EAPI Eina_Bool    elm_fileselector_button_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6563
6564    /**
6565     * Set whether a given file selector button widget's internal file
6566     * selector is to display folders only or the directory contents,
6567     * as well.
6568     *
6569     * @param obj The file selector button widget
6570     * @param only @c EINA_TRUE to make @p obj widget's internal file
6571     * selector only display directories, @c EINA_FALSE to make files
6572     * to be displayed in it too
6573     *
6574     * This has the same effect as elm_fileselector_folder_only_set(),
6575     * but now applied to a file selector button's internal file
6576     * selector.
6577     *
6578     * @see elm_fileselector_folder_only_get()
6579     */
6580    EAPI void         elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6581
6582    /**
6583     * Get whether a given file selector button widget's internal file
6584     * selector is displaying folders only or the directory contents,
6585     * as well.
6586     *
6587     * @param obj The file selector button widget
6588     * @return @c EINA_TRUE if @p obj widget's internal file
6589     * selector is only displaying directories, @c EINA_FALSE if files
6590     * are being displayed in it too (and on errors)
6591     *
6592     * @see elm_fileselector_button_folder_only_set() for more details
6593     */
6594    EAPI Eina_Bool    elm_fileselector_button_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6595
6596    /**
6597     * Enable/disable the file name entry box where the user can type
6598     * in a name for a file, in a given file selector button widget's
6599     * internal file selector.
6600     *
6601     * @param obj The file selector button widget
6602     * @param is_save @c EINA_TRUE to make @p obj widget's internal
6603     * file selector a "saving dialog", @c EINA_FALSE otherwise
6604     *
6605     * This has the same effect as elm_fileselector_is_save_set(),
6606     * but now applied to a file selector button's internal file
6607     * selector.
6608     *
6609     * @see elm_fileselector_is_save_get()
6610     */
6611    EAPI void         elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6612
6613    /**
6614     * Get whether the given file selector button widget's internal
6615     * file selector is in "saving dialog" mode
6616     *
6617     * @param obj The file selector button widget
6618     * @return @c EINA_TRUE, if @p obj widget's internal file selector
6619     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
6620     * errors)
6621     *
6622     * @see elm_fileselector_button_is_save_set() for more details
6623     */
6624    EAPI Eina_Bool    elm_fileselector_button_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6625
6626    /**
6627     * Set whether a given file selector button widget's internal file
6628     * selector will raise an Elementary "inner window", instead of a
6629     * dedicated Elementary window. By default, it won't.
6630     *
6631     * @param obj The file selector button widget
6632     * @param value @c EINA_TRUE to make it use an inner window, @c
6633     * EINA_TRUE to make it use a dedicated window
6634     *
6635     * @see elm_win_inwin_add() for more information on inner windows
6636     * @see elm_fileselector_button_inwin_mode_get()
6637     */
6638    EAPI void         elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6639
6640    /**
6641     * Get whether a given file selector button widget's internal file
6642     * selector will raise an Elementary "inner window", instead of a
6643     * dedicated Elementary window.
6644     *
6645     * @param obj The file selector button widget
6646     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
6647     * if it will use a dedicated window
6648     *
6649     * @see elm_fileselector_button_inwin_mode_set() for more details
6650     */
6651    EAPI Eina_Bool    elm_fileselector_button_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6652
6653    /**
6654     * @}
6655     */
6656
6657     /**
6658     * @defgroup File_Selector_Entry File Selector Entry
6659     *
6660     * @image html img/widget/fileselector_entry/preview-00.png
6661     * @image latex img/widget/fileselector_entry/preview-00.eps
6662     *
6663     * This is an entry made to be filled with or display a <b>file
6664     * system path string</b>. Besides the entry itself, the widget has
6665     * a @ref File_Selector_Button "file selector button" on its side,
6666     * which will raise an internal @ref Fileselector "file selector widget",
6667     * when clicked, for path selection aided by file system
6668     * navigation.
6669     *
6670     * This file selector may appear in an Elementary window or in an
6671     * inner window. When a file is chosen from it, the (inner) window
6672     * is closed and the selected file's path string is exposed both as
6673     * an smart event and as the new text on the entry.
6674     *
6675     * This widget encapsulates operations on its internal file
6676     * selector on its own API. There is less control over its file
6677     * selector than that one would have instatiating one directly.
6678     *
6679     * Smart callbacks one can register to:
6680     * - @c "changed" - The text within the entry was changed
6681     * - @c "activated" - The entry has had editing finished and
6682     *   changes are to be "committed"
6683     * - @c "press" - The entry has been clicked
6684     * - @c "longpressed" - The entry has been clicked (and held) for a
6685     *   couple seconds
6686     * - @c "clicked" - The entry has been clicked
6687     * - @c "clicked,double" - The entry has been double clicked
6688     * - @c "focused" - The entry has received focus
6689     * - @c "unfocused" - The entry has lost focus
6690     * - @c "selection,paste" - A paste action has occurred on the
6691     *   entry
6692     * - @c "selection,copy" - A copy action has occurred on the entry
6693     * - @c "selection,cut" - A cut action has occurred on the entry
6694     * - @c "unpressed" - The file selector entry's button was released
6695     *   after being pressed.
6696     * - @c "file,chosen" - The user has selected a path via the file
6697     *   selector entry's internal file selector, whose string pointer
6698     *   comes as the @c event_info data (a stringshared string)
6699     *
6700     * Here is an example on its usage:
6701     * @li @ref fileselector_entry_example
6702     *
6703     * @see @ref File_Selector_Button for a similar widget.
6704     * @{
6705     */
6706
6707    /**
6708     * Add a new file selector entry widget to the given parent
6709     * Elementary (container) object
6710     *
6711     * @param parent The parent object
6712     * @return a new file selector entry widget handle or @c NULL, on
6713     * errors
6714     */
6715    EAPI Evas_Object *elm_fileselector_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6716
6717    /**
6718     * Set the label for a given file selector entry widget's button
6719     *
6720     * @param obj The file selector entry widget
6721     * @param label The text label to be displayed on @p obj widget's
6722     * button
6723     *
6724     * @deprecated use elm_object_text_set() instead.
6725     */
6726    EINA_DEPRECATED EAPI void         elm_fileselector_entry_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6727
6728    /**
6729     * Get the label set for a given file selector entry widget's button
6730     *
6731     * @param obj The file selector entry widget
6732     * @return The widget button's label
6733     *
6734     * @deprecated use elm_object_text_set() instead.
6735     */
6736    EINA_DEPRECATED EAPI const char  *elm_fileselector_entry_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6737
6738    /**
6739     * Set the icon on a given file selector entry widget's button
6740     *
6741     * @param obj The file selector entry widget
6742     * @param icon The icon object for the entry's button
6743     *
6744     * Once the icon object is set, a previously set one will be
6745     * deleted. If you want to keep the latter, use the
6746     * elm_fileselector_entry_button_icon_unset() function.
6747     *
6748     * @see elm_fileselector_entry_button_icon_get()
6749     */
6750    EAPI void         elm_fileselector_entry_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6751
6752    /**
6753     * Get the icon set for a given file selector entry widget's button
6754     *
6755     * @param obj The file selector entry widget
6756     * @return The icon object currently set on @p obj widget's button
6757     * or @c NULL, if none is
6758     *
6759     * @see elm_fileselector_entry_button_icon_set()
6760     */
6761    EAPI Evas_Object *elm_fileselector_entry_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6762
6763    /**
6764     * Unset the icon used in a given file selector entry widget's
6765     * button
6766     *
6767     * @param obj The file selector entry widget
6768     * @return The icon object that was being used on @p obj widget's
6769     * button or @c NULL, on errors
6770     *
6771     * Unparent and return the icon object which was set for this
6772     * widget's button.
6773     *
6774     * @see elm_fileselector_entry_button_icon_set()
6775     */
6776    EAPI Evas_Object *elm_fileselector_entry_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6777
6778    /**
6779     * Set the title for a given file selector entry widget's window
6780     *
6781     * @param obj The file selector entry widget
6782     * @param title The title string
6783     *
6784     * This will change the window's title, when the file selector pops
6785     * out after a click on the entry's button. Those windows have the
6786     * default (unlocalized) value of @c "Select a file" as titles.
6787     *
6788     * @note It will only take any effect if the file selector
6789     * entry widget is @b not under "inwin mode".
6790     *
6791     * @see elm_fileselector_entry_window_title_get()
6792     */
6793    EAPI void         elm_fileselector_entry_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
6794
6795    /**
6796     * Get the title set for a given file selector entry widget's
6797     * window
6798     *
6799     * @param obj The file selector entry widget
6800     * @return Title of the file selector entry's window
6801     *
6802     * @see elm_fileselector_entry_window_title_get() for more details
6803     */
6804    EAPI const char  *elm_fileselector_entry_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6805
6806    /**
6807     * Set the size of a given file selector entry widget's window,
6808     * holding the file selector itself.
6809     *
6810     * @param obj The file selector entry widget
6811     * @param width The window's width
6812     * @param height The window's height
6813     *
6814     * @note it will only take any effect if the file selector entry
6815     * widget is @b not under "inwin mode". The default size for the
6816     * window (when applicable) is 400x400 pixels.
6817     *
6818     * @see elm_fileselector_entry_window_size_get()
6819     */
6820    EAPI void         elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
6821
6822    /**
6823     * Get the size of a given file selector entry widget's window,
6824     * holding the file selector itself.
6825     *
6826     * @param obj The file selector entry widget
6827     * @param width Pointer into which to store the width value
6828     * @param height Pointer into which to store the height value
6829     *
6830     * @note Use @c NULL pointers on the size values you're not
6831     * interested in: they'll be ignored by the function.
6832     *
6833     * @see elm_fileselector_entry_window_size_set(), for more details
6834     */
6835    EAPI void         elm_fileselector_entry_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
6836
6837    /**
6838     * Set the initial file system path and the entry's path string for
6839     * a given file selector entry widget
6840     *
6841     * @param obj The file selector entry widget
6842     * @param path The path string
6843     *
6844     * It must be a <b>directory</b> path, which will have the contents
6845     * displayed initially in the file selector's view, when invoked
6846     * from @p obj. The default initial path is the @c "HOME"
6847     * environment variable's value.
6848     *
6849     * @see elm_fileselector_entry_path_get()
6850     */
6851    EAPI void         elm_fileselector_entry_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
6852
6853    /**
6854     * Get the entry's path string for a given file selector entry
6855     * widget
6856     *
6857     * @param obj The file selector entry widget
6858     * @return path The path string
6859     *
6860     * @see elm_fileselector_entry_path_set() for more details
6861     */
6862    EAPI const char  *elm_fileselector_entry_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6863
6864    /**
6865     * Enable/disable a tree view in the given file selector entry
6866     * widget's internal file selector
6867     *
6868     * @param obj The file selector entry widget
6869     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
6870     * disable
6871     *
6872     * This has the same effect as elm_fileselector_expandable_set(),
6873     * but now applied to a file selector entry's internal file
6874     * selector.
6875     *
6876     * @note There's no way to put a file selector entry's internal
6877     * file selector in "grid mode", as one may do with "pure" file
6878     * selectors.
6879     *
6880     * @see elm_fileselector_expandable_get()
6881     */
6882    EAPI void         elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6883
6884    /**
6885     * Get whether tree view is enabled for the given file selector
6886     * entry widget's internal file selector
6887     *
6888     * @param obj The file selector entry widget
6889     * @return @c EINA_TRUE if @p obj widget's internal file selector
6890     * is in tree view, @c EINA_FALSE otherwise (and or errors)
6891     *
6892     * @see elm_fileselector_expandable_set() for more details
6893     */
6894    EAPI Eina_Bool    elm_fileselector_entry_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6895
6896    /**
6897     * Set whether a given file selector entry widget's internal file
6898     * selector is to display folders only or the directory contents,
6899     * as well.
6900     *
6901     * @param obj The file selector entry widget
6902     * @param only @c EINA_TRUE to make @p obj widget's internal file
6903     * selector only display directories, @c EINA_FALSE to make files
6904     * to be displayed in it too
6905     *
6906     * This has the same effect as elm_fileselector_folder_only_set(),
6907     * but now applied to a file selector entry's internal file
6908     * selector.
6909     *
6910     * @see elm_fileselector_folder_only_get()
6911     */
6912    EAPI void         elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6913
6914    /**
6915     * Get whether a given file selector entry widget's internal file
6916     * selector is displaying folders only or the directory contents,
6917     * as well.
6918     *
6919     * @param obj The file selector entry widget
6920     * @return @c EINA_TRUE if @p obj widget's internal file
6921     * selector is only displaying directories, @c EINA_FALSE if files
6922     * are being displayed in it too (and on errors)
6923     *
6924     * @see elm_fileselector_entry_folder_only_set() for more details
6925     */
6926    EAPI Eina_Bool    elm_fileselector_entry_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6927
6928    /**
6929     * Enable/disable the file name entry box where the user can type
6930     * in a name for a file, in a given file selector entry widget's
6931     * internal file selector.
6932     *
6933     * @param obj The file selector entry widget
6934     * @param is_save @c EINA_TRUE to make @p obj widget's internal
6935     * file selector a "saving dialog", @c EINA_FALSE otherwise
6936     *
6937     * This has the same effect as elm_fileselector_is_save_set(),
6938     * but now applied to a file selector entry's internal file
6939     * selector.
6940     *
6941     * @see elm_fileselector_is_save_get()
6942     */
6943    EAPI void         elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6944
6945    /**
6946     * Get whether the given file selector entry widget's internal
6947     * file selector is in "saving dialog" mode
6948     *
6949     * @param obj The file selector entry widget
6950     * @return @c EINA_TRUE, if @p obj widget's internal file selector
6951     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
6952     * errors)
6953     *
6954     * @see elm_fileselector_entry_is_save_set() for more details
6955     */
6956    EAPI Eina_Bool    elm_fileselector_entry_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6957
6958    /**
6959     * Set whether a given file selector entry widget's internal file
6960     * selector will raise an Elementary "inner window", instead of a
6961     * dedicated Elementary window. By default, it won't.
6962     *
6963     * @param obj The file selector entry widget
6964     * @param value @c EINA_TRUE to make it use an inner window, @c
6965     * EINA_TRUE to make it use a dedicated window
6966     *
6967     * @see elm_win_inwin_add() for more information on inner windows
6968     * @see elm_fileselector_entry_inwin_mode_get()
6969     */
6970    EAPI void         elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6971
6972    /**
6973     * Get whether a given file selector entry widget's internal file
6974     * selector will raise an Elementary "inner window", instead of a
6975     * dedicated Elementary window.
6976     *
6977     * @param obj The file selector entry widget
6978     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
6979     * if it will use a dedicated window
6980     *
6981     * @see elm_fileselector_entry_inwin_mode_set() for more details
6982     */
6983    EAPI Eina_Bool    elm_fileselector_entry_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6984
6985    /**
6986     * Set the initial file system path for a given file selector entry
6987     * widget
6988     *
6989     * @param obj The file selector entry widget
6990     * @param path The path string
6991     *
6992     * It must be a <b>directory</b> path, which will have the contents
6993     * displayed initially in the file selector's view, when invoked
6994     * from @p obj. The default initial path is the @c "HOME"
6995     * environment variable's value.
6996     *
6997     * @see elm_fileselector_entry_path_get()
6998     */
6999    EAPI void         elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
7000
7001    /**
7002     * Get the parent directory's path to the latest file selection on
7003     * a given filer selector entry widget
7004     *
7005     * @param obj The file selector object
7006     * @return The (full) path of the directory of the last selection
7007     * on @p obj widget, a @b stringshared string
7008     *
7009     * @see elm_fileselector_entry_path_set()
7010     */
7011    EAPI const char  *elm_fileselector_entry_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7012
7013    /**
7014     * @}
7015     */
7016
7017    /**
7018     * @defgroup Scroller Scroller
7019     *
7020     * A scroller holds a single object and "scrolls it around". This means that
7021     * it allows the user to use a scrollbar (or a finger) to drag the viewable
7022     * region around, allowing to move through a much larger object that is
7023     * contained in the scroller. The scroller will always have a small minimum
7024     * size by default as it won't be limited by the contents of the scroller.
7025     *
7026     * Signals that you can add callbacks for are:
7027     * @li "edge,left" - the left edge of the content has been reached
7028     * @li "edge,right" - the right edge of the content has been reached
7029     * @li "edge,top" - the top edge of the content has been reached
7030     * @li "edge,bottom" - the bottom edge of the content has been reached
7031     * @li "scroll" - the content has been scrolled (moved)
7032     * @li "scroll,anim,start" - scrolling animation has started
7033     * @li "scroll,anim,stop" - scrolling animation has stopped
7034     * @li "scroll,drag,start" - dragging the contents around has started
7035     * @li "scroll,drag,stop" - dragging the contents around has stopped
7036     * @note The "scroll,anim,*" and "scroll,drag,*" signals are only emitted by
7037     * user intervetion.
7038     *
7039     * @note When Elemementary is in embedded mode the scrollbars will not be
7040     * dragable, they appear merely as indicators of how much has been scrolled.
7041     * @note When Elementary is in desktop mode the thumbscroll(a.k.a.
7042     * fingerscroll) won't work.
7043     *
7044     * Default contents parts of the scroller widget that you can use for are:
7045     * @li "default" - A content of the scroller
7046     *
7047     * In @ref tutorial_scroller you'll find an example of how to use most of
7048     * this API.
7049     * @{
7050     */
7051    /**
7052     * @brief Type that controls when scrollbars should appear.
7053     *
7054     * @see elm_scroller_policy_set()
7055     */
7056    typedef enum _Elm_Scroller_Policy
7057      {
7058         ELM_SCROLLER_POLICY_AUTO = 0, /**< Show scrollbars as needed */
7059         ELM_SCROLLER_POLICY_ON, /**< Always show scrollbars */
7060         ELM_SCROLLER_POLICY_OFF, /**< Never show scrollbars */
7061         ELM_SCROLLER_POLICY_LAST
7062      } Elm_Scroller_Policy;
7063    /**
7064     * @brief Add a new scroller to the parent
7065     *
7066     * @param parent The parent object
7067     * @return The new object or NULL if it cannot be created
7068     */
7069    EAPI Evas_Object *elm_scroller_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7070    /**
7071     * @brief Set the content of the scroller widget (the object to be scrolled around).
7072     *
7073     * @param obj The scroller object
7074     * @param content The new content object
7075     *
7076     * Once the content object is set, a previously set one will be deleted.
7077     * If you want to keep that old content object, use the
7078     * elm_scroller_content_unset() function.
7079     * @deprecated use elm_object_content_set() instead
7080     */
7081    EINA_DEPRECATED EAPI void elm_scroller_content_set(Evas_Object *obj, Evas_Object *child) EINA_ARG_NONNULL(1);
7082    /**
7083     * @brief Get the content of the scroller widget
7084     *
7085     * @param obj The slider object
7086     * @return The content that is being used
7087     *
7088     * Return the content object which is set for this widget
7089     *
7090     * @see elm_scroller_content_set()
7091     * @deprecated use elm_object_content_get() instead.
7092     */
7093    EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7094    /**
7095     * @brief Unset the content of the scroller widget
7096     *
7097     * @param obj The slider object
7098     * @return The content that was being used
7099     *
7100     * Unparent and return the content object which was set for this widget
7101     *
7102     * @see elm_scroller_content_set()
7103     * @deprecated use elm_object_content_unset() instead.
7104     */
7105    EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7106    /**
7107     * @brief Set custom theme elements for the scroller
7108     *
7109     * @param obj The scroller object
7110     * @param widget The widget name to use (default is "scroller")
7111     * @param base The base name to use (default is "base")
7112     */
7113    EAPI void         elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base) EINA_ARG_NONNULL(1, 2, 3);
7114    /**
7115     * @brief Make the scroller minimum size limited to the minimum size of the content
7116     *
7117     * @param obj The scroller object
7118     * @param w Enable limiting minimum size horizontally
7119     * @param h Enable limiting minimum size vertically
7120     *
7121     * By default the scroller will be as small as its design allows,
7122     * irrespective of its content. This will make the scroller minimum size the
7123     * right size horizontally and/or vertically to perfectly fit its content in
7124     * that direction.
7125     */
7126    EAPI void         elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h) EINA_ARG_NONNULL(1);
7127    /**
7128     * @brief Show a specific virtual region within the scroller content object
7129     *
7130     * @param obj The scroller object
7131     * @param x X coordinate of the region
7132     * @param y Y coordinate of the region
7133     * @param w Width of the region
7134     * @param h Height of the region
7135     *
7136     * This will ensure all (or part if it does not fit) of the designated
7137     * region in the virtual content object (0, 0 starting at the top-left of the
7138     * virtual content object) is shown within the scroller.
7139     */
7140    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);
7141    /**
7142     * @brief Set the scrollbar visibility policy
7143     *
7144     * @param obj The scroller object
7145     * @param policy_h Horizontal scrollbar policy
7146     * @param policy_v Vertical scrollbar policy
7147     *
7148     * This sets the scrollbar visibility policy for the given scroller.
7149     * ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is
7150     * needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns it on all
7151     * the time, and ELM_SCROLLER_POLICY_OFF always keeps it off. This applies
7152     * respectively for the horizontal and vertical scrollbars.
7153     */
7154    EAPI void         elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
7155    /**
7156     * @brief Gets scrollbar visibility policy
7157     *
7158     * @param obj The scroller object
7159     * @param policy_h Horizontal scrollbar policy
7160     * @param policy_v Vertical scrollbar policy
7161     *
7162     * @see elm_scroller_policy_set()
7163     */
7164    EAPI void         elm_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) EINA_ARG_NONNULL(1);
7165    /**
7166     * @brief Get the currently visible content region
7167     *
7168     * @param obj The scroller object
7169     * @param x X coordinate of the region
7170     * @param y Y coordinate of the region
7171     * @param w Width of the region
7172     * @param h Height of the region
7173     *
7174     * This gets the current region in the content object that is visible through
7175     * the scroller. The region co-ordinates are returned in the @p x, @p y, @p
7176     * w, @p h values pointed to.
7177     *
7178     * @note All coordinates are relative to the content.
7179     *
7180     * @see elm_scroller_region_show()
7181     */
7182    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);
7183    /**
7184     * @brief Get the size of the content object
7185     *
7186     * @param obj The scroller object
7187     * @param w Width of the content object.
7188     * @param h Height of the content object.
7189     *
7190     * This gets the size of the content object of the scroller.
7191     */
7192    EAPI void         elm_scroller_child_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
7193    /**
7194     * @brief Set bouncing behavior
7195     *
7196     * @param obj The scroller object
7197     * @param h_bounce Allow bounce horizontally
7198     * @param v_bounce Allow bounce vertically
7199     *
7200     * When scrolling, the scroller may "bounce" when reaching an edge of the
7201     * content object. This is a visual way to indicate the end has been reached.
7202     * This is enabled by default for both axis. This API will set if it is enabled
7203     * for the given axis with the boolean parameters for each axis.
7204     */
7205    EAPI void         elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
7206    /**
7207     * @brief Get the bounce behaviour
7208     *
7209     * @param obj The Scroller object
7210     * @param h_bounce Will the scroller bounce horizontally or not
7211     * @param v_bounce Will the scroller bounce vertically or not
7212     *
7213     * @see elm_scroller_bounce_set()
7214     */
7215    EAPI void         elm_scroller_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
7216    /**
7217     * @brief Set scroll page size relative to viewport size.
7218     *
7219     * @param obj The scroller object
7220     * @param h_pagerel The horizontal page relative size
7221     * @param v_pagerel The vertical page relative size
7222     *
7223     * The scroller is capable of limiting scrolling by the user to "pages". That
7224     * is to jump by and only show a "whole page" at a time as if the continuous
7225     * area of the scroller content is split into page sized pieces. This sets
7226     * the size of a page relative to the viewport of the scroller. 1.0 is "1
7227     * viewport" is size (horizontally or vertically). 0.0 turns it off in that
7228     * axis. This is mutually exclusive with page size
7229     * (see elm_scroller_page_size_set()  for more information). Likewise 0.5
7230     * is "half a viewport". Sane usable values are normally between 0.0 and 1.0
7231     * including 1.0. If you only want 1 axis to be page "limited", use 0.0 for
7232     * the other axis.
7233     */
7234    EAPI void         elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
7235    /**
7236     * @brief Set scroll page size.
7237     *
7238     * @param obj The scroller object
7239     * @param h_pagesize The horizontal page size
7240     * @param v_pagesize The vertical page size
7241     *
7242     * This sets the page size to an absolute fixed value, with 0 turning it off
7243     * for that axis.
7244     *
7245     * @see elm_scroller_page_relative_set()
7246     */
7247    EAPI void         elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
7248    /**
7249     * @brief Get scroll current page number.
7250     *
7251     * @param obj The scroller object
7252     * @param h_pagenumber The horizontal page number
7253     * @param v_pagenumber The vertical page number
7254     *
7255     * The page number starts from 0. 0 is the first page.
7256     * Current page means the page which meets the top-left of the viewport.
7257     * If there are two or more pages in the viewport, it returns the number of the page
7258     * which meets the top-left of the viewport.
7259     *
7260     * @see elm_scroller_last_page_get()
7261     * @see elm_scroller_page_show()
7262     * @see elm_scroller_page_brint_in()
7263     */
7264    EAPI void         elm_scroller_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
7265    /**
7266     * @brief Get scroll last page number.
7267     *
7268     * @param obj The scroller object
7269     * @param h_pagenumber The horizontal page number
7270     * @param v_pagenumber The vertical page number
7271     *
7272     * The page number starts from 0. 0 is the first page.
7273     * This returns the last page number among the pages.
7274     *
7275     * @see elm_scroller_current_page_get()
7276     * @see elm_scroller_page_show()
7277     * @see elm_scroller_page_brint_in()
7278     */
7279    EAPI void         elm_scroller_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
7280    /**
7281     * Show a specific virtual region within the scroller content object by page number.
7282     *
7283     * @param obj The scroller object
7284     * @param h_pagenumber The horizontal page number
7285     * @param v_pagenumber The vertical page number
7286     *
7287     * 0, 0 of the indicated page is located at the top-left of the viewport.
7288     * This will jump to the page directly without animation.
7289     *
7290     * Example of usage:
7291     *
7292     * @code
7293     * sc = elm_scroller_add(win);
7294     * elm_scroller_content_set(sc, content);
7295     * elm_scroller_page_relative_set(sc, 1, 0);
7296     * elm_scroller_current_page_get(sc, &h_page, &v_page);
7297     * elm_scroller_page_show(sc, h_page + 1, v_page);
7298     * @endcode
7299     *
7300     * @see elm_scroller_page_bring_in()
7301     */
7302    EAPI void         elm_scroller_page_show(Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
7303    /**
7304     * Show a specific virtual region within the scroller content object by page number.
7305     *
7306     * @param obj The scroller object
7307     * @param h_pagenumber The horizontal page number
7308     * @param v_pagenumber The vertical page number
7309     *
7310     * 0, 0 of the indicated page is located at the top-left of the viewport.
7311     * This will slide to the page with animation.
7312     *
7313     * Example of usage:
7314     *
7315     * @code
7316     * sc = elm_scroller_add(win);
7317     * elm_scroller_content_set(sc, content);
7318     * elm_scroller_page_relative_set(sc, 1, 0);
7319     * elm_scroller_last_page_get(sc, &h_page, &v_page);
7320     * elm_scroller_page_bring_in(sc, h_page, v_page);
7321     * @endcode
7322     *
7323     * @see elm_scroller_page_show()
7324     */
7325    EAPI void         elm_scroller_page_bring_in(Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
7326    /**
7327     * @brief Show a specific virtual region within the scroller content object.
7328     *
7329     * @param obj The scroller object
7330     * @param x X coordinate of the region
7331     * @param y Y coordinate of the region
7332     * @param w Width of the region
7333     * @param h Height of the region
7334     *
7335     * This will ensure all (or part if it does not fit) of the designated
7336     * region in the virtual content object (0, 0 starting at the top-left of the
7337     * virtual content object) is shown within the scroller. Unlike
7338     * elm_scroller_region_show(), this allow the scroller to "smoothly slide"
7339     * to this location (if configuration in general calls for transitions). It
7340     * may not jump immediately to the new location and make take a while and
7341     * show other content along the way.
7342     *
7343     * @see elm_scroller_region_show()
7344     */
7345    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);
7346    /**
7347     * @brief Set event propagation on a scroller
7348     *
7349     * @param obj The scroller object
7350     * @param propagation If propagation is enabled or not
7351     *
7352     * This enables or disabled event propagation from the scroller content to
7353     * the scroller and its parent. By default event propagation is disabled.
7354     */
7355    EAPI void         elm_scroller_propagate_events_set(Evas_Object *obj, Eina_Bool propagation) EINA_ARG_NONNULL(1);
7356    /**
7357     * @brief Get event propagation for a scroller
7358     *
7359     * @param obj The scroller object
7360     * @return The propagation state
7361     *
7362     * This gets the event propagation for a scroller.
7363     *
7364     * @see elm_scroller_propagate_events_set()
7365     */
7366    EAPI Eina_Bool    elm_scroller_propagate_events_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7367    /**
7368     * @brief Set scrolling gravity on a scroller
7369     *
7370     * @param obj The scroller object
7371     * @param x The scrolling horizontal gravity
7372     * @param y The scrolling vertical gravity
7373     *
7374     * The gravity, defines how the scroller will adjust its view
7375     * when the size of the scroller contents increase.
7376     *
7377     * The scroller will adjust the view to glue itself as follows.
7378     *
7379     *  x=0.0, for showing the left most region of the content.
7380     *  x=1.0, for showing the right most region of the content.
7381     *  y=0.0, for showing the bottom most region of the content.
7382     *  y=1.0, for showing the top most region of the content.
7383     *
7384     * Default values for x and y are 0.0
7385     */
7386    EAPI void         elm_scroller_gravity_set(Evas_Object *obj, double x, double y) EINA_ARG_NONNULL(1);
7387    /**
7388     * @brief Get scrolling gravity values for a scroller
7389     *
7390     * @param obj The scroller object
7391     * @param x The scrolling horizontal gravity
7392     * @param y The scrolling vertical gravity
7393     *
7394     * This gets gravity values for a scroller.
7395     *
7396     * @see elm_scroller_gravity_set()
7397     *
7398     */
7399    EAPI void         elm_scroller_gravity_get(const Evas_Object *obj, double *x, double *y) EINA_ARG_NONNULL(1);
7400    /**
7401     * @}
7402     */
7403
7404    /**
7405     * @defgroup Label Label
7406     *
7407     * @image html img/widget/label/preview-00.png
7408     * @image latex img/widget/label/preview-00.eps
7409     *
7410     * @brief Widget to display text, with simple html-like markup.
7411     *
7412     * The Label widget @b doesn't allow text to overflow its boundaries, if the
7413     * text doesn't fit the geometry of the label it will be ellipsized or be
7414     * cut. Elementary provides several styles for this widget:
7415     * @li default - No animation
7416     * @li marker - Centers the text in the label and make it bold by default
7417     * @li slide_long - The entire text appears from the right of the screen and
7418     * slides until it disappears in the left of the screen(reappering on the
7419     * right again).
7420     * @li slide_short - The text appears in the left of the label and slides to
7421     * the right to show the overflow. When all of the text has been shown the
7422     * position is reset.
7423     * @li slide_bounce - The text appears in the left of the label and slides to
7424     * the right to show the overflow. When all of the text has been shown the
7425     * animation reverses, moving the text to the left.
7426     *
7427     * Custom themes can of course invent new markup tags and style them any way
7428     * they like.
7429     *
7430     * The following signals may be emitted by the label widget:
7431     * @li "language,changed": The program's language changed.
7432     *
7433     * See @ref tutorial_label for a demonstration of how to use a label widget.
7434     * @{
7435     */
7436    /**
7437     * @brief Add a new label to the parent
7438     *
7439     * @param parent The parent object
7440     * @return The new object or NULL if it cannot be created
7441     */
7442    EAPI Evas_Object *elm_label_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7443    /**
7444     * @brief Set the label on the label object
7445     *
7446     * @param obj The label object
7447     * @param label The label will be used on the label object
7448     * @deprecated See elm_object_text_set()
7449     */
7450    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 */
7451    /**
7452     * @brief Get the label used on the label object
7453     *
7454     * @param obj The label object
7455     * @return The string inside the label
7456     * @deprecated See elm_object_text_get()
7457     */
7458    EINA_DEPRECATED EAPI const char *elm_label_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); /* deprecated, use elm_object_text_get instead */
7459    /**
7460     * @brief Set the wrapping behavior of the label
7461     *
7462     * @param obj The label object
7463     * @param wrap To wrap text or not
7464     *
7465     * By default no wrapping is done. Possible values for @p wrap are:
7466     * @li ELM_WRAP_NONE - No wrapping
7467     * @li ELM_WRAP_CHAR - wrap between characters
7468     * @li ELM_WRAP_WORD - wrap between words
7469     * @li ELM_WRAP_MIXED - Word wrap, and if that fails, char wrap
7470     */
7471    EAPI void         elm_label_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
7472    /**
7473     * @brief Get the wrapping behavior of the label
7474     *
7475     * @param obj The label object
7476     * @return Wrap type
7477     *
7478     * @see elm_label_line_wrap_set()
7479     */
7480    EAPI Elm_Wrap_Type elm_label_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7481    /**
7482     * @brief Set wrap width of the label
7483     *
7484     * @param obj The label object
7485     * @param w The wrap width in pixels at a minimum where words need to wrap
7486     *
7487     * This function sets the maximum width size hint of the label.
7488     *
7489     * @warning This is only relevant if the label is inside a container.
7490     */
7491    EAPI void         elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w) EINA_ARG_NONNULL(1);
7492    /**
7493     * @brief Get wrap width of the label
7494     *
7495     * @param obj The label object
7496     * @return The wrap width in pixels at a minimum where words need to wrap
7497     *
7498     * @see elm_label_wrap_width_set()
7499     */
7500    EAPI Evas_Coord   elm_label_wrap_width_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7501    /**
7502     * @brief Set wrap height of the label
7503     *
7504     * @param obj The label object
7505     * @param h The wrap height in pixels at a minimum where words need to wrap
7506     *
7507     * This function sets the maximum height size hint of the label.
7508     *
7509     * @warning This is only relevant if the label is inside a container.
7510     */
7511    EAPI void         elm_label_wrap_height_set(Evas_Object *obj, Evas_Coord h) EINA_ARG_NONNULL(1);
7512    /**
7513     * @brief get wrap width of the label
7514     *
7515     * @param obj The label object
7516     * @return The wrap height in pixels at a minimum where words need to wrap
7517     */
7518    EAPI Evas_Coord   elm_label_wrap_height_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7519    /**
7520     * @brief Set the font size on the label object.
7521     *
7522     * @param obj The label object
7523     * @param size font size
7524     *
7525     * @warning NEVER use this. It is for hyper-special cases only. use styles
7526     * instead. e.g. "default", "marker", "slide_long" etc.
7527     */
7528    EAPI void         elm_label_fontsize_set(Evas_Object *obj, int fontsize) EINA_ARG_NONNULL(1);
7529    /**
7530     * @brief Set the text color on the label object
7531     *
7532     * @param obj The label object
7533     * @param r Red property background color of The label object
7534     * @param g Green property background color of The label object
7535     * @param b Blue property background color of The label object
7536     * @param a Alpha property background color of The label object
7537     *
7538     * @warning NEVER use this. It is for hyper-special cases only. use styles
7539     * instead. e.g. "default", "marker", "slide_long" etc.
7540     */
7541    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);
7542    /**
7543     * @brief Set the text align on the label object
7544     *
7545     * @param obj The label object
7546     * @param align align mode ("left", "center", "right")
7547     *
7548     * @warning NEVER use this. It is for hyper-special cases only. use styles
7549     * instead. e.g. "default", "marker", "slide_long" etc.
7550     */
7551    EAPI void         elm_label_text_align_set(Evas_Object *obj, const char *alignmode) EINA_ARG_NONNULL(1);
7552    /**
7553     * @brief Set background color of the label
7554     *
7555     * @param obj The label object
7556     * @param r Red property background color of The label object
7557     * @param g Green property background color of The label object
7558     * @param b Blue property background color of The label object
7559     * @param a Alpha property background alpha of The label object
7560     *
7561     * @warning NEVER use this. It is for hyper-special cases only. use styles
7562     * instead. e.g. "default", "marker", "slide_long" etc.
7563     */
7564    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);
7565    /**
7566     * @brief Set the ellipsis behavior of the label
7567     *
7568     * @param obj The label object
7569     * @param ellipsis To ellipsis text or not
7570     *
7571     * If set to true and the text doesn't fit in the label an ellipsis("...")
7572     * will be shown at the end of the widget.
7573     *
7574     * @warning This doesn't work with slide(elm_label_slide_set()) or if the
7575     * choosen wrap method was ELM_WRAP_WORD.
7576     */
7577    EAPI void         elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis) EINA_ARG_NONNULL(1);
7578    /**
7579     * @brief Set the text slide of the label
7580     *
7581     * @param obj The label object
7582     * @param slide To start slide or stop
7583     *
7584     * If set to true, the text of the label will slide/scroll through the length of
7585     * label.
7586     *
7587     * @warning This only works with the themes "slide_short", "slide_long" and
7588     * "slide_bounce".
7589     */
7590    EAPI void         elm_label_slide_set(Evas_Object *obj, Eina_Bool slide) EINA_ARG_NONNULL(1);
7591    /**
7592     * @brief Get the text slide mode of the label
7593     *
7594     * @param obj The label object
7595     * @return slide slide mode value
7596     *
7597     * @see elm_label_slide_set()
7598     */
7599    EAPI Eina_Bool    elm_label_slide_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
7600    /**
7601     * @brief Set the slide duration(speed) of the label
7602     *
7603     * @param obj The label object
7604     * @return The duration in seconds in moving text from slide begin position
7605     * to slide end position
7606     */
7607    EAPI void         elm_label_slide_duration_set(Evas_Object *obj, double duration) EINA_ARG_NONNULL(1);
7608    /**
7609     * @brief Get the slide duration(speed) of the label
7610     *
7611     * @param obj The label object
7612     * @return The duration time in moving text from slide begin position to slide end position
7613     *
7614     * @see elm_label_slide_duration_set()
7615     */
7616    EAPI double       elm_label_slide_duration_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
7617    /**
7618     * @}
7619     */
7620
7621    /**
7622     * @defgroup Toggle Toggle
7623     *
7624     * @image html img/widget/toggle/preview-00.png
7625     * @image latex img/widget/toggle/preview-00.eps
7626     *
7627     * @brief A toggle is a slider which can be used to toggle between
7628     * two values.  It has two states: on and off.
7629     *
7630     * This widget is deprecated. Please use elm_check_add() instead using the
7631     * toggle style like:
7632     * 
7633     * @code
7634     * obj = elm_check_add(parent);
7635     * elm_object_style_set(obj, "toggle");
7636     * elm_object_part_text_set(obj, "on", "ON");
7637     * elm_object_part_text_set(obj, "off", "OFF");
7638     * @endcode
7639     * 
7640     * Signals that you can add callbacks for are:
7641     * @li "changed" - Whenever the toggle value has been changed.  Is not called
7642     *                 until the toggle is released by the cursor (assuming it
7643     *                 has been triggered by the cursor in the first place).
7644     *
7645     * Default contents parts of the toggle widget that you can use for are:
7646     * @li "icon" - A icon of the toggle
7647     *
7648     * Default text parts of the toggle widget that you can use for are:
7649     * @li "elm.text" - Label of the toggle
7650     * 
7651     * @ref tutorial_toggle show how to use a toggle.
7652     * @{
7653     */
7654    /**
7655     * @brief Add a toggle to @p parent.
7656     *
7657     * @param parent The parent object
7658     *
7659     * @return The toggle object
7660     */
7661    EINA_DEPRECATED EAPI Evas_Object *elm_toggle_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7662    /**
7663     * @brief Sets the label to be displayed with the toggle.
7664     *
7665     * @param obj The toggle object
7666     * @param label The label to be displayed
7667     *
7668     * @deprecated use elm_object_text_set() instead.
7669     */
7670    EINA_DEPRECATED EAPI void         elm_toggle_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
7671    /**
7672     * @brief Gets the label of the toggle
7673     *
7674     * @param obj  toggle object
7675     * @return The label of the toggle
7676     *
7677     * @deprecated use elm_object_text_get() instead.
7678     */
7679    EINA_DEPRECATED EAPI const char  *elm_toggle_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7680    /**
7681     * @brief Set the icon used for the toggle
7682     *
7683     * @param obj The toggle object
7684     * @param icon The icon object for the button
7685     *
7686     * Once the icon object is set, a previously set one will be deleted
7687     * If you want to keep that old content object, use the
7688     * elm_toggle_icon_unset() function.
7689     *
7690     * @deprecated use elm_object_part_content_set() instead.
7691     */
7692    EINA_DEPRECATED EAPI void         elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
7693    /**
7694     * @brief Get the icon used for the toggle
7695     *
7696     * @param obj The toggle object
7697     * @return The icon object that is being used
7698     *
7699     * Return the icon object which is set for this widget.
7700     *
7701     * @see elm_toggle_icon_set()
7702     *
7703     * @deprecated use elm_object_part_content_get() instead.
7704     */
7705    EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7706    /**
7707     * @brief Unset the icon used for the toggle
7708     *
7709     * @param obj The toggle object
7710     * @return The icon object that was being used
7711     *
7712     * Unparent and return the icon object which was set for this widget.
7713     *
7714     * @see elm_toggle_icon_set()
7715     *
7716     * @deprecated use elm_object_part_content_unset() instead.
7717     */
7718    EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7719    /**
7720     * @brief Sets the labels to be associated with the on and off states of the toggle.
7721     *
7722     * @param obj The toggle object
7723     * @param onlabel The label displayed when the toggle is in the "on" state
7724     * @param offlabel The label displayed when the toggle is in the "off" state
7725     *
7726     * @deprecated use elm_object_part_text_set() for "on" and "off" parts
7727     * instead.
7728     */
7729    EINA_DEPRECATED EAPI void         elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel) EINA_ARG_NONNULL(1);
7730    /**
7731     * @brief Gets the labels associated with the on and off states of the
7732     * toggle.
7733     *
7734     * @param obj The toggle object
7735     * @param onlabel A char** to place the onlabel of @p obj into
7736     * @param offlabel A char** to place the offlabel of @p obj into
7737     *
7738     * @deprecated use elm_object_part_text_get() for "on" and "off" parts
7739     * instead.
7740     */
7741    EINA_DEPRECATED EAPI void         elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel) EINA_ARG_NONNULL(1);
7742    /**
7743     * @brief Sets the state of the toggle to @p state.
7744     *
7745     * @param obj The toggle object
7746     * @param state The state of @p obj
7747     *
7748     * @deprecated use elm_check_state_set() instead.
7749     */
7750    EINA_DEPRECATED EAPI void         elm_toggle_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
7751    /**
7752     * @brief Gets the state of the toggle to @p state.
7753     *
7754     * @param obj The toggle object
7755     * @return The state of @p obj
7756     *
7757     * @deprecated use elm_check_state_get() instead.
7758     */
7759    EINA_DEPRECATED EAPI Eina_Bool    elm_toggle_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7760    /**
7761     * @brief Sets the state pointer of the toggle to @p statep.
7762     *
7763     * @param obj The toggle object
7764     * @param statep The state pointer of @p obj
7765     *
7766     * @deprecated use elm_check_state_pointer_set() instead.
7767     */
7768    EINA_DEPRECATED EAPI void         elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
7769    /**
7770     * @}
7771     */
7772
7773    /**
7774     * @defgroup Frame Frame
7775     *
7776     * @image html img/widget/frame/preview-00.png
7777     * @image latex img/widget/frame/preview-00.eps
7778     *
7779     * @brief Frame is a widget that holds some content and has a title.
7780     *
7781     * The default look is a frame with a title, but Frame supports multple
7782     * styles:
7783     * @li default
7784     * @li pad_small
7785     * @li pad_medium
7786     * @li pad_large
7787     * @li pad_huge
7788     * @li outdent_top
7789     * @li outdent_bottom
7790     *
7791     * Of all this styles only default shows the title. Frame emits no signals.
7792     *
7793     * Default contents parts of the frame widget that you can use for are:
7794     * @li "default" - A content of the frame
7795     *
7796     * Default text parts of the frame widget that you can use for are:
7797     * @li "elm.text" - Label of the frame
7798     *
7799     * For a detailed example see the @ref tutorial_frame.
7800     *
7801     * @{
7802     */
7803    /**
7804     * @brief Add a new frame to the parent
7805     *
7806     * @param parent The parent object
7807     * @return The new object or NULL if it cannot be created
7808     */
7809    EAPI Evas_Object *elm_frame_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7810    /**
7811     * @brief Set the frame label
7812     *
7813     * @param obj The frame object
7814     * @param label The label of this frame object
7815     *
7816     * @deprecated use elm_object_text_set() instead.
7817     */
7818    EINA_DEPRECATED EAPI void         elm_frame_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
7819    /**
7820     * @brief Get the frame label
7821     *
7822     * @param obj The frame object
7823     *
7824     * @return The label of this frame objet or NULL if unable to get frame
7825     *
7826     * @deprecated use elm_object_text_get() instead.
7827     */
7828    EINA_DEPRECATED EAPI const char  *elm_frame_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7829    /**
7830     * @brief Set the content of the frame widget
7831     *
7832     * Once the content object is set, a previously set one will be deleted.
7833     * If you want to keep that old content object, use the
7834     * elm_frame_content_unset() function.
7835     *
7836     * @param obj The frame object
7837     * @param content The content will be filled in this frame object
7838     *
7839     * @deprecated use elm_object_content_set() instead.
7840     */
7841    EINA_DEPRECATED EAPI void         elm_frame_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
7842    /**
7843     * @brief Get the content of the frame widget
7844     *
7845     * Return the content object which is set for this widget
7846     *
7847     * @param obj The frame object
7848     * @return The content that is being used
7849     *
7850     * @deprecated use elm_object_content_get() instead.
7851     */
7852    EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7853    /**
7854     * @brief Unset the content of the frame widget
7855     *
7856     * Unparent and return the content object which was set for this widget
7857     *
7858     * @param obj The frame object
7859     * @return The content that was being used
7860     *
7861     * @deprecated use elm_object_content_unset() instead.
7862     */
7863    EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7864    /**
7865     * @}
7866     */
7867
7868    /**
7869     * @defgroup Table Table
7870     *
7871     * A container widget to arrange other widgets in a table where items can
7872     * also span multiple columns or rows - even overlap (and then be raised or
7873     * lowered accordingly to adjust stacking if they do overlap).
7874     *
7875     * For a Table widget the row/column count is not fixed.
7876     * The table widget adjusts itself when subobjects are added to it dynamically.
7877     *
7878     * The followin are examples of how to use a table:
7879     * @li @ref tutorial_table_01
7880     * @li @ref tutorial_table_02
7881     *
7882     * @{
7883     */
7884    /**
7885     * @brief Add a new table to the parent
7886     *
7887     * @param parent The parent object
7888     * @return The new object or NULL if it cannot be created
7889     */
7890    EAPI Evas_Object *elm_table_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7891    /**
7892     * @brief Set the homogeneous layout in the table
7893     *
7894     * @param obj The layout object
7895     * @param homogeneous A boolean to set if the layout is homogeneous in the
7896     * table (EINA_TRUE = homogeneous,  EINA_FALSE = no homogeneous)
7897     */
7898    EAPI void         elm_table_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
7899    /**
7900     * @brief Get the current table homogeneous mode.
7901     *
7902     * @param obj The table object
7903     * @return A boolean to indicating if the layout is homogeneous in the table
7904     * (EINA_TRUE = homogeneous,  EINA_FALSE = no homogeneous)
7905     */
7906    EAPI Eina_Bool    elm_table_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7907    /**
7908     * @warning <b>Use elm_table_homogeneous_set() instead</b>
7909     */
7910    EINA_DEPRECATED EAPI void elm_table_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
7911    /**
7912     * @warning <b>Use elm_table_homogeneous_get() instead</b>
7913     */
7914    EINA_DEPRECATED EAPI Eina_Bool elm_table_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7915    /**
7916     * @brief Set padding between cells.
7917     *
7918     * @param obj The layout object.
7919     * @param horizontal set the horizontal padding.
7920     * @param vertical set the vertical padding.
7921     *
7922     * Default value is 0.
7923     */
7924    EAPI void         elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
7925    /**
7926     * @brief Get padding between cells.
7927     *
7928     * @param obj The layout object.
7929     * @param horizontal set the horizontal padding.
7930     * @param vertical set the vertical padding.
7931     */
7932    EAPI void         elm_table_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
7933    /**
7934     * @brief Add a subobject on the table with the coordinates passed
7935     *
7936     * @param obj The table object
7937     * @param subobj The subobject to be added to the table
7938     * @param x Row number
7939     * @param y Column number
7940     * @param w rowspan
7941     * @param h colspan
7942     *
7943     * @note All positioning inside the table is relative to rows and columns, so
7944     * a value of 0 for x and y, means the top left cell of the table, and a
7945     * value of 1 for w and h means @p subobj only takes that 1 cell.
7946     */
7947    EAPI void         elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
7948    /**
7949     * @brief Remove child from table.
7950     *
7951     * @param obj The table object
7952     * @param subobj The subobject
7953     */
7954    EAPI void         elm_table_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
7955    /**
7956     * @brief Faster way to remove all child objects from a table object.
7957     *
7958     * @param obj The table object
7959     * @param clear If true, will delete children, else just remove from table.
7960     */
7961    EAPI void         elm_table_clear(Evas_Object *obj, Eina_Bool clear) EINA_ARG_NONNULL(1);
7962    /**
7963     * @brief Set the packing location of an existing child of the table
7964     *
7965     * @param subobj The subobject to be modified in the table
7966     * @param x Row number
7967     * @param y Column number
7968     * @param w rowspan
7969     * @param h colspan
7970     *
7971     * Modifies the position of an object already in the table.
7972     *
7973     * @note All positioning inside the table is relative to rows and columns, so
7974     * a value of 0 for x and y, means the top left cell of the table, and a
7975     * value of 1 for w and h means @p subobj only takes that 1 cell.
7976     */
7977    EAPI void         elm_table_pack_set(Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
7978    /**
7979     * @brief Get the packing location of an existing child of the table
7980     *
7981     * @param subobj The subobject to be modified in the table
7982     * @param x Row number
7983     * @param y Column number
7984     * @param w rowspan
7985     * @param h colspan
7986     *
7987     * @see elm_table_pack_set()
7988     */
7989    EAPI void         elm_table_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
7990    /**
7991     * @}
7992     */
7993
7994    /* TEMPORARY: DOCS WILL BE FILLED IN WITH CNP/SED */
7995    typedef struct Elm_Gen_Item Elm_Gen_Item;
7996    typedef struct _Elm_Gen_Item_Class Elm_Gen_Item_Class;
7997    typedef struct _Elm_Gen_Item_Class_Func Elm_Gen_Item_Class_Func; /**< Class functions for gen item classes. */
7998    typedef char        *(*Elm_Gen_Item_Label_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< Label fetching class function for gen item classes. */
7999    typedef Evas_Object *(*Elm_Gen_Item_Content_Get_Cb)  (void *data, Evas_Object *obj, const char *part); /**< Content(swallowed object) fetching class function for gen item classes. */
8000    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. */
8001    typedef void         (*Elm_Gen_Item_Del_Cb)      (void *data, Evas_Object *obj); /**< Deletion class function for gen item classes. */
8002    struct _Elm_Gen_Item_Class
8003      {
8004         const char             *item_style;
8005         struct _Elm_Gen_Item_Class_Func
8006           {
8007              Elm_Gen_Item_Label_Get_Cb label_get;
8008              Elm_Gen_Item_Content_Get_Cb  content_get;
8009              Elm_Gen_Item_State_Get_Cb state_get;
8010              Elm_Gen_Item_Del_Cb       del;
8011           } func;
8012      };
8013    EAPI void elm_gen_clear(Evas_Object *obj);
8014    EAPI void elm_gen_item_selected_set(Elm_Gen_Item *it, Eina_Bool selected);
8015    EAPI Eina_Bool elm_gen_item_selected_get(const Elm_Gen_Item *it);
8016    EAPI void elm_gen_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
8017    EAPI Eina_Bool elm_gen_always_select_mode_get(const Evas_Object *obj);
8018    EAPI void elm_gen_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
8019    EAPI Eina_Bool elm_gen_no_select_mode_get(const Evas_Object *obj);
8020    EAPI void elm_gen_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
8021    EAPI void elm_gen_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
8022    EAPI void elm_gen_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel);
8023    EAPI void elm_gen_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel);
8024    EAPI void elm_gen_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize);
8025    EAPI void elm_gen_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber);
8026    EAPI void elm_gen_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber);
8027    EAPI void elm_gen_page_show(const Evas_Object *obj, int h_pagenumber, int v_pagenumber);
8028    EAPI void elm_gen_page_bring_in(const Evas_Object *obj, int h_pagenumber, int v_pagenumber);
8029    EAPI Elm_Gen_Item *elm_gen_first_item_get(const Evas_Object *obj);
8030    EAPI Elm_Gen_Item *elm_gen_last_item_get(const Evas_Object *obj);
8031    EAPI Elm_Gen_Item *elm_gen_item_next_get(const Elm_Gen_Item *it);
8032    EAPI Elm_Gen_Item *elm_gen_item_prev_get(const Elm_Gen_Item *it);
8033    EAPI Evas_Object *elm_gen_item_widget_get(const Elm_Gen_Item *it);
8034
8035    /**
8036     * @defgroup Gengrid Gengrid (Generic grid)
8037     *
8038     * This widget aims to position objects in a grid layout while
8039     * actually creating and rendering only the visible ones, using the
8040     * same idea as the @ref Genlist "genlist": the user defines a @b
8041     * class for each item, specifying functions that will be called at
8042     * object creation, deletion, etc. When those items are selected by
8043     * the user, a callback function is issued. Users may interact with
8044     * a gengrid via the mouse (by clicking on items to select them and
8045     * clicking on the grid's viewport and swiping to pan the whole
8046     * view) or via the keyboard, navigating through item with the
8047     * arrow keys.
8048     *
8049     * @section Gengrid_Layouts Gengrid layouts
8050     *
8051     * Gengrid may layout its items in one of two possible layouts:
8052     * - horizontal or
8053     * - vertical.
8054     *
8055     * When in "horizontal mode", items will be placed in @b columns,
8056     * from top to bottom and, when the space for a column is filled,
8057     * another one is started on the right, thus expanding the grid
8058     * horizontally, making for horizontal scrolling. When in "vertical
8059     * mode" , though, items will be placed in @b rows, from left to
8060     * right and, when the space for a row is filled, another one is
8061     * started below, thus expanding the grid vertically (and making
8062     * for vertical scrolling).
8063     *
8064     * @section Gengrid_Items Gengrid items
8065     *
8066     * An item in a gengrid can have 0 or more text labels (they can be
8067     * regular text or textblock Evas objects - that's up to the style
8068     * to determine), 0 or more icons (which are simply objects
8069     * swallowed into the gengrid item's theming Edje object) and 0 or
8070     * more <b>boolean states</b>, which have the behavior left to the
8071     * user to define. The Edje part names for each of these properties
8072     * will be looked up, in the theme file for the gengrid, under the
8073     * Edje (string) data items named @c "labels", @c "icons" and @c
8074     * "states", respectively. For each of those properties, if more
8075     * than one part is provided, they must have names listed separated
8076     * by spaces in the data fields. For the default gengrid item
8077     * theme, we have @b one label part (@c "elm.text"), @b two icon
8078     * parts (@c "elm.swalllow.icon" and @c "elm.swallow.end") and @b
8079     * no state parts.
8080     *
8081     * A gengrid item may be at one of several styles. Elementary
8082     * provides one by default - "default", but this can be extended by
8083     * system or application custom themes/overlays/extensions (see
8084     * @ref Theme "themes" for more details).
8085     *
8086     * @section Gengrid_Item_Class Gengrid item classes
8087     *
8088     * In order to have the ability to add and delete items on the fly,
8089     * gengrid implements a class (callback) system where the
8090     * application provides a structure with information about that
8091     * type of item (gengrid may contain multiple different items with
8092     * different classes, states and styles). Gengrid will call the
8093     * functions in this struct (methods) when an item is "realized"
8094     * (i.e., created dynamically, while the user is scrolling the
8095     * grid). All objects will simply be deleted when no longer needed
8096     * with evas_object_del(). The #Elm_GenGrid_Item_Class structure
8097     * contains the following members:
8098     * - @c item_style - This is a constant string and simply defines
8099     * the name of the item style. It @b must be specified and the
8100     * default should be @c "default".
8101     * - @c func.label_get - This function is called when an item
8102     * object is actually created. The @c data parameter will point to
8103     * the same data passed to elm_gengrid_item_append() and related
8104     * item creation functions. The @c obj parameter is the gengrid
8105     * object itself, while the @c part one is the name string of one
8106     * of the existing text parts in the Edje group implementing the
8107     * item's theme. This function @b must return a strdup'()ed string,
8108     * as the caller will free() it when done. See
8109     * #Elm_Gengrid_Item_Label_Get_Cb.
8110     * - @c func.content_get - This function is called when an item object
8111     * is actually created. The @c data parameter will point to the
8112     * same data passed to elm_gengrid_item_append() and related item
8113     * creation functions. The @c obj parameter is the gengrid object
8114     * itself, while the @c part one is the name string of one of the
8115     * existing (content) swallow parts in the Edje group implementing the
8116     * item's theme. It must return @c NULL, when no content is desired,
8117     * or a valid object handle, otherwise. The object will be deleted
8118     * by the gengrid on its deletion or when the item is "unrealized".
8119     * See #Elm_Gengrid_Item_Content_Get_Cb.
8120     * - @c func.state_get - This function is called when an item
8121     * object is actually created. The @c data parameter will point to
8122     * the same data passed to elm_gengrid_item_append() and related
8123     * item creation functions. The @c obj parameter is the gengrid
8124     * object itself, while the @c part one is the name string of one
8125     * of the state parts in the Edje group implementing the item's
8126     * theme. Return @c EINA_FALSE for false/off or @c EINA_TRUE for
8127     * true/on. Gengrids will emit a signal to its theming Edje object
8128     * with @c "elm,state,XXX,active" and @c "elm" as "emission" and
8129     * "source" arguments, respectively, when the state is true (the
8130     * default is false), where @c XXX is the name of the (state) part.
8131     * See #Elm_Gengrid_Item_State_Get_Cb.
8132     * - @c func.del - This is called when elm_gengrid_item_del() is
8133     * called on an item or elm_gengrid_clear() is called on the
8134     * gengrid. This is intended for use when gengrid items are
8135     * deleted, so any data attached to the item (e.g. its data
8136     * parameter on creation) can be deleted. See #Elm_Gengrid_Item_Del_Cb.
8137     *
8138     * @section Gengrid_Usage_Hints Usage hints
8139     *
8140     * If the user wants to have multiple items selected at the same
8141     * time, elm_gengrid_multi_select_set() will permit it. If the
8142     * gengrid is single-selection only (the default), then
8143     * elm_gengrid_select_item_get() will return the selected item or
8144     * @c NULL, if none is selected. If the gengrid is under
8145     * multi-selection, then elm_gengrid_selected_items_get() will
8146     * return a list (that is only valid as long as no items are
8147     * modified (added, deleted, selected or unselected) of child items
8148     * on a gengrid.
8149     *
8150     * If an item changes (internal (boolean) state, label or content 
8151     * changes), then use elm_gengrid_item_update() to have gengrid
8152     * update the item with the new state. A gengrid will re-"realize"
8153     * the item, thus calling the functions in the
8154     * #Elm_Gengrid_Item_Class set for that item.
8155     *
8156     * To programmatically (un)select an item, use
8157     * elm_gengrid_item_selected_set(). To get its selected state use
8158     * elm_gengrid_item_selected_get(). To make an item disabled
8159     * (unable to be selected and appear differently) use
8160     * elm_gengrid_item_disabled_set() to set this and
8161     * elm_gengrid_item_disabled_get() to get the disabled state.
8162     *
8163     * Grid cells will only have their selection smart callbacks called
8164     * when firstly getting selected. Any further clicks will do
8165     * nothing, unless you enable the "always select mode", with
8166     * elm_gengrid_always_select_mode_set(), thus making every click to
8167     * issue selection callbacks. elm_gengrid_no_select_mode_set() will
8168     * turn off the ability to select items entirely in the widget and
8169     * they will neither appear selected nor call the selection smart
8170     * callbacks.
8171     *
8172     * Remember that you can create new styles and add your own theme
8173     * augmentation per application with elm_theme_extension_add(). If
8174     * you absolutely must have a specific style that overrides any
8175     * theme the user or system sets up you can use
8176     * elm_theme_overlay_add() to add such a file.
8177     *
8178     * @section Gengrid_Smart_Events Gengrid smart events
8179     *
8180     * Smart events that you can add callbacks for are:
8181     * - @c "activated" - The user has double-clicked or pressed
8182     *   (enter|return|spacebar) on an item. The @c event_info parameter
8183     *   is the gengrid item that was activated.
8184     * - @c "clicked,double" - The user has double-clicked an item.
8185     *   The @c event_info parameter is the gengrid item that was double-clicked.
8186     * - @c "longpressed" - This is called when the item is pressed for a certain
8187     *   amount of time. By default it's 1 second.
8188     * - @c "selected" - The user has made an item selected. The
8189     *   @c event_info parameter is the gengrid item that was selected.
8190     * - @c "unselected" - The user has made an item unselected. The
8191     *   @c event_info parameter is the gengrid item that was unselected.
8192     * - @c "realized" - This is called when the item in the gengrid
8193     *   has its implementing Evas object instantiated, de facto. @c
8194     *   event_info is the gengrid item that was created. The object
8195     *   may be deleted at any time, so it is highly advised to the
8196     *   caller @b not to use the object pointer returned from
8197     *   elm_gengrid_item_object_get(), because it may point to freed
8198     *   objects.
8199     * - @c "unrealized" - This is called when the implementing Evas
8200     *   object for this item is deleted. @c event_info is the gengrid
8201     *   item that was deleted.
8202     * - @c "changed" - Called when an item is added, removed, resized
8203     *   or moved and when the gengrid is resized or gets "horizontal"
8204     *   property changes.
8205     * - @c "scroll,anim,start" - This is called when scrolling animation has
8206     *   started.
8207     * - @c "scroll,anim,stop" - This is called when scrolling animation has
8208     *   stopped.
8209     * - @c "drag,start,up" - Called when the item in the gengrid has
8210     *   been dragged (not scrolled) up.
8211     * - @c "drag,start,down" - Called when the item in the gengrid has
8212     *   been dragged (not scrolled) down.
8213     * - @c "drag,start,left" - Called when the item in the gengrid has
8214     *   been dragged (not scrolled) left.
8215     * - @c "drag,start,right" - Called when the item in the gengrid has
8216     *   been dragged (not scrolled) right.
8217     * - @c "drag,stop" - Called when the item in the gengrid has
8218     *   stopped being dragged.
8219     * - @c "drag" - Called when the item in the gengrid is being
8220     *   dragged.
8221     * - @c "scroll" - called when the content has been scrolled
8222     *   (moved).
8223     * - @c "scroll,drag,start" - called when dragging the content has
8224     *   started.
8225     * - @c "scroll,drag,stop" - called when dragging the content has
8226     *   stopped.
8227     * - @c "edge,top" - This is called when the gengrid is scrolled until
8228     *   the top edge.
8229     * - @c "edge,bottom" - This is called when the gengrid is scrolled
8230     *   until the bottom edge.
8231     * - @c "edge,left" - This is called when the gengrid is scrolled
8232     *   until the left edge.
8233     * - @c "edge,right" - This is called when the gengrid is scrolled
8234     *   until the right edge.
8235     *
8236     * List of gengrid examples:
8237     * @li @ref gengrid_example
8238     */
8239
8240    /**
8241     * @addtogroup Gengrid
8242     * @{
8243     */
8244
8245    typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class; /**< Gengrid item class definition structs */
8246    #define Elm_Gengrid_Item_Class Elm_Gen_Item_Class
8247    typedef struct _Elm_Gengrid_Item Elm_Gengrid_Item; /**< Gengrid item handles */
8248    #define Elm_Gengrid_Item Elm_Gen_Item /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
8249    typedef struct _Elm_Gengrid_Item_Class_Func Elm_Gengrid_Item_Class_Func; /**< Class functions for gengrid item classes. */
8250    /**
8251     * Label fetching class function for Elm_Gen_Item_Class.
8252     * @param data The data passed in the item creation function
8253     * @param obj The base widget object
8254     * @param part The part name of the swallow
8255     * @return The allocated (NOT stringshared) string to set as the label
8256     */
8257    typedef char        *(*Elm_Gengrid_Item_Label_Get_Cb) (void *data, Evas_Object *obj, const char *part);
8258    /**
8259     * Content (swallowed object) fetching class function for Elm_Gen_Item_Class.
8260     * @param data The data passed in the item creation function
8261     * @param obj The base widget object
8262     * @param part The part name of the swallow
8263     * @return The content object to swallow
8264     */
8265    typedef Evas_Object *(*Elm_Gengrid_Item_Content_Get_Cb)  (void *data, Evas_Object *obj, const char *part);
8266    /**
8267     * State fetching class function for Elm_Gen_Item_Class.
8268     * @param data The data passed in the item creation function
8269     * @param obj The base widget object
8270     * @param part The part name of the swallow
8271     * @return The hell if I know
8272     */
8273    typedef Eina_Bool    (*Elm_Gengrid_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part);
8274    /**
8275     * Deletion class function for Elm_Gen_Item_Class.
8276     * @param data The data passed in the item creation function
8277     * @param obj The base widget object
8278     */
8279    typedef void         (*Elm_Gengrid_Item_Del_Cb)      (void *data, Evas_Object *obj);
8280
8281    /**
8282     * @struct _Elm_Gengrid_Item_Class
8283     *
8284     * Gengrid item class definition. See @ref Gengrid_Item_Class for
8285     * field details.
8286     */
8287    struct _Elm_Gengrid_Item_Class
8288      {
8289         const char             *item_style;
8290         struct _Elm_Gengrid_Item_Class_Func
8291           {
8292              Elm_Gengrid_Item_Label_Get_Cb label_get;
8293              Elm_Gengrid_Item_Content_Get_Cb content_get;
8294              Elm_Gengrid_Item_State_Get_Cb state_get;
8295              Elm_Gengrid_Item_Del_Cb       del;
8296           } func;
8297      }; /**< #Elm_Gengrid_Item_Class member definitions */
8298    #define Elm_Gengrid_Item_Class_Func Elm_Gen_Item_Class_Func
8299    /**
8300     * Add a new gengrid widget to the given parent Elementary
8301     * (container) object
8302     *
8303     * @param parent The parent object
8304     * @return a new gengrid widget handle or @c NULL, on errors
8305     *
8306     * This function inserts a new gengrid widget on the canvas.
8307     *
8308     * @see elm_gengrid_item_size_set()
8309     * @see elm_gengrid_group_item_size_set()
8310     * @see elm_gengrid_horizontal_set()
8311     * @see elm_gengrid_item_append()
8312     * @see elm_gengrid_item_del()
8313     * @see elm_gengrid_clear()
8314     *
8315     * @ingroup Gengrid
8316     */
8317    EAPI Evas_Object       *elm_gengrid_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
8318
8319    /**
8320     * Set the size for the items of a given gengrid widget
8321     *
8322     * @param obj The gengrid object.
8323     * @param w The items' width.
8324     * @param h The items' height;
8325     *
8326     * A gengrid, after creation, has still no information on the size
8327     * to give to each of its cells. So, you most probably will end up
8328     * with squares one @ref Fingers "finger" wide, the default
8329     * size. Use this function to force a custom size for you items,
8330     * making them as big as you wish.
8331     *
8332     * @see elm_gengrid_item_size_get()
8333     *
8334     * @ingroup Gengrid
8335     */
8336    EAPI void               elm_gengrid_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
8337
8338    /**
8339     * Get the size set for the items of a given gengrid widget
8340     *
8341     * @param obj The gengrid object.
8342     * @param w Pointer to a variable where to store the items' width.
8343     * @param h Pointer to a variable where to store the items' height.
8344     *
8345     * @note Use @c NULL pointers on the size values you're not
8346     * interested in: they'll be ignored by the function.
8347     *
8348     * @see elm_gengrid_item_size_get() for more details
8349     *
8350     * @ingroup Gengrid
8351     */
8352    EAPI void               elm_gengrid_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
8353
8354    /**
8355     * Set the size for the group items of a given gengrid widget
8356     *
8357     * @param obj The gengrid object.
8358     * @param w The group items' width.
8359     * @param h The group items' height;
8360     *
8361     * A gengrid, after creation, has still no information on the size
8362     * to give to each of its cells. So, you most probably will end up
8363     * with squares one @ref Fingers "finger" wide, the default
8364     * size. Use this function to force a custom size for you group items,
8365     * making them as big as you wish.
8366     *
8367     * @see elm_gengrid_group_item_size_get()
8368     *
8369     * @ingroup Gengrid
8370     */
8371    EAPI void               elm_gengrid_group_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
8372
8373    /**
8374     * Get the size set for the group items of a given gengrid widget
8375     *
8376     * @param obj The gengrid object.
8377     * @param w Pointer to a variable where to store the group items' width.
8378     * @param h Pointer to a variable where to store the group items' height.
8379     *
8380     * @note Use @c NULL pointers on the size values you're not
8381     * interested in: they'll be ignored by the function.
8382     *
8383     * @see elm_gengrid_group_item_size_get() for more details
8384     *
8385     * @ingroup Gengrid
8386     */
8387    EAPI void               elm_gengrid_group_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
8388
8389    /**
8390     * Set the items grid's alignment within a given gengrid widget
8391     *
8392     * @param obj The gengrid object.
8393     * @param align_x Alignment in the horizontal axis (0 <= align_x <= 1).
8394     * @param align_y Alignment in the vertical axis (0 <= align_y <= 1).
8395     *
8396     * This sets the alignment of the whole grid of items of a gengrid
8397     * within its given viewport. By default, those values are both
8398     * 0.5, meaning that the gengrid will have its items grid placed
8399     * exactly in the middle of its viewport.
8400     *
8401     * @note If given alignment values are out of the cited ranges,
8402     * they'll be changed to the nearest boundary values on the valid
8403     * ranges.
8404     *
8405     * @see elm_gengrid_align_get()
8406     *
8407     * @ingroup Gengrid
8408     */
8409    EAPI void               elm_gengrid_align_set(Evas_Object *obj, double align_x, double align_y) EINA_ARG_NONNULL(1);
8410
8411    /**
8412     * Get the items grid's alignment values within a given gengrid
8413     * widget
8414     *
8415     * @param obj The gengrid object.
8416     * @param align_x Pointer to a variable where to store the
8417     * horizontal alignment.
8418     * @param align_y Pointer to a variable where to store the vertical
8419     * alignment.
8420     *
8421     * @note Use @c NULL pointers on the alignment values you're not
8422     * interested in: they'll be ignored by the function.
8423     *
8424     * @see elm_gengrid_align_set() for more details
8425     *
8426     * @ingroup Gengrid
8427     */
8428    EAPI void               elm_gengrid_align_get(const Evas_Object *obj, double *align_x, double *align_y) EINA_ARG_NONNULL(1);
8429
8430    /**
8431     * Set whether a given gengrid widget is or not able have items
8432     * @b reordered
8433     *
8434     * @param obj The gengrid object
8435     * @param reorder_mode Use @c EINA_TRUE to turn reoderding on,
8436     * @c EINA_FALSE to turn it off
8437     *
8438     * If a gengrid is set to allow reordering, a click held for more
8439     * than 0.5 over a given item will highlight it specially,
8440     * signalling the gengrid has entered the reordering state. From
8441     * that time on, the user will be able to, while still holding the
8442     * mouse button down, move the item freely in the gengrid's
8443     * viewport, replacing to said item to the locations it goes to.
8444     * The replacements will be animated and, whenever the user
8445     * releases the mouse button, the item being replaced gets a new
8446     * definitive place in the grid.
8447     *
8448     * @see elm_gengrid_reorder_mode_get()
8449     *
8450     * @ingroup Gengrid
8451     */
8452    EAPI void               elm_gengrid_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
8453
8454    /**
8455     * Get whether a given gengrid widget is or not able have items
8456     * @b reordered
8457     *
8458     * @param obj The gengrid object
8459     * @return @c EINA_TRUE, if reoderding is on, @c EINA_FALSE if it's
8460     * off
8461     *
8462     * @see elm_gengrid_reorder_mode_set() for more details
8463     *
8464     * @ingroup Gengrid
8465     */
8466    EAPI Eina_Bool          elm_gengrid_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8467
8468    /**
8469     * Append a new item in a given gengrid widget.
8470     *
8471     * @param obj The gengrid object.
8472     * @param gic The item class for the item.
8473     * @param data The item data.
8474     * @param func Convenience function called when the item is
8475     * selected.
8476     * @param func_data Data to be passed to @p func.
8477     * @return A handle to the item added or @c NULL, on errors.
8478     *
8479     * This adds an item to the beginning of the gengrid.
8480     *
8481     * @see elm_gengrid_item_prepend()
8482     * @see elm_gengrid_item_insert_before()
8483     * @see elm_gengrid_item_insert_after()
8484     * @see elm_gengrid_item_del()
8485     *
8486     * @ingroup Gengrid
8487     */
8488    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);
8489
8490    /**
8491     * Prepend a new item in a given gengrid widget.
8492     *
8493     * @param obj The gengrid object.
8494     * @param gic The item class for the item.
8495     * @param data The item data.
8496     * @param func Convenience function called when the item is
8497     * selected.
8498     * @param func_data Data to be passed to @p func.
8499     * @return A handle to the item added or @c NULL, on errors.
8500     *
8501     * This adds an item to the end of the gengrid.
8502     *
8503     * @see elm_gengrid_item_append()
8504     * @see elm_gengrid_item_insert_before()
8505     * @see elm_gengrid_item_insert_after()
8506     * @see elm_gengrid_item_del()
8507     *
8508     * @ingroup Gengrid
8509     */
8510    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);
8511
8512    /**
8513     * Insert an item before another in a gengrid widget
8514     *
8515     * @param obj The gengrid object.
8516     * @param gic The item class for the item.
8517     * @param data The item data.
8518     * @param relative The item to place this new one before.
8519     * @param func Convenience function called when the item is
8520     * selected.
8521     * @param func_data Data to be passed to @p func.
8522     * @return A handle to the item added or @c NULL, on errors.
8523     *
8524     * This inserts an item before another in the gengrid.
8525     *
8526     * @see elm_gengrid_item_append()
8527     * @see elm_gengrid_item_prepend()
8528     * @see elm_gengrid_item_insert_after()
8529     * @see elm_gengrid_item_del()
8530     *
8531     * @ingroup Gengrid
8532     */
8533    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);
8534
8535    /**
8536     * Insert an item after another in a gengrid widget
8537     *
8538     * @param obj The gengrid object.
8539     * @param gic The item class for the item.
8540     * @param data The item data.
8541     * @param relative The item to place this new one after.
8542     * @param func Convenience function called when the item is
8543     * selected.
8544     * @param func_data Data to be passed to @p func.
8545     * @return A handle to the item added or @c NULL, on errors.
8546     *
8547     * This inserts an item after another in the gengrid.
8548     *
8549     * @see elm_gengrid_item_append()
8550     * @see elm_gengrid_item_prepend()
8551     * @see elm_gengrid_item_insert_after()
8552     * @see elm_gengrid_item_del()
8553     *
8554     * @ingroup Gengrid
8555     */
8556    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);
8557
8558    /**
8559     * Insert an item in a gengrid widget using a user-defined sort function.
8560     *
8561     * @param obj The gengrid object.
8562     * @param gic The item class for the item.
8563     * @param data The item data.
8564     * @param comp User defined comparison function that defines the sort order based on
8565     * Elm_Gen_Item and its data param.
8566     * @param func Convenience function called when the item is selected.
8567     * @param func_data Data to be passed to @p func.
8568     * @return A handle to the item added or @c NULL, on errors.
8569     *
8570     * This inserts an item in the gengrid based on user defined comparison function.
8571     *
8572     * @see elm_gengrid_item_append()
8573     * @see elm_gengrid_item_prepend()
8574     * @see elm_gengrid_item_insert_after()
8575     * @see elm_gengrid_item_del()
8576     * @see elm_gengrid_item_direct_sorted_insert()
8577     *
8578     * @ingroup Gengrid
8579     */
8580    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);
8581
8582    /**
8583     * Insert an item in a gengrid widget using a user-defined sort function.
8584     *
8585     * @param obj The gengrid object.
8586     * @param gic The item class for the item.
8587     * @param data The item data.
8588     * @param comp User defined comparison function that defines the sort order based on
8589     * Elm_Gen_Item.
8590     * @param func Convenience function called when the item is selected.
8591     * @param func_data Data to be passed to @p func.
8592     * @return A handle to the item added or @c NULL, on errors.
8593     *
8594     * This inserts an item in the gengrid based on user defined comparison function.
8595     *
8596     * @see elm_gengrid_item_append()
8597     * @see elm_gengrid_item_prepend()
8598     * @see elm_gengrid_item_insert_after()
8599     * @see elm_gengrid_item_del()
8600     * @see elm_gengrid_item_sorted_insert()
8601     *
8602     * @ingroup Gengrid
8603     */
8604    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);
8605
8606    /**
8607     * Set whether items on a given gengrid widget are to get their
8608     * selection callbacks issued for @b every subsequent selection
8609     * click on them or just for the first click.
8610     *
8611     * @param obj The gengrid object
8612     * @param always_select @c EINA_TRUE to make items "always
8613     * selected", @c EINA_FALSE, otherwise
8614     *
8615     * By default, grid items will only call their selection callback
8616     * function when firstly getting selected, any subsequent further
8617     * clicks will do nothing. With this call, you make those
8618     * subsequent clicks also to issue the selection callbacks.
8619     *
8620     * @note <b>Double clicks</b> will @b always be reported on items.
8621     *
8622     * @see elm_gengrid_always_select_mode_get()
8623     *
8624     * @ingroup Gengrid
8625     */
8626    EINA_DEPRECATED EAPI void               elm_gengrid_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
8627
8628    /**
8629     * Get whether items on a given gengrid widget have their selection
8630     * callbacks issued for @b every subsequent selection click on them
8631     * or just for the first click.
8632     *
8633     * @param obj The gengrid object.
8634     * @return @c EINA_TRUE if the gengrid items are "always selected",
8635     * @c EINA_FALSE, otherwise
8636     *
8637     * @see elm_gengrid_always_select_mode_set() for more details
8638     *
8639     * @ingroup Gengrid
8640     */
8641    EINA_DEPRECATED EAPI Eina_Bool          elm_gengrid_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8642
8643    /**
8644     * Set whether items on a given gengrid widget can be selected or not.
8645     *
8646     * @param obj The gengrid object
8647     * @param no_select @c EINA_TRUE to make items selectable,
8648     * @c EINA_FALSE otherwise
8649     *
8650     * This will make items in @p obj selectable or not. In the latter
8651     * case, any user interaction on the gengrid items will neither make
8652     * them appear selected nor them call their selection callback
8653     * functions.
8654     *
8655     * @see elm_gengrid_no_select_mode_get()
8656     *
8657     * @ingroup Gengrid
8658     */
8659    EINA_DEPRECATED EAPI void               elm_gengrid_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
8660
8661    /**
8662     * Get whether items on a given gengrid widget can be selected or
8663     * not.
8664     *
8665     * @param obj The gengrid object
8666     * @return @c EINA_TRUE, if items are selectable, @c EINA_FALSE
8667     * otherwise
8668     *
8669     * @see elm_gengrid_no_select_mode_set() for more details
8670     *
8671     * @ingroup Gengrid
8672     */
8673    EINA_DEPRECATED EAPI Eina_Bool          elm_gengrid_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8674
8675    /**
8676     * Enable or disable multi-selection in a given gengrid widget
8677     *
8678     * @param obj The gengrid object.
8679     * @param multi @c EINA_TRUE, to enable multi-selection,
8680     * @c EINA_FALSE to disable it.
8681     *
8682     * Multi-selection is the ability to have @b more than one
8683     * item selected, on a given gengrid, simultaneously. When it is
8684     * enabled, a sequence of clicks on different items will make them
8685     * all selected, progressively. A click on an already selected item
8686     * will unselect it. If interacting via the keyboard,
8687     * multi-selection is enabled while holding the "Shift" key.
8688     *
8689     * @note By default, multi-selection is @b disabled on gengrids
8690     *
8691     * @see elm_gengrid_multi_select_get()
8692     *
8693     * @ingroup Gengrid
8694     */
8695    EAPI void               elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
8696
8697    /**
8698     * Get whether multi-selection is enabled or disabled for a given
8699     * gengrid widget
8700     *
8701     * @param obj The gengrid object.
8702     * @return @c EINA_TRUE, if multi-selection is enabled, @c
8703     * EINA_FALSE otherwise
8704     *
8705     * @see elm_gengrid_multi_select_set() for more details
8706     *
8707     * @ingroup Gengrid
8708     */
8709    EAPI Eina_Bool          elm_gengrid_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8710
8711    /**
8712     * Enable or disable bouncing effect for a given gengrid widget
8713     *
8714     * @param obj The gengrid object
8715     * @param h_bounce @c EINA_TRUE, to enable @b horizontal bouncing,
8716     * @c EINA_FALSE to disable it
8717     * @param v_bounce @c EINA_TRUE, to enable @b vertical bouncing,
8718     * @c EINA_FALSE to disable it
8719     *
8720     * The bouncing effect occurs whenever one reaches the gengrid's
8721     * edge's while panning it -- it will scroll past its limits a
8722     * little bit and return to the edge again, in a animated for,
8723     * automatically.
8724     *
8725     * @note By default, gengrids have bouncing enabled on both axis
8726     *
8727     * @see elm_gengrid_bounce_get()
8728     *
8729     * @ingroup Gengrid
8730     */
8731    EINA_DEPRECATED EAPI void               elm_gengrid_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
8732
8733    /**
8734     * Get whether bouncing effects are enabled or disabled, for a
8735     * given gengrid widget, on each axis
8736     *
8737     * @param obj The gengrid object
8738     * @param h_bounce Pointer to a variable where to store the
8739     * horizontal bouncing flag.
8740     * @param v_bounce Pointer to a variable where to store the
8741     * vertical bouncing flag.
8742     *
8743     * @see elm_gengrid_bounce_set() for more details
8744     *
8745     * @ingroup Gengrid
8746     */
8747    EINA_DEPRECATED EAPI void               elm_gengrid_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
8748
8749    /**
8750     * Set a given gengrid widget's scrolling page size, relative to
8751     * its viewport size.
8752     *
8753     * @param obj The gengrid object
8754     * @param h_pagerel The horizontal page (relative) size
8755     * @param v_pagerel The vertical page (relative) size
8756     *
8757     * The gengrid's scroller is capable of binding scrolling by the
8758     * user to "pages". It means that, while scrolling and, specially
8759     * after releasing the mouse button, the grid will @b snap to the
8760     * nearest displaying page's area. When page sizes are set, the
8761     * grid's continuous content area is split into (equal) page sized
8762     * pieces.
8763     *
8764     * This function sets the size of a page <b>relatively to the
8765     * viewport dimensions</b> of the gengrid, for each axis. A value
8766     * @c 1.0 means "the exact viewport's size", in that axis, while @c
8767     * 0.0 turns paging off in that axis. Likewise, @c 0.5 means "half
8768     * a viewport". Sane usable values are, than, between @c 0.0 and @c
8769     * 1.0. Values beyond those will make it behave behave
8770     * inconsistently. If you only want one axis to snap to pages, use
8771     * the value @c 0.0 for the other one.
8772     *
8773     * There is a function setting page size values in @b absolute
8774     * values, too -- elm_gengrid_page_size_set(). Naturally, its use
8775     * is mutually exclusive to this one.
8776     *
8777     * @see elm_gengrid_page_relative_get()
8778     *
8779     * @ingroup Gengrid
8780     */
8781    EINA_DEPRECATED EAPI void               elm_gengrid_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
8782
8783    /**
8784     * Get a given gengrid widget's scrolling page size, relative to
8785     * its viewport size.
8786     *
8787     * @param obj The gengrid object
8788     * @param h_pagerel Pointer to a variable where to store the
8789     * horizontal page (relative) size
8790     * @param v_pagerel Pointer to a variable where to store the
8791     * vertical page (relative) size
8792     *
8793     * @see elm_gengrid_page_relative_set() for more details
8794     *
8795     * @ingroup Gengrid
8796     */
8797    EINA_DEPRECATED EAPI void               elm_gengrid_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel) EINA_ARG_NONNULL(1);
8798
8799    /**
8800     * Set a given gengrid widget's scrolling page size
8801     *
8802     * @param obj The gengrid object
8803     * @param h_pagerel The horizontal page size, in pixels
8804     * @param v_pagerel The vertical page size, in pixels
8805     *
8806     * The gengrid's scroller is capable of binding scrolling by the
8807     * user to "pages". It means that, while scrolling and, specially
8808     * after releasing the mouse button, the grid will @b snap to the
8809     * nearest displaying page's area. When page sizes are set, the
8810     * grid's continuous content area is split into (equal) page sized
8811     * pieces.
8812     *
8813     * This function sets the size of a page of the gengrid, in pixels,
8814     * for each axis. Sane usable values are, between @c 0 and the
8815     * dimensions of @p obj, for each axis. Values beyond those will
8816     * make it behave behave inconsistently. If you only want one axis
8817     * to snap to pages, use the value @c 0 for the other one.
8818     *
8819     * There is a function setting page size values in @b relative
8820     * values, too -- elm_gengrid_page_relative_set(). Naturally, its
8821     * use is mutually exclusive to this one.
8822     *
8823     * @ingroup Gengrid
8824     */
8825    EINA_DEPRECATED EAPI void               elm_gengrid_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
8826
8827    /**
8828     * @brief Get gengrid current page number.
8829     *
8830     * @param obj The gengrid object
8831     * @param h_pagenumber The horizontal page number
8832     * @param v_pagenumber The vertical page number
8833     *
8834     * The page number starts from 0. 0 is the first page.
8835     * Current page means the page which meet the top-left of the viewport.
8836     * If there are two or more pages in the viewport, it returns the number of page
8837     * which meet the top-left of the viewport.
8838     *
8839     * @see elm_gengrid_last_page_get()
8840     * @see elm_gengrid_page_show()
8841     * @see elm_gengrid_page_brint_in()
8842     */
8843    EINA_DEPRECATED EAPI void         elm_gengrid_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
8844
8845    /**
8846     * @brief Get scroll last page number.
8847     *
8848     * @param obj The gengrid object
8849     * @param h_pagenumber The horizontal page number
8850     * @param v_pagenumber The vertical page number
8851     *
8852     * The page number starts from 0. 0 is the first page.
8853     * This returns the last page number among the pages.
8854     *
8855     * @see elm_gengrid_current_page_get()
8856     * @see elm_gengrid_page_show()
8857     * @see elm_gengrid_page_brint_in()
8858     */
8859    EINA_DEPRECATED EAPI void         elm_gengrid_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
8860
8861    /**
8862     * Show a specific virtual region within the gengrid content object by page number.
8863     *
8864     * @param obj The gengrid object
8865     * @param h_pagenumber The horizontal page number
8866     * @param v_pagenumber The vertical page number
8867     *
8868     * 0, 0 of the indicated page is located at the top-left of the viewport.
8869     * This will jump to the page directly without animation.
8870     *
8871     * Example of usage:
8872     *
8873     * @code
8874     * sc = elm_gengrid_add(win);
8875     * elm_gengrid_content_set(sc, content);
8876     * elm_gengrid_page_relative_set(sc, 1, 0);
8877     * elm_gengrid_current_page_get(sc, &h_page, &v_page);
8878     * elm_gengrid_page_show(sc, h_page + 1, v_page);
8879     * @endcode
8880     *
8881     * @see elm_gengrid_page_bring_in()
8882     */
8883    EINA_DEPRECATED EAPI void         elm_gengrid_page_show(const Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
8884
8885    /**
8886     * Show a specific virtual region within the gengrid content object by page number.
8887     *
8888     * @param obj The gengrid object
8889     * @param h_pagenumber The horizontal page number
8890     * @param v_pagenumber The vertical page number
8891     *
8892     * 0, 0 of the indicated page is located at the top-left of the viewport.
8893     * This will slide to the page with animation.
8894     *
8895     * Example of usage:
8896     *
8897     * @code
8898     * sc = elm_gengrid_add(win);
8899     * elm_gengrid_content_set(sc, content);
8900     * elm_gengrid_page_relative_set(sc, 1, 0);
8901     * elm_gengrid_last_page_get(sc, &h_page, &v_page);
8902     * elm_gengrid_page_bring_in(sc, h_page, v_page);
8903     * @endcode
8904     *
8905     * @see elm_gengrid_page_show()
8906     */
8907     EINA_DEPRECATED EAPI void         elm_gengrid_page_bring_in(const Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
8908
8909    /**
8910     * Set the direction in which a given gengrid widget will expand while
8911     * placing its items.
8912     *
8913     * @param obj The gengrid object.
8914     * @param setting @c EINA_TRUE to make the gengrid expand
8915     * horizontally, @c EINA_FALSE to expand vertically.
8916     *
8917     * When in "horizontal mode" (@c EINA_TRUE), items will be placed
8918     * in @b columns, from top to bottom and, when the space for a
8919     * column is filled, another one is started on the right, thus
8920     * expanding the grid horizontally. When in "vertical mode"
8921     * (@c EINA_FALSE), though, items will be placed in @b rows, from left
8922     * to right and, when the space for a row is filled, another one is
8923     * started below, thus expanding the grid vertically.
8924     *
8925     * @see elm_gengrid_horizontal_get()
8926     *
8927     * @ingroup Gengrid
8928     */
8929    EAPI void               elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
8930
8931    /**
8932     * Get for what direction a given gengrid widget will expand while
8933     * placing its items.
8934     *
8935     * @param obj The gengrid object.
8936     * @return @c EINA_TRUE, if @p obj is set to expand horizontally,
8937     * @c EINA_FALSE if it's set to expand vertically.
8938     *
8939     * @see elm_gengrid_horizontal_set() for more detais
8940     *
8941     * @ingroup Gengrid
8942     */
8943    EAPI Eina_Bool          elm_gengrid_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8944
8945    /**
8946     * Get the first item in a given gengrid widget
8947     *
8948     * @param obj The gengrid object
8949     * @return The first item's handle or @c NULL, if there are no
8950     * items in @p obj (and on errors)
8951     *
8952     * This returns the first item in the @p obj's internal list of
8953     * items.
8954     *
8955     * @see elm_gengrid_last_item_get()
8956     *
8957     * @ingroup Gengrid
8958     */
8959    EINA_DEPRECATED EAPI Elm_Gengrid_Item  *elm_gengrid_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8960
8961    /**
8962     * Get the last item in a given gengrid widget
8963     *
8964     * @param obj The gengrid object
8965     * @return The last item's handle or @c NULL, if there are no
8966     * items in @p obj (and on errors)
8967     *
8968     * This returns the last item in the @p obj's internal list of
8969     * items.
8970     *
8971     * @see elm_gengrid_first_item_get()
8972     *
8973     * @ingroup Gengrid
8974     */
8975    EINA_DEPRECATED EAPI Elm_Gengrid_Item  *elm_gengrid_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8976
8977    /**
8978     * Get the @b next item in a gengrid widget's internal list of items,
8979     * given a handle to one of those items.
8980     *
8981     * @param item The gengrid item to fetch next from
8982     * @return The item after @p item, or @c NULL if there's none (and
8983     * on errors)
8984     *
8985     * This returns the item placed after the @p item, on the container
8986     * gengrid.
8987     *
8988     * @see elm_gengrid_item_prev_get()
8989     *
8990     * @ingroup Gengrid
8991     */
8992    EINA_DEPRECATED EAPI Elm_Gengrid_Item  *elm_gengrid_item_next_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8993
8994    /**
8995     * Get the @b previous item in a gengrid widget's internal list of items,
8996     * given a handle to one of those items.
8997     *
8998     * @param item The gengrid item to fetch previous from
8999     * @return The item before @p item, or @c NULL if there's none (and
9000     * on errors)
9001     *
9002     * This returns the item placed before the @p item, on the container
9003     * gengrid.
9004     *
9005     * @see elm_gengrid_item_next_get()
9006     *
9007     * @ingroup Gengrid
9008     */
9009    EINA_DEPRECATED EAPI Elm_Gengrid_Item  *elm_gengrid_item_prev_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9010
9011    /**
9012     * Get the gengrid object's handle which contains a given gengrid
9013     * item
9014     *
9015     * @param item The item to fetch the container from
9016     * @return The gengrid (parent) object
9017     *
9018     * This returns the gengrid object itself that an item belongs to.
9019     *
9020     * @ingroup Gengrid
9021     */
9022    EINA_DEPRECATED EAPI Evas_Object       *elm_gengrid_item_gengrid_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9023
9024    /**
9025     * Remove a gengrid item from its parent, deleting it.
9026     *
9027     * @param item The item to be removed.
9028     * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
9029     *
9030     * @see elm_gengrid_clear(), to remove all items in a gengrid at
9031     * once.
9032     *
9033     * @ingroup Gengrid
9034     */
9035    EAPI void               elm_gengrid_item_del(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9036
9037    /**
9038     * Update the contents of a given gengrid item
9039     *
9040     * @param item The gengrid item
9041     *
9042     * This updates an item by calling all the item class functions
9043     * again to get the contents, labels and states. Use this when the
9044     * original item data has changed and you want the changes to be
9045     * reflected.
9046     *
9047     * @ingroup Gengrid
9048     */
9049    EAPI void               elm_gengrid_item_update(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9050
9051    /**
9052     * Get the Gengrid Item class for the given Gengrid Item.
9053     *
9054     * @param item The gengrid item
9055     *
9056     * This returns the Gengrid_Item_Class for the given item. It can be used to examine
9057     * the function pointers and item_style.
9058     *
9059     * @ingroup Gengrid
9060     */
9061    EAPI const Elm_Gengrid_Item_Class *elm_gengrid_item_item_class_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9062
9063    /**
9064     * Get the Gengrid Item class for the given Gengrid Item.
9065     *
9066     * This sets the Gengrid_Item_Class for the given item. It can be used to examine
9067     * the function pointers and item_style.
9068     *
9069     * @param item The gengrid item
9070     * @param gic The gengrid item class describing the function pointers and the item style.
9071     *
9072     * @ingroup Gengrid
9073     */
9074    EAPI void               elm_gengrid_item_item_class_set(Elm_Gengrid_Item *item, const Elm_Gengrid_Item_Class *gic) EINA_ARG_NONNULL(1, 2);
9075
9076    /**
9077     * Return the data associated to a given gengrid item
9078     *
9079     * @param item The gengrid item.
9080     * @return the data associated with this item.
9081     *
9082     * This returns the @c data value passed on the
9083     * elm_gengrid_item_append() and related item addition calls.
9084     *
9085     * @see elm_gengrid_item_append()
9086     * @see elm_gengrid_item_data_set()
9087     *
9088     * @ingroup Gengrid
9089     */
9090    EAPI void              *elm_gengrid_item_data_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9091
9092    /**
9093     * Set the data associated with a given gengrid item
9094     *
9095     * @param item The gengrid item
9096     * @param data The data pointer to set on it
9097     *
9098     * This @b overrides the @c data value passed on the
9099     * elm_gengrid_item_append() and related item addition calls. This
9100     * function @b won't call elm_gengrid_item_update() automatically,
9101     * so you'd issue it afterwards if you want to have the item
9102     * updated to reflect the new data.
9103     *
9104     * @see elm_gengrid_item_data_get()
9105     * @see elm_gengrid_item_update()
9106     *
9107     * @ingroup Gengrid
9108     */
9109    EAPI void               elm_gengrid_item_data_set(Elm_Gengrid_Item *item, const void *data) EINA_ARG_NONNULL(1);
9110
9111    /**
9112     * Get a given gengrid item's position, relative to the whole
9113     * gengrid's grid area.
9114     *
9115     * @param item The Gengrid item.
9116     * @param x Pointer to variable to store the item's <b>row number</b>.
9117     * @param y Pointer to variable to store the item's <b>column number</b>.
9118     *
9119     * This returns the "logical" position of the item within the
9120     * gengrid. For example, @c (0, 1) would stand for first row,
9121     * second column.
9122     *
9123     * @ingroup Gengrid
9124     */
9125    EAPI void               elm_gengrid_item_pos_get(const Elm_Gengrid_Item *item, unsigned int *x, unsigned int *y) EINA_ARG_NONNULL(1);
9126
9127    /**
9128     * Set whether a given gengrid item is selected or not
9129     *
9130     * @param item The gengrid item
9131     * @param selected Use @c EINA_TRUE, to make it selected, @c
9132     * EINA_FALSE to make it unselected
9133     *
9134     * This sets the selected state of an item. If multi-selection is
9135     * not enabled on the containing gengrid and @p selected is @c
9136     * EINA_TRUE, any other previously selected items will get
9137     * unselected in favor of this new one.
9138     *
9139     * @see elm_gengrid_item_selected_get()
9140     *
9141     * @ingroup Gengrid
9142     */
9143    EINA_DEPRECATED EAPI void elm_gengrid_item_selected_set(Elm_Gengrid_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
9144
9145    /**
9146     * Get whether a given gengrid item is selected or not
9147     *
9148     * @param item The gengrid item
9149     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
9150     *
9151     * This API returns EINA_TRUE for all the items selected in multi-select mode as well.
9152     *
9153     * @see elm_gengrid_item_selected_set() for more details
9154     *
9155     * @ingroup Gengrid
9156     */
9157    EINA_DEPRECATED EAPI Eina_Bool elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9158
9159    /**
9160     * Get the real Evas object created to implement the view of a
9161     * given gengrid item
9162     *
9163     * @param item The gengrid item.
9164     * @return the Evas object implementing this item's view.
9165     *
9166     * This returns the actual Evas object used to implement the
9167     * specified gengrid item's view. This may be @c NULL, as it may
9168     * not have been created or may have been deleted, at any time, by
9169     * the gengrid. <b>Do not modify this object</b> (move, resize,
9170     * show, hide, etc.), as the gengrid is controlling it. This
9171     * function is for querying, emitting custom signals or hooking
9172     * lower level callbacks for events on that object. Do not delete
9173     * this object under any circumstances.
9174     *
9175     * @see elm_gengrid_item_data_get()
9176     *
9177     * @ingroup Gengrid
9178     */
9179    EAPI const Evas_Object *elm_gengrid_item_object_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9180
9181    /**
9182     * Show the portion of a gengrid's internal grid containing a given
9183     * item, @b immediately.
9184     *
9185     * @param item The item to display
9186     *
9187     * This causes gengrid to @b redraw its viewport's contents to the
9188     * region contining the given @p item item, if it is not fully
9189     * visible.
9190     *
9191     * @see elm_gengrid_item_bring_in()
9192     *
9193     * @ingroup Gengrid
9194     */
9195    EAPI void               elm_gengrid_item_show(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9196
9197    /**
9198     * Animatedly bring in, to the visible area of a gengrid, a given
9199     * item on it.
9200     *
9201     * @param item The gengrid item to display
9202     *
9203     * This causes gengrid to jump to the given @p item and show
9204     * it (by scrolling), if it is not fully visible. This will use
9205     * animation to do so and take a period of time to complete.
9206     *
9207     * @see elm_gengrid_item_show()
9208     *
9209     * @ingroup Gengrid
9210     */
9211    EAPI void               elm_gengrid_item_bring_in(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9212
9213    /**
9214     * Set whether a given gengrid item is disabled or not.
9215     *
9216     * @param item The gengrid item
9217     * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
9218     * to enable it back.
9219     *
9220     * A disabled item cannot be selected or unselected. It will also
9221     * change its appearance, to signal the user it's disabled.
9222     *
9223     * @see elm_gengrid_item_disabled_get()
9224     *
9225     * @ingroup Gengrid
9226     */
9227    EAPI void               elm_gengrid_item_disabled_set(Elm_Gengrid_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
9228
9229    /**
9230     * Get whether a given gengrid item is disabled or not.
9231     *
9232     * @param item The gengrid item
9233     * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
9234     * (and on errors).
9235     *
9236     * @see elm_gengrid_item_disabled_set() for more details
9237     *
9238     * @ingroup Gengrid
9239     */
9240    EAPI Eina_Bool          elm_gengrid_item_disabled_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9241
9242    /**
9243     * Set the text to be shown in a given gengrid item's tooltips.
9244     *
9245     * @param item The gengrid item
9246     * @param text The text to set in the content
9247     *
9248     * This call will setup the text to be used as tooltip to that item
9249     * (analogous to elm_object_tooltip_text_set(), but being item
9250     * tooltips with higher precedence than object tooltips). It can
9251     * have only one tooltip at a time, so any previous tooltip data
9252     * will get removed.
9253     *
9254     * @ingroup Gengrid
9255     */
9256    EAPI void               elm_gengrid_item_tooltip_text_set(Elm_Gengrid_Item *item, const char *text) EINA_ARG_NONNULL(1);
9257
9258    /**
9259     * Set the content to be shown in a given gengrid item's tooltip
9260     *
9261     * @param item The gengrid item.
9262     * @param func The function returning the tooltip contents.
9263     * @param data What to provide to @a func as callback data/context.
9264     * @param del_cb Called when data is not needed anymore, either when
9265     *        another callback replaces @p func, the tooltip is unset with
9266     *        elm_gengrid_item_tooltip_unset() or the owner @p item
9267     *        dies. This callback receives as its first parameter the
9268     *        given @p data, being @c event_info the item handle.
9269     *
9270     * This call will setup the tooltip's contents to @p item
9271     * (analogous to elm_object_tooltip_content_cb_set(), but being
9272     * item tooltips with higher precedence than object tooltips). It
9273     * can have only one tooltip at a time, so any previous tooltip
9274     * content will get removed. @p func (with @p data) will be called
9275     * every time Elementary needs to show the tooltip and it should
9276     * return a valid Evas object, which will be fully managed by the
9277     * tooltip system, getting deleted when the tooltip is gone.
9278     *
9279     * @ingroup Gengrid
9280     */
9281    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);
9282
9283    /**
9284     * Unset a tooltip from a given gengrid item
9285     *
9286     * @param item gengrid item to remove a previously set tooltip from.
9287     *
9288     * This call removes any tooltip set on @p item. The callback
9289     * provided as @c del_cb to
9290     * elm_gengrid_item_tooltip_content_cb_set() will be called to
9291     * notify it is not used anymore (and have resources cleaned, if
9292     * need be).
9293     *
9294     * @see elm_gengrid_item_tooltip_content_cb_set()
9295     *
9296     * @ingroup Gengrid
9297     */
9298    EAPI void               elm_gengrid_item_tooltip_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9299
9300    /**
9301     * Set a different @b style for a given gengrid item's tooltip.
9302     *
9303     * @param item gengrid item with tooltip set
9304     * @param style the <b>theme style</b> to use on tooltips (e.g. @c
9305     * "default", @c "transparent", etc)
9306     *
9307     * Tooltips can have <b>alternate styles</b> to be displayed on,
9308     * which are defined by the theme set on Elementary. This function
9309     * works analogously as elm_object_tooltip_style_set(), but here
9310     * applied only to gengrid item objects. The default style for
9311     * tooltips is @c "default".
9312     *
9313     * @note before you set a style you should define a tooltip with
9314     *       elm_gengrid_item_tooltip_content_cb_set() or
9315     *       elm_gengrid_item_tooltip_text_set()
9316     *
9317     * @see elm_gengrid_item_tooltip_style_get()
9318     *
9319     * @ingroup Gengrid
9320     */
9321    EAPI void               elm_gengrid_item_tooltip_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
9322
9323    /**
9324     * Get the style set a given gengrid item's tooltip.
9325     *
9326     * @param item gengrid item with tooltip already set on.
9327     * @return style the theme style in use, which defaults to
9328     *         "default". If the object does not have a tooltip set,
9329     *         then @c NULL is returned.
9330     *
9331     * @see elm_gengrid_item_tooltip_style_set() for more details
9332     *
9333     * @ingroup Gengrid
9334     */
9335    EAPI const char        *elm_gengrid_item_tooltip_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9336    /**
9337     * @brief Disable size restrictions on an object's tooltip
9338     * @param item The tooltip's anchor object
9339     * @param disable If EINA_TRUE, size restrictions are disabled
9340     * @return EINA_FALSE on failure, EINA_TRUE on success
9341     *
9342     * This function allows a tooltip to expand beyond its parant window's canvas.
9343     * It will instead be limited only by the size of the display.
9344     */
9345    EAPI Eina_Bool          elm_gengrid_item_tooltip_size_restrict_disable(Elm_Gengrid_Item *item, Eina_Bool disable);
9346    /**
9347     * @brief Retrieve size restriction state of an object's tooltip
9348     * @param item The tooltip's anchor object
9349     * @return If EINA_TRUE, size restrictions are disabled
9350     *
9351     * This function returns whether a tooltip is allowed to expand beyond
9352     * its parant window's canvas.
9353     * It will instead be limited only by the size of the display.
9354     */
9355    EAPI Eina_Bool          elm_gengrid_item_tooltip_size_restrict_disabled_get(const Elm_Gengrid_Item *item);
9356    /**
9357     * Set the type of mouse pointer/cursor decoration to be shown,
9358     * when the mouse pointer is over the given gengrid widget item
9359     *
9360     * @param item gengrid item to customize cursor on
9361     * @param cursor the cursor type's name
9362     *
9363     * This function works analogously as elm_object_cursor_set(), but
9364     * here the cursor's changing area is restricted to the item's
9365     * area, and not the whole widget's. Note that that item cursors
9366     * have precedence over widget cursors, so that a mouse over @p
9367     * item will always show cursor @p type.
9368     *
9369     * If this function is called twice for an object, a previously set
9370     * cursor will be unset on the second call.
9371     *
9372     * @see elm_object_cursor_set()
9373     * @see elm_gengrid_item_cursor_get()
9374     * @see elm_gengrid_item_cursor_unset()
9375     *
9376     * @ingroup Gengrid
9377     */
9378    EAPI void               elm_gengrid_item_cursor_set(Elm_Gengrid_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
9379
9380    /**
9381     * Get the type of mouse pointer/cursor decoration set to be shown,
9382     * when the mouse pointer is over the given gengrid widget item
9383     *
9384     * @param item gengrid item with custom cursor set
9385     * @return the cursor type's name or @c NULL, if no custom cursors
9386     * were set to @p item (and on errors)
9387     *
9388     * @see elm_object_cursor_get()
9389     * @see elm_gengrid_item_cursor_set() for more details
9390     * @see elm_gengrid_item_cursor_unset()
9391     *
9392     * @ingroup Gengrid
9393     */
9394    EAPI const char        *elm_gengrid_item_cursor_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9395
9396    /**
9397     * Unset any custom mouse pointer/cursor decoration set to be
9398     * shown, when the mouse pointer is over the given gengrid widget
9399     * item, thus making it show the @b default cursor again.
9400     *
9401     * @param item a gengrid item
9402     *
9403     * Use this call to undo any custom settings on this item's cursor
9404     * decoration, bringing it back to defaults (no custom style set).
9405     *
9406     * @see elm_object_cursor_unset()
9407     * @see elm_gengrid_item_cursor_set() for more details
9408     *
9409     * @ingroup Gengrid
9410     */
9411    EAPI void               elm_gengrid_item_cursor_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9412
9413    /**
9414     * Set a different @b style for a given custom cursor set for a
9415     * gengrid item.
9416     *
9417     * @param item gengrid item with custom cursor set
9418     * @param style the <b>theme style</b> to use (e.g. @c "default",
9419     * @c "transparent", etc)
9420     *
9421     * This function only makes sense when one is using custom mouse
9422     * cursor decorations <b>defined in a theme file</b> , which can
9423     * have, given a cursor name/type, <b>alternate styles</b> on
9424     * it. It works analogously as elm_object_cursor_style_set(), but
9425     * here applied only to gengrid item objects.
9426     *
9427     * @warning Before you set a cursor style you should have defined a
9428     *       custom cursor previously on the item, with
9429     *       elm_gengrid_item_cursor_set()
9430     *
9431     * @see elm_gengrid_item_cursor_engine_only_set()
9432     * @see elm_gengrid_item_cursor_style_get()
9433     *
9434     * @ingroup Gengrid
9435     */
9436    EAPI void               elm_gengrid_item_cursor_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
9437
9438    /**
9439     * Get the current @b style set for a given gengrid item's custom
9440     * cursor
9441     *
9442     * @param item gengrid item with custom cursor set.
9443     * @return style the cursor style in use. If the object does not
9444     *         have a cursor set, then @c NULL is returned.
9445     *
9446     * @see elm_gengrid_item_cursor_style_set() for more details
9447     *
9448     * @ingroup Gengrid
9449     */
9450    EAPI const char        *elm_gengrid_item_cursor_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9451
9452    /**
9453     * Set if the (custom) cursor for a given gengrid item should be
9454     * searched in its theme, also, or should only rely on the
9455     * rendering engine.
9456     *
9457     * @param item item with custom (custom) cursor already set on
9458     * @param engine_only Use @c EINA_TRUE to have cursors looked for
9459     * only on those provided by the rendering engine, @c EINA_FALSE to
9460     * have them searched on the widget's theme, as well.
9461     *
9462     * @note This call is of use only if you've set a custom cursor
9463     * for gengrid items, with elm_gengrid_item_cursor_set().
9464     *
9465     * @note By default, cursors will only be looked for between those
9466     * provided by the rendering engine.
9467     *
9468     * @ingroup Gengrid
9469     */
9470    EAPI void               elm_gengrid_item_cursor_engine_only_set(Elm_Gengrid_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
9471
9472    /**
9473     * Get if the (custom) cursor for a given gengrid item is being
9474     * searched in its theme, also, or is only relying on the rendering
9475     * engine.
9476     *
9477     * @param item a gengrid item
9478     * @return @c EINA_TRUE, if cursors are being looked for only on
9479     * those provided by the rendering engine, @c EINA_FALSE if they
9480     * are being searched on the widget's theme, as well.
9481     *
9482     * @see elm_gengrid_item_cursor_engine_only_set(), for more details
9483     *
9484     * @ingroup Gengrid
9485     */
9486    EAPI Eina_Bool          elm_gengrid_item_cursor_engine_only_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9487
9488    /**
9489     * Remove all items from a given gengrid widget
9490     *
9491     * @param obj The gengrid object.
9492     *
9493     * This removes (and deletes) all items in @p obj, leaving it
9494     * empty.
9495     *
9496     * @see elm_gengrid_item_del(), to remove just one item.
9497     *
9498     * @ingroup Gengrid
9499     */
9500    EINA_DEPRECATED EAPI void elm_gengrid_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
9501
9502    /**
9503     * Get the selected item in a given gengrid widget
9504     *
9505     * @param obj The gengrid object.
9506     * @return The selected item's handleor @c NULL, if none is
9507     * selected at the moment (and on errors)
9508     *
9509     * This returns the selected item in @p obj. If multi selection is
9510     * enabled on @p obj (@see elm_gengrid_multi_select_set()), only
9511     * the first item in the list is selected, which might not be very
9512     * useful. For that case, see elm_gengrid_selected_items_get().
9513     *
9514     * @ingroup Gengrid
9515     */
9516    EAPI Elm_Gengrid_Item  *elm_gengrid_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9517
9518    /**
9519     * Get <b>a list</b> of selected items in a given gengrid
9520     *
9521     * @param obj The gengrid object.
9522     * @return The list of selected items or @c NULL, if none is
9523     * selected at the moment (and on errors)
9524     *
9525     * This returns a list of the selected items, in the order that
9526     * they appear in the grid. This list is only valid as long as no
9527     * more items are selected or unselected (or unselected implictly
9528     * by deletion). The list contains #Elm_Gengrid_Item pointers as
9529     * data, naturally.
9530     *
9531     * @see elm_gengrid_selected_item_get()
9532     *
9533     * @ingroup Gengrid
9534     */
9535    EAPI const Eina_List   *elm_gengrid_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9536
9537    /**
9538     * @}
9539     */
9540
9541    /**
9542     * @defgroup Clock Clock
9543     *
9544     * @image html img/widget/clock/preview-00.png
9545     * @image latex img/widget/clock/preview-00.eps
9546     *
9547     * This is a @b digital clock widget. In its default theme, it has a
9548     * vintage "flipping numbers clock" appearance, which will animate
9549     * sheets of individual algarisms individually as time goes by.
9550     *
9551     * A newly created clock will fetch system's time (already
9552     * considering local time adjustments) to start with, and will tick
9553     * accondingly. It may or may not show seconds.
9554     *
9555     * Clocks have an @b edition mode. When in it, the sheets will
9556     * display extra arrow indications on the top and bottom and the
9557     * user may click on them to raise or lower the time values. After
9558     * it's told to exit edition mode, it will keep ticking with that
9559     * new time set (it keeps the difference from local time).
9560     *
9561     * Also, when under edition mode, user clicks on the cited arrows
9562     * which are @b held for some time will make the clock to flip the
9563     * sheet, thus editing the time, continuosly and automatically for
9564     * the user. The interval between sheet flips will keep growing in
9565     * time, so that it helps the user to reach a time which is distant
9566     * from the one set.
9567     *
9568     * The time display is, by default, in military mode (24h), but an
9569     * am/pm indicator may be optionally shown, too, when it will
9570     * switch to 12h.
9571     *
9572     * Smart callbacks one can register to:
9573     * - "changed" - the clock's user changed the time
9574     *
9575     * Here is an example on its usage:
9576     * @li @ref clock_example
9577     */
9578
9579    /**
9580     * @addtogroup Clock
9581     * @{
9582     */
9583
9584    /**
9585     * Identifiers for which clock digits should be editable, when a
9586     * clock widget is in edition mode. Values may be ORed together to
9587     * make a mask, naturally.
9588     *
9589     * @see elm_clock_edit_set()
9590     * @see elm_clock_digit_edit_set()
9591     */
9592    typedef enum _Elm_Clock_Digedit
9593      {
9594         ELM_CLOCK_NONE         = 0, /**< Default value. Means that all digits are editable, when in edition mode. */
9595         ELM_CLOCK_HOUR_DECIMAL = 1 << 0, /**< Decimal algarism of hours value should be editable */
9596         ELM_CLOCK_HOUR_UNIT    = 1 << 1, /**< Unit algarism of hours value should be editable */
9597         ELM_CLOCK_MIN_DECIMAL  = 1 << 2, /**< Decimal algarism of minutes value should be editable */
9598         ELM_CLOCK_MIN_UNIT     = 1 << 3, /**< Unit algarism of minutes value should be editable */
9599         ELM_CLOCK_SEC_DECIMAL  = 1 << 4, /**< Decimal algarism of seconds value should be editable */
9600         ELM_CLOCK_SEC_UNIT     = 1 << 5, /**< Unit algarism of seconds value should be editable */
9601         ELM_CLOCK_ALL          = (1 << 6) - 1 /**< All digits should be editable */
9602      } Elm_Clock_Digedit;
9603
9604    /**
9605     * Add a new clock widget to the given parent Elementary
9606     * (container) object
9607     *
9608     * @param parent The parent object
9609     * @return a new clock widget handle or @c NULL, on errors
9610     *
9611     * This function inserts a new clock widget on the canvas.
9612     *
9613     * @ingroup Clock
9614     */
9615    EAPI Evas_Object      *elm_clock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9616
9617    /**
9618     * Set a clock widget's time, programmatically
9619     *
9620     * @param obj The clock widget object
9621     * @param hrs The hours to set
9622     * @param min The minutes to set
9623     * @param sec The secondes to set
9624     *
9625     * This function updates the time that is showed by the clock
9626     * widget.
9627     *
9628     *  Values @b must be set within the following ranges:
9629     * - 0 - 23, for hours
9630     * - 0 - 59, for minutes
9631     * - 0 - 59, for seconds,
9632     *
9633     * even if the clock is not in "military" mode.
9634     *
9635     * @warning The behavior for values set out of those ranges is @b
9636     * undefined.
9637     *
9638     * @ingroup Clock
9639     */
9640    EAPI void              elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec) EINA_ARG_NONNULL(1);
9641
9642    /**
9643     * Get a clock widget's time values
9644     *
9645     * @param obj The clock object
9646     * @param[out] hrs Pointer to the variable to get the hours value
9647     * @param[out] min Pointer to the variable to get the minutes value
9648     * @param[out] sec Pointer to the variable to get the seconds value
9649     *
9650     * This function gets the time set for @p obj, returning
9651     * it on the variables passed as the arguments to function
9652     *
9653     * @note Use @c NULL pointers on the time values you're not
9654     * interested in: they'll be ignored by the function.
9655     *
9656     * @ingroup Clock
9657     */
9658    EAPI void              elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec) EINA_ARG_NONNULL(1);
9659
9660    /**
9661     * Set whether a given clock widget is under <b>edition mode</b> or
9662     * under (default) displaying-only mode.
9663     *
9664     * @param obj The clock object
9665     * @param edit @c EINA_TRUE to put it in edition, @c EINA_FALSE to
9666     * put it back to "displaying only" mode
9667     *
9668     * This function makes a clock's time to be editable or not <b>by
9669     * user interaction</b>. When in edition mode, clocks @b stop
9670     * ticking, until one brings them back to canonical mode. The
9671     * elm_clock_digit_edit_set() function will influence which digits
9672     * of the clock will be editable. By default, all of them will be
9673     * (#ELM_CLOCK_NONE).
9674     *
9675     * @note am/pm sheets, if being shown, will @b always be editable
9676     * under edition mode.
9677     *
9678     * @see elm_clock_edit_get()
9679     *
9680     * @ingroup Clock
9681     */
9682    EAPI void              elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
9683
9684    /**
9685     * Retrieve whether a given clock widget is under <b>edition
9686     * mode</b> or under (default) displaying-only mode.
9687     *
9688     * @param obj The clock object
9689     * @param edit @c EINA_TRUE, if it's in edition mode, @c EINA_FALSE
9690     * otherwise
9691     *
9692     * This function retrieves whether the clock's time can be edited
9693     * or not by user interaction.
9694     *
9695     * @see elm_clock_edit_set() for more details
9696     *
9697     * @ingroup Clock
9698     */
9699    EAPI Eina_Bool         elm_clock_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9700
9701    /**
9702     * Set what digits of the given clock widget should be editable
9703     * when in edition mode.
9704     *
9705     * @param obj The clock object
9706     * @param digedit Bit mask indicating the digits to be editable
9707     * (values in #Elm_Clock_Digedit).
9708     *
9709     * If the @p digedit param is #ELM_CLOCK_NONE, editing will be
9710     * disabled on @p obj (same effect as elm_clock_edit_set(), with @c
9711     * EINA_FALSE).
9712     *
9713     * @see elm_clock_digit_edit_get()
9714     *
9715     * @ingroup Clock
9716     */
9717    EAPI void              elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit) EINA_ARG_NONNULL(1);
9718
9719    /**
9720     * Retrieve what digits of the given clock widget should be
9721     * editable when in edition mode.
9722     *
9723     * @param obj The clock object
9724     * @return Bit mask indicating the digits to be editable
9725     * (values in #Elm_Clock_Digedit).
9726     *
9727     * @see elm_clock_digit_edit_set() for more details
9728     *
9729     * @ingroup Clock
9730     */
9731    EAPI Elm_Clock_Digedit elm_clock_digit_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9732
9733    /**
9734     * Set if the given clock widget must show hours in military or
9735     * am/pm mode
9736     *
9737     * @param obj The clock object
9738     * @param am_pm @c EINA_TRUE to put it in am/pm mode, @c EINA_FALSE
9739     * to military mode
9740     *
9741     * This function sets if the clock must show hours in military or
9742     * am/pm mode. In some countries like Brazil the military mode
9743     * (00-24h-format) is used, in opposition to the USA, where the
9744     * am/pm mode is more commonly used.
9745     *
9746     * @see elm_clock_show_am_pm_get()
9747     *
9748     * @ingroup Clock
9749     */
9750    EAPI void              elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm) EINA_ARG_NONNULL(1);
9751
9752    /**
9753     * Get if the given clock widget shows hours in military or am/pm
9754     * mode
9755     *
9756     * @param obj The clock object
9757     * @return @c EINA_TRUE, if in am/pm mode, @c EINA_FALSE if in
9758     * military
9759     *
9760     * This function gets if the clock shows hours in military or am/pm
9761     * mode.
9762     *
9763     * @see elm_clock_show_am_pm_set() for more details
9764     *
9765     * @ingroup Clock
9766     */
9767    EAPI Eina_Bool         elm_clock_show_am_pm_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9768
9769    /**
9770     * Set if the given clock widget must show time with seconds or not
9771     *
9772     * @param obj The clock object
9773     * @param seconds @c EINA_TRUE to show seconds, @c EINA_FALSE otherwise
9774     *
9775     * This function sets if the given clock must show or not elapsed
9776     * seconds. By default, they are @b not shown.
9777     *
9778     * @see elm_clock_show_seconds_get()
9779     *
9780     * @ingroup Clock
9781     */
9782    EAPI void              elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds) EINA_ARG_NONNULL(1);
9783
9784    /**
9785     * Get whether the given clock widget is showing time with seconds
9786     * or not
9787     *
9788     * @param obj The clock object
9789     * @return @c EINA_TRUE if it's showing seconds, @c EINA_FALSE otherwise
9790     *
9791     * This function gets whether @p obj is showing or not the elapsed
9792     * seconds.
9793     *
9794     * @see elm_clock_show_seconds_set()
9795     *
9796     * @ingroup Clock
9797     */
9798    EAPI Eina_Bool         elm_clock_show_seconds_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9799
9800    /**
9801     * Set the interval on time updates for an user mouse button hold
9802     * on clock widgets' time edition.
9803     *
9804     * @param obj The clock object
9805     * @param interval The (first) interval value in seconds
9806     *
9807     * This interval value is @b decreased while the user holds the
9808     * mouse pointer either incrementing or decrementing a given the
9809     * clock digit's value.
9810     *
9811     * This helps the user to get to a given time distant from the
9812     * current one easier/faster, as it will start to flip quicker and
9813     * quicker on mouse button holds.
9814     *
9815     * The calculation for the next flip interval value, starting from
9816     * the one set with this call, is the previous interval divided by
9817     * 1.05, so it decreases a little bit.
9818     *
9819     * The default starting interval value for automatic flips is
9820     * @b 0.85 seconds.
9821     *
9822     * @see elm_clock_interval_get()
9823     *
9824     * @ingroup Clock
9825     */
9826    EAPI void              elm_clock_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
9827
9828    /**
9829     * Get the interval on time updates for an user mouse button hold
9830     * on clock widgets' time edition.
9831     *
9832     * @param obj The clock object
9833     * @return The (first) interval value, in seconds, set on it
9834     *
9835     * @see elm_clock_interval_set() for more details
9836     *
9837     * @ingroup Clock
9838     */
9839    EAPI double            elm_clock_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9840
9841    /**
9842     * @}
9843     */
9844
9845    /**
9846     * @defgroup Layout Layout
9847     *
9848     * @image html img/widget/layout/preview-00.png
9849     * @image latex img/widget/layout/preview-00.eps width=\textwidth
9850     *
9851     * @image html img/layout-predefined.png
9852     * @image latex img/layout-predefined.eps width=\textwidth
9853     *
9854     * This is a container widget that takes a standard Edje design file and
9855     * wraps it very thinly in a widget.
9856     *
9857     * An Edje design (theme) file has a very wide range of possibilities to
9858     * describe the behavior of elements added to the Layout. Check out the Edje
9859     * documentation and the EDC reference to get more information about what can
9860     * be done with Edje.
9861     *
9862     * Just like @ref List, @ref Box, and other container widgets, any
9863     * object added to the Layout will become its child, meaning that it will be
9864     * deleted if the Layout is deleted, move if the Layout is moved, and so on.
9865     *
9866     * The Layout widget can contain as many Contents, Boxes or Tables as
9867     * described in its theme file. For instance, objects can be added to
9868     * different Tables by specifying the respective Table part names. The same
9869     * is valid for Content and Box.
9870     *
9871     * The objects added as child of the Layout will behave as described in the
9872     * part description where they were added. There are 3 possible types of
9873     * parts where a child can be added:
9874     *
9875     * @section secContent Content (SWALLOW part)
9876     *
9877     * Only one object can be added to the @c SWALLOW part (but you still can
9878     * have many @c SWALLOW parts and one object on each of them). Use the @c
9879     * elm_object_content_set/get/unset functions to set, retrieve and unset 
9880     * objects as content of the @c SWALLOW. After being set to this part, the 
9881     * object size, position, visibility, clipping and other description 
9882     * properties will be totally controlled by the description of the given part
9883     * (inside the Edje theme file).
9884     *
9885     * One can use @c evas_object_size_hint_* functions on the child to have some
9886     * kind of control over its behavior, but the resulting behavior will still
9887     * depend heavily on the @c SWALLOW part description.
9888     *
9889     * The Edje theme also can change the part description, based on signals or
9890     * scripts running inside the theme. This change can also be animated. All of
9891     * this will affect the child object set as content accordingly. The object
9892     * size will be changed if the part size is changed, it will animate move if
9893     * the part is moving, and so on.
9894     *
9895     * The following picture demonstrates a Layout widget with a child object
9896     * added to its @c SWALLOW:
9897     *
9898     * @image html layout_swallow.png
9899     * @image latex layout_swallow.eps width=\textwidth
9900     *
9901     * @section secBox Box (BOX part)
9902     *
9903     * An Edje @c BOX part is very similar to the Elementary @ref Box widget. It
9904     * allows one to add objects to the box and have them distributed along its
9905     * area, accordingly to the specified @a layout property (now by @a layout we
9906     * mean the chosen layouting design of the Box, not the Layout widget
9907     * itself).
9908     *
9909     * A similar effect for having a box with its position, size and other things
9910     * controlled by the Layout theme would be to create an Elementary @ref Box
9911     * widget and add it as a Content in the @c SWALLOW part.
9912     *
9913     * The main difference of using the Layout Box is that its behavior, the box
9914     * properties like layouting format, padding, align, etc. will be all
9915     * controlled by the theme. This means, for example, that a signal could be
9916     * sent to the Layout theme (with elm_object_signal_emit()) and the theme
9917     * handled the signal by changing the box padding, or align, or both. Using
9918     * the Elementary @ref Box widget is not necessarily harder or easier, it
9919     * just depends on the circunstances and requirements.
9920     *
9921     * The Layout Box can be used through the @c elm_layout_box_* set of
9922     * functions.
9923     *
9924     * The following picture demonstrates a Layout widget with many child objects
9925     * added to its @c BOX part:
9926     *
9927     * @image html layout_box.png
9928     * @image latex layout_box.eps width=\textwidth
9929     *
9930     * @section secTable Table (TABLE part)
9931     *
9932     * Just like the @ref secBox, the Layout Table is very similar to the
9933     * Elementary @ref Table widget. It allows one to add objects to the Table
9934     * specifying the row and column where the object should be added, and any
9935     * column or row span if necessary.
9936     *
9937     * Again, we could have this design by adding a @ref Table widget to the @c
9938     * SWALLOW part using elm_object_part_content_set(). The same difference happens
9939     * here when choosing to use the Layout Table (a @c TABLE part) instead of
9940     * the @ref Table plus @c SWALLOW part. It's just a matter of convenience.
9941     *
9942     * The Layout Table can be used through the @c elm_layout_table_* set of
9943     * functions.
9944     *
9945     * The following picture demonstrates a Layout widget with many child objects
9946     * added to its @c TABLE part:
9947     *
9948     * @image html layout_table.png
9949     * @image latex layout_table.eps width=\textwidth
9950     *
9951     * @section secPredef Predefined Layouts
9952     *
9953     * Another interesting thing about the Layout widget is that it offers some
9954     * predefined themes that come with the default Elementary theme. These
9955     * themes can be set by the call elm_layout_theme_set(), and provide some
9956     * basic functionality depending on the theme used.
9957     *
9958     * Most of them already send some signals, some already provide a toolbar or
9959     * back and next buttons.
9960     *
9961     * These are available predefined theme layouts. All of them have class = @c
9962     * layout, group = @c application, and style = one of the following options:
9963     *
9964     * @li @c toolbar-content - application with toolbar and main content area
9965     * @li @c toolbar-content-back - application with toolbar and main content
9966     * area with a back button and title area
9967     * @li @c toolbar-content-back-next - application with toolbar and main
9968     * content area with a back and next buttons and title area
9969     * @li @c content-back - application with a main content area with a back
9970     * button and title area
9971     * @li @c content-back-next - application with a main content area with a
9972     * back and next buttons and title area
9973     * @li @c toolbar-vbox - application with toolbar and main content area as a
9974     * vertical box
9975     * @li @c toolbar-table - application with toolbar and main content area as a
9976     * table
9977     *
9978     * @section secExamples Examples
9979     *
9980     * Some examples of the Layout widget can be found here:
9981     * @li @ref layout_example_01
9982     * @li @ref layout_example_02
9983     * @li @ref layout_example_03
9984     * @li @ref layout_example_edc
9985     *
9986     */
9987
9988    /**
9989     * Add a new layout to the parent
9990     *
9991     * @param parent The parent object
9992     * @return The new object or NULL if it cannot be created
9993     *
9994     * @see elm_layout_file_set()
9995     * @see elm_layout_theme_set()
9996     *
9997     * @ingroup Layout
9998     */
9999    EAPI Evas_Object       *elm_layout_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10000    /**
10001     * Set the file that will be used as layout
10002     *
10003     * @param obj The layout object
10004     * @param file The path to file (edj) that will be used as layout
10005     * @param group The group that the layout belongs in edje file
10006     *
10007     * @return (1 = success, 0 = error)
10008     *
10009     * @ingroup Layout
10010     */
10011    EAPI Eina_Bool          elm_layout_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
10012    /**
10013     * Set the edje group from the elementary theme that will be used as layout
10014     *
10015     * @param obj The layout object
10016     * @param clas the clas of the group
10017     * @param group the group
10018     * @param style the style to used
10019     *
10020     * @return (1 = success, 0 = error)
10021     *
10022     * @ingroup Layout
10023     */
10024    EAPI Eina_Bool          elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style) EINA_ARG_NONNULL(1);
10025    /**
10026     * Set the layout content.
10027     *
10028     * @param obj The layout object
10029     * @param swallow The swallow part name in the edje file
10030     * @param content The child that will be added in this layout object
10031     *
10032     * Once the content object is set, a previously set one will be deleted.
10033     * If you want to keep that old content object, use the
10034     * elm_object_part_content_unset() function.
10035     *
10036     * @note In an Edje theme, the part used as a content container is called @c
10037     * SWALLOW. This is why the parameter name is called @p swallow, but it is
10038     * expected to be a part name just like the second parameter of
10039     * elm_layout_box_append().
10040     *
10041     * @see elm_layout_box_append()
10042     * @see elm_object_part_content_get()
10043     * @see elm_object_part_content_unset()
10044     * @see @ref secBox
10045     * @deprecated use elm_object_part_content_set() instead
10046     *
10047     * @ingroup Layout
10048     */
10049    EINA_DEPRECATED EAPI void               elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
10050    /**
10051     * Get the child object in the given content part.
10052     *
10053     * @param obj The layout object
10054     * @param swallow The SWALLOW part to get its content
10055     *
10056     * @return The swallowed object or NULL if none or an error occurred
10057     *
10058     * @deprecated use elm_object_part_content_get() instead
10059     *
10060     * @ingroup Layout
10061     */
10062    EINA_DEPRECATED EAPI Evas_Object       *elm_layout_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10063    /**
10064     * Unset the layout content.
10065     *
10066     * @param obj The layout object
10067     * @param swallow The swallow part name in the edje file
10068     * @return The content that was being used
10069     *
10070     * Unparent and return the content object which was set for this part.
10071     *
10072     * @deprecated use elm_object_part_content_unset() instead
10073     *
10074     * @ingroup Layout
10075     */
10076    EINA_DEPRECATED EAPI Evas_Object       *elm_layout_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10077    /**
10078     * Set the text of the given part
10079     *
10080     * @param obj The layout object
10081     * @param part The TEXT part where to set the text
10082     * @param text The text to set
10083     *
10084     * @ingroup Layout
10085     * @deprecated use elm_object_part_text_set() instead.
10086     */
10087    EINA_DEPRECATED EAPI void               elm_layout_text_set(Evas_Object *obj, const char *part, const char *text) EINA_ARG_NONNULL(1);
10088    /**
10089     * Get the text set in the given part
10090     *
10091     * @param obj The layout object
10092     * @param part The TEXT part to retrieve the text off
10093     *
10094     * @return The text set in @p part
10095     *
10096     * @ingroup Layout
10097     * @deprecated use elm_object_part_text_get() instead.
10098     */
10099    EINA_DEPRECATED EAPI const char        *elm_layout_text_get(const Evas_Object *obj, const char *part) EINA_ARG_NONNULL(1);
10100    /**
10101     * Append child to layout box part.
10102     *
10103     * @param obj the layout object
10104     * @param part the box part to which the object will be appended.
10105     * @param child the child object to append to box.
10106     *
10107     * Once the object is appended, it will become child of the layout. Its
10108     * lifetime will be bound to the layout, whenever the layout dies the child
10109     * will be deleted automatically. One should use elm_layout_box_remove() to
10110     * make this layout forget about the object.
10111     *
10112     * @see elm_layout_box_prepend()
10113     * @see elm_layout_box_insert_before()
10114     * @see elm_layout_box_insert_at()
10115     * @see elm_layout_box_remove()
10116     *
10117     * @ingroup Layout
10118     */
10119    EAPI void               elm_layout_box_append(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
10120    /**
10121     * Prepend child to layout box part.
10122     *
10123     * @param obj the layout object
10124     * @param part the box part to prepend.
10125     * @param child the child object to prepend to box.
10126     *
10127     * Once the object is prepended, it will become child of the layout. Its
10128     * lifetime will be bound to the layout, whenever the layout dies the child
10129     * will be deleted automatically. One should use elm_layout_box_remove() to
10130     * make this layout forget about the object.
10131     *
10132     * @see elm_layout_box_append()
10133     * @see elm_layout_box_insert_before()
10134     * @see elm_layout_box_insert_at()
10135     * @see elm_layout_box_remove()
10136     *
10137     * @ingroup Layout
10138     */
10139    EAPI void               elm_layout_box_prepend(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
10140    /**
10141     * Insert child to layout box part before a reference object.
10142     *
10143     * @param obj the layout object
10144     * @param part the box part to insert.
10145     * @param child the child object to insert into box.
10146     * @param reference another reference object to insert before in box.
10147     *
10148     * Once the object is inserted, it will become child of the layout. Its
10149     * lifetime will be bound to the layout, whenever the layout dies the child
10150     * will be deleted automatically. One should use elm_layout_box_remove() to
10151     * make this layout forget about the object.
10152     *
10153     * @see elm_layout_box_append()
10154     * @see elm_layout_box_prepend()
10155     * @see elm_layout_box_insert_before()
10156     * @see elm_layout_box_remove()
10157     *
10158     * @ingroup Layout
10159     */
10160    EAPI void               elm_layout_box_insert_before(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference) EINA_ARG_NONNULL(1);
10161    /**
10162     * Insert child to layout box part at a given position.
10163     *
10164     * @param obj the layout object
10165     * @param part the box part to insert.
10166     * @param child the child object to insert into box.
10167     * @param pos the numeric position >=0 to insert the child.
10168     *
10169     * Once the object is inserted, it will become child of the layout. Its
10170     * lifetime will be bound to the layout, whenever the layout dies the child
10171     * will be deleted automatically. One should use elm_layout_box_remove() to
10172     * make this layout forget about the object.
10173     *
10174     * @see elm_layout_box_append()
10175     * @see elm_layout_box_prepend()
10176     * @see elm_layout_box_insert_before()
10177     * @see elm_layout_box_remove()
10178     *
10179     * @ingroup Layout
10180     */
10181    EAPI void               elm_layout_box_insert_at(Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos) EINA_ARG_NONNULL(1);
10182    /**
10183     * Remove a child of the given part box.
10184     *
10185     * @param obj The layout object
10186     * @param part The box part name to remove child.
10187     * @param child The object to remove from box.
10188     * @return The object that was being used, or NULL if not found.
10189     *
10190     * The object will be removed from the box part and its lifetime will
10191     * not be handled by the layout anymore. This is equivalent to
10192     * elm_object_part_content_unset() for box.
10193     *
10194     * @see elm_layout_box_append()
10195     * @see elm_layout_box_remove_all()
10196     *
10197     * @ingroup Layout
10198     */
10199    EAPI Evas_Object       *elm_layout_box_remove(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1, 2, 3);
10200    /**
10201     * Remove all children of the given part box.
10202     *
10203     * @param obj The layout object
10204     * @param part The box part name to remove child.
10205     * @param clear If EINA_TRUE, then all objects will be deleted as
10206     *        well, otherwise they will just be removed and will be
10207     *        dangling on the canvas.
10208     *
10209     * The objects will be removed from the box part and their lifetime will
10210     * not be handled by the layout anymore. This is equivalent to
10211     * elm_layout_box_remove() for all box children.
10212     *
10213     * @see elm_layout_box_append()
10214     * @see elm_layout_box_remove()
10215     *
10216     * @ingroup Layout
10217     */
10218    EAPI void               elm_layout_box_remove_all(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
10219    /**
10220     * Insert child to layout table part.
10221     *
10222     * @param obj the layout object
10223     * @param part the box part to pack child.
10224     * @param child_obj the child object to pack into table.
10225     * @param col the column to which the child should be added. (>= 0)
10226     * @param row the row to which the child should be added. (>= 0)
10227     * @param colspan how many columns should be used to store this object. (>=
10228     *        1)
10229     * @param rowspan how many rows should be used to store this object. (>= 1)
10230     *
10231     * Once the object is inserted, it will become child of the table. Its
10232     * lifetime will be bound to the layout, and whenever the layout dies the
10233     * child will be deleted automatically. One should use
10234     * elm_layout_table_remove() to make this layout forget about the object.
10235     *
10236     * If @p colspan or @p rowspan are bigger than 1, that object will occupy
10237     * more space than a single cell. For instance, the following code:
10238     * @code
10239     * elm_layout_table_pack(layout, "table_part", child, 0, 1, 3, 1);
10240     * @endcode
10241     *
10242     * Would result in an object being added like the following picture:
10243     *
10244     * @image html layout_colspan.png
10245     * @image latex layout_colspan.eps width=\textwidth
10246     *
10247     * @see elm_layout_table_unpack()
10248     * @see elm_layout_table_clear()
10249     *
10250     * @ingroup Layout
10251     */
10252    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);
10253    /**
10254     * Unpack (remove) a child of the given part table.
10255     *
10256     * @param obj The layout object
10257     * @param part The table part name to remove child.
10258     * @param child_obj The object to remove from table.
10259     * @return The object that was being used, or NULL if not found.
10260     *
10261     * The object will be unpacked from the table part and its lifetime
10262     * will not be handled by the layout anymore. This is equivalent to
10263     * elm_object_part_content_unset() for table.
10264     *
10265     * @see elm_layout_table_pack()
10266     * @see elm_layout_table_clear()
10267     *
10268     * @ingroup Layout
10269     */
10270    EAPI Evas_Object       *elm_layout_table_unpack(Evas_Object *obj, const char *part, Evas_Object *child_obj) EINA_ARG_NONNULL(1, 2, 3);
10271    /**
10272     * Remove all the child objects of the given part table.
10273     *
10274     * @param obj The layout object
10275     * @param part The table part name to remove child.
10276     * @param clear If EINA_TRUE, then all objects will be deleted as
10277     *        well, otherwise they will just be removed and will be
10278     *        dangling on the canvas.
10279     *
10280     * The objects will be removed from the table part and their lifetime will
10281     * not be handled by the layout anymore. This is equivalent to
10282     * elm_layout_table_unpack() for all table children.
10283     *
10284     * @see elm_layout_table_pack()
10285     * @see elm_layout_table_unpack()
10286     *
10287     * @ingroup Layout
10288     */
10289    EAPI void               elm_layout_table_clear(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
10290    /**
10291     * Get the edje layout
10292     *
10293     * @param obj The layout object
10294     *
10295     * @return A Evas_Object with the edje layout settings loaded
10296     * with function elm_layout_file_set
10297     *
10298     * This returns the edje object. It is not expected to be used to then
10299     * swallow objects via edje_object_part_swallow() for example. Use
10300     * elm_object_part_content_set() instead so child object handling and sizing is
10301     * done properly.
10302     *
10303     * @note This function should only be used if you really need to call some
10304     * low level Edje function on this edje object. All the common stuff (setting
10305     * text, emitting signals, hooking callbacks to signals, etc.) can be done
10306     * with proper elementary functions.
10307     *
10308     * @see elm_object_signal_callback_add()
10309     * @see elm_object_signal_emit()
10310     * @see elm_object_part_text_set()
10311     * @see elm_object_part_content_set()
10312     * @see elm_layout_box_append()
10313     * @see elm_layout_table_pack()
10314     * @see elm_layout_data_get()
10315     *
10316     * @ingroup Layout
10317     */
10318    EAPI Evas_Object       *elm_layout_edje_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10319    /**
10320     * Get the edje data from the given layout
10321     *
10322     * @param obj The layout object
10323     * @param key The data key
10324     *
10325     * @return The edje data string
10326     *
10327     * This function fetches data specified inside the edje theme of this layout.
10328     * This function return NULL if data is not found.
10329     *
10330     * In EDC this comes from a data block within the group block that @p
10331     * obj was loaded from. E.g.
10332     *
10333     * @code
10334     * collections {
10335     *   group {
10336     *     name: "a_group";
10337     *     data {
10338     *       item: "key1" "value1";
10339     *       item: "key2" "value2";
10340     *     }
10341     *   }
10342     * }
10343     * @endcode
10344     *
10345     * @ingroup Layout
10346     */
10347    EAPI const char        *elm_layout_data_get(const Evas_Object *obj, const char *key) EINA_ARG_NONNULL(1, 2);
10348    /**
10349     * Eval sizing
10350     *
10351     * @param obj The layout object
10352     *
10353     * Manually forces a sizing re-evaluation. This is useful when the minimum
10354     * size required by the edje theme of this layout has changed. The change on
10355     * the minimum size required by the edje theme is not immediately reported to
10356     * the elementary layout, so one needs to call this function in order to tell
10357     * the widget (layout) that it needs to reevaluate its own size.
10358     *
10359     * The minimum size of the theme is calculated based on minimum size of
10360     * parts, the size of elements inside containers like box and table, etc. All
10361     * of this can change due to state changes, and that's when this function
10362     * should be called.
10363     *
10364     * Also note that a standard signal of "size,eval" "elm" emitted from the
10365     * edje object will cause this to happen too.
10366     *
10367     * @ingroup Layout
10368     */
10369    EAPI void               elm_layout_sizing_eval(Evas_Object *obj) EINA_ARG_NONNULL(1);
10370
10371    /**
10372     * Sets a specific cursor for an edje part.
10373     *
10374     * @param obj The layout object.
10375     * @param part_name a part from loaded edje group.
10376     * @param cursor cursor name to use, see Elementary_Cursor.h
10377     *
10378     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10379     *         part not exists or it has "mouse_events: 0".
10380     *
10381     * @ingroup Layout
10382     */
10383    EAPI Eina_Bool          elm_layout_part_cursor_set(Evas_Object *obj, const char *part_name, const char *cursor) EINA_ARG_NONNULL(1, 2);
10384
10385    /**
10386     * Get the cursor to be shown when mouse is over an edje part
10387     *
10388     * @param obj The layout object.
10389     * @param part_name a part from loaded edje group.
10390     * @return the cursor name.
10391     *
10392     * @ingroup Layout
10393     */
10394    EAPI const char        *elm_layout_part_cursor_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10395
10396    /**
10397     * Unsets a cursor previously set with elm_layout_part_cursor_set().
10398     *
10399     * @param obj The layout object.
10400     * @param part_name a part from loaded edje group, that had a cursor set
10401     *        with elm_layout_part_cursor_set().
10402     *
10403     * @ingroup Layout
10404     */
10405    EAPI void               elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10406
10407    /**
10408     * Sets a specific cursor style for an edje part.
10409     *
10410     * @param obj The layout object.
10411     * @param part_name a part from loaded edje group.
10412     * @param style the theme style to use (default, transparent, ...)
10413     *
10414     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10415     *         part not exists or it did not had a cursor set.
10416     *
10417     * @ingroup Layout
10418     */
10419    EAPI Eina_Bool          elm_layout_part_cursor_style_set(Evas_Object *obj, const char *part_name, const char *style) EINA_ARG_NONNULL(1, 2);
10420
10421    /**
10422     * Gets a specific cursor style for an edje part.
10423     *
10424     * @param obj The layout object.
10425     * @param part_name a part from loaded edje group.
10426     *
10427     * @return the theme style in use, defaults to "default". If the
10428     *         object does not have a cursor set, then NULL is returned.
10429     *
10430     * @ingroup Layout
10431     */
10432    EAPI const char        *elm_layout_part_cursor_style_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10433
10434    /**
10435     * Sets if the cursor set should be searched on the theme or should use
10436     * the provided by the engine, only.
10437     *
10438     * @note before you set if should look on theme you should define a
10439     * cursor with elm_layout_part_cursor_set(). By default it will only
10440     * look for cursors provided by the engine.
10441     *
10442     * @param obj The layout object.
10443     * @param part_name a part from loaded edje group.
10444     * @param engine_only if cursors should be just provided by the engine (EINA_TRUE)
10445     *        or should also search on widget's theme as well (EINA_FALSE)
10446     *
10447     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10448     *         part not exists or it did not had a cursor set.
10449     *
10450     * @ingroup Layout
10451     */
10452    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);
10453
10454    /**
10455     * Gets a specific cursor engine_only for an edje part.
10456     *
10457     * @param obj The layout object.
10458     * @param part_name a part from loaded edje group.
10459     *
10460     * @return whenever the cursor is just provided by engine or also from theme.
10461     *
10462     * @ingroup Layout
10463     */
10464    EAPI Eina_Bool          elm_layout_part_cursor_engine_only_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10465
10466 /**
10467  * @def elm_layout_icon_set
10468  * Convenience macro to set the icon object in a layout that follows the
10469  * Elementary naming convention for its parts.
10470  *
10471  * @ingroup Layout
10472  */
10473 #define elm_layout_icon_set(_ly, _obj) \
10474   do { \
10475     const char *sig; \
10476     elm_object_part_content_set((_ly), "elm.swallow.icon", (_obj)); \
10477     if ((_obj)) sig = "elm,state,icon,visible"; \
10478     else sig = "elm,state,icon,hidden"; \
10479     elm_object_signal_emit((_ly), sig, "elm"); \
10480   } while (0)
10481
10482 /**
10483  * @def elm_layout_icon_get
10484  * Convienience macro to get the icon object from a layout that follows the
10485  * Elementary naming convention for its parts.
10486  *
10487  * @ingroup Layout
10488  */
10489 #define elm_layout_icon_get(_ly) \
10490   elm_object_part_content_get((_ly), "elm.swallow.icon")
10491
10492 /**
10493  * @def elm_layout_end_set
10494  * Convienience macro to set the end object in a layout that follows the
10495  * Elementary naming convention for its parts.
10496  *
10497  * @ingroup Layout
10498  */
10499 #define elm_layout_end_set(_ly, _obj) \
10500   do { \
10501     const char *sig; \
10502     elm_object_part_content_set((_ly), "elm.swallow.end", (_obj)); \
10503     if ((_obj)) sig = "elm,state,end,visible"; \
10504     else sig = "elm,state,end,hidden"; \
10505     elm_object_signal_emit((_ly), sig, "elm"); \
10506   } while (0)
10507
10508 /**
10509  * @def elm_layout_end_get
10510  * Convienience macro to get the end object in a layout that follows the
10511  * Elementary naming convention for its parts.
10512  *
10513  * @ingroup Layout
10514  */
10515 #define elm_layout_end_get(_ly) \
10516   elm_object_part_content_get((_ly), "elm.swallow.end")
10517
10518 /**
10519  * @def elm_layout_label_set
10520  * Convienience macro to set the label in a layout that follows the
10521  * Elementary naming convention for its parts.
10522  *
10523  * @ingroup Layout
10524  * @deprecated use elm_object_text_set() instead.
10525  */
10526 #define elm_layout_label_set(_ly, _txt) \
10527   elm_layout_text_set((_ly), "elm.text", (_txt))
10528
10529 /**
10530  * @def elm_layout_label_get
10531  * Convenience macro to get the label in a layout that follows the
10532  * Elementary naming convention for its parts.
10533  *
10534  * @ingroup Layout
10535  * @deprecated use elm_object_text_set() instead.
10536  */
10537 #define elm_layout_label_get(_ly) \
10538   elm_layout_text_get((_ly), "elm.text")
10539
10540    /* smart callbacks called:
10541     * "theme,changed" - when elm theme is changed.
10542     */
10543
10544    /**
10545     * @defgroup Notify Notify
10546     *
10547     * @image html img/widget/notify/preview-00.png
10548     * @image latex img/widget/notify/preview-00.eps
10549     *
10550     * Display a container in a particular region of the parent(top, bottom,
10551     * etc).  A timeout can be set to automatically hide the notify. This is so
10552     * that, after an evas_object_show() on a notify object, if a timeout was set
10553     * on it, it will @b automatically get hidden after that time.
10554     *
10555     * Signals that you can add callbacks for are:
10556     * @li "timeout" - when timeout happens on notify and it's hidden
10557     * @li "block,clicked" - when a click outside of the notify happens
10558     *
10559     * Default contents parts of the notify widget that you can use for are:
10560     * @li "default" - A content of the notify
10561     *
10562     * @ref tutorial_notify show usage of the API.
10563     *
10564     * @{
10565     */
10566    /**
10567     * @brief Possible orient values for notify.
10568     *
10569     * This values should be used in conjunction to elm_notify_orient_set() to
10570     * set the position in which the notify should appear(relative to its parent)
10571     * and in conjunction with elm_notify_orient_get() to know where the notify
10572     * is appearing.
10573     */
10574    typedef enum _Elm_Notify_Orient
10575      {
10576         ELM_NOTIFY_ORIENT_TOP, /**< Notify should appear in the top of parent, default */
10577         ELM_NOTIFY_ORIENT_CENTER, /**< Notify should appear in the center of parent */
10578         ELM_NOTIFY_ORIENT_BOTTOM, /**< Notify should appear in the bottom of parent */
10579         ELM_NOTIFY_ORIENT_LEFT, /**< Notify should appear in the left of parent */
10580         ELM_NOTIFY_ORIENT_RIGHT, /**< Notify should appear in the right of parent */
10581         ELM_NOTIFY_ORIENT_TOP_LEFT, /**< Notify should appear in the top left of parent */
10582         ELM_NOTIFY_ORIENT_TOP_RIGHT, /**< Notify should appear in the top right of parent */
10583         ELM_NOTIFY_ORIENT_BOTTOM_LEFT, /**< Notify should appear in the bottom left of parent */
10584         ELM_NOTIFY_ORIENT_BOTTOM_RIGHT, /**< Notify should appear in the bottom right of parent */
10585         ELM_NOTIFY_ORIENT_LAST /**< Sentinel value, @b don't use */
10586      } Elm_Notify_Orient;
10587    /**
10588     * @brief Add a new notify to the parent
10589     *
10590     * @param parent The parent object
10591     * @return The new object or NULL if it cannot be created
10592     */
10593    EAPI Evas_Object      *elm_notify_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10594    /**
10595     * @brief Set the content of the notify widget
10596     *
10597     * @param obj The notify object
10598     * @param content The content will be filled in this notify object
10599     *
10600     * Once the content object is set, a previously set one will be deleted. If
10601     * you want to keep that old content object, use the
10602     * elm_notify_content_unset() function.
10603     *
10604     * @deprecated use elm_object_content_set() instead
10605     *
10606     */
10607    EINA_DEPRECATED EAPI void              elm_notify_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
10608    /**
10609     * @brief Unset the content of the notify widget
10610     *
10611     * @param obj The notify object
10612     * @return The content that was being used
10613     *
10614     * Unparent and return the content object which was set for this widget
10615     *
10616     * @see elm_notify_content_set()
10617     * @deprecated use elm_object_content_unset() instead
10618     *
10619     */
10620    EINA_DEPRECATED EAPI Evas_Object      *elm_notify_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
10621    /**
10622     * @brief Return the content of the notify widget
10623     *
10624     * @param obj The notify object
10625     * @return The content that is being used
10626     *
10627     * @see elm_notify_content_set()
10628     * @deprecated use elm_object_content_get() instead
10629     *
10630     */
10631    EINA_DEPRECATED EAPI Evas_Object      *elm_notify_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10632    /**
10633     * @brief Set the notify parent
10634     *
10635     * @param obj The notify object
10636     * @param content The new parent
10637     *
10638     * Once the parent object is set, a previously set one will be disconnected
10639     * and replaced.
10640     */
10641    EAPI void              elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
10642    /**
10643     * @brief Get the notify parent
10644     *
10645     * @param obj The notify object
10646     * @return The parent
10647     *
10648     * @see elm_notify_parent_set()
10649     */
10650    EAPI Evas_Object      *elm_notify_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10651    /**
10652     * @brief Set the orientation
10653     *
10654     * @param obj The notify object
10655     * @param orient The new orientation
10656     *
10657     * Sets the position in which the notify will appear in its parent.
10658     *
10659     * @see @ref Elm_Notify_Orient for possible values.
10660     */
10661    EAPI void              elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient) EINA_ARG_NONNULL(1);
10662    /**
10663     * @brief Return the orientation
10664     * @param obj The notify object
10665     * @return The orientation of the notification
10666     *
10667     * @see elm_notify_orient_set()
10668     * @see Elm_Notify_Orient
10669     */
10670    EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10671    /**
10672     * @brief Set the time interval after which the notify window is going to be
10673     * hidden.
10674     *
10675     * @param obj The notify object
10676     * @param time The timeout in seconds
10677     *
10678     * This function sets a timeout and starts the timer controlling when the
10679     * notify is hidden. Since calling evas_object_show() on a notify restarts
10680     * the timer controlling when the notify is hidden, setting this before the
10681     * notify is shown will in effect mean starting the timer when the notify is
10682     * shown.
10683     *
10684     * @note Set a value <= 0.0 to disable a running timer.
10685     *
10686     * @note If the value > 0.0 and the notify is previously visible, the
10687     * timer will be started with this value, canceling any running timer.
10688     */
10689    EAPI void              elm_notify_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
10690    /**
10691     * @brief Return the timeout value (in seconds)
10692     * @param obj the notify object
10693     *
10694     * @see elm_notify_timeout_set()
10695     */
10696    EAPI double            elm_notify_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10697    /**
10698     * @brief Sets whether events should be passed to by a click outside
10699     * its area.
10700     *
10701     * @param obj The notify object
10702     * @param repeats EINA_TRUE Events are repeats, else no
10703     *
10704     * When true if the user clicks outside the window the events will be caught
10705     * by the others widgets, else the events are blocked.
10706     *
10707     * @note The default value is EINA_TRUE.
10708     */
10709    EAPI void              elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat) EINA_ARG_NONNULL(1);
10710    /**
10711     * @brief Return true if events are repeat below the notify object
10712     * @param obj the notify object
10713     *
10714     * @see elm_notify_repeat_events_set()
10715     */
10716    EAPI Eina_Bool         elm_notify_repeat_events_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10717    /**
10718     * @}
10719     */
10720
10721    /**
10722     * @defgroup Hover Hover
10723     *
10724     * @image html img/widget/hover/preview-00.png
10725     * @image latex img/widget/hover/preview-00.eps
10726     *
10727     * A Hover object will hover over its @p parent object at the @p target
10728     * location. Anything in the background will be given a darker coloring to
10729     * indicate that the hover object is on top (at the default theme). When the
10730     * hover is clicked it is dismissed(hidden), if the contents of the hover are
10731     * clicked that @b doesn't cause the hover to be dismissed.
10732     *
10733     * A Hover object has two parents. One parent that owns it during creation
10734     * and the other parent being the one over which the hover object spans.
10735     *
10736     *
10737     * @note The hover object will take up the entire space of @p target
10738     * object.
10739     *
10740     * Elementary has the following styles for the hover widget:
10741     * @li default
10742     * @li popout
10743     * @li menu
10744     * @li hoversel_vertical
10745     *
10746     * The following are the available position for content:
10747     * @li left
10748     * @li top-left
10749     * @li top
10750     * @li top-right
10751     * @li right
10752     * @li bottom-right
10753     * @li bottom
10754     * @li bottom-left
10755     * @li middle
10756     * @li smart
10757     *
10758     * Signals that you can add callbacks for are:
10759     * @li "clicked" - the user clicked the empty space in the hover to dismiss
10760     * @li "smart,changed" - a content object placed under the "smart"
10761     *                   policy was replaced to a new slot direction.
10762     *
10763     * See @ref tutorial_hover for more information.
10764     *
10765     * @{
10766     */
10767    typedef enum _Elm_Hover_Axis
10768      {
10769         ELM_HOVER_AXIS_NONE, /**< ELM_HOVER_AXIS_NONE -- no prefered orientation */
10770         ELM_HOVER_AXIS_HORIZONTAL, /**< ELM_HOVER_AXIS_HORIZONTAL -- horizontal */
10771         ELM_HOVER_AXIS_VERTICAL, /**< ELM_HOVER_AXIS_VERTICAL -- vertical */
10772         ELM_HOVER_AXIS_BOTH /**< ELM_HOVER_AXIS_BOTH -- both */
10773      } Elm_Hover_Axis;
10774    /**
10775     * @brief Adds a hover object to @p parent
10776     *
10777     * @param parent The parent object
10778     * @return The hover object or NULL if one could not be created
10779     */
10780    EAPI Evas_Object *elm_hover_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10781    /**
10782     * @brief Sets the target object for the hover.
10783     *
10784     * @param obj The hover object
10785     * @param target The object to center the hover onto.
10786     *
10787     * This function will cause the hover to be centered on the target object.
10788     */
10789    EAPI void         elm_hover_target_set(Evas_Object *obj, Evas_Object *target) EINA_ARG_NONNULL(1);
10790    /**
10791     * @brief Gets the target object for the hover.
10792     *
10793     * @param obj The hover object
10794     * @return The target object for the hover.
10795     *
10796     * @see elm_hover_target_set()
10797     */
10798    EAPI Evas_Object *elm_hover_target_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10799    /**
10800     * @brief Sets the parent object for the hover.
10801     *
10802     * @param obj The hover object
10803     * @param parent The object to locate the hover over.
10804     *
10805     * This function will cause the hover to take up the entire space that the
10806     * parent object fills.
10807     */
10808    EAPI void         elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
10809    /**
10810     * @brief Gets the parent object for the hover.
10811     *
10812     * @param obj The hover object
10813     * @return The parent object to locate the hover over.
10814     *
10815     * @see elm_hover_parent_set()
10816     */
10817    EAPI Evas_Object *elm_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10818    /**
10819     * @brief Sets the content of the hover object and the direction in which it
10820     * will pop out.
10821     *
10822     * @param obj The hover object
10823     * @param swallow The direction that the object will be displayed
10824     * at. Accepted values are "left", "top-left", "top", "top-right",
10825     * "right", "bottom-right", "bottom", "bottom-left", "middle" and
10826     * "smart".
10827     * @param content The content to place at @p swallow
10828     *
10829     * Once the content object is set for a given direction, a previously
10830     * set one (on the same direction) will be deleted. If you want to
10831     * keep that old content object, use the elm_hover_content_unset()
10832     * function.
10833     *
10834     * All directions may have contents at the same time, except for
10835     * "smart". This is a special placement hint and its use case
10836     * independs of the calculations coming from
10837     * elm_hover_best_content_location_get(). Its use is for cases when
10838     * one desires only one hover content, but with a dynamic special
10839     * placement within the hover area. The content's geometry, whenever
10840     * it changes, will be used to decide on a best location, not
10841     * extrapolating the hover's parent object view to show it in (still
10842     * being the hover's target determinant of its medium part -- move and
10843     * resize it to simulate finger sizes, for example). If one of the
10844     * directions other than "smart" are used, a previously content set
10845     * using it will be deleted, and vice-versa.
10846     */
10847    EAPI void         elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
10848    /**
10849     * @brief Get the content of the hover object, in a given direction.
10850     *
10851     * Return the content object which was set for this widget in the
10852     * @p swallow direction.
10853     *
10854     * @param obj The hover object
10855     * @param swallow The direction that the object was display at.
10856     * @return The content that was being used
10857     *
10858     * @see elm_hover_content_set()
10859     */
10860    EAPI Evas_Object *elm_hover_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10861    /**
10862     * @brief Unset the content of the hover object, in a given direction.
10863     *
10864     * Unparent and return the content object set at @p swallow direction.
10865     *
10866     * @param obj The hover object
10867     * @param swallow The direction that the object was display at.
10868     * @return The content that was being used.
10869     *
10870     * @see elm_hover_content_set()
10871     */
10872    EAPI Evas_Object *elm_hover_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10873    /**
10874     * @brief Returns the best swallow location for content in the hover.
10875     *
10876     * @param obj The hover object
10877     * @param pref_axis The preferred orientation axis for the hover object to use
10878     * @return The edje location to place content into the hover or @c
10879     *         NULL, on errors.
10880     *
10881     * Best is defined here as the location at which there is the most available
10882     * space.
10883     *
10884     * @p pref_axis may be one of
10885     * - @c ELM_HOVER_AXIS_NONE -- no prefered orientation
10886     * - @c ELM_HOVER_AXIS_HORIZONTAL -- horizontal
10887     * - @c ELM_HOVER_AXIS_VERTICAL -- vertical
10888     * - @c ELM_HOVER_AXIS_BOTH -- both
10889     *
10890     * If ELM_HOVER_AXIS_HORIZONTAL is choosen the returned position will
10891     * nescessarily be along the horizontal axis("left" or "right"). If
10892     * ELM_HOVER_AXIS_VERTICAL is choosen the returned position will nescessarily
10893     * be along the vertical axis("top" or "bottom"). Chossing
10894     * ELM_HOVER_AXIS_BOTH or ELM_HOVER_AXIS_NONE has the same effect and the
10895     * returned position may be in either axis.
10896     *
10897     * @see elm_hover_content_set()
10898     */
10899    EAPI const char  *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis) EINA_ARG_NONNULL(1);
10900    /**
10901     * @}
10902     */
10903
10904    /* entry */
10905    /**
10906     * @defgroup Entry Entry
10907     *
10908     * @image html img/widget/entry/preview-00.png
10909     * @image latex img/widget/entry/preview-00.eps width=\textwidth
10910     * @image html img/widget/entry/preview-01.png
10911     * @image latex img/widget/entry/preview-01.eps width=\textwidth
10912     * @image html img/widget/entry/preview-02.png
10913     * @image latex img/widget/entry/preview-02.eps width=\textwidth
10914     * @image html img/widget/entry/preview-03.png
10915     * @image latex img/widget/entry/preview-03.eps width=\textwidth
10916     *
10917     * An entry is a convenience widget which shows a box that the user can
10918     * enter text into. Entries by default don't scroll, so they grow to
10919     * accomodate the entire text, resizing the parent window as needed. This
10920     * can be changed with the elm_entry_scrollable_set() function.
10921     *
10922     * They can also be single line or multi line (the default) and when set
10923     * to multi line mode they support text wrapping in any of the modes
10924     * indicated by #Elm_Wrap_Type.
10925     *
10926     * Other features include password mode, filtering of inserted text with
10927     * elm_entry_text_filter_append() and related functions, inline "items" and
10928     * formatted markup text.
10929     *
10930     * @section entry-markup Formatted text
10931     *
10932     * The markup tags supported by the Entry are defined by the theme, but
10933     * even when writing new themes or extensions it's a good idea to stick to
10934     * a sane default, to maintain coherency and avoid application breakages.
10935     * Currently defined by the default theme are the following tags:
10936     * @li \<br\>: Inserts a line break.
10937     * @li \<ps\>: Inserts a paragraph separator. This is preferred over line
10938     * breaks.
10939     * @li \<tab\>: Inserts a tab.
10940     * @li \<em\>...\</em\>: Emphasis. Sets the @em oblique style for the
10941     * enclosed text.
10942     * @li \<b\>...\</b\>: Sets the @b bold style for the enclosed text.
10943     * @li \<link\>...\</link\>: Underlines the enclosed text.
10944     * @li \<hilight\>...\</hilight\>: Hilights the enclosed text.
10945     *
10946     * @section entry-special Special markups
10947     *
10948     * Besides those used to format text, entries support two special markup
10949     * tags used to insert clickable portions of text or items inlined within
10950     * the text.
10951     *
10952     * @subsection entry-anchors Anchors
10953     *
10954     * Anchors are similar to HTML anchors. Text can be surrounded by \<a\> and
10955     * \</a\> tags and an event will be generated when this text is clicked,
10956     * like this:
10957     *
10958     * @code
10959     * This text is outside <a href=anc-01>but this one is an anchor</a>
10960     * @endcode
10961     *
10962     * The @c href attribute in the opening tag gives the name that will be
10963     * used to identify the anchor and it can be any valid utf8 string.
10964     *
10965     * When an anchor is clicked, an @c "anchor,clicked" signal is emitted with
10966     * an #Elm_Entry_Anchor_Info in the @c event_info parameter for the
10967     * callback function. The same applies for "anchor,in" (mouse in), "anchor,out"
10968     * (mouse out), "anchor,down" (mouse down), and "anchor,up" (mouse up) events on
10969     * an anchor.
10970     *
10971     * @subsection entry-items Items
10972     *
10973     * Inlined in the text, any other @c Evas_Object can be inserted by using
10974     * \<item\> tags this way:
10975     *
10976     * @code
10977     * <item size=16x16 vsize=full href=emoticon/haha></item>
10978     * @endcode
10979     *
10980     * Just like with anchors, the @c href identifies each item, but these need,
10981     * in addition, to indicate their size, which is done using any one of
10982     * @c size, @c absize or @c relsize attributes. These attributes take their
10983     * value in the WxH format, where W is the width and H the height of the
10984     * item.
10985     *
10986     * @li absize: Absolute pixel size for the item. Whatever value is set will
10987     * be the item's size regardless of any scale value the object may have
10988     * been set to. The final line height will be adjusted to fit larger items.
10989     * @li size: Similar to @c absize, but it's adjusted to the scale value set
10990     * for the object.
10991     * @li relsize: Size is adjusted for the item to fit within the current
10992     * line height.
10993     *
10994     * Besides their size, items are specificed a @c vsize value that affects
10995     * how their final size and position are calculated. The possible values
10996     * are:
10997     * @li ascent: Item will be placed within the line's baseline and its
10998     * ascent. That is, the height between the line where all characters are
10999     * positioned and the highest point in the line. For @c size and @c absize
11000     * items, the descent value will be added to the total line height to make
11001     * them fit. @c relsize items will be adjusted to fit within this space.
11002     * @li full: Items will be placed between the descent and ascent, or the
11003     * lowest point in the line and its highest.
11004     *
11005     * The next image shows different configurations of items and how
11006     * the previously mentioned options affect their sizes. In all cases,
11007     * the green line indicates the ascent, blue for the baseline and red for
11008     * the descent.
11009     *
11010     * @image html entry_item.png
11011     * @image latex entry_item.eps width=\textwidth
11012     *
11013     * And another one to show how size differs from absize. In the first one,
11014     * the scale value is set to 1.0, while the second one is using one of 2.0.
11015     *
11016     * @image html entry_item_scale.png
11017     * @image latex entry_item_scale.eps width=\textwidth
11018     *
11019     * After the size for an item is calculated, the entry will request an
11020     * object to place in its space. For this, the functions set with
11021     * elm_entry_item_provider_append() and related functions will be called
11022     * in order until one of them returns a @c non-NULL value. If no providers
11023     * are available, or all of them return @c NULL, then the entry falls back
11024     * to one of the internal defaults, provided the name matches with one of
11025     * them.
11026     *
11027     * All of the following are currently supported:
11028     *
11029     * - emoticon/angry
11030     * - emoticon/angry-shout
11031     * - emoticon/crazy-laugh
11032     * - emoticon/evil-laugh
11033     * - emoticon/evil
11034     * - emoticon/goggle-smile
11035     * - emoticon/grumpy
11036     * - emoticon/grumpy-smile
11037     * - emoticon/guilty
11038     * - emoticon/guilty-smile
11039     * - emoticon/haha
11040     * - emoticon/half-smile
11041     * - emoticon/happy-panting
11042     * - emoticon/happy
11043     * - emoticon/indifferent
11044     * - emoticon/kiss
11045     * - emoticon/knowing-grin
11046     * - emoticon/laugh
11047     * - emoticon/little-bit-sorry
11048     * - emoticon/love-lots
11049     * - emoticon/love
11050     * - emoticon/minimal-smile
11051     * - emoticon/not-happy
11052     * - emoticon/not-impressed
11053     * - emoticon/omg
11054     * - emoticon/opensmile
11055     * - emoticon/smile
11056     * - emoticon/sorry
11057     * - emoticon/squint-laugh
11058     * - emoticon/surprised
11059     * - emoticon/suspicious
11060     * - emoticon/tongue-dangling
11061     * - emoticon/tongue-poke
11062     * - emoticon/uh
11063     * - emoticon/unhappy
11064     * - emoticon/very-sorry
11065     * - emoticon/what
11066     * - emoticon/wink
11067     * - emoticon/worried
11068     * - emoticon/wtf
11069     *
11070     * Alternatively, an item may reference an image by its path, using
11071     * the URI form @c file:///path/to/an/image.png and the entry will then
11072     * use that image for the item.
11073     *
11074     * @section entry-files Loading and saving files
11075     *
11076     * Entries have convinience functions to load text from a file and save
11077     * changes back to it after a short delay. The automatic saving is enabled
11078     * by default, but can be disabled with elm_entry_autosave_set() and files
11079     * can be loaded directly as plain text or have any markup in them
11080     * recognized. See elm_entry_file_set() for more details.
11081     *
11082     * @section entry-signals Emitted signals
11083     *
11084     * This widget emits the following signals:
11085     *
11086     * @li "changed": The text within the entry was changed.
11087     * @li "changed,user": The text within the entry was changed because of user interaction.
11088     * @li "activated": The enter key was pressed on a single line entry.
11089     * @li "press": A mouse button has been pressed on the entry.
11090     * @li "longpressed": A mouse button has been pressed and held for a couple
11091     * seconds.
11092     * @li "clicked": The entry has been clicked (mouse press and release).
11093     * @li "clicked,double": The entry has been double clicked.
11094     * @li "clicked,triple": The entry has been triple clicked.
11095     * @li "focused": The entry has received focus.
11096     * @li "unfocused": The entry has lost focus.
11097     * @li "selection,paste": A paste of the clipboard contents was requested.
11098     * @li "selection,copy": A copy of the selected text into the clipboard was
11099     * requested.
11100     * @li "selection,cut": A cut of the selected text into the clipboard was
11101     * requested.
11102     * @li "selection,start": A selection has begun and no previous selection
11103     * existed.
11104     * @li "selection,changed": The current selection has changed.
11105     * @li "selection,cleared": The current selection has been cleared.
11106     * @li "cursor,changed": The cursor has changed position.
11107     * @li "anchor,clicked": An anchor has been clicked. The event_info
11108     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11109     * @li "anchor,in": Mouse cursor has moved into an anchor. The event_info
11110     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11111     * @li "anchor,out": Mouse cursor has moved out of an anchor. The event_info
11112     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11113     * @li "anchor,up": Mouse button has been unpressed on an anchor. The event_info
11114     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11115     * @li "anchor,down": Mouse button has been pressed on an anchor. The event_info
11116     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11117     * @li "preedit,changed": The preedit string has changed.
11118     * @li "language,changed": Program language changed.
11119     *
11120     * @section entry-examples
11121     *
11122     * An overview of the Entry API can be seen in @ref entry_example_01
11123     *
11124     * @{
11125     */
11126    /**
11127     * @typedef Elm_Entry_Anchor_Info
11128     *
11129     * The info sent in the callback for the "anchor,clicked" signals emitted
11130     * by entries.
11131     */
11132    typedef struct _Elm_Entry_Anchor_Info Elm_Entry_Anchor_Info;
11133    /**
11134     * @struct _Elm_Entry_Anchor_Info
11135     *
11136     * The info sent in the callback for the "anchor,clicked" signals emitted
11137     * by entries.
11138     */
11139    struct _Elm_Entry_Anchor_Info
11140      {
11141         const char *name; /**< The name of the anchor, as stated in its href */
11142         int         button; /**< The mouse button used to click on it */
11143         Evas_Coord  x, /**< Anchor geometry, relative to canvas */
11144                     y, /**< Anchor geometry, relative to canvas */
11145                     w, /**< Anchor geometry, relative to canvas */
11146                     h; /**< Anchor geometry, relative to canvas */
11147      };
11148    /**
11149     * @typedef Elm_Entry_Filter_Cb
11150     * This callback type is used by entry filters to modify text.
11151     * @param data The data specified as the last param when adding the filter
11152     * @param entry The entry object
11153     * @param text A pointer to the location of the text being filtered. This data can be modified,
11154     * but any additional allocations must be managed by the user.
11155     * @see elm_entry_text_filter_append
11156     * @see elm_entry_text_filter_prepend
11157     */
11158    typedef void (*Elm_Entry_Filter_Cb)(void *data, Evas_Object *entry, char **text);
11159
11160    /**
11161     * @typedef Elm_Entry_Change_Info
11162     * This corresponds to Edje_Entry_Change_Info. Includes information about
11163     * a change in the entry.
11164     */
11165    typedef Edje_Entry_Change_Info Elm_Entry_Change_Info;
11166
11167
11168    /**
11169     * This adds an entry to @p parent object.
11170     *
11171     * By default, entries are:
11172     * @li not scrolled
11173     * @li multi-line
11174     * @li word wrapped
11175     * @li autosave is enabled
11176     *
11177     * @param parent The parent object
11178     * @return The new object or NULL if it cannot be created
11179     */
11180    EAPI Evas_Object *elm_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
11181    /**
11182     * Sets the entry to single line mode.
11183     *
11184     * In single line mode, entries don't ever wrap when the text reaches the
11185     * edge, and instead they keep growing horizontally. Pressing the @c Enter
11186     * key will generate an @c "activate" event instead of adding a new line.
11187     *
11188     * When @p single_line is @c EINA_FALSE, line wrapping takes effect again
11189     * and pressing enter will break the text into a different line
11190     * without generating any events.
11191     *
11192     * @param obj The entry object
11193     * @param single_line If true, the text in the entry
11194     * will be on a single line.
11195     */
11196    EAPI void         elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
11197    /**
11198     * Gets whether the entry is set to be single line.
11199     *
11200     * @param obj The entry object
11201     * @return single_line If true, the text in the entry is set to display
11202     * on a single line.
11203     *
11204     * @see elm_entry_single_line_set()
11205     */
11206    EAPI Eina_Bool    elm_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11207    /**
11208     * Sets the entry to password mode.
11209     *
11210     * In password mode, entries are implicitly single line and the display of
11211     * any text in them is replaced with asterisks (*).
11212     *
11213     * @param obj The entry object
11214     * @param password If true, password mode is enabled.
11215     */
11216    EAPI void         elm_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
11217    /**
11218     * Gets whether the entry is set to password mode.
11219     *
11220     * @param obj The entry object
11221     * @return If true, the entry is set to display all characters
11222     * as asterisks (*).
11223     *
11224     * @see elm_entry_password_set()
11225     */
11226    EAPI Eina_Bool    elm_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11227    /**
11228     * This sets the text displayed within the entry to @p entry.
11229     *
11230     * @param obj The entry object
11231     * @param entry The text to be displayed
11232     *
11233     * @deprecated Use elm_object_text_set() instead.
11234     * @note Using this function bypasses text filters
11235     */
11236    EAPI void         elm_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11237    /**
11238     * This returns the text currently shown in object @p entry.
11239     * See also elm_entry_entry_set().
11240     *
11241     * @param obj The entry object
11242     * @return The currently displayed text or NULL on failure
11243     *
11244     * @deprecated Use elm_object_text_get() instead.
11245     */
11246    EAPI const char  *elm_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11247    /**
11248     * Appends @p entry to the text of the entry.
11249     *
11250     * Adds the text in @p entry to the end of any text already present in the
11251     * widget.
11252     *
11253     * The appended text is subject to any filters set for the widget.
11254     *
11255     * @param obj The entry object
11256     * @param entry The text to be displayed
11257     *
11258     * @see elm_entry_text_filter_append()
11259     */
11260    EAPI void         elm_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11261    /**
11262     * Gets whether the entry is empty.
11263     *
11264     * Empty means no text at all. If there are any markup tags, like an item
11265     * tag for which no provider finds anything, and no text is displayed, this
11266     * function still returns EINA_FALSE.
11267     *
11268     * @param obj The entry object
11269     * @return EINA_TRUE if the entry is empty, EINA_FALSE otherwise.
11270     */
11271    EAPI Eina_Bool    elm_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11272    /**
11273     * Gets any selected text within the entry.
11274     *
11275     * If there's any selected text in the entry, this function returns it as
11276     * a string in markup format. NULL is returned if no selection exists or
11277     * if an error occurred.
11278     *
11279     * The returned value points to an internal string and should not be freed
11280     * or modified in any way. If the @p entry object is deleted or its
11281     * contents are changed, the returned pointer should be considered invalid.
11282     *
11283     * @param obj The entry object
11284     * @return The selected text within the entry or NULL on failure
11285     */
11286    EAPI const char  *elm_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11287    /**
11288     * Returns the actual textblock object of the entry.
11289     *
11290     * This function exposes the internal textblock object that actually
11291     * contains and draws the text. This should be used for low-level
11292     * manipulations that are otherwise not possible.
11293     *
11294     * Changing the textblock directly from here will not notify edje/elm to
11295     * recalculate the textblock size automatically, so any modifications
11296     * done to the textblock returned by this function should be followed by
11297     * a call to elm_entry_calc_force().
11298     *
11299     * The return value is marked as const as an additional warning.
11300     * One should not use the returned object with any of the generic evas
11301     * functions (geometry_get/resize/move and etc), but only with the textblock
11302     * functions; The former will either not work at all, or break the correct
11303     * functionality.
11304     *
11305     * IMPORTANT: Many functions may change (i.e delete and create a new one)
11306     * the internal textblock object. Do NOT cache the returned object, and try
11307     * not to mix calls on this object with regular elm_entry calls (which may
11308     * change the internal textblock object). This applies to all cursors
11309     * returned from textblock calls, and all the other derivative values.
11310     *
11311     * @param obj The entry object
11312     * @return The textblock object.
11313     */
11314    EAPI const Evas_Object *elm_entry_textblock_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11315    /**
11316     * Forces calculation of the entry size and text layouting.
11317     *
11318     * This should be used after modifying the textblock object directly. See
11319     * elm_entry_textblock_get() for more information.
11320     *
11321     * @param obj The entry object
11322     *
11323     * @see elm_entry_textblock_get()
11324     */
11325    EAPI void elm_entry_calc_force(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11326    /**
11327     * Inserts the given text into the entry at the current cursor position.
11328     *
11329     * This inserts text at the cursor position as if it was typed
11330     * by the user (note that this also allows markup which a user
11331     * can't just "type" as it would be converted to escaped text, so this
11332     * call can be used to insert things like emoticon items or bold push/pop
11333     * tags, other font and color change tags etc.)
11334     *
11335     * If any selection exists, it will be replaced by the inserted text.
11336     *
11337     * The inserted text is subject to any filters set for the widget.
11338     *
11339     * @param obj The entry object
11340     * @param entry The text to insert
11341     *
11342     * @see elm_entry_text_filter_append()
11343     */
11344    EAPI void         elm_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11345    /**
11346     * Set the line wrap type to use on multi-line entries.
11347     *
11348     * Sets the wrap type used by the entry to any of the specified in
11349     * #Elm_Wrap_Type. This tells how the text will be implicitly cut into a new
11350     * line (without inserting a line break or paragraph separator) when it
11351     * reaches the far edge of the widget.
11352     *
11353     * Note that this only makes sense for multi-line entries. A widget set
11354     * to be single line will never wrap.
11355     *
11356     * @param obj The entry object
11357     * @param wrap The wrap mode to use. See #Elm_Wrap_Type for details on them
11358     */
11359    EAPI void         elm_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
11360    /**
11361     * Gets the wrap mode the entry was set to use.
11362     *
11363     * @param obj The entry object
11364     * @return Wrap type
11365     *
11366     * @see also elm_entry_line_wrap_set()
11367     */
11368    EAPI Elm_Wrap_Type elm_entry_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11369    /**
11370     * Sets if the entry is to be editable or not.
11371     *
11372     * By default, entries are editable and when focused, any text input by the
11373     * user will be inserted at the current cursor position. But calling this
11374     * function with @p editable as EINA_FALSE will prevent the user from
11375     * inputting text into the entry.
11376     *
11377     * The only way to change the text of a non-editable entry is to use
11378     * elm_object_text_set(), elm_entry_entry_insert() and other related
11379     * functions.
11380     *
11381     * @param obj The entry object
11382     * @param editable If EINA_TRUE, user input will be inserted in the entry,
11383     * if not, the entry is read-only and no user input is allowed.
11384     */
11385    EAPI void         elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
11386    /**
11387     * Gets whether the entry is editable or not.
11388     *
11389     * @param obj The entry object
11390     * @return If true, the entry is editable by the user.
11391     * If false, it is not editable by the user
11392     *
11393     * @see elm_entry_editable_set()
11394     */
11395    EAPI Eina_Bool    elm_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11396    /**
11397     * This drops any existing text selection within the entry.
11398     *
11399     * @param obj The entry object
11400     */
11401    EAPI void         elm_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
11402    /**
11403     * This selects all text within the entry.
11404     *
11405     * @param obj The entry object
11406     */
11407    EAPI void         elm_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
11408    /**
11409     * This moves the cursor one place to the right within the entry.
11410     *
11411     * @param obj The entry object
11412     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11413     */
11414    EAPI Eina_Bool    elm_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
11415    /**
11416     * This moves the cursor one place to the left within the entry.
11417     *
11418     * @param obj The entry object
11419     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11420     */
11421    EAPI Eina_Bool    elm_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
11422    /**
11423     * This moves the cursor one line up within the entry.
11424     *
11425     * @param obj The entry object
11426     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11427     */
11428    EAPI Eina_Bool    elm_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
11429    /**
11430     * This moves the cursor one line down within the entry.
11431     *
11432     * @param obj The entry object
11433     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11434     */
11435    EAPI Eina_Bool    elm_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
11436    /**
11437     * This moves the cursor to the beginning of the entry.
11438     *
11439     * @param obj The entry object
11440     */
11441    EAPI void         elm_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11442    /**
11443     * This moves the cursor to the end of the entry.
11444     *
11445     * @param obj The entry object
11446     */
11447    EAPI void         elm_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11448    /**
11449     * This moves the cursor to the beginning of the current line.
11450     *
11451     * @param obj The entry object
11452     */
11453    EAPI void         elm_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11454    /**
11455     * This moves the cursor to the end of the current line.
11456     *
11457     * @param obj The entry object
11458     */
11459    EAPI void         elm_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11460    /**
11461     * This begins a selection within the entry as though
11462     * the user were holding down the mouse button to make a selection.
11463     *
11464     * @param obj The entry object
11465     */
11466    EAPI void         elm_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
11467    /**
11468     * This ends a selection within the entry as though
11469     * the user had just released the mouse button while making a selection.
11470     *
11471     * @param obj The entry object
11472     */
11473    EAPI void         elm_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
11474    /**
11475     * Gets whether a format node exists at the current cursor position.
11476     *
11477     * A format node is anything that defines how the text is rendered. It can
11478     * be a visible format node, such as a line break or a paragraph separator,
11479     * or an invisible one, such as bold begin or end tag.
11480     * This function returns whether any format node exists at the current
11481     * cursor position.
11482     *
11483     * @param obj The entry object
11484     * @return EINA_TRUE if the current cursor position contains a format node,
11485     * EINA_FALSE otherwise.
11486     *
11487     * @see elm_entry_cursor_is_visible_format_get()
11488     */
11489    EAPI Eina_Bool    elm_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11490    /**
11491     * Gets if the current cursor position holds a visible format node.
11492     *
11493     * @param obj The entry object
11494     * @return EINA_TRUE if the current cursor is a visible format, EINA_FALSE
11495     * if it's an invisible one or no format exists.
11496     *
11497     * @see elm_entry_cursor_is_format_get()
11498     */
11499    EAPI Eina_Bool    elm_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11500    /**
11501     * Gets the character pointed by the cursor at its current position.
11502     *
11503     * This function returns a string with the utf8 character stored at the
11504     * current cursor position.
11505     * Only the text is returned, any format that may exist will not be part
11506     * of the return value.
11507     *
11508     * @param obj The entry object
11509     * @return The text pointed by the cursors.
11510     */
11511    EAPI const char  *elm_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11512    /**
11513     * This function returns the geometry of the cursor.
11514     *
11515     * It's useful if you want to draw something on the cursor (or where it is),
11516     * or for example in the case of scrolled entry where you want to show the
11517     * cursor.
11518     *
11519     * @param obj The entry object
11520     * @param x returned geometry
11521     * @param y returned geometry
11522     * @param w returned geometry
11523     * @param h returned geometry
11524     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11525     */
11526    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);
11527    /**
11528     * Sets the cursor position in the entry to the given value
11529     *
11530     * The value in @p pos is the index of the character position within the
11531     * contents of the string as returned by elm_entry_cursor_pos_get().
11532     *
11533     * @param obj The entry object
11534     * @param pos The position of the cursor
11535     */
11536    EAPI void         elm_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
11537    /**
11538     * Retrieves the current position of the cursor in the entry
11539     *
11540     * @param obj The entry object
11541     * @return The cursor position
11542     */
11543    EAPI int          elm_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11544    /**
11545     * This executes a "cut" action on the selected text in the entry.
11546     *
11547     * @param obj The entry object
11548     */
11549    EAPI void         elm_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
11550    /**
11551     * This executes a "copy" action on the selected text in the entry.
11552     *
11553     * @param obj The entry object
11554     */
11555    EAPI void         elm_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
11556    /**
11557     * This executes a "paste" action in the entry.
11558     *
11559     * @param obj The entry object
11560     */
11561    EAPI void         elm_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
11562    /**
11563     * This clears and frees the items in a entry's contextual (longpress)
11564     * menu.
11565     *
11566     * @param obj The entry object
11567     *
11568     * @see elm_entry_context_menu_item_add()
11569     */
11570    EAPI void         elm_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
11571    /**
11572     * This adds an item to the entry's contextual menu.
11573     *
11574     * A longpress on an entry will make the contextual menu show up, if this
11575     * hasn't been disabled with elm_entry_context_menu_disabled_set().
11576     * By default, this menu provides a few options like enabling selection mode,
11577     * which is useful on embedded devices that need to be explicit about it,
11578     * and when a selection exists it also shows the copy and cut actions.
11579     *
11580     * With this function, developers can add other options to this menu to
11581     * perform any action they deem necessary.
11582     *
11583     * @param obj The entry object
11584     * @param label The item's text label
11585     * @param icon_file The item's icon file
11586     * @param icon_type The item's icon type
11587     * @param func The callback to execute when the item is clicked
11588     * @param data The data to associate with the item for related functions
11589     */
11590    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);
11591    /**
11592     * This disables the entry's contextual (longpress) menu.
11593     *
11594     * @param obj The entry object
11595     * @param disabled If true, the menu is disabled
11596     */
11597    EAPI void         elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
11598    /**
11599     * This returns whether the entry's contextual (longpress) menu is
11600     * disabled.
11601     *
11602     * @param obj The entry object
11603     * @return If true, the menu is disabled
11604     */
11605    EAPI Eina_Bool    elm_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11606    /**
11607     * This appends a custom item provider to the list for that entry
11608     *
11609     * This appends the given callback. The list is walked from beginning to end
11610     * with each function called given the item href string in the text. If the
11611     * function returns an object handle other than NULL (it should create an
11612     * object to do this), then this object is used to replace that item. If
11613     * not the next provider is called until one provides an item object, or the
11614     * default provider in entry does.
11615     *
11616     * @param obj The entry object
11617     * @param func The function called to provide the item object
11618     * @param data The data passed to @p func
11619     *
11620     * @see @ref entry-items
11621     */
11622    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);
11623    /**
11624     * This prepends a custom item provider to the list for that entry
11625     *
11626     * This prepends the given callback. See elm_entry_item_provider_append() for
11627     * more information
11628     *
11629     * @param obj The entry object
11630     * @param func The function called to provide the item object
11631     * @param data The data passed to @p func
11632     */
11633    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);
11634    /**
11635     * This removes a custom item provider to the list for that entry
11636     *
11637     * This removes the given callback. See elm_entry_item_provider_append() for
11638     * more information
11639     *
11640     * @param obj The entry object
11641     * @param func The function called to provide the item object
11642     * @param data The data passed to @p func
11643     */
11644    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);
11645    /**
11646     * Append a filter function for text inserted in the entry
11647     *
11648     * Append the given callback to the list. This functions will be called
11649     * whenever any text is inserted into the entry, with the text to be inserted
11650     * as a parameter. The callback function is free to alter the text in any way
11651     * it wants, but it must remember to free the given pointer and update it.
11652     * If the new text is to be discarded, the function can free it and set its
11653     * text parameter to NULL. This will also prevent any following filters from
11654     * being called.
11655     *
11656     * @param obj The entry object
11657     * @param func The function to use as text filter
11658     * @param data User data to pass to @p func
11659     */
11660    EAPI void         elm_entry_text_filter_append(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11661    /**
11662     * Prepend a filter function for text insdrted in the entry
11663     *
11664     * Prepend the given callback to the list. See elm_entry_text_filter_append()
11665     * for more information
11666     *
11667     * @param obj The entry object
11668     * @param func The function to use as text filter
11669     * @param data User data to pass to @p func
11670     */
11671    EAPI void         elm_entry_text_filter_prepend(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11672    /**
11673     * Remove a filter from the list
11674     *
11675     * Removes the given callback from the filter list. See
11676     * elm_entry_text_filter_append() for more information.
11677     *
11678     * @param obj The entry object
11679     * @param func The filter function to remove
11680     * @param data The user data passed when adding the function
11681     */
11682    EAPI void         elm_entry_text_filter_remove(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11683    /**
11684     * This converts a markup (HTML-like) string into UTF-8.
11685     *
11686     * The returned string is a malloc'ed buffer and it should be freed when
11687     * not needed anymore.
11688     *
11689     * @param s The string (in markup) to be converted
11690     * @return The converted string (in UTF-8). It should be freed.
11691     */
11692    EAPI char        *elm_entry_markup_to_utf8(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
11693    /**
11694     * This converts a UTF-8 string into markup (HTML-like).
11695     *
11696     * The returned string is a malloc'ed buffer and it should be freed when
11697     * not needed anymore.
11698     *
11699     * @param s The string (in UTF-8) to be converted
11700     * @return The converted string (in markup). It should be freed.
11701     */
11702    EAPI char        *elm_entry_utf8_to_markup(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
11703    /**
11704     * This sets the file (and implicitly loads it) for the text to display and
11705     * then edit. All changes are written back to the file after a short delay if
11706     * the entry object is set to autosave (which is the default).
11707     *
11708     * If the entry had any other file set previously, any changes made to it
11709     * will be saved if the autosave feature is enabled, otherwise, the file
11710     * will be silently discarded and any non-saved changes will be lost.
11711     *
11712     * @param obj The entry object
11713     * @param file The path to the file to load and save
11714     * @param format The file format
11715     */
11716    EAPI void         elm_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
11717    /**
11718     * Gets the file being edited by the entry.
11719     *
11720     * This function can be used to retrieve any file set on the entry for
11721     * edition, along with the format used to load and save it.
11722     *
11723     * @param obj The entry object
11724     * @param file The path to the file to load and save
11725     * @param format The file format
11726     */
11727    EAPI void         elm_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
11728    /**
11729     * This function writes any changes made to the file set with
11730     * elm_entry_file_set()
11731     *
11732     * @param obj The entry object
11733     */
11734    EAPI void         elm_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
11735    /**
11736     * This sets the entry object to 'autosave' the loaded text file or not.
11737     *
11738     * @param obj The entry object
11739     * @param autosave Autosave the loaded file or not
11740     *
11741     * @see elm_entry_file_set()
11742     */
11743    EAPI void         elm_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
11744    /**
11745     * This gets the entry object's 'autosave' status.
11746     *
11747     * @param obj The entry object
11748     * @return Autosave the loaded file or not
11749     *
11750     * @see elm_entry_file_set()
11751     */
11752    EAPI Eina_Bool    elm_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11753    /**
11754     * Control pasting of text and images for the widget.
11755     *
11756     * Normally the entry allows both text and images to be pasted.  By setting
11757     * textonly to be true, this prevents images from being pasted.
11758     *
11759     * Note this only changes the behaviour of text.
11760     *
11761     * @param obj The entry object
11762     * @param textonly paste mode - EINA_TRUE is text only, EINA_FALSE is
11763     * text+image+other.
11764     */
11765    EAPI void         elm_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
11766    /**
11767     * Getting elm_entry text paste/drop mode.
11768     *
11769     * In textonly mode, only text may be pasted or dropped into the widget.
11770     *
11771     * @param obj The entry object
11772     * @return If the widget only accepts text from pastes.
11773     */
11774    EAPI Eina_Bool    elm_entry_cnp_textonly_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11775    /**
11776     * Enable or disable scrolling in entry
11777     *
11778     * Normally the entry is not scrollable unless you enable it with this call.
11779     *
11780     * @param obj The entry object
11781     * @param scroll EINA_TRUE if it is to be scrollable, EINA_FALSE otherwise
11782     */
11783    EAPI void         elm_entry_scrollable_set(Evas_Object *obj, Eina_Bool scroll);
11784    /**
11785     * Get the scrollable state of the entry
11786     *
11787     * Normally the entry is not scrollable. This gets the scrollable state
11788     * of the entry. See elm_entry_scrollable_set() for more information.
11789     *
11790     * @param obj The entry object
11791     * @return The scrollable state
11792     */
11793    EAPI Eina_Bool    elm_entry_scrollable_get(const Evas_Object *obj);
11794    /**
11795     * This sets a widget to be displayed to the left of a scrolled entry.
11796     *
11797     * @param obj The scrolled entry object
11798     * @param icon The widget to display on the left side of the scrolled
11799     * entry.
11800     *
11801     * @note A previously set widget will be destroyed.
11802     * @note If the object being set does not have minimum size hints set,
11803     * it won't get properly displayed.
11804     *
11805     * @see elm_entry_end_set()
11806     */
11807    EAPI void         elm_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
11808    /**
11809     * Gets the leftmost widget of the scrolled entry. This object is
11810     * owned by the scrolled entry and should not be modified.
11811     *
11812     * @param obj The scrolled entry object
11813     * @return the left widget inside the scroller
11814     */
11815    EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *obj);
11816    /**
11817     * Unset the leftmost widget of the scrolled entry, unparenting and
11818     * returning it.
11819     *
11820     * @param obj The scrolled entry object
11821     * @return the previously set icon sub-object of this entry, on
11822     * success.
11823     *
11824     * @see elm_entry_icon_set()
11825     */
11826    EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj);
11827    /**
11828     * Sets the visibility of the left-side widget of the scrolled entry,
11829     * set by elm_entry_icon_set().
11830     *
11831     * @param obj The scrolled entry object
11832     * @param setting EINA_TRUE if the object should be displayed,
11833     * EINA_FALSE if not.
11834     */
11835    EAPI void         elm_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
11836    /**
11837     * This sets a widget to be displayed to the end of a scrolled entry.
11838     *
11839     * @param obj The scrolled entry object
11840     * @param end The widget to display on the right side of the scrolled
11841     * entry.
11842     *
11843     * @note A previously set widget will be destroyed.
11844     * @note If the object being set does not have minimum size hints set,
11845     * it won't get properly displayed.
11846     *
11847     * @see elm_entry_icon_set
11848     */
11849    EAPI void         elm_entry_end_set(Evas_Object *obj, Evas_Object *end);
11850    /**
11851     * Gets the endmost widget of the scrolled entry. This object is owned
11852     * by the scrolled entry and should not be modified.
11853     *
11854     * @param obj The scrolled entry object
11855     * @return the right widget inside the scroller
11856     */
11857    EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj);
11858    /**
11859     * Unset the endmost widget of the scrolled entry, unparenting and
11860     * returning it.
11861     *
11862     * @param obj The scrolled entry object
11863     * @return the previously set icon sub-object of this entry, on
11864     * success.
11865     *
11866     * @see elm_entry_icon_set()
11867     */
11868    EAPI Evas_Object *elm_entry_end_unset(Evas_Object *obj);
11869    /**
11870     * Sets the visibility of the end widget of the scrolled entry, set by
11871     * elm_entry_end_set().
11872     *
11873     * @param obj The scrolled entry object
11874     * @param setting EINA_TRUE if the object should be displayed,
11875     * EINA_FALSE if not.
11876     */
11877    EAPI void         elm_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
11878    /**
11879     * This sets the scrolled entry's scrollbar policy (ie. enabling/disabling
11880     * them).
11881     *
11882     * Setting an entry to single-line mode with elm_entry_single_line_set()
11883     * will automatically disable the display of scrollbars when the entry
11884     * moves inside its scroller.
11885     *
11886     * @param obj The scrolled entry object
11887     * @param h The horizontal scrollbar policy to apply
11888     * @param v The vertical scrollbar policy to apply
11889     */
11890    EAPI void         elm_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
11891    /**
11892     * This enables/disables bouncing within the entry.
11893     *
11894     * This function sets whether the entry will bounce when scrolling reaches
11895     * the end of the contained entry.
11896     *
11897     * @param obj The scrolled entry object
11898     * @param h The horizontal bounce state
11899     * @param v The vertical bounce state
11900     */
11901    EAPI void         elm_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
11902    /**
11903     * Get the bounce mode
11904     *
11905     * @param obj The Entry object
11906     * @param h_bounce Allow bounce horizontally
11907     * @param v_bounce Allow bounce vertically
11908     */
11909    EAPI void         elm_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
11910
11911    /* pre-made filters for entries */
11912    /**
11913     * @typedef Elm_Entry_Filter_Limit_Size
11914     *
11915     * Data for the elm_entry_filter_limit_size() entry filter.
11916     */
11917    typedef struct _Elm_Entry_Filter_Limit_Size Elm_Entry_Filter_Limit_Size;
11918    /**
11919     * @struct _Elm_Entry_Filter_Limit_Size
11920     *
11921     * Data for the elm_entry_filter_limit_size() entry filter.
11922     */
11923    struct _Elm_Entry_Filter_Limit_Size
11924      {
11925         int max_char_count; /**< The maximum number of characters allowed. */
11926         int max_byte_count; /**< The maximum number of bytes allowed*/
11927      };
11928    /**
11929     * Filter inserted text based on user defined character and byte limits
11930     *
11931     * Add this filter to an entry to limit the characters that it will accept
11932     * based the the contents of the provided #Elm_Entry_Filter_Limit_Size.
11933     * The funtion works on the UTF-8 representation of the string, converting
11934     * it from the set markup, thus not accounting for any format in it.
11935     *
11936     * The user must create an #Elm_Entry_Filter_Limit_Size structure and pass
11937     * it as data when setting the filter. In it, it's possible to set limits
11938     * by character count or bytes (any of them is disabled if 0), and both can
11939     * be set at the same time. In that case, it first checks for characters,
11940     * then bytes.
11941     *
11942     * The function will cut the inserted text in order to allow only the first
11943     * number of characters that are still allowed. The cut is made in
11944     * characters, even when limiting by bytes, in order to always contain
11945     * valid ones and avoid half unicode characters making it in.
11946     *
11947     * This filter, like any others, does not apply when setting the entry text
11948     * directly with elm_object_text_set() (or the deprecated
11949     * elm_entry_entry_set()).
11950     */
11951    EAPI void         elm_entry_filter_limit_size(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 2, 3);
11952    /**
11953     * @typedef Elm_Entry_Filter_Accept_Set
11954     *
11955     * Data for the elm_entry_filter_accept_set() entry filter.
11956     */
11957    typedef struct _Elm_Entry_Filter_Accept_Set Elm_Entry_Filter_Accept_Set;
11958    /**
11959     * @struct _Elm_Entry_Filter_Accept_Set
11960     *
11961     * Data for the elm_entry_filter_accept_set() entry filter.
11962     */
11963    struct _Elm_Entry_Filter_Accept_Set
11964      {
11965         const char *accepted; /**< Set of characters accepted in the entry. */
11966         const char *rejected; /**< Set of characters rejected from the entry. */
11967      };
11968    /**
11969     * Filter inserted text based on accepted or rejected sets of characters
11970     *
11971     * Add this filter to an entry to restrict the set of accepted characters
11972     * based on the sets in the provided #Elm_Entry_Filter_Accept_Set.
11973     * This structure contains both accepted and rejected sets, but they are
11974     * mutually exclusive.
11975     *
11976     * The @c accepted set takes preference, so if it is set, the filter will
11977     * only work based on the accepted characters, ignoring anything in the
11978     * @c rejected value. If @c accepted is @c NULL, then @c rejected is used.
11979     *
11980     * In both cases, the function filters by matching utf8 characters to the
11981     * raw markup text, so it can be used to remove formatting tags.
11982     *
11983     * This filter, like any others, does not apply when setting the entry text
11984     * directly with elm_object_text_set() (or the deprecated
11985     * elm_entry_entry_set()).
11986     */
11987    EAPI void         elm_entry_filter_accept_set(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 3);
11988    /**
11989     * Set the input panel layout of the entry
11990     *
11991     * @param obj The entry object
11992     * @param layout layout type
11993     */
11994    EAPI void elm_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout) EINA_ARG_NONNULL(1);
11995    /**
11996     * Get the input panel layout of the entry
11997     *
11998     * @param obj The entry object
11999     * @return layout type
12000     *
12001     * @see elm_entry_input_panel_layout_set
12002     */
12003    EAPI Elm_Input_Panel_Layout elm_entry_input_panel_layout_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
12004    /**
12005     * Set the autocapitalization type on the immodule.
12006     *
12007     * @param obj The entry object
12008     * @param autocapital_type The type of autocapitalization
12009     */
12010    EAPI void         elm_entry_autocapital_type_set(Evas_Object *obj, Elm_Autocapital_Type autocapital_type) EINA_ARG_NONNULL(1);
12011    /**
12012     * Retrieve the autocapitalization type on the immodule.
12013     *
12014     * @param obj The entry object
12015     * @return autocapitalization type
12016     */
12017    EAPI Elm_Autocapital_Type elm_entry_autocapital_type_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
12018    /**
12019     * Sets the attribute to show the input panel automatically.
12020     *
12021     * @param obj The entry object
12022     * @param enabled If true, the input panel is appeared when entry is clicked or has a focus
12023     */
12024    EAPI void elm_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
12025    /**
12026     * Retrieve the attribute to show the input panel automatically.
12027     *
12028     * @param obj The entry object
12029     * @return EINA_TRUE if input panel will be appeared when the entry is clicked or has a focus, EINA_FALSE otherwise
12030     */
12031    EAPI Eina_Bool elm_entry_input_panel_enabled_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
12032
12033    /**
12034     * @}
12035     */
12036
12037    /* composite widgets - these basically put together basic widgets above
12038     * in convenient packages that do more than basic stuff */
12039
12040    /* anchorview */
12041    /**
12042     * @defgroup Anchorview Anchorview
12043     *
12044     * @image html img/widget/anchorview/preview-00.png
12045     * @image latex img/widget/anchorview/preview-00.eps
12046     *
12047     * Anchorview is for displaying text that contains markup with anchors
12048     * like <c>\<a href=1234\>something\</\></c> in it.
12049     *
12050     * Besides being styled differently, the anchorview widget provides the
12051     * necessary functionality so that clicking on these anchors brings up a
12052     * popup with user defined content such as "call", "add to contacts" or
12053     * "open web page". This popup is provided using the @ref Hover widget.
12054     *
12055     * This widget is very similar to @ref Anchorblock, so refer to that
12056     * widget for an example. The only difference Anchorview has is that the
12057     * widget is already provided with scrolling functionality, so if the
12058     * text set to it is too large to fit in the given space, it will scroll,
12059     * whereas the @ref Anchorblock widget will keep growing to ensure all the
12060     * text can be displayed.
12061     *
12062     * This widget emits the following signals:
12063     * @li "anchor,clicked": will be called when an anchor is clicked. The
12064     * @p event_info parameter on the callback will be a pointer of type
12065     * ::Elm_Entry_Anchorview_Info.
12066     *
12067     * See @ref Anchorblock for an example on how to use both of them.
12068     *
12069     * @see Anchorblock
12070     * @see Entry
12071     * @see Hover
12072     *
12073     * @{
12074     */
12075    /**
12076     * @typedef Elm_Entry_Anchorview_Info
12077     *
12078     * The info sent in the callback for "anchor,clicked" signals emitted by
12079     * the Anchorview widget.
12080     */
12081    typedef struct _Elm_Entry_Anchorview_Info Elm_Entry_Anchorview_Info;
12082    /**
12083     * @struct _Elm_Entry_Anchorview_Info
12084     *
12085     * The info sent in the callback for "anchor,clicked" signals emitted by
12086     * the Anchorview widget.
12087     */
12088    struct _Elm_Entry_Anchorview_Info
12089      {
12090         const char     *name; /**< Name of the anchor, as indicated in its href
12091                                    attribute */
12092         int             button; /**< The mouse button used to click on it */
12093         Evas_Object    *hover; /**< The hover object to use for the popup */
12094         struct {
12095              Evas_Coord    x, y, w, h;
12096         } anchor, /**< Geometry selection of text used as anchor */
12097           hover_parent; /**< Geometry of the object used as parent by the
12098                              hover */
12099         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
12100                                              for content on the left side of
12101                                              the hover. Before calling the
12102                                              callback, the widget will make the
12103                                              necessary calculations to check
12104                                              which sides are fit to be set with
12105                                              content, based on the position the
12106                                              hover is activated and its distance
12107                                              to the edges of its parent object
12108                                              */
12109         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
12110                                               the right side of the hover.
12111                                               See @ref hover_left */
12112         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
12113                                             of the hover. See @ref hover_left */
12114         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
12115                                                below the hover. See @ref
12116                                                hover_left */
12117      };
12118    /**
12119     * Add a new Anchorview object
12120     *
12121     * @param parent The parent object
12122     * @return The new object or NULL if it cannot be created
12123     */
12124    EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12125    /**
12126     * Set the text to show in the anchorview
12127     *
12128     * Sets the text of the anchorview to @p text. This text can include markup
12129     * format tags, including <c>\<a href=anchorname\></c> to begin a segment of
12130     * text that will be specially styled and react to click events, ended with
12131     * either of \</a\> or \</\>. When clicked, the anchor will emit an
12132     * "anchor,clicked" signal that you can attach a callback to with
12133     * evas_object_smart_callback_add(). The name of the anchor given in the
12134     * event info struct will be the one set in the href attribute, in this
12135     * case, anchorname.
12136     *
12137     * Other markup can be used to style the text in different ways, but it's
12138     * up to the style defined in the theme which tags do what.
12139     * @deprecated use elm_object_text_set() instead.
12140     */
12141    EINA_DEPRECATED EAPI void         elm_anchorview_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
12142    /**
12143     * Get the markup text set for the anchorview
12144     *
12145     * Retrieves the text set on the anchorview, with markup tags included.
12146     *
12147     * @param obj The anchorview object
12148     * @return The markup text set or @c NULL if nothing was set or an error
12149     * occurred
12150     * @deprecated use elm_object_text_set() instead.
12151     */
12152    EINA_DEPRECATED EAPI const char  *elm_anchorview_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12153    /**
12154     * Set the parent of the hover popup
12155     *
12156     * Sets the parent object to use by the hover created by the anchorview
12157     * when an anchor is clicked. See @ref Hover for more details on this.
12158     * If no parent is set, the same anchorview object will be used.
12159     *
12160     * @param obj The anchorview object
12161     * @param parent The object to use as parent for the hover
12162     */
12163    EAPI void         elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
12164    /**
12165     * Get the parent of the hover popup
12166     *
12167     * Get the object used as parent for the hover created by the anchorview
12168     * widget. See @ref Hover for more details on this.
12169     *
12170     * @param obj The anchorview object
12171     * @return The object used as parent for the hover, NULL if none is set.
12172     */
12173    EAPI Evas_Object *elm_anchorview_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12174    /**
12175     * Set the style that the hover should use
12176     *
12177     * When creating the popup hover, anchorview will request that it's
12178     * themed according to @p style.
12179     *
12180     * @param obj The anchorview object
12181     * @param style The style to use for the underlying hover
12182     *
12183     * @see elm_object_style_set()
12184     */
12185    EAPI void         elm_anchorview_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
12186    /**
12187     * Get the style that the hover should use
12188     *
12189     * Get the style the hover created by anchorview will use.
12190     *
12191     * @param obj The anchorview object
12192     * @return The style to use by the hover. NULL means the default is used.
12193     *
12194     * @see elm_object_style_set()
12195     */
12196    EAPI const char  *elm_anchorview_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12197    /**
12198     * Ends the hover popup in the anchorview
12199     *
12200     * When an anchor is clicked, the anchorview widget will create a hover
12201     * object to use as a popup with user provided content. This function
12202     * terminates this popup, returning the anchorview to its normal state.
12203     *
12204     * @param obj The anchorview object
12205     */
12206    EAPI void         elm_anchorview_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
12207    /**
12208     * Set bouncing behaviour when the scrolled content reaches an edge
12209     *
12210     * Tell the internal scroller object whether it should bounce or not
12211     * when it reaches the respective edges for each axis.
12212     *
12213     * @param obj The anchorview object
12214     * @param h_bounce Whether to bounce or not in the horizontal axis
12215     * @param v_bounce Whether to bounce or not in the vertical axis
12216     *
12217     * @see elm_scroller_bounce_set()
12218     */
12219    EAPI void         elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
12220    /**
12221     * Get the set bouncing behaviour of the internal scroller
12222     *
12223     * Get whether the internal scroller should bounce when the edge of each
12224     * axis is reached scrolling.
12225     *
12226     * @param obj The anchorview object
12227     * @param h_bounce Pointer where to store the bounce state of the horizontal
12228     *                 axis
12229     * @param v_bounce Pointer where to store the bounce state of the vertical
12230     *                 axis
12231     *
12232     * @see elm_scroller_bounce_get()
12233     */
12234    EAPI void         elm_anchorview_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
12235    /**
12236     * Appends a custom item provider to the given anchorview
12237     *
12238     * Appends the given function to the list of items providers. This list is
12239     * called, one function at a time, with the given @p data pointer, the
12240     * anchorview object and, in the @p item parameter, the item name as
12241     * referenced in its href string. Following functions in the list will be
12242     * called in order until one of them returns something different to NULL,
12243     * which should be an Evas_Object which will be used in place of the item
12244     * element.
12245     *
12246     * Items in the markup text take the form \<item relsize=16x16 vsize=full
12247     * href=item/name\>\</item\>
12248     *
12249     * @param obj The anchorview object
12250     * @param func The function to add to the list of providers
12251     * @param data User data that will be passed to the callback function
12252     *
12253     * @see elm_entry_item_provider_append()
12254     */
12255    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);
12256    /**
12257     * Prepend a custom item provider to the given anchorview
12258     *
12259     * Like elm_anchorview_item_provider_append(), but it adds the function
12260     * @p func to the beginning of the list, instead of the end.
12261     *
12262     * @param obj The anchorview object
12263     * @param func The function to add to the list of providers
12264     * @param data User data that will be passed to the callback function
12265     */
12266    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);
12267    /**
12268     * Remove a custom item provider from the list of the given anchorview
12269     *
12270     * Removes the function and data pairing that matches @p func and @p data.
12271     * That is, unless the same function and same user data are given, the
12272     * function will not be removed from the list. This allows us to add the
12273     * same callback several times, with different @p data pointers and be
12274     * able to remove them later without conflicts.
12275     *
12276     * @param obj The anchorview object
12277     * @param func The function to remove from the list
12278     * @param data The data matching the function to remove from the list
12279     */
12280    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);
12281    /**
12282     * @}
12283     */
12284
12285    /* anchorblock */
12286    /**
12287     * @defgroup Anchorblock Anchorblock
12288     *
12289     * @image html img/widget/anchorblock/preview-00.png
12290     * @image latex img/widget/anchorblock/preview-00.eps
12291     *
12292     * Anchorblock is for displaying text that contains markup with anchors
12293     * like <c>\<a href=1234\>something\</\></c> in it.
12294     *
12295     * Besides being styled differently, the anchorblock widget provides the
12296     * necessary functionality so that clicking on these anchors brings up a
12297     * popup with user defined content such as "call", "add to contacts" or
12298     * "open web page". This popup is provided using the @ref Hover widget.
12299     *
12300     * This widget emits the following signals:
12301     * @li "anchor,clicked": will be called when an anchor is clicked. The
12302     * @p event_info parameter on the callback will be a pointer of type
12303     * ::Elm_Entry_Anchorblock_Info.
12304     *
12305     * @see Anchorview
12306     * @see Entry
12307     * @see Hover
12308     *
12309     * Since examples are usually better than plain words, we might as well
12310     * try @ref tutorial_anchorblock_example "one".
12311     */
12312    /**
12313     * @addtogroup Anchorblock
12314     * @{
12315     */
12316    /**
12317     * @typedef Elm_Entry_Anchorblock_Info
12318     *
12319     * The info sent in the callback for "anchor,clicked" signals emitted by
12320     * the Anchorblock widget.
12321     */
12322    typedef struct _Elm_Entry_Anchorblock_Info Elm_Entry_Anchorblock_Info;
12323    /**
12324     * @struct _Elm_Entry_Anchorblock_Info
12325     *
12326     * The info sent in the callback for "anchor,clicked" signals emitted by
12327     * the Anchorblock widget.
12328     */
12329    struct _Elm_Entry_Anchorblock_Info
12330      {
12331         const char     *name; /**< Name of the anchor, as indicated in its href
12332                                    attribute */
12333         int             button; /**< The mouse button used to click on it */
12334         Evas_Object    *hover; /**< The hover object to use for the popup */
12335         struct {
12336              Evas_Coord    x, y, w, h;
12337         } anchor, /**< Geometry selection of text used as anchor */
12338           hover_parent; /**< Geometry of the object used as parent by the
12339                              hover */
12340         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
12341                                              for content on the left side of
12342                                              the hover. Before calling the
12343                                              callback, the widget will make the
12344                                              necessary calculations to check
12345                                              which sides are fit to be set with
12346                                              content, based on the position the
12347                                              hover is activated and its distance
12348                                              to the edges of its parent object
12349                                              */
12350         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
12351                                               the right side of the hover.
12352                                               See @ref hover_left */
12353         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
12354                                             of the hover. See @ref hover_left */
12355         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
12356                                                below the hover. See @ref
12357                                                hover_left */
12358      };
12359    /**
12360     * Add a new Anchorblock object
12361     *
12362     * @param parent The parent object
12363     * @return The new object or NULL if it cannot be created
12364     */
12365    EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12366    /**
12367     * Set the text to show in the anchorblock
12368     *
12369     * Sets the text of the anchorblock to @p text. This text can include markup
12370     * format tags, including <c>\<a href=anchorname\></a></c> to begin a segment
12371     * of text that will be specially styled and react to click events, ended
12372     * with either of \</a\> or \</\>. When clicked, the anchor will emit an
12373     * "anchor,clicked" signal that you can attach a callback to with
12374     * evas_object_smart_callback_add(). The name of the anchor given in the
12375     * event info struct will be the one set in the href attribute, in this
12376     * case, anchorname.
12377     *
12378     * Other markup can be used to style the text in different ways, but it's
12379     * up to the style defined in the theme which tags do what.
12380     * @deprecated use elm_object_text_set() instead.
12381     */
12382    EINA_DEPRECATED EAPI void         elm_anchorblock_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
12383    /**
12384     * Get the markup text set for the anchorblock
12385     *
12386     * Retrieves the text set on the anchorblock, with markup tags included.
12387     *
12388     * @param obj The anchorblock object
12389     * @return The markup text set or @c NULL if nothing was set or an error
12390     * occurred
12391     * @deprecated use elm_object_text_set() instead.
12392     */
12393    EINA_DEPRECATED EAPI const char  *elm_anchorblock_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12394    /**
12395     * Set the parent of the hover popup
12396     *
12397     * Sets the parent object to use by the hover created by the anchorblock
12398     * when an anchor is clicked. See @ref Hover for more details on this.
12399     *
12400     * @param obj The anchorblock object
12401     * @param parent The object to use as parent for the hover
12402     */
12403    EAPI void         elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
12404    /**
12405     * Get the parent of the hover popup
12406     *
12407     * Get the object used as parent for the hover created by the anchorblock
12408     * widget. See @ref Hover for more details on this.
12409     * If no parent is set, the same anchorblock object will be used.
12410     *
12411     * @param obj The anchorblock object
12412     * @return The object used as parent for the hover, NULL if none is set.
12413     */
12414    EAPI Evas_Object *elm_anchorblock_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12415    /**
12416     * Set the style that the hover should use
12417     *
12418     * When creating the popup hover, anchorblock will request that it's
12419     * themed according to @p style.
12420     *
12421     * @param obj The anchorblock object
12422     * @param style The style to use for the underlying hover
12423     *
12424     * @see elm_object_style_set()
12425     */
12426    EAPI void         elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
12427    /**
12428     * Get the style that the hover should use
12429     *
12430     * Get the style, the hover created by anchorblock will use.
12431     *
12432     * @param obj The anchorblock object
12433     * @return The style to use by the hover. NULL means the default is used.
12434     *
12435     * @see elm_object_style_set()
12436     */
12437    EAPI const char  *elm_anchorblock_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12438    /**
12439     * Ends the hover popup in the anchorblock
12440     *
12441     * When an anchor is clicked, the anchorblock widget will create a hover
12442     * object to use as a popup with user provided content. This function
12443     * terminates this popup, returning the anchorblock to its normal state.
12444     *
12445     * @param obj The anchorblock object
12446     */
12447    EAPI void         elm_anchorblock_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
12448    /**
12449     * Appends a custom item provider to the given anchorblock
12450     *
12451     * Appends the given function to the list of items providers. This list is
12452     * called, one function at a time, with the given @p data pointer, the
12453     * anchorblock object and, in the @p item parameter, the item name as
12454     * referenced in its href string. Following functions in the list will be
12455     * called in order until one of them returns something different to NULL,
12456     * which should be an Evas_Object which will be used in place of the item
12457     * element.
12458     *
12459     * Items in the markup text take the form \<item relsize=16x16 vsize=full
12460     * href=item/name\>\</item\>
12461     *
12462     * @param obj The anchorblock object
12463     * @param func The function to add to the list of providers
12464     * @param data User data that will be passed to the callback function
12465     *
12466     * @see elm_entry_item_provider_append()
12467     */
12468    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);
12469    /**
12470     * Prepend a custom item provider to the given anchorblock
12471     *
12472     * Like elm_anchorblock_item_provider_append(), but it adds the function
12473     * @p func to the beginning of the list, instead of the end.
12474     *
12475     * @param obj The anchorblock object
12476     * @param func The function to add to the list of providers
12477     * @param data User data that will be passed to the callback function
12478     */
12479    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);
12480    /**
12481     * Remove a custom item provider from the list of the given anchorblock
12482     *
12483     * Removes the function and data pairing that matches @p func and @p data.
12484     * That is, unless the same function and same user data are given, the
12485     * function will not be removed from the list. This allows us to add the
12486     * same callback several times, with different @p data pointers and be
12487     * able to remove them later without conflicts.
12488     *
12489     * @param obj The anchorblock object
12490     * @param func The function to remove from the list
12491     * @param data The data matching the function to remove from the list
12492     */
12493    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);
12494    /**
12495     * @}
12496     */
12497
12498    /**
12499     * @defgroup Bubble Bubble
12500     *
12501     * @image html img/widget/bubble/preview-00.png
12502     * @image latex img/widget/bubble/preview-00.eps
12503     * @image html img/widget/bubble/preview-01.png
12504     * @image latex img/widget/bubble/preview-01.eps
12505     * @image html img/widget/bubble/preview-02.png
12506     * @image latex img/widget/bubble/preview-02.eps
12507     *
12508     * @brief The Bubble is a widget to show text similar to how speech is
12509     * represented in comics.
12510     *
12511     * The bubble widget contains 5 important visual elements:
12512     * @li The frame is a rectangle with rounded edjes and an "arrow".
12513     * @li The @p icon is an image to which the frame's arrow points to.
12514     * @li The @p label is a text which appears to the right of the icon if the
12515     * corner is "top_left" or "bottom_left" and is right aligned to the frame
12516     * otherwise.
12517     * @li The @p info is a text which appears to the right of the label. Info's
12518     * font is of a ligther color than label.
12519     * @li The @p content is an evas object that is shown inside the frame.
12520     *
12521     * The position of the arrow, icon, label and info depends on which corner is
12522     * selected. The four available corners are:
12523     * @li "top_left" - Default
12524     * @li "top_right"
12525     * @li "bottom_left"
12526     * @li "bottom_right"
12527     *
12528     * Signals that you can add callbacks for are:
12529     * @li "clicked" - This is called when a user has clicked the bubble.
12530     *
12531     * Default contents parts of the bubble that you can use for are:
12532     * @li "default" - A content of the bubble
12533     * @li "icon" - An icon of the bubble
12534     *
12535     * Default text parts of the button widget that you can use for are:
12536     * @li NULL - Label of the bubble
12537     * 
12538          * For an example of using a buble see @ref bubble_01_example_page "this".
12539     *
12540     * @{
12541     */
12542
12543    /**
12544     * Add a new bubble to the parent
12545     *
12546     * @param parent The parent object
12547     * @return The new object or NULL if it cannot be created
12548     *
12549     * This function adds a text bubble to the given parent evas object.
12550     */
12551    EAPI Evas_Object *elm_bubble_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12552    /**
12553     * Set the label of the bubble
12554     *
12555     * @param obj The bubble object
12556     * @param label The string to set in the label
12557     *
12558     * This function sets the title of the bubble. Where this appears depends on
12559     * the selected corner.
12560     * @deprecated use elm_object_text_set() instead.
12561     */
12562    EINA_DEPRECATED EAPI void         elm_bubble_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
12563    /**
12564     * Get the label of the bubble
12565     *
12566     * @param obj The bubble object
12567     * @return The string of set in the label
12568     *
12569     * This function gets the title of the bubble.
12570     * @deprecated use elm_object_text_get() instead.
12571     */
12572    EINA_DEPRECATED EAPI const char  *elm_bubble_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12573    /**
12574     * Set the info of the bubble
12575     *
12576     * @param obj The bubble object
12577     * @param info The given info about the bubble
12578     *
12579     * This function sets the info of the bubble. Where this appears depends on
12580     * the selected corner.
12581     * @deprecated use elm_object_part_text_set() instead. (with "info" as the parameter).
12582     */
12583    EINA_DEPRECATED EAPI void         elm_bubble_info_set(Evas_Object *obj, const char *info) EINA_ARG_NONNULL(1);
12584    /**
12585     * Get the info of the bubble
12586     *
12587     * @param obj The bubble object
12588     *
12589     * @return The "info" string of the bubble
12590     *
12591     * This function gets the info text.
12592     * @deprecated use elm_object_part_text_get() instead. (with "info" as the parameter).
12593     */
12594    EINA_DEPRECATED EAPI const char  *elm_bubble_info_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12595    /**
12596     * Set the content to be shown in the bubble
12597     *
12598     * Once the content object is set, a previously set one will be deleted.
12599     * If you want to keep the old content object, use the
12600     * elm_bubble_content_unset() function.
12601     *
12602     * @param obj The bubble object
12603     * @param content The given content of the bubble
12604     *
12605     * This function sets the content shown on the middle of the bubble.
12606     * 
12607     * @deprecated use elm_object_content_set() instead
12608     *
12609     */
12610    EINA_DEPRECATED EAPI void         elm_bubble_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
12611    /**
12612     * Get the content shown in the bubble
12613     *
12614     * Return the content object which is set for this widget.
12615     *
12616     * @param obj The bubble object
12617     * @return The content that is being used
12618     *
12619     * @deprecated use elm_object_content_get() instead
12620     *
12621     */
12622    EINA_DEPRECATED EAPI Evas_Object *elm_bubble_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12623    /**
12624     * Unset the content shown in the bubble
12625     *
12626     * Unparent and return the content object which was set for this widget.
12627     *
12628     * @param obj The bubble object
12629     * @return The content that was being used
12630     *
12631     * @deprecated use elm_object_content_unset() instead
12632     *
12633     */
12634    EINA_DEPRECATED EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
12635    /**
12636     * Set the icon of the bubble
12637     *
12638     * Once the icon object is set, a previously set one will be deleted.
12639     * If you want to keep the old content object, use the
12640     * elm_icon_content_unset() function.
12641     *
12642     * @param obj The bubble object
12643     * @param icon The given icon for the bubble
12644     *
12645     * @deprecated use elm_object_part_content_set() instead
12646     *
12647     */
12648    EINA_DEPRECATED EAPI void         elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
12649    /**
12650     * Get the icon of the bubble
12651     *
12652     * @param obj The bubble object
12653     * @return The icon for the bubble
12654     *
12655     * This function gets the icon shown on the top left of bubble.
12656     *
12657     * @deprecated use elm_object_part_content_get() instead
12658     *
12659     */
12660    EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12661    /**
12662     * Unset the icon of the bubble
12663     *
12664     * Unparent and return the icon object which was set for this widget.
12665     *
12666     * @param obj The bubble object
12667     * @return The icon that was being used
12668     *
12669     * @deprecated use elm_object_part_content_unset() instead
12670     *
12671     */
12672    EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
12673    /**
12674     * Set the corner of the bubble
12675     *
12676     * @param obj The bubble object.
12677     * @param corner The given corner for the bubble.
12678     *
12679     * This function sets the corner of the bubble. The corner will be used to
12680     * determine where the arrow in the frame points to and where label, icon and
12681     * info are shown.
12682     *
12683     * Possible values for corner are:
12684     * @li "top_left" - Default
12685     * @li "top_right"
12686     * @li "bottom_left"
12687     * @li "bottom_right"
12688     */
12689    EAPI void         elm_bubble_corner_set(Evas_Object *obj, const char *corner) EINA_ARG_NONNULL(1, 2);
12690    /**
12691     * Get the corner of the bubble
12692     *
12693     * @param obj The bubble object.
12694     * @return The given corner for the bubble.
12695     *
12696     * This function gets the selected corner of the bubble.
12697     */
12698    EAPI const char  *elm_bubble_corner_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12699    /**
12700     * @}
12701     */
12702
12703    /**
12704     * @defgroup Photo Photo
12705     *
12706     * For displaying the photo of a person (contact). Simple, yet
12707     * with a very specific purpose.
12708     *
12709     * Signals that you can add callbacks for are:
12710     *
12711     * "clicked" - This is called when a user has clicked the photo
12712     * "drag,start" - Someone started dragging the image out of the object
12713     * "drag,end" - Dragged item was dropped (somewhere)
12714     *
12715     * @{
12716     */
12717
12718    /**
12719     * Add a new photo to the parent
12720     *
12721     * @param parent The parent object
12722     * @return The new object or NULL if it cannot be created
12723     *
12724     * @ingroup Photo
12725     */
12726    EAPI Evas_Object *elm_photo_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12727
12728    /**
12729     * Set the file that will be used as photo
12730     *
12731     * @param obj The photo object
12732     * @param file The path to file that will be used as photo
12733     *
12734     * @return (1 = success, 0 = error)
12735     *
12736     * @ingroup Photo
12737     */
12738    EAPI Eina_Bool    elm_photo_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
12739
12740     /**
12741     * Set the file that will be used as thumbnail in the photo.
12742     *
12743     * @param obj The photo object.
12744     * @param file The path to file that will be used as thumb.
12745     * @param group The key used in case of an EET file.
12746     *
12747     * @ingroup Photo
12748     */
12749    EAPI void         elm_photo_thumb_set(const Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
12750
12751    /**
12752     * Set the size that will be used on the photo
12753     *
12754     * @param obj The photo object
12755     * @param size The size that the photo will be
12756     *
12757     * @ingroup Photo
12758     */
12759    EAPI void         elm_photo_size_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
12760
12761    /**
12762     * Set if the photo should be completely visible or not.
12763     *
12764     * @param obj The photo object
12765     * @param fill if true the photo will be completely visible
12766     *
12767     * @ingroup Photo
12768     */
12769    EAPI void         elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill) EINA_ARG_NONNULL(1);
12770
12771    /**
12772     * Set editability of the photo.
12773     *
12774     * An editable photo can be dragged to or from, and can be cut or
12775     * pasted too.  Note that pasting an image or dropping an item on
12776     * the image will delete the existing content.
12777     *
12778     * @param obj The photo object.
12779     * @param set To set of clear editablity.
12780     */
12781    EAPI void         elm_photo_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
12782
12783    /**
12784     * @}
12785     */
12786
12787    /* gesture layer */
12788    /**
12789     * @defgroup Elm_Gesture_Layer Gesture Layer
12790     * Gesture Layer Usage:
12791     *
12792     * Use Gesture Layer to detect gestures.
12793     * The advantage is that you don't have to implement
12794     * gesture detection, just set callbacks of gesture state.
12795     * By using gesture layer we make standard interface.
12796     *
12797     * In order to use Gesture Layer you start with @ref elm_gesture_layer_add
12798     * with a parent object parameter.
12799     * Next 'activate' gesture layer with a @ref elm_gesture_layer_attach
12800     * call. Usually with same object as target (2nd parameter).
12801     *
12802     * Now you need to tell gesture layer what gestures you follow.
12803     * This is done with @ref elm_gesture_layer_cb_set call.
12804     * By setting the callback you actually saying to gesture layer:
12805     * I would like to know when the gesture @ref Elm_Gesture_Types
12806     * switches to state @ref Elm_Gesture_State.
12807     *
12808     * Next, you need to implement the actual action that follows the input
12809     * in your callback.
12810     *
12811     * Note that if you like to stop being reported about a gesture, just set
12812     * all callbacks referring this gesture to NULL.
12813     * (again with @ref elm_gesture_layer_cb_set)
12814     *
12815     * The information reported by gesture layer to your callback is depending
12816     * on @ref Elm_Gesture_Types:
12817     * @ref Elm_Gesture_Taps_Info is the info reported for tap gestures:
12818     * @ref ELM_GESTURE_N_TAPS, @ref ELM_GESTURE_N_LONG_TAPS,
12819     * @ref ELM_GESTURE_N_DOUBLE_TAPS, @ref ELM_GESTURE_N_TRIPLE_TAPS.
12820     *
12821     * @ref Elm_Gesture_Momentum_Info is info reported for momentum gestures:
12822     * @ref ELM_GESTURE_MOMENTUM.
12823     *
12824     * @ref Elm_Gesture_Line_Info is the info reported for line gestures:
12825     * (this also contains @ref Elm_Gesture_Momentum_Info internal structure)
12826     * @ref ELM_GESTURE_N_LINES, @ref ELM_GESTURE_N_FLICKS.
12827     * Note that we consider a flick as a line-gesture that should be completed
12828     * in flick-time-limit as defined in @ref Config.
12829     *
12830     * @ref Elm_Gesture_Zoom_Info is the info reported for @ref ELM_GESTURE_ZOOM gesture.
12831     *
12832     * @ref Elm_Gesture_Rotate_Info is the info reported for @ref ELM_GESTURE_ROTATE gesture.
12833     *
12834     *
12835     * Gesture Layer Tweaks:
12836     *
12837     * Note that line, flick, gestures can start without the need to remove fingers from surface.
12838     * When user fingers rests on same-spot gesture is ended and starts again when fingers moved.
12839     *
12840     * Setting glayer_continues_enable to false in @ref Config will change this behavior
12841     * so gesture starts when user touches (a *DOWN event) touch-surface
12842     * and ends when no fingers touches surface (a *UP event).
12843     */
12844
12845    /**
12846     * @enum _Elm_Gesture_Types
12847     * Enum of supported gesture types.
12848     * @ingroup Elm_Gesture_Layer
12849     */
12850    enum _Elm_Gesture_Types
12851      {
12852         ELM_GESTURE_FIRST = 0,
12853
12854         ELM_GESTURE_N_TAPS, /**< N fingers single taps */
12855         ELM_GESTURE_N_LONG_TAPS, /**< N fingers single long-taps */
12856         ELM_GESTURE_N_DOUBLE_TAPS, /**< N fingers double-single taps */
12857         ELM_GESTURE_N_TRIPLE_TAPS, /**< N fingers triple-single taps */
12858
12859         ELM_GESTURE_MOMENTUM, /**< Reports momentum in the dircetion of move */
12860
12861         ELM_GESTURE_N_LINES, /**< N fingers line gesture */
12862         ELM_GESTURE_N_FLICKS, /**< N fingers flick gesture */
12863
12864         ELM_GESTURE_ZOOM, /**< Zoom */
12865         ELM_GESTURE_ROTATE, /**< Rotate */
12866
12867         ELM_GESTURE_LAST
12868      };
12869
12870    /**
12871     * @typedef Elm_Gesture_Types
12872     * gesture types enum
12873     * @ingroup Elm_Gesture_Layer
12874     */
12875    typedef enum _Elm_Gesture_Types Elm_Gesture_Types;
12876
12877    /**
12878     * @enum _Elm_Gesture_State
12879     * Enum of gesture states.
12880     * @ingroup Elm_Gesture_Layer
12881     */
12882    enum _Elm_Gesture_State
12883      {
12884         ELM_GESTURE_STATE_UNDEFINED = -1, /**< Gesture not STARTed */
12885         ELM_GESTURE_STATE_START,          /**< Gesture STARTed     */
12886         ELM_GESTURE_STATE_MOVE,           /**< Gesture is ongoing  */
12887         ELM_GESTURE_STATE_END,            /**< Gesture completed   */
12888         ELM_GESTURE_STATE_ABORT    /**< Onging gesture was ABORTed */
12889      };
12890
12891    /**
12892     * @typedef Elm_Gesture_State
12893     * gesture states enum
12894     * @ingroup Elm_Gesture_Layer
12895     */
12896    typedef enum _Elm_Gesture_State Elm_Gesture_State;
12897
12898    /**
12899     * @struct _Elm_Gesture_Taps_Info
12900     * Struct holds taps info for user
12901     * @ingroup Elm_Gesture_Layer
12902     */
12903    struct _Elm_Gesture_Taps_Info
12904      {
12905         Evas_Coord x, y;         /**< Holds center point between fingers */
12906         unsigned int n;          /**< Number of fingers tapped           */
12907         unsigned int timestamp;  /**< event timestamp       */
12908      };
12909
12910    /**
12911     * @typedef Elm_Gesture_Taps_Info
12912     * holds taps info for user
12913     * @ingroup Elm_Gesture_Layer
12914     */
12915    typedef struct _Elm_Gesture_Taps_Info Elm_Gesture_Taps_Info;
12916
12917    /**
12918     * @struct _Elm_Gesture_Momentum_Info
12919     * Struct holds momentum info for user
12920     * x1 and y1 are not necessarily in sync
12921     * x1 holds x value of x direction starting point
12922     * and same holds for y1.
12923     * This is noticeable when doing V-shape movement
12924     * @ingroup Elm_Gesture_Layer
12925     */
12926    struct _Elm_Gesture_Momentum_Info
12927      {  /* Report line ends, timestamps, and momentum computed        */
12928         Evas_Coord x1; /**< Final-swipe direction starting point on X */
12929         Evas_Coord y1; /**< Final-swipe direction starting point on Y */
12930         Evas_Coord x2; /**< Final-swipe direction ending point on X   */
12931         Evas_Coord y2; /**< Final-swipe direction ending point on Y   */
12932
12933         unsigned int tx; /**< Timestamp of start of final x-swipe */
12934         unsigned int ty; /**< Timestamp of start of final y-swipe */
12935
12936         Evas_Coord mx; /**< Momentum on X */
12937         Evas_Coord my; /**< Momentum on Y */
12938
12939         unsigned int n;  /**< Number of fingers */
12940      };
12941
12942    /**
12943     * @typedef Elm_Gesture_Momentum_Info
12944     * holds momentum info for user
12945     * @ingroup Elm_Gesture_Layer
12946     */
12947     typedef struct _Elm_Gesture_Momentum_Info Elm_Gesture_Momentum_Info;
12948
12949    /**
12950     * @struct _Elm_Gesture_Line_Info
12951     * Struct holds line info for user
12952     * @ingroup Elm_Gesture_Layer
12953     */
12954    struct _Elm_Gesture_Line_Info
12955      {  /* Report line ends, timestamps, and momentum computed      */
12956         Elm_Gesture_Momentum_Info momentum; /**< Line momentum info */
12957         double angle;              /**< Angle (direction) of lines  */
12958      };
12959
12960    /**
12961     * @typedef Elm_Gesture_Line_Info
12962     * Holds line info for user
12963     * @ingroup Elm_Gesture_Layer
12964     */
12965     typedef struct  _Elm_Gesture_Line_Info Elm_Gesture_Line_Info;
12966
12967    /**
12968     * @struct _Elm_Gesture_Zoom_Info
12969     * Struct holds zoom info for user
12970     * @ingroup Elm_Gesture_Layer
12971     */
12972    struct _Elm_Gesture_Zoom_Info
12973      {
12974         Evas_Coord x, y;       /**< Holds zoom center point reported to user  */
12975         Evas_Coord radius; /**< Holds radius between fingers reported to user */
12976         double zoom;            /**< Zoom value: 1.0 means no zoom             */
12977         double momentum;        /**< Zoom momentum: zoom growth per second (NOT YET SUPPORTED) */
12978      };
12979
12980    /**
12981     * @typedef Elm_Gesture_Zoom_Info
12982     * Holds zoom info for user
12983     * @ingroup Elm_Gesture_Layer
12984     */
12985    typedef struct _Elm_Gesture_Zoom_Info Elm_Gesture_Zoom_Info;
12986
12987    /**
12988     * @struct _Elm_Gesture_Rotate_Info
12989     * Struct holds rotation info for user
12990     * @ingroup Elm_Gesture_Layer
12991     */
12992    struct _Elm_Gesture_Rotate_Info
12993      {
12994         Evas_Coord x, y;   /**< Holds zoom center point reported to user      */
12995         Evas_Coord radius; /**< Holds radius between fingers reported to user */
12996         double base_angle; /**< Holds start-angle */
12997         double angle;      /**< Rotation value: 0.0 means no rotation         */
12998         double momentum;   /**< Rotation momentum: rotation done per second (NOT YET SUPPORTED) */
12999      };
13000
13001    /**
13002     * @typedef Elm_Gesture_Rotate_Info
13003     * Holds rotation info for user
13004     * @ingroup Elm_Gesture_Layer
13005     */
13006    typedef struct _Elm_Gesture_Rotate_Info Elm_Gesture_Rotate_Info;
13007
13008    /**
13009     * @typedef Elm_Gesture_Event_Cb
13010     * User callback used to stream gesture info from gesture layer
13011     * @param data user data
13012     * @param event_info gesture report info
13013     * Returns a flag field to be applied on the causing event.
13014     * You should probably return EVAS_EVENT_FLAG_ON_HOLD if your widget acted
13015     * upon the event, in an irreversible way.
13016     *
13017     * @ingroup Elm_Gesture_Layer
13018     */
13019    typedef Evas_Event_Flags (*Elm_Gesture_Event_Cb) (void *data, void *event_info);
13020
13021    /**
13022     * Use function to set callbacks to be notified about
13023     * change of state of gesture.
13024     * When a user registers a callback with this function
13025     * this means this gesture has to be tested.
13026     *
13027     * When ALL callbacks for a gesture are set to NULL
13028     * it means user isn't interested in gesture-state
13029     * and it will not be tested.
13030     *
13031     * @param obj Pointer to gesture-layer.
13032     * @param idx The gesture you would like to track its state.
13033     * @param cb callback function pointer.
13034     * @param cb_type what event this callback tracks: START, MOVE, END, ABORT.
13035     * @param data user info to be sent to callback (usually, Smart Data)
13036     *
13037     * @ingroup Elm_Gesture_Layer
13038     */
13039    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);
13040
13041    /**
13042     * Call this function to get repeat-events settings.
13043     *
13044     * @param obj Pointer to gesture-layer.
13045     *
13046     * @return repeat events settings.
13047     * @see elm_gesture_layer_hold_events_set()
13048     * @ingroup Elm_Gesture_Layer
13049     */
13050    EAPI Eina_Bool elm_gesture_layer_hold_events_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
13051
13052    /**
13053     * This function called in order to make gesture-layer repeat events.
13054     * Set this of you like to get the raw events only if gestures were not detected.
13055     * Clear this if you like gesture layer to fwd events as testing gestures.
13056     *
13057     * @param obj Pointer to gesture-layer.
13058     * @param r Repeat: TRUE/FALSE
13059     *
13060     * @ingroup Elm_Gesture_Layer
13061     */
13062    EAPI void elm_gesture_layer_hold_events_set(Evas_Object *obj, Eina_Bool r) EINA_ARG_NONNULL(1);
13063
13064    /**
13065     * This function sets step-value for zoom action.
13066     * Set step to any positive value.
13067     * Cancel step setting by setting to 0.0
13068     *
13069     * @param obj Pointer to gesture-layer.
13070     * @param s new zoom step value.
13071     *
13072     * @ingroup Elm_Gesture_Layer
13073     */
13074    EAPI void elm_gesture_layer_zoom_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
13075
13076    /**
13077     * This function sets step-value for rotate action.
13078     * Set step to any positive value.
13079     * Cancel step setting by setting to 0.0
13080     *
13081     * @param obj Pointer to gesture-layer.
13082     * @param s new roatate step value.
13083     *
13084     * @ingroup Elm_Gesture_Layer
13085     */
13086    EAPI void elm_gesture_layer_rotate_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
13087
13088    /**
13089     * This function called to attach gesture-layer to an Evas_Object.
13090     * @param obj Pointer to gesture-layer.
13091     * @param t Pointer to underlying object (AKA Target)
13092     *
13093     * @return TRUE, FALSE on success, failure.
13094     *
13095     * @ingroup Elm_Gesture_Layer
13096     */
13097    EAPI Eina_Bool elm_gesture_layer_attach(Evas_Object *obj, Evas_Object *t) EINA_ARG_NONNULL(1, 2);
13098
13099    /**
13100     * Call this function to construct a new gesture-layer object.
13101     * This does not activate the gesture layer. You have to
13102     * call elm_gesture_layer_attach in order to 'activate' gesture-layer.
13103     *
13104     * @param parent the parent object.
13105     *
13106     * @return Pointer to new gesture-layer object.
13107     *
13108     * @ingroup Elm_Gesture_Layer
13109     */
13110    EAPI Evas_Object *elm_gesture_layer_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13111
13112    /**
13113     * @defgroup Thumb Thumb
13114     *
13115     * @image html img/widget/thumb/preview-00.png
13116     * @image latex img/widget/thumb/preview-00.eps
13117     *
13118     * A thumb object is used for displaying the thumbnail of an image or video.
13119     * You must have compiled Elementary with Ethumb_Client support and the DBus
13120     * service must be present and auto-activated in order to have thumbnails to
13121     * be generated.
13122     *
13123     * Once the thumbnail object becomes visible, it will check if there is a
13124     * previously generated thumbnail image for the file set on it. If not, it
13125     * will start generating this thumbnail.
13126     *
13127     * Different config settings will cause different thumbnails to be generated
13128     * even on the same file.
13129     *
13130     * Generated thumbnails are stored under @c $HOME/.thumbnails/. Check the
13131     * Ethumb documentation to change this path, and to see other configuration
13132     * options.
13133     *
13134     * Signals that you can add callbacks for are:
13135     *
13136     * - "clicked" - This is called when a user has clicked the thumb without dragging
13137     *             around.
13138     * - "clicked,double" - This is called when a user has double-clicked the thumb.
13139     * - "press" - This is called when a user has pressed down the thumb.
13140     * - "generate,start" - The thumbnail generation started.
13141     * - "generate,stop" - The generation process stopped.
13142     * - "generate,error" - The generation failed.
13143     * - "load,error" - The thumbnail image loading failed.
13144     *
13145     * available styles:
13146     * - default
13147     * - noframe
13148     *
13149     * An example of use of thumbnail:
13150     *
13151     * - @ref thumb_example_01
13152     */
13153
13154    /**
13155     * @addtogroup Thumb
13156     * @{
13157     */
13158
13159    /**
13160     * @enum _Elm_Thumb_Animation_Setting
13161     * @typedef Elm_Thumb_Animation_Setting
13162     *
13163     * Used to set if a video thumbnail is animating or not.
13164     *
13165     * @ingroup Thumb
13166     */
13167    typedef enum _Elm_Thumb_Animation_Setting
13168      {
13169         ELM_THUMB_ANIMATION_START = 0, /**< Play animation once */
13170         ELM_THUMB_ANIMATION_LOOP,      /**< Keep playing animation until stop is requested */
13171         ELM_THUMB_ANIMATION_STOP,      /**< Stop playing the animation */
13172         ELM_THUMB_ANIMATION_LAST
13173      } Elm_Thumb_Animation_Setting;
13174
13175    /**
13176     * Add a new thumb object to the parent.
13177     *
13178     * @param parent The parent object.
13179     * @return The new object or NULL if it cannot be created.
13180     *
13181     * @see elm_thumb_file_set()
13182     * @see elm_thumb_ethumb_client_get()
13183     *
13184     * @ingroup Thumb
13185     */
13186    EAPI Evas_Object                 *elm_thumb_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13187    /**
13188     * Reload thumbnail if it was generated before.
13189     *
13190     * @param obj The thumb object to reload
13191     *
13192     * This is useful if the ethumb client configuration changed, like its
13193     * size, aspect or any other property one set in the handle returned
13194     * by elm_thumb_ethumb_client_get().
13195     *
13196     * If the options didn't change, the thumbnail won't be generated again, but
13197     * the old one will still be used.
13198     *
13199     * @see elm_thumb_file_set()
13200     *
13201     * @ingroup Thumb
13202     */
13203    EAPI void                         elm_thumb_reload(Evas_Object *obj) EINA_ARG_NONNULL(1);
13204    /**
13205     * Set the file that will be used as thumbnail.
13206     *
13207     * @param obj The thumb object.
13208     * @param file The path to file that will be used as thumb.
13209     * @param key The key used in case of an EET file.
13210     *
13211     * The file can be an image or a video (in that case, acceptable extensions are:
13212     * avi, mp4, ogv, mov, mpg and wmv). To start the video animation, use the
13213     * function elm_thumb_animate().
13214     *
13215     * @see elm_thumb_file_get()
13216     * @see elm_thumb_reload()
13217     * @see elm_thumb_animate()
13218     *
13219     * @ingroup Thumb
13220     */
13221    EAPI void                         elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key) EINA_ARG_NONNULL(1);
13222    /**
13223     * Get the image or video path and key used to generate the thumbnail.
13224     *
13225     * @param obj The thumb object.
13226     * @param file Pointer to filename.
13227     * @param key Pointer to key.
13228     *
13229     * @see elm_thumb_file_set()
13230     * @see elm_thumb_path_get()
13231     *
13232     * @ingroup Thumb
13233     */
13234    EAPI void                         elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
13235    /**
13236     * Get the path and key to the image or video generated by ethumb.
13237     *
13238     * One just need to make sure that the thumbnail was generated before getting
13239     * its path; otherwise, the path will be NULL. One way to do that is by asking
13240     * for the path when/after the "generate,stop" smart callback is called.
13241     *
13242     * @param obj The thumb object.
13243     * @param file Pointer to thumb path.
13244     * @param key Pointer to thumb key.
13245     *
13246     * @see elm_thumb_file_get()
13247     *
13248     * @ingroup Thumb
13249     */
13250    EAPI void                         elm_thumb_path_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
13251    /**
13252     * Set the animation state for the thumb object. If its content is an animated
13253     * video, you may start/stop the animation or tell it to play continuously and
13254     * looping.
13255     *
13256     * @param obj The thumb object.
13257     * @param setting The animation setting.
13258     *
13259     * @see elm_thumb_file_set()
13260     *
13261     * @ingroup Thumb
13262     */
13263    EAPI void                         elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s) EINA_ARG_NONNULL(1);
13264    /**
13265     * Get the animation state for the thumb object.
13266     *
13267     * @param obj The thumb object.
13268     * @return getting The animation setting or @c ELM_THUMB_ANIMATION_LAST,
13269     * on errors.
13270     *
13271     * @see elm_thumb_animate_set()
13272     *
13273     * @ingroup Thumb
13274     */
13275    EAPI Elm_Thumb_Animation_Setting  elm_thumb_animate_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13276    /**
13277     * Get the ethumb_client handle so custom configuration can be made.
13278     *
13279     * @return Ethumb_Client instance or NULL.
13280     *
13281     * This must be called before the objects are created to be sure no object is
13282     * visible and no generation started.
13283     *
13284     * Example of usage:
13285     *
13286     * @code
13287     * #include <Elementary.h>
13288     * #ifndef ELM_LIB_QUICKLAUNCH
13289     * EAPI_MAIN int
13290     * elm_main(int argc, char **argv)
13291     * {
13292     *    Ethumb_Client *client;
13293     *
13294     *    elm_need_ethumb();
13295     *
13296     *    // ... your code
13297     *
13298     *    client = elm_thumb_ethumb_client_get();
13299     *    if (!client)
13300     *      {
13301     *         ERR("could not get ethumb_client");
13302     *         return 1;
13303     *      }
13304     *    ethumb_client_size_set(client, 100, 100);
13305     *    ethumb_client_crop_align_set(client, 0.5, 0.5);
13306     *    // ... your code
13307     *
13308     *    // Create elm_thumb objects here
13309     *
13310     *    elm_run();
13311     *    elm_shutdown();
13312     *    return 0;
13313     * }
13314     * #endif
13315     * ELM_MAIN()
13316     * @endcode
13317     *
13318     * @note There's only one client handle for Ethumb, so once a configuration
13319     * change is done to it, any other request for thumbnails (for any thumbnail
13320     * object) will use that configuration. Thus, this configuration is global.
13321     *
13322     * @ingroup Thumb
13323     */
13324    EAPI void                        *elm_thumb_ethumb_client_get(void);
13325    /**
13326     * Get the ethumb_client connection state.
13327     *
13328     * @return EINA_TRUE if the client is connected to the server or EINA_FALSE
13329     * otherwise.
13330     */
13331    EAPI Eina_Bool                    elm_thumb_ethumb_client_connected(void);
13332    /**
13333     * Make the thumbnail 'editable'.
13334     *
13335     * @param obj Thumb object.
13336     * @param set Turn on or off editability. Default is @c EINA_FALSE.
13337     *
13338     * This means the thumbnail is a valid drag target for drag and drop, and can be
13339     * cut or pasted too.
13340     *
13341     * @see elm_thumb_editable_get()
13342     *
13343     * @ingroup Thumb
13344     */
13345    EAPI Eina_Bool                    elm_thumb_editable_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
13346    /**
13347     * Make the thumbnail 'editable'.
13348     *
13349     * @param obj Thumb object.
13350     * @return Editability.
13351     *
13352     * This means the thumbnail is a valid drag target for drag and drop, and can be
13353     * cut or pasted too.
13354     *
13355     * @see elm_thumb_editable_set()
13356     *
13357     * @ingroup Thumb
13358     */
13359    EAPI Eina_Bool                    elm_thumb_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13360
13361    /**
13362     * @}
13363     */
13364
13365    /**
13366     * @defgroup Web Web
13367     *
13368     * @image html img/widget/web/preview-00.png
13369     * @image latex img/widget/web/preview-00.eps
13370     *
13371     * A web object is used for displaying web pages (HTML/CSS/JS)
13372     * using WebKit-EFL. You must have compiled Elementary with
13373     * ewebkit support.
13374     *
13375     * Signals that you can add callbacks for are:
13376     * @li "download,request": A file download has been requested. Event info is
13377     * a pointer to a Elm_Web_Download
13378     * @li "editorclient,contents,changed": Editor client's contents changed
13379     * @li "editorclient,selection,changed": Editor client's selection changed
13380     * @li "frame,created": A new frame was created. Event info is an
13381     * Evas_Object which can be handled with WebKit's ewk_frame API
13382     * @li "icon,received": An icon was received by the main frame
13383     * @li "inputmethod,changed": Input method changed. Event info is an
13384     * Eina_Bool indicating whether it's enabled or not
13385     * @li "js,windowobject,clear": JS window object has been cleared
13386     * @li "link,hover,in": Mouse cursor is hovering over a link. Event info
13387     * is a char *link[2], where the first string contains the URL the link
13388     * points to, and the second one the title of the link
13389     * @li "link,hover,out": Mouse cursor left the link
13390     * @li "load,document,finished": Loading of a document finished. Event info
13391     * is the frame that finished loading
13392     * @li "load,error": Load failed. Event info is a pointer to
13393     * Elm_Web_Frame_Load_Error
13394     * @li "load,finished": Load finished. Event info is NULL on success, on
13395     * error it's a pointer to Elm_Web_Frame_Load_Error
13396     * @li "load,newwindow,show": A new window was created and is ready to be
13397     * shown
13398     * @li "load,progress": Overall load progress. Event info is a pointer to
13399     * a double containing a value between 0.0 and 1.0
13400     * @li "load,provisional": Started provisional load
13401     * @li "load,started": Loading of a document started
13402     * @li "menubar,visible,get": Queries if the menubar is visible. Event info
13403     * is a pointer to Eina_Bool where the callback should set EINA_TRUE if
13404     * the menubar is visible, or EINA_FALSE in case it's not
13405     * @li "menubar,visible,set": Informs menubar visibility. Event info is
13406     * an Eina_Bool indicating the visibility
13407     * @li "popup,created": A dropdown widget was activated, requesting its
13408     * popup menu to be created. Event info is a pointer to Elm_Web_Menu
13409     * @li "popup,willdelete": The web object is ready to destroy the popup
13410     * object created. Event info is a pointer to Elm_Web_Menu
13411     * @li "ready": Page is fully loaded
13412     * @li "scrollbars,visible,get": Queries visibility of scrollbars. Event
13413     * info is a pointer to Eina_Bool where the visibility state should be set
13414     * @li "scrollbars,visible,set": Informs scrollbars visibility. Event info
13415     * is an Eina_Bool with the visibility state set
13416     * @li "statusbar,text,set": Text of the statusbar changed. Even info is
13417     * a string with the new text
13418     * @li "statusbar,visible,get": Queries visibility of the status bar.
13419     * Event info is a pointer to Eina_Bool where the visibility state should be
13420     * set.
13421     * @li "statusbar,visible,set": Informs statusbar visibility. Event info is
13422     * an Eina_Bool with the visibility value
13423     * @li "title,changed": Title of the main frame changed. Event info is a
13424     * string with the new title
13425     * @li "toolbars,visible,get": Queries visibility of toolbars. Event info
13426     * is a pointer to Eina_Bool where the visibility state should be set
13427     * @li "toolbars,visible,set": Informs the visibility of toolbars. Event
13428     * info is an Eina_Bool with the visibility state
13429     * @li "tooltip,text,set": Show and set text of a tooltip. Event info is
13430     * a string with the text to show
13431     * @li "uri,changed": URI of the main frame changed. Event info is a string
13432     * with the new URI
13433     * @li "view,resized": The web object internal's view changed sized
13434     * @li "windows,close,request": A JavaScript request to close the current
13435     * window was requested
13436     * @li "zoom,animated,end": Animated zoom finished
13437     *
13438     * available styles:
13439     * - default
13440     *
13441     * An example of use of web:
13442     *
13443     * - @ref web_example_01 TBD
13444     */
13445
13446    /**
13447     * @addtogroup Web
13448     * @{
13449     */
13450
13451    /**
13452     * Structure used to report load errors.
13453     *
13454     * Load errors are reported as signal by elm_web. All the strings are
13455     * temporary references and should @b not be used after the signal
13456     * callback returns. If it's required, make copies with strdup() or
13457     * eina_stringshare_add() (they are not even guaranteed to be
13458     * stringshared, so must use eina_stringshare_add() and not
13459     * eina_stringshare_ref()).
13460     */
13461    typedef struct _Elm_Web_Frame_Load_Error Elm_Web_Frame_Load_Error;
13462    /**
13463     * Structure used to report load errors.
13464     *
13465     * Load errors are reported as signal by elm_web. All the strings are
13466     * temporary references and should @b not be used after the signal
13467     * callback returns. If it's required, make copies with strdup() or
13468     * eina_stringshare_add() (they are not even guaranteed to be
13469     * stringshared, so must use eina_stringshare_add() and not
13470     * eina_stringshare_ref()).
13471     */
13472    struct _Elm_Web_Frame_Load_Error
13473      {
13474         int code; /**< Numeric error code */
13475         Eina_Bool is_cancellation; /**< Error produced by cancelling a request */
13476         const char *domain; /**< Error domain name */
13477         const char *description; /**< Error description (already localized) */
13478         const char *failing_url; /**< The URL that failed to load */
13479         Evas_Object *frame; /**< Frame object that produced the error */
13480      };
13481
13482    /**
13483     * The possibles types that the items in a menu can be
13484     */
13485    typedef enum _Elm_Web_Menu_Item_Type
13486      {
13487         ELM_WEB_MENU_SEPARATOR,
13488         ELM_WEB_MENU_GROUP,
13489         ELM_WEB_MENU_OPTION
13490      } Elm_Web_Menu_Item_Type;
13491
13492    /**
13493     * Structure describing the items in a menu
13494     */
13495    typedef struct _Elm_Web_Menu_Item Elm_Web_Menu_Item;
13496    /**
13497     * Structure describing the items in a menu
13498     */
13499    struct _Elm_Web_Menu_Item
13500      {
13501         const char *text; /**< The text for the item */
13502         Elm_Web_Menu_Item_Type type; /**< The type of the item */
13503      };
13504
13505    /**
13506     * Structure describing the menu of a popup
13507     *
13508     * This structure will be passed as the @c event_info for the "popup,create"
13509     * signal, which is emitted when a dropdown menu is opened. Users wanting
13510     * to handle these popups by themselves should listen to this signal and
13511     * set the @c handled property of the struct to @c EINA_TRUE. Leaving this
13512     * property as @c EINA_FALSE means that the user will not handle the popup
13513     * and the default implementation will be used.
13514     *
13515     * When the popup is ready to be dismissed, a "popup,willdelete" signal
13516     * will be emitted to notify the user that it can destroy any objects and
13517     * free all data related to it.
13518     *
13519     * @see elm_web_popup_selected_set()
13520     * @see elm_web_popup_destroy()
13521     */
13522    typedef struct _Elm_Web_Menu Elm_Web_Menu;
13523    /**
13524     * Structure describing the menu of a popup
13525     *
13526     * This structure will be passed as the @c event_info for the "popup,create"
13527     * signal, which is emitted when a dropdown menu is opened. Users wanting
13528     * to handle these popups by themselves should listen to this signal and
13529     * set the @c handled property of the struct to @c EINA_TRUE. Leaving this
13530     * property as @c EINA_FALSE means that the user will not handle the popup
13531     * and the default implementation will be used.
13532     *
13533     * When the popup is ready to be dismissed, a "popup,willdelete" signal
13534     * will be emitted to notify the user that it can destroy any objects and
13535     * free all data related to it.
13536     *
13537     * @see elm_web_popup_selected_set()
13538     * @see elm_web_popup_destroy()
13539     */
13540    struct _Elm_Web_Menu
13541      {
13542         Eina_List *items; /**< List of #Elm_Web_Menu_Item */
13543         int x; /**< The X position of the popup, relative to the elm_web object */
13544         int y; /**< The Y position of the popup, relative to the elm_web object */
13545         int width; /**< Width of the popup menu */
13546         int height; /**< Height of the popup menu */
13547
13548         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. */
13549      };
13550
13551    typedef struct _Elm_Web_Download Elm_Web_Download;
13552    struct _Elm_Web_Download
13553      {
13554         const char *url;
13555      };
13556
13557    /**
13558     * Types of zoom available.
13559     */
13560    typedef enum _Elm_Web_Zoom_Mode
13561      {
13562         ELM_WEB_ZOOM_MODE_MANUAL = 0, /**< Zoom controlled normally by elm_web_zoom_set */
13563         ELM_WEB_ZOOM_MODE_AUTO_FIT, /**< Zoom until content fits in web object */
13564         ELM_WEB_ZOOM_MODE_AUTO_FILL, /**< Zoom until content fills web object */
13565         ELM_WEB_ZOOM_MODE_LAST
13566      } Elm_Web_Zoom_Mode;
13567    /**
13568     * Opaque handler containing the features (such as statusbar, menubar, etc)
13569     * that are to be set on a newly requested window.
13570     */
13571    typedef struct _Elm_Web_Window_Features Elm_Web_Window_Features;
13572    /**
13573     * Callback type for the create_window hook.
13574     *
13575     * The function parameters are:
13576     * @li @p data User data pointer set when setting the hook function
13577     * @li @p obj The elm_web object requesting the new window
13578     * @li @p js Set to @c EINA_TRUE if the request was originated from
13579     * JavaScript. @c EINA_FALSE otherwise.
13580     * @li @p window_features A pointer of #Elm_Web_Window_Features indicating
13581     * the features requested for the new window.
13582     *
13583     * The returned value of the function should be the @c elm_web widget where
13584     * the request will be loaded. That is, if a new window or tab is created,
13585     * the elm_web widget in it should be returned, and @b NOT the window
13586     * object.
13587     * Returning @c NULL should cancel the request.
13588     *
13589     * @see elm_web_window_create_hook_set()
13590     */
13591    typedef Evas_Object *(*Elm_Web_Window_Open)(void *data, Evas_Object *obj, Eina_Bool js, const Elm_Web_Window_Features *window_features);
13592    /**
13593     * Callback type for the JS alert hook.
13594     *
13595     * The function parameters are:
13596     * @li @p data User data pointer set when setting the hook function
13597     * @li @p obj The elm_web object requesting the new window
13598     * @li @p message The message to show in the alert dialog
13599     *
13600     * The function should return the object representing the alert dialog.
13601     * Elm_Web will run a second main loop to handle the dialog and normal
13602     * flow of the application will be restored when the object is deleted, so
13603     * the user should handle the popup properly in order to delete the object
13604     * when the action is finished.
13605     * If the function returns @c NULL the popup will be ignored.
13606     *
13607     * @see elm_web_dialog_alert_hook_set()
13608     */
13609    typedef Evas_Object *(*Elm_Web_Dialog_Alert)(void *data, Evas_Object *obj, const char *message);
13610    /**
13611     * Callback type for the JS confirm hook.
13612     *
13613     * The function parameters are:
13614     * @li @p data User data pointer set when setting the hook function
13615     * @li @p obj The elm_web object requesting the new window
13616     * @li @p message The message to show in the confirm dialog
13617     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13618     * the user selected @c Ok, @c EINA_FALSE otherwise.
13619     *
13620     * The function should return the object representing the confirm dialog.
13621     * Elm_Web will run a second main loop to handle the dialog and normal
13622     * flow of the application will be restored when the object is deleted, so
13623     * the user should handle the popup properly in order to delete the object
13624     * when the action is finished.
13625     * If the function returns @c NULL the popup will be ignored.
13626     *
13627     * @see elm_web_dialog_confirm_hook_set()
13628     */
13629    typedef Evas_Object *(*Elm_Web_Dialog_Confirm)(void *data, Evas_Object *obj, const char *message, Eina_Bool *ret);
13630    /**
13631     * Callback type for the JS prompt hook.
13632     *
13633     * The function parameters are:
13634     * @li @p data User data pointer set when setting the hook function
13635     * @li @p obj The elm_web object requesting the new window
13636     * @li @p message The message to show in the prompt dialog
13637     * @li @p def_value The default value to present the user in the entry
13638     * @li @p value Pointer where to store the value given by the user. Must
13639     * be a malloc'ed string or @c NULL if the user cancelled the popup.
13640     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13641     * the user selected @c Ok, @c EINA_FALSE otherwise.
13642     *
13643     * The function should return the object representing the prompt dialog.
13644     * Elm_Web will run a second main loop to handle the dialog and normal
13645     * flow of the application will be restored when the object is deleted, so
13646     * the user should handle the popup properly in order to delete the object
13647     * when the action is finished.
13648     * If the function returns @c NULL the popup will be ignored.
13649     *
13650     * @see elm_web_dialog_prompt_hook_set()
13651     */
13652    typedef Evas_Object *(*Elm_Web_Dialog_Prompt)(void *data, Evas_Object *obj, const char *message, const char *def_value, char **value, Eina_Bool *ret);
13653    /**
13654     * Callback type for the JS file selector hook.
13655     *
13656     * The function parameters are:
13657     * @li @p data User data pointer set when setting the hook function
13658     * @li @p obj The elm_web object requesting the new window
13659     * @li @p allows_multiple @c EINA_TRUE if multiple files can be selected.
13660     * @li @p accept_types Mime types accepted
13661     * @li @p selected Pointer where to store the list of malloc'ed strings
13662     * containing the path to each file selected. Must be @c NULL if the file
13663     * dialog is cancelled
13664     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13665     * the user selected @c Ok, @c EINA_FALSE otherwise.
13666     *
13667     * The function should return the object representing the file selector
13668     * dialog.
13669     * Elm_Web will run a second main loop to handle the dialog and normal
13670     * flow of the application will be restored when the object is deleted, so
13671     * the user should handle the popup properly in order to delete the object
13672     * when the action is finished.
13673     * If the function returns @c NULL the popup will be ignored.
13674     *
13675     * @see elm_web_dialog_file selector_hook_set()
13676     */
13677    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);
13678    /**
13679     * Callback type for the JS console message hook.
13680     *
13681     * When a console message is added from JavaScript, any set function to the
13682     * console message hook will be called for the user to handle. There is no
13683     * default implementation of this hook.
13684     *
13685     * The function parameters are:
13686     * @li @p data User data pointer set when setting the hook function
13687     * @li @p obj The elm_web object that originated the message
13688     * @li @p message The message sent
13689     * @li @p line_number The line number
13690     * @li @p source_id Source id
13691     *
13692     * @see elm_web_console_message_hook_set()
13693     */
13694    typedef void (*Elm_Web_Console_Message)(void *data, Evas_Object *obj, const char *message, unsigned int line_number, const char *source_id);
13695    /**
13696     * Add a new web object to the parent.
13697     *
13698     * @param parent The parent object.
13699     * @return The new object or NULL if it cannot be created.
13700     *
13701     * @see elm_web_uri_set()
13702     * @see elm_web_webkit_view_get()
13703     */
13704    EAPI Evas_Object                 *elm_web_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13705
13706    /**
13707     * Get internal ewk_view object from web object.
13708     *
13709     * Elementary may not provide some low level features of EWebKit,
13710     * instead of cluttering the API with proxy methods we opted to
13711     * return the internal reference. Be careful using it as it may
13712     * interfere with elm_web behavior.
13713     *
13714     * @param obj The web object.
13715     * @return The internal ewk_view object or NULL if it does not
13716     *         exist. (Failure to create or Elementary compiled without
13717     *         ewebkit)
13718     *
13719     * @see elm_web_add()
13720     */
13721    EAPI Evas_Object                 *elm_web_webkit_view_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13722
13723    /**
13724     * Sets the function to call when a new window is requested
13725     *
13726     * This hook will be called when a request to create a new window is
13727     * issued from the web page loaded.
13728     * There is no default implementation for this feature, so leaving this
13729     * unset or passing @c NULL in @p func will prevent new windows from
13730     * opening.
13731     *
13732     * @param obj The web object where to set the hook function
13733     * @param func The hook function to be called when a window is requested
13734     * @param data User data
13735     */
13736    EAPI void                         elm_web_window_create_hook_set(Evas_Object *obj, Elm_Web_Window_Open func, void *data);
13737    /**
13738     * Sets the function to call when an alert dialog
13739     *
13740     * This hook will be called when a JavaScript alert dialog is requested.
13741     * If no function is set or @c NULL is passed in @p func, the default
13742     * implementation will take place.
13743     *
13744     * @param obj The web object where to set the hook function
13745     * @param func The callback function to be used
13746     * @param data User data
13747     *
13748     * @see elm_web_inwin_mode_set()
13749     */
13750    EAPI void                         elm_web_dialog_alert_hook_set(Evas_Object *obj, Elm_Web_Dialog_Alert func, void *data);
13751    /**
13752     * Sets the function to call when an confirm dialog
13753     *
13754     * This hook will be called when a JavaScript confirm dialog is requested.
13755     * If no function is set or @c NULL is passed in @p func, the default
13756     * implementation will take place.
13757     *
13758     * @param obj The web object where to set the hook function
13759     * @param func The callback function to be used
13760     * @param data User data
13761     *
13762     * @see elm_web_inwin_mode_set()
13763     */
13764    EAPI void                         elm_web_dialog_confirm_hook_set(Evas_Object *obj, Elm_Web_Dialog_Confirm func, void *data);
13765    /**
13766     * Sets the function to call when an prompt dialog
13767     *
13768     * This hook will be called when a JavaScript prompt dialog is requested.
13769     * If no function is set or @c NULL is passed in @p func, the default
13770     * implementation will take place.
13771     *
13772     * @param obj The web object where to set the hook function
13773     * @param func The callback function to be used
13774     * @param data User data
13775     *
13776     * @see elm_web_inwin_mode_set()
13777     */
13778    EAPI void                         elm_web_dialog_prompt_hook_set(Evas_Object *obj, Elm_Web_Dialog_Prompt func, void *data);
13779    /**
13780     * Sets the function to call when an file selector dialog
13781     *
13782     * This hook will be called when a JavaScript file selector dialog is
13783     * requested.
13784     * If no function is set or @c NULL is passed in @p func, the default
13785     * implementation will take place.
13786     *
13787     * @param obj The web object where to set the hook function
13788     * @param func The callback function to be used
13789     * @param data User data
13790     *
13791     * @see elm_web_inwin_mode_set()
13792     */
13793    EAPI void                         elm_web_dialog_file_selector_hook_set(Evas_Object *obj, Elm_Web_Dialog_File_Selector func, void *data);
13794    /**
13795     * Sets the function to call when a console message is emitted from JS
13796     *
13797     * This hook will be called when a console message is emitted from
13798     * JavaScript. There is no default implementation for this feature.
13799     *
13800     * @param obj The web object where to set the hook function
13801     * @param func The callback function to be used
13802     * @param data User data
13803     */
13804    EAPI void                         elm_web_console_message_hook_set(Evas_Object *obj, Elm_Web_Console_Message func, void *data);
13805    /**
13806     * Gets the status of the tab propagation
13807     *
13808     * @param obj The web object to query
13809     * @return EINA_TRUE if tab propagation is enabled, EINA_FALSE otherwise
13810     *
13811     * @see elm_web_tab_propagate_set()
13812     */
13813    EAPI Eina_Bool                    elm_web_tab_propagate_get(const Evas_Object *obj);
13814    /**
13815     * Sets whether to use tab propagation
13816     *
13817     * If tab propagation is enabled, whenever the user presses the Tab key,
13818     * Elementary will handle it and switch focus to the next widget.
13819     * The default value is disabled, where WebKit will handle the Tab key to
13820     * cycle focus though its internal objects, jumping to the next widget
13821     * only when that cycle ends.
13822     *
13823     * @param obj The web object
13824     * @param propagate Whether to propagate Tab keys to Elementary or not
13825     */
13826    EAPI void                         elm_web_tab_propagate_set(Evas_Object *obj, Eina_Bool propagate);
13827    /**
13828     * Sets the URI for the web object
13829     *
13830     * It must be a full URI, with resource included, in the form
13831     * http://www.enlightenment.org or file:///tmp/something.html
13832     *
13833     * @param obj The web object
13834     * @param uri The URI to set
13835     * @return EINA_TRUE if the URI could be, EINA_FALSE if an error occurred
13836     */
13837    EAPI Eina_Bool                    elm_web_uri_set(Evas_Object *obj, const char *uri);
13838    /**
13839     * Gets the current URI for the object
13840     *
13841     * The returned string must not be freed and is guaranteed to be
13842     * stringshared.
13843     *
13844     * @param obj The web object
13845     * @return A stringshared internal string with the current URI, or NULL on
13846     * failure
13847     */
13848    EAPI const char                  *elm_web_uri_get(const Evas_Object *obj);
13849    /**
13850     * Gets the current title
13851     *
13852     * The returned string must not be freed and is guaranteed to be
13853     * stringshared.
13854     *
13855     * @param obj The web object
13856     * @return A stringshared internal string with the current title, or NULL on
13857     * failure
13858     */
13859    EAPI const char                  *elm_web_title_get(const Evas_Object *obj);
13860    /**
13861     * Sets the background color to be used by the web object
13862     *
13863     * This is the color that will be used by default when the loaded page
13864     * does not set it's own. Color values are pre-multiplied.
13865     *
13866     * @param obj The web object
13867     * @param r Red component
13868     * @param g Green component
13869     * @param b Blue component
13870     * @param a Alpha component
13871     */
13872    EAPI void                         elm_web_bg_color_set(Evas_Object *obj, int r, int g, int b, int a);
13873    /**
13874     * Gets the background color to be used by the web object
13875     *
13876     * This is the color that will be used by default when the loaded page
13877     * does not set it's own. Color values are pre-multiplied.
13878     *
13879     * @param obj The web object
13880     * @param r Red component
13881     * @param g Green component
13882     * @param b Blue component
13883     * @param a Alpha component
13884     */
13885    EAPI void                         elm_web_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a);
13886    /**
13887     * Gets a copy of the currently selected text
13888     *
13889     * The string returned must be freed by the user when it's done with it.
13890     *
13891     * @param obj The web object
13892     * @return A newly allocated string, or NULL if nothing is selected or an
13893     * error occurred
13894     */
13895    EAPI char                        *elm_view_selection_get(const Evas_Object *obj);
13896    /**
13897     * Tells the web object which index in the currently open popup was selected
13898     *
13899     * When the user handles the popup creation from the "popup,created" signal,
13900     * it needs to tell the web object which item was selected by calling this
13901     * function with the index corresponding to the item.
13902     *
13903     * @param obj The web object
13904     * @param index The index selected
13905     *
13906     * @see elm_web_popup_destroy()
13907     */
13908    EAPI void                         elm_web_popup_selected_set(Evas_Object *obj, int index);
13909    /**
13910     * Dismisses an open dropdown popup
13911     *
13912     * When the popup from a dropdown widget is to be dismissed, either after
13913     * selecting an option or to cancel it, this function must be called, which
13914     * will later emit an "popup,willdelete" signal to notify the user that
13915     * any memory and objects related to this popup can be freed.
13916     *
13917     * @param obj The web object
13918     * @return EINA_TRUE if the menu was successfully destroyed, or EINA_FALSE
13919     * if there was no menu to destroy
13920     */
13921    EAPI Eina_Bool                    elm_web_popup_destroy(Evas_Object *obj);
13922    /**
13923     * Searches the given string in a document.
13924     *
13925     * @param obj The web object where to search the text
13926     * @param string String to search
13927     * @param case_sensitive If search should be case sensitive or not
13928     * @param forward If search is from cursor and on or backwards
13929     * @param wrap If search should wrap at the end
13930     *
13931     * @return @c EINA_TRUE if the given string was found, @c EINA_FALSE if not
13932     * or failure
13933     */
13934    EAPI Eina_Bool                    elm_web_text_search(const Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool forward, Eina_Bool wrap);
13935    /**
13936     * Marks matches of the given string in a document.
13937     *
13938     * @param obj The web object where to search text
13939     * @param string String to match
13940     * @param case_sensitive If match should be case sensitive or not
13941     * @param highlight If matches should be highlighted
13942     * @param limit Maximum amount of matches, or zero to unlimited
13943     *
13944     * @return number of matched @a string
13945     */
13946    EAPI unsigned int                 elm_web_text_matches_mark(Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit);
13947    /**
13948     * Clears all marked matches in the document
13949     *
13950     * @param obj The web object
13951     *
13952     * @return EINA_TRUE on success, EINA_FALSE otherwise
13953     */
13954    EAPI Eina_Bool                    elm_web_text_matches_unmark_all(Evas_Object *obj);
13955    /**
13956     * Sets whether to highlight the matched marks
13957     *
13958     * If enabled, marks set with elm_web_text_matches_mark() will be
13959     * highlighted.
13960     *
13961     * @param obj The web object
13962     * @param highlight Whether to highlight the marks or not
13963     *
13964     * @return EINA_TRUE on success, EINA_FALSE otherwise
13965     */
13966    EAPI Eina_Bool                    elm_web_text_matches_highlight_set(Evas_Object *obj, Eina_Bool highlight);
13967    /**
13968     * Gets whether highlighting marks is enabled
13969     *
13970     * @param The web object
13971     *
13972     * @return EINA_TRUE is marks are set to be highlighted, EINA_FALSE
13973     * otherwise
13974     */
13975    EAPI Eina_Bool                    elm_web_text_matches_highlight_get(const Evas_Object *obj);
13976    /**
13977     * Gets the overall loading progress of the page
13978     *
13979     * Returns the estimated loading progress of the page, with a value between
13980     * 0.0 and 1.0. This is an estimated progress accounting for all the frames
13981     * included in the page.
13982     *
13983     * @param The web object
13984     *
13985     * @return A value between 0.0 and 1.0 indicating the progress, or -1.0 on
13986     * failure
13987     */
13988    EAPI double                       elm_web_load_progress_get(const Evas_Object *obj);
13989    /**
13990     * Stops loading the current page
13991     *
13992     * Cancels the loading of the current page in the web object. This will
13993     * cause a "load,error" signal to be emitted, with the is_cancellation
13994     * flag set to EINA_TRUE.
13995     *
13996     * @param obj The web object
13997     *
13998     * @return EINA_TRUE if the cancel was successful, EINA_FALSE otherwise
13999     */
14000    EAPI Eina_Bool                    elm_web_stop(Evas_Object *obj);
14001    /**
14002     * Requests a reload of the current document in the object
14003     *
14004     * @param obj The web object
14005     *
14006     * @return EINA_TRUE on success, EINA_FALSE otherwise
14007     */
14008    EAPI Eina_Bool                    elm_web_reload(Evas_Object *obj);
14009    /**
14010     * Requests a reload of the current document, avoiding any existing caches
14011     *
14012     * @param obj The web object
14013     *
14014     * @return EINA_TRUE on success, EINA_FALSE otherwise
14015     */
14016    EAPI Eina_Bool                    elm_web_reload_full(Evas_Object *obj);
14017    /**
14018     * Goes back one step in the browsing history
14019     *
14020     * This is equivalent to calling elm_web_object_navigate(obj, -1);
14021     *
14022     * @param obj The web object
14023     *
14024     * @return EINA_TRUE on success, EINA_FALSE otherwise
14025     *
14026     * @see elm_web_history_enable_set()
14027     * @see elm_web_back_possible()
14028     * @see elm_web_forward()
14029     * @see elm_web_navigate()
14030     */
14031    EAPI Eina_Bool                    elm_web_back(Evas_Object *obj);
14032    /**
14033     * Goes forward one step in the browsing history
14034     *
14035     * This is equivalent to calling elm_web_object_navigate(obj, 1);
14036     *
14037     * @param obj The web object
14038     *
14039     * @return EINA_TRUE on success, EINA_FALSE otherwise
14040     *
14041     * @see elm_web_history_enable_set()
14042     * @see elm_web_forward_possible()
14043     * @see elm_web_back()
14044     * @see elm_web_navigate()
14045     */
14046    EAPI Eina_Bool                    elm_web_forward(Evas_Object *obj);
14047    /**
14048     * Jumps the given number of steps in the browsing history
14049     *
14050     * The @p steps value can be a negative integer to back in history, or a
14051     * positive to move forward.
14052     *
14053     * @param obj The web object
14054     * @param steps The number of steps to jump
14055     *
14056     * @return EINA_TRUE on success, EINA_FALSE on error or if not enough
14057     * history exists to jump the given number of steps
14058     *
14059     * @see elm_web_history_enable_set()
14060     * @see elm_web_navigate_possible()
14061     * @see elm_web_back()
14062     * @see elm_web_forward()
14063     */
14064    EAPI Eina_Bool                    elm_web_navigate(Evas_Object *obj, int steps);
14065    /**
14066     * Queries whether it's possible to go back in history
14067     *
14068     * @param obj The web object
14069     *
14070     * @return EINA_TRUE if it's possible to back in history, EINA_FALSE
14071     * otherwise
14072     */
14073    EAPI Eina_Bool                    elm_web_back_possible(Evas_Object *obj);
14074    /**
14075     * Queries whether it's possible to go forward in history
14076     *
14077     * @param obj The web object
14078     *
14079     * @return EINA_TRUE if it's possible to forward in history, EINA_FALSE
14080     * otherwise
14081     */
14082    EAPI Eina_Bool                    elm_web_forward_possible(Evas_Object *obj);
14083    /**
14084     * Queries whether it's possible to jump the given number of steps
14085     *
14086     * The @p steps value can be a negative integer to back in history, or a
14087     * positive to move forward.
14088     *
14089     * @param obj The web object
14090     * @param steps The number of steps to check for
14091     *
14092     * @return EINA_TRUE if enough history exists to perform the given jump,
14093     * EINA_FALSE otherwise
14094     */
14095    EAPI Eina_Bool                    elm_web_navigate_possible(Evas_Object *obj, int steps);
14096    /**
14097     * Gets whether browsing history is enabled for the given object
14098     *
14099     * @param obj The web object
14100     *
14101     * @return EINA_TRUE if history is enabled, EINA_FALSE otherwise
14102     */
14103    EAPI Eina_Bool                    elm_web_history_enable_get(const Evas_Object *obj);
14104    /**
14105     * Enables or disables the browsing history
14106     *
14107     * @param obj The web object
14108     * @param enable Whether to enable or disable the browsing history
14109     */
14110    EAPI void                         elm_web_history_enable_set(Evas_Object *obj, Eina_Bool enable);
14111    /**
14112     * Sets the zoom level of the web object
14113     *
14114     * Zoom level matches the Webkit API, so 1.0 means normal zoom, with higher
14115     * values meaning zoom in and lower meaning zoom out. This function will
14116     * only affect the zoom level if the mode set with elm_web_zoom_mode_set()
14117     * is ::ELM_WEB_ZOOM_MODE_MANUAL.
14118     *
14119     * @param obj The web object
14120     * @param zoom The zoom level to set
14121     */
14122    EAPI void                         elm_web_zoom_set(Evas_Object *obj, double zoom);
14123    /**
14124     * Gets the current zoom level set on the web object
14125     *
14126     * Note that this is the zoom level set on the web object and not that
14127     * of the underlying Webkit one. In the ::ELM_WEB_ZOOM_MODE_MANUAL mode,
14128     * the two zoom levels should match, but for the other two modes the
14129     * Webkit zoom is calculated internally to match the chosen mode without
14130     * changing the zoom level set for the web object.
14131     *
14132     * @param obj The web object
14133     *
14134     * @return The zoom level set on the object
14135     */
14136    EAPI double                       elm_web_zoom_get(const Evas_Object *obj);
14137    /**
14138     * Sets the zoom mode to use
14139     *
14140     * The modes can be any of those defined in ::Elm_Web_Zoom_Mode, except
14141     * ::ELM_WEB_ZOOM_MODE_LAST. The default is ::ELM_WEB_ZOOM_MODE_MANUAL.
14142     *
14143     * ::ELM_WEB_ZOOM_MODE_MANUAL means the zoom level will be controlled
14144     * with the elm_web_zoom_set() function.
14145     * ::ELM_WEB_ZOOM_MODE_AUTO_FIT will calculate the needed zoom level to
14146     * make sure the entirety of the web object's contents are shown.
14147     * ::ELM_WEB_ZOOM_MODE_AUTO_FILL will calculate the needed zoom level to
14148     * fit the contents in the web object's size, without leaving any space
14149     * unused.
14150     *
14151     * @param obj The web object
14152     * @param mode The mode to set
14153     */
14154    EAPI void                         elm_web_zoom_mode_set(Evas_Object *obj, Elm_Web_Zoom_Mode mode);
14155    /**
14156     * Gets the currently set zoom mode
14157     *
14158     * @param obj The web object
14159     *
14160     * @return The current zoom mode set for the object, or
14161     * ::ELM_WEB_ZOOM_MODE_LAST on error
14162     */
14163    EAPI Elm_Web_Zoom_Mode            elm_web_zoom_mode_get(const Evas_Object *obj);
14164    /**
14165     * Shows the given region in the web object
14166     *
14167     * @param obj The web object
14168     * @param x The x coordinate of the region to show
14169     * @param y The y coordinate of the region to show
14170     * @param w The width of the region to show
14171     * @param h The height of the region to show
14172     */
14173    EAPI void                         elm_web_region_show(Evas_Object *obj, int x, int y, int w, int h);
14174    /**
14175     * Brings in the region to the visible area
14176     *
14177     * Like elm_web_region_show(), but it animates the scrolling of the object
14178     * to show the area
14179     *
14180     * @param obj The web object
14181     * @param x The x coordinate of the region to show
14182     * @param y The y coordinate of the region to show
14183     * @param w The width of the region to show
14184     * @param h The height of the region to show
14185     */
14186    EAPI void                         elm_web_region_bring_in(Evas_Object *obj, int x, int y, int w, int h);
14187    /**
14188     * Sets the default dialogs to use an Inwin instead of a normal window
14189     *
14190     * If set, then the default implementation for the JavaScript dialogs and
14191     * file selector will be opened in an Inwin. Otherwise they will use a
14192     * normal separated window.
14193     *
14194     * @param obj The web object
14195     * @param value EINA_TRUE to use Inwin, EINA_FALSE to use a normal window
14196     */
14197    EAPI void                         elm_web_inwin_mode_set(Evas_Object *obj, Eina_Bool value);
14198    /**
14199     * Gets whether Inwin mode is set for the current object
14200     *
14201     * @param obj The web object
14202     *
14203     * @return EINA_TRUE if Inwin mode is set, EINA_FALSE otherwise
14204     */
14205    EAPI Eina_Bool                    elm_web_inwin_mode_get(const Evas_Object *obj);
14206
14207    EAPI void                         elm_web_window_features_ref(Elm_Web_Window_Features *wf);
14208    EAPI void                         elm_web_window_features_unref(Elm_Web_Window_Features *wf);
14209    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);
14210    EAPI void                         elm_web_window_features_int_property_get(const Elm_Web_Window_Features *wf, int *x, int *y, int *w, int *h);
14211
14212    /**
14213     * @}
14214     */
14215
14216    /**
14217     * @defgroup Hoversel Hoversel
14218     *
14219     * @image html img/widget/hoversel/preview-00.png
14220     * @image latex img/widget/hoversel/preview-00.eps
14221     *
14222     * A hoversel is a button that pops up a list of items (automatically
14223     * choosing the direction to display) that have a label and, optionally, an
14224     * icon to select from. It is a convenience widget to avoid the need to do
14225     * all the piecing together yourself. It is intended for a small number of
14226     * items in the hoversel menu (no more than 8), though is capable of many
14227     * more.
14228     *
14229     * Signals that you can add callbacks for are:
14230     * "clicked" - the user clicked the hoversel button and popped up the sel
14231     * "selected" - an item in the hoversel list is selected. event_info is the item
14232     * "dismissed" - the hover is dismissed
14233     *
14234     * See @ref tutorial_hoversel for an example.
14235     * @{
14236     */
14237    typedef struct _Elm_Hoversel_Item Elm_Hoversel_Item; /**< Item of Elm_Hoversel. Sub-type of Elm_Widget_Item */
14238    /**
14239     * @brief Add a new Hoversel object
14240     *
14241     * @param parent The parent object
14242     * @return The new object or NULL if it cannot be created
14243     */
14244    EAPI Evas_Object       *elm_hoversel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
14245    /**
14246     * @brief This sets the hoversel to expand horizontally.
14247     *
14248     * @param obj The hoversel object
14249     * @param horizontal If true, the hover will expand horizontally to the
14250     * right.
14251     *
14252     * @note The initial button will display horizontally regardless of this
14253     * setting.
14254     */
14255    EAPI void               elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
14256    /**
14257     * @brief This returns whether the hoversel is set to expand horizontally.
14258     *
14259     * @param obj The hoversel object
14260     * @return If true, the hover will expand horizontally to the right.
14261     *
14262     * @see elm_hoversel_horizontal_set()
14263     */
14264    EAPI Eina_Bool          elm_hoversel_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14265    /**
14266     * @brief Set the Hover parent
14267     *
14268     * @param obj The hoversel object
14269     * @param parent The parent to use
14270     *
14271     * Sets the hover parent object, the area that will be darkened when the
14272     * hoversel is clicked. Should probably be the window that the hoversel is
14273     * in. See @ref Hover objects for more information.
14274     */
14275    EAPI void               elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
14276    /**
14277     * @brief Get the Hover parent
14278     *
14279     * @param obj The hoversel object
14280     * @return The used parent
14281     *
14282     * Gets the hover parent object.
14283     *
14284     * @see elm_hoversel_hover_parent_set()
14285     */
14286    EAPI Evas_Object       *elm_hoversel_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14287    /**
14288     * @brief Set the hoversel button label
14289     *
14290     * @param obj The hoversel object
14291     * @param label The label text.
14292     *
14293     * This sets the label of the button that is always visible (before it is
14294     * clicked and expanded).
14295     *
14296     * @deprecated elm_object_text_set()
14297     */
14298    EINA_DEPRECATED EAPI void               elm_hoversel_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
14299    /**
14300     * @brief Get the hoversel button label
14301     *
14302     * @param obj The hoversel object
14303     * @return The label text.
14304     *
14305     * @deprecated elm_object_text_get()
14306     */
14307    EINA_DEPRECATED EAPI const char        *elm_hoversel_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14308    /**
14309     * @brief Set the icon of the hoversel button
14310     *
14311     * @param obj The hoversel object
14312     * @param icon The icon object
14313     *
14314     * Sets the icon of the button that is always visible (before it is clicked
14315     * and expanded).  Once the icon object is set, a previously set one will be
14316     * deleted, if you want to keep that old content object, use the
14317     * elm_hoversel_icon_unset() function.
14318     *
14319     * @see elm_object_content_set() for the button widget
14320     */
14321    EAPI void               elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
14322    /**
14323     * @brief Get the icon of the hoversel button
14324     *
14325     * @param obj The hoversel object
14326     * @return The icon object
14327     *
14328     * Get the icon of the button that is always visible (before it is clicked
14329     * and expanded). Also see elm_object_content_get() for the button widget.
14330     *
14331     * @see elm_hoversel_icon_set()
14332     */
14333    EAPI Evas_Object       *elm_hoversel_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14334    /**
14335     * @brief Get and unparent the icon of the hoversel button
14336     *
14337     * @param obj The hoversel object
14338     * @return The icon object that was being used
14339     *
14340     * Unparent and return the icon of the button that is always visible
14341     * (before it is clicked and expanded).
14342     *
14343     * @see elm_hoversel_icon_set()
14344     * @see elm_object_content_unset() for the button widget
14345     */
14346    EAPI Evas_Object       *elm_hoversel_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
14347    /**
14348     * @brief This triggers the hoversel popup from code, the same as if the user
14349     * had clicked the button.
14350     *
14351     * @param obj The hoversel object
14352     */
14353    EAPI void               elm_hoversel_hover_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
14354    /**
14355     * @brief This dismisses the hoversel popup as if the user had clicked
14356     * outside the hover.
14357     *
14358     * @param obj The hoversel object
14359     */
14360    EAPI void               elm_hoversel_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
14361    /**
14362     * @brief Returns whether the hoversel is expanded.
14363     *
14364     * @param obj The hoversel object
14365     * @return  This will return EINA_TRUE if the hoversel is expanded or
14366     * EINA_FALSE if it is not expanded.
14367     */
14368    EAPI Eina_Bool          elm_hoversel_expanded_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14369    /**
14370     * @brief This will remove all the children items from the hoversel.
14371     *
14372     * @param obj The hoversel object
14373     *
14374     * @warning Should @b not be called while the hoversel is active; use
14375     * elm_hoversel_expanded_get() to check first.
14376     *
14377     * @see elm_hoversel_item_del_cb_set()
14378     * @see elm_hoversel_item_del()
14379     */
14380    EAPI void               elm_hoversel_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
14381    /**
14382     * @brief Get the list of items within the given hoversel.
14383     *
14384     * @param obj The hoversel object
14385     * @return Returns a list of Elm_Hoversel_Item*
14386     *
14387     * @see elm_hoversel_item_add()
14388     */
14389    EAPI const Eina_List   *elm_hoversel_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14390    /**
14391     * @brief Add an item to the hoversel button
14392     *
14393     * @param obj The hoversel object
14394     * @param label The text label to use for the item (NULL if not desired)
14395     * @param icon_file An image file path on disk to use for the icon or standard
14396     * icon name (NULL if not desired)
14397     * @param icon_type The icon type if relevant
14398     * @param func Convenience function to call when this item is selected
14399     * @param data Data to pass to item-related functions
14400     * @return A handle to the item added.
14401     *
14402     * This adds an item to the hoversel to show when it is clicked. Note: if you
14403     * need to use an icon from an edje file then use
14404     * elm_hoversel_item_icon_set() right after the this function, and set
14405     * icon_file to NULL here.
14406     *
14407     * For more information on what @p icon_file and @p icon_type are see the
14408     * @ref Icon "icon documentation".
14409     */
14410    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);
14411    /**
14412     * @brief Delete an item from the hoversel
14413     *
14414     * @param item The item to delete
14415     *
14416     * This deletes the item from the hoversel (should not be called while the
14417     * hoversel is active; use elm_hoversel_expanded_get() to check first).
14418     *
14419     * @see elm_hoversel_item_add()
14420     * @see elm_hoversel_item_del_cb_set()
14421     */
14422    EAPI void               elm_hoversel_item_del(Elm_Hoversel_Item *item) EINA_ARG_NONNULL(1);
14423    /**
14424     * @brief Set the function to be called when an item from the hoversel is
14425     * freed.
14426     *
14427     * @param item The item to set the callback on
14428     * @param func The function called
14429     *
14430     * That function will receive these parameters:
14431     * @li void *item_data
14432     * @li Evas_Object *the_item_object
14433     * @li Elm_Hoversel_Item *the_object_struct
14434     *
14435     * @see elm_hoversel_item_add()
14436     */
14437    EAPI void               elm_hoversel_item_del_cb_set(Elm_Hoversel_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
14438    /**
14439     * @brief This returns the data pointer supplied with elm_hoversel_item_add()
14440     * that will be passed to associated function callbacks.
14441     *
14442     * @param item The item to get the data from
14443     * @return The data pointer set with elm_hoversel_item_add()
14444     *
14445     * @see elm_hoversel_item_add()
14446     */
14447    EAPI void              *elm_hoversel_item_data_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
14448    /**
14449     * @brief This returns the label text of the given hoversel item.
14450     *
14451     * @param item The item to get the label
14452     * @return The label text of the hoversel item
14453     *
14454     * @see elm_hoversel_item_add()
14455     */
14456    EAPI const char        *elm_hoversel_item_label_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
14457    /**
14458     * @brief This sets the icon for the given hoversel item.
14459     *
14460     * @param item The item to set the icon
14461     * @param icon_file An image file path on disk to use for the icon or standard
14462     * icon name
14463     * @param icon_group The edje group to use if @p icon_file is an edje file. Set this
14464     * to NULL if the icon is not an edje file
14465     * @param icon_type The icon type
14466     *
14467     * The icon can be loaded from the standard set, from an image file, or from
14468     * an edje file.
14469     *
14470     * @see elm_hoversel_item_add()
14471     */
14472    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);
14473    /**
14474     * @brief Get the icon object of the hoversel item
14475     *
14476     * @param item The item to get the icon from
14477     * @param icon_file The image file path on disk used for the icon or standard
14478     * icon name
14479     * @param icon_group The edje group used if @p icon_file is an edje file. NULL
14480     * if the icon is not an edje file
14481     * @param icon_type The icon type
14482     *
14483     * @see elm_hoversel_item_icon_set()
14484     * @see elm_hoversel_item_add()
14485     */
14486    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);
14487    /**
14488     * @}
14489     */
14490
14491    /**
14492     * @defgroup Toolbar Toolbar
14493     * @ingroup Elementary
14494     *
14495     * @image html img/widget/toolbar/preview-00.png
14496     * @image latex img/widget/toolbar/preview-00.eps width=\textwidth
14497     *
14498     * @image html img/toolbar.png
14499     * @image latex img/toolbar.eps width=\textwidth
14500     *
14501     * A toolbar is a widget that displays a list of items inside
14502     * a box. It can be scrollable, show a menu with items that don't fit
14503     * to toolbar size or even crop them.
14504     *
14505     * Only one item can be selected at a time.
14506     *
14507     * Items can have multiple states, or show menus when selected by the user.
14508     *
14509     * Smart callbacks one can listen to:
14510     * - "clicked" - when the user clicks on a toolbar item and becomes selected.
14511     * - "language,changed" - when the program language changes
14512     *
14513     * Available styles for it:
14514     * - @c "default"
14515     * - @c "transparent" - no background or shadow, just show the content
14516     *
14517     * List of examples:
14518     * @li @ref toolbar_example_01
14519     * @li @ref toolbar_example_02
14520     * @li @ref toolbar_example_03
14521     */
14522
14523    /**
14524     * @addtogroup Toolbar
14525     * @{
14526     */
14527
14528    /**
14529     * @enum _Elm_Toolbar_Shrink_Mode
14530     * @typedef Elm_Toolbar_Shrink_Mode
14531     *
14532     * Set toolbar's items display behavior, it can be scrollabel,
14533     * show a menu with exceeding items, or simply hide them.
14534     *
14535     * @note Default value is #ELM_TOOLBAR_SHRINK_MENU. It reads value
14536     * from elm config.
14537     *
14538     * Values <b> don't </b> work as bitmask, only one can be choosen.
14539     *
14540     * @see elm_toolbar_mode_shrink_set()
14541     * @see elm_toolbar_mode_shrink_get()
14542     *
14543     * @ingroup Toolbar
14544     */
14545    typedef enum _Elm_Toolbar_Shrink_Mode
14546      {
14547         ELM_TOOLBAR_SHRINK_NONE,   /**< Set toolbar minimun size to fit all the items. */
14548         ELM_TOOLBAR_SHRINK_HIDE,   /**< Hide exceeding items. */
14549         ELM_TOOLBAR_SHRINK_SCROLL, /**< Allow accessing exceeding items through a scroller. */
14550         ELM_TOOLBAR_SHRINK_MENU,   /**< Inserts a button to pop up a menu with exceeding items. */
14551         ELM_TOOLBAR_SHRINK_LAST    /**< Indicates error if returned by elm_toolbar_shrink_mode_get() */
14552      } Elm_Toolbar_Shrink_Mode;
14553
14554    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(). */
14555
14556    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(). */
14557
14558    /**
14559     * Add a new toolbar widget to the given parent Elementary
14560     * (container) object.
14561     *
14562     * @param parent The parent object.
14563     * @return a new toolbar widget handle or @c NULL, on errors.
14564     *
14565     * This function inserts a new toolbar widget on the canvas.
14566     *
14567     * @ingroup Toolbar
14568     */
14569    EAPI Evas_Object            *elm_toolbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
14570
14571    /**
14572     * Set the icon size, in pixels, to be used by toolbar items.
14573     *
14574     * @param obj The toolbar object
14575     * @param icon_size The icon size in pixels
14576     *
14577     * @note Default value is @c 32. It reads value from elm config.
14578     *
14579     * @see elm_toolbar_icon_size_get()
14580     *
14581     * @ingroup Toolbar
14582     */
14583    EAPI void                    elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size) EINA_ARG_NONNULL(1);
14584
14585    /**
14586     * Get the icon size, in pixels, to be used by toolbar items.
14587     *
14588     * @param obj The toolbar object.
14589     * @return The icon size in pixels.
14590     *
14591     * @see elm_toolbar_icon_size_set() for details.
14592     *
14593     * @ingroup Toolbar
14594     */
14595    EAPI int                     elm_toolbar_icon_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14596
14597    /**
14598     * Sets icon lookup order, for toolbar items' icons.
14599     *
14600     * @param obj The toolbar object.
14601     * @param order The icon lookup order.
14602     *
14603     * Icons added before calling this function will not be affected.
14604     * The default lookup order is #ELM_ICON_LOOKUP_THEME_FDO.
14605     *
14606     * @see elm_toolbar_icon_order_lookup_get()
14607     *
14608     * @ingroup Toolbar
14609     */
14610    EAPI void                    elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
14611
14612    /**
14613     * Gets the icon lookup order.
14614     *
14615     * @param obj The toolbar object.
14616     * @return The icon lookup order.
14617     *
14618     * @see elm_toolbar_icon_order_lookup_set() for details.
14619     *
14620     * @ingroup Toolbar
14621     */
14622    EAPI Elm_Icon_Lookup_Order   elm_toolbar_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14623
14624    /**
14625     * Set whether the toolbar should always have an item selected.
14626     *
14627     * @param obj The toolbar object.
14628     * @param wrap @c EINA_TRUE to enable always-select mode or @c EINA_FALSE to
14629     * disable it.
14630     *
14631     * This will cause the toolbar to always have an item selected, and clicking
14632     * the selected item will not cause a selected event to be emitted. Enabling this mode
14633     * will immediately select the first toolbar item.
14634     *
14635     * Always-selected is disabled by default.
14636     *
14637     * @see elm_toolbar_always_select_mode_get().
14638     *
14639     * @ingroup Toolbar
14640     */
14641    EAPI void                    elm_toolbar_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
14642
14643    /**
14644     * Get whether the toolbar should always have an item selected.
14645     *
14646     * @param obj The toolbar object.
14647     * @return @c EINA_TRUE means an item will always be selected, @c EINA_FALSE indicates
14648     * that it is possible to have no items selected. If @p obj is @c NULL, @c EINA_FALSE is returned.
14649     *
14650     * @see elm_toolbar_always_select_mode_set() for details.
14651     *
14652     * @ingroup Toolbar
14653     */
14654    EAPI Eina_Bool               elm_toolbar_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14655
14656    /**
14657     * Set whether the toolbar items' should be selected by the user or not.
14658     *
14659     * @param obj The toolbar object.
14660     * @param wrap @c EINA_TRUE to disable selection or @c EINA_FALSE to
14661     * enable it.
14662     *
14663     * This will turn off the ability to select items entirely and they will
14664     * neither appear selected nor emit selected signals. The clicked
14665     * callback function will still be called.
14666     *
14667     * Selection is enabled by default.
14668     *
14669     * @see elm_toolbar_no_select_mode_get().
14670     *
14671     * @ingroup Toolbar
14672     */
14673    EAPI void                    elm_toolbar_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
14674
14675    /**
14676     * Set whether the toolbar items' should be selected by the user or not.
14677     *
14678     * @param obj The toolbar object.
14679     * @return @c EINA_TRUE means items can be selected. @c EINA_FALSE indicates
14680     * they can't. If @p obj is @c NULL, @c EINA_FALSE is returned.
14681     *
14682     * @see elm_toolbar_no_select_mode_set() for details.
14683     *
14684     * @ingroup Toolbar
14685     */
14686    EAPI Eina_Bool               elm_toolbar_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14687
14688    /**
14689     * Append item to the toolbar.
14690     *
14691     * @param obj The toolbar object.
14692     * @param icon A string with icon name or the absolute path of an image file.
14693     * @param label The label of the item.
14694     * @param func The function to call when the item is clicked.
14695     * @param data The data to associate with the item for related callbacks.
14696     * @return The created item or @c NULL upon failure.
14697     *
14698     * A new item will be created and appended to the toolbar, i.e., will
14699     * be set as @b last item.
14700     *
14701     * Items created with this method can be deleted with
14702     * elm_toolbar_item_del().
14703     *
14704     * Associated @p data can be properly freed when item is deleted if a
14705     * callback function is set with elm_toolbar_item_del_cb_set().
14706     *
14707     * If a function is passed as argument, it will be called everytime this item
14708     * is selected, i.e., the user clicks over an unselected item.
14709     * If such function isn't needed, just passing
14710     * @c NULL as @p func is enough. The same should be done for @p data.
14711     *
14712     * Toolbar will load icon image from fdo or current theme.
14713     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14714     * If an absolute path is provided it will load it direct from a file.
14715     *
14716     * @see elm_toolbar_item_icon_set()
14717     * @see elm_toolbar_item_del()
14718     * @see elm_toolbar_item_del_cb_set()
14719     *
14720     * @ingroup Toolbar
14721     */
14722    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);
14723
14724    /**
14725     * Prepend item to the toolbar.
14726     *
14727     * @param obj The toolbar object.
14728     * @param icon A string with icon name or the absolute path of an image file.
14729     * @param label The label of the item.
14730     * @param func The function to call when the item is clicked.
14731     * @param data The data to associate with the item for related callbacks.
14732     * @return The created item or @c NULL upon failure.
14733     *
14734     * A new item will be created and prepended to the toolbar, i.e., will
14735     * be set as @b first item.
14736     *
14737     * Items created with this method can be deleted with
14738     * elm_toolbar_item_del().
14739     *
14740     * Associated @p data can be properly freed when item is deleted if a
14741     * callback function is set with elm_toolbar_item_del_cb_set().
14742     *
14743     * If a function is passed as argument, it will be called everytime this item
14744     * is selected, i.e., the user clicks over an unselected item.
14745     * If such function isn't needed, just passing
14746     * @c NULL as @p func is enough. The same should be done for @p data.
14747     *
14748     * Toolbar will load icon image from fdo or current theme.
14749     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14750     * If an absolute path is provided it will load it direct from a file.
14751     *
14752     * @see elm_toolbar_item_icon_set()
14753     * @see elm_toolbar_item_del()
14754     * @see elm_toolbar_item_del_cb_set()
14755     *
14756     * @ingroup Toolbar
14757     */
14758    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);
14759
14760    /**
14761     * Insert a new item into the toolbar object before item @p before.
14762     *
14763     * @param obj The toolbar object.
14764     * @param before The toolbar item to insert before.
14765     * @param icon A string with icon name or the absolute path of an image file.
14766     * @param label The label of the item.
14767     * @param func The function to call when the item is clicked.
14768     * @param data The data to associate with the item for related callbacks.
14769     * @return The created item or @c NULL upon failure.
14770     *
14771     * A new item will be created and added to the toolbar. Its position in
14772     * this toolbar will be just before item @p before.
14773     *
14774     * Items created with this method can be deleted with
14775     * elm_toolbar_item_del().
14776     *
14777     * Associated @p data can be properly freed when item is deleted if a
14778     * callback function is set with elm_toolbar_item_del_cb_set().
14779     *
14780     * If a function is passed as argument, it will be called everytime this item
14781     * is selected, i.e., the user clicks over an unselected item.
14782     * If such function isn't needed, just passing
14783     * @c NULL as @p func is enough. The same should be done for @p data.
14784     *
14785     * Toolbar will load icon image from fdo or current theme.
14786     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14787     * If an absolute path is provided it will load it direct from a file.
14788     *
14789     * @see elm_toolbar_item_icon_set()
14790     * @see elm_toolbar_item_del()
14791     * @see elm_toolbar_item_del_cb_set()
14792     *
14793     * @ingroup Toolbar
14794     */
14795    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);
14796
14797    /**
14798     * Insert a new item into the toolbar object after item @p after.
14799     *
14800     * @param obj The toolbar object.
14801     * @param after The toolbar item to insert after.
14802     * @param icon A string with icon name or the absolute path of an image file.
14803     * @param label The label of the item.
14804     * @param func The function to call when the item is clicked.
14805     * @param data The data to associate with the item for related callbacks.
14806     * @return The created item or @c NULL upon failure.
14807     *
14808     * A new item will be created and added to the toolbar. Its position in
14809     * this toolbar will be just after item @p after.
14810     *
14811     * Items created with this method can be deleted with
14812     * elm_toolbar_item_del().
14813     *
14814     * Associated @p data can be properly freed when item is deleted if a
14815     * callback function is set with elm_toolbar_item_del_cb_set().
14816     *
14817     * If a function is passed as argument, it will be called everytime this item
14818     * is selected, i.e., the user clicks over an unselected item.
14819     * If such function isn't needed, just passing
14820     * @c NULL as @p func is enough. The same should be done for @p data.
14821     *
14822     * Toolbar will load icon image from fdo or current theme.
14823     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14824     * If an absolute path is provided it will load it direct from a file.
14825     *
14826     * @see elm_toolbar_item_icon_set()
14827     * @see elm_toolbar_item_del()
14828     * @see elm_toolbar_item_del_cb_set()
14829     *
14830     * @ingroup Toolbar
14831     */
14832    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);
14833
14834    /**
14835     * Get the first item in the given toolbar widget's list of
14836     * items.
14837     *
14838     * @param obj The toolbar object
14839     * @return The first item or @c NULL, if it has no items (and on
14840     * errors)
14841     *
14842     * @see elm_toolbar_item_append()
14843     * @see elm_toolbar_last_item_get()
14844     *
14845     * @ingroup Toolbar
14846     */
14847    EAPI Elm_Toolbar_Item       *elm_toolbar_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14848
14849    /**
14850     * Get the last item in the given toolbar widget's list of
14851     * items.
14852     *
14853     * @param obj The toolbar object
14854     * @return The last item or @c NULL, if it has no items (and on
14855     * errors)
14856     *
14857     * @see elm_toolbar_item_prepend()
14858     * @see elm_toolbar_first_item_get()
14859     *
14860     * @ingroup Toolbar
14861     */
14862    EAPI Elm_Toolbar_Item       *elm_toolbar_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14863
14864    /**
14865     * Get the item after @p item in toolbar.
14866     *
14867     * @param item The toolbar item.
14868     * @return The item after @p item, or @c NULL if none or on failure.
14869     *
14870     * @note If it is the last item, @c NULL will be returned.
14871     *
14872     * @see elm_toolbar_item_append()
14873     *
14874     * @ingroup Toolbar
14875     */
14876    EAPI Elm_Toolbar_Item       *elm_toolbar_item_next_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14877
14878    /**
14879     * Get the item before @p item in toolbar.
14880     *
14881     * @param item The toolbar item.
14882     * @return The item before @p item, or @c NULL if none or on failure.
14883     *
14884     * @note If it is the first item, @c NULL will be returned.
14885     *
14886     * @see elm_toolbar_item_prepend()
14887     *
14888     * @ingroup Toolbar
14889     */
14890    EAPI Elm_Toolbar_Item       *elm_toolbar_item_prev_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14891
14892    /**
14893     * Get the toolbar object from an item.
14894     *
14895     * @param item The item.
14896     * @return The toolbar object.
14897     *
14898     * This returns the toolbar object itself that an item belongs to.
14899     *
14900     * @ingroup Toolbar
14901     */
14902    EAPI Evas_Object            *elm_toolbar_item_toolbar_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14903
14904    /**
14905     * Set the priority of a toolbar item.
14906     *
14907     * @param item The toolbar item.
14908     * @param priority The item priority. The default is zero.
14909     *
14910     * This is used only when the toolbar shrink mode is set to
14911     * #ELM_TOOLBAR_SHRINK_MENU or #ELM_TOOLBAR_SHRINK_HIDE.
14912     * When space is less than required, items with low priority
14913     * will be removed from the toolbar and added to a dynamically-created menu,
14914     * while items with higher priority will remain on the toolbar,
14915     * with the same order they were added.
14916     *
14917     * @see elm_toolbar_item_priority_get()
14918     *
14919     * @ingroup Toolbar
14920     */
14921    EAPI void                    elm_toolbar_item_priority_set(Elm_Toolbar_Item *item, int priority) EINA_ARG_NONNULL(1);
14922
14923    /**
14924     * Get the priority of a toolbar item.
14925     *
14926     * @param item The toolbar item.
14927     * @return The @p item priority, or @c 0 on failure.
14928     *
14929     * @see elm_toolbar_item_priority_set() for details.
14930     *
14931     * @ingroup Toolbar
14932     */
14933    EAPI int                     elm_toolbar_item_priority_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14934
14935    /**
14936     * Get the label of item.
14937     *
14938     * @param item The item of toolbar.
14939     * @return The label of item.
14940     *
14941     * The return value is a pointer to the label associated to @p item when
14942     * it was created, with function elm_toolbar_item_append() or similar,
14943     * or later,
14944     * with function elm_toolbar_item_label_set. If no label
14945     * was passed as argument, it will return @c NULL.
14946     *
14947     * @see elm_toolbar_item_label_set() for more details.
14948     * @see elm_toolbar_item_append()
14949     *
14950     * @ingroup Toolbar
14951     */
14952    EAPI const char             *elm_toolbar_item_label_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14953
14954    /**
14955     * Set the label of item.
14956     *
14957     * @param item The item of toolbar.
14958     * @param text The label of item.
14959     *
14960     * The label to be displayed by the item.
14961     * Label will be placed at icons bottom (if set).
14962     *
14963     * If a label was passed as argument on item creation, with function
14964     * elm_toolbar_item_append() or similar, it will be already
14965     * displayed by the item.
14966     *
14967     * @see elm_toolbar_item_label_get()
14968     * @see elm_toolbar_item_append()
14969     *
14970     * @ingroup Toolbar
14971     */
14972    EAPI void                    elm_toolbar_item_label_set(Elm_Toolbar_Item *item, const char *label) EINA_ARG_NONNULL(1);
14973
14974    /**
14975     * Return the data associated with a given toolbar widget item.
14976     *
14977     * @param item The toolbar widget item handle.
14978     * @return The data associated with @p item.
14979     *
14980     * @see elm_toolbar_item_data_set()
14981     *
14982     * @ingroup Toolbar
14983     */
14984    EAPI void                   *elm_toolbar_item_data_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14985
14986    /**
14987     * Set the data associated with a given toolbar widget item.
14988     *
14989     * @param item The toolbar widget item handle.
14990     * @param data The new data pointer to set to @p item.
14991     *
14992     * This sets new item data on @p item.
14993     *
14994     * @warning The old data pointer won't be touched by this function, so
14995     * the user had better to free that old data himself/herself.
14996     *
14997     * @ingroup Toolbar
14998     */
14999    EAPI void                    elm_toolbar_item_data_set(Elm_Toolbar_Item *item, const void *data) EINA_ARG_NONNULL(1);
15000
15001    /**
15002     * Returns a pointer to a toolbar item by its label.
15003     *
15004     * @param obj The toolbar object.
15005     * @param label The label of the item to find.
15006     *
15007     * @return The pointer to the toolbar item matching @p label or @c NULL
15008     * on failure.
15009     *
15010     * @ingroup Toolbar
15011     */
15012    EAPI Elm_Toolbar_Item       *elm_toolbar_item_find_by_label(const Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
15013
15014    /*
15015     * Get whether the @p item is selected or not.
15016     *
15017     * @param item The toolbar item.
15018     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
15019     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
15020     *
15021     * @see elm_toolbar_selected_item_set() for details.
15022     * @see elm_toolbar_item_selected_get()
15023     *
15024     * @ingroup Toolbar
15025     */
15026    EAPI Eina_Bool               elm_toolbar_item_selected_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15027
15028    /**
15029     * Set the selected state of an item.
15030     *
15031     * @param item The toolbar item
15032     * @param selected The selected state
15033     *
15034     * This sets the selected state of the given item @p it.
15035     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
15036     *
15037     * If a new item is selected the previosly selected will be unselected.
15038     * Previoulsy selected item can be get with function
15039     * elm_toolbar_selected_item_get().
15040     *
15041     * Selected items will be highlighted.
15042     *
15043     * @see elm_toolbar_item_selected_get()
15044     * @see elm_toolbar_selected_item_get()
15045     *
15046     * @ingroup Toolbar
15047     */
15048    EAPI void                    elm_toolbar_item_selected_set(Elm_Toolbar_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
15049
15050    /**
15051     * Get the selected item.
15052     *
15053     * @param obj The toolbar object.
15054     * @return The selected toolbar item.
15055     *
15056     * The selected item can be unselected with function
15057     * elm_toolbar_item_selected_set().
15058     *
15059     * The selected item always will be highlighted on toolbar.
15060     *
15061     * @see elm_toolbar_selected_items_get()
15062     *
15063     * @ingroup Toolbar
15064     */
15065    EAPI Elm_Toolbar_Item       *elm_toolbar_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15066
15067    /**
15068     * Set the icon associated with @p item.
15069     *
15070     * @param obj The parent of this item.
15071     * @param item The toolbar item.
15072     * @param icon A string with icon name or the absolute path of an image file.
15073     *
15074     * Toolbar will load icon image from fdo or current theme.
15075     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
15076     * If an absolute path is provided it will load it direct from a file.
15077     *
15078     * @see elm_toolbar_icon_order_lookup_set()
15079     * @see elm_toolbar_icon_order_lookup_get()
15080     *
15081     * @ingroup Toolbar
15082     */
15083    EAPI void                    elm_toolbar_item_icon_set(Elm_Toolbar_Item *item, const char *icon) EINA_ARG_NONNULL(1);
15084
15085    /**
15086     * Get the string used to set the icon of @p item.
15087     *
15088     * @param item The toolbar item.
15089     * @return The string associated with the icon object.
15090     *
15091     * @see elm_toolbar_item_icon_set() for details.
15092     *
15093     * @ingroup Toolbar
15094     */
15095    EAPI const char             *elm_toolbar_item_icon_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15096
15097    /**
15098     * Get the object of @p item.
15099     *
15100     * @param item The toolbar item.
15101     * @return The object
15102     *
15103     * @ingroup Toolbar
15104     */
15105    EAPI Evas_Object            *elm_toolbar_item_object_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15106
15107    /**
15108     * Get the icon object of @p item.
15109     *
15110     * @param item The toolbar item.
15111     * @return The icon object
15112     *
15113     * @see elm_toolbar_item_icon_set() or elm_toolbar_item_icon_memfile_set() for details.
15114     *
15115     * @ingroup Toolbar
15116     */
15117    EAPI Evas_Object            *elm_toolbar_item_icon_object_get(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15118
15119    /**
15120     * Set the icon associated with @p item to an image in a binary buffer.
15121     *
15122     * @param item The toolbar item.
15123     * @param img The binary data that will be used as an image
15124     * @param size The size of binary data @p img
15125     * @param format Optional format of @p img to pass to the image loader
15126     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
15127     *
15128     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
15129     *
15130     * @note The icon image set by this function can be changed by
15131     * elm_toolbar_item_icon_set().
15132     * 
15133     * @ingroup Toolbar
15134     */
15135    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);
15136
15137    /**
15138     * Delete them item from the toolbar.
15139     *
15140     * @param item The item of toolbar to be deleted.
15141     *
15142     * @see elm_toolbar_item_append()
15143     * @see elm_toolbar_item_del_cb_set()
15144     *
15145     * @ingroup Toolbar
15146     */
15147    EAPI void                    elm_toolbar_item_del(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15148
15149    /**
15150     * Set the function called when a toolbar item is freed.
15151     *
15152     * @param item The item to set the callback on.
15153     * @param func The function called.
15154     *
15155     * If there is a @p func, then it will be called prior item's memory release.
15156     * That will be called with the following arguments:
15157     * @li item's data;
15158     * @li item's Evas object;
15159     * @li item itself;
15160     *
15161     * This way, a data associated to a toolbar item could be properly freed.
15162     *
15163     * @ingroup Toolbar
15164     */
15165    EAPI void                    elm_toolbar_item_del_cb_set(Elm_Toolbar_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
15166
15167    /**
15168     * Get a value whether toolbar item is disabled or not.
15169     *
15170     * @param item The item.
15171     * @return The disabled state.
15172     *
15173     * @see elm_toolbar_item_disabled_set() for more details.
15174     *
15175     * @ingroup Toolbar
15176     */
15177    EAPI Eina_Bool               elm_toolbar_item_disabled_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15178
15179    /**
15180     * Sets the disabled/enabled state of a toolbar item.
15181     *
15182     * @param item The item.
15183     * @param disabled The disabled state.
15184     *
15185     * A disabled item cannot be selected or unselected. It will also
15186     * change its appearance (generally greyed out). This sets the
15187     * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
15188     * enabled).
15189     *
15190     * @ingroup Toolbar
15191     */
15192    EAPI void                    elm_toolbar_item_disabled_set(Elm_Toolbar_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
15193
15194    /**
15195     * Set or unset item as a separator.
15196     *
15197     * @param item The toolbar item.
15198     * @param setting @c EINA_TRUE to set item @p item as separator or
15199     * @c EINA_FALSE to unset, i.e., item will be used as a regular item.
15200     *
15201     * Items aren't set as separator by default.
15202     *
15203     * If set as separator it will display separator theme, so won't display
15204     * icons or label.
15205     *
15206     * @see elm_toolbar_item_separator_get()
15207     *
15208     * @ingroup Toolbar
15209     */
15210    EAPI void                    elm_toolbar_item_separator_set(Elm_Toolbar_Item *item, Eina_Bool separator) EINA_ARG_NONNULL(1);
15211
15212    /**
15213     * Get a value whether item is a separator or not.
15214     *
15215     * @param item The toolbar item.
15216     * @return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
15217     * indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
15218     *
15219     * @see elm_toolbar_item_separator_set() for details.
15220     *
15221     * @ingroup Toolbar
15222     */
15223    EAPI Eina_Bool               elm_toolbar_item_separator_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15224
15225    /**
15226     * Set the shrink state of toolbar @p obj.
15227     *
15228     * @param obj The toolbar object.
15229     * @param shrink_mode Toolbar's items display behavior.
15230     *
15231     * The toolbar won't scroll if #ELM_TOOLBAR_SHRINK_NONE,
15232     * but will enforce a minimun size so all the items will fit, won't scroll
15233     * and won't show the items that don't fit if #ELM_TOOLBAR_SHRINK_HIDE,
15234     * will scroll if #ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to
15235     * pop up excess elements with #ELM_TOOLBAR_SHRINK_MENU.
15236     *
15237     * @ingroup Toolbar
15238     */
15239    EAPI void                    elm_toolbar_mode_shrink_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode) EINA_ARG_NONNULL(1);
15240
15241    /**
15242     * Get the shrink mode of toolbar @p obj.
15243     *
15244     * @param obj The toolbar object.
15245     * @return Toolbar's items display behavior.
15246     *
15247     * @see elm_toolbar_mode_shrink_set() for details.
15248     *
15249     * @ingroup Toolbar
15250     */
15251    EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_mode_shrink_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15252
15253    /**
15254     * Enable/disable homogenous mode.
15255     *
15256     * @param obj The toolbar object
15257     * @param homogeneous Assume the items within the toolbar are of the
15258     * same size (EINA_TRUE = on, EINA_FALSE = off). Default is @c EINA_FALSE.
15259     *
15260     * This will enable the homogeneous mode where items are of the same size.
15261     * @see elm_toolbar_homogeneous_get()
15262     *
15263     * @ingroup Toolbar
15264     */
15265    EAPI void                    elm_toolbar_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
15266
15267    /**
15268     * Get whether the homogenous mode is enabled.
15269     *
15270     * @param obj The toolbar object.
15271     * @return Assume the items within the toolbar are of the same height
15272     * and width (EINA_TRUE = on, EINA_FALSE = off).
15273     *
15274     * @see elm_toolbar_homogeneous_set()
15275     *
15276     * @ingroup Toolbar
15277     */
15278    EAPI Eina_Bool               elm_toolbar_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15279
15280    /**
15281     * Enable/disable homogenous mode.
15282     *
15283     * @param obj The toolbar object
15284     * @param homogeneous Assume the items within the toolbar are of the
15285     * same size (EINA_TRUE = on, EINA_FALSE = off). Default is @c EINA_FALSE.
15286     *
15287     * This will enable the homogeneous mode where items are of the same size.
15288     * @see elm_toolbar_homogeneous_get()
15289     *
15290     * @deprecated use elm_toolbar_homogeneous_set() instead.
15291     *
15292     * @ingroup Toolbar
15293     */
15294    EINA_DEPRECATED EAPI void    elm_toolbar_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
15295
15296    /**
15297     * Get whether the homogenous mode is enabled.
15298     *
15299     * @param obj The toolbar object.
15300     * @return Assume the items within the toolbar are of the same height
15301     * and width (EINA_TRUE = on, EINA_FALSE = off).
15302     *
15303     * @see elm_toolbar_homogeneous_set()
15304     * @deprecated use elm_toolbar_homogeneous_get() instead.
15305     *
15306     * @ingroup Toolbar
15307     */
15308    EINA_DEPRECATED EAPI Eina_Bool elm_toolbar_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15309
15310    /**
15311     * Set the parent object of the toolbar items' menus.
15312     *
15313     * @param obj The toolbar object.
15314     * @param parent The parent of the menu objects.
15315     *
15316     * Each item can be set as item menu, with elm_toolbar_item_menu_set().
15317     *
15318     * For more details about setting the parent for toolbar menus, see
15319     * elm_menu_parent_set().
15320     *
15321     * @see elm_menu_parent_set() for details.
15322     * @see elm_toolbar_item_menu_set() for details.
15323     *
15324     * @ingroup Toolbar
15325     */
15326    EAPI void                    elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
15327
15328    /**
15329     * Get the parent object of the toolbar items' menus.
15330     *
15331     * @param obj The toolbar object.
15332     * @return The parent of the menu objects.
15333     *
15334     * @see elm_toolbar_menu_parent_set() for details.
15335     *
15336     * @ingroup Toolbar
15337     */
15338    EAPI Evas_Object            *elm_toolbar_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15339
15340    /**
15341     * Set the alignment of the items.
15342     *
15343     * @param obj The toolbar object.
15344     * @param align The new alignment, a float between <tt> 0.0 </tt>
15345     * and <tt> 1.0 </tt>.
15346     *
15347     * Alignment of toolbar items, from <tt> 0.0 </tt> to indicates to align
15348     * left, to <tt> 1.0 </tt>, to align to right. <tt> 0.5 </tt> centralize
15349     * items.
15350     *
15351     * Centered items by default.
15352     *
15353     * @see elm_toolbar_align_get()
15354     *
15355     * @ingroup Toolbar
15356     */
15357    EAPI void                    elm_toolbar_align_set(Evas_Object *obj, double align) EINA_ARG_NONNULL(1);
15358
15359    /**
15360     * Get the alignment of the items.
15361     *
15362     * @param obj The toolbar object.
15363     * @return toolbar items alignment, a float between <tt> 0.0 </tt> and
15364     * <tt> 1.0 </tt>.
15365     *
15366     * @see elm_toolbar_align_set() for details.
15367     *
15368     * @ingroup Toolbar
15369     */
15370    EAPI double                  elm_toolbar_align_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15371
15372    /**
15373     * Set whether the toolbar item opens a menu.
15374     *
15375     * @param item The toolbar item.
15376     * @param menu If @c EINA_TRUE, @p item will opens a menu when selected.
15377     *
15378     * A toolbar item can be set to be a menu, using this function.
15379     *
15380     * Once it is set to be a menu, it can be manipulated through the
15381     * menu-like function elm_toolbar_menu_parent_set() and the other
15382     * elm_menu functions, using the Evas_Object @c menu returned by
15383     * elm_toolbar_item_menu_get().
15384     *
15385     * So, items to be displayed in this item's menu should be added with
15386     * elm_menu_item_add().
15387     *
15388     * The following code exemplifies the most basic usage:
15389     * @code
15390     * tb = elm_toolbar_add(win)
15391     * item = elm_toolbar_item_append(tb, "refresh", "Menu", NULL, NULL);
15392     * elm_toolbar_item_menu_set(item, EINA_TRUE);
15393     * elm_toolbar_menu_parent_set(tb, win);
15394     * menu = elm_toolbar_item_menu_get(item);
15395     * elm_menu_item_add(menu, NULL, "edit-cut", "Cut", NULL, NULL);
15396     * menu_item = elm_menu_item_add(menu, NULL, "edit-copy", "Copy", NULL,
15397     * NULL);
15398     * @endcode
15399     *
15400     * @see elm_toolbar_item_menu_get()
15401     *
15402     * @ingroup Toolbar
15403     */
15404    EAPI void                    elm_toolbar_item_menu_set(Elm_Toolbar_Item *item, Eina_Bool menu) EINA_ARG_NONNULL(1);
15405
15406    /**
15407     * Get toolbar item's menu.
15408     *
15409     * @param item The toolbar item.
15410     * @return Item's menu object or @c NULL on failure.
15411     *
15412     * If @p item wasn't set as menu item with elm_toolbar_item_menu_set(),
15413     * this function will set it.
15414     *
15415     * @see elm_toolbar_item_menu_set() for details.
15416     *
15417     * @ingroup Toolbar
15418     */
15419    EAPI Evas_Object            *elm_toolbar_item_menu_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15420
15421    /**
15422     * Add a new state to @p item.
15423     *
15424     * @param item The item.
15425     * @param icon A string with icon name or the absolute path of an image file.
15426     * @param label The label of the new state.
15427     * @param func The function to call when the item is clicked when this
15428     * state is selected.
15429     * @param data The data to associate with the state.
15430     * @return The toolbar item state, or @c NULL upon failure.
15431     *
15432     * Toolbar will load icon image from fdo or current theme.
15433     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
15434     * If an absolute path is provided it will load it direct from a file.
15435     *
15436     * States created with this function can be removed with
15437     * elm_toolbar_item_state_del().
15438     *
15439     * @see elm_toolbar_item_state_del()
15440     * @see elm_toolbar_item_state_sel()
15441     * @see elm_toolbar_item_state_get()
15442     *
15443     * @ingroup Toolbar
15444     */
15445    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);
15446
15447    /**
15448     * Delete a previoulsy added state to @p item.
15449     *
15450     * @param item The toolbar item.
15451     * @param state The state to be deleted.
15452     * @return @c EINA_TRUE on success or @c EINA_FALSE on failure.
15453     *
15454     * @see elm_toolbar_item_state_add()
15455     */
15456    EAPI Eina_Bool               elm_toolbar_item_state_del(Elm_Toolbar_Item *item, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
15457
15458    /**
15459     * Set @p state as the current state of @p it.
15460     *
15461     * @param it The item.
15462     * @param state The state to use.
15463     * @return @c EINA_TRUE on success or @c EINA_FALSE on failure.
15464     *
15465     * If @p state is @c NULL, it won't select any state and the default item's
15466     * icon and label will be used. It's the same behaviour than
15467     * elm_toolbar_item_state_unser().
15468     *
15469     * @see elm_toolbar_item_state_unset()
15470     *
15471     * @ingroup Toolbar
15472     */
15473    EAPI Eina_Bool               elm_toolbar_item_state_set(Elm_Toolbar_Item *it, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
15474
15475    /**
15476     * Unset the state of @p it.
15477     *
15478     * @param it The item.
15479     *
15480     * The default icon and label from this item will be displayed.
15481     *
15482     * @see elm_toolbar_item_state_set() for more details.
15483     *
15484     * @ingroup Toolbar
15485     */
15486    EAPI void                    elm_toolbar_item_state_unset(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15487
15488    /**
15489     * Get the current state of @p it.
15490     *
15491     * @param item The item.
15492     * @return The selected state or @c NULL if none is selected or on failure.
15493     *
15494     * @see elm_toolbar_item_state_set() for details.
15495     * @see elm_toolbar_item_state_unset()
15496     * @see elm_toolbar_item_state_add()
15497     *
15498     * @ingroup Toolbar
15499     */
15500    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_get(const Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15501
15502    /**
15503     * Get the state after selected state in toolbar's @p item.
15504     *
15505     * @param it The toolbar item to change state.
15506     * @return The state after current state, or @c NULL on failure.
15507     *
15508     * If last state is selected, this function will return first state.
15509     *
15510     * @see elm_toolbar_item_state_set()
15511     * @see elm_toolbar_item_state_add()
15512     *
15513     * @ingroup Toolbar
15514     */
15515    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_next(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15516
15517    /**
15518     * Get the state before selected state in toolbar's @p item.
15519     *
15520     * @param it The toolbar item to change state.
15521     * @return The state before current state, or @c NULL on failure.
15522     *
15523     * If first state is selected, this function will return last state.
15524     *
15525     * @see elm_toolbar_item_state_set()
15526     * @see elm_toolbar_item_state_add()
15527     *
15528     * @ingroup Toolbar
15529     */
15530    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_prev(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15531
15532    /**
15533     * Set the text to be shown in a given toolbar item's tooltips.
15534     *
15535     * @param item Target item.
15536     * @param text The text to set in the content.
15537     *
15538     * Setup the text as tooltip to object. The item can have only one tooltip,
15539     * so any previous tooltip data - set with this function or
15540     * elm_toolbar_item_tooltip_content_cb_set() - is removed.
15541     *
15542     * @see elm_object_tooltip_text_set() for more details.
15543     *
15544     * @ingroup Toolbar
15545     */
15546    EAPI void             elm_toolbar_item_tooltip_text_set(Elm_Toolbar_Item *item, const char *text) EINA_ARG_NONNULL(1);
15547
15548    /**
15549     * Set the content to be shown in the tooltip item.
15550     *
15551     * Setup the tooltip to item. The item can have only one tooltip,
15552     * so any previous tooltip data is removed. @p func(with @p data) will
15553     * be called every time that need show the tooltip and it should
15554     * return a valid Evas_Object. This object is then managed fully by
15555     * tooltip system and is deleted when the tooltip is gone.
15556     *
15557     * @param item the toolbar item being attached a tooltip.
15558     * @param func the function used to create the tooltip contents.
15559     * @param data what to provide to @a func as callback data/context.
15560     * @param del_cb called when data is not needed anymore, either when
15561     *        another callback replaces @a func, the tooltip is unset with
15562     *        elm_toolbar_item_tooltip_unset() or the owner @a item
15563     *        dies. This callback receives as the first parameter the
15564     *        given @a data, and @c event_info is the item.
15565     *
15566     * @see elm_object_tooltip_content_cb_set() for more details.
15567     *
15568     * @ingroup Toolbar
15569     */
15570    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);
15571
15572    /**
15573     * Unset tooltip from item.
15574     *
15575     * @param item toolbar item to remove previously set tooltip.
15576     *
15577     * Remove tooltip from item. The callback provided as del_cb to
15578     * elm_toolbar_item_tooltip_content_cb_set() will be called to notify
15579     * it is not used anymore.
15580     *
15581     * @see elm_object_tooltip_unset() for more details.
15582     * @see elm_toolbar_item_tooltip_content_cb_set()
15583     *
15584     * @ingroup Toolbar
15585     */
15586    EAPI void             elm_toolbar_item_tooltip_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15587
15588    /**
15589     * Sets a different style for this item tooltip.
15590     *
15591     * @note before you set a style you should define a tooltip with
15592     *       elm_toolbar_item_tooltip_content_cb_set() or
15593     *       elm_toolbar_item_tooltip_text_set()
15594     *
15595     * @param item toolbar item with tooltip already set.
15596     * @param style the theme style to use (default, transparent, ...)
15597     *
15598     * @see elm_object_tooltip_style_set() for more details.
15599     *
15600     * @ingroup Toolbar
15601     */
15602    EAPI void             elm_toolbar_item_tooltip_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
15603
15604    /**
15605     * Get the style for this item tooltip.
15606     *
15607     * @param item toolbar item with tooltip already set.
15608     * @return style the theme style in use, defaults to "default". If the
15609     *         object does not have a tooltip set, then NULL is returned.
15610     *
15611     * @see elm_object_tooltip_style_get() for more details.
15612     * @see elm_toolbar_item_tooltip_style_set()
15613     *
15614     * @ingroup Toolbar
15615     */
15616    EAPI const char      *elm_toolbar_item_tooltip_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15617
15618    /**
15619     * Set the type of mouse pointer/cursor decoration to be shown,
15620     * when the mouse pointer is over the given toolbar widget item
15621     *
15622     * @param item toolbar item to customize cursor on
15623     * @param cursor the cursor type's name
15624     *
15625     * This function works analogously as elm_object_cursor_set(), but
15626     * here the cursor's changing area is restricted to the item's
15627     * area, and not the whole widget's. Note that that item cursors
15628     * have precedence over widget cursors, so that a mouse over an
15629     * item with custom cursor set will always show @b that cursor.
15630     *
15631     * If this function is called twice for an object, a previously set
15632     * cursor will be unset on the second call.
15633     *
15634     * @see elm_object_cursor_set()
15635     * @see elm_toolbar_item_cursor_get()
15636     * @see elm_toolbar_item_cursor_unset()
15637     *
15638     * @ingroup Toolbar
15639     */
15640    EAPI void             elm_toolbar_item_cursor_set(Elm_Toolbar_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
15641
15642    /*
15643     * Get the type of mouse pointer/cursor decoration set to be shown,
15644     * when the mouse pointer is over the given toolbar widget item
15645     *
15646     * @param item toolbar item with custom cursor set
15647     * @return the cursor type's name or @c NULL, if no custom cursors
15648     * were set to @p item (and on errors)
15649     *
15650     * @see elm_object_cursor_get()
15651     * @see elm_toolbar_item_cursor_set()
15652     * @see elm_toolbar_item_cursor_unset()
15653     *
15654     * @ingroup Toolbar
15655     */
15656    EAPI const char      *elm_toolbar_item_cursor_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15657
15658    /**
15659     * Unset any custom mouse pointer/cursor decoration set to be
15660     * shown, when the mouse pointer is over the given toolbar widget
15661     * item, thus making it show the @b default cursor again.
15662     *
15663     * @param item a toolbar item
15664     *
15665     * Use this call to undo any custom settings on this item's cursor
15666     * decoration, bringing it back to defaults (no custom style set).
15667     *
15668     * @see elm_object_cursor_unset()
15669     * @see elm_toolbar_item_cursor_set()
15670     *
15671     * @ingroup Toolbar
15672     */
15673    EAPI void             elm_toolbar_item_cursor_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15674
15675    /**
15676     * Set a different @b style for a given custom cursor set for a
15677     * toolbar item.
15678     *
15679     * @param item toolbar item with custom cursor set
15680     * @param style the <b>theme style</b> to use (e.g. @c "default",
15681     * @c "transparent", etc)
15682     *
15683     * This function only makes sense when one is using custom mouse
15684     * cursor decorations <b>defined in a theme file</b>, which can have,
15685     * given a cursor name/type, <b>alternate styles</b> on it. It
15686     * works analogously as elm_object_cursor_style_set(), but here
15687     * applyed only to toolbar item objects.
15688     *
15689     * @warning Before you set a cursor style you should have definen a
15690     *       custom cursor previously on the item, with
15691     *       elm_toolbar_item_cursor_set()
15692     *
15693     * @see elm_toolbar_item_cursor_engine_only_set()
15694     * @see elm_toolbar_item_cursor_style_get()
15695     *
15696     * @ingroup Toolbar
15697     */
15698    EAPI void             elm_toolbar_item_cursor_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
15699
15700    /**
15701     * Get the current @b style set for a given toolbar item's custom
15702     * cursor
15703     *
15704     * @param item toolbar item with custom cursor set.
15705     * @return style the cursor style in use. If the object does not
15706     *         have a cursor set, then @c NULL is returned.
15707     *
15708     * @see elm_toolbar_item_cursor_style_set() for more details
15709     *
15710     * @ingroup Toolbar
15711     */
15712    EAPI const char      *elm_toolbar_item_cursor_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15713
15714    /**
15715     * Set if the (custom)cursor for a given toolbar item should be
15716     * searched in its theme, also, or should only rely on the
15717     * rendering engine.
15718     *
15719     * @param item item with custom (custom) cursor already set on
15720     * @param engine_only Use @c EINA_TRUE to have cursors looked for
15721     * only on those provided by the rendering engine, @c EINA_FALSE to
15722     * have them searched on the widget's theme, as well.
15723     *
15724     * @note This call is of use only if you've set a custom cursor
15725     * for toolbar items, with elm_toolbar_item_cursor_set().
15726     *
15727     * @note By default, cursors will only be looked for between those
15728     * provided by the rendering engine.
15729     *
15730     * @ingroup Toolbar
15731     */
15732    EAPI void             elm_toolbar_item_cursor_engine_only_set(Elm_Toolbar_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
15733
15734    /**
15735     * Get if the (custom) cursor for a given toolbar item is being
15736     * searched in its theme, also, or is only relying on the rendering
15737     * engine.
15738     *
15739     * @param item a toolbar item
15740     * @return @c EINA_TRUE, if cursors are being looked for only on
15741     * those provided by the rendering engine, @c EINA_FALSE if they
15742     * are being searched on the widget's theme, as well.
15743     *
15744     * @see elm_toolbar_item_cursor_engine_only_set(), for more details
15745     *
15746     * @ingroup Toolbar
15747     */
15748    EAPI Eina_Bool        elm_toolbar_item_cursor_engine_only_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15749
15750    /**
15751     * Change a toolbar's orientation
15752     * @param obj The toolbar object
15753     * @param vertical If @c EINA_TRUE, the toolbar is vertical
15754     * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
15755     * @ingroup Toolbar
15756     * @deprecated use elm_toolbar_horizontal_set() instead.
15757     */
15758    EINA_DEPRECATED EAPI void             elm_toolbar_orientation_set(Evas_Object *obj, Eina_Bool vertical) EINA_ARG_NONNULL(1);
15759
15760    /**
15761     * Change a toolbar's orientation
15762     * @param obj The toolbar object
15763     * @param horizontal If @c EINA_TRUE, the toolbar is horizontal
15764     * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
15765     * @ingroup Toolbar
15766     */
15767    EAPI void             elm_toolbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
15768
15769    /**
15770     * Get a toolbar's orientation
15771     * @param obj The toolbar object
15772     * @return If @c EINA_TRUE, the toolbar is vertical
15773     * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
15774     * @ingroup Toolbar
15775     * @deprecated use elm_toolbar_horizontal_get() instead.
15776     */
15777    EINA_DEPRECATED EAPI Eina_Bool        elm_toolbar_orientation_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15778
15779    /**
15780     * Get a toolbar's orientation
15781     * @param obj The toolbar object
15782     * @return If @c EINA_TRUE, the toolbar is horizontal
15783     * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
15784     * @ingroup Toolbar
15785     */
15786    EAPI Eina_Bool elm_toolbar_horizontal_get(const Evas_Object *obj);
15787    /**
15788     * @}
15789     */
15790
15791    /**
15792     * @defgroup Tooltips Tooltips
15793     *
15794     * The Tooltip is an (internal, for now) smart object used to show a
15795     * content in a frame on mouse hover of objects(or widgets), with
15796     * tips/information about them.
15797     *
15798     * @{
15799     */
15800
15801    EAPI double       elm_tooltip_delay_get(void);
15802    EAPI Eina_Bool    elm_tooltip_delay_set(double delay);
15803    EAPI void         elm_object_tooltip_show(Evas_Object *obj) EINA_ARG_NONNULL(1);
15804    EAPI void         elm_object_tooltip_hide(Evas_Object *obj) EINA_ARG_NONNULL(1);
15805    EAPI void         elm_object_tooltip_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1, 2);
15806    EAPI void         elm_object_tooltip_domain_translatable_text_set(Evas_Object *obj, const char *domain, const char *text) EINA_ARG_NONNULL(1, 3);
15807 #define elm_object_tooltip_translatable_text_set(obj, text) elm_object_tooltip_domain_translatable_text_set((obj), NULL, (text))
15808    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);
15809    EAPI void         elm_object_tooltip_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15810    EAPI void         elm_object_tooltip_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
15811    EAPI const char  *elm_object_tooltip_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15812    EAPI Eina_Bool    elm_tooltip_size_restrict_disable(Evas_Object *obj, Eina_Bool disable) EINA_ARG_NONNULL(1);
15813    EAPI Eina_Bool    elm_tooltip_size_restrict_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15814
15815    /**
15816     * @}
15817     */
15818
15819    /**
15820     * @defgroup Cursors Cursors
15821     *
15822     * The Elementary cursor is an internal smart object used to
15823     * customize the mouse cursor displayed over objects (or
15824     * widgets). In the most common scenario, the cursor decoration
15825     * comes from the graphical @b engine Elementary is running
15826     * on. Those engines may provide different decorations for cursors,
15827     * and Elementary provides functions to choose them (think of X11
15828     * cursors, as an example).
15829     *
15830     * There's also the possibility of, besides using engine provided
15831     * cursors, also use ones coming from Edje theming files. Both
15832     * globally and per widget, Elementary makes it possible for one to
15833     * make the cursors lookup to be held on engines only or on
15834     * Elementary's theme file, too. To set cursor's hot spot,
15835     * two data items should be added to cursor's theme: "hot_x" and
15836     * "hot_y", that are the offset from upper-left corner of the cursor
15837     * (coordinates 0,0).
15838     *
15839     * @{
15840     */
15841
15842    /**
15843     * Set the cursor to be shown when mouse is over the object
15844     *
15845     * Set the cursor that will be displayed when mouse is over the
15846     * object. The object can have only one cursor set to it, so if
15847     * this function is called twice for an object, the previous set
15848     * will be unset.
15849     * If using X cursors, a definition of all the valid cursor names
15850     * is listed on Elementary_Cursors.h. If an invalid name is set
15851     * the default cursor will be used.
15852     *
15853     * @param obj the object being set a cursor.
15854     * @param cursor the cursor name to be used.
15855     *
15856     * @ingroup Cursors
15857     */
15858    EAPI void         elm_object_cursor_set(Evas_Object *obj, const char *cursor) EINA_ARG_NONNULL(1);
15859
15860    /**
15861     * Get the cursor to be shown when mouse is over the object
15862     *
15863     * @param obj an object with cursor already set.
15864     * @return the cursor name.
15865     *
15866     * @ingroup Cursors
15867     */
15868    EAPI const char  *elm_object_cursor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15869
15870    /**
15871     * Unset cursor for object
15872     *
15873     * Unset cursor for object, and set the cursor to default if the mouse
15874     * was over this object.
15875     *
15876     * @param obj Target object
15877     * @see elm_object_cursor_set()
15878     *
15879     * @ingroup Cursors
15880     */
15881    EAPI void         elm_object_cursor_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15882
15883    /**
15884     * Sets a different style for this object cursor.
15885     *
15886     * @note before you set a style you should define a cursor with
15887     *       elm_object_cursor_set()
15888     *
15889     * @param obj an object with cursor already set.
15890     * @param style the theme style to use (default, transparent, ...)
15891     *
15892     * @ingroup Cursors
15893     */
15894    EAPI void         elm_object_cursor_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
15895
15896    /**
15897     * Get the style for this object cursor.
15898     *
15899     * @param obj an object with cursor already set.
15900     * @return style the theme style in use, defaults to "default". If the
15901     *         object does not have a cursor set, then NULL is returned.
15902     *
15903     * @ingroup Cursors
15904     */
15905    EAPI const char  *elm_object_cursor_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15906
15907    /**
15908     * Set if the cursor set should be searched on the theme or should use
15909     * the provided by the engine, only.
15910     *
15911     * @note before you set if should look on theme you should define a cursor
15912     * with elm_object_cursor_set(). By default it will only look for cursors
15913     * provided by the engine.
15914     *
15915     * @param obj an object with cursor already set.
15916     * @param engine_only boolean to define it cursors should be looked only
15917     * between the provided by the engine or searched on widget's theme as well.
15918     *
15919     * @ingroup Cursors
15920     */
15921    EAPI void         elm_object_cursor_engine_only_set(Evas_Object *obj, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
15922
15923    /**
15924     * Get the cursor engine only usage for this object cursor.
15925     *
15926     * @param obj an object with cursor already set.
15927     * @return engine_only boolean to define it cursors should be
15928     * looked only between the provided by the engine or searched on
15929     * widget's theme as well. If the object does not have a cursor
15930     * set, then EINA_FALSE is returned.
15931     *
15932     * @ingroup Cursors
15933     */
15934    EAPI Eina_Bool    elm_object_cursor_engine_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15935
15936    /**
15937     * Get the configured cursor engine only usage
15938     *
15939     * This gets the globally configured exclusive usage of engine cursors.
15940     *
15941     * @return 1 if only engine cursors should be used
15942     * @ingroup Cursors
15943     */
15944    EAPI int          elm_cursor_engine_only_get(void);
15945
15946    /**
15947     * Set the configured cursor engine only usage
15948     *
15949     * This sets the globally configured exclusive usage of engine cursors.
15950     * It won't affect cursors set before changing this value.
15951     *
15952     * @param engine_only If 1 only engine cursors will be enabled, if 0 will
15953     * look for them on theme before.
15954     * @return EINA_TRUE if value is valid and setted (0 or 1)
15955     * @ingroup Cursors
15956     */
15957    EAPI Eina_Bool    elm_cursor_engine_only_set(int engine_only);
15958
15959    /**
15960     * @}
15961     */
15962
15963    /**
15964     * @defgroup Menu Menu
15965     *
15966     * @image html img/widget/menu/preview-00.png
15967     * @image latex img/widget/menu/preview-00.eps
15968     *
15969     * A menu is a list of items displayed above its parent. When the menu is
15970     * showing its parent is darkened. Each item can have a sub-menu. The menu
15971     * object can be used to display a menu on a right click event, in a toolbar,
15972     * anywhere.
15973     *
15974     * Signals that you can add callbacks for are:
15975     * @li "clicked" - the user clicked the empty space in the menu to dismiss.
15976     *
15977     * Default contents parts of the menu items that you can use for are:
15978     * @li "default" - A main content of the menu item 
15979     *
15980     * Default text parts of the menu items that you can use for are:
15981     * @li "default" - label in the menu item
15982     * 
15983     * @see @ref tutorial_menu
15984     * @{
15985     */
15986
15987    /**
15988     * @brief Add a new menu to the parent
15989     *
15990     * @param parent The parent object.
15991     * @return The new object or NULL if it cannot be created.
15992     */
15993    EAPI Evas_Object       *elm_menu_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15994    /**
15995     * @brief Set the parent for the given menu widget
15996     *
15997     * @param obj The menu object.
15998     * @param parent The new parent.
15999     */
16000    EAPI void               elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
16001    /**
16002     * @brief Get the parent for the given menu widget
16003     *
16004     * @param obj The menu object.
16005     * @return The parent.
16006     *
16007     * @see elm_menu_parent_set()
16008     */
16009    EAPI Evas_Object       *elm_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16010    /**
16011     * @brief Move the menu to a new position
16012     *
16013     * @param obj The menu object.
16014     * @param x The new position.
16015     * @param y The new position.
16016     *
16017     * Sets the top-left position of the menu to (@p x,@p y).
16018     *
16019     * @note @p x and @p y coordinates are relative to parent.
16020     */
16021    EAPI void               elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
16022    /**
16023     * @brief Close a opened menu
16024     *
16025     * @param obj the menu object
16026     * @return void
16027     *
16028     * Hides the menu and all it's sub-menus.
16029     */
16030    EAPI void               elm_menu_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
16031    /**
16032     * @brief Returns a list of @p item's items.
16033     *
16034     * @param obj The menu object
16035     * @return An Eina_List* of @p item's items
16036     */
16037    EAPI const Eina_List   *elm_menu_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16038    /**
16039     * @brief Get the Evas_Object of an Elm_Menu_Item
16040     *
16041     * @param it The menu item object.
16042     * @return The edje object containing the swallowed content
16043     *
16044     * @warning Don't manipulate this object!
16045     *
16046     */
16047    EAPI Evas_Object       *elm_menu_item_object_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16048    /**
16049     * @brief Add an item at the end of the given menu widget
16050     *
16051     * @param obj The menu object.
16052     * @param parent The parent menu item (optional)
16053     * @param icon A icon display on the item. The icon will be destryed by the menu.
16054     * @param label The label of the item.
16055     * @param func Function called when the user select the item.
16056     * @param data Data sent by the callback.
16057     * @return Returns the new item.
16058     */
16059    EAPI Elm_Object_Item     *elm_menu_item_add(Evas_Object *obj, Elm_Object_Item *parent, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
16060    /**
16061     * @brief Add an object swallowed in an item at the end of the given menu
16062     * widget
16063     *
16064     * @param obj The menu object.
16065     * @param parent The parent menu item (optional)
16066     * @param subobj The object to swallow
16067     * @param func Function called when the user select the item.
16068     * @param data Data sent by the callback.
16069     * @return Returns the new item.
16070     *
16071     * Add an evas object as an item to the menu.
16072     */
16073    EAPI Elm_Object_Item     *elm_menu_item_add_object(Evas_Object *obj, Elm_Object_Item *parent, Evas_Object *subobj, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
16074    /**
16075     * @brief Set the label of a menu item
16076     *
16077     * @param it The menu item object.
16078     * @param label The label to set for @p item
16079     *
16080     * @warning Don't use this funcion on items created with
16081     * elm_menu_item_add_object() or elm_menu_item_separator_add().
16082     *
16083     * @deprecated Use elm_object_item_text_set() instead
16084     */
16085    EINA_DEPRECATED EAPI void               elm_menu_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
16086    /**
16087     * @brief Get the label of a menu item
16088     *
16089     * @param it The menu item object.
16090     * @return The label of @p item
16091          * @deprecated Use elm_object_item_text_get() instead
16092     */
16093    EINA_DEPRECATED EAPI const char        *elm_menu_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16094    /**
16095     * @brief Set the icon of a menu item to the standard icon with name @p icon
16096     *
16097     * @param it The menu item object.
16098     * @param icon The icon object to set for the content of @p item
16099     *
16100     * Once this icon is set, any previously set icon will be deleted.
16101     */
16102    EAPI void               elm_menu_item_object_icon_name_set(Elm_Object_Item *it, const char *icon) EINA_ARG_NONNULL(1, 2);
16103    /**
16104     * @brief Get the string representation from the icon of a menu item
16105     *
16106     * @param it The menu item object.
16107     * @return The string representation of @p item's icon or NULL
16108     *
16109     * @see elm_menu_item_object_icon_name_set()
16110     */
16111    EAPI const char        *elm_menu_item_object_icon_name_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16112    /**
16113     * @brief Set the content object of a menu item
16114     *
16115     * @param it The menu item object
16116     * @param The content object or NULL
16117     * @return EINA_TRUE on success, else EINA_FALSE
16118     *
16119     * Use this function to change the object swallowed by a menu item, deleting
16120     * any previously swallowed object.
16121     *
16122     * @deprecated Use elm_object_item_content_set() instead
16123     */
16124    EINA_DEPRECATED EAPI Eina_Bool          elm_menu_item_object_content_set(Elm_Object_Item *it, Evas_Object *obj) EINA_ARG_NONNULL(1);
16125    /**
16126     * @brief Get the content object of a menu item
16127     *
16128     * @param it The menu item object
16129     * @return The content object or NULL
16130     * @note If @p item was added with elm_menu_item_add_object, this
16131     * function will return the object passed, else it will return the
16132     * icon object.
16133     *
16134     * @see elm_menu_item_object_content_set()
16135     *
16136     * @deprecated Use elm_object_item_content_get() instead
16137     */
16138    EINA_DEPRECATED EAPI Evas_Object *elm_menu_item_object_content_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16139    /**
16140     * @brief Set the selected state of @p item.
16141     *
16142     * @param it The menu item object.
16143     * @param selected The selected/unselected state of the item
16144     */
16145    EAPI void               elm_menu_item_selected_set(Elm_Object_Item *it, Eina_Bool selected) EINA_ARG_NONNULL(1);
16146    /**
16147     * @brief Get the selected state of @p item.
16148     *
16149     * @param it The menu item object.
16150     * @return The selected/unselected state of the item
16151     *
16152     * @see elm_menu_item_selected_set()
16153     */
16154    EAPI Eina_Bool          elm_menu_item_selected_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16155    /**
16156     * @brief Set the disabled state of @p item.
16157     *
16158     * @param it The menu item object.
16159     * @param disabled The enabled/disabled state of the item
16160     * @deprecated Use elm_object_item_disabled_set() instead
16161     */
16162    EINA_DEPRECATED EAPI void               elm_menu_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
16163    /**
16164     * @brief Get the disabled state of @p item.
16165     *
16166     * @param it The menu item object.
16167     * @return The enabled/disabled state of the item
16168     *
16169     * @see elm_menu_item_disabled_set()
16170     * @deprecated Use elm_object_item_disabled_get() instead 
16171     */
16172    EINA_DEPRECATED EAPI Eina_Bool          elm_menu_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16173    /**
16174     * @brief Add a separator item to menu @p obj under @p parent.
16175     *
16176     * @param obj The menu object
16177     * @param parent The item to add the separator under
16178     * @return The created item or NULL on failure
16179     *
16180     * This is item is a @ref Separator.
16181     */
16182    EAPI Elm_Object_Item     *elm_menu_item_separator_add(Evas_Object *obj, Elm_Object_Item *parent) EINA_ARG_NONNULL(1);
16183    /**
16184     * @brief Returns whether @p item is a separator.
16185     *
16186     * @param it The item to check
16187     * @return If true, @p item is a separator
16188     *
16189     * @see elm_menu_item_separator_add()
16190     */
16191    EAPI Eina_Bool          elm_menu_item_is_separator(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16192    /**
16193     * @brief Deletes an item from the menu.
16194     *
16195     * @param it The item to delete.
16196     *
16197     * @see elm_menu_item_add()
16198     */
16199    EAPI void               elm_menu_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16200    /**
16201     * @brief Set the function called when a menu item is deleted.
16202     *
16203     * @param it The item to set the callback on
16204     * @param func The function called
16205     *
16206     * @see elm_menu_item_add()
16207     * @see elm_menu_item_del()
16208     */
16209    EAPI void               elm_menu_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
16210    /**
16211     * @brief Returns the data associated with menu item @p item.
16212     *
16213     * @param it The item
16214     * @return The data associated with @p item or NULL if none was set.
16215     *
16216     * This is the data set with elm_menu_add() or elm_menu_item_data_set().
16217          * 
16218          * @deprecated Use elm_object_item_data_get() instead
16219     */
16220    EINA_DEPRECATED EAPI void              *elm_menu_item_data_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16221    /**
16222     * @brief Sets the data to be associated with menu item @p item.
16223     *
16224     * @param it The item
16225     * @param data The data to be associated with @p item
16226          *
16227          * @deprecated Use elm_object_item_data_set() instead
16228     */
16229    EINA_DEPRECATED EAPI void               elm_menu_item_data_set(Elm_Object_Item *it, const void *data) EINA_ARG_NONNULL(1);
16230
16231    /**
16232     * @brief Returns a list of @p item's subitems.
16233     *
16234     * @param it The item
16235     * @return An Eina_List* of @p item's subitems
16236     *
16237     * @see elm_menu_add()
16238     */
16239    EAPI const Eina_List   *elm_menu_item_subitems_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16240    /**
16241     * @brief Get the position of a menu item
16242     *
16243     * @param it The menu item
16244     * @return The item's index
16245     *
16246     * This function returns the index position of a menu item in a menu.
16247     * For a sub-menu, this number is relative to the first item in the sub-menu.
16248     *
16249     * @note Index values begin with 0
16250     */
16251    EAPI unsigned int       elm_menu_item_index_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1) EINA_PURE;
16252    /**
16253     * @brief @brief Return a menu item's owner menu
16254     *
16255     * @param it The menu item
16256     * @return The menu object owning @p item, or NULL on failure
16257     *
16258     * Use this function to get the menu object owning an item.
16259     */
16260    EAPI Evas_Object       *elm_menu_item_menu_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1) EINA_PURE;
16261    /**
16262     * @brief Get the selected item in the menu
16263     *
16264     * @param obj The menu object
16265     * @return The selected item, or NULL if none
16266     *
16267     * @see elm_menu_item_selected_get()
16268     * @see elm_menu_item_selected_set()
16269     */
16270    EAPI Elm_Object_Item *elm_menu_selected_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
16271    /**
16272     * @brief Get the last item in the menu
16273     *
16274     * @param obj The menu object
16275     * @return The last item, or NULL if none
16276     */
16277    EAPI Elm_Object_Item *elm_menu_last_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
16278    /**
16279     * @brief Get the first item in the menu
16280     *
16281     * @param obj The menu object
16282     * @return The first item, or NULL if none
16283     */
16284    EAPI Elm_Object_Item *elm_menu_first_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
16285    /**
16286     * @brief Get the next item in the menu.
16287     *
16288     * @param it The menu item object.
16289     * @return The item after it, or NULL if none
16290     */
16291    EAPI Elm_Object_Item *elm_menu_item_next_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16292    /**
16293     * @brief Get the previous item in the menu.
16294     *
16295     * @param it The menu item object.
16296     * @return The item before it, or NULL if none
16297     */
16298    EAPI Elm_Object_Item *elm_menu_item_prev_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16299    /**
16300     * @}
16301     */
16302
16303    /**
16304     * @defgroup List List
16305     * @ingroup Elementary
16306     *
16307     * @image html img/widget/list/preview-00.png
16308     * @image latex img/widget/list/preview-00.eps width=\textwidth
16309     *
16310     * @image html img/list.png
16311     * @image latex img/list.eps width=\textwidth
16312     *
16313     * A list widget is a container whose children are displayed vertically or
16314     * horizontally, in order, and can be selected.
16315     * The list can accept only one or multiple items selection. Also has many
16316     * modes of items displaying.
16317     *
16318     * A list is a very simple type of list widget.  For more robust
16319     * lists, @ref Genlist should probably be used.
16320     *
16321     * Smart callbacks one can listen to:
16322     * - @c "activated" - The user has double-clicked or pressed
16323     *   (enter|return|spacebar) on an item. The @c event_info parameter
16324     *   is the item that was activated.
16325     * - @c "clicked,double" - The user has double-clicked an item.
16326     *   The @c event_info parameter is the item that was double-clicked.
16327     * - "selected" - when the user selected an item
16328     * - "unselected" - when the user unselected an item
16329     * - "longpressed" - an item in the list is long-pressed
16330     * - "edge,top" - the list is scrolled until the top edge
16331     * - "edge,bottom" - the list is scrolled until the bottom edge
16332     * - "edge,left" - the list is scrolled until the left edge
16333     * - "edge,right" - the list is scrolled until the right edge
16334     * - "language,changed" - the program's language changed
16335     *
16336     * Available styles for it:
16337     * - @c "default"
16338     *
16339     * List of examples:
16340     * @li @ref list_example_01
16341     * @li @ref list_example_02
16342     * @li @ref list_example_03
16343     */
16344
16345    /**
16346     * @addtogroup List
16347     * @{
16348     */
16349
16350    /**
16351     * @enum _Elm_List_Mode
16352     * @typedef Elm_List_Mode
16353     *
16354     * Set list's resize behavior, transverse axis scroll and
16355     * items cropping. See each mode's description for more details.
16356     *
16357     * @note Default value is #ELM_LIST_SCROLL.
16358     *
16359     * Values <b> don't </b> work as bitmask, only one can be choosen.
16360     *
16361     * @see elm_list_mode_set()
16362     * @see elm_list_mode_get()
16363     *
16364     * @ingroup List
16365     */
16366    typedef enum _Elm_List_Mode
16367      {
16368         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. */
16369         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). */
16370         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. */
16371         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. */
16372         ELM_LIST_LAST /**< Indicates error if returned by elm_list_mode_get() */
16373      } Elm_List_Mode;
16374
16375    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().  */
16376
16377    /**
16378     * Add a new list widget to the given parent Elementary
16379     * (container) object.
16380     *
16381     * @param parent The parent object.
16382     * @return a new list widget handle or @c NULL, on errors.
16383     *
16384     * This function inserts a new list widget on the canvas.
16385     *
16386     * @ingroup List
16387     */
16388    EAPI Evas_Object     *elm_list_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
16389
16390    /**
16391     * Starts the list.
16392     *
16393     * @param obj The list object
16394     *
16395     * @note Call before running show() on the list object.
16396     * @warning If not called, it won't display the list properly.
16397     *
16398     * @code
16399     * li = elm_list_add(win);
16400     * elm_list_item_append(li, "First", NULL, NULL, NULL, NULL);
16401     * elm_list_item_append(li, "Second", NULL, NULL, NULL, NULL);
16402     * elm_list_go(li);
16403     * evas_object_show(li);
16404     * @endcode
16405     *
16406     * @ingroup List
16407     */
16408    EAPI void             elm_list_go(Evas_Object *obj) EINA_ARG_NONNULL(1);
16409
16410    /**
16411     * Enable or disable multiple items selection on the list object.
16412     *
16413     * @param obj The list object
16414     * @param multi @c EINA_TRUE to enable multi selection or @c EINA_FALSE to
16415     * disable it.
16416     *
16417     * Disabled by default. If disabled, the user can select a single item of
16418     * the list each time. Selected items are highlighted on list.
16419     * If enabled, many items can be selected.
16420     *
16421     * If a selected item is selected again, it will be unselected.
16422     *
16423     * @see elm_list_multi_select_get()
16424     *
16425     * @ingroup List
16426     */
16427    EAPI void             elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
16428
16429    /**
16430     * Get a value whether multiple items selection is enabled or not.
16431     *
16432     * @see elm_list_multi_select_set() for details.
16433     *
16434     * @param obj The list object.
16435     * @return @c EINA_TRUE means multiple items selection is enabled.
16436     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
16437     * @c EINA_FALSE is returned.
16438     *
16439     * @ingroup List
16440     */
16441    EAPI Eina_Bool        elm_list_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16442
16443    /**
16444     * Set which mode to use for the list object.
16445     *
16446     * @param obj The list object
16447     * @param mode One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
16448     * #ELM_LIST_LIMIT or #ELM_LIST_EXPAND.
16449     *
16450     * Set list's resize behavior, transverse axis scroll and
16451     * items cropping. See each mode's description for more details.
16452     *
16453     * @note Default value is #ELM_LIST_SCROLL.
16454     *
16455     * Only one can be set, if a previous one was set, it will be changed
16456     * by the new mode set. Bitmask won't work as well.
16457     *
16458     * @see elm_list_mode_get()
16459     *
16460     * @ingroup List
16461     */
16462    EAPI void             elm_list_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
16463
16464    /**
16465     * Get the mode the list is at.
16466     *
16467     * @param obj The list object
16468     * @return One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
16469     * #ELM_LIST_LIMIT, #ELM_LIST_EXPAND or #ELM_LIST_LAST on errors.
16470     *
16471     * @note see elm_list_mode_set() for more information.
16472     *
16473     * @ingroup List
16474     */
16475    EAPI Elm_List_Mode    elm_list_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16476
16477    /**
16478     * Enable or disable horizontal mode on the list object.
16479     *
16480     * @param obj The list object.
16481     * @param horizontal @c EINA_TRUE to enable horizontal or @c EINA_FALSE to
16482     * disable it, i.e., to enable vertical mode.
16483     *
16484     * @note Vertical mode is set by default.
16485     *
16486     * On horizontal mode items are displayed on list from left to right,
16487     * instead of from top to bottom. Also, the list will scroll horizontally.
16488     * Each item will presents left icon on top and right icon, or end, at
16489     * the bottom.
16490     *
16491     * @see elm_list_horizontal_get()
16492     *
16493     * @ingroup List
16494     */
16495    EAPI void             elm_list_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
16496
16497    /**
16498     * Get a value whether horizontal mode is enabled or not.
16499     *
16500     * @param obj The list object.
16501     * @return @c EINA_TRUE means horizontal mode selection is enabled.
16502     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
16503     * @c EINA_FALSE is returned.
16504     *
16505     * @see elm_list_horizontal_set() for details.
16506     *
16507     * @ingroup List
16508     */
16509    EAPI Eina_Bool        elm_list_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16510
16511    /**
16512     * Enable or disable always select mode on the list object.
16513     *
16514     * @param obj The list object
16515     * @param always_select @c EINA_TRUE to enable always select mode or
16516     * @c EINA_FALSE to disable it.
16517     *
16518     * @note Always select mode is disabled by default.
16519     *
16520     * Default behavior of list items is to only call its callback function
16521     * the first time it's pressed, i.e., when it is selected. If a selected
16522     * item is pressed again, and multi-select is disabled, it won't call
16523     * this function (if multi-select is enabled it will unselect the item).
16524     *
16525     * If always select is enabled, it will call the callback function
16526     * everytime a item is pressed, so it will call when the item is selected,
16527     * and again when a selected item is pressed.
16528     *
16529     * @see elm_list_always_select_mode_get()
16530     * @see elm_list_multi_select_set()
16531     *
16532     * @ingroup List
16533     */
16534    EAPI void             elm_list_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
16535
16536    /**
16537     * Get a value whether always select mode is enabled or not, meaning that
16538     * an item will always call its callback function, even if already selected.
16539     *
16540     * @param obj The list object
16541     * @return @c EINA_TRUE means horizontal mode selection is enabled.
16542     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
16543     * @c EINA_FALSE is returned.
16544     *
16545     * @see elm_list_always_select_mode_set() for details.
16546     *
16547     * @ingroup List
16548     */
16549    EAPI Eina_Bool        elm_list_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16550
16551    /**
16552     * Set bouncing behaviour when the scrolled content reaches an edge.
16553     *
16554     * Tell the internal scroller object whether it should bounce or not
16555     * when it reaches the respective edges for each axis.
16556     *
16557     * @param obj The list object
16558     * @param h_bounce Whether to bounce or not in the horizontal axis.
16559     * @param v_bounce Whether to bounce or not in the vertical axis.
16560     *
16561     * @see elm_scroller_bounce_set()
16562     *
16563     * @ingroup List
16564     */
16565    EAPI void             elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
16566
16567    /**
16568     * Get the bouncing behaviour of the internal scroller.
16569     *
16570     * Get whether the internal scroller should bounce when the edge of each
16571     * axis is reached scrolling.
16572     *
16573     * @param obj The list object.
16574     * @param h_bounce Pointer where to store the bounce state of the horizontal
16575     * axis.
16576     * @param v_bounce Pointer where to store the bounce state of the vertical
16577     * axis.
16578     *
16579     * @see elm_scroller_bounce_get()
16580     * @see elm_list_bounce_set()
16581     *
16582     * @ingroup List
16583     */
16584    EAPI void             elm_list_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
16585
16586    /**
16587     * Set the scrollbar policy.
16588     *
16589     * @param obj The list object
16590     * @param policy_h Horizontal scrollbar policy.
16591     * @param policy_v Vertical scrollbar policy.
16592     *
16593     * This sets the scrollbar visibility policy for the given scroller.
16594     * #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
16595     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
16596     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
16597     * This applies respectively for the horizontal and vertical scrollbars.
16598     *
16599     * The both are disabled by default, i.e., are set to
16600     * #ELM_SCROLLER_POLICY_OFF.
16601     *
16602     * @ingroup List
16603     */
16604    EAPI void             elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
16605
16606    /**
16607     * Get the scrollbar policy.
16608     *
16609     * @see elm_list_scroller_policy_get() for details.
16610     *
16611     * @param obj The list object.
16612     * @param policy_h Pointer where to store horizontal scrollbar policy.
16613     * @param policy_v Pointer where to store vertical scrollbar policy.
16614     *
16615     * @ingroup List
16616     */
16617    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);
16618
16619    /**
16620     * Append a new item to the list object.
16621     *
16622     * @param obj The list object.
16623     * @param label The label of the list item.
16624     * @param icon The icon object to use for the left side of the item. An
16625     * icon can be any Evas object, but usually it is an icon created
16626     * with elm_icon_add().
16627     * @param end The icon object to use for the right side of the item. An
16628     * icon can be any Evas object.
16629     * @param func The function to call when the item is clicked.
16630     * @param data The data to associate with the item for related callbacks.
16631     *
16632     * @return The created item or @c NULL upon failure.
16633     *
16634     * A new item will be created and appended to the list, i.e., will
16635     * be set as @b last item.
16636     *
16637     * Items created with this method can be deleted with
16638     * elm_list_item_del().
16639     *
16640     * Associated @p data can be properly freed when item is deleted if a
16641     * callback function is set with elm_list_item_del_cb_set().
16642     *
16643     * If a function is passed as argument, it will be called everytime this item
16644     * is selected, i.e., the user clicks over an unselected item.
16645     * If always select is enabled it will call this function every time
16646     * user clicks over an item (already selected or not).
16647     * If such function isn't needed, just passing
16648     * @c NULL as @p func is enough. The same should be done for @p data.
16649     *
16650     * Simple example (with no function callback or data associated):
16651     * @code
16652     * li = elm_list_add(win);
16653     * ic = elm_icon_add(win);
16654     * elm_icon_file_set(ic, "path/to/image", NULL);
16655     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
16656     * elm_list_item_append(li, "label", ic, NULL, NULL, NULL);
16657     * elm_list_go(li);
16658     * evas_object_show(li);
16659     * @endcode
16660     *
16661     * @see elm_list_always_select_mode_set()
16662     * @see elm_list_item_del()
16663     * @see elm_list_item_del_cb_set()
16664     * @see elm_list_clear()
16665     * @see elm_icon_add()
16666     *
16667     * @ingroup List
16668     */
16669    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);
16670
16671    /**
16672     * Prepend a new item to the list object.
16673     *
16674     * @param obj The list object.
16675     * @param label The label of the list item.
16676     * @param icon The icon object to use for the left side of the item. An
16677     * icon can be any Evas object, but usually it is an icon created
16678     * with elm_icon_add().
16679     * @param end The icon object to use for the right side of the item. An
16680     * icon can be any Evas object.
16681     * @param func The function to call when the item is clicked.
16682     * @param data The data to associate with the item for related callbacks.
16683     *
16684     * @return The created item or @c NULL upon failure.
16685     *
16686     * A new item will be created and prepended to the list, i.e., will
16687     * be set as @b first item.
16688     *
16689     * Items created with this method can be deleted with
16690     * elm_list_item_del().
16691     *
16692     * Associated @p data can be properly freed when item is deleted if a
16693     * callback function is set with elm_list_item_del_cb_set().
16694     *
16695     * If a function is passed as argument, it will be called everytime this item
16696     * is selected, i.e., the user clicks over an unselected item.
16697     * If always select is enabled it will call this function every time
16698     * user clicks over an item (already selected or not).
16699     * If such function isn't needed, just passing
16700     * @c NULL as @p func is enough. The same should be done for @p data.
16701     *
16702     * @see elm_list_item_append() for a simple code example.
16703     * @see elm_list_always_select_mode_set()
16704     * @see elm_list_item_del()
16705     * @see elm_list_item_del_cb_set()
16706     * @see elm_list_clear()
16707     * @see elm_icon_add()
16708     *
16709     * @ingroup List
16710     */
16711    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);
16712
16713    /**
16714     * Insert a new item into the list object before item @p before.
16715     *
16716     * @param obj The list object.
16717     * @param before The list item to insert before.
16718     * @param label The label of the list item.
16719     * @param icon The icon object to use for the 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     * @param end The icon object to use for the right side of the item. An
16723     * icon can be any Evas object.
16724     * @param func The function to call when the item is clicked.
16725     * @param data The data to associate with the item for related callbacks.
16726     *
16727     * @return The created item or @c NULL upon failure.
16728     *
16729     * A new item will be created and added to the list. Its position in
16730     * this list will be just before item @p before.
16731     *
16732     * Items created with this method can be deleted with
16733     * elm_list_item_del().
16734     *
16735     * Associated @p data can be properly freed when item is deleted if a
16736     * callback function is set with elm_list_item_del_cb_set().
16737     *
16738     * If a function is passed as argument, it will be called everytime this item
16739     * is selected, i.e., the user clicks over an unselected item.
16740     * If always select is enabled it will call this function every time
16741     * user clicks over an item (already selected or not).
16742     * If such function isn't needed, just passing
16743     * @c NULL as @p func is enough. The same should be done for @p data.
16744     *
16745     * @see elm_list_item_append() for a simple code example.
16746     * @see elm_list_always_select_mode_set()
16747     * @see elm_list_item_del()
16748     * @see elm_list_item_del_cb_set()
16749     * @see elm_list_clear()
16750     * @see elm_icon_add()
16751     *
16752     * @ingroup List
16753     */
16754    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);
16755
16756    /**
16757     * Insert a new item into the list object after item @p after.
16758     *
16759     * @param obj The list object.
16760     * @param after The list item to insert after.
16761     * @param label The label of the list item.
16762     * @param icon The icon object to use for the left side of the item. An
16763     * icon can be any Evas object, but usually it is an icon created
16764     * with elm_icon_add().
16765     * @param end The icon object to use for the right side of the item. An
16766     * icon can be any Evas object.
16767     * @param func The function to call when the item is clicked.
16768     * @param data The data to associate with the item for related callbacks.
16769     *
16770     * @return The created item or @c NULL upon failure.
16771     *
16772     * A new item will be created and added to the list. Its position in
16773     * this list will be just after item @p after.
16774     *
16775     * Items created with this method can be deleted with
16776     * elm_list_item_del().
16777     *
16778     * Associated @p data can be properly freed when item is deleted if a
16779     * callback function is set with elm_list_item_del_cb_set().
16780     *
16781     * If a function is passed as argument, it will be called everytime this item
16782     * is selected, i.e., the user clicks over an unselected item.
16783     * If always select is enabled it will call this function every time
16784     * user clicks over an item (already selected or not).
16785     * If such function isn't needed, just passing
16786     * @c NULL as @p func is enough. The same should be done for @p data.
16787     *
16788     * @see elm_list_item_append() for a simple code example.
16789     * @see elm_list_always_select_mode_set()
16790     * @see elm_list_item_del()
16791     * @see elm_list_item_del_cb_set()
16792     * @see elm_list_clear()
16793     * @see elm_icon_add()
16794     *
16795     * @ingroup List
16796     */
16797    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);
16798
16799    /**
16800     * Insert a new item into the sorted list object.
16801     *
16802     * @param obj The list object.
16803     * @param label The label of the list item.
16804     * @param icon The icon object to use for the left side of the item. An
16805     * icon can be any Evas object, but usually it is an icon created
16806     * with elm_icon_add().
16807     * @param end The icon object to use for the right side of the item. An
16808     * icon can be any Evas object.
16809     * @param func The function to call when the item is clicked.
16810     * @param data The data to associate with the item for related callbacks.
16811     * @param cmp_func The comparing function to be used to sort list
16812     * items <b>by #Elm_List_Item item handles</b>. This function will
16813     * receive two items and compare them, returning a non-negative integer
16814     * if the second item should be place after the first, or negative value
16815     * if should be placed before.
16816     *
16817     * @return The created item or @c NULL upon failure.
16818     *
16819     * @note This function inserts values into a list object assuming it was
16820     * sorted and the result will be sorted.
16821     *
16822     * A new item will be created and added to the list. Its position in
16823     * this list will be found comparing the new item with previously inserted
16824     * items using function @p cmp_func.
16825     *
16826     * Items created with this method can be deleted with
16827     * elm_list_item_del().
16828     *
16829     * Associated @p data can be properly freed when item is deleted if a
16830     * callback function is set with elm_list_item_del_cb_set().
16831     *
16832     * If a function is passed as argument, it will be called everytime this item
16833     * is selected, i.e., the user clicks over an unselected item.
16834     * If always select is enabled it will call this function every time
16835     * user clicks over an item (already selected or not).
16836     * If such function isn't needed, just passing
16837     * @c NULL as @p func is enough. The same should be done for @p data.
16838     *
16839     * @see elm_list_item_append() for a simple code example.
16840     * @see elm_list_always_select_mode_set()
16841     * @see elm_list_item_del()
16842     * @see elm_list_item_del_cb_set()
16843     * @see elm_list_clear()
16844     * @see elm_icon_add()
16845     *
16846     * @ingroup List
16847     */
16848    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);
16849
16850    /**
16851     * Remove all list's items.
16852     *
16853     * @param obj The list object
16854     *
16855     * @see elm_list_item_del()
16856     * @see elm_list_item_append()
16857     *
16858     * @ingroup List
16859     */
16860    EAPI void             elm_list_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
16861
16862    /**
16863     * Get a list of all the list items.
16864     *
16865     * @param obj The list object
16866     * @return An @c Eina_List of list items, #Elm_List_Item,
16867     * or @c NULL on failure.
16868     *
16869     * @see elm_list_item_append()
16870     * @see elm_list_item_del()
16871     * @see elm_list_clear()
16872     *
16873     * @ingroup List
16874     */
16875    EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16876
16877    /**
16878     * Get the selected item.
16879     *
16880     * @param obj The list object.
16881     * @return The selected list item.
16882     *
16883     * The selected item can be unselected with function
16884     * elm_list_item_selected_set().
16885     *
16886     * The selected item always will be highlighted on list.
16887     *
16888     * @see elm_list_selected_items_get()
16889     *
16890     * @ingroup List
16891     */
16892    EAPI Elm_List_Item   *elm_list_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16893
16894    /**
16895     * Return a list of the currently selected list items.
16896     *
16897     * @param obj The list object.
16898     * @return An @c Eina_List of list items, #Elm_List_Item,
16899     * or @c NULL on failure.
16900     *
16901     * Multiple items can be selected if multi select is enabled. It can be
16902     * done with elm_list_multi_select_set().
16903     *
16904     * @see elm_list_selected_item_get()
16905     * @see elm_list_multi_select_set()
16906     *
16907     * @ingroup List
16908     */
16909    EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16910
16911    /**
16912     * Set the selected state of an item.
16913     *
16914     * @param item The list item
16915     * @param selected The selected state
16916     *
16917     * This sets the selected state of the given item @p it.
16918     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
16919     *
16920     * If a new item is selected the previosly selected will be unselected,
16921     * unless multiple selection is enabled with elm_list_multi_select_set().
16922     * Previoulsy selected item can be get with function
16923     * elm_list_selected_item_get().
16924     *
16925     * Selected items will be highlighted.
16926     *
16927     * @see elm_list_item_selected_get()
16928     * @see elm_list_selected_item_get()
16929     * @see elm_list_multi_select_set()
16930     *
16931     * @ingroup List
16932     */
16933    EAPI void             elm_list_item_selected_set(Elm_List_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
16934
16935    /*
16936     * Get whether the @p item is selected or not.
16937     *
16938     * @param item The list item.
16939     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
16940     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
16941     *
16942     * @see elm_list_selected_item_set() for details.
16943     * @see elm_list_item_selected_get()
16944     *
16945     * @ingroup List
16946     */
16947    EAPI Eina_Bool        elm_list_item_selected_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16948
16949    /**
16950     * Set or unset item as a separator.
16951     *
16952     * @param it The list item.
16953     * @param setting @c EINA_TRUE to set item @p it as separator or
16954     * @c EINA_FALSE to unset, i.e., item will be used as a regular item.
16955     *
16956     * Items aren't set as separator by default.
16957     *
16958     * If set as separator it will display separator theme, so won't display
16959     * icons or label.
16960     *
16961     * @see elm_list_item_separator_get()
16962     *
16963     * @ingroup List
16964     */
16965    EAPI void             elm_list_item_separator_set(Elm_List_Item *it, Eina_Bool setting) EINA_ARG_NONNULL(1);
16966
16967    /**
16968     * Get a value whether item is a separator or not.
16969     *
16970     * @see elm_list_item_separator_set() for details.
16971     *
16972     * @param it The list item.
16973     * @return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
16974     * indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
16975     *
16976     * @ingroup List
16977     */
16978    EAPI Eina_Bool        elm_list_item_separator_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
16979
16980    /**
16981     * Show @p item in the list view.
16982     *
16983     * @param item The list item to be shown.
16984     *
16985     * It won't animate list until item is visible. If such behavior is wanted,
16986     * use elm_list_bring_in() intead.
16987     *
16988     * @ingroup List
16989     */
16990    EAPI void             elm_list_item_show(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16991
16992    /**
16993     * Bring in the given item to list view.
16994     *
16995     * @param item The item.
16996     *
16997     * This causes list to jump to the given item @p item and show it
16998     * (by scrolling), if it is not fully visible.
16999     *
17000     * This may use animation to do so and take a period of time.
17001     *
17002     * If animation isn't wanted, elm_list_item_show() can be used.
17003     *
17004     * @ingroup List
17005     */
17006    EAPI void             elm_list_item_bring_in(Elm_List_Item *item) EINA_ARG_NONNULL(1);
17007
17008    /**
17009     * Delete them item from the list.
17010     *
17011     * @param item The item of list to be deleted.
17012     *
17013     * If deleting all list items is required, elm_list_clear()
17014     * should be used instead of getting items list and deleting each one.
17015     *
17016     * @see elm_list_clear()
17017     * @see elm_list_item_append()
17018     * @see elm_list_item_del_cb_set()
17019     *
17020     * @ingroup List
17021     */
17022    EAPI void             elm_list_item_del(Elm_List_Item *item) EINA_ARG_NONNULL(1);
17023
17024    /**
17025     * Set the function called when a list item is freed.
17026     *
17027     * @param item The item to set the callback on
17028     * @param func The function called
17029     *
17030     * If there is a @p func, then it will be called prior item's memory release.
17031     * That will be called with the following arguments:
17032     * @li item's data;
17033     * @li item's Evas object;
17034     * @li item itself;
17035     *
17036     * This way, a data associated to a list item could be properly freed.
17037     *
17038     * @ingroup List
17039     */
17040    EAPI void             elm_list_item_del_cb_set(Elm_List_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
17041
17042    /**
17043     * Get the data associated to the item.
17044     *
17045     * @param item The list item
17046     * @return The data associated to @p item
17047     *
17048     * The return value is a pointer to data associated to @p item when it was
17049     * created, with function elm_list_item_append() or similar. If no data
17050     * was passed as argument, it will return @c NULL.
17051     *
17052     * @see elm_list_item_append()
17053     *
17054     * @ingroup List
17055     */
17056    EAPI void            *elm_list_item_data_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17057
17058    /**
17059     * Get the left side icon associated to the item.
17060     *
17061     * @param item The list item
17062     * @return The left side icon associated to @p item
17063     *
17064     * The return value is a pointer to the icon associated to @p item when
17065     * it was
17066     * created, with function elm_list_item_append() or similar, or later
17067     * with function elm_list_item_icon_set(). If no icon
17068     * was passed as argument, it will return @c NULL.
17069     *
17070     * @see elm_list_item_append()
17071     * @see elm_list_item_icon_set()
17072     *
17073     * @ingroup List
17074     */
17075    EAPI Evas_Object     *elm_list_item_icon_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17076
17077    /**
17078     * Set the left side icon associated to the item.
17079     *
17080     * @param item The list item
17081     * @param icon The left side icon object to associate with @p item
17082     *
17083     * The icon object to use at left side of the item. An
17084     * icon can be any Evas object, but usually it is an icon created
17085     * with elm_icon_add().
17086     *
17087     * Once the icon object is set, a previously set one will be deleted.
17088     * @warning Setting the same icon for two items will cause the icon to
17089     * dissapear from the first item.
17090     *
17091     * If an icon was passed as argument on item creation, with function
17092     * elm_list_item_append() or similar, it will be already
17093     * associated to the item.
17094     *
17095     * @see elm_list_item_append()
17096     * @see elm_list_item_icon_get()
17097     *
17098     * @ingroup List
17099     */
17100    EAPI void             elm_list_item_icon_set(Elm_List_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
17101
17102    /**
17103     * Get the right side icon associated to the item.
17104     *
17105     * @param item The list item
17106     * @return The right side icon associated to @p item
17107     *
17108     * The return value is a pointer to the icon associated to @p item when
17109     * it was
17110     * created, with function elm_list_item_append() or similar, or later
17111     * with function elm_list_item_icon_set(). If no icon
17112     * was passed as argument, it will return @c NULL.
17113     *
17114     * @see elm_list_item_append()
17115     * @see elm_list_item_icon_set()
17116     *
17117     * @ingroup List
17118     */
17119    EAPI Evas_Object     *elm_list_item_end_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17120
17121    /**
17122     * Set the right side icon associated to the item.
17123     *
17124     * @param item The list item
17125     * @param end The right side icon object to associate with @p item
17126     *
17127     * The icon object to use at right side of the item. An
17128     * icon can be any Evas object, but usually it is an icon created
17129     * with elm_icon_add().
17130     *
17131     * Once the icon object is set, a previously set one will be deleted.
17132     * @warning Setting the same icon for two items will cause the icon to
17133     * dissapear from the first item.
17134     *
17135     * If an icon was passed as argument on item creation, with function
17136     * elm_list_item_append() or similar, it will be already
17137     * associated to the item.
17138     *
17139     * @see elm_list_item_append()
17140     * @see elm_list_item_end_get()
17141     *
17142     * @ingroup List
17143     */
17144    EAPI void             elm_list_item_end_set(Elm_List_Item *item, Evas_Object *end) EINA_ARG_NONNULL(1);
17145
17146    /**
17147     * Gets the base object of the item.
17148     *
17149     * @param item The list item
17150     * @return The base object associated with @p item
17151     *
17152     * Base object is the @c Evas_Object that represents that item.
17153     *
17154     * @ingroup List
17155     */
17156    EAPI Evas_Object     *elm_list_item_object_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17157    EINA_DEPRECATED EAPI Evas_Object     *elm_list_item_base_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17158
17159    /**
17160     * Get the label of item.
17161     *
17162     * @param item The item of list.
17163     * @return The label of item.
17164     *
17165     * The return value is a pointer to the label associated to @p item when
17166     * it was created, with function elm_list_item_append(), or later
17167     * with function elm_list_item_label_set. If no label
17168     * was passed as argument, it will return @c NULL.
17169     *
17170     * @see elm_list_item_label_set() for more details.
17171     * @see elm_list_item_append()
17172     *
17173     * @ingroup List
17174     */
17175    EAPI const char      *elm_list_item_label_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17176
17177    /**
17178     * Set the label of item.
17179     *
17180     * @param item The item of list.
17181     * @param text The label of item.
17182     *
17183     * The label to be displayed by the item.
17184     * Label will be placed between left and right side icons (if set).
17185     *
17186     * If a label was passed as argument on item creation, with function
17187     * elm_list_item_append() or similar, it will be already
17188     * displayed by the item.
17189     *
17190     * @see elm_list_item_label_get()
17191     * @see elm_list_item_append()
17192     *
17193     * @ingroup List
17194     */
17195    EAPI void             elm_list_item_label_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
17196
17197
17198    /**
17199     * Get the item before @p it in list.
17200     *
17201     * @param it The list item.
17202     * @return The item before @p it, or @c NULL if none or on failure.
17203     *
17204     * @note If it is the first item, @c NULL will be returned.
17205     *
17206     * @see elm_list_item_append()
17207     * @see elm_list_items_get()
17208     *
17209     * @ingroup List
17210     */
17211    EAPI Elm_List_Item   *elm_list_item_prev(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
17212
17213    /**
17214     * Get the item after @p it in list.
17215     *
17216     * @param it The list item.
17217     * @return The item after @p it, or @c NULL if none or on failure.
17218     *
17219     * @note If it is the last item, @c NULL will be returned.
17220     *
17221     * @see elm_list_item_append()
17222     * @see elm_list_items_get()
17223     *
17224     * @ingroup List
17225     */
17226    EAPI Elm_List_Item   *elm_list_item_next(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
17227
17228    /**
17229     * Sets the disabled/enabled state of a list item.
17230     *
17231     * @param it The item.
17232     * @param disabled The disabled state.
17233     *
17234     * A disabled item cannot be selected or unselected. It will also
17235     * change its appearance (generally greyed out). This sets the
17236     * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
17237     * enabled).
17238     *
17239     * @ingroup List
17240     */
17241    EAPI void             elm_list_item_disabled_set(Elm_List_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
17242
17243    /**
17244     * Get a value whether list item is disabled or not.
17245     *
17246     * @param it The item.
17247     * @return The disabled state.
17248     *
17249     * @see elm_list_item_disabled_set() for more details.
17250     *
17251     * @ingroup List
17252     */
17253    EAPI Eina_Bool        elm_list_item_disabled_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
17254
17255    /**
17256     * Set the text to be shown in a given list item's tooltips.
17257     *
17258     * @param item Target item.
17259     * @param text The text to set in the content.
17260     *
17261     * Setup the text as tooltip to object. The item can have only one tooltip,
17262     * so any previous tooltip data - set with this function or
17263     * elm_list_item_tooltip_content_cb_set() - is removed.
17264     *
17265     * @see elm_object_tooltip_text_set() for more details.
17266     *
17267     * @ingroup List
17268     */
17269    EAPI void             elm_list_item_tooltip_text_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
17270
17271
17272    /**
17273     * @brief Disable size restrictions on an object's tooltip
17274     * @param item The tooltip's anchor object
17275     * @param disable If EINA_TRUE, size restrictions are disabled
17276     * @return EINA_FALSE on failure, EINA_TRUE on success
17277     *
17278     * This function allows a tooltip to expand beyond its parant window's canvas.
17279     * It will instead be limited only by the size of the display.
17280     */
17281    EAPI Eina_Bool        elm_list_item_tooltip_size_restrict_disable(Elm_List_Item *item, Eina_Bool disable) EINA_ARG_NONNULL(1);
17282    /**
17283     * @brief Retrieve size restriction state of an object's tooltip
17284     * @param obj The tooltip's anchor object
17285     * @return If EINA_TRUE, size restrictions are disabled
17286     *
17287     * This function returns whether a tooltip is allowed to expand beyond
17288     * its parant window's canvas.
17289     * It will instead be limited only by the size of the display.
17290     */
17291    EAPI Eina_Bool        elm_list_item_tooltip_size_restrict_disabled_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17292
17293    /**
17294     * Set the content to be shown in the tooltip item.
17295     *
17296     * Setup the tooltip to item. The item can have only one tooltip,
17297     * so any previous tooltip data is removed. @p func(with @p data) will
17298     * be called every time that need show the tooltip and it should
17299     * return a valid Evas_Object. This object is then managed fully by
17300     * tooltip system and is deleted when the tooltip is gone.
17301     *
17302     * @param item the list item being attached a tooltip.
17303     * @param func the function used to create the tooltip contents.
17304     * @param data what to provide to @a func as callback data/context.
17305     * @param del_cb called when data is not needed anymore, either when
17306     *        another callback replaces @a func, the tooltip is unset with
17307     *        elm_list_item_tooltip_unset() or the owner @a item
17308     *        dies. This callback receives as the first parameter the
17309     *        given @a data, and @c event_info is the item.
17310     *
17311     * @see elm_object_tooltip_content_cb_set() for more details.
17312     *
17313     * @ingroup List
17314     */
17315    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);
17316
17317    /**
17318     * Unset tooltip from item.
17319     *
17320     * @param item list item to remove previously set tooltip.
17321     *
17322     * Remove tooltip from item. The callback provided as del_cb to
17323     * elm_list_item_tooltip_content_cb_set() will be called to notify
17324     * it is not used anymore.
17325     *
17326     * @see elm_object_tooltip_unset() for more details.
17327     * @see elm_list_item_tooltip_content_cb_set()
17328     *
17329     * @ingroup List
17330     */
17331    EAPI void             elm_list_item_tooltip_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
17332
17333    /**
17334     * Sets a different style for this item tooltip.
17335     *
17336     * @note before you set a style you should define a tooltip with
17337     *       elm_list_item_tooltip_content_cb_set() or
17338     *       elm_list_item_tooltip_text_set()
17339     *
17340     * @param item list item with tooltip already set.
17341     * @param style the theme style to use (default, transparent, ...)
17342     *
17343     * @see elm_object_tooltip_style_set() for more details.
17344     *
17345     * @ingroup List
17346     */
17347    EAPI void             elm_list_item_tooltip_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
17348
17349    /**
17350     * Get the style for this item tooltip.
17351     *
17352     * @param item list item with tooltip already set.
17353     * @return style the theme style in use, defaults to "default". If the
17354     *         object does not have a tooltip set, then NULL is returned.
17355     *
17356     * @see elm_object_tooltip_style_get() for more details.
17357     * @see elm_list_item_tooltip_style_set()
17358     *
17359     * @ingroup List
17360     */
17361    EAPI const char      *elm_list_item_tooltip_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17362
17363    /**
17364     * Set the type of mouse pointer/cursor decoration to be shown,
17365     * when the mouse pointer is over the given list widget item
17366     *
17367     * @param item list item to customize cursor on
17368     * @param cursor the cursor type's name
17369     *
17370     * This function works analogously as elm_object_cursor_set(), but
17371     * here the cursor's changing area is restricted to the item's
17372     * area, and not the whole widget's. Note that that item cursors
17373     * have precedence over widget cursors, so that a mouse over an
17374     * item with custom cursor set will always show @b that cursor.
17375     *
17376     * If this function is called twice for an object, a previously set
17377     * cursor will be unset on the second call.
17378     *
17379     * @see elm_object_cursor_set()
17380     * @see elm_list_item_cursor_get()
17381     * @see elm_list_item_cursor_unset()
17382     *
17383     * @ingroup List
17384     */
17385    EAPI void             elm_list_item_cursor_set(Elm_List_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
17386
17387    /*
17388     * Get the type of mouse pointer/cursor decoration set to be shown,
17389     * when the mouse pointer is over the given list widget item
17390     *
17391     * @param item list item with custom cursor set
17392     * @return the cursor type's name or @c NULL, if no custom cursors
17393     * were set to @p item (and on errors)
17394     *
17395     * @see elm_object_cursor_get()
17396     * @see elm_list_item_cursor_set()
17397     * @see elm_list_item_cursor_unset()
17398     *
17399     * @ingroup List
17400     */
17401    EAPI const char      *elm_list_item_cursor_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17402
17403    /**
17404     * Unset any custom mouse pointer/cursor decoration set to be
17405     * shown, when the mouse pointer is over the given list widget
17406     * item, thus making it show the @b default cursor again.
17407     *
17408     * @param item a list item
17409     *
17410     * Use this call to undo any custom settings on this item's cursor
17411     * decoration, bringing it back to defaults (no custom style set).
17412     *
17413     * @see elm_object_cursor_unset()
17414     * @see elm_list_item_cursor_set()
17415     *
17416     * @ingroup List
17417     */
17418    EAPI void             elm_list_item_cursor_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
17419
17420    /**
17421     * Set a different @b style for a given custom cursor set for a
17422     * list item.
17423     *
17424     * @param item list item with custom cursor set
17425     * @param style the <b>theme style</b> to use (e.g. @c "default",
17426     * @c "transparent", etc)
17427     *
17428     * This function only makes sense when one is using custom mouse
17429     * cursor decorations <b>defined in a theme file</b>, which can have,
17430     * given a cursor name/type, <b>alternate styles</b> on it. It
17431     * works analogously as elm_object_cursor_style_set(), but here
17432     * applyed only to list item objects.
17433     *
17434     * @warning Before you set a cursor style you should have definen a
17435     *       custom cursor previously on the item, with
17436     *       elm_list_item_cursor_set()
17437     *
17438     * @see elm_list_item_cursor_engine_only_set()
17439     * @see elm_list_item_cursor_style_get()
17440     *
17441     * @ingroup List
17442     */
17443    EAPI void             elm_list_item_cursor_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
17444
17445    /**
17446     * Get the current @b style set for a given list item's custom
17447     * cursor
17448     *
17449     * @param item list item with custom cursor set.
17450     * @return style the cursor style in use. If the object does not
17451     *         have a cursor set, then @c NULL is returned.
17452     *
17453     * @see elm_list_item_cursor_style_set() for more details
17454     *
17455     * @ingroup List
17456     */
17457    EAPI const char      *elm_list_item_cursor_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17458
17459    /**
17460     * Set if the (custom)cursor for a given list item should be
17461     * searched in its theme, also, or should only rely on the
17462     * rendering engine.
17463     *
17464     * @param item item with custom (custom) cursor already set on
17465     * @param engine_only Use @c EINA_TRUE to have cursors looked for
17466     * only on those provided by the rendering engine, @c EINA_FALSE to
17467     * have them searched on the widget's theme, as well.
17468     *
17469     * @note This call is of use only if you've set a custom cursor
17470     * for list items, with elm_list_item_cursor_set().
17471     *
17472     * @note By default, cursors will only be looked for between those
17473     * provided by the rendering engine.
17474     *
17475     * @ingroup List
17476     */
17477    EAPI void             elm_list_item_cursor_engine_only_set(Elm_List_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
17478
17479    /**
17480     * Get if the (custom) cursor for a given list item is being
17481     * searched in its theme, also, or is only relying on the rendering
17482     * engine.
17483     *
17484     * @param item a list item
17485     * @return @c EINA_TRUE, if cursors are being looked for only on
17486     * those provided by the rendering engine, @c EINA_FALSE if they
17487     * are being searched on the widget's theme, as well.
17488     *
17489     * @see elm_list_item_cursor_engine_only_set(), for more details
17490     *
17491     * @ingroup List
17492     */
17493    EAPI Eina_Bool        elm_list_item_cursor_engine_only_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17494
17495    /**
17496     * @}
17497     */
17498
17499    /**
17500     * @defgroup Slider Slider
17501     * @ingroup Elementary
17502     *
17503     * @image html img/widget/slider/preview-00.png
17504     * @image latex img/widget/slider/preview-00.eps width=\textwidth
17505     *
17506     * The slider adds a dragable ā€œsliderā€ widget for selecting the value of
17507     * something within a range.
17508     *
17509     * A slider can be horizontal or vertical. It can contain an Icon and has a
17510     * primary label as well as a units label (that is formatted with floating
17511     * point values and thus accepts a printf-style format string, like
17512     * ā€œ%1.2f unitsā€. There is also an indicator string that may be somewhere
17513     * else (like on the slider itself) that also accepts a format string like
17514     * units. Label, Icon Unit and Indicator strings/objects are optional.
17515     *
17516     * A slider may be inverted which means values invert, with high vales being
17517     * on the left or top and low values on the right or bottom (as opposed to
17518     * normally being low on the left or top and high on the bottom and right).
17519     *
17520     * The slider should have its minimum and maximum values set by the
17521     * application with  elm_slider_min_max_set() and value should also be set by
17522     * the application before use with  elm_slider_value_set(). The span of the
17523     * slider is its length (horizontally or vertically). This will be scaled by
17524     * the object or applications scaling factor. At any point code can query the
17525     * slider for its value with elm_slider_value_get().
17526     *
17527     * Smart callbacks one can listen to:
17528     * - "changed" - Whenever the slider value is changed by the user.
17529     * - "slider,drag,start" - dragging the slider indicator around has started.
17530     * - "slider,drag,stop" - dragging the slider indicator around has stopped.
17531     * - "delay,changed" - A short time after the value is changed by the user.
17532     * This will be called only when the user stops dragging for
17533     * a very short period or when they release their
17534     * finger/mouse, so it avoids possibly expensive reactions to
17535     * the value change.
17536     *
17537     * Available styles for it:
17538     * - @c "default"
17539     *
17540     * Default contents parts of the slider widget that you can use for are:
17541     * @li "icon" - A icon of the slider
17542     * @li "end" - A end part content of the slider
17543     * 
17544     * Default text parts of the silder widget that you can use for are:
17545     * @li "default" - Label of the silder
17546     * Here is an example on its usage:
17547     * @li @ref slider_example
17548     */
17549
17550    /**
17551     * @addtogroup Slider
17552     * @{
17553     */
17554
17555    /**
17556     * Add a new slider widget to the given parent Elementary
17557     * (container) object.
17558     *
17559     * @param parent The parent object.
17560     * @return a new slider widget handle or @c NULL, on errors.
17561     *
17562     * This function inserts a new slider widget on the canvas.
17563     *
17564     * @ingroup Slider
17565     */
17566    EAPI Evas_Object       *elm_slider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
17567
17568    /**
17569     * Set the label of a given slider widget
17570     *
17571     * @param obj The progress bar object
17572     * @param label The text label string, in UTF-8
17573     *
17574     * @ingroup Slider
17575     * @deprecated use elm_object_text_set() instead.
17576     */
17577    EINA_DEPRECATED EAPI void               elm_slider_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
17578
17579    /**
17580     * Get the label of a given slider widget
17581     *
17582     * @param obj The progressbar object
17583     * @return The text label string, in UTF-8
17584     *
17585     * @ingroup Slider
17586     * @deprecated use elm_object_text_get() instead.
17587     */
17588    EINA_DEPRECATED EAPI const char        *elm_slider_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17589
17590    /**
17591     * Set the icon object of the slider object.
17592     *
17593     * @param obj The slider object.
17594     * @param icon The icon object.
17595     *
17596     * On horizontal mode, icon is placed at left, and on vertical mode,
17597     * placed at top.
17598     *
17599     * @note Once the icon object is set, a previously set one will be deleted.
17600     * If you want to keep that old content object, use the
17601     * elm_slider_icon_unset() function.
17602     *
17603     * @warning If the object being set does not have minimum size hints set,
17604     * it won't get properly displayed.
17605     *
17606     * @ingroup Slider
17607     * @deprecated use elm_object_part_content_set() instead.
17608     */
17609    EINA_DEPRECATED EAPI void               elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
17610
17611    /**
17612     * Unset an icon set on a given slider widget.
17613     *
17614     * @param obj The slider object.
17615     * @return The icon object that was being used, if any was set, or
17616     * @c NULL, otherwise (and on errors).
17617     *
17618     * On horizontal mode, icon is placed at left, and on vertical mode,
17619     * placed at top.
17620     *
17621     * This call will unparent and return the icon object which was set
17622     * for this widget, previously, on success.
17623     *
17624     * @see elm_slider_icon_set() for more details
17625     * @see elm_slider_icon_get()
17626     * @deprecated use elm_object_part_content_unset() instead.
17627     *
17628     * @ingroup Slider
17629     */
17630    EINA_DEPRECATED EAPI Evas_Object       *elm_slider_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
17631
17632    /**
17633     * Retrieve the icon object set for a given slider widget.
17634     *
17635     * @param obj The slider object.
17636     * @return The icon object's handle, if @p obj had one set, or @c NULL,
17637     * otherwise (and on errors).
17638     *
17639     * On horizontal mode, icon is placed at left, and on vertical mode,
17640     * placed at top.
17641     *
17642     * @see elm_slider_icon_set() for more details
17643     * @see elm_slider_icon_unset()
17644     *
17645     * @deprecated use elm_object_part_content_get() instead.
17646     *
17647     * @ingroup Slider
17648     */
17649    EINA_DEPRECATED EAPI Evas_Object       *elm_slider_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17650
17651    /**
17652     * Set the end object of the slider object.
17653     *
17654     * @param obj The slider object.
17655     * @param end The end object.
17656     *
17657     * On horizontal mode, end is placed at left, and on vertical mode,
17658     * placed at bottom.
17659     *
17660     * @note Once the icon object is set, a previously set one will be deleted.
17661     * If you want to keep that old content object, use the
17662     * elm_slider_end_unset() function.
17663     *
17664     * @warning If the object being set does not have minimum size hints set,
17665     * it won't get properly displayed.
17666     *
17667     * @deprecated use elm_object_part_content_set() instead.
17668     *
17669     * @ingroup Slider
17670     */
17671    EINA_DEPRECATED EAPI void               elm_slider_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1);
17672
17673    /**
17674     * Unset an end object set on a given slider widget.
17675     *
17676     * @param obj The slider object.
17677     * @return The end object that was being used, if any was set, or
17678     * @c NULL, otherwise (and on errors).
17679     *
17680     * On horizontal mode, end is placed at left, and on vertical mode,
17681     * placed at bottom.
17682     *
17683     * This call will unparent and return the icon object which was set
17684     * for this widget, previously, on success.
17685     *
17686     * @see elm_slider_end_set() for more details.
17687     * @see elm_slider_end_get()
17688     *
17689     * @deprecated use elm_object_part_content_unset() instead
17690     * instead.
17691     *
17692     * @ingroup Slider
17693     */
17694    EINA_DEPRECATED EAPI Evas_Object       *elm_slider_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
17695
17696    /**
17697     * Retrieve the end object set for a given slider widget.
17698     *
17699     * @param obj The slider object.
17700     * @return The end object's handle, if @p obj had one set, or @c NULL,
17701     * otherwise (and on errors).
17702     *
17703     * On horizontal mode, icon is placed at right, and on vertical mode,
17704     * placed at bottom.
17705     *
17706     * @see elm_slider_end_set() for more details.
17707     * @see elm_slider_end_unset()
17708     *
17709     *
17710     * @deprecated use elm_object_part_content_get() instead 
17711     * instead.
17712     *
17713     * @ingroup Slider
17714     */
17715    EINA_DEPRECATED EAPI Evas_Object       *elm_slider_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17716
17717    /**
17718     * Set the (exact) length of the bar region of a given slider widget.
17719     *
17720     * @param obj The slider object.
17721     * @param size The length of the slider's bar region.
17722     *
17723     * This sets the minimum width (when in horizontal mode) or height
17724     * (when in vertical mode) of the actual bar area of the slider
17725     * @p obj. This in turn affects the object's minimum size. Use
17726     * this when you're not setting other size hints expanding on the
17727     * given direction (like weight and alignment hints) and you would
17728     * like it to have a specific size.
17729     *
17730     * @note Icon, end, label, indicator and unit text around @p obj
17731     * will require their
17732     * own space, which will make @p obj to require more the @p size,
17733     * actually.
17734     *
17735     * @see elm_slider_span_size_get()
17736     *
17737     * @ingroup Slider
17738     */
17739    EAPI void               elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
17740
17741    /**
17742     * Get the length set for the bar region of a given slider widget
17743     *
17744     * @param obj The slider object.
17745     * @return The length of the slider's bar region.
17746     *
17747     * If that size was not set previously, with
17748     * elm_slider_span_size_set(), this call will return @c 0.
17749     *
17750     * @ingroup Slider
17751     */
17752    EAPI Evas_Coord         elm_slider_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17753
17754    /**
17755     * Set the format string for the unit label.
17756     *
17757     * @param obj The slider object.
17758     * @param format The format string for the unit display.
17759     *
17760     * Unit label is displayed all the time, if set, after slider's bar.
17761     * In horizontal mode, at right and in vertical mode, at bottom.
17762     *
17763     * If @c NULL, unit label won't be visible. If not it sets the format
17764     * string for the label text. To the label text is provided a floating point
17765     * value, so the label text can display up to 1 floating point value.
17766     * Note that this is optional.
17767     *
17768     * Use a format string such as "%1.2f meters" for example, and it will
17769     * display values like: "3.14 meters" for a value equal to 3.14159.
17770     *
17771     * Default is unit label disabled.
17772     *
17773     * @see elm_slider_indicator_format_get()
17774     *
17775     * @ingroup Slider
17776     */
17777    EAPI void               elm_slider_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
17778
17779    /**
17780     * Get the unit label format of the slider.
17781     *
17782     * @param obj The slider object.
17783     * @return The unit label format string in UTF-8.
17784     *
17785     * Unit label is displayed all the time, if set, after slider's bar.
17786     * In horizontal mode, at right and in vertical mode, at bottom.
17787     *
17788     * @see elm_slider_unit_format_set() for more
17789     * information on how this works.
17790     *
17791     * @ingroup Slider
17792     */
17793    EAPI const char        *elm_slider_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17794
17795    /**
17796     * Set the format string for the indicator label.
17797     *
17798     * @param obj The slider object.
17799     * @param indicator The format string for the indicator display.
17800     *
17801     * The slider may display its value somewhere else then unit label,
17802     * for example, above the slider knob that is dragged around. This function
17803     * sets the format string used for this.
17804     *
17805     * If @c NULL, indicator label won't be visible. If not it sets the format
17806     * string for the label text. To the label text is provided a floating point
17807     * value, so the label text can display up to 1 floating point value.
17808     * Note that this is optional.
17809     *
17810     * Use a format string such as "%1.2f meters" for example, and it will
17811     * display values like: "3.14 meters" for a value equal to 3.14159.
17812     *
17813     * Default is indicator label disabled.
17814     *
17815     * @see elm_slider_indicator_format_get()
17816     *
17817     * @ingroup Slider
17818     */
17819    EAPI void               elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator) EINA_ARG_NONNULL(1);
17820
17821    /**
17822     * Get the indicator label format of the slider.
17823     *
17824     * @param obj The slider object.
17825     * @return The indicator label format string in UTF-8.
17826     *
17827     * The slider may display its value somewhere else then unit label,
17828     * for example, above the slider knob that is dragged around. This function
17829     * gets the format string used for this.
17830     *
17831     * @see elm_slider_indicator_format_set() for more
17832     * information on how this works.
17833     *
17834     * @ingroup Slider
17835     */
17836    EAPI const char        *elm_slider_indicator_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17837
17838    /**
17839     * Set the format function pointer for the indicator label
17840     *
17841     * @param obj The slider object.
17842     * @param func The indicator format function.
17843     * @param free_func The freeing function for the format string.
17844     *
17845     * Set the callback function to format the indicator string.
17846     *
17847     * @see elm_slider_indicator_format_set() for more info on how this works.
17848     *
17849     * @ingroup Slider
17850     */
17851   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);
17852
17853   /**
17854    * Set the format function pointer for the units label
17855    *
17856    * @param obj The slider object.
17857    * @param func The units format function.
17858    * @param free_func The freeing function for the format string.
17859    *
17860    * Set the callback function to format the indicator string.
17861    *
17862    * @see elm_slider_units_format_set() for more info on how this works.
17863    *
17864    * @ingroup Slider
17865    */
17866   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);
17867
17868   /**
17869    * Set the orientation of a given slider widget.
17870    *
17871    * @param obj The slider object.
17872    * @param horizontal Use @c EINA_TRUE to make @p obj to be
17873    * @b horizontal, @c EINA_FALSE to make it @b vertical.
17874    *
17875    * Use this function to change how your slider is to be
17876    * disposed: vertically or horizontally.
17877    *
17878    * By default it's displayed horizontally.
17879    *
17880    * @see elm_slider_horizontal_get()
17881    *
17882    * @ingroup Slider
17883    */
17884    EAPI void               elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
17885
17886    /**
17887     * Retrieve the orientation of a given slider widget
17888     *
17889     * @param obj The slider object.
17890     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
17891     * @c EINA_FALSE if it's @b vertical (and on errors).
17892     *
17893     * @see elm_slider_horizontal_set() for more details.
17894     *
17895     * @ingroup Slider
17896     */
17897    EAPI Eina_Bool          elm_slider_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17898
17899    /**
17900     * Set the minimum and maximum values for the slider.
17901     *
17902     * @param obj The slider object.
17903     * @param min The minimum value.
17904     * @param max The maximum value.
17905     *
17906     * Define the allowed range of values to be selected by the user.
17907     *
17908     * If actual value is less than @p min, it will be updated to @p min. If it
17909     * is bigger then @p max, will be updated to @p max. Actual value can be
17910     * get with elm_slider_value_get().
17911     *
17912     * By default, min is equal to 0.0, and max is equal to 1.0.
17913     *
17914     * @warning Maximum must be greater than minimum, otherwise behavior
17915     * is undefined.
17916     *
17917     * @see elm_slider_min_max_get()
17918     *
17919     * @ingroup Slider
17920     */
17921    EAPI void               elm_slider_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
17922
17923    /**
17924     * Get the minimum and maximum values of the slider.
17925     *
17926     * @param obj The slider object.
17927     * @param min Pointer where to store the minimum value.
17928     * @param max Pointer where to store the maximum value.
17929     *
17930     * @note If only one value is needed, the other pointer can be passed
17931     * as @c NULL.
17932     *
17933     * @see elm_slider_min_max_set() for details.
17934     *
17935     * @ingroup Slider
17936     */
17937    EAPI void               elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
17938
17939    /**
17940     * Set the value the slider displays.
17941     *
17942     * @param obj The slider object.
17943     * @param val The value to be displayed.
17944     *
17945     * Value will be presented on the unit label following format specified with
17946     * elm_slider_unit_format_set() and on indicator with
17947     * elm_slider_indicator_format_set().
17948     *
17949     * @warning The value must to be between min and max values. This values
17950     * are set by elm_slider_min_max_set().
17951     *
17952     * @see elm_slider_value_get()
17953     * @see elm_slider_unit_format_set()
17954     * @see elm_slider_indicator_format_set()
17955     * @see elm_slider_min_max_set()
17956     *
17957     * @ingroup Slider
17958     */
17959    EAPI void               elm_slider_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
17960
17961    /**
17962     * Get the value displayed by the spinner.
17963     *
17964     * @param obj The spinner object.
17965     * @return The value displayed.
17966     *
17967     * @see elm_spinner_value_set() for details.
17968     *
17969     * @ingroup Slider
17970     */
17971    EAPI double             elm_slider_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17972
17973    /**
17974     * Invert a given slider widget's displaying values order
17975     *
17976     * @param obj The slider object.
17977     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
17978     * @c EINA_FALSE to bring it back to default, non-inverted values.
17979     *
17980     * A slider may be @b inverted, in which state it gets its
17981     * values inverted, with high vales being on the left or top and
17982     * low values on the right or bottom, as opposed to normally have
17983     * the low values on the former and high values on the latter,
17984     * respectively, for horizontal and vertical modes.
17985     *
17986     * @see elm_slider_inverted_get()
17987     *
17988     * @ingroup Slider
17989     */
17990    EAPI void               elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
17991
17992    /**
17993     * Get whether a given slider widget's displaying values are
17994     * inverted or not.
17995     *
17996     * @param obj The slider object.
17997     * @return @c EINA_TRUE, if @p obj has inverted values,
17998     * @c EINA_FALSE otherwise (and on errors).
17999     *
18000     * @see elm_slider_inverted_set() for more details.
18001     *
18002     * @ingroup Slider
18003     */
18004    EAPI Eina_Bool          elm_slider_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18005
18006    /**
18007     * Set whether to enlarge slider indicator (augmented knob) or not.
18008     *
18009     * @param obj The slider object.
18010     * @param show @c EINA_TRUE will make it enlarge, @c EINA_FALSE will
18011     * let the knob always at default size.
18012     *
18013     * By default, indicator will be bigger while dragged by the user.
18014     *
18015     * @warning It won't display values set with
18016     * elm_slider_indicator_format_set() if you disable indicator.
18017     *
18018     * @ingroup Slider
18019     */
18020    EAPI void               elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show) EINA_ARG_NONNULL(1);
18021
18022    /**
18023     * Get whether a given slider widget's enlarging indicator or not.
18024     *
18025     * @param obj The slider object.
18026     * @return @c EINA_TRUE, if @p obj is enlarging indicator, or
18027     * @c EINA_FALSE otherwise (and on errors).
18028     *
18029     * @see elm_slider_indicator_show_set() for details.
18030     *
18031     * @ingroup Slider
18032     */
18033    EAPI Eina_Bool          elm_slider_indicator_show_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18034
18035    /**
18036     * @}
18037     */
18038
18039    /**
18040     * @addtogroup Actionslider Actionslider
18041     *
18042     * @image html img/widget/actionslider/preview-00.png
18043     * @image latex img/widget/actionslider/preview-00.eps
18044     *
18045     * An actionslider is a switcher for 2 or 3 labels with customizable magnet
18046     * properties. The user drags and releases the indicator, to choose a label.
18047     *
18048     * Labels occupy the following positions.
18049     * a. Left
18050     * b. Right
18051     * c. Center
18052     *
18053     * Positions can be enabled or disabled.
18054     *
18055     * Magnets can be set on the above positions.
18056     *
18057     * When the indicator is released, it will move to its nearest "enabled and magnetized" position.
18058     *
18059     * @note By default all positions are set as enabled.
18060     *
18061     * Signals that you can add callbacks for are:
18062     *
18063     * "selected" - when user selects an enabled position (the label is passed
18064     *              as event info)".
18065     * @n
18066     * "pos_changed" - when the indicator reaches any of the positions("left",
18067     *                 "right" or "center").
18068     *
18069     * See an example of actionslider usage @ref actionslider_example_page "here"
18070     * @{
18071     */
18072    typedef enum _Elm_Actionslider_Pos
18073      {
18074         ELM_ACTIONSLIDER_NONE = 0,
18075         ELM_ACTIONSLIDER_LEFT = 1 << 0,
18076         ELM_ACTIONSLIDER_CENTER = 1 << 1,
18077         ELM_ACTIONSLIDER_RIGHT = 1 << 2,
18078         ELM_ACTIONSLIDER_ALL = (1 << 3) -1
18079      } Elm_Actionslider_Pos;
18080
18081    /**
18082     * Add a new actionslider to the parent.
18083     *
18084     * @param parent The parent object
18085     * @return The new actionslider object or NULL if it cannot be created
18086     */
18087    EAPI Evas_Object          *elm_actionslider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
18088    /**
18089     * Set actionslider labels.
18090     *
18091     * @param obj The actionslider object
18092     * @param left_label The label to be set on the left.
18093     * @param center_label The label to be set on the center.
18094     * @param right_label The label to be set on the right.
18095     * @deprecated use elm_object_text_set() instead.
18096     */
18097    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);
18098    /**
18099     * Get actionslider labels.
18100     *
18101     * @param obj The actionslider object
18102     * @param left_label A char** to place the left_label of @p obj into.
18103     * @param center_label A char** to place the center_label of @p obj into.
18104     * @param right_label A char** to place the right_label of @p obj into.
18105     * @deprecated use elm_object_text_set() instead.
18106     */
18107    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);
18108    /**
18109     * Get actionslider selected label.
18110     *
18111     * @param obj The actionslider object
18112     * @return The selected label
18113     */
18114    EAPI const char           *elm_actionslider_selected_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18115    /**
18116     * Set actionslider indicator position.
18117     *
18118     * @param obj The actionslider object.
18119     * @param pos The position of the indicator.
18120     */
18121    EAPI void                  elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
18122    /**
18123     * Get actionslider indicator position.
18124     *
18125     * @param obj The actionslider object.
18126     * @return The position of the indicator.
18127     */
18128    EAPI Elm_Actionslider_Pos  elm_actionslider_indicator_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18129    /**
18130     * Set actionslider magnet position. To make multiple positions magnets @c or
18131     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT)
18132     *
18133     * @param obj The actionslider object.
18134     * @param pos Bit mask indicating the magnet positions.
18135     */
18136    EAPI void                  elm_actionslider_magnet_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
18137    /**
18138     * Get actionslider magnet position.
18139     *
18140     * @param obj The actionslider object.
18141     * @return The positions with magnet property.
18142     */
18143    EAPI Elm_Actionslider_Pos  elm_actionslider_magnet_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18144    /**
18145     * Set actionslider enabled position. To set multiple positions as enabled @c or
18146     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT).
18147     *
18148     * @note All the positions are enabled by default.
18149     *
18150     * @param obj The actionslider object.
18151     * @param pos Bit mask indicating the enabled positions.
18152     */
18153    EAPI void                  elm_actionslider_enabled_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
18154    /**
18155     * Get actionslider enabled position.
18156     *
18157     * @param obj The actionslider object.
18158     * @return The enabled positions.
18159     */
18160    EAPI Elm_Actionslider_Pos  elm_actionslider_enabled_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18161    /**
18162     * Set the label used on the indicator.
18163     *
18164     * @param obj The actionslider object
18165     * @param label The label to be set on the indicator.
18166     * @deprecated use elm_object_text_set() instead.
18167     */
18168    EINA_DEPRECATED EAPI void                  elm_actionslider_indicator_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
18169    /**
18170     * Get the label used on the indicator object.
18171     *
18172     * @param obj The actionslider object
18173     * @return The indicator label
18174     * @deprecated use elm_object_text_get() instead.
18175     */
18176    EINA_DEPRECATED EAPI const char           *elm_actionslider_indicator_label_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
18177    /**
18178     * @}
18179     */
18180
18181    /**
18182     * @defgroup Genlist Genlist
18183     *
18184     * @image html img/widget/genlist/preview-00.png
18185     * @image latex img/widget/genlist/preview-00.eps
18186     * @image html img/genlist.png
18187     * @image latex img/genlist.eps
18188     *
18189     * This widget aims to have more expansive list than the simple list in
18190     * Elementary that could have more flexible items and allow many more entries
18191     * while still being fast and low on memory usage. At the same time it was
18192     * also made to be able to do tree structures. But the price to pay is more
18193     * complexity when it comes to usage. If all you want is a simple list with
18194     * icons and a single label, use the normal @ref List object.
18195     *
18196     * Genlist has a fairly large API, mostly because it's relatively complex,
18197     * trying to be both expansive, powerful and efficient. First we will begin
18198     * an overview on the theory behind genlist.
18199     *
18200     * @section Genlist_Item_Class Genlist item classes - creating items
18201     *
18202     * In order to have the ability to add and delete items on the fly, genlist
18203     * implements a class (callback) system where the application provides a
18204     * structure with information about that type of item (genlist may contain
18205     * multiple different items with different classes, states and styles).
18206     * Genlist will call the functions in this struct (methods) when an item is
18207     * "realized" (i.e., created dynamically, while the user is scrolling the
18208     * grid). All objects will simply be deleted when no longer needed with
18209     * evas_object_del(). The #Elm_Genlist_Item_Class structure contains the
18210     * following members:
18211     * - @c item_style - This is a constant string and simply defines the name
18212     *   of the item style. It @b must be specified and the default should be @c
18213     *   "default".
18214     *
18215     * - @c func - A struct with pointers to functions that will be called when
18216     *   an item is going to be actually created. All of them receive a @c data
18217     *   parameter that will point to the same data passed to
18218     *   elm_genlist_item_append() and related item creation functions, and a @c
18219     *   obj parameter that points to the genlist object itself.
18220     *
18221     * The function pointers inside @c func are @c label_get, @c icon_get, @c
18222     * state_get and @c del. The 3 first functions also receive a @c part
18223     * parameter described below. A brief description of these functions follows:
18224     *
18225     * - @c label_get - The @c part parameter is the name string of one of the
18226     *   existing text parts in the Edje group implementing the item's theme.
18227     *   This function @b must return a strdup'()ed string, as the caller will
18228     *   free() it when done. See #Elm_Genlist_Item_Label_Get_Cb.
18229     * - @c content_get - The @c part parameter is the name string of one of the
18230     *   existing (content) swallow parts in the Edje group implementing the item's
18231     *   theme. It must return @c NULL, when no content is desired, or a valid
18232     *   object handle, otherwise.  The object will be deleted by the genlist on
18233     *   its deletion or when the item is "unrealized".  See
18234     *   #Elm_Genlist_Item_Content_Get_Cb.
18235     * - @c func.state_get - The @c part parameter is the name string of one of
18236     *   the state parts in the Edje group implementing the item's theme. Return
18237     *   @c EINA_FALSE for false/off or @c EINA_TRUE for true/on. Genlists will
18238     *   emit a signal to its theming Edje object with @c "elm,state,XXX,active"
18239     *   and @c "elm" as "emission" and "source" arguments, respectively, when
18240     *   the state is true (the default is false), where @c XXX is the name of
18241     *   the (state) part.  See #Elm_Genlist_Item_State_Get_Cb.
18242     * - @c func.del - This is intended for use when genlist items are deleted,
18243     *   so any data attached to the item (e.g. its data parameter on creation)
18244     *   can be deleted. See #Elm_Genlist_Item_Del_Cb.
18245     *
18246     * available item styles:
18247     * - default
18248     * - default_style - The text part is a textblock
18249     *
18250     * @image html img/widget/genlist/preview-04.png
18251     * @image latex img/widget/genlist/preview-04.eps
18252     *
18253     * - double_label
18254     *
18255     * @image html img/widget/genlist/preview-01.png
18256     * @image latex img/widget/genlist/preview-01.eps
18257     *
18258     * - icon_top_text_bottom
18259     *
18260     * @image html img/widget/genlist/preview-02.png
18261     * @image latex img/widget/genlist/preview-02.eps
18262     *
18263     * - group_index
18264     *
18265     * @image html img/widget/genlist/preview-03.png
18266     * @image latex img/widget/genlist/preview-03.eps
18267     *
18268     * @section Genlist_Items Structure of items
18269     *
18270     * An item in a genlist can have 0 or more text labels (they can be regular
18271     * text or textblock Evas objects - that's up to the style to determine), 0
18272     * or more contents (which are simply objects swallowed into the genlist item's
18273     * theming Edje object) and 0 or more <b>boolean states</b>, which have the
18274     * behavior left to the user to define. The Edje part names for each of
18275     * these properties will be looked up, in the theme file for the genlist,
18276     * under the Edje (string) data items named @c "labels", @c "contents" and @c
18277     * "states", respectively. For each of those properties, if more than one
18278     * part is provided, they must have names listed separated by spaces in the
18279     * data fields. For the default genlist item theme, we have @b one label
18280     * part (@c "elm.text"), @b two content parts (@c "elm.swalllow.icon" and @c
18281     * "elm.swallow.end") and @b no state parts.
18282     *
18283     * A genlist item may be at one of several styles. Elementary provides one
18284     * by default - "default", but this can be extended by system or application
18285     * custom themes/overlays/extensions (see @ref Theme "themes" for more
18286     * details).
18287     *
18288     * @section Genlist_Manipulation Editing and Navigating
18289     *
18290     * Items can be added by several calls. All of them return a @ref
18291     * Elm_Genlist_Item handle that is an internal member inside the genlist.
18292     * They all take a data parameter that is meant to be used for a handle to
18293     * the applications internal data (eg the struct with the original item
18294     * data). The parent parameter is the parent genlist item this belongs to if
18295     * it is a tree or an indexed group, and NULL if there is no parent. The
18296     * flags can be a bitmask of #ELM_GENLIST_ITEM_NONE,
18297     * #ELM_GENLIST_ITEM_SUBITEMS and #ELM_GENLIST_ITEM_GROUP. If
18298     * #ELM_GENLIST_ITEM_SUBITEMS is set then this item is displayed as an item
18299     * that is able to expand and have child items.  If ELM_GENLIST_ITEM_GROUP
18300     * is set then this item is group index item that is displayed at the top
18301     * until the next group comes. The func parameter is a convenience callback
18302     * that is called when the item is selected and the data parameter will be
18303     * the func_data parameter, obj be the genlist object and event_info will be
18304     * the genlist item.
18305     *
18306     * elm_genlist_item_append() adds an item to the end of the list, or if
18307     * there is a parent, to the end of all the child items of the parent.
18308     * elm_genlist_item_prepend() is the same but adds to the beginning of
18309     * the list or children list. elm_genlist_item_insert_before() inserts at
18310     * item before another item and elm_genlist_item_insert_after() inserts after
18311     * the indicated item.
18312     *
18313     * The application can clear the list with elm_gen_clear() which deletes
18314     * all the items in the list and elm_genlist_item_del() will delete a specific
18315     * item. elm_genlist_item_subitems_clear() will clear all items that are
18316     * children of the indicated parent item.
18317     *
18318     * To help inspect list items you can jump to the item at the top of the list
18319     * with elm_genlist_first_item_get() which will return the item pointer, and
18320     * similarly elm_genlist_last_item_get() gets the item at the end of the list.
18321     * elm_genlist_item_next_get() and elm_genlist_item_prev_get() get the next
18322     * and previous items respectively relative to the indicated item. Using
18323     * these calls you can walk the entire item list/tree. Note that as a tree
18324     * the items are flattened in the list, so elm_genlist_item_parent_get() will
18325     * let you know which item is the parent (and thus know how to skip them if
18326     * wanted).
18327     *
18328     * @section Genlist_Muti_Selection Multi-selection
18329     *
18330     * If the application wants multiple items to be able to be selected,
18331     * elm_genlist_multi_select_set() can enable this. If the list is
18332     * single-selection only (the default), then elm_genlist_selected_item_get()
18333     * will return the selected item, if any, or NULL if none is selected. If the
18334     * list is multi-select then elm_genlist_selected_items_get() will return a
18335     * list (that is only valid as long as no items are modified (added, deleted,
18336     * selected or unselected)).
18337     *
18338     * @section Genlist_Usage_Hints Usage hints
18339     *
18340     * There are also convenience functions. elm_gen_item_genlist_get() will
18341     * return the genlist object the item belongs to. elm_genlist_item_show()
18342     * will make the scroller scroll to show that specific item so its visible.
18343     * elm_genlist_item_data_get() returns the data pointer set by the item
18344     * creation functions.
18345     *
18346     * If an item changes (state of boolean changes, label or contents change),
18347     * then use elm_genlist_item_update() to have genlist update the item with
18348     * the new state. Genlist will re-realize the item thus call the functions
18349     * in the _Elm_Genlist_Item_Class for that item.
18350     *
18351     * To programmatically (un)select an item use elm_genlist_item_selected_set().
18352     * To get its selected state use elm_genlist_item_selected_get(). Similarly
18353     * to expand/contract an item and get its expanded state, use
18354     * elm_genlist_item_expanded_set() and elm_genlist_item_expanded_get(). And
18355     * again to make an item disabled (unable to be selected and appear
18356     * differently) use elm_genlist_item_disabled_set() to set this and
18357     * elm_genlist_item_disabled_get() to get the disabled state.
18358     *
18359     * In general to indicate how the genlist should expand items horizontally to
18360     * fill the list area, use elm_genlist_horizontal_set(). Valid modes are
18361     * ELM_LIST_LIMIT and ELM_LIST_SCROLL. The default is ELM_LIST_SCROLL. This
18362     * mode means that if items are too wide to fit, the scroller will scroll
18363     * horizontally. Otherwise items are expanded to fill the width of the
18364     * viewport of the scroller. If it is ELM_LIST_LIMIT, items will be expanded
18365     * to the viewport width and limited to that size. This can be combined with
18366     * a different style that uses edjes' ellipsis feature (cutting text off like
18367     * this: "tex...").
18368     *
18369     * Items will only call their selection func and callback when first becoming
18370     * selected. Any further clicks will do nothing, unless you enable always
18371     * select with elm_gen_always_select_mode_set(). This means even if
18372     * selected, every click will make the selected callbacks be called.
18373     * elm_genlist_no_select_mode_set() will turn off the ability to select
18374     * items entirely and they will neither appear selected nor call selected
18375     * callback functions.
18376     *
18377     * Remember that you can create new styles and add your own theme augmentation
18378     * per application with elm_theme_extension_add(). If you absolutely must
18379     * have a specific style that overrides any theme the user or system sets up
18380     * you can use elm_theme_overlay_add() to add such a file.
18381     *
18382     * @section Genlist_Implementation Implementation
18383     *
18384     * Evas tracks every object you create. Every time it processes an event
18385     * (mouse move, down, up etc.) it needs to walk through objects and find out
18386     * what event that affects. Even worse every time it renders display updates,
18387     * in order to just calculate what to re-draw, it needs to walk through many
18388     * many many objects. Thus, the more objects you keep active, the more
18389     * overhead Evas has in just doing its work. It is advisable to keep your
18390     * active objects to the minimum working set you need. Also remember that
18391     * object creation and deletion carries an overhead, so there is a
18392     * middle-ground, which is not easily determined. But don't keep massive lists
18393     * of objects you can't see or use. Genlist does this with list objects. It
18394     * creates and destroys them dynamically as you scroll around. It groups them
18395     * into blocks so it can determine the visibility etc. of a whole block at
18396     * once as opposed to having to walk the whole list. This 2-level list allows
18397     * for very large numbers of items to be in the list (tests have used up to
18398     * 2,000,000 items). Also genlist employs a queue for adding items. As items
18399     * may be different sizes, every item added needs to be calculated as to its
18400     * size and thus this presents a lot of overhead on populating the list, this
18401     * genlist employs a queue. Any item added is queued and spooled off over
18402     * time, actually appearing some time later, so if your list has many members
18403     * you may find it takes a while for them to all appear, with your process
18404     * consuming a lot of CPU while it is busy spooling.
18405     *
18406     * Genlist also implements a tree structure, but it does so with callbacks to
18407     * the application, with the application filling in tree structures when
18408     * requested (allowing for efficient building of a very deep tree that could
18409     * even be used for file-management). See the above smart signal callbacks for
18410     * details.
18411     *
18412     * @section Genlist_Smart_Events Genlist smart events
18413     *
18414     * Signals that you can add callbacks for are:
18415     * - @c "activated" - The user has double-clicked or pressed
18416     *   (enter|return|spacebar) on an item. The @c event_info parameter is the
18417     *   item that was activated.
18418     * - @c "clicked,double" - The user has double-clicked an item.  The @c
18419     *   event_info parameter is the item that was double-clicked.
18420     * - @c "selected" - This is called when a user has made an item selected.
18421     *   The event_info parameter is the genlist item that was selected.
18422     * - @c "unselected" - This is called when a user has made an item
18423     *   unselected. The event_info parameter is the genlist item that was
18424     *   unselected.
18425     * - @c "expanded" - This is called when elm_genlist_item_expanded_set() is
18426     *   called and the item is now meant to be expanded. The event_info
18427     *   parameter is the genlist item that was indicated to expand.  It is the
18428     *   job of this callback to then fill in the child items.
18429     * - @c "contracted" - This is called when elm_genlist_item_expanded_set() is
18430     *   called and the item is now meant to be contracted. The event_info
18431     *   parameter is the genlist item that was indicated to contract. It is the
18432     *   job of this callback to then delete the child items.
18433     * - @c "expand,request" - This is called when a user has indicated they want
18434     *   to expand a tree branch item. The callback should decide if the item can
18435     *   expand (has any children) and then call elm_genlist_item_expanded_set()
18436     *   appropriately to set the state. The event_info parameter is the genlist
18437     *   item that was indicated to expand.
18438     * - @c "contract,request" - This is called when a user has indicated they
18439     *   want to contract a tree branch item. The callback should decide if the
18440     *   item can contract (has any children) and then call
18441     *   elm_genlist_item_expanded_set() appropriately to set the state. The
18442     *   event_info parameter is the genlist item that was indicated to contract.
18443     * - @c "realized" - This is called when the item in the list is created as a
18444     *   real evas object. event_info parameter is the genlist item that was
18445     *   created. The object may be deleted at any time, so it is up to the
18446     *   caller to not use the object pointer from elm_genlist_item_object_get()
18447     *   in a way where it may point to freed objects.
18448     * - @c "unrealized" - This is called just before an item is unrealized.
18449     *   After this call content objects provided will be deleted and the item
18450     *   object itself delete or be put into a floating cache.
18451     * - @c "drag,start,up" - This is called when the item in the list has been
18452     *   dragged (not scrolled) up.
18453     * - @c "drag,start,down" - This is called when the item in the list has been
18454     *   dragged (not scrolled) down.
18455     * - @c "drag,start,left" - This is called when the item in the list has been
18456     *   dragged (not scrolled) left.
18457     * - @c "drag,start,right" - This is called when the item in the list has
18458     *   been dragged (not scrolled) right.
18459     * - @c "drag,stop" - This is called when the item in the list has stopped
18460     *   being dragged.
18461     * - @c "drag" - This is called when the item in the list is being dragged.
18462     * - @c "longpressed" - This is called when the item is pressed for a certain
18463     *   amount of time. By default it's 1 second.
18464     * - @c "scroll,anim,start" - This is called when scrolling animation has
18465     *   started.
18466     * - @c "scroll,anim,stop" - This is called when scrolling animation has
18467     *   stopped.
18468     * - @c "scroll,drag,start" - This is called when dragging the content has
18469     *   started.
18470     * - @c "scroll,drag,stop" - This is called when dragging the content has
18471     *   stopped.
18472     * - @c "edge,top" - This is called when the genlist is scrolled until
18473     *   the top edge.
18474     * - @c "edge,bottom" - This is called when the genlist is scrolled
18475     *   until the bottom edge.
18476     * - @c "edge,left" - This is called when the genlist is scrolled
18477     *   until the left edge.
18478     * - @c "edge,right" - This is called when the genlist is scrolled
18479     *   until the right edge.
18480     * - @c "multi,swipe,left" - This is called when the genlist is multi-touch
18481     *   swiped left.
18482     * - @c "multi,swipe,right" - This is called when the genlist is multi-touch
18483     *   swiped right.
18484     * - @c "multi,swipe,up" - This is called when the genlist is multi-touch
18485     *   swiped up.
18486     * - @c "multi,swipe,down" - This is called when the genlist is multi-touch
18487     *   swiped down.
18488     * - @c "multi,pinch,out" - This is called when the genlist is multi-touch
18489     *   pinched out.  "- @c multi,pinch,in" - This is called when the genlist is
18490     *   multi-touch pinched in.
18491     * - @c "swipe" - This is called when the genlist is swiped.
18492     * - @c "moved" - This is called when a genlist item is moved.
18493     * - @c "language,changed" - This is called when the program's language is
18494     *   changed.
18495     *
18496     * @section Genlist_Examples Examples
18497     *
18498     * Here is a list of examples that use the genlist, trying to show some of
18499     * its capabilities:
18500     * - @ref genlist_example_01
18501     * - @ref genlist_example_02
18502     * - @ref genlist_example_03
18503     * - @ref genlist_example_04
18504     * - @ref genlist_example_05
18505     */
18506
18507    /**
18508     * @addtogroup Genlist
18509     * @{
18510     */
18511
18512    /**
18513     * @enum _Elm_Genlist_Item_Flags
18514     * @typedef Elm_Genlist_Item_Flags
18515     *
18516     * Defines if the item is of any special type (has subitems or it's the
18517     * index of a group), or is just a simple item.
18518     *
18519     * @ingroup Genlist
18520     */
18521    typedef enum _Elm_Genlist_Item_Flags
18522      {
18523         ELM_GENLIST_ITEM_NONE = 0, /**< simple item */
18524         ELM_GENLIST_ITEM_SUBITEMS = (1 << 0), /**< may expand and have child items */
18525         ELM_GENLIST_ITEM_GROUP = (1 << 1) /**< index of a group of items */
18526      } Elm_Genlist_Item_Flags;
18527    typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class;  /**< Genlist item class definition structs */
18528    #define Elm_Genlist_Item_Class Elm_Gen_Item_Class
18529    typedef struct _Elm_Genlist_Item       Elm_Genlist_Item; /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
18530    #define Elm_Genlist_Item Elm_Gen_Item /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
18531    typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func; /**< Class functions for genlist item class */
18532    /**
18533     * Label fetching class function for Elm_Gen_Item_Class.
18534     * @param data The data passed in the item creation function
18535     * @param obj The base widget object
18536     * @param part The part name of the swallow
18537     * @return The allocated (NOT stringshared) string to set as the label
18538     */
18539    typedef char        *(*Elm_Genlist_Item_Label_Get_Cb) (void *data, Evas_Object *obj, const char *part);
18540    /**
18541     * Content (swallowed object) fetching class function for Elm_Gen_Item_Class.
18542     * @param data The data passed in the item creation function
18543     * @param obj The base widget object
18544     * @param part The part name of the swallow
18545     * @return The content object to swallow
18546     */
18547    typedef Evas_Object *(*Elm_Genlist_Item_Content_Get_Cb)  (void *data, Evas_Object *obj, const char *part);
18548    /**
18549     * State fetching class function for Elm_Gen_Item_Class.
18550     * @param data The data passed in the item creation function
18551     * @param obj The base widget object
18552     * @param part The part name of the swallow
18553     * @return The hell if I know
18554     */
18555    typedef Eina_Bool    (*Elm_Genlist_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part);
18556    /**
18557     * Deletion class function for Elm_Gen_Item_Class.
18558     * @param data The data passed in the item creation function
18559     * @param obj The base widget object
18560     */
18561    typedef void         (*Elm_Genlist_Item_Del_Cb)      (void *data, Evas_Object *obj);
18562
18563    /**
18564     * @struct _Elm_Genlist_Item_Class
18565     *
18566     * Genlist item class definition structs.
18567     *
18568     * This struct contains the style and fetching functions that will define the
18569     * contents of each item.
18570     *
18571     * @see @ref Genlist_Item_Class
18572     */
18573    struct _Elm_Genlist_Item_Class
18574      {
18575         const char                *item_style; /**< style of this class. */
18576         struct Elm_Genlist_Item_Class_Func
18577           {
18578              Elm_Genlist_Item_Label_Get_Cb  label_get; /**< Label fetching class function for genlist item classes.*/
18579              Elm_Genlist_Item_Content_Get_Cb   content_get; /**< Content fetching class function for genlist item classes. */
18580              Elm_Genlist_Item_State_Get_Cb  state_get; /**< State fetching class function for genlist item classes. */
18581              Elm_Genlist_Item_Del_Cb        del; /**< Deletion class function for genlist item classes. */
18582           } func;
18583      };
18584    #define Elm_Genlist_Item_Class_Func Elm_Gen_Item_Class_Func
18585    /**
18586     * Add a new genlist widget to the given parent Elementary
18587     * (container) object
18588     *
18589     * @param parent The parent object
18590     * @return a new genlist widget handle or @c NULL, on errors
18591     *
18592     * This function inserts a new genlist widget on the canvas.
18593     *
18594     * @see elm_genlist_item_append()
18595     * @see elm_genlist_item_del()
18596     * @see elm_gen_clear()
18597     *
18598     * @ingroup Genlist
18599     */
18600    EAPI Evas_Object      *elm_genlist_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
18601    /**
18602     * Remove all items from a given genlist widget.
18603     *
18604     * @param obj The genlist object
18605     *
18606     * This removes (and deletes) all items in @p obj, leaving it empty.
18607     *
18608     * This is deprecated. Please use elm_gen_clear() instead.
18609     * 
18610     * @see elm_genlist_item_del(), to remove just one item.
18611     *
18612     * @ingroup Genlist
18613     */
18614    EINA_DEPRECATED EAPI void elm_genlist_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
18615    /**
18616     * Enable or disable multi-selection in the genlist
18617     *
18618     * @param obj The genlist object
18619     * @param multi Multi-select enable/disable. Default is disabled.
18620     *
18621     * This enables (@c EINA_TRUE) or disables (@c EINA_FALSE) multi-selection in
18622     * the list. This allows more than 1 item to be selected. To retrieve the list
18623     * of selected items, use elm_genlist_selected_items_get().
18624     *
18625     * @see elm_genlist_selected_items_get()
18626     * @see elm_genlist_multi_select_get()
18627     *
18628     * @ingroup Genlist
18629     */
18630    EAPI void              elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
18631    /**
18632     * Gets if multi-selection in genlist is enabled or disabled.
18633     *
18634     * @param obj The genlist object
18635     * @return Multi-select enabled/disabled
18636     * (@c EINA_TRUE = enabled/@c EINA_FALSE = disabled). Default is @c EINA_FALSE.
18637     *
18638     * @see elm_genlist_multi_select_set()
18639     *
18640     * @ingroup Genlist
18641     */
18642    EAPI Eina_Bool         elm_genlist_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18643    /**
18644     * This sets the horizontal stretching mode.
18645     *
18646     * @param obj The genlist object
18647     * @param mode The mode to use (one of #ELM_LIST_SCROLL or #ELM_LIST_LIMIT).
18648     *
18649     * This sets the mode used for sizing items horizontally. Valid modes
18650     * are #ELM_LIST_LIMIT and #ELM_LIST_SCROLL. The default is
18651     * ELM_LIST_SCROLL. This mode means that if items are too wide to fit,
18652     * the scroller will scroll horizontally. Otherwise items are expanded
18653     * to fill the width of the viewport of the scroller. If it is
18654     * ELM_LIST_LIMIT, items will be expanded to the viewport width and
18655     * limited to that size.
18656     *
18657     * @see elm_genlist_horizontal_get()
18658     *
18659     * @ingroup Genlist
18660     */
18661    EAPI void              elm_genlist_horizontal_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
18662    EINA_DEPRECATED EAPI void              elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
18663    /**
18664     * Gets the horizontal stretching mode.
18665     *
18666     * @param obj The genlist object
18667     * @return The mode to use
18668     * (#ELM_LIST_LIMIT, #ELM_LIST_SCROLL)
18669     *
18670     * @see elm_genlist_horizontal_set()
18671     *
18672     * @ingroup Genlist
18673     */
18674    EAPI Elm_List_Mode     elm_genlist_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18675    EINA_DEPRECATED EAPI Elm_List_Mode     elm_genlist_horizontal_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18676    /**
18677     * Set the always select mode.
18678     *
18679     * @param obj The genlist object
18680     * @param always_select The always select mode (@c EINA_TRUE = on, @c
18681     * EINA_FALSE = off). Default is @c EINA_FALSE.
18682     *
18683     * Items will only call their selection func and callback when first
18684     * becoming selected. Any further clicks will do nothing, unless you
18685     * enable always select with elm_gen_always_select_mode_set().
18686     * This means that, even if selected, every click will make the selected
18687     * callbacks be called.
18688     * 
18689     * This function is deprecated. please see elm_gen_always_select_mode_set()
18690     *
18691     * @see elm_genlist_always_select_mode_get()
18692     *
18693     * @ingroup Genlist
18694     */
18695    EINA_DEPRECATED EAPI void              elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
18696    /**
18697     * Get the always select mode.
18698     *
18699     * @param obj The genlist object
18700     * @return The always select mode
18701     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18702     *
18703     * @see elm_genlist_always_select_mode_set()
18704     *
18705     * @ingroup Genlist
18706     */
18707    EINA_DEPRECATED EAPI Eina_Bool         elm_genlist_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18708    /**
18709     * Enable/disable the no select mode.
18710     *
18711     * @param obj The genlist object
18712     * @param no_select The no select mode
18713     * (EINA_TRUE = on, EINA_FALSE = off)
18714     *
18715     * This will turn off the ability to select items entirely and they
18716     * will neither appear selected nor call selected callback functions.
18717     *
18718     * @see elm_genlist_no_select_mode_get()
18719     *
18720     * @ingroup Genlist
18721     */
18722    EINA_DEPRECATED EAPI void              elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
18723    /**
18724     * Gets whether the no select mode is enabled.
18725     *
18726     * @param obj The genlist object
18727     * @return The no select mode
18728     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18729     *
18730     * @see elm_genlist_no_select_mode_set()
18731     *
18732     * @ingroup Genlist
18733     */
18734    EINA_DEPRECATED EAPI Eina_Bool         elm_genlist_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18735    /**
18736     * Enable/disable compress mode.
18737     *
18738     * @param obj The genlist object
18739     * @param compress The compress mode
18740     * (@c EINA_TRUE = on, @c EINA_FALSE = off). Default is @c EINA_FALSE.
18741     *
18742     * This will enable the compress mode where items are "compressed"
18743     * horizontally to fit the genlist scrollable viewport width. This is
18744     * special for genlist.  Do not rely on
18745     * elm_genlist_horizontal_set() being set to @c ELM_LIST_COMPRESS to
18746     * work as genlist needs to handle it specially.
18747     *
18748     * @see elm_genlist_compress_mode_get()
18749     *
18750     * @ingroup Genlist
18751     */
18752    EAPI void              elm_genlist_compress_mode_set(Evas_Object *obj, Eina_Bool compress) EINA_ARG_NONNULL(1);
18753    /**
18754     * Get whether the compress mode is enabled.
18755     *
18756     * @param obj The genlist object
18757     * @return The compress mode
18758     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18759     *
18760     * @see elm_genlist_compress_mode_set()
18761     *
18762     * @ingroup Genlist
18763     */
18764    EAPI Eina_Bool         elm_genlist_compress_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18765    /**
18766     * Enable/disable height-for-width mode.
18767     *
18768     * @param obj The genlist object
18769     * @param setting The height-for-width mode (@c EINA_TRUE = on,
18770     * @c EINA_FALSE = off). Default is @c EINA_FALSE.
18771     *
18772     * With height-for-width mode the item width will be fixed (restricted
18773     * to a minimum of) to the list width when calculating its size in
18774     * order to allow the height to be calculated based on it. This allows,
18775     * for instance, text block to wrap lines if the Edje part is
18776     * configured with "text.min: 0 1".
18777     *
18778     * @note This mode will make list resize slower as it will have to
18779     *       recalculate every item height again whenever the list width
18780     *       changes!
18781     *
18782     * @note When height-for-width mode is enabled, it also enables
18783     *       compress mode (see elm_genlist_compress_mode_set()) and
18784     *       disables homogeneous (see elm_genlist_homogeneous_set()).
18785     *
18786     * @ingroup Genlist
18787     */
18788    EAPI void              elm_genlist_height_for_width_mode_set(Evas_Object *obj, Eina_Bool height_for_width) EINA_ARG_NONNULL(1);
18789    /**
18790     * Get whether the height-for-width mode is enabled.
18791     *
18792     * @param obj The genlist object
18793     * @return The height-for-width mode (@c EINA_TRUE = on, @c EINA_FALSE =
18794     * off)
18795     *
18796     * @ingroup Genlist
18797     */
18798    EAPI Eina_Bool         elm_genlist_height_for_width_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18799    /**
18800     * Enable/disable horizontal and vertical bouncing effect.
18801     *
18802     * @param obj The genlist object
18803     * @param h_bounce Allow bounce horizontally (@c EINA_TRUE = on, @c
18804     * EINA_FALSE = off). Default is @c EINA_FALSE.
18805     * @param v_bounce Allow bounce vertically (@c EINA_TRUE = on, @c
18806     * EINA_FALSE = off). Default is @c EINA_TRUE.
18807     *
18808     * This will enable or disable the scroller bouncing effect for the
18809     * genlist. See elm_scroller_bounce_set() for details.
18810     *
18811     * @see elm_scroller_bounce_set()
18812     * @see elm_genlist_bounce_get()
18813     *
18814     * @ingroup Genlist
18815     */
18816    EINA_DEPRECATED EAPI void              elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
18817    /**
18818     * Get whether the horizontal and vertical bouncing effect is enabled.
18819     *
18820     * @param obj The genlist object
18821     * @param h_bounce Pointer to a bool to receive if the bounce horizontally
18822     * option is set.
18823     * @param v_bounce Pointer to a bool to receive if the bounce vertically
18824     * option is set.
18825     *
18826     * @see elm_genlist_bounce_set()
18827     *
18828     * @ingroup Genlist
18829     */
18830    EINA_DEPRECATED EAPI void              elm_genlist_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
18831    /**
18832     * Enable/disable homogenous mode.
18833     *
18834     * @param obj The genlist object
18835     * @param homogeneous Assume the items within the genlist are of the
18836     * same height and width (EINA_TRUE = on, EINA_FALSE = off). Default is @c
18837     * EINA_FALSE.
18838     *
18839     * This will enable the homogeneous mode where items are of the same
18840     * height and width so that genlist may do the lazy-loading at its
18841     * maximum (which increases the performance for scrolling the list). This
18842     * implies 'compressed' mode.
18843     *
18844     * @see elm_genlist_compress_mode_set()
18845     * @see elm_genlist_homogeneous_get()
18846     *
18847     * @ingroup Genlist
18848     */
18849    EAPI void              elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
18850    /**
18851     * Get whether the homogenous mode is enabled.
18852     *
18853     * @param obj The genlist object
18854     * @return Assume the items within the genlist are of the same height
18855     * and width (EINA_TRUE = on, EINA_FALSE = off)
18856     *
18857     * @see elm_genlist_homogeneous_set()
18858     *
18859     * @ingroup Genlist
18860     */
18861    EAPI Eina_Bool         elm_genlist_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18862    /**
18863     * Set the maximum number of items within an item block
18864     *
18865     * @param obj The genlist object
18866     * @param n   Maximum number of items within an item block. Default is 32.
18867     *
18868     * This will configure the block count to tune to the target with
18869     * particular performance matrix.
18870     *
18871     * A block of objects will be used to reduce the number of operations due to
18872     * many objects in the screen. It can determine the visibility, or if the
18873     * object has changed, it theme needs to be updated, etc. doing this kind of
18874     * calculation to the entire block, instead of per object.
18875     *
18876     * The default value for the block count is enough for most lists, so unless
18877     * you know you will have a lot of objects visible in the screen at the same
18878     * time, don't try to change this.
18879     *
18880     * @see elm_genlist_block_count_get()
18881     * @see @ref Genlist_Implementation
18882     *
18883     * @ingroup Genlist
18884     */
18885    EAPI void              elm_genlist_block_count_set(Evas_Object *obj, int n) EINA_ARG_NONNULL(1);
18886    /**
18887     * Get the maximum number of items within an item block
18888     *
18889     * @param obj The genlist object
18890     * @return Maximum number of items within an item block
18891     *
18892     * @see elm_genlist_block_count_set()
18893     *
18894     * @ingroup Genlist
18895     */
18896    EAPI int               elm_genlist_block_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18897    /**
18898     * Set the timeout in seconds for the longpress event.
18899     *
18900     * @param obj The genlist object
18901     * @param timeout timeout in seconds. Default is 1.
18902     *
18903     * This option will change how long it takes to send an event "longpressed"
18904     * after the mouse down signal is sent to the list. If this event occurs, no
18905     * "clicked" event will be sent.
18906     *
18907     * @see elm_genlist_longpress_timeout_set()
18908     *
18909     * @ingroup Genlist
18910     */
18911    EAPI void              elm_genlist_longpress_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
18912    /**
18913     * Get the timeout in seconds for the longpress event.
18914     *
18915     * @param obj The genlist object
18916     * @return timeout in seconds
18917     *
18918     * @see elm_genlist_longpress_timeout_get()
18919     *
18920     * @ingroup Genlist
18921     */
18922    EAPI double            elm_genlist_longpress_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18923    /**
18924     * Append a new item in a given genlist widget.
18925     *
18926     * @param obj The genlist object
18927     * @param itc The item class for the item
18928     * @param data The item data
18929     * @param parent The parent item, or NULL if none
18930     * @param flags Item flags
18931     * @param func Convenience function called when the item is selected
18932     * @param func_data Data passed to @p func above.
18933     * @return A handle to the item added or @c NULL if not possible
18934     *
18935     * This adds the given item to the end of the list or the end of
18936     * the children list if the @p parent is given.
18937     *
18938     * @see elm_genlist_item_prepend()
18939     * @see elm_genlist_item_insert_before()
18940     * @see elm_genlist_item_insert_after()
18941     * @see elm_genlist_item_del()
18942     *
18943     * @ingroup Genlist
18944     */
18945    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);
18946    /**
18947     * Prepend a new item in a given genlist widget.
18948     *
18949     * @param obj The genlist object
18950     * @param itc The item class for the item
18951     * @param data The item data
18952     * @param parent The parent item, or NULL if none
18953     * @param flags Item flags
18954     * @param func Convenience function called when the item is selected
18955     * @param func_data Data passed to @p func above.
18956     * @return A handle to the item added or NULL if not possible
18957     *
18958     * This adds an item to the beginning of the list or beginning of the
18959     * children of the parent if given.
18960     *
18961     * @see elm_genlist_item_append()
18962     * @see elm_genlist_item_insert_before()
18963     * @see elm_genlist_item_insert_after()
18964     * @see elm_genlist_item_del()
18965     *
18966     * @ingroup Genlist
18967     */
18968    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);
18969    /**
18970     * Insert an item before another in a genlist widget
18971     *
18972     * @param obj The genlist object
18973     * @param itc The item class for the item
18974     * @param data The item data
18975     * @param before The item to place this new one before.
18976     * @param flags Item flags
18977     * @param func Convenience function called when the item is selected
18978     * @param func_data Data passed to @p func above.
18979     * @return A handle to the item added or @c NULL if not possible
18980     *
18981     * This inserts an item before another in the list. It will be in the
18982     * same tree level or group as the item it is inserted before.
18983     *
18984     * @see elm_genlist_item_append()
18985     * @see elm_genlist_item_prepend()
18986     * @see elm_genlist_item_insert_after()
18987     * @see elm_genlist_item_del()
18988     *
18989     * @ingroup Genlist
18990     */
18991    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);
18992    /**
18993     * Insert an item after another in a genlist widget
18994     *
18995     * @param obj The genlist object
18996     * @param itc The item class for the item
18997     * @param data The item data
18998     * @param after The item to place this new one after.
18999     * @param flags Item flags
19000     * @param func Convenience function called when the item is selected
19001     * @param func_data Data passed to @p func above.
19002     * @return A handle to the item added or @c NULL if not possible
19003     *
19004     * This inserts an item after another in the list. It will be in the
19005     * same tree level or group as the item it is inserted after.
19006     *
19007     * @see elm_genlist_item_append()
19008     * @see elm_genlist_item_prepend()
19009     * @see elm_genlist_item_insert_before()
19010     * @see elm_genlist_item_del()
19011     *
19012     * @ingroup Genlist
19013     */
19014    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);
19015    /**
19016     * Insert a new item into the sorted genlist object
19017     *
19018     * @param obj The genlist object
19019     * @param itc The item class for the item
19020     * @param data The item data
19021     * @param parent The parent item, or NULL if none
19022     * @param flags Item flags
19023     * @param comp The function called for the sort
19024     * @param func Convenience function called when item selected
19025     * @param func_data Data passed to @p func above.
19026     * @return A handle to the item added or NULL if not possible
19027     *
19028     * @ingroup Genlist
19029     */
19030    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);
19031    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);
19032    /* operations to retrieve existing items */
19033    /**
19034     * Get the selectd item in the genlist.
19035     *
19036     * @param obj The genlist object
19037     * @return The selected item, or NULL if none is selected.
19038     *
19039     * This gets the selected item in the list (if multi-selection is enabled, only
19040     * the item that was first selected in the list is returned - which is not very
19041     * useful, so see elm_genlist_selected_items_get() for when multi-selection is
19042     * used).
19043     *
19044     * If no item is selected, NULL is returned.
19045     *
19046     * @see elm_genlist_selected_items_get()
19047     *
19048     * @ingroup Genlist
19049     */
19050    EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19051    /**
19052     * Get a list of selected items in the genlist.
19053     *
19054     * @param obj The genlist object
19055     * @return The list of selected items, or NULL if none are selected.
19056     *
19057     * It returns a list of the selected items. This list pointer is only valid so
19058     * long as the selection doesn't change (no items are selected or unselected, or
19059     * unselected implicitly by deletion). The list contains Elm_Genlist_Item
19060     * pointers. The order of the items in this list is the order which they were
19061     * selected, i.e. the first item in this list is the first item that was
19062     * selected, and so on.
19063     *
19064     * @note If not in multi-select mode, consider using function
19065     * elm_genlist_selected_item_get() instead.
19066     *
19067     * @see elm_genlist_multi_select_set()
19068     * @see elm_genlist_selected_item_get()
19069     *
19070     * @ingroup Genlist
19071     */
19072    EAPI const Eina_List  *elm_genlist_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19073    /**
19074     * Get the mode item style of items in the genlist
19075     * @param obj The genlist object
19076     * @return The mode item style string, or NULL if none is specified
19077     * 
19078     * This is a constant string and simply defines the name of the
19079     * style that will be used for mode animations. It can be
19080     * @c NULL if you don't plan to use Genlist mode. See
19081     * elm_genlist_item_mode_set() for more info.
19082     * 
19083     * @ingroup Genlist
19084     */
19085    EAPI const char       *elm_genlist_mode_item_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19086    /**
19087     * Set the mode item style of items in the genlist
19088     * @param obj The genlist object
19089     * @param style The mode item style string, or NULL if none is desired
19090     * 
19091     * This is a constant string and simply defines the name of the
19092     * style that will be used for mode animations. It can be
19093     * @c NULL if you don't plan to use Genlist mode. See
19094     * elm_genlist_item_mode_set() for more info.
19095     * 
19096     * @ingroup Genlist
19097     */
19098    EAPI void              elm_genlist_mode_item_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
19099    /**
19100     * Get a list of realized items in genlist
19101     *
19102     * @param obj The genlist object
19103     * @return The list of realized items, nor NULL if none are realized.
19104     *
19105     * This returns a list of the realized items in the genlist. The list
19106     * contains Elm_Genlist_Item pointers. The list must be freed by the
19107     * caller when done with eina_list_free(). The item pointers in the
19108     * list are only valid so long as those items are not deleted or the
19109     * genlist is not deleted.
19110     *
19111     * @see elm_genlist_realized_items_update()
19112     *
19113     * @ingroup Genlist
19114     */
19115    EAPI Eina_List        *elm_genlist_realized_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19116    /**
19117     * Get the item that is at the x, y canvas coords.
19118     *
19119     * @param obj The gelinst object.
19120     * @param x The input x coordinate
19121     * @param y The input y coordinate
19122     * @param posret The position relative to the item returned here
19123     * @return The item at the coordinates or NULL if none
19124     *
19125     * This returns the item at the given coordinates (which are canvas
19126     * relative, not object-relative). If an item is at that coordinate,
19127     * that item handle is returned, and if @p posret is not NULL, the
19128     * integer pointed to is set to a value of -1, 0 or 1, depending if
19129     * the coordinate is on the upper portion of that item (-1), on the
19130     * middle section (0) or on the lower part (1). If NULL is returned as
19131     * an item (no item found there), then posret may indicate -1 or 1
19132     * based if the coordinate is above or below all items respectively in
19133     * the genlist.
19134     *
19135     * @ingroup Genlist
19136     */
19137    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);
19138    /**
19139     * Get the first item in the genlist
19140     *
19141     * This returns the first item in the list.
19142     *
19143     * @param obj The genlist object
19144     * @return The first item, or NULL if none
19145     *
19146     * @ingroup Genlist
19147     */
19148    EINA_DEPRECATED EAPI Elm_Genlist_Item *elm_genlist_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19149    /**
19150     * Get the last item in the genlist
19151     *
19152     * This returns the last item in the list.
19153     *
19154     * @return The last item, or NULL if none
19155     *
19156     * @ingroup Genlist
19157     */
19158    EINA_DEPRECATED EAPI Elm_Genlist_Item *elm_genlist_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19159    /**
19160     * Set the scrollbar policy
19161     *
19162     * @param obj The genlist object
19163     * @param policy_h Horizontal scrollbar policy.
19164     * @param policy_v Vertical scrollbar policy.
19165     *
19166     * This sets the scrollbar visibility policy for the given genlist
19167     * scroller. #ELM_SMART_SCROLLER_POLICY_AUTO means the scrollbar is
19168     * made visible if it is needed, and otherwise kept hidden.
19169     * #ELM_SMART_SCROLLER_POLICY_ON turns it on all the time, and
19170     * #ELM_SMART_SCROLLER_POLICY_OFF always keeps it off. This applies
19171     * respectively for the horizontal and vertical scrollbars. Default is
19172     * #ELM_SMART_SCROLLER_POLICY_AUTO
19173     *
19174     * @see elm_genlist_scroller_policy_get()
19175     *
19176     * @ingroup Genlist
19177     */
19178    EAPI void              elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
19179    /**
19180     * Get the scrollbar policy
19181     *
19182     * @param obj The genlist object
19183     * @param policy_h Pointer to store the horizontal scrollbar policy.
19184     * @param policy_v Pointer to store the vertical scrollbar policy.
19185     *
19186     * @see elm_genlist_scroller_policy_set()
19187     *
19188     * @ingroup Genlist
19189     */
19190    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);
19191    /**
19192     * Get the @b next item in a genlist widget's internal list of items,
19193     * given a handle to one of those items.
19194     *
19195     * @param item The genlist item to fetch next from
19196     * @return The item after @p item, or @c NULL if there's none (and
19197     * on errors)
19198     *
19199     * This returns the item placed after the @p item, on the container
19200     * genlist.
19201     *
19202     * @see elm_genlist_item_prev_get()
19203     *
19204     * @ingroup Genlist
19205     */
19206    EINA_DEPRECATED EAPI Elm_Genlist_Item  *elm_genlist_item_next_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19207    /**
19208     * Get the @b previous item in a genlist widget's internal list of items,
19209     * given a handle to one of those items.
19210     *
19211     * @param item The genlist item to fetch previous from
19212     * @return The item before @p item, or @c NULL if there's none (and
19213     * on errors)
19214     *
19215     * This returns the item placed before the @p item, on the container
19216     * genlist.
19217     *
19218     * @see elm_genlist_item_next_get()
19219     *
19220     * @ingroup Genlist
19221     */
19222    EINA_DEPRECATED EAPI Elm_Genlist_Item  *elm_genlist_item_prev_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19223    /**
19224     * Get the genlist object's handle which contains a given genlist
19225     * item
19226     *
19227     * @param item The item to fetch the container from
19228     * @return The genlist (parent) object
19229     *
19230     * This returns the genlist object itself that an item belongs to.
19231     *
19232     * This function is deprecated. Please use elm_gen_item_widget_get()
19233     * 
19234     * @ingroup Genlist
19235     */
19236    EINA_DEPRECATED EAPI Evas_Object       *elm_genlist_item_genlist_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19237    /**
19238     * Get the parent item of the given item
19239     *
19240     * @param it The item
19241     * @return The parent of the item or @c NULL if it has no parent.
19242     *
19243     * This returns the item that was specified as parent of the item @p it on
19244     * elm_genlist_item_append() and insertion related functions.
19245     *
19246     * @ingroup Genlist
19247     */
19248    EAPI Elm_Genlist_Item  *elm_genlist_item_parent_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19249    /**
19250     * Remove all sub-items (children) of the given item
19251     *
19252     * @param it The item
19253     *
19254     * This removes all items that are children (and their descendants) of the
19255     * given item @p it.
19256     *
19257     * @see elm_genlist_clear()
19258     * @see elm_genlist_item_del()
19259     *
19260     * @ingroup Genlist
19261     */
19262    EAPI void               elm_genlist_item_subitems_clear(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19263    /**
19264     * Set whether a given genlist item is selected or not
19265     *
19266     * @param it The item
19267     * @param selected Use @c EINA_TRUE, to make it selected, @c
19268     * EINA_FALSE to make it unselected
19269     *
19270     * This sets the selected state of an item. If multi selection is
19271     * not enabled on the containing genlist and @p selected is @c
19272     * EINA_TRUE, any other previously selected items will get
19273     * unselected in favor of this new one.
19274     *
19275     * @see elm_genlist_item_selected_get()
19276     *
19277     * @ingroup Genlist
19278     */
19279    EINA_DEPRECATED EAPI void elm_genlist_item_selected_set(Elm_Genlist_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
19280    /**
19281     * Get whether a given genlist item is selected or not
19282     *
19283     * @param it The item
19284     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
19285     *
19286     * @see elm_genlist_item_selected_set() for more details
19287     *
19288     * @ingroup Genlist
19289     */
19290    EINA_DEPRECATED EAPI Eina_Bool elm_genlist_item_selected_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19291    /**
19292     * Sets the expanded state of an item.
19293     *
19294     * @param it The item
19295     * @param expanded The expanded state (@c EINA_TRUE expanded, @c EINA_FALSE not expanded).
19296     *
19297     * This function flags the item of type #ELM_GENLIST_ITEM_SUBITEMS as
19298     * expanded or not.
19299     *
19300     * The theme will respond to this change visually, and a signal "expanded" or
19301     * "contracted" will be sent from the genlist with a pointer to the item that
19302     * has been expanded/contracted.
19303     *
19304     * Calling this function won't show or hide any child of this item (if it is
19305     * a parent). You must manually delete and create them on the callbacks fo
19306     * the "expanded" or "contracted" signals.
19307     *
19308     * @see elm_genlist_item_expanded_get()
19309     *
19310     * @ingroup Genlist
19311     */
19312    EAPI void               elm_genlist_item_expanded_set(Elm_Genlist_Item *item, Eina_Bool expanded) EINA_ARG_NONNULL(1);
19313    /**
19314     * Get the expanded state of an item
19315     *
19316     * @param it The item
19317     * @return The expanded state
19318     *
19319     * This gets the expanded state of an item.
19320     *
19321     * @see elm_genlist_item_expanded_set()
19322     *
19323     * @ingroup Genlist
19324     */
19325    EAPI Eina_Bool          elm_genlist_item_expanded_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19326    /**
19327     * Get the depth of expanded item
19328     *
19329     * @param it The genlist item object
19330     * @return The depth of expanded item
19331     *
19332     * @ingroup Genlist
19333     */
19334    EAPI int                elm_genlist_item_expanded_depth_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19335    /**
19336     * Set whether a given genlist item is disabled or not.
19337     *
19338     * @param it The item
19339     * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
19340     * to enable it back.
19341     *
19342     * A disabled item cannot be selected or unselected. It will also
19343     * change its appearance, to signal the user it's disabled.
19344     *
19345     * @see elm_genlist_item_disabled_get()
19346     *
19347     * @ingroup Genlist
19348     */
19349    EAPI void               elm_genlist_item_disabled_set(Elm_Genlist_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
19350    /**
19351     * Get whether a given genlist item is disabled or not.
19352     *
19353     * @param it The item
19354     * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
19355     * (and on errors).
19356     *
19357     * @see elm_genlist_item_disabled_set() for more details
19358     *
19359     * @ingroup Genlist
19360     */
19361    EAPI Eina_Bool          elm_genlist_item_disabled_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19362    /**
19363     * Sets the display only state of an item.
19364     *
19365     * @param it The item
19366     * @param display_only @c EINA_TRUE if the item is display only, @c
19367     * EINA_FALSE otherwise.
19368     *
19369     * A display only item cannot be selected or unselected. It is for
19370     * display only and not selecting or otherwise clicking, dragging
19371     * etc. by the user, thus finger size rules will not be applied to
19372     * this item.
19373     *
19374     * It's good to set group index items to display only state.
19375     *
19376     * @see elm_genlist_item_display_only_get()
19377     *
19378     * @ingroup Genlist
19379     */
19380    EAPI void               elm_genlist_item_display_only_set(Elm_Genlist_Item *it, Eina_Bool display_only) EINA_ARG_NONNULL(1);
19381    /**
19382     * Get the display only state of an item
19383     *
19384     * @param it The item
19385     * @return @c EINA_TRUE if the item is display only, @c
19386     * EINA_FALSE otherwise.
19387     *
19388     * @see elm_genlist_item_display_only_set()
19389     *
19390     * @ingroup Genlist
19391     */
19392    EAPI Eina_Bool          elm_genlist_item_display_only_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19393    /**
19394     * Show the portion of a genlist's internal list containing a given
19395     * item, immediately.
19396     *
19397     * @param it The item to display
19398     *
19399     * This causes genlist to jump to the given item @p it and show it (by
19400     * immediately scrolling to that position), if it is not fully visible.
19401     *
19402     * @see elm_genlist_item_bring_in()
19403     * @see elm_genlist_item_top_show()
19404     * @see elm_genlist_item_middle_show()
19405     *
19406     * @ingroup Genlist
19407     */
19408    EAPI void               elm_genlist_item_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19409    /**
19410     * Animatedly bring in, to the visible are of a genlist, a given
19411     * item on it.
19412     *
19413     * @param it The item to display
19414     *
19415     * This causes genlist to jump to the given item @p it and show it (by
19416     * animatedly scrolling), if it is not fully visible. This may use animation
19417     * to do so and take a period of time
19418     *
19419     * @see elm_genlist_item_show()
19420     * @see elm_genlist_item_top_bring_in()
19421     * @see elm_genlist_item_middle_bring_in()
19422     *
19423     * @ingroup Genlist
19424     */
19425    EAPI void               elm_genlist_item_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19426    /**
19427     * Show the portion of a genlist's internal list containing a given
19428     * item, immediately.
19429     *
19430     * @param it The item to display
19431     *
19432     * This causes genlist to jump to the given item @p it and show it (by
19433     * immediately scrolling to that position), if it is not fully visible.
19434     *
19435     * The item will be positioned at the top of the genlist viewport.
19436     *
19437     * @see elm_genlist_item_show()
19438     * @see elm_genlist_item_top_bring_in()
19439     *
19440     * @ingroup Genlist
19441     */
19442    EAPI void               elm_genlist_item_top_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19443    /**
19444     * Animatedly bring in, to the visible are of a genlist, a given
19445     * item on it.
19446     *
19447     * @param it The item
19448     *
19449     * This causes genlist to jump to the given item @p it and show it (by
19450     * animatedly scrolling), if it is not fully visible. This may use animation
19451     * to do so and take a period of time
19452     *
19453     * The item will be positioned at the top of the genlist viewport.
19454     *
19455     * @see elm_genlist_item_bring_in()
19456     * @see elm_genlist_item_top_show()
19457     *
19458     * @ingroup Genlist
19459     */
19460    EAPI void               elm_genlist_item_top_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19461    /**
19462     * Show the portion of a genlist's internal list containing a given
19463     * item, immediately.
19464     *
19465     * @param it The item to display
19466     *
19467     * This causes genlist to jump to the given item @p it and show it (by
19468     * immediately scrolling to that position), if it is not fully visible.
19469     *
19470     * The item will be positioned at the middle of the genlist viewport.
19471     *
19472     * @see elm_genlist_item_show()
19473     * @see elm_genlist_item_middle_bring_in()
19474     *
19475     * @ingroup Genlist
19476     */
19477    EAPI void               elm_genlist_item_middle_show(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19478    /**
19479     * Animatedly bring in, to the visible are of a genlist, a given
19480     * item on it.
19481     *
19482     * @param it The item
19483     *
19484     * This causes genlist to jump to the given item @p it and show it (by
19485     * animatedly scrolling), if it is not fully visible. This may use animation
19486     * to do so and take a period of time
19487     *
19488     * The item will be positioned at the middle of the genlist viewport.
19489     *
19490     * @see elm_genlist_item_bring_in()
19491     * @see elm_genlist_item_middle_show()
19492     *
19493     * @ingroup Genlist
19494     */
19495    EAPI void               elm_genlist_item_middle_bring_in(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19496    /**
19497     * Remove a genlist item from the its parent, deleting it.
19498     *
19499     * @param item The item to be removed.
19500     * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
19501     *
19502     * @see elm_genlist_clear(), to remove all items in a genlist at
19503     * once.
19504     *
19505     * @ingroup Genlist
19506     */
19507    EAPI void               elm_genlist_item_del(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19508    /**
19509     * Return the data associated to a given genlist item
19510     *
19511     * @param item The genlist item.
19512     * @return the data associated to this item.
19513     *
19514     * This returns the @c data value passed on the
19515     * elm_genlist_item_append() and related item addition calls.
19516     *
19517     * @see elm_genlist_item_append()
19518     * @see elm_genlist_item_data_set()
19519     *
19520     * @ingroup Genlist
19521     */
19522    EAPI void              *elm_genlist_item_data_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19523    /**
19524     * Set the data associated to a given genlist item
19525     *
19526     * @param item The genlist item
19527     * @param data The new data pointer to set on it
19528     *
19529     * This @b overrides the @c data value passed on the
19530     * elm_genlist_item_append() and related item addition calls. This
19531     * function @b won't call elm_genlist_item_update() automatically,
19532     * so you'd issue it afterwards if you want to hove the item
19533     * updated to reflect the that new data.
19534     *
19535     * @see elm_genlist_item_data_get()
19536     *
19537     * @ingroup Genlist
19538     */
19539    EAPI void               elm_genlist_item_data_set(Elm_Genlist_Item *it, const void *data) EINA_ARG_NONNULL(1);
19540    /**
19541     * Tells genlist to "orphan" icons fetchs by the item class
19542     *
19543     * @param it The item
19544     *
19545     * This instructs genlist to release references to icons in the item,
19546     * meaning that they will no longer be managed by genlist and are
19547     * floating "orphans" that can be re-used elsewhere if the user wants
19548     * to.
19549     *
19550     * @ingroup Genlist
19551     */
19552    EAPI void               elm_genlist_item_contents_orphan(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19553    EINA_DEPRECATED EAPI void               elm_genlist_item_icons_orphan(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19554    /**
19555     * Get the real Evas object created to implement the view of a
19556     * given genlist item
19557     *
19558     * @param item The genlist item.
19559     * @return the Evas object implementing this item's view.
19560     *
19561     * This returns the actual Evas object used to implement the
19562     * specified genlist item's view. This may be @c NULL, as it may
19563     * not have been created or may have been deleted, at any time, by
19564     * the genlist. <b>Do not modify this object</b> (move, resize,
19565     * show, hide, etc.), as the genlist is controlling it. This
19566     * function is for querying, emitting custom signals or hooking
19567     * lower level callbacks for events on that object. Do not delete
19568     * this object under any circumstances.
19569     *
19570     * @see elm_genlist_item_data_get()
19571     *
19572     * @ingroup Genlist
19573     */
19574    EAPI const Evas_Object *elm_genlist_item_object_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19575    /**
19576     * Update the contents of an item
19577     *
19578     * @param it The item
19579     *
19580     * This updates an item by calling all the item class functions again
19581     * to get the icons, labels and states. Use this when the original
19582     * item data has changed and the changes are desired to be reflected.
19583     *
19584     * Use elm_genlist_realized_items_update() to update all already realized
19585     * items.
19586     *
19587     * @see elm_genlist_realized_items_update()
19588     *
19589     * @ingroup Genlist
19590     */
19591    EAPI void               elm_genlist_item_update(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19592    /**
19593     * Promote an item to the top of the list
19594     *
19595     * @param it The item
19596     *
19597     * @ingroup Genlist
19598     */
19599    EAPI void               elm_genlist_item_promote(Elm_Gen_Item *it) EINA_ARG_NONNULL(1);
19600    /**
19601     * Demote an item to the end of the list
19602     *
19603     * @param it The item
19604     *
19605     * @ingroup Genlist
19606     */
19607    EAPI void               elm_genlist_item_demote(Elm_Gen_Item *it) EINA_ARG_NONNULL(1);
19608    /**
19609     * Update the item class of an item
19610     *
19611     * @param it The item
19612     * @param itc The item class for the item
19613     *
19614     * This sets another class fo the item, changing the way that it is
19615     * displayed. After changing the item class, elm_genlist_item_update() is
19616     * called on the item @p it.
19617     *
19618     * @ingroup Genlist
19619     */
19620    EAPI void               elm_genlist_item_item_class_update(Elm_Genlist_Item *it, const Elm_Genlist_Item_Class *itc) EINA_ARG_NONNULL(1, 2);
19621    EAPI const Elm_Genlist_Item_Class *elm_genlist_item_item_class_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19622    /**
19623     * Set the text to be shown in a given genlist item's tooltips.
19624     *
19625     * @param item The genlist item
19626     * @param text The text to set in the content
19627     *
19628     * This call will setup the text to be used as tooltip to that item
19629     * (analogous to elm_object_tooltip_text_set(), but being item
19630     * tooltips with higher precedence than object tooltips). It can
19631     * have only one tooltip at a time, so any previous tooltip data
19632     * will get removed.
19633     *
19634     * In order to set an icon or something else as a tooltip, look at
19635     * elm_genlist_item_tooltip_content_cb_set().
19636     *
19637     * @ingroup Genlist
19638     */
19639    EAPI void               elm_genlist_item_tooltip_text_set(Elm_Genlist_Item *item, const char *text) EINA_ARG_NONNULL(1);
19640    /**
19641     * Set the content to be shown in a given genlist item's tooltips
19642     *
19643     * @param item The genlist item.
19644     * @param func The function returning the tooltip contents.
19645     * @param data What to provide to @a func as callback data/context.
19646     * @param del_cb Called when data is not needed anymore, either when
19647     *        another callback replaces @p func, the tooltip is unset with
19648     *        elm_genlist_item_tooltip_unset() or the owner @p item
19649     *        dies. This callback receives as its first parameter the
19650     *        given @p data, being @c event_info the item handle.
19651     *
19652     * This call will setup the tooltip's contents to @p item
19653     * (analogous to elm_object_tooltip_content_cb_set(), but being
19654     * item tooltips with higher precedence than object tooltips). It
19655     * can have only one tooltip at a time, so any previous tooltip
19656     * content will get removed. @p func (with @p data) will be called
19657     * every time Elementary needs to show the tooltip and it should
19658     * return a valid Evas object, which will be fully managed by the
19659     * tooltip system, getting deleted when the tooltip is gone.
19660     *
19661     * In order to set just a text as a tooltip, look at
19662     * elm_genlist_item_tooltip_text_set().
19663     *
19664     * @ingroup Genlist
19665     */
19666    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);
19667    /**
19668     * Unset a tooltip from a given genlist item
19669     *
19670     * @param item genlist item to remove a previously set tooltip from.
19671     *
19672     * This call removes any tooltip set on @p item. The callback
19673     * provided as @c del_cb to
19674     * elm_genlist_item_tooltip_content_cb_set() will be called to
19675     * notify it is not used anymore (and have resources cleaned, if
19676     * need be).
19677     *
19678     * @see elm_genlist_item_tooltip_content_cb_set()
19679     *
19680     * @ingroup Genlist
19681     */
19682    EAPI void               elm_genlist_item_tooltip_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19683    /**
19684     * Set a different @b style for a given genlist item's tooltip.
19685     *
19686     * @param item genlist item with tooltip set
19687     * @param style the <b>theme style</b> to use on tooltips (e.g. @c
19688     * "default", @c "transparent", etc)
19689     *
19690     * Tooltips can have <b>alternate styles</b> to be displayed on,
19691     * which are defined by the theme set on Elementary. This function
19692     * works analogously as elm_object_tooltip_style_set(), but here
19693     * applied only to genlist item objects. The default style for
19694     * tooltips is @c "default".
19695     *
19696     * @note before you set a style you should define a tooltip with
19697     *       elm_genlist_item_tooltip_content_cb_set() or
19698     *       elm_genlist_item_tooltip_text_set()
19699     *
19700     * @see elm_genlist_item_tooltip_style_get()
19701     *
19702     * @ingroup Genlist
19703     */
19704    EAPI void               elm_genlist_item_tooltip_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
19705    /**
19706     * Get the style set a given genlist item's tooltip.
19707     *
19708     * @param item genlist item with tooltip already set on.
19709     * @return style the theme style in use, which defaults to
19710     *         "default". If the object does not have a tooltip set,
19711     *         then @c NULL is returned.
19712     *
19713     * @see elm_genlist_item_tooltip_style_set() for more details
19714     *
19715     * @ingroup Genlist
19716     */
19717    EAPI const char        *elm_genlist_item_tooltip_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19718    /**
19719     * @brief Disable size restrictions on an object's tooltip
19720     * @param item The tooltip's anchor object
19721     * @param disable If EINA_TRUE, size restrictions are disabled
19722     * @return EINA_FALSE on failure, EINA_TRUE on success
19723     *
19724     * This function allows a tooltip to expand beyond its parant window's canvas.
19725     * It will instead be limited only by the size of the display.
19726     */
19727    EAPI Eina_Bool          elm_genlist_item_tooltip_size_restrict_disable(Elm_Genlist_Item *item, Eina_Bool disable);
19728    /**
19729     * @brief Retrieve size restriction state of an object's tooltip
19730     * @param item The tooltip's anchor object
19731     * @return If EINA_TRUE, size restrictions are disabled
19732     *
19733     * This function returns whether a tooltip is allowed to expand beyond
19734     * its parant window's canvas.
19735     * It will instead be limited only by the size of the display.
19736     */
19737    EAPI Eina_Bool          elm_genlist_item_tooltip_size_restrict_disabled_get(const Elm_Genlist_Item *item);
19738    /**
19739     * Set the type of mouse pointer/cursor decoration to be shown,
19740     * when the mouse pointer is over the given genlist widget item
19741     *
19742     * @param item genlist item to customize cursor on
19743     * @param cursor the cursor type's name
19744     *
19745     * This function works analogously as elm_object_cursor_set(), but
19746     * here the cursor's changing area is restricted to the item's
19747     * area, and not the whole widget's. Note that that item cursors
19748     * have precedence over widget cursors, so that a mouse over @p
19749     * item will always show cursor @p type.
19750     *
19751     * If this function is called twice for an object, a previously set
19752     * cursor will be unset on the second call.
19753     *
19754     * @see elm_object_cursor_set()
19755     * @see elm_genlist_item_cursor_get()
19756     * @see elm_genlist_item_cursor_unset()
19757     *
19758     * @ingroup Genlist
19759     */
19760    EAPI void               elm_genlist_item_cursor_set(Elm_Genlist_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
19761    /**
19762     * Get the type of mouse pointer/cursor decoration set to be shown,
19763     * when the mouse pointer is over the given genlist widget item
19764     *
19765     * @param item genlist item with custom cursor set
19766     * @return the cursor type's name or @c NULL, if no custom cursors
19767     * were set to @p item (and on errors)
19768     *
19769     * @see elm_object_cursor_get()
19770     * @see elm_genlist_item_cursor_set() for more details
19771     * @see elm_genlist_item_cursor_unset()
19772     *
19773     * @ingroup Genlist
19774     */
19775    EAPI const char        *elm_genlist_item_cursor_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19776    /**
19777     * Unset any custom mouse pointer/cursor decoration set to be
19778     * shown, when the mouse pointer is over the given genlist widget
19779     * item, thus making it show the @b default cursor again.
19780     *
19781     * @param item a genlist item
19782     *
19783     * Use this call to undo any custom settings on this item's cursor
19784     * decoration, bringing it back to defaults (no custom style set).
19785     *
19786     * @see elm_object_cursor_unset()
19787     * @see elm_genlist_item_cursor_set() for more details
19788     *
19789     * @ingroup Genlist
19790     */
19791    EAPI void               elm_genlist_item_cursor_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19792    /**
19793     * Set a different @b style for a given custom cursor set for a
19794     * genlist item.
19795     *
19796     * @param item genlist item with custom cursor set
19797     * @param style the <b>theme style</b> to use (e.g. @c "default",
19798     * @c "transparent", etc)
19799     *
19800     * This function only makes sense when one is using custom mouse
19801     * cursor decorations <b>defined in a theme file</b> , which can
19802     * have, given a cursor name/type, <b>alternate styles</b> on
19803     * it. It works analogously as elm_object_cursor_style_set(), but
19804     * here applied only to genlist item objects.
19805     *
19806     * @warning Before you set a cursor style you should have defined a
19807     *       custom cursor previously on the item, with
19808     *       elm_genlist_item_cursor_set()
19809     *
19810     * @see elm_genlist_item_cursor_engine_only_set()
19811     * @see elm_genlist_item_cursor_style_get()
19812     *
19813     * @ingroup Genlist
19814     */
19815    EAPI void               elm_genlist_item_cursor_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
19816    /**
19817     * Get the current @b style set for a given genlist item's custom
19818     * cursor
19819     *
19820     * @param item genlist item with custom cursor set.
19821     * @return style the cursor style in use. If the object does not
19822     *         have a cursor set, then @c NULL is returned.
19823     *
19824     * @see elm_genlist_item_cursor_style_set() for more details
19825     *
19826     * @ingroup Genlist
19827     */
19828    EAPI const char        *elm_genlist_item_cursor_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19829    /**
19830     * Set if the (custom) cursor for a given genlist item should be
19831     * searched in its theme, also, or should only rely on the
19832     * rendering engine.
19833     *
19834     * @param item item with custom (custom) cursor already set on
19835     * @param engine_only Use @c EINA_TRUE to have cursors looked for
19836     * only on those provided by the rendering engine, @c EINA_FALSE to
19837     * have them searched on the widget's theme, as well.
19838     *
19839     * @note This call is of use only if you've set a custom cursor
19840     * for genlist items, with elm_genlist_item_cursor_set().
19841     *
19842     * @note By default, cursors will only be looked for between those
19843     * provided by the rendering engine.
19844     *
19845     * @ingroup Genlist
19846     */
19847    EAPI void               elm_genlist_item_cursor_engine_only_set(Elm_Genlist_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
19848    /**
19849     * Get if the (custom) cursor for a given genlist item is being
19850     * searched in its theme, also, or is only relying on the rendering
19851     * engine.
19852     *
19853     * @param item a genlist item
19854     * @return @c EINA_TRUE, if cursors are being looked for only on
19855     * those provided by the rendering engine, @c EINA_FALSE if they
19856     * are being searched on the widget's theme, as well.
19857     *
19858     * @see elm_genlist_item_cursor_engine_only_set(), for more details
19859     *
19860     * @ingroup Genlist
19861     */
19862    EAPI Eina_Bool          elm_genlist_item_cursor_engine_only_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19863    /**
19864     * Update the contents of all realized items.
19865     *
19866     * @param obj The genlist object.
19867     *
19868     * This updates all realized items by calling all the item class functions again
19869     * to get the icons, labels and states. Use this when the original
19870     * item data has changed and the changes are desired to be reflected.
19871     *
19872     * To update just one item, use elm_genlist_item_update().
19873     *
19874     * @see elm_genlist_realized_items_get()
19875     * @see elm_genlist_item_update()
19876     *
19877     * @ingroup Genlist
19878     */
19879    EAPI void               elm_genlist_realized_items_update(Evas_Object *obj) EINA_ARG_NONNULL(1);
19880    /**
19881     * Activate a genlist mode on an item
19882     *
19883     * @param item The genlist item
19884     * @param mode Mode name
19885     * @param mode_set Boolean to define set or unset mode.
19886     *
19887     * A genlist mode is a different way of selecting an item. Once a mode is
19888     * activated on an item, any other selected item is immediately unselected.
19889     * This feature provides an easy way of implementing a new kind of animation
19890     * for selecting an item, without having to entirely rewrite the item style
19891     * theme. However, the elm_genlist_selected_* API can't be used to get what
19892     * item is activate for a mode.
19893     *
19894     * The current item style will still be used, but applying a genlist mode to
19895     * an item will select it using a different kind of animation.
19896     *
19897     * The current active item for a mode can be found by
19898     * elm_genlist_mode_item_get().
19899     *
19900     * The characteristics of genlist mode are:
19901     * - Only one mode can be active at any time, and for only one item.
19902     * - Genlist handles deactivating other items when one item is activated.
19903     * - A mode is defined in the genlist theme (edc), and more modes can easily
19904     *   be added.
19905     * - A mode style and the genlist item style are different things. They
19906     *   can be combined to provide a default style to the item, with some kind
19907     *   of animation for that item when the mode is activated.
19908     *
19909     * When a mode is activated on an item, a new view for that item is created.
19910     * The theme of this mode defines the animation that will be used to transit
19911     * the item from the old view to the new view. This second (new) view will be
19912     * active for that item while the mode is active on the item, and will be
19913     * destroyed after the mode is totally deactivated from that item.
19914     *
19915     * @see elm_genlist_mode_get()
19916     * @see elm_genlist_mode_item_get()
19917     *
19918     * @ingroup Genlist
19919     */
19920    EAPI void               elm_genlist_item_mode_set(Elm_Genlist_Item *it, const char *mode_type, Eina_Bool mode_set) EINA_ARG_NONNULL(1, 2);
19921    /**
19922     * Get the last (or current) genlist mode used.
19923     *
19924     * @param obj The genlist object
19925     *
19926     * This function just returns the name of the last used genlist mode. It will
19927     * be the current mode if it's still active.
19928     *
19929     * @see elm_genlist_item_mode_set()
19930     * @see elm_genlist_mode_item_get()
19931     *
19932     * @ingroup Genlist
19933     */
19934    EAPI const char        *elm_genlist_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19935    /**
19936     * Get active genlist mode item
19937     *
19938     * @param obj The genlist object
19939     * @return The active item for that current mode. Or @c NULL if no item is
19940     * activated with any mode.
19941     *
19942     * This function returns the item that was activated with a mode, by the
19943     * function elm_genlist_item_mode_set().
19944     *
19945     * @see elm_genlist_item_mode_set()
19946     * @see elm_genlist_mode_get()
19947     *
19948     * @ingroup Genlist
19949     */
19950    EAPI const Elm_Genlist_Item *elm_genlist_mode_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19951
19952    /**
19953     * Set reorder mode
19954     *
19955     * @param obj The genlist object
19956     * @param reorder_mode The reorder mode
19957     * (EINA_TRUE = on, EINA_FALSE = off)
19958     *
19959     * @ingroup Genlist
19960     */
19961    EAPI void               elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
19962
19963    /**
19964     * Get the reorder mode
19965     *
19966     * @param obj The genlist object
19967     * @return The reorder mode
19968     * (EINA_TRUE = on, EINA_FALSE = off)
19969     *
19970     * @ingroup Genlist
19971     */
19972    EAPI Eina_Bool          elm_genlist_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19973
19974    /**
19975     * @}
19976     */
19977
19978    /**
19979     * @defgroup Check Check
19980     *
19981     * @image html img/widget/check/preview-00.png
19982     * @image latex img/widget/check/preview-00.eps
19983     * @image html img/widget/check/preview-01.png
19984     * @image latex img/widget/check/preview-01.eps
19985     * @image html img/widget/check/preview-02.png
19986     * @image latex img/widget/check/preview-02.eps
19987     *
19988     * @brief The check widget allows for toggling a value between true and
19989     * false.
19990     *
19991     * Check objects are a lot like radio objects in layout and functionality
19992     * except they do not work as a group, but independently and only toggle the
19993     * value of a boolean from false to true (0 or 1). elm_check_state_set() sets
19994     * the boolean state (1 for true, 0 for false), and elm_check_state_get()
19995     * returns the current state. For convenience, like the radio objects, you
19996     * can set a pointer to a boolean directly with elm_check_state_pointer_set()
19997     * for it to modify.
19998     *
19999     * Signals that you can add callbacks for are:
20000     * "changed" - This is called whenever the user changes the state of one of
20001     *             the check object(event_info is NULL).
20002     *
20003     * Default contents parts of the check widget that you can use for are:
20004     * @li "icon" - A icon of the check
20005     *
20006     * Default text parts of the check widget that you can use for are:
20007     * @li "elm.text" - Label of the check
20008     *
20009     * @ref tutorial_check should give you a firm grasp of how to use this widget
20010     * .
20011     * @{
20012     */
20013    /**
20014     * @brief Add a new Check object
20015     *
20016     * @param parent The parent object
20017     * @return The new object or NULL if it cannot be created
20018     */
20019    EAPI Evas_Object *elm_check_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20020    /**
20021     * @brief Set the text label of the check object
20022     *
20023     * @param obj The check object
20024     * @param label The text label string in UTF-8
20025     *
20026     * @deprecated use elm_object_text_set() instead.
20027     */
20028    EINA_DEPRECATED EAPI void         elm_check_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
20029    /**
20030     * @brief Get the text label of the check object
20031     *
20032     * @param obj The check object
20033     * @return The text label string in UTF-8
20034     *
20035     * @deprecated use elm_object_text_get() instead.
20036     */
20037    EINA_DEPRECATED EAPI const char  *elm_check_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20038    /**
20039     * @brief Set the icon object of the check object
20040     *
20041     * @param obj The check object
20042     * @param icon The icon object
20043     *
20044     * Once the icon object is set, a previously set one will be deleted.
20045     * If you want to keep that old content object, use the
20046     * elm_object_content_unset() function.
20047     *
20048     * @deprecated use elm_object_part_content_set() instead.
20049     *
20050     */
20051    EINA_DEPRECATED EAPI void         elm_check_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
20052    /**
20053     * @brief Get the icon object of the check object
20054     *
20055     * @param obj The check object
20056     * @return The icon object
20057     *
20058     * @deprecated use elm_object_part_content_get() instead.
20059     *  
20060     */
20061    EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20062    /**
20063     * @brief Unset the icon used for the check object
20064     *
20065     * @param obj The check object
20066     * @return The icon object that was being used
20067     *
20068     * Unparent and return the icon object which was set for this widget.
20069     *
20070     * @deprecated use elm_object_part_content_unset() instead.
20071     *
20072     */
20073    EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
20074    /**
20075     * @brief Set the on/off state of the check object
20076     *
20077     * @param obj The check object
20078     * @param state The state to use (1 == on, 0 == off)
20079     *
20080     * This sets the state of the check. If set
20081     * with elm_check_state_pointer_set() the state of that variable is also
20082     * changed. Calling this @b doesn't cause the "changed" signal to be emited.
20083     */
20084    EAPI void         elm_check_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
20085    /**
20086     * @brief Get the state of the check object
20087     *
20088     * @param obj The check object
20089     * @return The boolean state
20090     */
20091    EAPI Eina_Bool    elm_check_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20092    /**
20093     * @brief Set a convenience pointer to a boolean to change
20094     *
20095     * @param obj The check object
20096     * @param statep Pointer to the boolean to modify
20097     *
20098     * This sets a pointer to a boolean, that, in addition to the check objects
20099     * state will also be modified directly. To stop setting the object pointed
20100     * to simply use NULL as the @p statep parameter. If @p statep is not NULL,
20101     * then when this is called, the check objects state will also be modified to
20102     * reflect the value of the boolean @p statep points to, just like calling
20103     * elm_check_state_set().
20104     */
20105    EAPI void         elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
20106    EINA_DEPRECATED EAPI void         elm_check_states_labels_set(Evas_Object *obj, const char *ontext, const char *offtext) EINA_ARG_NONNULL(1,2,3);
20107    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);
20108
20109    /**
20110     * @}
20111     */
20112
20113    /**
20114     * @defgroup Radio Radio
20115     *
20116     * @image html img/widget/radio/preview-00.png
20117     * @image latex img/widget/radio/preview-00.eps
20118     *
20119     * @brief Radio is a widget that allows for 1 or more options to be displayed
20120     * and have the user choose only 1 of them.
20121     *
20122     * A radio object contains an indicator, an optional Label and an optional
20123     * icon object. While it's possible to have a group of only one radio they,
20124     * are normally used in groups of 2 or more. To add a radio to a group use
20125     * elm_radio_group_add(). The radio object(s) will select from one of a set
20126     * of integer values, so any value they are configuring needs to be mapped to
20127     * a set of integers. To configure what value that radio object represents,
20128     * use  elm_radio_state_value_set() to set the integer it represents. To set
20129     * the value the whole group(which one is currently selected) is to indicate
20130     * use elm_radio_value_set() on any group member, and to get the groups value
20131     * use elm_radio_value_get(). For convenience the radio objects are also able
20132     * to directly set an integer(int) to the value that is selected. To specify
20133     * the pointer to this integer to modify, use elm_radio_value_pointer_set().
20134     * The radio objects will modify this directly. That implies the pointer must
20135     * point to valid memory for as long as the radio objects exist.
20136     *
20137     * Signals that you can add callbacks for are:
20138     * @li changed - This is called whenever the user changes the state of one of
20139     * the radio objects within the group of radio objects that work together.
20140     *
20141     * Default contents parts of the radio widget that you can use for are:
20142     * @li "icon" - A icon of the radio
20143     *
20144     * @ref tutorial_radio show most of this API in action.
20145     * @{
20146     */
20147    /**
20148     * @brief Add a new radio to the parent
20149     *
20150     * @param parent The parent object
20151     * @return The new object or NULL if it cannot be created
20152     */
20153    EAPI Evas_Object *elm_radio_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20154    /**
20155     * @brief Set the text label of the radio object
20156     *
20157     * @param obj The radio object
20158     * @param label The text label string in UTF-8
20159     *
20160     * @deprecated use elm_object_text_set() instead.
20161     */
20162    EINA_DEPRECATED EAPI void         elm_radio_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
20163    /**
20164     * @brief Get the text label of the radio object
20165     *
20166     * @param obj The radio object
20167     * @return The text label string in UTF-8
20168     *
20169     * @deprecated use elm_object_text_set() instead.
20170     */
20171    EINA_DEPRECATED EAPI const char  *elm_radio_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20172    /**
20173     * @brief Set the icon object of the radio object
20174     *
20175     * @param obj The radio object
20176     * @param icon The icon object
20177     *
20178     * Once the icon object is set, a previously set one will be deleted. If you
20179     * want to keep that old content object, use the elm_radio_icon_unset()
20180     * function.
20181     *
20182     * @deprecated use elm_object_part_content_set() instead.
20183     *
20184     */
20185    EINA_DEPRECATED EAPI void         elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
20186    /**
20187     * @brief Get the icon object of the radio object
20188     *
20189     * @param obj The radio object
20190     * @return The icon object
20191     *
20192     * @see elm_radio_icon_set()
20193     *
20194     * @deprecated use elm_object_part_content_get() instead.
20195     *
20196     */
20197    EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20198    /**
20199     * @brief Unset the icon used for the radio object
20200     *
20201     * @param obj The radio object
20202     * @return The icon object that was being used
20203     *
20204     * Unparent and return the icon object which was set for this widget.
20205     *
20206     * @see elm_radio_icon_set()
20207     * @deprecated use elm_object_part_content_unset() instead.
20208     *
20209     */
20210    EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
20211    /**
20212     * @brief Add this radio to a group of other radio objects
20213     *
20214     * @param obj The radio object
20215     * @param group Any object whose group the @p obj is to join.
20216     *
20217     * Radio objects work in groups. Each member should have a different integer
20218     * value assigned. In order to have them work as a group, they need to know
20219     * about each other. This adds the given radio object to the group of which
20220     * the group object indicated is a member.
20221     */
20222    EAPI void         elm_radio_group_add(Evas_Object *obj, Evas_Object *group) EINA_ARG_NONNULL(1);
20223    /**
20224     * @brief Set the integer value that this radio object represents
20225     *
20226     * @param obj The radio object
20227     * @param value The value to use if this radio object is selected
20228     *
20229     * This sets the value of the radio.
20230     */
20231    EAPI void         elm_radio_state_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
20232    /**
20233     * @brief Get the integer value that this radio object represents
20234     *
20235     * @param obj The radio object
20236     * @return The value used if this radio object is selected
20237     *
20238     * This gets the value of the radio.
20239     *
20240     * @see elm_radio_value_set()
20241     */
20242    EAPI int          elm_radio_state_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20243    /**
20244     * @brief Set the value of the radio.
20245     *
20246     * @param obj The radio object
20247     * @param value The value to use for the group
20248     *
20249     * This sets the value of the radio group and will also set the value if
20250     * pointed to, to the value supplied, but will not call any callbacks.
20251     */
20252    EAPI void         elm_radio_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
20253    /**
20254     * @brief Get the state of the radio object
20255     *
20256     * @param obj The radio object
20257     * @return The integer state
20258     */
20259    EAPI int          elm_radio_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20260    /**
20261     * @brief Set a convenience pointer to a integer to change
20262     *
20263     * @param obj The radio object
20264     * @param valuep Pointer to the integer to modify
20265     *
20266     * This sets a pointer to a integer, that, in addition to the radio objects
20267     * state will also be modified directly. To stop setting the object pointed
20268     * to simply use NULL as the @p valuep argument. If valuep is not NULL, then
20269     * when this is called, the radio objects state will also be modified to
20270     * reflect the value of the integer valuep points to, just like calling
20271     * elm_radio_value_set().
20272     */
20273    EAPI void         elm_radio_value_pointer_set(Evas_Object *obj, int *valuep) EINA_ARG_NONNULL(1);
20274    /**
20275     * @}
20276     */
20277
20278    /**
20279     * @defgroup Pager Pager
20280     *
20281     * @image html img/widget/pager/preview-00.png
20282     * @image latex img/widget/pager/preview-00.eps
20283     *
20284     * @brief Widget that allows flipping between one or more ā€œpagesā€
20285     * of objects.
20286     *
20287     * The flipping between pages of objects is animated. All content
20288     * in the pager is kept in a stack, being the last content added
20289     * (visible one) on the top of that stack.
20290     *
20291     * Objects can be pushed or popped from the stack or deleted as
20292     * well. Pushes and pops will animate the widget accordingly to its
20293     * style (a pop will also delete the child object once the
20294     * animation is finished). Any object already in the pager can be
20295     * promoted to the top (from its current stacking position) through
20296     * the use of elm_pager_content_promote(). New objects are pushed
20297     * to the top with elm_pager_content_push(). When the top item is
20298     * no longer wanted, simply pop it with elm_pager_content_pop() and
20299     * it will also be deleted. If an object is no longer needed and is
20300     * not the top item, just delete it as normal. You can query which
20301     * objects are the top and bottom with
20302     * elm_pager_content_bottom_get() and elm_pager_content_top_get().
20303     *
20304     * Signals that you can add callbacks for are:
20305     * - @c "show,finished" - when a new page is actually shown on the top
20306     * - @c "hide,finished" - when a previous page is hidden
20307     *
20308     * Only after the first of that signals the child object is
20309     * guaranteed to be visible, as in @c evas_object_visible_get().
20310     *
20311     * This widget has the following styles available:
20312     * - @c "default"
20313     * - @c "fade"
20314     * - @c "fade_translucide"
20315     * - @c "fade_invisible"
20316     *
20317     * @note These styles affect only the flipping animations on the
20318     * default theme; the appearance when not animating is unaffected
20319     * by them.
20320     *
20321     * @ref tutorial_pager gives a good overview of the usage of the API.
20322     * @{
20323     */
20324
20325    /**
20326     * Add a new pager to the parent
20327     *
20328     * @param parent The parent object
20329     * @return The new object or NULL if it cannot be created
20330     *
20331     * @ingroup Pager
20332     */
20333    EAPI Evas_Object *elm_pager_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20334
20335    /**
20336     * @brief Push an object to the top of the pager stack (and show it).
20337     *
20338     * @param obj The pager object
20339     * @param content The object to push
20340     *
20341     * The object pushed becomes a child of the pager, it will be controlled and
20342     * deleted when the pager is deleted.
20343     *
20344     * @note If the content is already in the stack use
20345     * elm_pager_content_promote().
20346     * @warning Using this function on @p content already in the stack results in
20347     * undefined behavior.
20348     */
20349    EAPI void         elm_pager_content_push(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
20350
20351    /**
20352     * @brief Pop the object that is on top of the stack
20353     *
20354     * @param obj The pager object
20355     *
20356     * This pops the object that is on the top(visible) of the pager, makes it
20357     * disappear, then deletes the object. The object that was underneath it on
20358     * the stack will become visible.
20359     */
20360    EAPI void         elm_pager_content_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
20361
20362    /**
20363     * @brief Moves an object already in the pager stack to the top of the stack.
20364     *
20365     * @param obj The pager object
20366     * @param content The object to promote
20367     *
20368     * This will take the @p content and move it to the top of the stack as
20369     * if it had been pushed there.
20370     *
20371     * @note If the content isn't already in the stack use
20372     * elm_pager_content_push().
20373     * @warning Using this function on @p content not already in the stack
20374     * results in undefined behavior.
20375     */
20376    EAPI void         elm_pager_content_promote(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
20377
20378    /**
20379     * @brief Return the object at the bottom of the pager stack
20380     *
20381     * @param obj The pager object
20382     * @return The bottom object or NULL if none
20383     */
20384    EAPI Evas_Object *elm_pager_content_bottom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20385
20386    /**
20387     * @brief  Return the object at the top of the pager stack
20388     *
20389     * @param obj The pager object
20390     * @return The top object or NULL if none
20391     */
20392    EAPI Evas_Object *elm_pager_content_top_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20393
20394    /**
20395     * @}
20396     */
20397
20398    /**
20399     * @defgroup Slideshow Slideshow
20400     *
20401     * @image html img/widget/slideshow/preview-00.png
20402     * @image latex img/widget/slideshow/preview-00.eps
20403     *
20404     * This widget, as the name indicates, is a pre-made image
20405     * slideshow panel, with API functions acting on (child) image
20406     * items presentation. Between those actions, are:
20407     * - advance to next/previous image
20408     * - select the style of image transition animation
20409     * - set the exhibition time for each image
20410     * - start/stop the slideshow
20411     *
20412     * The transition animations are defined in the widget's theme,
20413     * consequently new animations can be added without having to
20414     * update the widget's code.
20415     *
20416     * @section Slideshow_Items Slideshow items
20417     *
20418     * For slideshow items, just like for @ref Genlist "genlist" ones,
20419     * the user defines a @b classes, specifying functions that will be
20420     * called on the item's creation and deletion times.
20421     *
20422     * The #Elm_Slideshow_Item_Class structure contains the following
20423     * members:
20424     *
20425     * - @c func.get - When an item is displayed, this function is
20426     *   called, and it's where one should create the item object, de
20427     *   facto. For example, the object can be a pure Evas image object
20428     *   or an Elementary @ref Photocam "photocam" widget. See
20429     *   #SlideshowItemGetFunc.
20430     * - @c func.del - When an item is no more displayed, this function
20431     *   is called, where the user must delete any data associated to
20432     *   the item. See #SlideshowItemDelFunc.
20433     *
20434     * @section Slideshow_Caching Slideshow caching
20435     *
20436     * The slideshow provides facilities to have items adjacent to the
20437     * one being displayed <b>already "realized"</b> (i.e. loaded) for
20438     * you, so that the system does not have to decode image data
20439     * anymore at the time it has to actually switch images on its
20440     * viewport. The user is able to set the numbers of items to be
20441     * cached @b before and @b after the current item, in the widget's
20442     * item list.
20443     *
20444     * Smart events one can add callbacks for are:
20445     *
20446     * - @c "changed" - when the slideshow switches its view to a new
20447     *   item
20448     *
20449     * List of examples for the slideshow widget:
20450     * @li @ref slideshow_example
20451     */
20452
20453    /**
20454     * @addtogroup Slideshow
20455     * @{
20456     */
20457
20458    typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class; /**< Slideshow item class definition struct */
20459    typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func; /**< Class functions for slideshow item classes. */
20460    typedef struct _Elm_Slideshow_Item       Elm_Slideshow_Item; /**< Slideshow item handle */
20461    typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj); /**< Image fetching class function for slideshow item classes. */
20462    typedef void         (*SlideshowItemDelFunc) (void *data, Evas_Object *obj); /**< Deletion class function for slideshow item classes. */
20463
20464    /**
20465     * @struct _Elm_Slideshow_Item_Class
20466     *
20467     * Slideshow item class definition. See @ref Slideshow_Items for
20468     * field details.
20469     */
20470    struct _Elm_Slideshow_Item_Class
20471      {
20472         struct _Elm_Slideshow_Item_Class_Func
20473           {
20474              SlideshowItemGetFunc get;
20475              SlideshowItemDelFunc del;
20476           } func;
20477      }; /**< #Elm_Slideshow_Item_Class member definitions */
20478
20479    /**
20480     * Add a new slideshow widget to the given parent Elementary
20481     * (container) object
20482     *
20483     * @param parent The parent object
20484     * @return A new slideshow widget handle or @c NULL, on errors
20485     *
20486     * This function inserts a new slideshow widget on the canvas.
20487     *
20488     * @ingroup Slideshow
20489     */
20490    EAPI Evas_Object        *elm_slideshow_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20491
20492    /**
20493     * Add (append) a new item in a given slideshow widget.
20494     *
20495     * @param obj The slideshow object
20496     * @param itc The item class for the item
20497     * @param data The item's data
20498     * @return A handle to the item added or @c NULL, on errors
20499     *
20500     * Add a new item to @p obj's internal list of items, appending it.
20501     * The item's class must contain the function really fetching the
20502     * image object to show for this item, which could be an Evas image
20503     * object or an Elementary photo, for example. The @p data
20504     * parameter is going to be passed to both class functions of the
20505     * item.
20506     *
20507     * @see #Elm_Slideshow_Item_Class
20508     * @see elm_slideshow_item_sorted_insert()
20509     *
20510     * @ingroup Slideshow
20511     */
20512    EAPI Elm_Slideshow_Item *elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data) EINA_ARG_NONNULL(1);
20513
20514    /**
20515     * Insert a new item into the given slideshow widget, using the @p func
20516     * function to sort items (by item handles).
20517     *
20518     * @param obj The slideshow object
20519     * @param itc The item class for the item
20520     * @param data The item's data
20521     * @param func The comparing function to be used to sort slideshow
20522     * items <b>by #Elm_Slideshow_Item item handles</b>
20523     * @return Returns The slideshow item handle, on success, or
20524     * @c NULL, on errors
20525     *
20526     * Add a new item to @p obj's internal list of items, in a position
20527     * determined by the @p func comparing function. The item's class
20528     * must contain the function really fetching the image object to
20529     * show for this item, which could be an Evas image object or an
20530     * Elementary photo, for example. The @p data parameter is going to
20531     * be passed to both class functions of the item.
20532     *
20533     * @see #Elm_Slideshow_Item_Class
20534     * @see elm_slideshow_item_add()
20535     *
20536     * @ingroup Slideshow
20537     */
20538    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);
20539
20540    /**
20541     * Display a given slideshow widget's item, programmatically.
20542     *
20543     * @param obj The slideshow object
20544     * @param item The item to display on @p obj's viewport
20545     *
20546     * The change between the current item and @p item will use the
20547     * transition @p obj is set to use (@see
20548     * elm_slideshow_transition_set()).
20549     *
20550     * @ingroup Slideshow
20551     */
20552    EAPI void                elm_slideshow_show(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
20553
20554    /**
20555     * Slide to the @b next item, in a given slideshow widget
20556     *
20557     * @param obj The slideshow object
20558     *
20559     * The sliding animation @p obj is set to use will be the
20560     * transition effect used, after this call is issued.
20561     *
20562     * @note If the end of the slideshow's internal list of items is
20563     * reached, it'll wrap around to the list's beginning, again.
20564     *
20565     * @ingroup Slideshow
20566     */
20567    EAPI void                elm_slideshow_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
20568
20569    /**
20570     * Slide to the @b previous item, in a given slideshow widget
20571     *
20572     * @param obj The slideshow object
20573     *
20574     * The sliding animation @p obj is set to use will be the
20575     * transition effect used, after this call is issued.
20576     *
20577     * @note If the beginning of the slideshow's internal list of items
20578     * is reached, it'll wrap around to the list's end, again.
20579     *
20580     * @ingroup Slideshow
20581     */
20582    EAPI void                elm_slideshow_previous(Evas_Object *obj) EINA_ARG_NONNULL(1);
20583
20584    /**
20585     * Returns the list of sliding transition/effect names available, for a
20586     * given slideshow widget.
20587     *
20588     * @param obj The slideshow object
20589     * @return The list of transitions (list of @b stringshared strings
20590     * as data)
20591     *
20592     * The transitions, which come from @p obj's theme, must be an EDC
20593     * data item named @c "transitions" on the theme file, with (prefix)
20594     * names of EDC programs actually implementing them.
20595     *
20596     * The available transitions for slideshows on the default theme are:
20597     * - @c "fade" - the current item fades out, while the new one
20598     *   fades in to the slideshow's viewport.
20599     * - @c "black_fade" - the current item fades to black, and just
20600     *   then, the new item will fade in.
20601     * - @c "horizontal" - the current item slides horizontally, until
20602     *   it gets out of the slideshow's viewport, while the new item
20603     *   comes from the left to take its place.
20604     * - @c "vertical" - the current item slides vertically, until it
20605     *   gets out of the slideshow's viewport, while the new item comes
20606     *   from the bottom to take its place.
20607     * - @c "square" - the new item starts to appear from the middle of
20608     *   the current one, but with a tiny size, growing until its
20609     *   target (full) size and covering the old one.
20610     *
20611     * @warning The stringshared strings get no new references
20612     * exclusive to the user grabbing the list, here, so if you'd like
20613     * to use them out of this call's context, you'd better @c
20614     * eina_stringshare_ref() them.
20615     *
20616     * @see elm_slideshow_transition_set()
20617     *
20618     * @ingroup Slideshow
20619     */
20620    EAPI const Eina_List    *elm_slideshow_transitions_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20621
20622    /**
20623     * Set the current slide transition/effect in use for a given
20624     * slideshow widget
20625     *
20626     * @param obj The slideshow object
20627     * @param transition The new transition's name string
20628     *
20629     * If @p transition is implemented in @p obj's theme (i.e., is
20630     * contained in the list returned by
20631     * elm_slideshow_transitions_get()), this new sliding effect will
20632     * be used on the widget.
20633     *
20634     * @see elm_slideshow_transitions_get() for more details
20635     *
20636     * @ingroup Slideshow
20637     */
20638    EAPI void                elm_slideshow_transition_set(Evas_Object *obj, const char *transition) EINA_ARG_NONNULL(1);
20639
20640    /**
20641     * Get the current slide transition/effect in use for a given
20642     * slideshow widget
20643     *
20644     * @param obj The slideshow object
20645     * @return The current transition's name
20646     *
20647     * @see elm_slideshow_transition_set() for more details
20648     *
20649     * @ingroup Slideshow
20650     */
20651    EAPI const char         *elm_slideshow_transition_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20652
20653    /**
20654     * Set the interval between each image transition on a given
20655     * slideshow widget, <b>and start the slideshow, itself</b>
20656     *
20657     * @param obj The slideshow object
20658     * @param timeout The new displaying timeout for images
20659     *
20660     * After this call, the slideshow widget will start cycling its
20661     * view, sequentially and automatically, with the images of the
20662     * items it has. The time between each new image displayed is going
20663     * to be @p timeout, in @b seconds. If a different timeout was set
20664     * previously and an slideshow was in progress, it will continue
20665     * with the new time between transitions, after this call.
20666     *
20667     * @note A value less than or equal to 0 on @p timeout will disable
20668     * the widget's internal timer, thus halting any slideshow which
20669     * could be happening on @p obj.
20670     *
20671     * @see elm_slideshow_timeout_get()
20672     *
20673     * @ingroup Slideshow
20674     */
20675    EAPI void                elm_slideshow_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
20676
20677    /**
20678     * Get the interval set for image transitions on a given slideshow
20679     * widget.
20680     *
20681     * @param obj The slideshow object
20682     * @return Returns the timeout set on it
20683     *
20684     * @see elm_slideshow_timeout_set() for more details
20685     *
20686     * @ingroup Slideshow
20687     */
20688    EAPI double              elm_slideshow_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20689
20690    /**
20691     * Set if, after a slideshow is started, for a given slideshow
20692     * widget, its items should be displayed cyclically or not.
20693     *
20694     * @param obj The slideshow object
20695     * @param loop Use @c EINA_TRUE to make it cycle through items or
20696     * @c EINA_FALSE for it to stop at the end of @p obj's internal
20697     * list of items
20698     *
20699     * @note elm_slideshow_next() and elm_slideshow_previous() will @b
20700     * ignore what is set by this functions, i.e., they'll @b always
20701     * cycle through items. This affects only the "automatic"
20702     * slideshow, as set by elm_slideshow_timeout_set().
20703     *
20704     * @see elm_slideshow_loop_get()
20705     *
20706     * @ingroup Slideshow
20707     */
20708    EAPI void                elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop) EINA_ARG_NONNULL(1);
20709
20710    /**
20711     * Get if, after a slideshow is started, for a given slideshow
20712     * widget, its items are to be displayed cyclically or not.
20713     *
20714     * @param obj The slideshow object
20715     * @return @c EINA_TRUE, if the items in @p obj will be cycled
20716     * through or @c EINA_FALSE, otherwise
20717     *
20718     * @see elm_slideshow_loop_set() for more details
20719     *
20720     * @ingroup Slideshow
20721     */
20722    EAPI Eina_Bool           elm_slideshow_loop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20723
20724    /**
20725     * Remove all items from a given slideshow widget
20726     *
20727     * @param obj The slideshow object
20728     *
20729     * This removes (and deletes) all items in @p obj, leaving it
20730     * empty.
20731     *
20732     * @see elm_slideshow_item_del(), to remove just one item.
20733     *
20734     * @ingroup Slideshow
20735     */
20736    EAPI void                elm_slideshow_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
20737
20738    /**
20739     * Get the internal list of items in a given slideshow widget.
20740     *
20741     * @param obj The slideshow object
20742     * @return The list of items (#Elm_Slideshow_Item as data) or
20743     * @c NULL on errors.
20744     *
20745     * This list is @b not to be modified in any way and must not be
20746     * freed. Use the list members with functions like
20747     * elm_slideshow_item_del(), elm_slideshow_item_data_get().
20748     *
20749     * @warning This list is only valid until @p obj object's internal
20750     * items list is changed. It should be fetched again with another
20751     * call to this function when changes happen.
20752     *
20753     * @ingroup Slideshow
20754     */
20755    EAPI const Eina_List    *elm_slideshow_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20756
20757    /**
20758     * Delete a given item from a slideshow widget.
20759     *
20760     * @param item The slideshow item
20761     *
20762     * @ingroup Slideshow
20763     */
20764    EAPI void                elm_slideshow_item_del(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
20765
20766    /**
20767     * Return the data associated with a given slideshow item
20768     *
20769     * @param item The slideshow item
20770     * @return Returns the data associated to this item
20771     *
20772     * @ingroup Slideshow
20773     */
20774    EAPI void               *elm_slideshow_item_data_get(const Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
20775
20776    /**
20777     * Returns the currently displayed item, in a given slideshow widget
20778     *
20779     * @param obj The slideshow object
20780     * @return A handle to the item being displayed in @p obj or
20781     * @c NULL, if none is (and on errors)
20782     *
20783     * @ingroup Slideshow
20784     */
20785    EAPI Elm_Slideshow_Item *elm_slideshow_item_current_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20786
20787    /**
20788     * Get the real Evas object created to implement the view of a
20789     * given slideshow item
20790     *
20791     * @param item The slideshow item.
20792     * @return the Evas object implementing this item's view.
20793     *
20794     * This returns the actual Evas object used to implement the
20795     * specified slideshow item's view. This may be @c NULL, as it may
20796     * not have been created or may have been deleted, at any time, by
20797     * the slideshow. <b>Do not modify this object</b> (move, resize,
20798     * show, hide, etc.), as the slideshow is controlling it. This
20799     * function is for querying, emitting custom signals or hooking
20800     * lower level callbacks for events on that object. Do not delete
20801     * this object under any circumstances.
20802     *
20803     * @see elm_slideshow_item_data_get()
20804     *
20805     * @ingroup Slideshow
20806     */
20807    EAPI Evas_Object*        elm_slideshow_item_object_get(const Elm_Slideshow_Item* item) EINA_ARG_NONNULL(1);
20808
20809    /**
20810     * Get the the item, in a given slideshow widget, placed at
20811     * position @p nth, in its internal items list
20812     *
20813     * @param obj The slideshow object
20814     * @param nth The number of the item to grab a handle to (0 being
20815     * the first)
20816     * @return The item stored in @p obj at position @p nth or @c NULL,
20817     * if there's no item with that index (and on errors)
20818     *
20819     * @ingroup Slideshow
20820     */
20821    EAPI Elm_Slideshow_Item *elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth) EINA_ARG_NONNULL(1);
20822
20823    /**
20824     * Set the current slide layout in use for a given slideshow widget
20825     *
20826     * @param obj The slideshow object
20827     * @param layout The new layout's name string
20828     *
20829     * If @p layout is implemented in @p obj's theme (i.e., is contained
20830     * in the list returned by elm_slideshow_layouts_get()), this new
20831     * images layout will be used on the widget.
20832     *
20833     * @see elm_slideshow_layouts_get() for more details
20834     *
20835     * @ingroup Slideshow
20836     */
20837    EAPI void                elm_slideshow_layout_set(Evas_Object *obj, const char *layout) EINA_ARG_NONNULL(1);
20838
20839    /**
20840     * Get the current slide layout in use for a given slideshow widget
20841     *
20842     * @param obj The slideshow object
20843     * @return The current layout's name
20844     *
20845     * @see elm_slideshow_layout_set() for more details
20846     *
20847     * @ingroup Slideshow
20848     */
20849    EAPI const char         *elm_slideshow_layout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20850
20851    /**
20852     * Returns the list of @b layout names available, for a given
20853     * slideshow widget.
20854     *
20855     * @param obj The slideshow object
20856     * @return The list of layouts (list of @b stringshared strings
20857     * as data)
20858     *
20859     * Slideshow layouts will change how the widget is to dispose each
20860     * image item in its viewport, with regard to cropping, scaling,
20861     * etc.
20862     *
20863     * The layouts, which come from @p obj's theme, must be an EDC
20864     * data item name @c "layouts" on the theme file, with (prefix)
20865     * names of EDC programs actually implementing them.
20866     *
20867     * The available layouts for slideshows on the default theme are:
20868     * - @c "fullscreen" - item images with original aspect, scaled to
20869     *   touch top and down slideshow borders or, if the image's heigh
20870     *   is not enough, left and right slideshow borders.
20871     * - @c "not_fullscreen" - the same behavior as the @c "fullscreen"
20872     *   one, but always leaving 10% of the slideshow's dimensions of
20873     *   distance between the item image's borders and the slideshow
20874     *   borders, for each axis.
20875     *
20876     * @warning The stringshared strings get no new references
20877     * exclusive to the user grabbing the list, here, so if you'd like
20878     * to use them out of this call's context, you'd better @c
20879     * eina_stringshare_ref() them.
20880     *
20881     * @see elm_slideshow_layout_set()
20882     *
20883     * @ingroup Slideshow
20884     */
20885    EAPI const Eina_List    *elm_slideshow_layouts_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20886
20887    /**
20888     * Set the number of items to cache, on a given slideshow widget,
20889     * <b>before the current item</b>
20890     *
20891     * @param obj The slideshow object
20892     * @param count Number of items to cache before the current one
20893     *
20894     * The default value for this property is @c 2. See
20895     * @ref Slideshow_Caching "slideshow caching" for more details.
20896     *
20897     * @see elm_slideshow_cache_before_get()
20898     *
20899     * @ingroup Slideshow
20900     */
20901    EAPI void                elm_slideshow_cache_before_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
20902
20903    /**
20904     * Retrieve the number of items to cache, on a given slideshow widget,
20905     * <b>before the current item</b>
20906     *
20907     * @param obj The slideshow object
20908     * @return The number of items set to be cached before the current one
20909     *
20910     * @see elm_slideshow_cache_before_set() for more details
20911     *
20912     * @ingroup Slideshow
20913     */
20914    EAPI int                 elm_slideshow_cache_before_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20915
20916    /**
20917     * Set the number of items to cache, on a given slideshow widget,
20918     * <b>after the current item</b>
20919     *
20920     * @param obj The slideshow object
20921     * @param count Number of items to cache after the current one
20922     *
20923     * The default value for this property is @c 2. See
20924     * @ref Slideshow_Caching "slideshow caching" for more details.
20925     *
20926     * @see elm_slideshow_cache_after_get()
20927     *
20928     * @ingroup Slideshow
20929     */
20930    EAPI void                elm_slideshow_cache_after_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
20931
20932    /**
20933     * Retrieve the number of items to cache, on a given slideshow widget,
20934     * <b>after the current item</b>
20935     *
20936     * @param obj The slideshow object
20937     * @return The number of items set to be cached after the current one
20938     *
20939     * @see elm_slideshow_cache_after_set() for more details
20940     *
20941     * @ingroup Slideshow
20942     */
20943    EAPI int                 elm_slideshow_cache_after_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20944
20945    /**
20946     * Get the number of items stored in a given slideshow widget
20947     *
20948     * @param obj The slideshow object
20949     * @return The number of items on @p obj, at the moment of this call
20950     *
20951     * @ingroup Slideshow
20952     */
20953    EAPI unsigned int        elm_slideshow_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20954
20955    /**
20956     * @}
20957     */
20958
20959    /**
20960     * @defgroup Fileselector File Selector
20961     *
20962     * @image html img/widget/fileselector/preview-00.png
20963     * @image latex img/widget/fileselector/preview-00.eps
20964     *
20965     * A file selector is a widget that allows a user to navigate
20966     * through a file system, reporting file selections back via its
20967     * API.
20968     *
20969     * It contains shortcut buttons for home directory (@c ~) and to
20970     * jump one directory upwards (..), as well as cancel/ok buttons to
20971     * confirm/cancel a given selection. After either one of those two
20972     * former actions, the file selector will issue its @c "done" smart
20973     * callback.
20974     *
20975     * There's a text entry on it, too, showing the name of the current
20976     * selection. There's the possibility of making it editable, so it
20977     * is useful on file saving dialogs on applications, where one
20978     * gives a file name to save contents to, in a given directory in
20979     * the system. This custom file name will be reported on the @c
20980     * "done" smart callback (explained in sequence).
20981     *
20982     * Finally, it has a view to display file system items into in two
20983     * possible forms:
20984     * - list
20985     * - grid
20986     *
20987     * If Elementary is built with support of the Ethumb thumbnailing
20988     * library, the second form of view will display preview thumbnails
20989     * of files which it supports.
20990     *
20991     * Smart callbacks one can register to:
20992     *
20993     * - @c "selected" - the user has clicked on a file (when not in
20994     *      folders-only mode) or directory (when in folders-only mode)
20995     * - @c "directory,open" - the list has been populated with new
20996     *      content (@c event_info is a pointer to the directory's
20997     *      path, a @b stringshared string)
20998     * - @c "done" - the user has clicked on the "ok" or "cancel"
20999     *      buttons (@c event_info is a pointer to the selection's
21000     *      path, a @b stringshared string)
21001     *
21002     * Here is an example on its usage:
21003     * @li @ref fileselector_example
21004     */
21005
21006    /**
21007     * @addtogroup Fileselector
21008     * @{
21009     */
21010
21011    /**
21012     * Defines how a file selector widget is to layout its contents
21013     * (file system entries).
21014     */
21015    typedef enum _Elm_Fileselector_Mode
21016      {
21017         ELM_FILESELECTOR_LIST = 0, /**< layout as a list */
21018         ELM_FILESELECTOR_GRID, /**< layout as a grid */
21019         ELM_FILESELECTOR_LAST /**< sentinel (helper) value, not used */
21020      } Elm_Fileselector_Mode;
21021
21022    /**
21023     * Add a new file selector widget to the given parent Elementary
21024     * (container) object
21025     *
21026     * @param parent The parent object
21027     * @return a new file selector widget handle or @c NULL, on errors
21028     *
21029     * This function inserts a new file selector widget on the canvas.
21030     *
21031     * @ingroup Fileselector
21032     */
21033    EAPI Evas_Object          *elm_fileselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21034
21035    /**
21036     * Enable/disable the file name entry box where the user can type
21037     * in a name for a file, in a given file selector widget
21038     *
21039     * @param obj The file selector object
21040     * @param is_save @c EINA_TRUE to make the file selector a "saving
21041     * dialog", @c EINA_FALSE otherwise
21042     *
21043     * Having the entry editable is useful on file saving dialogs on
21044     * applications, where one gives a file name to save contents to,
21045     * in a given directory in the system. This custom file name will
21046     * be reported on the @c "done" smart callback.
21047     *
21048     * @see elm_fileselector_is_save_get()
21049     *
21050     * @ingroup Fileselector
21051     */
21052    EAPI void                  elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save) EINA_ARG_NONNULL(1);
21053
21054    /**
21055     * Get whether the given file selector is in "saving dialog" mode
21056     *
21057     * @param obj The file selector object
21058     * @return @c EINA_TRUE, if the file selector is in "saving dialog"
21059     * mode, @c EINA_FALSE otherwise (and on errors)
21060     *
21061     * @see elm_fileselector_is_save_set() for more details
21062     *
21063     * @ingroup Fileselector
21064     */
21065    EAPI Eina_Bool             elm_fileselector_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21066
21067    /**
21068     * Enable/disable folder-only view for a given file selector widget
21069     *
21070     * @param obj The file selector object
21071     * @param only @c EINA_TRUE to make @p obj only display
21072     * directories, @c EINA_FALSE to make files to be displayed in it
21073     * too
21074     *
21075     * If enabled, the widget's view will only display folder items,
21076     * naturally.
21077     *
21078     * @see elm_fileselector_folder_only_get()
21079     *
21080     * @ingroup Fileselector
21081     */
21082    EAPI void                  elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only) EINA_ARG_NONNULL(1);
21083
21084    /**
21085     * Get whether folder-only view is set for a given file selector
21086     * widget
21087     *
21088     * @param obj The file selector object
21089     * @return only @c EINA_TRUE if @p obj is only displaying
21090     * directories, @c EINA_FALSE if files are being displayed in it
21091     * too (and on errors)
21092     *
21093     * @see elm_fileselector_folder_only_get()
21094     *
21095     * @ingroup Fileselector
21096     */
21097    EAPI Eina_Bool             elm_fileselector_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21098
21099    /**
21100     * Enable/disable the "ok" and "cancel" buttons on a given file
21101     * selector widget
21102     *
21103     * @param obj The file selector object
21104     * @param only @c EINA_TRUE to show them, @c EINA_FALSE to hide.
21105     *
21106     * @note A file selector without those buttons will never emit the
21107     * @c "done" smart event, and is only usable if one is just hooking
21108     * to the other two events.
21109     *
21110     * @see elm_fileselector_buttons_ok_cancel_get()
21111     *
21112     * @ingroup Fileselector
21113     */
21114    EAPI void                  elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons) EINA_ARG_NONNULL(1);
21115
21116    /**
21117     * Get whether the "ok" and "cancel" buttons on a given file
21118     * selector widget are being shown.
21119     *
21120     * @param obj The file selector object
21121     * @return @c EINA_TRUE if they are being shown, @c EINA_FALSE
21122     * otherwise (and on errors)
21123     *
21124     * @see elm_fileselector_buttons_ok_cancel_set() for more details
21125     *
21126     * @ingroup Fileselector
21127     */
21128    EAPI Eina_Bool             elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21129
21130    /**
21131     * Enable/disable a tree view in the given file selector widget,
21132     * <b>if it's in @c #ELM_FILESELECTOR_LIST mode</b>
21133     *
21134     * @param obj The file selector object
21135     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
21136     * disable
21137     *
21138     * In a tree view, arrows are created on the sides of directories,
21139     * allowing them to expand in place.
21140     *
21141     * @note If it's in other mode, the changes made by this function
21142     * will only be visible when one switches back to "list" mode.
21143     *
21144     * @see elm_fileselector_expandable_get()
21145     *
21146     * @ingroup Fileselector
21147     */
21148    EAPI void                  elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand) EINA_ARG_NONNULL(1);
21149
21150    /**
21151     * Get whether tree view is enabled for the given file selector
21152     * widget
21153     *
21154     * @param obj The file selector object
21155     * @return @c EINA_TRUE if @p obj is in tree view, @c EINA_FALSE
21156     * otherwise (and or errors)
21157     *
21158     * @see elm_fileselector_expandable_set() for more details
21159     *
21160     * @ingroup Fileselector
21161     */
21162    EAPI Eina_Bool             elm_fileselector_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21163
21164    /**
21165     * Set, programmatically, the @b directory that a given file
21166     * selector widget will display contents from
21167     *
21168     * @param obj The file selector object
21169     * @param path The path to display in @p obj
21170     *
21171     * This will change the @b directory that @p obj is displaying. It
21172     * will also clear the text entry area on the @p obj object, which
21173     * displays select files' names.
21174     *
21175     * @see elm_fileselector_path_get()
21176     *
21177     * @ingroup Fileselector
21178     */
21179    EAPI void                  elm_fileselector_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
21180
21181    /**
21182     * Get the parent directory's path that a given file selector
21183     * widget is displaying
21184     *
21185     * @param obj The file selector object
21186     * @return The (full) path of the directory the file selector is
21187     * displaying, a @b stringshared string
21188     *
21189     * @see elm_fileselector_path_set()
21190     *
21191     * @ingroup Fileselector
21192     */
21193    EAPI const char           *elm_fileselector_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21194
21195    /**
21196     * Set, programmatically, the currently selected file/directory in
21197     * the given file selector widget
21198     *
21199     * @param obj The file selector object
21200     * @param path The (full) path to a file or directory
21201     * @return @c EINA_TRUE on success, @c EINA_FALSE on failure. The
21202     * latter case occurs if the directory or file pointed to do not
21203     * exist.
21204     *
21205     * @see elm_fileselector_selected_get()
21206     *
21207     * @ingroup Fileselector
21208     */
21209    EAPI Eina_Bool             elm_fileselector_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
21210
21211    /**
21212     * Get the currently selected item's (full) path, in the given file
21213     * selector widget
21214     *
21215     * @param obj The file selector object
21216     * @return The absolute path of the selected item, a @b
21217     * stringshared string
21218     *
21219     * @note Custom editions on @p obj object's text entry, if made,
21220     * will appear on the return string of this function, naturally.
21221     *
21222     * @see elm_fileselector_selected_set() for more details
21223     *
21224     * @ingroup Fileselector
21225     */
21226    EAPI const char           *elm_fileselector_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21227
21228    /**
21229     * Set the mode in which a given file selector widget will display
21230     * (layout) file system entries in its view
21231     *
21232     * @param obj The file selector object
21233     * @param mode The mode of the fileselector, being it one of
21234     * #ELM_FILESELECTOR_LIST (default) or #ELM_FILESELECTOR_GRID. The
21235     * first one, naturally, will display the files in a list. The
21236     * latter will make the widget to display its entries in a grid
21237     * form.
21238     *
21239     * @note By using elm_fileselector_expandable_set(), the user may
21240     * trigger a tree view for that list.
21241     *
21242     * @note If Elementary is built with support of the Ethumb
21243     * thumbnailing library, the second form of view will display
21244     * preview thumbnails of files which it supports. You must have
21245     * elm_need_ethumb() called in your Elementary for thumbnailing to
21246     * work, though.
21247     *
21248     * @see elm_fileselector_expandable_set().
21249     * @see elm_fileselector_mode_get().
21250     *
21251     * @ingroup Fileselector
21252     */
21253    EAPI void                  elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode) EINA_ARG_NONNULL(1);
21254
21255    /**
21256     * Get the mode in which a given file selector widget is displaying
21257     * (layouting) file system entries in its view
21258     *
21259     * @param obj The fileselector object
21260     * @return The mode in which the fileselector is at
21261     *
21262     * @see elm_fileselector_mode_set() for more details
21263     *
21264     * @ingroup Fileselector
21265     */
21266    EAPI Elm_Fileselector_Mode elm_fileselector_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21267
21268    /**
21269     * @}
21270     */
21271
21272    /**
21273     * @defgroup Progressbar Progress bar
21274     *
21275     * The progress bar is a widget for visually representing the
21276     * progress status of a given job/task.
21277     *
21278     * A progress bar may be horizontal or vertical. It may display an
21279     * icon besides it, as well as primary and @b units labels. The
21280     * former is meant to label the widget as a whole, while the
21281     * latter, which is formatted with floating point values (and thus
21282     * accepts a <c>printf</c>-style format string, like <c>"%1.2f
21283     * units"</c>), is meant to label the widget's <b>progress
21284     * value</b>. Label, icon and unit strings/objects are @b optional
21285     * for progress bars.
21286     *
21287     * A progress bar may be @b inverted, in which state it gets its
21288     * values inverted, with high values being on the left or top and
21289     * low values on the right or bottom, as opposed to normally have
21290     * the low values on the former and high values on the latter,
21291     * respectively, for horizontal and vertical modes.
21292     *
21293     * The @b span of the progress, as set by
21294     * elm_progressbar_span_size_set(), is its length (horizontally or
21295     * vertically), unless one puts size hints on the widget to expand
21296     * on desired directions, by any container. That length will be
21297     * scaled by the object or applications scaling factor. At any
21298     * point code can query the progress bar for its value with
21299     * elm_progressbar_value_get().
21300     *
21301     * Available widget styles for progress bars:
21302     * - @c "default"
21303     * - @c "wheel" (simple style, no text, no progression, only
21304     *      "pulse" effect is available)
21305     *
21306     * Default contents parts of the progressbar widget that you can use for are:
21307     * @li "icon" - A icon of the progressbar
21308     * 
21309     * Here is an example on its usage:
21310     * @li @ref progressbar_example
21311     */
21312
21313    /**
21314     * Add a new progress bar widget to the given parent Elementary
21315     * (container) object
21316     *
21317     * @param parent The parent object
21318     * @return a new progress bar widget handle or @c NULL, on errors
21319     *
21320     * This function inserts a new progress bar widget on the canvas.
21321     *
21322     * @ingroup Progressbar
21323     */
21324    EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21325
21326    /**
21327     * Set whether a given progress bar widget is at "pulsing mode" or
21328     * not.
21329     *
21330     * @param obj The progress bar object
21331     * @param pulse @c EINA_TRUE to put @p obj in pulsing mode,
21332     * @c EINA_FALSE to put it back to its default one
21333     *
21334     * By default, progress bars will display values from the low to
21335     * high value boundaries. There are, though, contexts in which the
21336     * state of progression of a given task is @b unknown.  For those,
21337     * one can set a progress bar widget to a "pulsing state", to give
21338     * the user an idea that some computation is being held, but
21339     * without exact progress values. In the default theme it will
21340     * animate its bar with the contents filling in constantly and back
21341     * to non-filled, in a loop. To start and stop this pulsing
21342     * animation, one has to explicitly call elm_progressbar_pulse().
21343     *
21344     * @see elm_progressbar_pulse_get()
21345     * @see elm_progressbar_pulse()
21346     *
21347     * @ingroup Progressbar
21348     */
21349    EAPI void         elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse) EINA_ARG_NONNULL(1);
21350
21351    /**
21352     * Get whether a given progress bar widget is at "pulsing mode" or
21353     * not.
21354     *
21355     * @param obj The progress bar object
21356     * @return @c EINA_TRUE, if @p obj is in pulsing mode, @c EINA_FALSE
21357     * if it's in the default one (and on errors)
21358     *
21359     * @ingroup Progressbar
21360     */
21361    EAPI Eina_Bool    elm_progressbar_pulse_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21362
21363    /**
21364     * Start/stop a given progress bar "pulsing" animation, if its
21365     * under that mode
21366     *
21367     * @param obj The progress bar object
21368     * @param state @c EINA_TRUE, to @b start the pulsing animation,
21369     * @c EINA_FALSE to @b stop it
21370     *
21371     * @note This call won't do anything if @p obj is not under "pulsing mode".
21372     *
21373     * @see elm_progressbar_pulse_set() for more details.
21374     *
21375     * @ingroup Progressbar
21376     */
21377    EAPI void         elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
21378
21379    /**
21380     * Set the progress value (in percentage) on a given progress bar
21381     * widget
21382     *
21383     * @param obj The progress bar object
21384     * @param val The progress value (@b must be between @c 0.0 and @c
21385     * 1.0)
21386     *
21387     * Use this call to set progress bar levels.
21388     *
21389     * @note If you passes a value out of the specified range for @p
21390     * val, it will be interpreted as the @b closest of the @b boundary
21391     * values in the range.
21392     *
21393     * @ingroup Progressbar
21394     */
21395    EAPI void         elm_progressbar_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
21396
21397    /**
21398     * Get the progress value (in percentage) on a given progress bar
21399     * widget
21400     *
21401     * @param obj The progress bar object
21402     * @return The value of the progressbar
21403     *
21404     * @see elm_progressbar_value_set() for more details
21405     *
21406     * @ingroup Progressbar
21407     */
21408    EAPI double       elm_progressbar_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21409
21410    /**
21411     * Set the label of a given progress bar widget
21412     *
21413     * @param obj The progress bar object
21414     * @param label The text label string, in UTF-8
21415     *
21416     * @ingroup Progressbar
21417     * @deprecated use elm_object_text_set() instead.
21418     */
21419    EINA_DEPRECATED EAPI void         elm_progressbar_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
21420
21421    /**
21422     * Get the label of a given progress bar widget
21423     *
21424     * @param obj The progressbar object
21425     * @return The text label string, in UTF-8
21426     *
21427     * @ingroup Progressbar
21428     * @deprecated use elm_object_text_set() instead.
21429     */
21430    EINA_DEPRECATED EAPI const char  *elm_progressbar_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21431
21432    /**
21433     * Set the icon object of a given progress bar widget
21434     *
21435     * @param obj The progress bar object
21436     * @param icon The icon object
21437     *
21438     * Use this call to decorate @p obj with an icon next to it.
21439     *
21440     * @note Once the icon object is set, a previously set one will be
21441     * deleted. If you want to keep that old content object, use the
21442     * elm_progressbar_icon_unset() function.
21443     *
21444     * @see elm_progressbar_icon_get()
21445     * @deprecated use elm_object_part_content_set() instead.
21446     *
21447     * @ingroup Progressbar
21448     */
21449    EINA_DEPRECATED EAPI void         elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
21450
21451    /**
21452     * Retrieve the icon object set for a given progress bar widget
21453     *
21454     * @param obj The progress bar object
21455     * @return The icon object's handle, if @p obj had one set, or @c NULL,
21456     * otherwise (and on errors)
21457     *
21458     * @see elm_progressbar_icon_set() for more details
21459     * @deprecated use elm_object_part_content_get() instead.
21460     *
21461     * @ingroup Progressbar
21462     */
21463    EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21464
21465    /**
21466     * Unset an icon set on a given progress bar widget
21467     *
21468     * @param obj The progress bar object
21469     * @return The icon object that was being used, if any was set, or
21470     * @c NULL, otherwise (and on errors)
21471     *
21472     * This call will unparent and return the icon object which was set
21473     * for this widget, previously, on success.
21474     *
21475     * @see elm_progressbar_icon_set() for more details
21476     * @deprecated use elm_object_part_content_unset() instead.
21477     *
21478     * @ingroup Progressbar
21479     */
21480    EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
21481
21482    /**
21483     * Set the (exact) length of the bar region of a given progress bar
21484     * widget
21485     *
21486     * @param obj The progress bar object
21487     * @param size The length of the progress bar's bar region
21488     *
21489     * This sets the minimum width (when in horizontal mode) or height
21490     * (when in vertical mode) of the actual bar area of the progress
21491     * bar @p obj. This in turn affects the object's minimum size. Use
21492     * this when you're not setting other size hints expanding on the
21493     * given direction (like weight and alignment hints) and you would
21494     * like it to have a specific size.
21495     *
21496     * @note Icon, label and unit text around @p obj will require their
21497     * own space, which will make @p obj to require more the @p size,
21498     * actually.
21499     *
21500     * @see elm_progressbar_span_size_get()
21501     *
21502     * @ingroup Progressbar
21503     */
21504    EAPI void         elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
21505
21506    /**
21507     * Get the length set for the bar region of a given progress bar
21508     * widget
21509     *
21510     * @param obj The progress bar object
21511     * @return The length of the progress bar's bar region
21512     *
21513     * If that size was not set previously, with
21514     * elm_progressbar_span_size_set(), this call will return @c 0.
21515     *
21516     * @ingroup Progressbar
21517     */
21518    EAPI Evas_Coord   elm_progressbar_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21519
21520    /**
21521     * Set the format string for a given progress bar widget's units
21522     * label
21523     *
21524     * @param obj The progress bar object
21525     * @param format The format string for @p obj's units label
21526     *
21527     * If @c NULL is passed on @p format, it will make @p obj's units
21528     * area to be hidden completely. If not, it'll set the <b>format
21529     * string</b> for the units label's @b text. The units label is
21530     * provided a floating point value, so the units text is up display
21531     * at most one floating point falue. Note that the units label is
21532     * optional. Use a format string such as "%1.2f meters" for
21533     * example.
21534     *
21535     * @note The default format string for a progress bar is an integer
21536     * percentage, as in @c "%.0f %%".
21537     *
21538     * @see elm_progressbar_unit_format_get()
21539     *
21540     * @ingroup Progressbar
21541     */
21542    EAPI void         elm_progressbar_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
21543
21544    /**
21545     * Retrieve the format string set for a given progress bar widget's
21546     * units label
21547     *
21548     * @param obj The progress bar object
21549     * @return The format set string for @p obj's units label or
21550     * @c NULL, if none was set (and on errors)
21551     *
21552     * @see elm_progressbar_unit_format_set() for more details
21553     *
21554     * @ingroup Progressbar
21555     */
21556    EAPI const char  *elm_progressbar_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21557
21558    /**
21559     * Set the orientation of a given progress bar widget
21560     *
21561     * @param obj The progress bar object
21562     * @param horizontal Use @c EINA_TRUE to make @p obj to be
21563     * @b horizontal, @c EINA_FALSE to make it @b vertical
21564     *
21565     * Use this function to change how your progress bar is to be
21566     * disposed: vertically or horizontally.
21567     *
21568     * @see elm_progressbar_horizontal_get()
21569     *
21570     * @ingroup Progressbar
21571     */
21572    EAPI void         elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
21573
21574    /**
21575     * Retrieve the orientation of a given progress bar widget
21576     *
21577     * @param obj The progress bar object
21578     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
21579     * @c EINA_FALSE if it's @b vertical (and on errors)
21580     *
21581     * @see elm_progressbar_horizontal_set() for more details
21582     *
21583     * @ingroup Progressbar
21584     */
21585    EAPI Eina_Bool    elm_progressbar_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21586
21587    /**
21588     * Invert a given progress bar widget's displaying values order
21589     *
21590     * @param obj The progress bar object
21591     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
21592     * @c EINA_FALSE to bring it back to default, non-inverted values.
21593     *
21594     * A progress bar may be @b inverted, in which state it gets its
21595     * values inverted, with high values being on the left or top and
21596     * low values on the right or bottom, as opposed to normally have
21597     * the low values on the former and high values on the latter,
21598     * respectively, for horizontal and vertical modes.
21599     *
21600     * @see elm_progressbar_inverted_get()
21601     *
21602     * @ingroup Progressbar
21603     */
21604    EAPI void         elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
21605
21606    /**
21607     * Get whether a given progress bar widget's displaying values are
21608     * inverted or not
21609     *
21610     * @param obj The progress bar object
21611     * @return @c EINA_TRUE, if @p obj has inverted values,
21612     * @c EINA_FALSE otherwise (and on errors)
21613     *
21614     * @see elm_progressbar_inverted_set() for more details
21615     *
21616     * @ingroup Progressbar
21617     */
21618    EAPI Eina_Bool    elm_progressbar_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21619
21620    /**
21621     * @defgroup Separator Separator
21622     *
21623     * @brief Separator is a very thin object used to separate other objects.
21624     *
21625     * A separator can be vertical or horizontal.
21626     *
21627     * @ref tutorial_separator is a good example of how to use a separator.
21628     * @{
21629     */
21630    /**
21631     * @brief Add a separator object to @p parent
21632     *
21633     * @param parent The parent object
21634     *
21635     * @return The separator object, or NULL upon failure
21636     */
21637    EAPI Evas_Object *elm_separator_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21638    /**
21639     * @brief Set the horizontal mode of a separator object
21640     *
21641     * @param obj The separator object
21642     * @param horizontal If true, the separator is horizontal
21643     */
21644    EAPI void         elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
21645    /**
21646     * @brief Get the horizontal mode of a separator object
21647     *
21648     * @param obj The separator object
21649     * @return If true, the separator is horizontal
21650     *
21651     * @see elm_separator_horizontal_set()
21652     */
21653    EAPI Eina_Bool    elm_separator_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21654    /**
21655     * @}
21656     */
21657
21658    /**
21659     * @defgroup Spinner Spinner
21660     * @ingroup Elementary
21661     *
21662     * @image html img/widget/spinner/preview-00.png
21663     * @image latex img/widget/spinner/preview-00.eps
21664     *
21665     * A spinner is a widget which allows the user to increase or decrease
21666     * numeric values using arrow buttons, or edit values directly, clicking
21667     * over it and typing the new value.
21668     *
21669     * By default the spinner will not wrap and has a label
21670     * of "%.0f" (just showing the integer value of the double).
21671     *
21672     * A spinner has a label that is formatted with floating
21673     * point values and thus accepts a printf-style format string, like
21674     * ā€œ%1.2f unitsā€.
21675     *
21676     * It also allows specific values to be replaced by pre-defined labels.
21677     *
21678     * Smart callbacks one can register to:
21679     *
21680     * - "changed" - Whenever the spinner value is changed.
21681     * - "delay,changed" - A short time after the value is changed by the user.
21682     *    This will be called only when the user stops dragging for a very short
21683     *    period or when they release their finger/mouse, so it avoids possibly
21684     *    expensive reactions to the value change.
21685     *
21686     * Available styles for it:
21687     * - @c "default";
21688     * - @c "vertical": up/down buttons at the right side and text left aligned.
21689     *
21690     * Here is an example on its usage:
21691     * @ref spinner_example
21692     */
21693
21694    /**
21695     * @addtogroup Spinner
21696     * @{
21697     */
21698
21699    /**
21700     * Add a new spinner widget to the given parent Elementary
21701     * (container) object.
21702     *
21703     * @param parent The parent object.
21704     * @return a new spinner widget handle or @c NULL, on errors.
21705     *
21706     * This function inserts a new spinner widget on the canvas.
21707     *
21708     * @ingroup Spinner
21709     *
21710     */
21711    EAPI Evas_Object *elm_spinner_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21712
21713    /**
21714     * Set the format string of the displayed label.
21715     *
21716     * @param obj The spinner object.
21717     * @param fmt The format string for the label display.
21718     *
21719     * If @c NULL, this sets the format to "%.0f". If not it sets the format
21720     * string for the label text. The label text is provided a floating point
21721     * value, so the label text can display up to 1 floating point value.
21722     * Note that this is optional.
21723     *
21724     * Use a format string such as "%1.2f meters" for example, and it will
21725     * display values like: "3.14 meters" for a value equal to 3.14159.
21726     *
21727     * Default is "%0.f".
21728     *
21729     * @see elm_spinner_label_format_get()
21730     *
21731     * @ingroup Spinner
21732     */
21733    EAPI void         elm_spinner_label_format_set(Evas_Object *obj, const char *fmt) EINA_ARG_NONNULL(1);
21734
21735    /**
21736     * Get the label format of the spinner.
21737     *
21738     * @param obj The spinner object.
21739     * @return The text label format string in UTF-8.
21740     *
21741     * @see elm_spinner_label_format_set() for details.
21742     *
21743     * @ingroup Spinner
21744     */
21745    EAPI const char  *elm_spinner_label_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21746
21747    /**
21748     * Set the minimum and maximum values for the spinner.
21749     *
21750     * @param obj The spinner object.
21751     * @param min The minimum value.
21752     * @param max The maximum value.
21753     *
21754     * Define the allowed range of values to be selected by the user.
21755     *
21756     * If actual value is less than @p min, it will be updated to @p min. If it
21757     * is bigger then @p max, will be updated to @p max. Actual value can be
21758     * get with elm_spinner_value_get().
21759     *
21760     * By default, min is equal to 0, and max is equal to 100.
21761     *
21762     * @warning Maximum must be greater than minimum.
21763     *
21764     * @see elm_spinner_min_max_get()
21765     *
21766     * @ingroup Spinner
21767     */
21768    EAPI void         elm_spinner_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
21769
21770    /**
21771     * Get the minimum and maximum values of the spinner.
21772     *
21773     * @param obj The spinner object.
21774     * @param min Pointer where to store the minimum value.
21775     * @param max Pointer where to store the maximum value.
21776     *
21777     * @note If only one value is needed, the other pointer can be passed
21778     * as @c NULL.
21779     *
21780     * @see elm_spinner_min_max_set() for details.
21781     *
21782     * @ingroup Spinner
21783     */
21784    EAPI void         elm_spinner_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
21785
21786    /**
21787     * Set the step used to increment or decrement the spinner value.
21788     *
21789     * @param obj The spinner object.
21790     * @param step The step value.
21791     *
21792     * This value will be incremented or decremented to the displayed value.
21793     * It will be incremented while the user keep right or top arrow pressed,
21794     * and will be decremented while the user keep left or bottom arrow pressed.
21795     *
21796     * The interval to increment / decrement can be set with
21797     * elm_spinner_interval_set().
21798     *
21799     * By default step value is equal to 1.
21800     *
21801     * @see elm_spinner_step_get()
21802     *
21803     * @ingroup Spinner
21804     */
21805    EAPI void         elm_spinner_step_set(Evas_Object *obj, double step) EINA_ARG_NONNULL(1);
21806
21807    /**
21808     * Get the step used to increment or decrement the spinner value.
21809     *
21810     * @param obj The spinner object.
21811     * @return The step value.
21812     *
21813     * @see elm_spinner_step_get() for more details.
21814     *
21815     * @ingroup Spinner
21816     */
21817    EAPI double       elm_spinner_step_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21818
21819    /**
21820     * Set the value the spinner displays.
21821     *
21822     * @param obj The spinner object.
21823     * @param val The value to be displayed.
21824     *
21825     * Value will be presented on the label following format specified with
21826     * elm_spinner_format_set().
21827     *
21828     * @warning The value must to be between min and max values. This values
21829     * are set by elm_spinner_min_max_set().
21830     *
21831     * @see elm_spinner_value_get().
21832     * @see elm_spinner_format_set().
21833     * @see elm_spinner_min_max_set().
21834     *
21835     * @ingroup Spinner
21836     */
21837    EAPI void         elm_spinner_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
21838
21839    /**
21840     * Get the value displayed by the spinner.
21841     *
21842     * @param obj The spinner object.
21843     * @return The value displayed.
21844     *
21845     * @see elm_spinner_value_set() for details.
21846     *
21847     * @ingroup Spinner
21848     */
21849    EAPI double       elm_spinner_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21850
21851    /**
21852     * Set whether the spinner should wrap when it reaches its
21853     * minimum or maximum value.
21854     *
21855     * @param obj The spinner object.
21856     * @param wrap @c EINA_TRUE to enable wrap or @c EINA_FALSE to
21857     * disable it.
21858     *
21859     * Disabled by default. If disabled, when the user tries to increment the
21860     * value,
21861     * but displayed value plus step value is bigger than maximum value,
21862     * the spinner
21863     * won't allow it. The same happens when the user tries to decrement it,
21864     * but the value less step is less than minimum value.
21865     *
21866     * When wrap is enabled, in such situations it will allow these changes,
21867     * but will get the value that would be less than minimum and subtracts
21868     * from maximum. Or add the value that would be more than maximum to
21869     * the minimum.
21870     *
21871     * E.g.:
21872     * @li min value = 10
21873     * @li max value = 50
21874     * @li step value = 20
21875     * @li displayed value = 20
21876     *
21877     * When the user decrement value (using left or bottom arrow), it will
21878     * displays @c 40, because max - (min - (displayed - step)) is
21879     * @c 50 - (@c 10 - (@c 20 - @c 20)) = @c 40.
21880     *
21881     * @see elm_spinner_wrap_get().
21882     *
21883     * @ingroup Spinner
21884     */
21885    EAPI void         elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap) EINA_ARG_NONNULL(1);
21886
21887    /**
21888     * Get whether the spinner should wrap when it reaches its
21889     * minimum or maximum value.
21890     *
21891     * @param obj The spinner object
21892     * @return @c EINA_TRUE means wrap is enabled. @c EINA_FALSE indicates
21893     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
21894     *
21895     * @see elm_spinner_wrap_set() for details.
21896     *
21897     * @ingroup Spinner
21898     */
21899    EAPI Eina_Bool    elm_spinner_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21900
21901    /**
21902     * Set whether the spinner can be directly edited by the user or not.
21903     *
21904     * @param obj The spinner object.
21905     * @param editable @c EINA_TRUE to allow users to edit it or @c EINA_FALSE to
21906     * don't allow users to edit it directly.
21907     *
21908     * Spinner objects can have edition @b disabled, in which state they will
21909     * be changed only by arrows.
21910     * Useful for contexts
21911     * where you don't want your users to interact with it writting the value.
21912     * Specially
21913     * when using special values, the user can see real value instead
21914     * of special label on edition.
21915     *
21916     * It's enabled by default.
21917     *
21918     * @see elm_spinner_editable_get()
21919     *
21920     * @ingroup Spinner
21921     */
21922    EAPI void         elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
21923
21924    /**
21925     * Get whether the spinner can be directly edited by the user or not.
21926     *
21927     * @param obj The spinner object.
21928     * @return @c EINA_TRUE means edition is enabled. @c EINA_FALSE indicates
21929     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
21930     *
21931     * @see elm_spinner_editable_set() for details.
21932     *
21933     * @ingroup Spinner
21934     */
21935    EAPI Eina_Bool    elm_spinner_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21936
21937    /**
21938     * Set a special string to display in the place of the numerical value.
21939     *
21940     * @param obj The spinner object.
21941     * @param value The value to be replaced.
21942     * @param label The label to be used.
21943     *
21944     * It's useful for cases when a user should select an item that is
21945     * better indicated by a label than a value. For example, weekdays or months.
21946     *
21947     * E.g.:
21948     * @code
21949     * sp = elm_spinner_add(win);
21950     * elm_spinner_min_max_set(sp, 1, 3);
21951     * elm_spinner_special_value_add(sp, 1, "January");
21952     * elm_spinner_special_value_add(sp, 2, "February");
21953     * elm_spinner_special_value_add(sp, 3, "March");
21954     * evas_object_show(sp);
21955     * @endcode
21956     *
21957     * @ingroup Spinner
21958     */
21959    EAPI void         elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label) EINA_ARG_NONNULL(1);
21960
21961    /**
21962     * Set the interval on time updates for an user mouse button hold
21963     * on spinner widgets' arrows.
21964     *
21965     * @param obj The spinner object.
21966     * @param interval The (first) interval value in seconds.
21967     *
21968     * This interval value is @b decreased while the user holds the
21969     * mouse pointer either incrementing or decrementing spinner's value.
21970     *
21971     * This helps the user to get to a given value distant from the
21972     * current one easier/faster, as it will start to change quicker and
21973     * quicker on mouse button holds.
21974     *
21975     * The calculation for the next change interval value, starting from
21976     * the one set with this call, is the previous interval divided by
21977     * @c 1.05, so it decreases a little bit.
21978     *
21979     * The default starting interval value for automatic changes is
21980     * @c 0.85 seconds.
21981     *
21982     * @see elm_spinner_interval_get()
21983     *
21984     * @ingroup Spinner
21985     */
21986    EAPI void         elm_spinner_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
21987
21988    /**
21989     * Get the interval on time updates for an user mouse button hold
21990     * on spinner widgets' arrows.
21991     *
21992     * @param obj The spinner object.
21993     * @return The (first) interval value, in seconds, set on it.
21994     *
21995     * @see elm_spinner_interval_set() for more details.
21996     *
21997     * @ingroup Spinner
21998     */
21999    EAPI double       elm_spinner_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22000
22001    /**
22002     * @}
22003     */
22004
22005    /**
22006     * @defgroup Index Index
22007     *
22008     * @image html img/widget/index/preview-00.png
22009     * @image latex img/widget/index/preview-00.eps
22010     *
22011     * An index widget gives you an index for fast access to whichever
22012     * group of other UI items one might have. It's a list of text
22013     * items (usually letters, for alphabetically ordered access).
22014     *
22015     * Index widgets are by default hidden and just appear when the
22016     * user clicks over it's reserved area in the canvas. In its
22017     * default theme, it's an area one @ref Fingers "finger" wide on
22018     * the right side of the index widget's container.
22019     *
22020     * When items on the index are selected, smart callbacks get
22021     * called, so that its user can make other container objects to
22022     * show a given area or child object depending on the index item
22023     * selected. You'd probably be using an index together with @ref
22024     * List "lists", @ref Genlist "generic lists" or @ref Gengrid
22025     * "general grids".
22026     *
22027     * Smart events one  can add callbacks for are:
22028     * - @c "changed" - When the selected index item changes. @c
22029     *      event_info is the selected item's data pointer.
22030     * - @c "delay,changed" - When the selected index item changes, but
22031     *      after a small idling period. @c event_info is the selected
22032     *      item's data pointer.
22033     * - @c "selected" - When the user releases a mouse button and
22034     *      selects an item. @c event_info is the selected item's data
22035     *      pointer.
22036     * - @c "level,up" - when the user moves a finger from the first
22037     *      level to the second level
22038     * - @c "level,down" - when the user moves a finger from the second
22039     *      level to the first level
22040     *
22041     * The @c "delay,changed" event is so that it'll wait a small time
22042     * before actually reporting those events and, moreover, just the
22043     * last event happening on those time frames will actually be
22044     * reported.
22045     *
22046     * Here are some examples on its usage:
22047     * @li @ref index_example_01
22048     * @li @ref index_example_02
22049     */
22050
22051    /**
22052     * @addtogroup Index
22053     * @{
22054     */
22055
22056    typedef struct _Elm_Index_Item Elm_Index_Item; /**< Opaque handle for items of Elementary index widgets */
22057
22058    /**
22059     * Add a new index widget to the given parent Elementary
22060     * (container) object
22061     *
22062     * @param parent The parent object
22063     * @return a new index widget handle or @c NULL, on errors
22064     *
22065     * This function inserts a new index widget on the canvas.
22066     *
22067     * @ingroup Index
22068     */
22069    EAPI Evas_Object    *elm_index_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22070
22071    /**
22072     * Set whether a given index widget is or not visible,
22073     * programatically.
22074     *
22075     * @param obj The index object
22076     * @param active @c EINA_TRUE to show it, @c EINA_FALSE to hide it
22077     *
22078     * Not to be confused with visible as in @c evas_object_show() --
22079     * visible with regard to the widget's auto hiding feature.
22080     *
22081     * @see elm_index_active_get()
22082     *
22083     * @ingroup Index
22084     */
22085    EAPI void            elm_index_active_set(Evas_Object *obj, Eina_Bool active) EINA_ARG_NONNULL(1);
22086
22087    /**
22088     * Get whether a given index widget is currently visible or not.
22089     *
22090     * @param obj The index object
22091     * @return @c EINA_TRUE, if it's shown, @c EINA_FALSE otherwise
22092     *
22093     * @see elm_index_active_set() for more details
22094     *
22095     * @ingroup Index
22096     */
22097    EAPI Eina_Bool       elm_index_active_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22098
22099    /**
22100     * Set the items level for a given index widget.
22101     *
22102     * @param obj The index object.
22103     * @param level @c 0 or @c 1, the currently implemented levels.
22104     *
22105     * @see elm_index_item_level_get()
22106     *
22107     * @ingroup Index
22108     */
22109    EAPI void            elm_index_item_level_set(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
22110
22111    /**
22112     * Get the items level set for a given index widget.
22113     *
22114     * @param obj The index object.
22115     * @return @c 0 or @c 1, which are the levels @p obj might be at.
22116     *
22117     * @see elm_index_item_level_set() for more information
22118     *
22119     * @ingroup Index
22120     */
22121    EAPI int             elm_index_item_level_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22122
22123    /**
22124     * Returns the last selected item's data, for a given index widget.
22125     *
22126     * @param obj The index object.
22127     * @return The item @b data associated to the last selected item on
22128     * @p obj (or @c NULL, on errors).
22129     *
22130     * @warning The returned value is @b not an #Elm_Index_Item item
22131     * handle, but the data associated to it (see the @c item parameter
22132     * in elm_index_item_append(), as an example).
22133     *
22134     * @ingroup Index
22135     */
22136    EAPI void           *elm_index_item_selected_get(const Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
22137
22138    /**
22139     * Append a new item on a given index widget.
22140     *
22141     * @param obj The index object.
22142     * @param letter Letter under which the item should be indexed
22143     * @param item The item data to set for the index's item
22144     *
22145     * Despite the most common usage of the @p letter argument is for
22146     * single char strings, one could use arbitrary strings as index
22147     * entries.
22148     *
22149     * @c item will be the pointer returned back on @c "changed", @c
22150     * "delay,changed" and @c "selected" smart events.
22151     *
22152     * @ingroup Index
22153     */
22154    EAPI void            elm_index_item_append(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
22155
22156    /**
22157     * Prepend a new item on a given index widget.
22158     *
22159     * @param obj The index object.
22160     * @param letter Letter under which the item should be indexed
22161     * @param item The item data to set for the index's item
22162     *
22163     * Despite the most common usage of the @p letter argument is for
22164     * single char strings, one could use arbitrary strings as index
22165     * entries.
22166     *
22167     * @c item will be the pointer returned back on @c "changed", @c
22168     * "delay,changed" and @c "selected" smart events.
22169     *
22170     * @ingroup Index
22171     */
22172    EAPI void            elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
22173
22174    /**
22175     * Append a new item, on a given index widget, <b>after the item
22176     * having @p relative as data</b>.
22177     *
22178     * @param obj The index object.
22179     * @param letter Letter under which the item should be indexed
22180     * @param item The item data to set for the index's item
22181     * @param relative The item data of the index item to be the
22182     * predecessor of this new one
22183     *
22184     * Despite the most common usage of the @p letter argument is for
22185     * single char strings, one could use arbitrary strings as index
22186     * entries.
22187     *
22188     * @c item will be the pointer returned back on @c "changed", @c
22189     * "delay,changed" and @c "selected" smart events.
22190     *
22191     * @note If @p relative is @c NULL or if it's not found to be data
22192     * set on any previous item on @p obj, this function will behave as
22193     * elm_index_item_append().
22194     *
22195     * @ingroup Index
22196     */
22197    EAPI void            elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
22198
22199    /**
22200     * Prepend a new item, on a given index widget, <b>after the item
22201     * having @p relative as data</b>.
22202     *
22203     * @param obj The index object.
22204     * @param letter Letter under which the item should be indexed
22205     * @param item The item data to set for the index's item
22206     * @param relative The item data of the index item to be the
22207     * successor of this new one
22208     *
22209     * Despite the most common usage of the @p letter argument is for
22210     * single char strings, one could use arbitrary strings as index
22211     * entries.
22212     *
22213     * @c item will be the pointer returned back on @c "changed", @c
22214     * "delay,changed" and @c "selected" smart events.
22215     *
22216     * @note If @p relative is @c NULL or if it's not found to be data
22217     * set on any previous item on @p obj, this function will behave as
22218     * elm_index_item_prepend().
22219     *
22220     * @ingroup Index
22221     */
22222    EAPI void            elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
22223
22224    /**
22225     * Insert a new item into the given index widget, using @p cmp_func
22226     * function to sort items (by item handles).
22227     *
22228     * @param obj The index object.
22229     * @param letter Letter under which the item should be indexed
22230     * @param item The item data to set for the index's item
22231     * @param cmp_func The comparing function to be used to sort index
22232     * items <b>by #Elm_Index_Item item handles</b>
22233     * @param cmp_data_func A @b fallback function to be called for the
22234     * sorting of index items <b>by item data</b>). It will be used
22235     * when @p cmp_func returns @c 0 (equality), which means an index
22236     * item with provided item data already exists. To decide which
22237     * data item should be pointed to by the index item in question, @p
22238     * cmp_data_func will be used. If @p cmp_data_func returns a
22239     * non-negative value, the previous index item data will be
22240     * replaced by the given @p item pointer. If the previous data need
22241     * to be freed, it should be done by the @p cmp_data_func function,
22242     * because all references to it will be lost. If this function is
22243     * not provided (@c NULL is given), index items will be @b
22244     * duplicated, if @p cmp_func returns @c 0.
22245     *
22246     * Despite the most common usage of the @p letter argument is for
22247     * single char strings, one could use arbitrary strings as index
22248     * entries.
22249     *
22250     * @c item will be the pointer returned back on @c "changed", @c
22251     * "delay,changed" and @c "selected" smart events.
22252     *
22253     * @ingroup Index
22254     */
22255    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);
22256
22257    /**
22258     * Remove an item from a given index widget, <b>to be referenced by
22259     * it's data value</b>.
22260     *
22261     * @param obj The index object
22262     * @param item The item's data pointer for the item to be removed
22263     * from @p obj
22264     *
22265     * If a deletion callback is set, via elm_index_item_del_cb_set(),
22266     * that callback function will be called by this one.
22267     *
22268     * @warning The item to be removed from @p obj will be found via
22269     * its item data pointer, and not by an #Elm_Index_Item handle.
22270     *
22271     * @ingroup Index
22272     */
22273    EAPI void            elm_index_item_del(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
22274
22275    /**
22276     * Find a given index widget's item, <b>using item data</b>.
22277     *
22278     * @param obj The index object
22279     * @param item The item data pointed to by the desired index item
22280     * @return The index item handle, if found, or @c NULL otherwise
22281     *
22282     * @ingroup Index
22283     */
22284    EAPI Elm_Index_Item *elm_index_item_find(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
22285
22286    /**
22287     * Removes @b all items from a given index widget.
22288     *
22289     * @param obj The index object.
22290     *
22291     * If deletion callbacks are set, via elm_index_item_del_cb_set(),
22292     * that callback function will be called for each item in @p obj.
22293     *
22294     * @ingroup Index
22295     */
22296    EAPI void            elm_index_item_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
22297
22298    /**
22299     * Go to a given items level on a index widget
22300     *
22301     * @param obj The index object
22302     * @param level The index level (one of @c 0 or @c 1)
22303     *
22304     * @ingroup Index
22305     */
22306    EAPI void            elm_index_item_go(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
22307
22308    /**
22309     * Return the data associated with a given index widget item
22310     *
22311     * @param it The index widget item handle
22312     * @return The data associated with @p it
22313     *
22314     * @see elm_index_item_data_set()
22315     *
22316     * @ingroup Index
22317     */
22318    EAPI void           *elm_index_item_data_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
22319
22320    /**
22321     * Set the data associated with a given index widget item
22322     *
22323     * @param it The index widget item handle
22324     * @param data The new data pointer to set to @p it
22325     *
22326     * This sets new item data on @p it.
22327     *
22328     * @warning The old data pointer won't be touched by this function, so
22329     * the user had better to free that old data himself/herself.
22330     *
22331     * @ingroup Index
22332     */
22333    EAPI void            elm_index_item_data_set(Elm_Index_Item *it, const void *data) EINA_ARG_NONNULL(1);
22334
22335    /**
22336     * Set the function to be called when a given index widget item is freed.
22337     *
22338     * @param it The item to set the callback on
22339     * @param func The function to call on the item's deletion
22340     *
22341     * When called, @p func will have both @c data and @c event_info
22342     * arguments with the @p it item's data value and, naturally, the
22343     * @c obj argument with a handle to the parent index widget.
22344     *
22345     * @ingroup Index
22346     */
22347    EAPI void            elm_index_item_del_cb_set(Elm_Index_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
22348
22349    /**
22350     * Get the letter (string) set on a given index widget item.
22351     *
22352     * @param it The index item handle
22353     * @return The letter string set on @p it
22354     *
22355     * @ingroup Index
22356     */
22357    EAPI const char     *elm_index_item_letter_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
22358
22359    /**
22360     * @}
22361     */
22362
22363    /**
22364     * @defgroup Photocam Photocam
22365     *
22366     * @image html img/widget/photocam/preview-00.png
22367     * @image latex img/widget/photocam/preview-00.eps
22368     *
22369     * This is a widget specifically for displaying high-resolution digital
22370     * camera photos giving speedy feedback (fast load), low memory footprint
22371     * and zooming and panning as well as fitting logic. It is entirely focused
22372     * on jpeg images, and takes advantage of properties of the jpeg format (via
22373     * evas loader features in the jpeg loader).
22374     *
22375     * Signals that you can add callbacks for are:
22376     * @li "clicked" - This is called when a user has clicked the photo without
22377     *                 dragging around.
22378     * @li "press" - This is called when a user has pressed down on the photo.
22379     * @li "longpressed" - This is called when a user has pressed down on the
22380     *                     photo for a long time without dragging around.
22381     * @li "clicked,double" - This is called when a user has double-clicked the
22382     *                        photo.
22383     * @li "load" - Photo load begins.
22384     * @li "loaded" - This is called when the image file load is complete for the
22385     *                first view (low resolution blurry version).
22386     * @li "load,detail" - Photo detailed data load begins.
22387     * @li "loaded,detail" - This is called when the image file load is complete
22388     *                      for the detailed image data (full resolution needed).
22389     * @li "zoom,start" - Zoom animation started.
22390     * @li "zoom,stop" - Zoom animation stopped.
22391     * @li "zoom,change" - Zoom changed when using an auto zoom mode.
22392     * @li "scroll" - the content has been scrolled (moved)
22393     * @li "scroll,anim,start" - scrolling animation has started
22394     * @li "scroll,anim,stop" - scrolling animation has stopped
22395     * @li "scroll,drag,start" - dragging the contents around has started
22396     * @li "scroll,drag,stop" - dragging the contents around has stopped
22397     *
22398     * @ref tutorial_photocam shows the API in action.
22399     * @{
22400     */
22401    /**
22402     * @brief Types of zoom available.
22403     */
22404    typedef enum _Elm_Photocam_Zoom_Mode
22405      {
22406         ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0, /**< Zoom controlled normally by elm_photocam_zoom_set */
22407         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT, /**< Zoom until photo fits in photocam */
22408         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL, /**< Zoom until photo fills photocam */
22409         ELM_PHOTOCAM_ZOOM_MODE_LAST
22410      } Elm_Photocam_Zoom_Mode;
22411    /**
22412     * @brief Add a new Photocam object
22413     *
22414     * @param parent The parent object
22415     * @return The new object or NULL if it cannot be created
22416     */
22417    EAPI Evas_Object           *elm_photocam_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22418    /**
22419     * @brief Set the photo file to be shown
22420     *
22421     * @param obj The photocam object
22422     * @param file The photo file
22423     * @return The return error (see EVAS_LOAD_ERROR_NONE, EVAS_LOAD_ERROR_GENERIC etc.)
22424     *
22425     * This sets (and shows) the specified file (with a relative or absolute
22426     * path) and will return a load error (same error that
22427     * evas_object_image_load_error_get() will return). The image will change and
22428     * adjust its size at this point and begin a background load process for this
22429     * photo that at some time in the future will be displayed at the full
22430     * quality needed.
22431     */
22432    EAPI Evas_Load_Error        elm_photocam_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
22433    /**
22434     * @brief Returns the path of the current image file
22435     *
22436     * @param obj The photocam object
22437     * @return Returns the path
22438     *
22439     * @see elm_photocam_file_set()
22440     */
22441    EAPI const char            *elm_photocam_file_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22442    /**
22443     * @brief Set the zoom level of the photo
22444     *
22445     * @param obj The photocam object
22446     * @param zoom The zoom level to set
22447     *
22448     * This sets the zoom level. 1 will be 1:1 pixel for pixel. 2 will be 2:1
22449     * (that is 2x2 photo pixels will display as 1 on-screen pixel). 4:1 will be
22450     * 4x4 photo pixels as 1 screen pixel, and so on. The @p zoom parameter must
22451     * be greater than 0. It is usggested to stick to powers of 2. (1, 2, 4, 8,
22452     * 16, 32, etc.).
22453     */
22454    EAPI void                   elm_photocam_zoom_set(Evas_Object *obj, double zoom) EINA_ARG_NONNULL(1);
22455    /**
22456     * @brief Get the zoom level of the photo
22457     *
22458     * @param obj The photocam object
22459     * @return The current zoom level
22460     *
22461     * This returns the current zoom level of the photocam object. Note that if
22462     * you set the fill mode to other than ELM_PHOTOCAM_ZOOM_MODE_MANUAL
22463     * (which is the default), the zoom level may be changed at any time by the
22464     * photocam object itself to account for photo size and photocam viewpoer
22465     * size.
22466     *
22467     * @see elm_photocam_zoom_set()
22468     * @see elm_photocam_zoom_mode_set()
22469     */
22470    EAPI double                 elm_photocam_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22471    /**
22472     * @brief Set the zoom mode
22473     *
22474     * @param obj The photocam object
22475     * @param mode The desired mode
22476     *
22477     * This sets the zoom mode to manual or one of several automatic levels.
22478     * Manual (ELM_PHOTOCAM_ZOOM_MODE_MANUAL) means that zoom is set manually by
22479     * elm_photocam_zoom_set() and will stay at that level until changed by code
22480     * or until zoom mode is changed. This is the default mode. The Automatic
22481     * modes will allow the photocam object to automatically adjust zoom mode
22482     * based on properties. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT) will adjust zoom so
22483     * the photo fits EXACTLY inside the scroll frame with no pixels outside this
22484     * area. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL will be similar but ensure no
22485     * pixels within the frame are left unfilled.
22486     */
22487    EAPI void                   elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode) EINA_ARG_NONNULL(1);
22488    /**
22489     * @brief Get the zoom mode
22490     *
22491     * @param obj The photocam object
22492     * @return The current zoom mode
22493     *
22494     * This gets the current zoom mode of the photocam object.
22495     *
22496     * @see elm_photocam_zoom_mode_set()
22497     */
22498    EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22499    /**
22500     * @brief Get the current image pixel width and height
22501     *
22502     * @param obj The photocam object
22503     * @param w A pointer to the width return
22504     * @param h A pointer to the height return
22505     *
22506     * This gets the current photo pixel width and height (for the original).
22507     * The size will be returned in the integers @p w and @p h that are pointed
22508     * to.
22509     */
22510    EAPI void                   elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
22511    /**
22512     * @brief Get the area of the image that is currently shown
22513     *
22514     * @param obj
22515     * @param x A pointer to the X-coordinate of region
22516     * @param y A pointer to the Y-coordinate of region
22517     * @param w A pointer to the width
22518     * @param h A pointer to the height
22519     *
22520     * @see elm_photocam_image_region_show()
22521     * @see elm_photocam_image_region_bring_in()
22522     */
22523    EAPI void                   elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
22524    /**
22525     * @brief Set the viewed portion of the image
22526     *
22527     * @param obj The photocam object
22528     * @param x X-coordinate of region in image original pixels
22529     * @param y Y-coordinate of region in image original pixels
22530     * @param w Width of region in image original pixels
22531     * @param h Height of region in image original pixels
22532     *
22533     * This shows the region of the image without using animation.
22534     */
22535    EAPI void                   elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
22536    /**
22537     * @brief Bring in the viewed portion of the image
22538     *
22539     * @param obj The photocam object
22540     * @param x X-coordinate of region in image original pixels
22541     * @param y Y-coordinate of region in image original pixels
22542     * @param w Width of region in image original pixels
22543     * @param h Height of region in image original pixels
22544     *
22545     * This shows the region of the image using animation.
22546     */
22547    EAPI void                   elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
22548    /**
22549     * @brief Set the paused state for photocam
22550     *
22551     * @param obj The photocam object
22552     * @param paused The pause state to set
22553     *
22554     * This sets the paused state to on(EINA_TRUE) or off (EINA_FALSE) for
22555     * photocam. The default is off. This will stop zooming using animation on
22556     * zoom levels changes and change instantly. This will stop any existing
22557     * animations that are running.
22558     */
22559    EAPI void                   elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
22560    /**
22561     * @brief Get the paused state for photocam
22562     *
22563     * @param obj The photocam object
22564     * @return The current paused state
22565     *
22566     * This gets the current paused state for the photocam object.
22567     *
22568     * @see elm_photocam_paused_set()
22569     */
22570    EAPI Eina_Bool              elm_photocam_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22571    /**
22572     * @brief Get the internal low-res image used for photocam
22573     *
22574     * @param obj The photocam object
22575     * @return The internal image object handle, or NULL if none exists
22576     *
22577     * This gets the internal image object inside photocam. Do not modify it. It
22578     * is for inspection only, and hooking callbacks to. Nothing else. It may be
22579     * deleted at any time as well.
22580     */
22581    EAPI Evas_Object           *elm_photocam_internal_image_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22582    /**
22583     * @brief Set the photocam scrolling bouncing.
22584     *
22585     * @param obj The photocam object
22586     * @param h_bounce bouncing for horizontal
22587     * @param v_bounce bouncing for vertical
22588     */
22589    EAPI void                   elm_photocam_bounce_set(Evas_Object *obj,  Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
22590    /**
22591     * @brief Get the photocam scrolling bouncing.
22592     *
22593     * @param obj The photocam object
22594     * @param h_bounce bouncing for horizontal
22595     * @param v_bounce bouncing for vertical
22596     *
22597     * @see elm_photocam_bounce_set()
22598     */
22599    EAPI void                   elm_photocam_bounce_get(const Evas_Object *obj,  Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
22600    /**
22601     * @}
22602     */
22603
22604    /**
22605     * @defgroup Map Map
22606     * @ingroup Elementary
22607     *
22608     * @image html img/widget/map/preview-00.png
22609     * @image latex img/widget/map/preview-00.eps
22610     *
22611     * This is a widget specifically for displaying a map. It uses basically
22612     * OpenStreetMap provider http://www.openstreetmap.org/,
22613     * but custom providers can be added.
22614     *
22615     * It supports some basic but yet nice features:
22616     * @li zoom and scroll
22617     * @li markers with content to be displayed when user clicks over it
22618     * @li group of markers
22619     * @li routes
22620     *
22621     * Smart callbacks one can listen to:
22622     *
22623     * - "clicked" - This is called when a user has clicked the map without
22624     *   dragging around.
22625     * - "press" - This is called when a user has pressed down on the map.
22626     * - "longpressed" - This is called when a user has pressed down on the map
22627     *   for a long time without dragging around.
22628     * - "clicked,double" - This is called when a user has double-clicked
22629     *   the map.
22630     * - "load,detail" - Map detailed data load begins.
22631     * - "loaded,detail" - This is called when all currently visible parts of
22632     *   the map are loaded.
22633     * - "zoom,start" - Zoom animation started.
22634     * - "zoom,stop" - Zoom animation stopped.
22635     * - "zoom,change" - Zoom changed when using an auto zoom mode.
22636     * - "scroll" - the content has been scrolled (moved).
22637     * - "scroll,anim,start" - scrolling animation has started.
22638     * - "scroll,anim,stop" - scrolling animation has stopped.
22639     * - "scroll,drag,start" - dragging the contents around has started.
22640     * - "scroll,drag,stop" - dragging the contents around has stopped.
22641     * - "downloaded" - This is called when all currently required map images
22642     *   are downloaded.
22643     * - "route,load" - This is called when route request begins.
22644     * - "route,loaded" - This is called when route request ends.
22645     * - "name,load" - This is called when name request begins.
22646     * - "name,loaded- This is called when name request ends.
22647     *
22648     * Available style for map widget:
22649     * - @c "default"
22650     *
22651     * Available style for markers:
22652     * - @c "radio"
22653     * - @c "radio2"
22654     * - @c "empty"
22655     *
22656     * Available style for marker bubble:
22657     * - @c "default"
22658     *
22659     * List of examples:
22660     * @li @ref map_example_01
22661     * @li @ref map_example_02
22662     * @li @ref map_example_03
22663     */
22664
22665    /**
22666     * @addtogroup Map
22667     * @{
22668     */
22669
22670    /**
22671     * @enum _Elm_Map_Zoom_Mode
22672     * @typedef Elm_Map_Zoom_Mode
22673     *
22674     * Set map's zoom behavior. It can be set to manual or automatic.
22675     *
22676     * Default value is #ELM_MAP_ZOOM_MODE_MANUAL.
22677     *
22678     * Values <b> don't </b> work as bitmask, only one can be choosen.
22679     *
22680     * @note Valid sizes are 2^zoom, consequently the map may be smaller
22681     * than the scroller view.
22682     *
22683     * @see elm_map_zoom_mode_set()
22684     * @see elm_map_zoom_mode_get()
22685     *
22686     * @ingroup Map
22687     */
22688    typedef enum _Elm_Map_Zoom_Mode
22689      {
22690         ELM_MAP_ZOOM_MODE_MANUAL, /**< Zoom controlled manually by elm_map_zoom_set(). It's set by default. */
22691         ELM_MAP_ZOOM_MODE_AUTO_FIT, /**< Zoom until map fits inside the scroll frame with no pixels outside this area. */
22692         ELM_MAP_ZOOM_MODE_AUTO_FILL, /**< Zoom until map fills scroll, ensuring no pixels are left unfilled. */
22693         ELM_MAP_ZOOM_MODE_LAST
22694      } Elm_Map_Zoom_Mode;
22695
22696    /**
22697     * @enum _Elm_Map_Route_Sources
22698     * @typedef Elm_Map_Route_Sources
22699     *
22700     * Set route service to be used. By default used source is
22701     * #ELM_MAP_ROUTE_SOURCE_YOURS.
22702     *
22703     * @see elm_map_route_source_set()
22704     * @see elm_map_route_source_get()
22705     *
22706     * @ingroup Map
22707     */
22708    typedef enum _Elm_Map_Route_Sources
22709      {
22710         ELM_MAP_ROUTE_SOURCE_YOURS, /**< Routing service http://www.yournavigation.org/ . Set by default.*/
22711         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. */
22712         ELM_MAP_ROUTE_SOURCE_ORS, /**< Open Route Service: http://www.openrouteservice.org/ . It's not working with Map yet. */
22713         ELM_MAP_ROUTE_SOURCE_LAST
22714      } Elm_Map_Route_Sources;
22715
22716    typedef enum _Elm_Map_Name_Sources
22717      {
22718         ELM_MAP_NAME_SOURCE_NOMINATIM,
22719         ELM_MAP_NAME_SOURCE_LAST
22720      } Elm_Map_Name_Sources;
22721
22722    /**
22723     * @enum _Elm_Map_Route_Type
22724     * @typedef Elm_Map_Route_Type
22725     *
22726     * Set type of transport used on route.
22727     *
22728     * @see elm_map_route_add()
22729     *
22730     * @ingroup Map
22731     */
22732    typedef enum _Elm_Map_Route_Type
22733      {
22734         ELM_MAP_ROUTE_TYPE_MOTOCAR, /**< Route should consider an automobile will be used. */
22735         ELM_MAP_ROUTE_TYPE_BICYCLE, /**< Route should consider a bicycle will be used by the user. */
22736         ELM_MAP_ROUTE_TYPE_FOOT, /**< Route should consider user will be walking. */
22737         ELM_MAP_ROUTE_TYPE_LAST
22738      } Elm_Map_Route_Type;
22739
22740    /**
22741     * @enum _Elm_Map_Route_Method
22742     * @typedef Elm_Map_Route_Method
22743     *
22744     * Set the routing method, what should be priorized, time or distance.
22745     *
22746     * @see elm_map_route_add()
22747     *
22748     * @ingroup Map
22749     */
22750    typedef enum _Elm_Map_Route_Method
22751      {
22752         ELM_MAP_ROUTE_METHOD_FASTEST, /**< Route should priorize time. */
22753         ELM_MAP_ROUTE_METHOD_SHORTEST, /**< Route should priorize distance. */
22754         ELM_MAP_ROUTE_METHOD_LAST
22755      } Elm_Map_Route_Method;
22756
22757    typedef enum _Elm_Map_Name_Method
22758      {
22759         ELM_MAP_NAME_METHOD_SEARCH,
22760         ELM_MAP_NAME_METHOD_REVERSE,
22761         ELM_MAP_NAME_METHOD_LAST
22762      } Elm_Map_Name_Method;
22763
22764    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(). */
22765    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(). */
22766    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(). */
22767    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(). */
22768    typedef struct _Elm_Map_Name            Elm_Map_Name; /**< A handle for specific coordinates. */
22769    typedef struct _Elm_Map_Track           Elm_Map_Track;
22770
22771    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. */
22772    typedef void         (*ElmMapMarkerDelFunc)      (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o); /**< Function to delete bubble content for marker classes. */
22773    typedef Evas_Object *(*ElmMapMarkerIconGetFunc)  (Evas_Object *obj, Elm_Map_Marker *marker, void *data); /**< Icon fetching class function for marker classes. */
22774    typedef Evas_Object *(*ElmMapGroupIconGetFunc)   (Evas_Object *obj, void *data); /**< Icon fetching class function for markers group classes. */
22775
22776    typedef char        *(*ElmMapModuleSourceFunc) (void);
22777    typedef int          (*ElmMapModuleZoomMinFunc) (void);
22778    typedef int          (*ElmMapModuleZoomMaxFunc) (void);
22779    typedef char        *(*ElmMapModuleUrlFunc) (Evas_Object *obj, int x, int y, int zoom);
22780    typedef int          (*ElmMapModuleRouteSourceFunc) (void);
22781    typedef char        *(*ElmMapModuleRouteUrlFunc) (Evas_Object *obj, char *type_name, int method, double flon, double flat, double tlon, double tlat);
22782    typedef char        *(*ElmMapModuleNameUrlFunc) (Evas_Object *obj, int method, char *name, double lon, double lat);
22783    typedef Eina_Bool    (*ElmMapModuleGeoIntoCoordFunc) (const Evas_Object *obj, int zoom, double lon, double lat, int size, int *x, int *y);
22784    typedef Eina_Bool    (*ElmMapModuleCoordIntoGeoFunc) (const Evas_Object *obj, int zoom, int x, int y, int size, double *lon, double *lat);
22785
22786    /**
22787     * Add a new map widget to the given parent Elementary (container) object.
22788     *
22789     * @param parent The parent object.
22790     * @return a new map widget handle or @c NULL, on errors.
22791     *
22792     * This function inserts a new map widget on the canvas.
22793     *
22794     * @ingroup Map
22795     */
22796    EAPI Evas_Object          *elm_map_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22797
22798    /**
22799     * Set the zoom level of the map.
22800     *
22801     * @param obj The map object.
22802     * @param zoom The zoom level to set.
22803     *
22804     * This sets the zoom level.
22805     *
22806     * It will respect limits defined by elm_map_source_zoom_min_set() and
22807     * elm_map_source_zoom_max_set().
22808     *
22809     * By default these values are 0 (world map) and 18 (maximum zoom).
22810     *
22811     * This function should be used when zoom mode is set to
22812     * #ELM_MAP_ZOOM_MODE_MANUAL. This is the default mode, and can be set
22813     * with elm_map_zoom_mode_set().
22814     *
22815     * @see elm_map_zoom_mode_set().
22816     * @see elm_map_zoom_get().
22817     *
22818     * @ingroup Map
22819     */
22820    EAPI void                  elm_map_zoom_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
22821
22822    /**
22823     * Get the zoom level of the map.
22824     *
22825     * @param obj The map object.
22826     * @return The current zoom level.
22827     *
22828     * This returns the current zoom level of the map object.
22829     *
22830     * Note that if you set the fill mode to other than #ELM_MAP_ZOOM_MODE_MANUAL
22831     * (which is the default), the zoom level may be changed at any time by the
22832     * map object itself to account for map size and map viewport size.
22833     *
22834     * @see elm_map_zoom_set() for details.
22835     *
22836     * @ingroup Map
22837     */
22838    EAPI int                   elm_map_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22839
22840    /**
22841     * Set the zoom mode used by the map object.
22842     *
22843     * @param obj The map object.
22844     * @param mode The zoom mode of the map, being it one of
22845     * #ELM_MAP_ZOOM_MODE_MANUAL (default), #ELM_MAP_ZOOM_MODE_AUTO_FIT,
22846     * or #ELM_MAP_ZOOM_MODE_AUTO_FILL.
22847     *
22848     * This sets the zoom mode to manual or one of the automatic levels.
22849     * Manual (#ELM_MAP_ZOOM_MODE_MANUAL) means that zoom is set manually by
22850     * elm_map_zoom_set() and will stay at that level until changed by code
22851     * or until zoom mode is changed. This is the default mode.
22852     *
22853     * The Automatic modes will allow the map object to automatically
22854     * adjust zoom mode based on properties. #ELM_MAP_ZOOM_MODE_AUTO_FIT will
22855     * adjust zoom so the map fits inside the scroll frame with no pixels
22856     * outside this area. #ELM_MAP_ZOOM_MODE_AUTO_FILL will be similar but
22857     * ensure no pixels within the frame are left unfilled. Do not forget that
22858     * the valid sizes are 2^zoom, consequently the map may be smaller than
22859     * the scroller view.
22860     *
22861     * @see elm_map_zoom_set()
22862     *
22863     * @ingroup Map
22864     */
22865    EAPI void                  elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode) EINA_ARG_NONNULL(1);
22866
22867    /**
22868     * Get the zoom mode used by the map object.
22869     *
22870     * @param obj The map object.
22871     * @return The zoom mode of the map, being it one of
22872     * #ELM_MAP_ZOOM_MODE_MANUAL (default), #ELM_MAP_ZOOM_MODE_AUTO_FIT,
22873     * or #ELM_MAP_ZOOM_MODE_AUTO_FILL.
22874     *
22875     * This function returns the current zoom mode used by the map object.
22876     *
22877     * @see elm_map_zoom_mode_set() for more details.
22878     *
22879     * @ingroup Map
22880     */
22881    EAPI Elm_Map_Zoom_Mode     elm_map_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22882
22883    /**
22884     * Get the current coordinates of the map.
22885     *
22886     * @param obj The map object.
22887     * @param lon Pointer where to store longitude.
22888     * @param lat Pointer where to store latitude.
22889     *
22890     * This gets the current center coordinates of the map object. It can be
22891     * set by elm_map_geo_region_bring_in() and elm_map_geo_region_show().
22892     *
22893     * @see elm_map_geo_region_bring_in()
22894     * @see elm_map_geo_region_show()
22895     *
22896     * @ingroup Map
22897     */
22898    EAPI void                  elm_map_geo_region_get(const Evas_Object *obj, double *lon, double *lat) EINA_ARG_NONNULL(1);
22899
22900    /**
22901     * Animatedly bring in given coordinates to the center of the map.
22902     *
22903     * @param obj The map object.
22904     * @param lon Longitude to center at.
22905     * @param lat Latitude to center at.
22906     *
22907     * This causes map to jump to the given @p lat and @p lon coordinates
22908     * and show it (by scrolling) in the center of the viewport, if it is not
22909     * already centered. This will use animation to do so and take a period
22910     * of time to complete.
22911     *
22912     * @see elm_map_geo_region_show() for a function to avoid animation.
22913     * @see elm_map_geo_region_get()
22914     *
22915     * @ingroup Map
22916     */
22917    EAPI void                  elm_map_geo_region_bring_in(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
22918
22919    /**
22920     * Show the given coordinates at the center of the map, @b immediately.
22921     *
22922     * @param obj The map object.
22923     * @param lon Longitude to center at.
22924     * @param lat Latitude to center at.
22925     *
22926     * This causes map to @b redraw its viewport's contents to the
22927     * region contining the given @p lat and @p lon, that will be moved to the
22928     * center of the map.
22929     *
22930     * @see elm_map_geo_region_bring_in() for a function to move with animation.
22931     * @see elm_map_geo_region_get()
22932     *
22933     * @ingroup Map
22934     */
22935    EAPI void                  elm_map_geo_region_show(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
22936
22937    /**
22938     * Pause or unpause the map.
22939     *
22940     * @param obj The map object.
22941     * @param paused Use @c EINA_TRUE to pause the map @p obj or @c EINA_FALSE
22942     * to unpause it.
22943     *
22944     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
22945     * for map.
22946     *
22947     * The default is off.
22948     *
22949     * This will stop zooming using animation, changing zoom levels will
22950     * change instantly. This will stop any existing animations that are running.
22951     *
22952     * @see elm_map_paused_get()
22953     *
22954     * @ingroup Map
22955     */
22956    EAPI void                  elm_map_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
22957
22958    /**
22959     * Get a value whether map is paused or not.
22960     *
22961     * @param obj The map object.
22962     * @return @c EINA_TRUE means map is pause. @c EINA_FALSE indicates
22963     * it is not. If @p obj is @c NULL, @c EINA_FALSE is returned.
22964     *
22965     * This gets the current paused state for the map object.
22966     *
22967     * @see elm_map_paused_set() for details.
22968     *
22969     * @ingroup Map
22970     */
22971    EAPI Eina_Bool             elm_map_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22972
22973    /**
22974     * Set to show markers during zoom level changes or not.
22975     *
22976     * @param obj The map object.
22977     * @param paused Use @c EINA_TRUE to @b not show markers or @c EINA_FALSE
22978     * to show them.
22979     *
22980     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
22981     * for map.
22982     *
22983     * The default is off.
22984     *
22985     * This will stop zooming using animation, changing zoom levels will
22986     * change instantly. This will stop any existing animations that are running.
22987     *
22988     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
22989     * for the markers.
22990     *
22991     * The default  is off.
22992     *
22993     * Enabling it will force the map to stop displaying the markers during
22994     * zoom level changes. Set to on if you have a large number of markers.
22995     *
22996     * @see elm_map_paused_markers_get()
22997     *
22998     * @ingroup Map
22999     */
23000    EAPI void                  elm_map_paused_markers_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
23001
23002    /**
23003     * Get a value whether markers will be displayed on zoom level changes or not
23004     *
23005     * @param obj The map object.
23006     * @return @c EINA_TRUE means map @b won't display markers or @c EINA_FALSE
23007     * indicates it will. If @p obj is @c NULL, @c EINA_FALSE is returned.
23008     *
23009     * This gets the current markers paused state for the map object.
23010     *
23011     * @see elm_map_paused_markers_set() for details.
23012     *
23013     * @ingroup Map
23014     */
23015    EAPI Eina_Bool             elm_map_paused_markers_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23016
23017    /**
23018     * Get the information of downloading status.
23019     *
23020     * @param obj The map object.
23021     * @param try_num Pointer where to store number of tiles being downloaded.
23022     * @param finish_num Pointer where to store number of tiles successfully
23023     * downloaded.
23024     *
23025     * This gets the current downloading status for the map object, the number
23026     * of tiles being downloaded and the number of tiles already downloaded.
23027     *
23028     * @ingroup Map
23029     */
23030    EAPI void                  elm_map_utils_downloading_status_get(const Evas_Object *obj, int *try_num, int *finish_num) EINA_ARG_NONNULL(1, 2, 3);
23031
23032    /**
23033     * Convert a pixel coordinate (x,y) into a geographic coordinate
23034     * (longitude, latitude).
23035     *
23036     * @param obj The map object.
23037     * @param x the coordinate.
23038     * @param y the coordinate.
23039     * @param size the size in pixels of the map.
23040     * The map is a square and generally his size is : pow(2.0, zoom)*256.
23041     * @param lon Pointer where to store the longitude that correspond to x.
23042     * @param lat Pointer where to store the latitude that correspond to y.
23043     *
23044     * @note Origin pixel point is the top left corner of the viewport.
23045     * Map zoom and size are taken on account.
23046     *
23047     * @see elm_map_utils_convert_geo_into_coord() if you need the inverse.
23048     *
23049     * @ingroup Map
23050     */
23051    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);
23052
23053    /**
23054     * Convert a geographic coordinate (longitude, latitude) into a pixel
23055     * coordinate (x, y).
23056     *
23057     * @param obj The map object.
23058     * @param lon the longitude.
23059     * @param lat the latitude.
23060     * @param size the size in pixels of the map. The map is a square
23061     * and generally his size is : pow(2.0, zoom)*256.
23062     * @param x Pointer where to store the horizontal pixel coordinate that
23063     * correspond to the longitude.
23064     * @param y Pointer where to store the vertical pixel coordinate that
23065     * correspond to the latitude.
23066     *
23067     * @note Origin pixel point is the top left corner of the viewport.
23068     * Map zoom and size are taken on account.
23069     *
23070     * @see elm_map_utils_convert_coord_into_geo() if you need the inverse.
23071     *
23072     * @ingroup Map
23073     */
23074    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);
23075
23076    /**
23077     * Convert a geographic coordinate (longitude, latitude) into a name
23078     * (address).
23079     *
23080     * @param obj The map object.
23081     * @param lon the longitude.
23082     * @param lat the latitude.
23083     * @return name A #Elm_Map_Name handle for this coordinate.
23084     *
23085     * To get the string for this address, elm_map_name_address_get()
23086     * should be used.
23087     *
23088     * @see elm_map_utils_convert_name_into_coord() if you need the inverse.
23089     *
23090     * @ingroup Map
23091     */
23092    EAPI Elm_Map_Name         *elm_map_utils_convert_coord_into_name(const Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
23093
23094    /**
23095     * Convert a name (address) into a geographic coordinate
23096     * (longitude, latitude).
23097     *
23098     * @param obj The map object.
23099     * @param name The address.
23100     * @return name A #Elm_Map_Name handle for this address.
23101     *
23102     * To get the longitude and latitude, elm_map_name_region_get()
23103     * should be used.
23104     *
23105     * @see elm_map_utils_convert_coord_into_name() if you need the inverse.
23106     *
23107     * @ingroup Map
23108     */
23109    EAPI Elm_Map_Name         *elm_map_utils_convert_name_into_coord(const Evas_Object *obj, char *address) EINA_ARG_NONNULL(1, 2);
23110
23111    /**
23112     * Convert a pixel coordinate into a rotated pixel coordinate.
23113     *
23114     * @param obj The map object.
23115     * @param x horizontal coordinate of the point to rotate.
23116     * @param y vertical coordinate of the point to rotate.
23117     * @param cx rotation's center horizontal position.
23118     * @param cy rotation's center vertical position.
23119     * @param degree amount of degrees from 0.0 to 360.0 to rotate arount Z axis.
23120     * @param xx Pointer where to store rotated x.
23121     * @param yy Pointer where to store rotated y.
23122     *
23123     * @ingroup Map
23124     */
23125    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);
23126
23127    /**
23128     * Add a new marker to the map object.
23129     *
23130     * @param obj The map object.
23131     * @param lon The longitude of the marker.
23132     * @param lat The latitude of the marker.
23133     * @param clas The class, to use when marker @b isn't grouped to others.
23134     * @param clas_group The class group, to use when marker is grouped to others
23135     * @param data The data passed to the callbacks.
23136     *
23137     * @return The created marker or @c NULL upon failure.
23138     *
23139     * A marker will be created and shown in a specific point of the map, defined
23140     * by @p lon and @p lat.
23141     *
23142     * It will be displayed using style defined by @p class when this marker
23143     * is displayed alone (not grouped). A new class can be created with
23144     * elm_map_marker_class_new().
23145     *
23146     * If the marker is grouped to other markers, it will be displayed with
23147     * style defined by @p class_group. Markers with the same group are grouped
23148     * if they are close. A new group class can be created with
23149     * elm_map_marker_group_class_new().
23150     *
23151     * Markers created with this method can be deleted with
23152     * elm_map_marker_remove().
23153     *
23154     * A marker can have associated content to be displayed by a bubble,
23155     * when a user click over it, as well as an icon. These objects will
23156     * be fetch using class' callback functions.
23157     *
23158     * @see elm_map_marker_class_new()
23159     * @see elm_map_marker_group_class_new()
23160     * @see elm_map_marker_remove()
23161     *
23162     * @ingroup Map
23163     */
23164    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);
23165
23166    /**
23167     * Set the maximum numbers of markers' content to be displayed in a group.
23168     *
23169     * @param obj The map object.
23170     * @param max The maximum numbers of items displayed in a bubble.
23171     *
23172     * A bubble will be displayed when the user clicks over the group,
23173     * and will place the content of markers that belong to this group
23174     * inside it.
23175     *
23176     * A group can have a long list of markers, consequently the creation
23177     * of the content of the bubble can be very slow.
23178     *
23179     * In order to avoid this, a maximum number of items is displayed
23180     * in a bubble.
23181     *
23182     * By default this number is 30.
23183     *
23184     * Marker with the same group class are grouped if they are close.
23185     *
23186     * @see elm_map_marker_add()
23187     *
23188     * @ingroup Map
23189     */
23190    EAPI void                  elm_map_max_marker_per_group_set(Evas_Object *obj, int max) EINA_ARG_NONNULL(1);
23191
23192    /**
23193     * Remove a marker from the map.
23194     *
23195     * @param marker The marker to remove.
23196     *
23197     * @see elm_map_marker_add()
23198     *
23199     * @ingroup Map
23200     */
23201    EAPI void                  elm_map_marker_remove(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
23202
23203    /**
23204     * Get the current coordinates of the marker.
23205     *
23206     * @param marker marker.
23207     * @param lat Pointer where to store the marker's latitude.
23208     * @param lon Pointer where to store the marker's longitude.
23209     *
23210     * These values are set when adding markers, with function
23211     * elm_map_marker_add().
23212     *
23213     * @see elm_map_marker_add()
23214     *
23215     * @ingroup Map
23216     */
23217    EAPI void                  elm_map_marker_region_get(const Elm_Map_Marker *marker, double *lon, double *lat) EINA_ARG_NONNULL(1);
23218
23219    /**
23220     * Animatedly bring in given marker to the center of the map.
23221     *
23222     * @param marker The marker to center at.
23223     *
23224     * This causes map to jump to the given @p marker's coordinates
23225     * and show it (by scrolling) in the center of the viewport, if it is not
23226     * already centered. This will use animation to do so and take a period
23227     * of time to complete.
23228     *
23229     * @see elm_map_marker_show() for a function to avoid animation.
23230     * @see elm_map_marker_region_get()
23231     *
23232     * @ingroup Map
23233     */
23234    EAPI void                  elm_map_marker_bring_in(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
23235
23236    /**
23237     * Show the given marker at the center of the map, @b immediately.
23238     *
23239     * @param marker The marker to center at.
23240     *
23241     * This causes map to @b redraw its viewport's contents to the
23242     * region contining the given @p marker's coordinates, that will be
23243     * moved to the center of the map.
23244     *
23245     * @see elm_map_marker_bring_in() for a function to move with animation.
23246     * @see elm_map_markers_list_show() if more than one marker need to be
23247     * displayed.
23248     * @see elm_map_marker_region_get()
23249     *
23250     * @ingroup Map
23251     */
23252    EAPI void                  elm_map_marker_show(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
23253
23254    /**
23255     * Move and zoom the map to display a list of markers.
23256     *
23257     * @param markers A list of #Elm_Map_Marker handles.
23258     *
23259     * The map will be centered on the center point of the markers in the list.
23260     * Then the map will be zoomed in order to fit the markers using the maximum
23261     * zoom which allows display of all the markers.
23262     *
23263     * @warning All the markers should belong to the same map object.
23264     *
23265     * @see elm_map_marker_show() to show a single marker.
23266     * @see elm_map_marker_bring_in()
23267     *
23268     * @ingroup Map
23269     */
23270    EAPI void                  elm_map_markers_list_show(Eina_List *markers) EINA_ARG_NONNULL(1);
23271
23272    /**
23273     * Get the Evas object returned by the ElmMapMarkerGetFunc callback
23274     *
23275     * @param marker The marker wich content should be returned.
23276     * @return Return the evas object if it exists, else @c NULL.
23277     *
23278     * To set callback function #ElmMapMarkerGetFunc for the marker class,
23279     * elm_map_marker_class_get_cb_set() should be used.
23280     *
23281     * This content is what will be inside the bubble that will be displayed
23282     * when an user clicks over the marker.
23283     *
23284     * This returns the actual Evas object used to be placed inside
23285     * the bubble. This may be @c NULL, as it may
23286     * not have been created or may have been deleted, at any time, by
23287     * the map. <b>Do not modify this object</b> (move, resize,
23288     * show, hide, etc.), as the map is controlling it. This
23289     * function is for querying, emitting custom signals or hooking
23290     * lower level callbacks for events on that object. Do not delete
23291     * this object under any circumstances.
23292     *
23293     * @ingroup Map
23294     */
23295    EAPI Evas_Object          *elm_map_marker_object_get(const Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
23296
23297    /**
23298     * Update the marker
23299     *
23300     * @param marker The marker to be updated.
23301     *
23302     * If a content is set to this marker, it will call function to delete it,
23303     * #ElmMapMarkerDelFunc, and then will fetch the content again with
23304     * #ElmMapMarkerGetFunc.
23305     *
23306     * These functions are set for the marker class with
23307     * elm_map_marker_class_get_cb_set() and elm_map_marker_class_del_cb_set().
23308     *
23309     * @ingroup Map
23310     */
23311    EAPI void                  elm_map_marker_update(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
23312
23313    /**
23314     * Close all the bubbles opened by the user.
23315     *
23316     * @param obj The map object.
23317     *
23318     * A bubble is displayed with a content fetched with #ElmMapMarkerGetFunc
23319     * when the user clicks on a marker.
23320     *
23321     * This functions is set for the marker class with
23322     * elm_map_marker_class_get_cb_set().
23323     *
23324     * @ingroup Map
23325     */
23326    EAPI void                  elm_map_bubbles_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
23327
23328    /**
23329     * Create a new group class.
23330     *
23331     * @param obj The map object.
23332     * @return Returns the new group class.
23333     *
23334     * Each marker must be associated to a group class. Markers in the same
23335     * group are grouped if they are close.
23336     *
23337     * The group class defines the style of the marker when a marker is grouped
23338     * to others markers. When it is alone, another class will be used.
23339     *
23340     * A group class will need to be provided when creating a marker with
23341     * elm_map_marker_add().
23342     *
23343     * Some properties and functions can be set by class, as:
23344     * - style, with elm_map_group_class_style_set()
23345     * - data - to be associated to the group class. It can be set using
23346     *   elm_map_group_class_data_set().
23347     * - min zoom to display markers, set with
23348     *   elm_map_group_class_zoom_displayed_set().
23349     * - max zoom to group markers, set using
23350     *   elm_map_group_class_zoom_grouped_set().
23351     * - visibility - set if markers will be visible or not, set with
23352     *   elm_map_group_class_hide_set().
23353     * - #ElmMapGroupIconGetFunc - used to fetch icon for markers group classes.
23354     *   It can be set using elm_map_group_class_icon_cb_set().
23355     *
23356     * @see elm_map_marker_add()
23357     * @see elm_map_group_class_style_set()
23358     * @see elm_map_group_class_data_set()
23359     * @see elm_map_group_class_zoom_displayed_set()
23360     * @see elm_map_group_class_zoom_grouped_set()
23361     * @see elm_map_group_class_hide_set()
23362     * @see elm_map_group_class_icon_cb_set()
23363     *
23364     * @ingroup Map
23365     */
23366    EAPI Elm_Map_Group_Class  *elm_map_group_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
23367
23368    /**
23369     * Set the marker's style of a group class.
23370     *
23371     * @param clas The group class.
23372     * @param style The style to be used by markers.
23373     *
23374     * Each marker must be associated to a group class, and will use the style
23375     * defined by such class when grouped to other markers.
23376     *
23377     * The following styles are provided by default theme:
23378     * @li @c radio - blue circle
23379     * @li @c radio2 - green circle
23380     * @li @c empty
23381     *
23382     * @see elm_map_group_class_new() for more details.
23383     * @see elm_map_marker_add()
23384     *
23385     * @ingroup Map
23386     */
23387    EAPI void                  elm_map_group_class_style_set(Elm_Map_Group_Class *clas, const char *style) EINA_ARG_NONNULL(1);
23388
23389    /**
23390     * Set the icon callback function of a group class.
23391     *
23392     * @param clas The group class.
23393     * @param icon_get The callback function that will return the icon.
23394     *
23395     * Each marker must be associated to a group class, and it can display a
23396     * custom icon. The function @p icon_get must return this icon.
23397     *
23398     * @see elm_map_group_class_new() for more details.
23399     * @see elm_map_marker_add()
23400     *
23401     * @ingroup Map
23402     */
23403    EAPI void                  elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, ElmMapGroupIconGetFunc icon_get) EINA_ARG_NONNULL(1);
23404
23405    /**
23406     * Set the data associated to the group class.
23407     *
23408     * @param clas The group class.
23409     * @param data The new user data.
23410     *
23411     * This data will be passed for callback functions, like icon get callback,
23412     * that can be set with elm_map_group_class_icon_cb_set().
23413     *
23414     * If a data was previously set, the object will lose the pointer for it,
23415     * so if needs to be freed, you must do it yourself.
23416     *
23417     * @see elm_map_group_class_new() for more details.
23418     * @see elm_map_group_class_icon_cb_set()
23419     * @see elm_map_marker_add()
23420     *
23421     * @ingroup Map
23422     */
23423    EAPI void                  elm_map_group_class_data_set(Elm_Map_Group_Class *clas, void *data) EINA_ARG_NONNULL(1);
23424
23425    /**
23426     * Set the minimum zoom from where the markers are displayed.
23427     *
23428     * @param clas The group class.
23429     * @param zoom The minimum zoom.
23430     *
23431     * Markers only will be displayed when the map is displayed at @p zoom
23432     * or bigger.
23433     *
23434     * @see elm_map_group_class_new() for more details.
23435     * @see elm_map_marker_add()
23436     *
23437     * @ingroup Map
23438     */
23439    EAPI void                  elm_map_group_class_zoom_displayed_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
23440
23441    /**
23442     * Set the zoom from where the markers are no more grouped.
23443     *
23444     * @param clas The group class.
23445     * @param zoom The maximum zoom.
23446     *
23447     * Markers only will be grouped when the map is displayed at
23448     * less than @p zoom.
23449     *
23450     * @see elm_map_group_class_new() for more details.
23451     * @see elm_map_marker_add()
23452     *
23453     * @ingroup Map
23454     */
23455    EAPI void                  elm_map_group_class_zoom_grouped_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
23456
23457    /**
23458     * Set if the markers associated to the group class @clas are hidden or not.
23459     *
23460     * @param clas The group class.
23461     * @param hide Use @c EINA_TRUE to hide markers or @c EINA_FALSE
23462     * to show them.
23463     *
23464     * If @p hide is @c EINA_TRUE the markers will be hidden, but default
23465     * is to show them.
23466     *
23467     * @ingroup Map
23468     */
23469    EAPI void                  elm_map_group_class_hide_set(Evas_Object *obj, Elm_Map_Group_Class *clas, Eina_Bool hide) EINA_ARG_NONNULL(1, 2);
23470
23471    /**
23472     * Create a new marker class.
23473     *
23474     * @param obj The map object.
23475     * @return Returns the new group class.
23476     *
23477     * Each marker must be associated to a class.
23478     *
23479     * The marker class defines the style of the marker when a marker is
23480     * displayed alone, i.e., not grouped to to others markers. When grouped
23481     * it will use group class style.
23482     *
23483     * A marker class will need to be provided when creating a marker with
23484     * elm_map_marker_add().
23485     *
23486     * Some properties and functions can be set by class, as:
23487     * - style, with elm_map_marker_class_style_set()
23488     * - #ElmMapMarkerIconGetFunc - used to fetch icon for markers classes.
23489     *   It can be set using elm_map_marker_class_icon_cb_set().
23490     * - #ElmMapMarkerGetFunc - used to fetch bubble content for marker classes.
23491     *   Set using elm_map_marker_class_get_cb_set().
23492     * - #ElmMapMarkerDelFunc - used to delete bubble content for marker classes.
23493     *   Set using elm_map_marker_class_del_cb_set().
23494     *
23495     * @see elm_map_marker_add()
23496     * @see elm_map_marker_class_style_set()
23497     * @see elm_map_marker_class_icon_cb_set()
23498     * @see elm_map_marker_class_get_cb_set()
23499     * @see elm_map_marker_class_del_cb_set()
23500     *
23501     * @ingroup Map
23502     */
23503    EAPI Elm_Map_Marker_Class *elm_map_marker_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
23504
23505    /**
23506     * Set the marker's style of a marker class.
23507     *
23508     * @param clas The marker class.
23509     * @param style The style to be used by markers.
23510     *
23511     * Each marker must be associated to a marker class, and will use the style
23512     * defined by such class when alone, i.e., @b not grouped to other markers.
23513     *
23514     * The following styles are provided by default theme:
23515     * @li @c radio
23516     * @li @c radio2
23517     * @li @c empty
23518     *
23519     * @see elm_map_marker_class_new() for more details.
23520     * @see elm_map_marker_add()
23521     *
23522     * @ingroup Map
23523     */
23524    EAPI void                  elm_map_marker_class_style_set(Elm_Map_Marker_Class *clas, const char *style) EINA_ARG_NONNULL(1);
23525
23526    /**
23527     * Set the icon callback function of a marker class.
23528     *
23529     * @param clas The marker class.
23530     * @param icon_get The callback function that will return the icon.
23531     *
23532     * Each marker must be associated to a marker class, and it can display a
23533     * custom icon. The function @p icon_get must return this icon.
23534     *
23535     * @see elm_map_marker_class_new() for more details.
23536     * @see elm_map_marker_add()
23537     *
23538     * @ingroup Map
23539     */
23540    EAPI void                  elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerIconGetFunc icon_get) EINA_ARG_NONNULL(1);
23541
23542    /**
23543     * Set the bubble content callback function of a marker class.
23544     *
23545     * @param clas The marker class.
23546     * @param get The callback function that will return the content.
23547     *
23548     * Each marker must be associated to a marker class, and it can display a
23549     * a content on a bubble that opens when the user click over the marker.
23550     * The function @p get must return this content object.
23551     *
23552     * If this content will need to be deleted, elm_map_marker_class_del_cb_set()
23553     * can be used.
23554     *
23555     * @see elm_map_marker_class_new() for more details.
23556     * @see elm_map_marker_class_del_cb_set()
23557     * @see elm_map_marker_add()
23558     *
23559     * @ingroup Map
23560     */
23561    EAPI void                  elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerGetFunc get) EINA_ARG_NONNULL(1);
23562
23563    /**
23564     * Set the callback function used to delete bubble content of a marker class.
23565     *
23566     * @param clas The marker class.
23567     * @param del The callback function that will delete the content.
23568     *
23569     * Each marker must be associated to a marker class, and it can display a
23570     * a content on a bubble that opens when the user click over the marker.
23571     * The function to return such content can be set with
23572     * elm_map_marker_class_get_cb_set().
23573     *
23574     * If this content must be freed, a callback function need to be
23575     * set for that task with this function.
23576     *
23577     * If this callback is defined it will have to delete (or not) the
23578     * object inside, but if the callback is not defined the object will be
23579     * destroyed with evas_object_del().
23580     *
23581     * @see elm_map_marker_class_new() for more details.
23582     * @see elm_map_marker_class_get_cb_set()
23583     * @see elm_map_marker_add()
23584     *
23585     * @ingroup Map
23586     */
23587    EAPI void                  elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerDelFunc del) EINA_ARG_NONNULL(1);
23588
23589    /**
23590     * Get the list of available sources.
23591     *
23592     * @param obj The map object.
23593     * @return The source names list.
23594     *
23595     * It will provide a list with all available sources, that can be set as
23596     * current source with elm_map_source_name_set(), or get with
23597     * elm_map_source_name_get().
23598     *
23599     * Available sources:
23600     * @li "Mapnik"
23601     * @li "Osmarender"
23602     * @li "CycleMap"
23603     * @li "Maplint"
23604     *
23605     * @see elm_map_source_name_set() for more details.
23606     * @see elm_map_source_name_get()
23607     *
23608     * @ingroup Map
23609     */
23610    EAPI const char          **elm_map_source_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23611
23612    /**
23613     * Set the source of the map.
23614     *
23615     * @param obj The map object.
23616     * @param source The source to be used.
23617     *
23618     * Map widget retrieves images that composes the map from a web service.
23619     * This web service can be set with this method.
23620     *
23621     * A different service can return a different maps with different
23622     * information and it can use different zoom values.
23623     *
23624     * The @p source_name need to match one of the names provided by
23625     * elm_map_source_names_get().
23626     *
23627     * The current source can be get using elm_map_source_name_get().
23628     *
23629     * @see elm_map_source_names_get()
23630     * @see elm_map_source_name_get()
23631     *
23632     *
23633     * @ingroup Map
23634     */
23635    EAPI void                  elm_map_source_name_set(Evas_Object *obj, const char *source_name) EINA_ARG_NONNULL(1);
23636
23637    /**
23638     * Get the name of currently used source.
23639     *
23640     * @param obj The map object.
23641     * @return Returns the name of the source in use.
23642     *
23643     * @see elm_map_source_name_set() for more details.
23644     *
23645     * @ingroup Map
23646     */
23647    EAPI const char           *elm_map_source_name_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23648
23649    /**
23650     * Set the source of the route service to be used by the map.
23651     *
23652     * @param obj The map object.
23653     * @param source The route service to be used, being it one of
23654     * #ELM_MAP_ROUTE_SOURCE_YOURS (default), #ELM_MAP_ROUTE_SOURCE_MONAV,
23655     * and #ELM_MAP_ROUTE_SOURCE_ORS.
23656     *
23657     * Each one has its own algorithm, so the route retrieved may
23658     * differ depending on the source route. Now, only the default is working.
23659     *
23660     * #ELM_MAP_ROUTE_SOURCE_YOURS is the routing service provided at
23661     * http://www.yournavigation.org/.
23662     *
23663     * #ELM_MAP_ROUTE_SOURCE_MONAV, offers exact routing without heuristic
23664     * assumptions. Its routing core is based on Contraction Hierarchies.
23665     *
23666     * #ELM_MAP_ROUTE_SOURCE_ORS, is provided at http://www.openrouteservice.org/
23667     *
23668     * @see elm_map_route_source_get().
23669     *
23670     * @ingroup Map
23671     */
23672    EAPI void                  elm_map_route_source_set(Evas_Object *obj, Elm_Map_Route_Sources source) EINA_ARG_NONNULL(1);
23673
23674    /**
23675     * Get the current route source.
23676     *
23677     * @param obj The map object.
23678     * @return The source of the route service used by the map.
23679     *
23680     * @see elm_map_route_source_set() for details.
23681     *
23682     * @ingroup Map
23683     */
23684    EAPI Elm_Map_Route_Sources elm_map_route_source_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23685
23686    /**
23687     * Set the minimum zoom of the source.
23688     *
23689     * @param obj The map object.
23690     * @param zoom New minimum zoom value to be used.
23691     *
23692     * By default, it's 0.
23693     *
23694     * @ingroup Map
23695     */
23696    EAPI void                  elm_map_source_zoom_min_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
23697
23698    /**
23699     * Get the minimum zoom of the source.
23700     *
23701     * @param obj The map object.
23702     * @return Returns the minimum zoom of the source.
23703     *
23704     * @see elm_map_source_zoom_min_set() for details.
23705     *
23706     * @ingroup Map
23707     */
23708    EAPI int                   elm_map_source_zoom_min_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23709
23710    /**
23711     * Set the maximum zoom of the source.
23712     *
23713     * @param obj The map object.
23714     * @param zoom New maximum zoom value to be used.
23715     *
23716     * By default, it's 18.
23717     *
23718     * @ingroup Map
23719     */
23720    EAPI void                  elm_map_source_zoom_max_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
23721
23722    /**
23723     * Get the maximum zoom of the source.
23724     *
23725     * @param obj The map object.
23726     * @return Returns the maximum zoom of the source.
23727     *
23728     * @see elm_map_source_zoom_min_set() for details.
23729     *
23730     * @ingroup Map
23731     */
23732    EAPI int                   elm_map_source_zoom_max_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23733
23734    /**
23735     * Set the user agent used by the map object to access routing services.
23736     *
23737     * @param obj The map object.
23738     * @param user_agent The user agent to be used by the map.
23739     *
23740     * User agent is a client application implementing a network protocol used
23741     * in communications within a clientā€“server distributed computing system
23742     *
23743     * The @p user_agent identification string will transmitted in a header
23744     * field @c User-Agent.
23745     *
23746     * @see elm_map_user_agent_get()
23747     *
23748     * @ingroup Map
23749     */
23750    EAPI void                  elm_map_user_agent_set(Evas_Object *obj, const char *user_agent) EINA_ARG_NONNULL(1, 2);
23751
23752    /**
23753     * Get the user agent used by the map object.
23754     *
23755     * @param obj The map object.
23756     * @return The user agent identification string used by the map.
23757     *
23758     * @see elm_map_user_agent_set() for details.
23759     *
23760     * @ingroup Map
23761     */
23762    EAPI const char           *elm_map_user_agent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23763
23764    /**
23765     * Add a new route to the map object.
23766     *
23767     * @param obj The map object.
23768     * @param type The type of transport to be considered when tracing a route.
23769     * @param method The routing method, what should be priorized.
23770     * @param flon The start longitude.
23771     * @param flat The start latitude.
23772     * @param tlon The destination longitude.
23773     * @param tlat The destination latitude.
23774     *
23775     * @return The created route or @c NULL upon failure.
23776     *
23777     * A route will be traced by point on coordinates (@p flat, @p flon)
23778     * to point on coordinates (@p tlat, @p tlon), using the route service
23779     * set with elm_map_route_source_set().
23780     *
23781     * It will take @p type on consideration to define the route,
23782     * depending if the user will be walking or driving, the route may vary.
23783     * One of #ELM_MAP_ROUTE_TYPE_MOTOCAR, #ELM_MAP_ROUTE_TYPE_BICYCLE, or
23784     * #ELM_MAP_ROUTE_TYPE_FOOT need to be used.
23785     *
23786     * Another parameter is what the route should priorize, the minor distance
23787     * or the less time to be spend on the route. So @p method should be one
23788     * of #ELM_MAP_ROUTE_METHOD_SHORTEST or #ELM_MAP_ROUTE_METHOD_FASTEST.
23789     *
23790     * Routes created with this method can be deleted with
23791     * elm_map_route_remove(), colored with elm_map_route_color_set(),
23792     * and distance can be get with elm_map_route_distance_get().
23793     *
23794     * @see elm_map_route_remove()
23795     * @see elm_map_route_color_set()
23796     * @see elm_map_route_distance_get()
23797     * @see elm_map_route_source_set()
23798     *
23799     * @ingroup Map
23800     */
23801    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);
23802
23803    /**
23804     * Remove a route from the map.
23805     *
23806     * @param route The route to remove.
23807     *
23808     * @see elm_map_route_add()
23809     *
23810     * @ingroup Map
23811     */
23812    EAPI void                  elm_map_route_remove(Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23813
23814    /**
23815     * Set the route color.
23816     *
23817     * @param route The route object.
23818     * @param r Red channel value, from 0 to 255.
23819     * @param g Green channel value, from 0 to 255.
23820     * @param b Blue channel value, from 0 to 255.
23821     * @param a Alpha channel value, from 0 to 255.
23822     *
23823     * It uses an additive color model, so each color channel represents
23824     * how much of each primary colors must to be used. 0 represents
23825     * ausence of this color, so if all of the three are set to 0,
23826     * the color will be black.
23827     *
23828     * These component values should be integers in the range 0 to 255,
23829     * (single 8-bit byte).
23830     *
23831     * This sets the color used for the route. By default, it is set to
23832     * solid red (r = 255, g = 0, b = 0, a = 255).
23833     *
23834     * For alpha channel, 0 represents completely transparent, and 255, opaque.
23835     *
23836     * @see elm_map_route_color_get()
23837     *
23838     * @ingroup Map
23839     */
23840    EAPI void                  elm_map_route_color_set(Elm_Map_Route *route, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
23841
23842    /**
23843     * Get the route color.
23844     *
23845     * @param route The route object.
23846     * @param r Pointer where to store the red channel value.
23847     * @param g Pointer where to store the green channel value.
23848     * @param b Pointer where to store the blue channel value.
23849     * @param a Pointer where to store the alpha channel value.
23850     *
23851     * @see elm_map_route_color_set() for details.
23852     *
23853     * @ingroup Map
23854     */
23855    EAPI void                  elm_map_route_color_get(const Elm_Map_Route *route, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
23856
23857    /**
23858     * Get the route distance in kilometers.
23859     *
23860     * @param route The route object.
23861     * @return The distance of route (unit : km).
23862     *
23863     * @ingroup Map
23864     */
23865    EAPI double                elm_map_route_distance_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23866
23867    /**
23868     * Get the information of route nodes.
23869     *
23870     * @param route The route object.
23871     * @return Returns a string with the nodes of route.
23872     *
23873     * @ingroup Map
23874     */
23875    EAPI const char           *elm_map_route_node_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23876
23877    /**
23878     * Get the information of route waypoint.
23879     *
23880     * @param route the route object.
23881     * @return Returns a string with information about waypoint of route.
23882     *
23883     * @ingroup Map
23884     */
23885    EAPI const char           *elm_map_route_waypoint_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23886
23887    /**
23888     * Get the address of the name.
23889     *
23890     * @param name The name handle.
23891     * @return Returns the address string of @p name.
23892     *
23893     * This gets the coordinates of the @p name, created with one of the
23894     * conversion functions.
23895     *
23896     * @see elm_map_utils_convert_name_into_coord()
23897     * @see elm_map_utils_convert_coord_into_name()
23898     *
23899     * @ingroup Map
23900     */
23901    EAPI const char           *elm_map_name_address_get(const Elm_Map_Name *name) EINA_ARG_NONNULL(1);
23902
23903    /**
23904     * Get the current coordinates of the name.
23905     *
23906     * @param name The name handle.
23907     * @param lat Pointer where to store the latitude.
23908     * @param lon Pointer where to store The longitude.
23909     *
23910     * This gets the coordinates of the @p name, created with one of the
23911     * conversion functions.
23912     *
23913     * @see elm_map_utils_convert_name_into_coord()
23914     * @see elm_map_utils_convert_coord_into_name()
23915     *
23916     * @ingroup Map
23917     */
23918    EAPI void                  elm_map_name_region_get(const Elm_Map_Name *name, double *lon, double *lat) EINA_ARG_NONNULL(1);
23919
23920    /**
23921     * Remove a name from the map.
23922     *
23923     * @param name The name to remove.
23924     *
23925     * Basically the struct handled by @p name will be freed, so convertions
23926     * between address and coordinates will be lost.
23927     *
23928     * @see elm_map_utils_convert_name_into_coord()
23929     * @see elm_map_utils_convert_coord_into_name()
23930     *
23931     * @ingroup Map
23932     */
23933    EAPI void                  elm_map_name_remove(Elm_Map_Name *name) EINA_ARG_NONNULL(1);
23934
23935    /**
23936     * Rotate the map.
23937     *
23938     * @param obj The map object.
23939     * @param degree Angle from 0.0 to 360.0 to rotate arount Z axis.
23940     * @param cx Rotation's center horizontal position.
23941     * @param cy Rotation's center vertical position.
23942     *
23943     * @see elm_map_rotate_get()
23944     *
23945     * @ingroup Map
23946     */
23947    EAPI void                  elm_map_rotate_set(Evas_Object *obj, double degree, Evas_Coord cx, Evas_Coord cy) EINA_ARG_NONNULL(1);
23948
23949    /**
23950     * Get the rotate degree of the map
23951     *
23952     * @param obj The map object
23953     * @param degree Pointer where to store degrees from 0.0 to 360.0
23954     * to rotate arount Z axis.
23955     * @param cx Pointer where to store rotation's center horizontal position.
23956     * @param cy Pointer where to store rotation's center vertical position.
23957     *
23958     * @see elm_map_rotate_set() to set map rotation.
23959     *
23960     * @ingroup Map
23961     */
23962    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);
23963
23964    /**
23965     * Enable or disable mouse wheel to be used to zoom in / out the map.
23966     *
23967     * @param obj The map object.
23968     * @param disabled Use @c EINA_TRUE to disable mouse wheel or @c EINA_FALSE
23969     * to enable it.
23970     *
23971     * Mouse wheel can be used for the user to zoom in or zoom out the map.
23972     *
23973     * It's disabled by default.
23974     *
23975     * @see elm_map_wheel_disabled_get()
23976     *
23977     * @ingroup Map
23978     */
23979    EAPI void                  elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
23980
23981    /**
23982     * Get a value whether mouse wheel is enabled or not.
23983     *
23984     * @param obj The map object.
23985     * @return @c EINA_TRUE means map is disabled. @c EINA_FALSE indicates
23986     * it is enabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
23987     *
23988     * Mouse wheel can be used for the user to zoom in or zoom out the map.
23989     *
23990     * @see elm_map_wheel_disabled_set() for details.
23991     *
23992     * @ingroup Map
23993     */
23994    EAPI Eina_Bool             elm_map_wheel_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23995
23996 #ifdef ELM_EMAP
23997    /**
23998     * Add a track on the map
23999     *
24000     * @param obj The map object.
24001     * @param emap The emap route object.
24002     * @return The route object. This is an elm object of type Route.
24003     *
24004     * @see elm_route_add() for details.
24005     *
24006     * @ingroup Map
24007     */
24008    EAPI Evas_Object          *elm_map_track_add(Evas_Object *obj, EMap_Route *emap) EINA_ARG_NONNULL(1);
24009 #endif
24010
24011    /**
24012     * Remove a track from the map
24013     *
24014     * @param obj The map object.
24015     * @param route The track to remove.
24016     *
24017     * @ingroup Map
24018     */
24019    EAPI void                  elm_map_track_remove(Evas_Object *obj, Evas_Object *route) EINA_ARG_NONNULL(1);
24020
24021    /**
24022     * @}
24023     */
24024
24025    /* Route */
24026    EAPI Evas_Object *elm_route_add(Evas_Object *parent);
24027 #ifdef ELM_EMAP
24028    EAPI void elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
24029 #endif
24030    EAPI double elm_route_lon_min_get(Evas_Object *obj);
24031    EAPI double elm_route_lat_min_get(Evas_Object *obj);
24032    EAPI double elm_route_lon_max_get(Evas_Object *obj);
24033    EAPI double elm_route_lat_max_get(Evas_Object *obj);
24034
24035
24036    /**
24037     * @defgroup Panel Panel
24038     *
24039     * @image html img/widget/panel/preview-00.png
24040     * @image latex img/widget/panel/preview-00.eps
24041     *
24042     * @brief A panel is a type of animated container that contains subobjects.
24043     * It can be expanded or contracted by clicking the button on it's edge.
24044     *
24045     * Orientations are as follows:
24046     * @li ELM_PANEL_ORIENT_TOP
24047     * @li ELM_PANEL_ORIENT_LEFT
24048     * @li ELM_PANEL_ORIENT_RIGHT
24049     *
24050     * Default contents parts of the panel widget that you can use for are:
24051     * @li "default" - A content of the panel
24052     *
24053     * @ref tutorial_panel shows one way to use this widget.
24054     * @{
24055     */
24056    typedef enum _Elm_Panel_Orient
24057      {
24058         ELM_PANEL_ORIENT_TOP, /**< Panel (dis)appears from the top */
24059         ELM_PANEL_ORIENT_BOTTOM, /**< Not implemented */
24060         ELM_PANEL_ORIENT_LEFT, /**< Panel (dis)appears from the left */
24061         ELM_PANEL_ORIENT_RIGHT, /**< Panel (dis)appears from the right */
24062      } Elm_Panel_Orient;
24063    /**
24064     * @brief Adds a panel object
24065     *
24066     * @param parent The parent object
24067     *
24068     * @return The panel object, or NULL on failure
24069     */
24070    EAPI Evas_Object          *elm_panel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24071    /**
24072     * @brief Sets the orientation of the panel
24073     *
24074     * @param parent The parent object
24075     * @param orient The panel orientation. Can be one of the following:
24076     * @li ELM_PANEL_ORIENT_TOP
24077     * @li ELM_PANEL_ORIENT_LEFT
24078     * @li ELM_PANEL_ORIENT_RIGHT
24079     *
24080     * Sets from where the panel will (dis)appear.
24081     */
24082    EAPI void                  elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient) EINA_ARG_NONNULL(1);
24083    /**
24084     * @brief Get the orientation of the panel.
24085     *
24086     * @param obj The panel object
24087     * @return The Elm_Panel_Orient, or ELM_PANEL_ORIENT_LEFT on failure.
24088     */
24089    EAPI Elm_Panel_Orient      elm_panel_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24090    /**
24091     * @brief Set the content of the panel.
24092     *
24093     * @param obj The panel object
24094     * @param content The panel content
24095     *
24096     * Once the content object is set, a previously set one will be deleted.
24097     * If you want to keep that old content object, use the
24098     * elm_panel_content_unset() function.
24099     *
24100     * @deprecated use elm_object_content_set() instead
24101     *
24102     */
24103    EINA_DEPRECATED EAPI void                  elm_panel_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24104    /**
24105     * @brief Get the content of the panel.
24106     *
24107     * @param obj The panel object
24108     * @return The content that is being used
24109     *
24110     * Return the content object which is set for this widget.
24111     *
24112     * @see elm_panel_content_set()
24113     * 
24114     * @deprecated use elm_object_content_get() instead
24115     *
24116     */
24117    EINA_DEPRECATED EAPI Evas_Object          *elm_panel_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24118    /**
24119     * @brief Unset the content of the panel.
24120     *
24121     * @param obj The panel object
24122     * @return The content that was being used
24123     *
24124     * Unparent and return the content object which was set for this widget.
24125     *
24126     * @see elm_panel_content_set()
24127     *
24128     * @deprecated use elm_object_content_unset() instead
24129     *
24130     */
24131    EINA_DEPRECATED EAPI Evas_Object          *elm_panel_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24132    /**
24133     * @brief Set the state of the panel.
24134     *
24135     * @param obj The panel object
24136     * @param hidden If true, the panel will run the animation to contract
24137     */
24138    EAPI void                  elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden) EINA_ARG_NONNULL(1);
24139    /**
24140     * @brief Get the state of the panel.
24141     *
24142     * @param obj The panel object
24143     * @param hidden If true, the panel is in the "hide" state
24144     */
24145    EAPI Eina_Bool             elm_panel_hidden_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24146    /**
24147     * @brief Toggle the hidden state of the panel from code
24148     *
24149     * @param obj The panel object
24150     */
24151    EAPI void                  elm_panel_toggle(Evas_Object *obj) EINA_ARG_NONNULL(1);
24152    /**
24153     * @}
24154     */
24155
24156    /**
24157     * @defgroup Panes Panes
24158     * @ingroup Elementary
24159     *
24160     * @image html img/widget/panes/preview-00.png
24161     * @image latex img/widget/panes/preview-00.eps width=\textwidth
24162     *
24163     * @image html img/panes.png
24164     * @image latex img/panes.eps width=\textwidth
24165     *
24166     * The panes adds a dragable bar between two contents. When dragged
24167     * this bar will resize contents size.
24168     *
24169     * Panes can be displayed vertically or horizontally, and contents
24170     * size proportion can be customized (homogeneous by default).
24171     *
24172     * Smart callbacks one can listen to:
24173     * - "press" - The panes has been pressed (button wasn't released yet).
24174     * - "unpressed" - The panes was released after being pressed.
24175     * - "clicked" - The panes has been clicked>
24176     * - "clicked,double" - The panes has been double clicked
24177     *
24178     * Available styles for it:
24179     * - @c "default"
24180     *
24181     * Default contents parts of the panes widget that you can use for are:
24182     * @li "left" - A leftside content of the panes
24183     * @li "right" - A rightside content of the panes
24184     *
24185     * If panes is displayed vertically, left content will be displayed at
24186     * top.
24187     * 
24188     * Here is an example on its usage:
24189     * @li @ref panes_example
24190     */
24191
24192    /**
24193     * @addtogroup Panes
24194     * @{
24195     */
24196
24197    /**
24198     * Add a new panes widget to the given parent Elementary
24199     * (container) object.
24200     *
24201     * @param parent The parent object.
24202     * @return a new panes widget handle or @c NULL, on errors.
24203     *
24204     * This function inserts a new panes widget on the canvas.
24205     *
24206     * @ingroup Panes
24207     */
24208    EAPI Evas_Object          *elm_panes_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24209
24210    /**
24211     * Set the left content of the panes widget.
24212     *
24213     * @param obj The panes object.
24214     * @param content The new left content object.
24215     *
24216     * Once the content object is set, a previously set one will be deleted.
24217     * If you want to keep that old content object, use the
24218     * elm_panes_content_left_unset() function.
24219     *
24220     * If panes is displayed vertically, left content will be displayed at
24221     * top.
24222     *
24223     * @see elm_panes_content_left_get()
24224     * @see elm_panes_content_right_set() to set content on the other side.
24225     *
24226     * @deprecated use elm_object_part_content_set() instead
24227     *
24228     * @ingroup Panes
24229     */
24230    EINA_DEPRECATED EAPI void                  elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24231
24232    /**
24233     * Set the right content of the panes widget.
24234     *
24235     * @param obj The panes object.
24236     * @param content The new right content object.
24237     *
24238     * Once the content object is set, a previously set one will be deleted.
24239     * If you want to keep that old content object, use the
24240     * elm_panes_content_right_unset() function.
24241     *
24242     * If panes is displayed vertically, left content will be displayed at
24243     * bottom.
24244     *
24245     * @see elm_panes_content_right_get()
24246     * @see elm_panes_content_left_set() to set content on the other side.
24247     *
24248     * @deprecated use elm_object_part_content_set() instead
24249     *
24250     * @ingroup Panes
24251     */
24252    EINA_DEPRECATED EAPI void                  elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24253
24254    /**
24255     * Get the left content of the panes.
24256     *
24257     * @param obj The panes object.
24258     * @return The left content object that is being used.
24259     *
24260     * Return the left content object which is set for this widget.
24261     *
24262     * @see elm_panes_content_left_set() for details.
24263     *
24264     * @deprecated use elm_object_part_content_get() instead
24265     *
24266     * @ingroup Panes
24267     */
24268    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_left_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24269
24270    /**
24271     * Get the right content of the panes.
24272     *
24273     * @param obj The panes object
24274     * @return The right content object that is being used
24275     *
24276     * Return the right content object which is set for this widget.
24277     *
24278     * @see elm_panes_content_right_set() for details.
24279     *
24280     * @deprecated use elm_object_part_content_get() instead
24281     *
24282     * @ingroup Panes
24283     */
24284    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_right_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24285
24286    /**
24287     * Unset the left content used for the panes.
24288     *
24289     * @param obj The panes object.
24290     * @return The left content object that was being used.
24291     *
24292     * Unparent and return the left content object which was set for this widget.
24293     *
24294     * @see elm_panes_content_left_set() for details.
24295     * @see elm_panes_content_left_get().
24296     *
24297     * @deprecated use elm_object_part_content_unset() instead
24298     *
24299     * @ingroup Panes
24300     */
24301    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_left_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24302
24303    /**
24304     * Unset the right content used for the panes.
24305     *
24306     * @param obj The panes object.
24307     * @return The right content object that was being used.
24308     *
24309     * Unparent and return the right content object which was set for this
24310     * widget.
24311     *
24312     * @see elm_panes_content_right_set() for details.
24313     * @see elm_panes_content_right_get().
24314     *
24315     * @deprecated use elm_object_part_content_unset() instead
24316     *
24317     * @ingroup Panes
24318     */
24319    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_right_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24320
24321    /**
24322     * Get the size proportion of panes widget's left side.
24323     *
24324     * @param obj The panes object.
24325     * @return float value between 0.0 and 1.0 representing size proportion
24326     * of left side.
24327     *
24328     * @see elm_panes_content_left_size_set() for more details.
24329     *
24330     * @ingroup Panes
24331     */
24332    EAPI double                elm_panes_content_left_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24333
24334    /**
24335     * Set the size proportion of panes widget's left side.
24336     *
24337     * @param obj The panes object.
24338     * @param size Value between 0.0 and 1.0 representing size proportion
24339     * of left side.
24340     *
24341     * By default it's homogeneous, i.e., both sides have the same size.
24342     *
24343     * If something different is required, it can be set with this function.
24344     * For example, if the left content should be displayed over
24345     * 75% of the panes size, @p size should be passed as @c 0.75.
24346     * This way, right content will be resized to 25% of panes size.
24347     *
24348     * If displayed vertically, left content is displayed at top, and
24349     * right content at bottom.
24350     *
24351     * @note This proportion will change when user drags the panes bar.
24352     *
24353     * @see elm_panes_content_left_size_get()
24354     *
24355     * @ingroup Panes
24356     */
24357    EAPI void                  elm_panes_content_left_size_set(Evas_Object *obj, double size) EINA_ARG_NONNULL(1);
24358
24359   /**
24360    * Set the orientation of a given panes widget.
24361    *
24362    * @param obj The panes object.
24363    * @param horizontal Use @c EINA_TRUE to make @p obj to be
24364    * @b horizontal, @c EINA_FALSE to make it @b vertical.
24365    *
24366    * Use this function to change how your panes is to be
24367    * disposed: vertically or horizontally.
24368    *
24369    * By default it's displayed horizontally.
24370    *
24371    * @see elm_panes_horizontal_get()
24372    *
24373    * @ingroup Panes
24374    */
24375    EAPI void                  elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
24376
24377    /**
24378     * Retrieve the orientation of a given panes widget.
24379     *
24380     * @param obj The panes object.
24381     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
24382     * @c EINA_FALSE if it's @b vertical (and on errors).
24383     *
24384     * @see elm_panes_horizontal_set() for more details.
24385     *
24386     * @ingroup Panes
24387     */
24388    EAPI Eina_Bool             elm_panes_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24389    EAPI void                  elm_panes_fixed_set(Evas_Object *obj, Eina_Bool fixed) EINA_ARG_NONNULL(1);
24390    EAPI Eina_Bool             elm_panes_fixed_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24391
24392    /**
24393     * @}
24394     */
24395
24396    /**
24397     * @defgroup Flip Flip
24398     *
24399     * @image html img/widget/flip/preview-00.png
24400     * @image latex img/widget/flip/preview-00.eps
24401     *
24402     * This widget holds 2 content objects(Evas_Object): one on the front and one
24403     * on the back. It allows you to flip from front to back and vice-versa using
24404     * various animations.
24405     *
24406     * If either the front or back contents are not set the flip will treat that
24407     * as transparent. So if you wore to set the front content but not the back,
24408     * and then call elm_flip_go() you would see whatever is below the flip.
24409     *
24410     * For a list of supported animations see elm_flip_go().
24411     *
24412     * Signals that you can add callbacks for are:
24413     * "animate,begin" - when a flip animation was started
24414     * "animate,done" - when a flip animation is finished
24415     *
24416     * @ref tutorial_flip show how to use most of the API.
24417     *
24418     * @{
24419     */
24420    typedef enum _Elm_Flip_Mode
24421      {
24422         ELM_FLIP_ROTATE_Y_CENTER_AXIS,
24423         ELM_FLIP_ROTATE_X_CENTER_AXIS,
24424         ELM_FLIP_ROTATE_XZ_CENTER_AXIS,
24425         ELM_FLIP_ROTATE_YZ_CENTER_AXIS,
24426         ELM_FLIP_CUBE_LEFT,
24427         ELM_FLIP_CUBE_RIGHT,
24428         ELM_FLIP_CUBE_UP,
24429         ELM_FLIP_CUBE_DOWN,
24430         ELM_FLIP_PAGE_LEFT,
24431         ELM_FLIP_PAGE_RIGHT,
24432         ELM_FLIP_PAGE_UP,
24433         ELM_FLIP_PAGE_DOWN
24434      } Elm_Flip_Mode;
24435    typedef enum _Elm_Flip_Interaction
24436      {
24437         ELM_FLIP_INTERACTION_NONE,
24438         ELM_FLIP_INTERACTION_ROTATE,
24439         ELM_FLIP_INTERACTION_CUBE,
24440         ELM_FLIP_INTERACTION_PAGE
24441      } Elm_Flip_Interaction;
24442    typedef enum _Elm_Flip_Direction
24443      {
24444         ELM_FLIP_DIRECTION_UP, /**< Allows interaction with the top of the widget */
24445         ELM_FLIP_DIRECTION_DOWN, /**< Allows interaction with the bottom of the widget */
24446         ELM_FLIP_DIRECTION_LEFT, /**< Allows interaction with the left portion of the widget */
24447         ELM_FLIP_DIRECTION_RIGHT /**< Allows interaction with the right portion of the widget */
24448      } Elm_Flip_Direction;
24449    /**
24450     * @brief Add a new flip to the parent
24451     *
24452     * @param parent The parent object
24453     * @return The new object or NULL if it cannot be created
24454     */
24455    EAPI Evas_Object *elm_flip_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24456    /**
24457     * @brief Set the front content of the flip widget.
24458     *
24459     * @param obj The flip object
24460     * @param content The new front content object
24461     *
24462     * Once the content object is set, a previously set one will be deleted.
24463     * If you want to keep that old content object, use the
24464     * elm_flip_content_front_unset() function.
24465     */
24466    EAPI void         elm_flip_content_front_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24467    /**
24468     * @brief Set the back content of the flip widget.
24469     *
24470     * @param obj The flip object
24471     * @param content The new back content object
24472     *
24473     * Once the content object is set, a previously set one will be deleted.
24474     * If you want to keep that old content object, use the
24475     * elm_flip_content_back_unset() function.
24476     */
24477    EAPI void         elm_flip_content_back_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24478    /**
24479     * @brief Get the front content used for the flip
24480     *
24481     * @param obj The flip object
24482     * @return The front content object that is being used
24483     *
24484     * Return the front content object which is set for this widget.
24485     */
24486    EAPI Evas_Object *elm_flip_content_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24487    /**
24488     * @brief Get the back content used for the flip
24489     *
24490     * @param obj The flip object
24491     * @return The back content object that is being used
24492     *
24493     * Return the back content object which is set for this widget.
24494     */
24495    EAPI Evas_Object *elm_flip_content_back_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24496    /**
24497     * @brief Unset the front content used for the flip
24498     *
24499     * @param obj The flip object
24500     * @return The front content object that was being used
24501     *
24502     * Unparent and return the front content object which was set for this widget.
24503     */
24504    EAPI Evas_Object *elm_flip_content_front_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24505    /**
24506     * @brief Unset the back content used for the flip
24507     *
24508     * @param obj The flip object
24509     * @return The back content object that was being used
24510     *
24511     * Unparent and return the back content object which was set for this widget.
24512     */
24513    EAPI Evas_Object *elm_flip_content_back_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24514    /**
24515     * @brief Get flip front visibility state
24516     *
24517     * @param obj The flip objct
24518     * @return EINA_TRUE if front front is showing, EINA_FALSE if the back is
24519     * showing.
24520     */
24521    EAPI Eina_Bool    elm_flip_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24522    /**
24523     * @brief Set flip perspective
24524     *
24525     * @param obj The flip object
24526     * @param foc The coordinate to set the focus on
24527     * @param x The X coordinate
24528     * @param y The Y coordinate
24529     *
24530     * @warning This function currently does nothing.
24531     */
24532    EAPI void         elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
24533    /**
24534     * @brief Runs the flip animation
24535     *
24536     * @param obj The flip object
24537     * @param mode The mode type
24538     *
24539     * Flips the front and back contents using the @p mode animation. This
24540     * efectively hides the currently visible content and shows the hidden one.
24541     *
24542     * There a number of possible animations to use for the flipping:
24543     * @li ELM_FLIP_ROTATE_X_CENTER_AXIS - Rotate the currently visible content
24544     * around a horizontal axis in the middle of its height, the other content
24545     * is shown as the other side of the flip.
24546     * @li ELM_FLIP_ROTATE_Y_CENTER_AXIS - Rotate the currently visible content
24547     * around a vertical axis in the middle of its width, the other content is
24548     * shown as the other side of the flip.
24549     * @li ELM_FLIP_ROTATE_XZ_CENTER_AXIS - Rotate the currently visible content
24550     * around a diagonal axis in the middle of its width, the other content is
24551     * shown as the other side of the flip.
24552     * @li ELM_FLIP_ROTATE_YZ_CENTER_AXIS - Rotate the currently visible content
24553     * around a diagonal axis in the middle of its height, the other content is
24554     * shown as the other side of the flip.
24555     * @li ELM_FLIP_CUBE_LEFT - Rotate the currently visible content to the left
24556     * as if the flip was a cube, the other content is show as the right face of
24557     * the cube.
24558     * @li ELM_FLIP_CUBE_RIGHT - Rotate the currently visible content to the
24559     * right as if the flip was a cube, the other content is show as the left
24560     * face of the cube.
24561     * @li ELM_FLIP_CUBE_UP - Rotate the currently visible content up as if the
24562     * flip was a cube, the other content is show as the bottom face of the cube.
24563     * @li ELM_FLIP_CUBE_DOWN - Rotate the currently visible content down as if
24564     * the flip was a cube, the other content is show as the upper face of the
24565     * cube.
24566     * @li ELM_FLIP_PAGE_LEFT - Move the currently visible content to the left as
24567     * if the flip was a book, the other content is shown as the page below that.
24568     * @li ELM_FLIP_PAGE_RIGHT - Move the currently visible content to the right
24569     * as if the flip was a book, the other content is shown as the page below
24570     * that.
24571     * @li ELM_FLIP_PAGE_UP - Move the currently visible content up as if the
24572     * flip was a book, the other content is shown as the page below that.
24573     * @li ELM_FLIP_PAGE_DOWN - Move the currently visible content down as if the
24574     * flip was a book, the other content is shown as the page below that.
24575     *
24576     * @image html elm_flip.png
24577     * @image latex elm_flip.eps width=\textwidth
24578     */
24579    EAPI void         elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode) EINA_ARG_NONNULL(1);
24580    /**
24581     * @brief Set the interactive flip mode
24582     *
24583     * @param obj The flip object
24584     * @param mode The interactive flip mode to use
24585     *
24586     * This sets if the flip should be interactive (allow user to click and
24587     * drag a side of the flip to reveal the back page and cause it to flip).
24588     * By default a flip is not interactive. You may also need to set which
24589     * sides of the flip are "active" for flipping and how much space they use
24590     * (a minimum of a finger size) with elm_flip_interacton_direction_enabled_set()
24591     * and elm_flip_interacton_direction_hitsize_set()
24592     *
24593     * The four avilable mode of interaction are:
24594     * @li ELM_FLIP_INTERACTION_NONE - No interaction is allowed
24595     * @li ELM_FLIP_INTERACTION_ROTATE - Interaction will cause rotate animation
24596     * @li ELM_FLIP_INTERACTION_CUBE - Interaction will cause cube animation
24597     * @li ELM_FLIP_INTERACTION_PAGE - Interaction will cause page animation
24598     *
24599     * @note ELM_FLIP_INTERACTION_ROTATE won't cause
24600     * ELM_FLIP_ROTATE_XZ_CENTER_AXIS or ELM_FLIP_ROTATE_YZ_CENTER_AXIS to
24601     * happen, those can only be acheived with elm_flip_go();
24602     */
24603    EAPI void         elm_flip_interaction_set(Evas_Object *obj, Elm_Flip_Interaction mode);
24604    /**
24605     * @brief Get the interactive flip mode
24606     *
24607     * @param obj The flip object
24608     * @return The interactive flip mode
24609     *
24610     * Returns the interactive flip mode set by elm_flip_interaction_set()
24611     */
24612    EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Evas_Object *obj);
24613    /**
24614     * @brief Set which directions of the flip respond to interactive flip
24615     *
24616     * @param obj The flip object
24617     * @param dir The direction to change
24618     * @param enabled If that direction is enabled or not
24619     *
24620     * By default all directions are disabled, so you may want to enable the
24621     * desired directions for flipping if you need interactive flipping. You must
24622     * call this function once for each direction that should be enabled.
24623     *
24624     * @see elm_flip_interaction_set()
24625     */
24626    EAPI void         elm_flip_interacton_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled);
24627    /**
24628     * @brief Get the enabled state of that flip direction
24629     *
24630     * @param obj The flip object
24631     * @param dir The direction to check
24632     * @return If that direction is enabled or not
24633     *
24634     * Gets the enabled state set by elm_flip_interacton_direction_enabled_set()
24635     *
24636     * @see elm_flip_interaction_set()
24637     */
24638    EAPI Eina_Bool    elm_flip_interacton_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir);
24639    /**
24640     * @brief Set the amount of the flip that is sensitive to interactive flip
24641     *
24642     * @param obj The flip object
24643     * @param dir The direction to modify
24644     * @param hitsize The amount of that dimension (0.0 to 1.0) to use
24645     *
24646     * Set the amount of the flip that is sensitive to interactive flip, with 0
24647     * representing no area in the flip and 1 representing the entire flip. There
24648     * is however a consideration to be made in that the area will never be
24649     * smaller than the finger size set(as set in your Elementary configuration).
24650     *
24651     * @see elm_flip_interaction_set()
24652     */
24653    EAPI void         elm_flip_interacton_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize);
24654    /**
24655     * @brief Get the amount of the flip that is sensitive to interactive flip
24656     *
24657     * @param obj The flip object
24658     * @param dir The direction to check
24659     * @return The size set for that direction
24660     *
24661     * Returns the amount os sensitive area set by
24662     * elm_flip_interacton_direction_hitsize_set().
24663     */
24664    EAPI double       elm_flip_interacton_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir);
24665    /**
24666     * @}
24667     */
24668
24669    /* scrolledentry */
24670    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24671    EINA_DEPRECATED EAPI void         elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
24672    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24673    EINA_DEPRECATED EAPI void         elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
24674    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24675    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
24676    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24677    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
24678    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24679    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24680    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
24681    EINA_DEPRECATED EAPI void         elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
24682    EINA_DEPRECATED EAPI void         elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
24683    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24684    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
24685    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
24686    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
24687    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
24688    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
24689    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
24690    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24691    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24692    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24693    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24694    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
24695    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
24696    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24697    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24698    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24699    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
24700    EINA_DEPRECATED EAPI int          elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24701    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
24702    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
24703    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
24704    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
24705    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);
24706    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
24707    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24708    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);
24709    EINA_DEPRECATED EAPI void         elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
24710    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);
24711    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1, 2);
24712    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24713    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24714    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
24715    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1, 2);
24716    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24717    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24718    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
24719    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);
24720    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);
24721    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);
24722    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);
24723    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);
24724    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);
24725    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
24726    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
24727    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
24728    EINA_DEPRECATED EAPI void         elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
24729    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24730    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
24731    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
24732
24733    /**
24734     * @defgroup Conformant Conformant
24735     * @ingroup Elementary
24736     *
24737     * @image html img/widget/conformant/preview-00.png
24738     * @image latex img/widget/conformant/preview-00.eps width=\textwidth
24739     *
24740     * @image html img/conformant.png
24741     * @image latex img/conformant.eps width=\textwidth
24742     *
24743     * The aim is to provide a widget that can be used in elementary apps to
24744     * account for space taken up by the indicator, virtual keypad & softkey
24745     * windows when running the illume2 module of E17.
24746     *
24747     * So conformant content will be sized and positioned considering the
24748     * space required for such stuff, and when they popup, as a keyboard
24749     * shows when an entry is selected, conformant content won't change.
24750     *
24751     * Available styles for it:
24752     * - @c "default"
24753     *
24754     * Default contents parts of the conformant widget that you can use for are:
24755     * @li "default" - A content of the conformant
24756     *
24757     * See how to use this widget in this example:
24758     * @ref conformant_example
24759     */
24760
24761    /**
24762     * @addtogroup Conformant
24763     * @{
24764     */
24765
24766    /**
24767     * Add a new conformant widget to the given parent Elementary
24768     * (container) object.
24769     *
24770     * @param parent The parent object.
24771     * @return A new conformant widget handle or @c NULL, on errors.
24772     *
24773     * This function inserts a new conformant widget on the canvas.
24774     *
24775     * @ingroup Conformant
24776     */
24777    EAPI Evas_Object *elm_conformant_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24778
24779    /**
24780     * Set the content of the conformant widget.
24781     *
24782     * @param obj The conformant object.
24783     * @param content The content to be displayed by the conformant.
24784     *
24785     * Content will be sized and positioned considering the space required
24786     * to display a virtual keyboard. So it won't fill all the conformant
24787     * size. This way is possible to be sure that content won't resize
24788     * or be re-positioned after the keyboard is displayed.
24789     *
24790     * Once the content object is set, a previously set one will be deleted.
24791     * If you want to keep that old content object, use the
24792     * elm_object_content_unset() function.
24793     *
24794     * @see elm_object_content_unset()
24795     * @see elm_object_content_get()
24796     *
24797     * @deprecated use elm_object_content_set() instead
24798     *
24799     * @ingroup Conformant
24800     */
24801    EINA_DEPRECATED EAPI void         elm_conformant_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24802
24803    /**
24804     * Get the content of the conformant widget.
24805     *
24806     * @param obj The conformant object.
24807     * @return The content that is being used.
24808     *
24809     * Return the content object which is set for this widget.
24810     * It won't be unparent from conformant. For that, use
24811     * elm_object_content_unset().
24812     *
24813     * @see elm_object_content_set().
24814     * @see elm_object_content_unset()
24815     *
24816     * @deprecated use elm_object_content_get() instead
24817     *
24818     * @ingroup Conformant
24819     */
24820    EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24821
24822    /**
24823     * Unset the content of the conformant widget.
24824     *
24825     * @param obj The conformant object.
24826     * @return The content that was being used.
24827     *
24828     * Unparent and return the content object which was set for this widget.
24829     *
24830     * @see elm_object_content_set().
24831     *
24832     * @deprecated use elm_object_content_unset() instead
24833     *
24834     * @ingroup Conformant
24835     */
24836    EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24837
24838    /**
24839     * Returns the Evas_Object that represents the content area.
24840     *
24841     * @param obj The conformant object.
24842     * @return The content area of the widget.
24843     *
24844     * @ingroup Conformant
24845     */
24846    EAPI Evas_Object *elm_conformant_content_area_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24847
24848    /**
24849     * @}
24850     */
24851
24852    /**
24853     * @defgroup Mapbuf Mapbuf
24854     * @ingroup Elementary
24855     *
24856     * @image html img/widget/mapbuf/preview-00.png
24857     * @image latex img/widget/mapbuf/preview-00.eps width=\textwidth
24858     *
24859     * This holds one content object and uses an Evas Map of transformation
24860     * points to be later used with this content. So the content will be
24861     * moved, resized, etc as a single image. So it will improve performance
24862     * when you have a complex interafce, with a lot of elements, and will
24863     * need to resize or move it frequently (the content object and its
24864     * children).
24865     *
24866     * Default contents parts of the mapbuf widget that you can use for are:
24867     * @li "default" - A content of the mapbuf
24868     *
24869     * To enable map, elm_mapbuf_enabled_set() should be used.
24870     * 
24871     * See how to use this widget in this example:
24872     * @ref mapbuf_example
24873     */
24874
24875    /**
24876     * @addtogroup Mapbuf
24877     * @{
24878     */
24879
24880    /**
24881     * Add a new mapbuf widget to the given parent Elementary
24882     * (container) object.
24883     *
24884     * @param parent The parent object.
24885     * @return A new mapbuf widget handle or @c NULL, on errors.
24886     *
24887     * This function inserts a new mapbuf widget on the canvas.
24888     *
24889     * @ingroup Mapbuf
24890     */
24891    EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24892
24893    /**
24894     * Set the content of the mapbuf.
24895     *
24896     * @param obj The mapbuf object.
24897     * @param content The content that will be filled in this mapbuf object.
24898     *
24899     * Once the content object is set, a previously set one will be deleted.
24900     * If you want to keep that old content object, use the
24901     * elm_mapbuf_content_unset() function.
24902     *
24903     * To enable map, elm_mapbuf_enabled_set() should be used.
24904     *
24905     * @deprecated use elm_object_content_set() instead
24906     *
24907     * @ingroup Mapbuf
24908     */
24909    EINA_DEPRECATED EAPI void         elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24910
24911    /**
24912     * Get the content of the mapbuf.
24913     *
24914     * @param obj The mapbuf object.
24915     * @return The content that is being used.
24916     *
24917     * Return the content object which is set for this widget.
24918     *
24919     * @see elm_mapbuf_content_set() for details.
24920     *
24921     * @deprecated use elm_object_content_get() instead
24922     *
24923     * @ingroup Mapbuf
24924     */
24925    EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24926
24927    /**
24928     * Unset the content of the mapbuf.
24929     *
24930     * @param obj The mapbuf object.
24931     * @return The content that was being used.
24932     *
24933     * Unparent and return the content object which was set for this widget.
24934     *
24935     * @see elm_mapbuf_content_set() for details.
24936     *
24937     * @deprecated use elm_object_content_unset() instead
24938     *
24939     * @ingroup Mapbuf
24940     */
24941    EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24942
24943    /**
24944     * Enable or disable the map.
24945     *
24946     * @param obj The mapbuf object.
24947     * @param enabled @c EINA_TRUE to enable map or @c EINA_FALSE to disable it.
24948     *
24949     * This enables the map that is set or disables it. On enable, the object
24950     * geometry will be saved, and the new geometry will change (position and
24951     * size) to reflect the map geometry set.
24952     *
24953     * Also, when enabled, alpha and smooth states will be used, so if the
24954     * content isn't solid, alpha should be enabled, for example, otherwise
24955     * a black retangle will fill the content.
24956     *
24957     * When disabled, the stored map will be freed and geometry prior to
24958     * enabling the map will be restored.
24959     *
24960     * It's disabled by default.
24961     *
24962     * @see elm_mapbuf_alpha_set()
24963     * @see elm_mapbuf_smooth_set()
24964     *
24965     * @ingroup Mapbuf
24966     */
24967    EAPI void         elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
24968
24969    /**
24970     * Get a value whether map is enabled or not.
24971     *
24972     * @param obj The mapbuf object.
24973     * @return @c EINA_TRUE means map is enabled. @c EINA_FALSE indicates
24974     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
24975     *
24976     * @see elm_mapbuf_enabled_set() for details.
24977     *
24978     * @ingroup Mapbuf
24979     */
24980    EAPI Eina_Bool    elm_mapbuf_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24981
24982    /**
24983     * Enable or disable smooth map rendering.
24984     *
24985     * @param obj The mapbuf object.
24986     * @param smooth @c EINA_TRUE to enable smooth map rendering or @c EINA_FALSE
24987     * to disable it.
24988     *
24989     * This sets smoothing for map rendering. If the object is a type that has
24990     * its own smoothing settings, then both the smooth settings for this object
24991     * and the map must be turned off.
24992     *
24993     * By default smooth maps are enabled.
24994     *
24995     * @ingroup Mapbuf
24996     */
24997    EAPI void         elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
24998
24999    /**
25000     * Get a value whether smooth map rendering is enabled or not.
25001     *
25002     * @param obj The mapbuf object.
25003     * @return @c EINA_TRUE means smooth map rendering is enabled. @c EINA_FALSE
25004     * indicates it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
25005     *
25006     * @see elm_mapbuf_smooth_set() for details.
25007     *
25008     * @ingroup Mapbuf
25009     */
25010    EAPI Eina_Bool    elm_mapbuf_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25011
25012    /**
25013     * Set or unset alpha flag for map rendering.
25014     *
25015     * @param obj The mapbuf object.
25016     * @param alpha @c EINA_TRUE to enable alpha blending or @c EINA_FALSE
25017     * to disable it.
25018     *
25019     * This sets alpha flag for map rendering. If the object is a type that has
25020     * its own alpha settings, then this will take precedence. Only image objects
25021     * have this currently. It stops alpha blending of the map area, and is
25022     * useful if you know the object and/or all sub-objects is 100% solid.
25023     *
25024     * Alpha is enabled by default.
25025     *
25026     * @ingroup Mapbuf
25027     */
25028    EAPI void         elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
25029
25030    /**
25031     * Get a value whether alpha blending is enabled or not.
25032     *
25033     * @param obj The mapbuf object.
25034     * @return @c EINA_TRUE means alpha blending is enabled. @c EINA_FALSE
25035     * indicates it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
25036     *
25037     * @see elm_mapbuf_alpha_set() for details.
25038     *
25039     * @ingroup Mapbuf
25040     */
25041    EAPI Eina_Bool    elm_mapbuf_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25042
25043    /**
25044     * @}
25045     */
25046
25047    /**
25048     * @defgroup Flipselector Flip Selector
25049     *
25050     * @image html img/widget/flipselector/preview-00.png
25051     * @image latex img/widget/flipselector/preview-00.eps
25052     *
25053     * A flip selector is a widget to show a set of @b text items, one
25054     * at a time, with the same sheet switching style as the @ref Clock
25055     * "clock" widget, when one changes the current displaying sheet
25056     * (thus, the "flip" in the name).
25057     *
25058     * User clicks to flip sheets which are @b held for some time will
25059     * make the flip selector to flip continuosly and automatically for
25060     * the user. The interval between flips will keep growing in time,
25061     * so that it helps the user to reach an item which is distant from
25062     * the current selection.
25063     *
25064     * Smart callbacks one can register to:
25065     * - @c "selected" - when the widget's selected text item is changed
25066     * - @c "overflowed" - when the widget's current selection is changed
25067     *   from the first item in its list to the last
25068     * - @c "underflowed" - when the widget's current selection is changed
25069     *   from the last item in its list to the first
25070     *
25071     * Available styles for it:
25072     * - @c "default"
25073     *
25074          * To set/get the label of the flipselector item, you can use
25075          * elm_object_item_text_set/get APIs.
25076          * Once the text is set, a previously set one will be deleted.
25077          * 
25078     * Here is an example on its usage:
25079     * @li @ref flipselector_example
25080     */
25081
25082    /**
25083     * @addtogroup Flipselector
25084     * @{
25085     */
25086
25087    /**
25088     * Add a new flip selector widget to the given parent Elementary
25089     * (container) widget
25090     *
25091     * @param parent The parent object
25092     * @return a new flip selector widget handle or @c NULL, on errors
25093     *
25094     * This function inserts a new flip selector widget on the canvas.
25095     *
25096     * @ingroup Flipselector
25097     */
25098    EAPI Evas_Object               *elm_flipselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25099
25100    /**
25101     * Programmatically select the next item of a flip selector widget
25102     *
25103     * @param obj The flipselector object
25104     *
25105     * @note The selection will be animated. Also, if it reaches the
25106     * end of its list of member items, it will continue with the first
25107     * one onwards.
25108     *
25109     * @ingroup Flipselector
25110     */
25111    EAPI void                       elm_flipselector_flip_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
25112
25113    /**
25114     * Programmatically select the previous item of a flip selector
25115     * widget
25116     *
25117     * @param obj The flipselector object
25118     *
25119     * @note The selection will be animated.  Also, if it reaches the
25120     * beginning of its list of member items, it will continue with the
25121     * last one backwards.
25122     *
25123     * @ingroup Flipselector
25124     */
25125    EAPI void                       elm_flipselector_flip_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
25126
25127    /**
25128     * Append a (text) item to a flip selector widget
25129     *
25130     * @param obj The flipselector object
25131     * @param label The (text) label of the new item
25132     * @param func Convenience callback function to take place when
25133     * item is selected
25134     * @param data Data passed to @p func, above
25135     * @return A handle to the item added or @c NULL, on errors
25136     *
25137     * The widget's list of labels to show will be appended with the
25138     * given value. If the user wishes so, a callback function pointer
25139     * can be passed, which will get called when this same item is
25140     * selected.
25141     *
25142     * @note The current selection @b won't be modified by appending an
25143     * element to the list.
25144     *
25145     * @note The maximum length of the text label is going to be
25146     * determined <b>by the widget's theme</b>. Strings larger than
25147     * that value are going to be @b truncated.
25148     *
25149     * @ingroup Flipselector
25150     */
25151    EAPI Elm_Object_Item     *elm_flipselector_item_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
25152
25153    /**
25154     * Prepend a (text) item to a flip selector widget
25155     *
25156     * @param obj The flipselector object
25157     * @param label The (text) label of the new item
25158     * @param func Convenience callback function to take place when
25159     * item is selected
25160     * @param data Data passed to @p func, above
25161     * @return A handle to the item added or @c NULL, on errors
25162     *
25163     * The widget's list of labels to show will be prepended with the
25164     * given value. If the user wishes so, a callback function pointer
25165     * can be passed, which will get called when this same item is
25166     * selected.
25167     *
25168     * @note The current selection @b won't be modified by prepending
25169     * an element to the list.
25170     *
25171     * @note The maximum length of the text label is going to be
25172     * determined <b>by the widget's theme</b>. Strings larger than
25173     * that value are going to be @b truncated.
25174     *
25175     * @ingroup Flipselector
25176     */
25177    EAPI Elm_Object_Item     *elm_flipselector_item_prepend(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
25178
25179    /**
25180     * Get the internal list of items in a given flip selector widget.
25181     *
25182     * @param obj The flipselector object
25183     * @return The list of items (#Elm_Object_Item as data) or
25184     * @c NULL on errors.
25185     *
25186     * This list is @b not to be modified in any way and must not be
25187     * freed. Use the list members with functions like
25188     * elm_object_item_text_set(),
25189     * elm_object_item_text_get(),
25190     * elm_flipselector_item_del(),
25191     * elm_flipselector_item_selected_get(),
25192     * elm_flipselector_item_selected_set().
25193     *
25194     * @warning This list is only valid until @p obj object's internal
25195     * items list is changed. It should be fetched again with another
25196     * call to this function when changes happen.
25197     *
25198     * @ingroup Flipselector
25199     */
25200    EAPI const Eina_List           *elm_flipselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25201
25202    /**
25203     * Get the first item in the given flip selector widget's list of
25204     * items.
25205     *
25206     * @param obj The flipselector object
25207     * @return The first item or @c NULL, if it has no items (and on
25208     * errors)
25209     *
25210     * @see elm_flipselector_item_append()
25211     * @see elm_flipselector_last_item_get()
25212     *
25213     * @ingroup Flipselector
25214     */
25215    EAPI Elm_Object_Item     *elm_flipselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25216
25217    /**
25218     * Get the last item in the given flip selector widget's list of
25219     * items.
25220     *
25221     * @param obj The flipselector object
25222     * @return The last item or @c NULL, if it has no items (and on
25223     * errors)
25224     *
25225     * @see elm_flipselector_item_prepend()
25226     * @see elm_flipselector_first_item_get()
25227     *
25228     * @ingroup Flipselector
25229     */
25230    EAPI Elm_Object_Item     *elm_flipselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25231
25232    /**
25233     * Get the currently selected item in a flip selector widget.
25234     *
25235     * @param obj The flipselector object
25236     * @return The selected item or @c NULL, if the widget has no items
25237     * (and on erros)
25238     *
25239     * @ingroup Flipselector
25240     */
25241    EAPI Elm_Object_Item     *elm_flipselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25242
25243    /**
25244     * Set whether a given flip selector widget's item should be the
25245     * currently selected one.
25246     *
25247     * @param it The flip selector item
25248     * @param selected @c EINA_TRUE to select it, @c EINA_FALSE to unselect.
25249     *
25250     * This sets whether @p item is or not the selected (thus, under
25251     * display) one. If @p item is different than one under display,
25252     * the latter will be unselected. If the @p item is set to be
25253     * unselected, on the other hand, the @b first item in the widget's
25254     * internal members list will be the new selected one.
25255     *
25256     * @see elm_flipselector_item_selected_get()
25257     *
25258     * @ingroup Flipselector
25259     */
25260    EAPI void                       elm_flipselector_item_selected_set(Elm_Object_Item *it, Eina_Bool selected) EINA_ARG_NONNULL(1);
25261
25262    /**
25263     * Get whether a given flip selector widget's item is the currently
25264     * selected one.
25265     *
25266     * @param it The flip selector item
25267     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
25268     * (or on errors).
25269     *
25270     * @see elm_flipselector_item_selected_set()
25271     *
25272     * @ingroup Flipselector
25273     */
25274    EAPI Eina_Bool                  elm_flipselector_item_selected_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
25275
25276    /**
25277     * Delete a given item from a flip selector widget.
25278     *
25279     * @param it The item to delete
25280     *
25281     * @ingroup Flipselector
25282     */
25283    EAPI void                       elm_flipselector_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
25284
25285    /**
25286     * Get the label of a given flip selector widget's item.
25287     *
25288     * @param it The item to get label from
25289     * @return The text label of @p item or @c NULL, on errors
25290     *
25291     * @see elm_object_item_text_set()
25292     *
25293     * @deprecated see elm_object_item_text_get() instead
25294     * @ingroup Flipselector
25295     */
25296    EINA_DEPRECATED EAPI const char                *elm_flipselector_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
25297
25298    /**
25299     * Set the label of a given flip selector widget's item.
25300     *
25301     * @param it The item to set label on
25302     * @param label The text label string, in UTF-8 encoding
25303     *
25304     * @see elm_object_item_text_get()
25305     *
25306          * @deprecated see elm_object_item_text_set() instead
25307     * @ingroup Flipselector
25308     */
25309    EINA_DEPRECATED EAPI void                       elm_flipselector_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
25310
25311    /**
25312     * Gets the item before @p item in a flip selector widget's
25313     * internal list of items.
25314     *
25315     * @param it The item to fetch previous from
25316     * @return The item before the @p item, in its parent's list. If
25317     *         there is no previous item for @p item or there's an
25318     *         error, @c NULL is returned.
25319     *
25320     * @see elm_flipselector_item_next_get()
25321     *
25322     * @ingroup Flipselector
25323     */
25324    EAPI Elm_Object_Item     *elm_flipselector_item_prev_get(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
25325
25326    /**
25327     * Gets the item after @p item in a flip selector widget's
25328     * internal list of items.
25329     *
25330     * @param it The item to fetch next from
25331     * @return The item after the @p item, in its parent's list. If
25332     *         there is no next item for @p item or there's an
25333     *         error, @c NULL is returned.
25334     *
25335     * @see elm_flipselector_item_next_get()
25336     *
25337     * @ingroup Flipselector
25338     */
25339    EAPI Elm_Object_Item     *elm_flipselector_item_next_get(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
25340
25341    /**
25342     * Set the interval on time updates for an user mouse button hold
25343     * on a flip selector widget.
25344     *
25345     * @param obj The flip selector object
25346     * @param interval The (first) interval value in seconds
25347     *
25348     * This interval value is @b decreased while the user holds the
25349     * mouse pointer either flipping up or flipping doww a given flip
25350     * selector.
25351     *
25352     * This helps the user to get to a given item distant from the
25353     * current one easier/faster, as it will start to flip quicker and
25354     * quicker on mouse button holds.
25355     *
25356     * The calculation for the next flip interval value, starting from
25357     * the one set with this call, is the previous interval divided by
25358     * 1.05, so it decreases a little bit.
25359     *
25360     * The default starting interval value for automatic flips is
25361     * @b 0.85 seconds.
25362     *
25363     * @see elm_flipselector_interval_get()
25364     *
25365     * @ingroup Flipselector
25366     */
25367    EAPI void                       elm_flipselector_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
25368
25369    /**
25370     * Get the interval on time updates for an user mouse button hold
25371     * on a flip selector widget.
25372     *
25373     * @param obj The flip selector object
25374     * @return The (first) interval value, in seconds, set on it
25375     *
25376     * @see elm_flipselector_interval_set() for more details
25377     *
25378     * @ingroup Flipselector
25379     */
25380    EAPI double                     elm_flipselector_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25381    /**
25382     * @}
25383     */
25384
25385    /**
25386     * @addtogroup Calendar
25387     * @{
25388     */
25389
25390    /**
25391     * @enum _Elm_Calendar_Mark_Repeat
25392     * @typedef Elm_Calendar_Mark_Repeat
25393     *
25394     * Event periodicity, used to define if a mark should be repeated
25395     * @b beyond event's day. It's set when a mark is added.
25396     *
25397     * So, for a mark added to 13th May with periodicity set to WEEKLY,
25398     * there will be marks every week after this date. Marks will be displayed
25399     * at 13th, 20th, 27th, 3rd June ...
25400     *
25401     * Values don't work as bitmask, only one can be choosen.
25402     *
25403     * @see elm_calendar_mark_add()
25404     *
25405     * @ingroup Calendar
25406     */
25407    typedef enum _Elm_Calendar_Mark_Repeat
25408      {
25409         ELM_CALENDAR_UNIQUE, /**< Default value. Marks will be displayed only on event day. */
25410         ELM_CALENDAR_DAILY, /**< Marks will be displayed everyday after event day (inclusive). */
25411         ELM_CALENDAR_WEEKLY, /**< Marks will be displayed every week after event day (inclusive) - i.e. each seven days. */
25412         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*/
25413         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. */
25414      } Elm_Calendar_Mark_Repeat;
25415
25416    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(). */
25417
25418    /**
25419     * Add a new calendar widget to the given parent Elementary
25420     * (container) object.
25421     *
25422     * @param parent The parent object.
25423     * @return a new calendar widget handle or @c NULL, on errors.
25424     *
25425     * This function inserts a new calendar widget on the canvas.
25426     *
25427     * @ref calendar_example_01
25428     *
25429     * @ingroup Calendar
25430     */
25431    EAPI Evas_Object       *elm_calendar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25432
25433    /**
25434     * Get weekdays names displayed by the calendar.
25435     *
25436     * @param obj The calendar object.
25437     * @return Array of seven strings to be used as weekday names.
25438     *
25439     * By default, weekdays abbreviations get from system are displayed:
25440     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
25441     * The first string is related to Sunday, the second to Monday...
25442     *
25443     * @see elm_calendar_weekdays_name_set()
25444     *
25445     * @ref calendar_example_05
25446     *
25447     * @ingroup Calendar
25448     */
25449    EAPI const char       **elm_calendar_weekdays_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25450
25451    /**
25452     * Set weekdays names to be displayed by the calendar.
25453     *
25454     * @param obj The calendar object.
25455     * @param weekdays Array of seven strings to be used as weekday names.
25456     * @warning It must have 7 elements, or it will access invalid memory.
25457     * @warning The strings must be NULL terminated ('@\0').
25458     *
25459     * By default, weekdays abbreviations get from system are displayed:
25460     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
25461     *
25462     * The first string should be related to Sunday, the second to Monday...
25463     *
25464     * The usage should be like this:
25465     * @code
25466     *   const char *weekdays[] =
25467     *   {
25468     *      "Sunday", "Monday", "Tuesday", "Wednesday",
25469     *      "Thursday", "Friday", "Saturday"
25470     *   };
25471     *   elm_calendar_weekdays_names_set(calendar, weekdays);
25472     * @endcode
25473     *
25474     * @see elm_calendar_weekdays_name_get()
25475     *
25476     * @ref calendar_example_02
25477     *
25478     * @ingroup Calendar
25479     */
25480    EAPI void               elm_calendar_weekdays_names_set(Evas_Object *obj, const char *weekdays[]) EINA_ARG_NONNULL(1, 2);
25481
25482    /**
25483     * Set the minimum and maximum values for the year
25484     *
25485     * @param obj The calendar object
25486     * @param min The minimum year, greater than 1901;
25487     * @param max The maximum year;
25488     *
25489     * Maximum must be greater than minimum, except if you don't wan't to set
25490     * maximum year.
25491     * Default values are 1902 and -1.
25492     *
25493     * If the maximum year is a negative value, it will be limited depending
25494     * on the platform architecture (year 2037 for 32 bits);
25495     *
25496     * @see elm_calendar_min_max_year_get()
25497     *
25498     * @ref calendar_example_03
25499     *
25500     * @ingroup Calendar
25501     */
25502    EAPI void               elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max) EINA_ARG_NONNULL(1);
25503
25504    /**
25505     * Get the minimum and maximum values for the year
25506     *
25507     * @param obj The calendar object.
25508     * @param min The minimum year.
25509     * @param max The maximum year.
25510     *
25511     * Default values are 1902 and -1.
25512     *
25513     * @see elm_calendar_min_max_year_get() for more details.
25514     *
25515     * @ref calendar_example_05
25516     *
25517     * @ingroup Calendar
25518     */
25519    EAPI void               elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max) EINA_ARG_NONNULL(1);
25520
25521    /**
25522     * Enable or disable day selection
25523     *
25524     * @param obj The calendar object.
25525     * @param enabled @c EINA_TRUE to enable selection or @c EINA_FALSE to
25526     * disable it.
25527     *
25528     * Enabled by default. If disabled, the user still can select months,
25529     * but not days. Selected days are highlighted on calendar.
25530     * It should be used if you won't need such selection for the widget usage.
25531     *
25532     * When a day is selected, or month is changed, smart callbacks for
25533     * signal "changed" will be called.
25534     *
25535     * @see elm_calendar_day_selection_enable_get()
25536     *
25537     * @ref calendar_example_04
25538     *
25539     * @ingroup Calendar
25540     */
25541    EAPI void               elm_calendar_day_selection_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
25542
25543    /**
25544     * Get a value whether day selection is enabled or not.
25545     *
25546     * @see elm_calendar_day_selection_enable_set() for details.
25547     *
25548     * @param obj The calendar object.
25549     * @return EINA_TRUE means day selection is enabled. EINA_FALSE indicates
25550     * it's disabled. If @p obj is NULL, EINA_FALSE is returned.
25551     *
25552     * @ref calendar_example_05
25553     *
25554     * @ingroup Calendar
25555     */
25556    EAPI Eina_Bool          elm_calendar_day_selection_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25557
25558
25559    /**
25560     * Set selected date to be highlighted on calendar.
25561     *
25562     * @param obj The calendar object.
25563     * @param selected_time A @b tm struct to represent the selected date.
25564     *
25565     * Set the selected date, changing the displayed month if needed.
25566     * Selected date changes when the user goes to next/previous month or
25567     * select a day pressing over it on calendar.
25568     *
25569     * @see elm_calendar_selected_time_get()
25570     *
25571     * @ref calendar_example_04
25572     *
25573     * @ingroup Calendar
25574     */
25575    EAPI void               elm_calendar_selected_time_set(Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1);
25576
25577    /**
25578     * Get selected date.
25579     *
25580     * @param obj The calendar object
25581     * @param selected_time A @b tm struct to point to selected date
25582     * @return EINA_FALSE means an error ocurred and returned time shouldn't
25583     * be considered.
25584     *
25585     * Get date selected by the user or set by function
25586     * elm_calendar_selected_time_set().
25587     * Selected date changes when the user goes to next/previous month or
25588     * select a day pressing over it on calendar.
25589     *
25590     * @see elm_calendar_selected_time_get()
25591     *
25592     * @ref calendar_example_05
25593     *
25594     * @ingroup Calendar
25595     */
25596    EAPI Eina_Bool          elm_calendar_selected_time_get(const Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1, 2);
25597
25598    /**
25599     * Set a function to format the string that will be used to display
25600     * month and year;
25601     *
25602     * @param obj The calendar object
25603     * @param format_function Function to set the month-year string given
25604     * the selected date
25605     *
25606     * By default it uses strftime with "%B %Y" format string.
25607     * It should allocate the memory that will be used by the string,
25608     * that will be freed by the widget after usage.
25609     * A pointer to the string and a pointer to the time struct will be provided.
25610     *
25611     * Example:
25612     * @code
25613     * static char *
25614     * _format_month_year(struct tm *selected_time)
25615     * {
25616     *    char buf[32];
25617     *    if (!strftime(buf, sizeof(buf), "%B %Y", selected_time)) return NULL;
25618     *    return strdup(buf);
25619     * }
25620     *
25621     * elm_calendar_format_function_set(calendar, _format_month_year);
25622     * @endcode
25623     *
25624     * @ref calendar_example_02
25625     *
25626     * @ingroup Calendar
25627     */
25628    EAPI void               elm_calendar_format_function_set(Evas_Object *obj, char * (*format_function) (struct tm *stime)) EINA_ARG_NONNULL(1);
25629
25630    /**
25631     * Add a new mark to the calendar
25632     *
25633     * @param obj The calendar object
25634     * @param mark_type A string used to define the type of mark. It will be
25635     * emitted to the theme, that should display a related modification on these
25636     * days representation.
25637     * @param mark_time A time struct to represent the date of inclusion of the
25638     * mark. For marks that repeats it will just be displayed after the inclusion
25639     * date in the calendar.
25640     * @param repeat Repeat the event following this periodicity. Can be a unique
25641     * mark (that don't repeat), daily, weekly, monthly or annually.
25642     * @return The created mark or @p NULL upon failure.
25643     *
25644     * Add a mark that will be drawn in the calendar respecting the insertion
25645     * time and periodicity. It will emit the type as signal to the widget theme.
25646     * Default theme supports "holiday" and "checked", but it can be extended.
25647     *
25648     * It won't immediately update the calendar, drawing the marks.
25649     * For this, call elm_calendar_marks_draw(). However, when user selects
25650     * next or previous month calendar forces marks drawn.
25651     *
25652     * Marks created with this method can be deleted with
25653     * elm_calendar_mark_del().
25654     *
25655     * Example
25656     * @code
25657     * struct tm selected_time;
25658     * time_t current_time;
25659     *
25660     * current_time = time(NULL) + 5 * 84600;
25661     * localtime_r(&current_time, &selected_time);
25662     * elm_calendar_mark_add(cal, "holiday", selected_time,
25663     *     ELM_CALENDAR_ANNUALLY);
25664     *
25665     * current_time = time(NULL) + 1 * 84600;
25666     * localtime_r(&current_time, &selected_time);
25667     * elm_calendar_mark_add(cal, "checked", selected_time, ELM_CALENDAR_UNIQUE);
25668     *
25669     * elm_calendar_marks_draw(cal);
25670     * @endcode
25671     *
25672     * @see elm_calendar_marks_draw()
25673     * @see elm_calendar_mark_del()
25674     *
25675     * @ref calendar_example_06
25676     *
25677     * @ingroup Calendar
25678     */
25679    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);
25680
25681    /**
25682     * Delete mark from the calendar.
25683     *
25684     * @param mark The mark to be deleted.
25685     *
25686     * If deleting all calendar marks is required, elm_calendar_marks_clear()
25687     * should be used instead of getting marks list and deleting each one.
25688     *
25689     * @see elm_calendar_mark_add()
25690     *
25691     * @ref calendar_example_06
25692     *
25693     * @ingroup Calendar
25694     */
25695    EAPI void               elm_calendar_mark_del(Elm_Calendar_Mark *mark) EINA_ARG_NONNULL(1);
25696
25697    /**
25698     * Remove all calendar's marks
25699     *
25700     * @param obj The calendar object.
25701     *
25702     * @see elm_calendar_mark_add()
25703     * @see elm_calendar_mark_del()
25704     *
25705     * @ingroup Calendar
25706     */
25707    EAPI void               elm_calendar_marks_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
25708
25709
25710    /**
25711     * Get a list of all the calendar marks.
25712     *
25713     * @param obj The calendar object.
25714     * @return An @c Eina_List of calendar marks objects, or @c NULL on failure.
25715     *
25716     * @see elm_calendar_mark_add()
25717     * @see elm_calendar_mark_del()
25718     * @see elm_calendar_marks_clear()
25719     *
25720     * @ingroup Calendar
25721     */
25722    EAPI const Eina_List   *elm_calendar_marks_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25723
25724    /**
25725     * Draw calendar marks.
25726     *
25727     * @param obj The calendar object.
25728     *
25729     * Should be used after adding, removing or clearing marks.
25730     * It will go through the entire marks list updating the calendar.
25731     * If lots of marks will be added, add all the marks and then call
25732     * this function.
25733     *
25734     * When the month is changed, i.e. user selects next or previous month,
25735     * marks will be drawed.
25736     *
25737     * @see elm_calendar_mark_add()
25738     * @see elm_calendar_mark_del()
25739     * @see elm_calendar_marks_clear()
25740     *
25741     * @ref calendar_example_06
25742     *
25743     * @ingroup Calendar
25744     */
25745    EAPI void               elm_calendar_marks_draw(Evas_Object *obj) EINA_ARG_NONNULL(1);
25746
25747    /**
25748     * Set a day text color to the same that represents Saturdays.
25749     *
25750     * @param obj The calendar object.
25751     * @param pos The text position. Position is the cell counter, from left
25752     * to right, up to down. It starts on 0 and ends on 41.
25753     *
25754     * @deprecated use elm_calendar_mark_add() instead like:
25755     *
25756     * @code
25757     * struct tm t = { 0, 0, 12, 6, 0, 0, 6, 6, -1 };
25758     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
25759     * @endcode
25760     *
25761     * @see elm_calendar_mark_add()
25762     *
25763     * @ingroup Calendar
25764     */
25765    EINA_DEPRECATED EAPI void               elm_calendar_text_saturday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
25766
25767    /**
25768     * Set a day text color to the same that represents Sundays.
25769     *
25770     * @param obj The calendar object.
25771     * @param pos The text position. Position is the cell counter, from left
25772     * to right, up to down. It starts on 0 and ends on 41.
25773
25774     * @deprecated use elm_calendar_mark_add() instead like:
25775     *
25776     * @code
25777     * struct tm t = { 0, 0, 12, 7, 0, 0, 0, 0, -1 };
25778     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
25779     * @endcode
25780     *
25781     * @see elm_calendar_mark_add()
25782     *
25783     * @ingroup Calendar
25784     */
25785    EINA_DEPRECATED EAPI void               elm_calendar_text_sunday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
25786
25787    /**
25788     * Set a day text color to the same that represents Weekdays.
25789     *
25790     * @param obj The calendar object
25791     * @param pos The text position. Position is the cell counter, from left
25792     * to right, up to down. It starts on 0 and ends on 41.
25793     *
25794     * @deprecated use elm_calendar_mark_add() instead like:
25795     *
25796     * @code
25797     * struct tm t = { 0, 0, 12, 1, 0, 0, 0, 0, -1 };
25798     *
25799     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // monday
25800     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25801     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // tuesday
25802     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25803     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // wednesday
25804     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25805     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // thursday
25806     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25807     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // friday
25808     * @endcode
25809     *
25810     * @see elm_calendar_mark_add()
25811     *
25812     * @ingroup Calendar
25813     */
25814    EINA_DEPRECATED EAPI void               elm_calendar_text_weekday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
25815
25816    /**
25817     * Set the interval on time updates for an user mouse button hold
25818     * on calendar widgets' month selection.
25819     *
25820     * @param obj The calendar object
25821     * @param interval The (first) interval value in seconds
25822     *
25823     * This interval value is @b decreased while the user holds the
25824     * mouse pointer either selecting next or previous month.
25825     *
25826     * This helps the user to get to a given month distant from the
25827     * current one easier/faster, as it will start to change quicker and
25828     * quicker on mouse button holds.
25829     *
25830     * The calculation for the next change interval value, starting from
25831     * the one set with this call, is the previous interval divided by
25832     * 1.05, so it decreases a little bit.
25833     *
25834     * The default starting interval value for automatic changes is
25835     * @b 0.85 seconds.
25836     *
25837     * @see elm_calendar_interval_get()
25838     *
25839     * @ingroup Calendar
25840     */
25841    EAPI void               elm_calendar_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
25842
25843    /**
25844     * Get the interval on time updates for an user mouse button hold
25845     * on calendar widgets' month selection.
25846     *
25847     * @param obj The calendar object
25848     * @return The (first) interval value, in seconds, set on it
25849     *
25850     * @see elm_calendar_interval_set() for more details
25851     *
25852     * @ingroup Calendar
25853     */
25854    EAPI double             elm_calendar_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25855
25856    /**
25857     * @}
25858     */
25859
25860    /**
25861     * @defgroup Diskselector Diskselector
25862     * @ingroup Elementary
25863     *
25864     * @image html img/widget/diskselector/preview-00.png
25865     * @image latex img/widget/diskselector/preview-00.eps
25866     *
25867     * A diskselector is a kind of list widget. It scrolls horizontally,
25868     * and can contain label and icon objects. Three items are displayed
25869     * with the selected one in the middle.
25870     *
25871     * It can act like a circular list with round mode and labels can be
25872     * reduced for a defined length for side items.
25873     *
25874     * Smart callbacks one can listen to:
25875     * - "selected" - when item is selected, i.e. scroller stops.
25876     *
25877     * Available styles for it:
25878     * - @c "default"
25879     *
25880     * List of examples:
25881     * @li @ref diskselector_example_01
25882     * @li @ref diskselector_example_02
25883     */
25884
25885    /**
25886     * @addtogroup Diskselector
25887     * @{
25888     */
25889
25890    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(). */
25891
25892    /**
25893     * Add a new diskselector widget to the given parent Elementary
25894     * (container) object.
25895     *
25896     * @param parent The parent object.
25897     * @return a new diskselector widget handle or @c NULL, on errors.
25898     *
25899     * This function inserts a new diskselector widget on the canvas.
25900     *
25901     * @ingroup Diskselector
25902     */
25903    EAPI Evas_Object           *elm_diskselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25904
25905    /**
25906     * Enable or disable round mode.
25907     *
25908     * @param obj The diskselector object.
25909     * @param round @c EINA_TRUE to enable round mode or @c EINA_FALSE to
25910     * disable it.
25911     *
25912     * Disabled by default. If round mode is enabled the items list will
25913     * work like a circle list, so when the user reaches the last item,
25914     * the first one will popup.
25915     *
25916     * @see elm_diskselector_round_get()
25917     *
25918     * @ingroup Diskselector
25919     */
25920    EAPI void                   elm_diskselector_round_set(Evas_Object *obj, Eina_Bool round) EINA_ARG_NONNULL(1);
25921
25922    /**
25923     * Get a value whether round mode is enabled or not.
25924     *
25925     * @see elm_diskselector_round_set() for details.
25926     *
25927     * @param obj The diskselector object.
25928     * @return @c EINA_TRUE means round mode is enabled. @c EINA_FALSE indicates
25929     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
25930     *
25931     * @ingroup Diskselector
25932     */
25933    EAPI Eina_Bool              elm_diskselector_round_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25934
25935    /**
25936     * Get the side labels max length.
25937     *
25938     * @deprecated use elm_diskselector_side_label_length_get() instead:
25939     *
25940     * @param obj The diskselector object.
25941     * @return The max length defined for side labels, or 0 if not a valid
25942     * diskselector.
25943     *
25944     * @ingroup Diskselector
25945     */
25946    EINA_DEPRECATED EAPI int    elm_diskselector_side_label_lenght_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25947
25948    /**
25949     * Set the side labels max length.
25950     *
25951     * @deprecated use elm_diskselector_side_label_length_set() instead:
25952     *
25953     * @param obj The diskselector object.
25954     * @param len The max length defined for side labels.
25955     *
25956     * @ingroup Diskselector
25957     */
25958    EINA_DEPRECATED EAPI void   elm_diskselector_side_label_lenght_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
25959
25960    /**
25961     * Get the side labels max length.
25962     *
25963     * @see elm_diskselector_side_label_length_set() for details.
25964     *
25965     * @param obj The diskselector object.
25966     * @return The max length defined for side labels, or 0 if not a valid
25967     * diskselector.
25968     *
25969     * @ingroup Diskselector
25970     */
25971    EAPI int                    elm_diskselector_side_label_length_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25972
25973    /**
25974     * Set the side labels max length.
25975     *
25976     * @param obj The diskselector object.
25977     * @param len The max length defined for side labels.
25978     *
25979     * Length is the number of characters of items' label that will be
25980     * visible when it's set on side positions. It will just crop
25981     * the string after defined size. E.g.:
25982     *
25983     * An item with label "January" would be displayed on side position as
25984     * "Jan" if max length is set to 3, or "Janu", if this property
25985     * is set to 4.
25986     *
25987     * When it's selected, the entire label will be displayed, except for
25988     * width restrictions. In this case label will be cropped and "..."
25989     * will be concatenated.
25990     *
25991     * Default side label max length is 3.
25992     *
25993     * This property will be applyed over all items, included before or
25994     * later this function call.
25995     *
25996     * @ingroup Diskselector
25997     */
25998    EAPI void                   elm_diskselector_side_label_length_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
25999
26000    /**
26001     * Set the number of items to be displayed.
26002     *
26003     * @param obj The diskselector object.
26004     * @param num The number of items the diskselector will display.
26005     *
26006     * Default value is 3, and also it's the minimun. If @p num is less
26007     * than 3, it will be set to 3.
26008     *
26009     * Also, it can be set on theme, using data item @c display_item_num
26010     * on group "elm/diskselector/item/X", where X is style set.
26011     * E.g.:
26012     *
26013     * group { name: "elm/diskselector/item/X";
26014     * data {
26015     *     item: "display_item_num" "5";
26016     *     }
26017     *
26018     * @ingroup Diskselector
26019     */
26020    EAPI void                   elm_diskselector_display_item_num_set(Evas_Object *obj, int num) EINA_ARG_NONNULL(1);
26021
26022    /**
26023     * Get the number of items in the diskselector object.
26024     *
26025     * @param obj The diskselector object.
26026     *
26027     * @ingroup Diskselector
26028     */
26029    EAPI int                   elm_diskselector_display_item_num_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26030
26031    /**
26032     * Set bouncing behaviour when the scrolled content reaches an edge.
26033     *
26034     * Tell the internal scroller object whether it should bounce or not
26035     * when it reaches the respective edges for each axis.
26036     *
26037     * @param obj The diskselector object.
26038     * @param h_bounce Whether to bounce or not in the horizontal axis.
26039     * @param v_bounce Whether to bounce or not in the vertical axis.
26040     *
26041     * @see elm_scroller_bounce_set()
26042     *
26043     * @ingroup Diskselector
26044     */
26045    EAPI void                   elm_diskselector_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
26046
26047    /**
26048     * Get the bouncing behaviour of the internal scroller.
26049     *
26050     * Get whether the internal scroller should bounce when the edge of each
26051     * axis is reached scrolling.
26052     *
26053     * @param obj The diskselector object.
26054     * @param h_bounce Pointer where to store the bounce state of the horizontal
26055     * axis.
26056     * @param v_bounce Pointer where to store the bounce state of the vertical
26057     * axis.
26058     *
26059     * @see elm_scroller_bounce_get()
26060     * @see elm_diskselector_bounce_set()
26061     *
26062     * @ingroup Diskselector
26063     */
26064    EAPI void                   elm_diskselector_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
26065
26066    /**
26067     * Get the scrollbar policy.
26068     *
26069     * @see elm_diskselector_scroller_policy_get() for details.
26070     *
26071     * @param obj The diskselector object.
26072     * @param policy_h Pointer where to store horizontal scrollbar policy.
26073     * @param policy_v Pointer where to store vertical scrollbar policy.
26074     *
26075     * @ingroup Diskselector
26076     */
26077    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);
26078
26079    /**
26080     * Set the scrollbar policy.
26081     *
26082     * @param obj The diskselector object.
26083     * @param policy_h Horizontal scrollbar policy.
26084     * @param policy_v Vertical scrollbar policy.
26085     *
26086     * This sets the scrollbar visibility policy for the given scroller.
26087     * #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
26088     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
26089     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
26090     * This applies respectively for the horizontal and vertical scrollbars.
26091     *
26092     * The both are disabled by default, i.e., are set to
26093     * #ELM_SCROLLER_POLICY_OFF.
26094     *
26095     * @ingroup Diskselector
26096     */
26097    EAPI void                   elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
26098
26099    /**
26100     * Remove all diskselector's items.
26101     *
26102     * @param obj The diskselector object.
26103     *
26104     * @see elm_diskselector_item_del()
26105     * @see elm_diskselector_item_append()
26106     *
26107     * @ingroup Diskselector
26108     */
26109    EAPI void                   elm_diskselector_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
26110
26111    /**
26112     * Get a list of all the diskselector items.
26113     *
26114     * @param obj The diskselector object.
26115     * @return An @c Eina_List of diskselector items, #Elm_Diskselector_Item,
26116     * or @c NULL on failure.
26117     *
26118     * @see elm_diskselector_item_append()
26119     * @see elm_diskselector_item_del()
26120     * @see elm_diskselector_clear()
26121     *
26122     * @ingroup Diskselector
26123     */
26124    EAPI const Eina_List       *elm_diskselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26125
26126    /**
26127     * Appends a new item to the diskselector object.
26128     *
26129     * @param obj The diskselector object.
26130     * @param label The label of the diskselector item.
26131     * @param icon The icon object to use at left side of the item. An
26132     * icon can be any Evas object, but usually it is an icon created
26133     * with elm_icon_add().
26134     * @param func The function to call when the item is selected.
26135     * @param data The data to associate with the item for related callbacks.
26136     *
26137     * @return The created item or @c NULL upon failure.
26138     *
26139     * A new item will be created and appended to the diskselector, i.e., will
26140     * be set as last item. Also, if there is no selected item, it will
26141     * be selected. This will always happens for the first appended item.
26142     *
26143     * If no icon is set, label will be centered on item position, otherwise
26144     * the icon will be placed at left of the label, that will be shifted
26145     * to the right.
26146     *
26147     * Items created with this method can be deleted with
26148     * elm_diskselector_item_del().
26149     *
26150     * Associated @p data can be properly freed when item is deleted if a
26151     * callback function is set with elm_diskselector_item_del_cb_set().
26152     *
26153     * If a function is passed as argument, it will be called everytime this item
26154     * is selected, i.e., the user stops the diskselector with this
26155     * item on center position. If such function isn't needed, just passing
26156     * @c NULL as @p func is enough. The same should be done for @p data.
26157     *
26158     * Simple example (with no function callback or data associated):
26159     * @code
26160     * disk = elm_diskselector_add(win);
26161     * ic = elm_icon_add(win);
26162     * elm_icon_file_set(ic, "path/to/image", NULL);
26163     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
26164     * elm_diskselector_item_append(disk, "label", ic, NULL, NULL);
26165     * @endcode
26166     *
26167     * @see elm_diskselector_item_del()
26168     * @see elm_diskselector_item_del_cb_set()
26169     * @see elm_diskselector_clear()
26170     * @see elm_icon_add()
26171     *
26172     * @ingroup Diskselector
26173     */
26174    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);
26175
26176
26177    /**
26178     * Delete them item from the diskselector.
26179     *
26180     * @param it The item of diskselector to be deleted.
26181     *
26182     * If deleting all diskselector items is required, elm_diskselector_clear()
26183     * should be used instead of getting items list and deleting each one.
26184     *
26185     * @see elm_diskselector_clear()
26186     * @see elm_diskselector_item_append()
26187     * @see elm_diskselector_item_del_cb_set()
26188     *
26189     * @ingroup Diskselector
26190     */
26191    EAPI void                   elm_diskselector_item_del(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26192
26193    /**
26194     * Set the function called when a diskselector item is freed.
26195     *
26196     * @param it The item to set the callback on
26197     * @param func The function called
26198     *
26199     * If there is a @p func, then it will be called prior item's memory release.
26200     * That will be called with the following arguments:
26201     * @li item's data;
26202     * @li item's Evas object;
26203     * @li item itself;
26204     *
26205     * This way, a data associated to a diskselector item could be properly
26206     * freed.
26207     *
26208     * @ingroup Diskselector
26209     */
26210    EAPI void                   elm_diskselector_item_del_cb_set(Elm_Diskselector_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
26211
26212    /**
26213     * Get the data associated to the item.
26214     *
26215     * @param it The diskselector item
26216     * @return The data associated to @p it
26217     *
26218     * The return value is a pointer to data associated to @p item when it was
26219     * created, with function elm_diskselector_item_append(). If no data
26220     * was passed as argument, it will return @c NULL.
26221     *
26222     * @see elm_diskselector_item_append()
26223     *
26224     * @ingroup Diskselector
26225     */
26226    EAPI void                  *elm_diskselector_item_data_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26227
26228    /**
26229     * Set the icon associated to the item.
26230     *
26231     * @param it The diskselector item
26232     * @param icon The icon object to associate with @p it
26233     *
26234     * The icon object to use at left side of the item. An
26235     * icon can be any Evas object, but usually it is an icon created
26236     * with elm_icon_add().
26237     *
26238     * Once the icon object is set, a previously set one will be deleted.
26239     * @warning Setting the same icon for two items will cause the icon to
26240     * dissapear from the first item.
26241     *
26242     * If an icon was passed as argument on item creation, with function
26243     * elm_diskselector_item_append(), it will be already
26244     * associated to the item.
26245     *
26246     * @see elm_diskselector_item_append()
26247     * @see elm_diskselector_item_icon_get()
26248     *
26249     * @ingroup Diskselector
26250     */
26251    EAPI void                   elm_diskselector_item_icon_set(Elm_Diskselector_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
26252
26253    /**
26254     * Get the icon associated to the item.
26255     *
26256     * @param it The diskselector item
26257     * @return The icon associated to @p it
26258     *
26259     * The return value is a pointer to the icon associated to @p item when it was
26260     * created, with function elm_diskselector_item_append(), or later
26261     * with function elm_diskselector_item_icon_set. If no icon
26262     * was passed as argument, it will return @c NULL.
26263     *
26264     * @see elm_diskselector_item_append()
26265     * @see elm_diskselector_item_icon_set()
26266     *
26267     * @ingroup Diskselector
26268     */
26269    EAPI Evas_Object           *elm_diskselector_item_icon_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26270
26271    /**
26272     * Set the label of item.
26273     *
26274     * @param it The item of diskselector.
26275     * @param label The label of item.
26276     *
26277     * The label to be displayed by the item.
26278     *
26279     * If no icon is set, label will be centered on item position, otherwise
26280     * the icon will be placed at left of the label, that will be shifted
26281     * to the right.
26282     *
26283     * An item with label "January" would be displayed on side position as
26284     * "Jan" if max length is set to 3 with function
26285     * elm_diskselector_side_label_lenght_set(), or "Janu", if this property
26286     * is set to 4.
26287     *
26288     * When this @p item is selected, the entire label will be displayed,
26289     * except for width restrictions.
26290     * In this case label will be cropped and "..." will be concatenated,
26291     * but only for display purposes. It will keep the entire string, so
26292     * if diskselector is resized the remaining characters will be displayed.
26293     *
26294     * If a label was passed as argument on item creation, with function
26295     * elm_diskselector_item_append(), it will be already
26296     * displayed by the item.
26297     *
26298     * @see elm_diskselector_side_label_lenght_set()
26299     * @see elm_diskselector_item_label_get()
26300     * @see elm_diskselector_item_append()
26301     *
26302     * @ingroup Diskselector
26303     */
26304    EAPI void                   elm_diskselector_item_label_set(Elm_Diskselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
26305
26306    /**
26307     * Get the label of item.
26308     *
26309     * @param it The item of diskselector.
26310     * @return The label of item.
26311     *
26312     * The return value is a pointer to the label associated to @p item when it was
26313     * created, with function elm_diskselector_item_append(), or later
26314     * with function elm_diskselector_item_label_set. If no label
26315     * was passed as argument, it will return @c NULL.
26316     *
26317     * @see elm_diskselector_item_label_set() for more details.
26318     * @see elm_diskselector_item_append()
26319     *
26320     * @ingroup Diskselector
26321     */
26322    EAPI const char            *elm_diskselector_item_label_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26323
26324    /**
26325     * Get the selected item.
26326     *
26327     * @param obj The diskselector object.
26328     * @return The selected diskselector item.
26329     *
26330     * The selected item can be unselected with function
26331     * elm_diskselector_item_selected_set(), and the first item of
26332     * diskselector will be selected.
26333     *
26334     * The selected item always will be centered on diskselector, with
26335     * full label displayed, i.e., max lenght set to side labels won't
26336     * apply on the selected item. More details on
26337     * elm_diskselector_side_label_length_set().
26338     *
26339     * @ingroup Diskselector
26340     */
26341    EAPI Elm_Diskselector_Item *elm_diskselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26342
26343    /**
26344     * Set the selected state of an item.
26345     *
26346     * @param it The diskselector item
26347     * @param selected The selected state
26348     *
26349     * This sets the selected state of the given item @p it.
26350     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
26351     *
26352     * If a new item is selected the previosly selected will be unselected.
26353     * Previoulsy selected item can be get with function
26354     * elm_diskselector_selected_item_get().
26355     *
26356     * If the item @p it is unselected, the first item of diskselector will
26357     * be selected.
26358     *
26359     * Selected items will be visible on center position of diskselector.
26360     * So if it was on another position before selected, or was invisible,
26361     * diskselector will animate items until the selected item reaches center
26362     * position.
26363     *
26364     * @see elm_diskselector_item_selected_get()
26365     * @see elm_diskselector_selected_item_get()
26366     *
26367     * @ingroup Diskselector
26368     */
26369    EAPI void                   elm_diskselector_item_selected_set(Elm_Diskselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
26370
26371    /*
26372     * Get whether the @p item is selected or not.
26373     *
26374     * @param it The diskselector item.
26375     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
26376     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
26377     *
26378     * @see elm_diskselector_selected_item_set() for details.
26379     * @see elm_diskselector_item_selected_get()
26380     *
26381     * @ingroup Diskselector
26382     */
26383    EAPI Eina_Bool              elm_diskselector_item_selected_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26384
26385    /**
26386     * Get the first item of the diskselector.
26387     *
26388     * @param obj The diskselector object.
26389     * @return The first item, or @c NULL if none.
26390     *
26391     * The list of items follows append order. So it will return the first
26392     * item appended to the widget that wasn't deleted.
26393     *
26394     * @see elm_diskselector_item_append()
26395     * @see elm_diskselector_items_get()
26396     *
26397     * @ingroup Diskselector
26398     */
26399    EAPI Elm_Diskselector_Item *elm_diskselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26400
26401    /**
26402     * Get the last item of the diskselector.
26403     *
26404     * @param obj The diskselector object.
26405     * @return The last item, or @c NULL if none.
26406     *
26407     * The list of items follows append order. So it will return last first
26408     * item appended to the widget that wasn't deleted.
26409     *
26410     * @see elm_diskselector_item_append()
26411     * @see elm_diskselector_items_get()
26412     *
26413     * @ingroup Diskselector
26414     */
26415    EAPI Elm_Diskselector_Item *elm_diskselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26416
26417    /**
26418     * Get the item before @p item in diskselector.
26419     *
26420     * @param it The diskselector item.
26421     * @return The item before @p item, or @c NULL if none or on failure.
26422     *
26423     * The list of items follows append order. So it will return item appended
26424     * just before @p item and that wasn't deleted.
26425     *
26426     * If it is the first item, @c NULL will be returned.
26427     * First item can be get by elm_diskselector_first_item_get().
26428     *
26429     * @see elm_diskselector_item_append()
26430     * @see elm_diskselector_items_get()
26431     *
26432     * @ingroup Diskselector
26433     */
26434    EAPI Elm_Diskselector_Item *elm_diskselector_item_prev_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26435
26436    /**
26437     * Get the item after @p item in diskselector.
26438     *
26439     * @param it The diskselector item.
26440     * @return The item after @p item, or @c NULL if none or on failure.
26441     *
26442     * The list of items follows append order. So it will return item appended
26443     * just after @p item and that wasn't deleted.
26444     *
26445     * If it is the last item, @c NULL will be returned.
26446     * Last item can be get by elm_diskselector_last_item_get().
26447     *
26448     * @see elm_diskselector_item_append()
26449     * @see elm_diskselector_items_get()
26450     *
26451     * @ingroup Diskselector
26452     */
26453    EAPI Elm_Diskselector_Item *elm_diskselector_item_next_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26454
26455    /**
26456     * Set the text to be shown in the diskselector item.
26457     *
26458     * @param item Target item
26459     * @param text The text to set in the content
26460     *
26461     * Setup the text as tooltip to object. The item can have only one tooltip,
26462     * so any previous tooltip data is removed.
26463     *
26464     * @see elm_object_tooltip_text_set() for more details.
26465     *
26466     * @ingroup Diskselector
26467     */
26468    EAPI void                   elm_diskselector_item_tooltip_text_set(Elm_Diskselector_Item *item, const char *text) EINA_ARG_NONNULL(1);
26469
26470    /**
26471     * Set the content to be shown in the tooltip item.
26472     *
26473     * Setup the tooltip to item. The item can have only one tooltip,
26474     * so any previous tooltip data is removed. @p func(with @p data) will
26475     * be called every time that need show the tooltip and it should
26476     * return a valid Evas_Object. This object is then managed fully by
26477     * tooltip system and is deleted when the tooltip is gone.
26478     *
26479     * @param item the diskselector item being attached a tooltip.
26480     * @param func the function used to create the tooltip contents.
26481     * @param data what to provide to @a func as callback data/context.
26482     * @param del_cb called when data is not needed anymore, either when
26483     *        another callback replaces @p func, the tooltip is unset with
26484     *        elm_diskselector_item_tooltip_unset() or the owner @a item
26485     *        dies. This callback receives as the first parameter the
26486     *        given @a data, and @c event_info is the item.
26487     *
26488     * @see elm_object_tooltip_content_cb_set() for more details.
26489     *
26490     * @ingroup Diskselector
26491     */
26492    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);
26493
26494    /**
26495     * Unset tooltip from item.
26496     *
26497     * @param item diskselector item to remove previously set tooltip.
26498     *
26499     * Remove tooltip from item. The callback provided as del_cb to
26500     * elm_diskselector_item_tooltip_content_cb_set() will be called to notify
26501     * it is not used anymore.
26502     *
26503     * @see elm_object_tooltip_unset() for more details.
26504     * @see elm_diskselector_item_tooltip_content_cb_set()
26505     *
26506     * @ingroup Diskselector
26507     */
26508    EAPI void                   elm_diskselector_item_tooltip_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26509
26510
26511    /**
26512     * Sets a different style for this item tooltip.
26513     *
26514     * @note before you set a style you should define a tooltip with
26515     *       elm_diskselector_item_tooltip_content_cb_set() or
26516     *       elm_diskselector_item_tooltip_text_set()
26517     *
26518     * @param item diskselector item with tooltip already set.
26519     * @param style the theme style to use (default, transparent, ...)
26520     *
26521     * @see elm_object_tooltip_style_set() for more details.
26522     *
26523     * @ingroup Diskselector
26524     */
26525    EAPI void                   elm_diskselector_item_tooltip_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
26526
26527    /**
26528     * Get the style for this item tooltip.
26529     *
26530     * @param item diskselector item with tooltip already set.
26531     * @return style the theme style in use, defaults to "default". If the
26532     *         object does not have a tooltip set, then NULL is returned.
26533     *
26534     * @see elm_object_tooltip_style_get() for more details.
26535     * @see elm_diskselector_item_tooltip_style_set()
26536     *
26537     * @ingroup Diskselector
26538     */
26539    EAPI const char            *elm_diskselector_item_tooltip_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26540
26541    /**
26542     * Set the cursor to be shown when mouse is over the diskselector item
26543     *
26544     * @param item Target item
26545     * @param cursor the cursor name to be used.
26546     *
26547     * @see elm_object_cursor_set() for more details.
26548     *
26549     * @ingroup Diskselector
26550     */
26551    EAPI void                   elm_diskselector_item_cursor_set(Elm_Diskselector_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
26552
26553    /**
26554     * Get the cursor to be shown when mouse is over the diskselector item
26555     *
26556     * @param item diskselector item with cursor already set.
26557     * @return the cursor name.
26558     *
26559     * @see elm_object_cursor_get() for more details.
26560     * @see elm_diskselector_cursor_set()
26561     *
26562     * @ingroup Diskselector
26563     */
26564    EAPI const char            *elm_diskselector_item_cursor_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26565
26566
26567    /**
26568     * Unset the cursor to be shown when mouse is over the diskselector item
26569     *
26570     * @param item Target item
26571     *
26572     * @see elm_object_cursor_unset() for more details.
26573     * @see elm_diskselector_cursor_set()
26574     *
26575     * @ingroup Diskselector
26576     */
26577    EAPI void                   elm_diskselector_item_cursor_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26578
26579    /**
26580     * Sets a different style for this item cursor.
26581     *
26582     * @note before you set a style you should define a cursor with
26583     *       elm_diskselector_item_cursor_set()
26584     *
26585     * @param item diskselector item with cursor already set.
26586     * @param style the theme style to use (default, transparent, ...)
26587     *
26588     * @see elm_object_cursor_style_set() for more details.
26589     *
26590     * @ingroup Diskselector
26591     */
26592    EAPI void                   elm_diskselector_item_cursor_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
26593
26594
26595    /**
26596     * Get the style for this item cursor.
26597     *
26598     * @param item diskselector item with cursor already set.
26599     * @return style the theme style in use, defaults to "default". If the
26600     *         object does not have a cursor set, then @c NULL is returned.
26601     *
26602     * @see elm_object_cursor_style_get() for more details.
26603     * @see elm_diskselector_item_cursor_style_set()
26604     *
26605     * @ingroup Diskselector
26606     */
26607    EAPI const char            *elm_diskselector_item_cursor_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26608
26609
26610    /**
26611     * Set if the cursor set should be searched on the theme or should use
26612     * the provided by the engine, only.
26613     *
26614     * @note before you set if should look on theme you should define a cursor
26615     * with elm_diskselector_item_cursor_set().
26616     * By default it will only look for cursors provided by the engine.
26617     *
26618     * @param item widget item with cursor already set.
26619     * @param engine_only boolean to define if cursors set with
26620     * elm_diskselector_item_cursor_set() should be searched only
26621     * between cursors provided by the engine or searched on widget's
26622     * theme as well.
26623     *
26624     * @see elm_object_cursor_engine_only_set() for more details.
26625     *
26626     * @ingroup Diskselector
26627     */
26628    EAPI void                   elm_diskselector_item_cursor_engine_only_set(Elm_Diskselector_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
26629
26630    /**
26631     * Get the cursor engine only usage for this item cursor.
26632     *
26633     * @param item widget item with cursor already set.
26634     * @return engine_only boolean to define it cursors should be looked only
26635     * between the provided by the engine or searched on widget's theme as well.
26636     * If the item does not have a cursor set, then @c EINA_FALSE is returned.
26637     *
26638     * @see elm_object_cursor_engine_only_get() for more details.
26639     * @see elm_diskselector_item_cursor_engine_only_set()
26640     *
26641     * @ingroup Diskselector
26642     */
26643    EAPI Eina_Bool              elm_diskselector_item_cursor_engine_only_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26644
26645    /**
26646     * @}
26647     */
26648
26649    /**
26650     * @defgroup Colorselector Colorselector
26651     *
26652     * @{
26653     *
26654     * @image html img/widget/colorselector/preview-00.png
26655     * @image latex img/widget/colorselector/preview-00.eps
26656     *
26657     * @brief Widget for user to select a color.
26658     *
26659     * Signals that you can add callbacks for are:
26660     * "changed" - When the color value changes(event_info is NULL).
26661     *
26662     * See @ref tutorial_colorselector.
26663     */
26664    /**
26665     * @brief Add a new colorselector to the parent
26666     *
26667     * @param parent The parent object
26668     * @return The new object or NULL if it cannot be created
26669     *
26670     * @ingroup Colorselector
26671     */
26672    EAPI Evas_Object *elm_colorselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
26673    /**
26674     * Set a color for the colorselector
26675     *
26676     * @param obj   Colorselector object
26677     * @param r     r-value of color
26678     * @param g     g-value of color
26679     * @param b     b-value of color
26680     * @param a     a-value of color
26681     *
26682     * @ingroup Colorselector
26683     */
26684    EAPI void         elm_colorselector_color_set(Evas_Object *obj, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
26685    /**
26686     * Get a color from the colorselector
26687     *
26688     * @param obj   Colorselector object
26689     * @param r     integer pointer for r-value of color
26690     * @param g     integer pointer for g-value of color
26691     * @param b     integer pointer for b-value of color
26692     * @param a     integer pointer for a-value of color
26693     *
26694     * @ingroup Colorselector
26695     */
26696    EAPI void         elm_colorselector_color_get(const Evas_Object *obj, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
26697    /**
26698     * @}
26699     */
26700
26701    /**
26702     * @defgroup Ctxpopup Ctxpopup
26703     *
26704     * @image html img/widget/ctxpopup/preview-00.png
26705     * @image latex img/widget/ctxpopup/preview-00.eps
26706     *
26707     * @brief Context popup widet.
26708     *
26709     * A ctxpopup is a widget that, when shown, pops up a list of items.
26710     * It automatically chooses an area inside its parent object's view
26711     * (set via elm_ctxpopup_add() and elm_ctxpopup_hover_parent_set()) to
26712     * optimally fit into it. In the default theme, it will also point an
26713     * arrow to it's top left position at the time one shows it. Ctxpopup
26714     * items have a label and/or an icon. It is intended for a small
26715     * number of items (hence the use of list, not genlist).
26716     *
26717     * @note Ctxpopup is a especialization of @ref Hover.
26718     *
26719     * Signals that you can add callbacks for are:
26720     * "dismissed" - the ctxpopup was dismissed
26721     *
26722     * Default contents parts of the ctxpopup widget that you can use for are:
26723     * @li "default" - A content of the ctxpopup
26724     *
26725     * Default contents parts of the naviframe items that you can use for are:
26726     * @li "icon" - A icon in the title area
26727     * 
26728     * Default text parts of the naviframe items that you can use for are:
26729     * @li "default" - Title label in the title area
26730     *
26731     * @ref tutorial_ctxpopup shows the usage of a good deal of the API.
26732     * @{
26733     */
26734    typedef enum _Elm_Ctxpopup_Direction
26735      {
26736         ELM_CTXPOPUP_DIRECTION_DOWN, /**< ctxpopup show appear below clicked
26737                                           area */
26738         ELM_CTXPOPUP_DIRECTION_RIGHT, /**< ctxpopup show appear to the right of
26739                                            the clicked area */
26740         ELM_CTXPOPUP_DIRECTION_LEFT, /**< ctxpopup show appear to the left of
26741                                           the clicked area */
26742         ELM_CTXPOPUP_DIRECTION_UP, /**< ctxpopup show appear above the clicked
26743                                         area */
26744         ELM_CTXPOPUP_DIRECTION_UNKNOWN, /**< ctxpopup does not determine it's direction yet*/
26745      } Elm_Ctxpopup_Direction;
26746
26747    /**
26748     * @brief Add a new Ctxpopup object to the parent.
26749     *
26750     * @param parent Parent object
26751     * @return New object or @c NULL, if it cannot be created
26752     */
26753    EAPI Evas_Object  *elm_ctxpopup_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
26754    /**
26755     * @brief Set the Ctxpopup's parent
26756     *
26757     * @param obj The ctxpopup object
26758     * @param area The parent to use
26759     *
26760     * Set the parent object.
26761     *
26762     * @note elm_ctxpopup_add() will automatically call this function
26763     * with its @c parent argument.
26764     *
26765     * @see elm_ctxpopup_add()
26766     * @see elm_hover_parent_set()
26767     */
26768    EAPI void          elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1, 2);
26769    /**
26770     * @brief Get the Ctxpopup's parent
26771     *
26772     * @param obj The ctxpopup object
26773     *
26774     * @see elm_ctxpopup_hover_parent_set() for more information
26775     */
26776    EAPI Evas_Object  *elm_ctxpopup_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26777    /**
26778     * @brief Clear all items in the given ctxpopup object.
26779     *
26780     * @param obj Ctxpopup object
26781     */
26782    EAPI void          elm_ctxpopup_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
26783    /**
26784     * @brief Change the ctxpopup's orientation to horizontal or vertical.
26785     *
26786     * @param obj Ctxpopup object
26787     * @param horizontal @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical
26788     */
26789    EAPI void          elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
26790    /**
26791     * @brief Get the value of current ctxpopup object's orientation.
26792     *
26793     * @param obj Ctxpopup object
26794     * @return @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical mode (or errors)
26795     *
26796     * @see elm_ctxpopup_horizontal_set()
26797     */
26798    EAPI Eina_Bool     elm_ctxpopup_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26799    /**
26800     * @brief Add a new item to a ctxpopup object.
26801     *
26802     * @param obj Ctxpopup object
26803     * @param icon Icon to be set on new item
26804     * @param label The Label of the new item
26805     * @param func Convenience function called when item selected
26806     * @param data Data passed to @p func
26807     * @return A handle to the item added or @c NULL, on errors
26808     *
26809     * @warning Ctxpopup can't hold both an item list and a content at the same
26810     * time. When an item is added, any previous content will be removed.
26811     *
26812     * @see elm_ctxpopup_content_set()
26813     */
26814    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);
26815    /**
26816     * @brief Delete the given item in a ctxpopup object.
26817     *
26818     * @param it Ctxpopup item to be deleted
26819     *
26820     * @see elm_ctxpopup_item_append()
26821     */
26822    EAPI void          elm_ctxpopup_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26823    /**
26824     * @brief Set the ctxpopup item's state as disabled or enabled.
26825     *
26826     * @param it Ctxpopup item to be enabled/disabled
26827     * @param disabled @c EINA_TRUE to disable it, @c EINA_FALSE to enable it
26828     *
26829     * When disabled the item is greyed out to indicate it's state.
26830     * @deprecated use elm_object_item_disabled_set() instead
26831     */
26832    EINA_DEPRECATED EAPI void          elm_ctxpopup_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
26833    /**
26834     * @brief Get the ctxpopup item's disabled/enabled state.
26835     *
26836     * @param it Ctxpopup item to be enabled/disabled
26837     * @return disabled @c EINA_TRUE, if disabled, @c EINA_FALSE otherwise
26838     *
26839     * @see elm_ctxpopup_item_disabled_set()
26840     * @deprecated use elm_object_item_disabled_get() instead
26841     */
26842    EAPI Eina_Bool     elm_ctxpopup_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26843    /**
26844     * @brief Get the icon object for the given ctxpopup item.
26845     *
26846     * @param it Ctxpopup item
26847     * @return icon object or @c NULL, if the item does not have icon or an error
26848     * occurred
26849     *
26850     * @see elm_ctxpopup_item_append()
26851     * @see elm_ctxpopup_item_icon_set()
26852     *
26853     * @deprecated use elm_object_item_part_content_get() instead
26854     */
26855    EINA_DEPRECATED EAPI Evas_Object  *elm_ctxpopup_item_icon_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26856    /**
26857     * @brief Sets the side icon associated with the ctxpopup item
26858     *
26859     * @param it Ctxpopup item
26860     * @param icon Icon object to be set
26861     *
26862     * Once the icon object is set, a previously set one will be deleted.
26863     * @warning Setting the same icon for two items will cause the icon to
26864     * dissapear from the first item.
26865     *
26866     * @see elm_ctxpopup_item_append()
26867     *  
26868     * @deprecated use elm_object_item_part_content_set() instead
26869     *
26870     */
26871    EINA_DEPRECATED EAPI void          elm_ctxpopup_item_icon_set(Elm_Object_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
26872    /**
26873     * @brief Get the label for the given ctxpopup item.
26874     *
26875     * @param it Ctxpopup item
26876     * @return label string or @c NULL, if the item does not have label or an
26877     * error occured
26878     *
26879     * @see elm_ctxpopup_item_append()
26880     * @see elm_ctxpopup_item_label_set()
26881     *
26882     * @deprecated use elm_object_item_text_get() instead
26883     */
26884    EINA_DEPRECATED EAPI const char   *elm_ctxpopup_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26885    /**
26886     * @brief (Re)set the label on the given ctxpopup item.
26887     *
26888     * @param it Ctxpopup item
26889     * @param label String to set as label
26890     *
26891     * @deprecated use elm_object_item_text_set() instead
26892     */
26893    EINA_DEPRECATED EAPI void          elm_ctxpopup_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
26894    /**
26895     * @brief Set an elm widget as the content of the ctxpopup.
26896     *
26897     * @param obj Ctxpopup object
26898     * @param content Content to be swallowed
26899     *
26900     * If the content object is already set, a previous one will bedeleted. If
26901     * you want to keep that old content object, use the
26902     * elm_ctxpopup_content_unset() function.
26903     *
26904     * @warning Ctxpopup can't hold both a item list and a content at the same
26905     * time. When a content is set, any previous items will be removed.
26906     * 
26907     * @deprecated use elm_object_content_set() instead
26908     *
26909     */
26910    EINA_DEPRECATED EAPI void          elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1, 2);
26911    /**
26912     * @brief Unset the ctxpopup content
26913     *
26914     * @param obj Ctxpopup object
26915     * @return The content that was being used
26916     *
26917     * Unparent and return the content object which was set for this widget.
26918     *
26919     * @deprecated use elm_object_content_unset()
26920     *
26921     * @see elm_ctxpopup_content_set()
26922     *
26923     * @deprecated use elm_object_content_unset() instead
26924     *
26925     */
26926    EINA_DEPRECATED EAPI Evas_Object  *elm_ctxpopup_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
26927    /**
26928     * @brief Set the direction priority of a ctxpopup.
26929     *
26930     * @param obj Ctxpopup object
26931     * @param first 1st priority of direction
26932     * @param second 2nd priority of direction
26933     * @param third 3th priority of direction
26934     * @param fourth 4th priority of direction
26935     *
26936     * This functions gives a chance to user to set the priority of ctxpopup
26937     * showing direction. This doesn't guarantee the ctxpopup will appear in the
26938     * requested direction.
26939     *
26940     * @see Elm_Ctxpopup_Direction
26941     */
26942    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);
26943    /**
26944     * @brief Get the direction priority of a ctxpopup.
26945     *
26946     * @param obj Ctxpopup object
26947     * @param first 1st priority of direction to be returned
26948     * @param second 2nd priority of direction to be returned
26949     * @param third 3th priority of direction to be returned
26950     * @param fourth 4th priority of direction to be returned
26951     *
26952     * @see elm_ctxpopup_direction_priority_set() for more information.
26953     */
26954    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);
26955
26956    /**
26957     * @brief Get the current direction of a ctxpopup.
26958     *
26959     * @param obj Ctxpopup object
26960     * @return current direction of a ctxpopup
26961     *
26962     * @warning Once the ctxpopup showed up, the direction would be determined
26963     */
26964    EAPI Elm_Ctxpopup_Direction elm_ctxpopup_direction_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26965
26966    /**
26967     * @}
26968     */
26969
26970    /* transit */
26971    /**
26972     *
26973     * @defgroup Transit Transit
26974     * @ingroup Elementary
26975     *
26976     * Transit is designed to apply various animated transition effects to @c
26977     * Evas_Object, such like translation, rotation, etc. For using these
26978     * effects, create an @ref Elm_Transit and add the desired transition effects.
26979     *
26980     * Once the effects are added into transit, they will be automatically
26981     * managed (their callback will be called until the duration is ended, and
26982     * they will be deleted on completion).
26983     *
26984     * Example:
26985     * @code
26986     * Elm_Transit *trans = elm_transit_add();
26987     * elm_transit_object_add(trans, obj);
26988     * elm_transit_effect_translation_add(trans, 0, 0, 280, 280
26989     * elm_transit_duration_set(transit, 1);
26990     * elm_transit_auto_reverse_set(transit, EINA_TRUE);
26991     * elm_transit_tween_mode_set(transit, ELM_TRANSIT_TWEEN_MODE_DECELERATE);
26992     * elm_transit_repeat_times_set(transit, 3);
26993     * @endcode
26994     *
26995     * Some transition effects are used to change the properties of objects. They
26996     * are:
26997     * @li @ref elm_transit_effect_translation_add
26998     * @li @ref elm_transit_effect_color_add
26999     * @li @ref elm_transit_effect_rotation_add
27000     * @li @ref elm_transit_effect_wipe_add
27001     * @li @ref elm_transit_effect_zoom_add
27002     * @li @ref elm_transit_effect_resizing_add
27003     *
27004     * Other transition effects are used to make one object disappear and another
27005     * object appear on its old place. These effects are:
27006     *
27007     * @li @ref elm_transit_effect_flip_add
27008     * @li @ref elm_transit_effect_resizable_flip_add
27009     * @li @ref elm_transit_effect_fade_add
27010     * @li @ref elm_transit_effect_blend_add
27011     *
27012     * It's also possible to make a transition chain with @ref
27013     * elm_transit_chain_transit_add.
27014     *
27015     * @warning We strongly recommend to use elm_transit just when edje can not do
27016     * the trick. Edje has more advantage than Elm_Transit, it has more flexibility and
27017     * animations can be manipulated inside the theme.
27018     *
27019     * List of examples:
27020     * @li @ref transit_example_01_explained
27021     * @li @ref transit_example_02_explained
27022     * @li @ref transit_example_03_c
27023     * @li @ref transit_example_04_c
27024     *
27025     * @{
27026     */
27027
27028    /**
27029     * @enum Elm_Transit_Tween_Mode
27030     *
27031     * The type of acceleration used in the transition.
27032     */
27033    typedef enum
27034      {
27035         ELM_TRANSIT_TWEEN_MODE_LINEAR, /**< Constant speed */
27036         ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL, /**< Starts slow, increase speed
27037                                              over time, then decrease again
27038                                              and stop slowly */
27039         ELM_TRANSIT_TWEEN_MODE_DECELERATE, /**< Starts fast and decrease
27040                                              speed over time */
27041         ELM_TRANSIT_TWEEN_MODE_ACCELERATE /**< Starts slow and increase speed
27042                                             over time */
27043      } Elm_Transit_Tween_Mode;
27044
27045    /**
27046     * @enum Elm_Transit_Effect_Flip_Axis
27047     *
27048     * The axis where flip effect should be applied.
27049     */
27050    typedef enum
27051      {
27052         ELM_TRANSIT_EFFECT_FLIP_AXIS_X, /**< Flip on X axis */
27053         ELM_TRANSIT_EFFECT_FLIP_AXIS_Y /**< Flip on Y axis */
27054      } Elm_Transit_Effect_Flip_Axis;
27055    /**
27056     * @enum Elm_Transit_Effect_Wipe_Dir
27057     *
27058     * The direction where the wipe effect should occur.
27059     */
27060    typedef enum
27061      {
27062         ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT, /**< Wipe to the left */
27063         ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT, /**< Wipe to the right */
27064         ELM_TRANSIT_EFFECT_WIPE_DIR_UP, /**< Wipe up */
27065         ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN /**< Wipe down */
27066      } Elm_Transit_Effect_Wipe_Dir;
27067    /** @enum Elm_Transit_Effect_Wipe_Type
27068     *
27069     * Whether the wipe effect should show or hide the object.
27070     */
27071    typedef enum
27072      {
27073         ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE, /**< Hide the object during the
27074                                              animation */
27075         ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW /**< Show the object during the
27076                                             animation */
27077      } Elm_Transit_Effect_Wipe_Type;
27078
27079    /**
27080     * @typedef Elm_Transit
27081     *
27082     * The Transit created with elm_transit_add(). This type has the information
27083     * about the objects which the transition will be applied, and the
27084     * transition effects that will be used. It also contains info about
27085     * duration, number of repetitions, auto-reverse, etc.
27086     */
27087    typedef struct _Elm_Transit Elm_Transit;
27088    typedef void Elm_Transit_Effect;
27089    /**
27090     * @typedef Elm_Transit_Effect_Transition_Cb
27091     *
27092     * Transition callback called for this effect on each transition iteration.
27093     */
27094    typedef void (*Elm_Transit_Effect_Transition_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit, double progress);
27095    /**
27096     * Elm_Transit_Effect_End_Cb
27097     *
27098     * Transition callback called for this effect when the transition is over.
27099     */
27100    typedef void (*Elm_Transit_Effect_End_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit);
27101
27102    /**
27103     * Elm_Transit_Del_Cb
27104     *
27105     * A callback called when the transit is deleted.
27106     */
27107    typedef void (*Elm_Transit_Del_Cb) (void *data, Elm_Transit *transit);
27108
27109    /**
27110     * Add new transit.
27111     *
27112     * @note Is not necessary to delete the transit object, it will be deleted at
27113     * the end of its operation.
27114     * @note The transit will start playing when the program enter in the main loop, is not
27115     * necessary to give a start to the transit.
27116     *
27117     * @return The transit object.
27118     *
27119     * @ingroup Transit
27120     */
27121    EAPI Elm_Transit                *elm_transit_add(void);
27122
27123    /**
27124     * Stops the animation and delete the @p transit object.
27125     *
27126     * Call this function if you wants to stop the animation before the duration
27127     * time. Make sure the @p transit object is still alive with
27128     * elm_transit_del_cb_set() function.
27129     * All added effects will be deleted, calling its repective data_free_cb
27130     * functions. The function setted by elm_transit_del_cb_set() will be called.
27131     *
27132     * @see elm_transit_del_cb_set()
27133     *
27134     * @param transit The transit object to be deleted.
27135     *
27136     * @ingroup Transit
27137     * @warning Just call this function if you are sure the transit is alive.
27138     */
27139    EAPI void                        elm_transit_del(Elm_Transit *transit) EINA_ARG_NONNULL(1);
27140
27141    /**
27142     * Add a new effect to the transit.
27143     *
27144     * @note The cb function and the data are the key to the effect. If you try to
27145     * add an already added effect, nothing is done.
27146     * @note After the first addition of an effect in @p transit, if its
27147     * effect list become empty again, the @p transit will be killed by
27148     * elm_transit_del(transit) function.
27149     *
27150     * Exemple:
27151     * @code
27152     * Elm_Transit *transit = elm_transit_add();
27153     * elm_transit_effect_add(transit,
27154     *                        elm_transit_effect_blend_op,
27155     *                        elm_transit_effect_blend_context_new(),
27156     *                        elm_transit_effect_blend_context_free);
27157     * @endcode
27158     *
27159     * @param transit The transit object.
27160     * @param transition_cb The operation function. It is called when the
27161     * animation begins, it is the function that actually performs the animation.
27162     * It is called with the @p data, @p transit and the time progression of the
27163     * animation (a double value between 0.0 and 1.0).
27164     * @param effect The context data of the effect.
27165     * @param end_cb The function to free the context data, it will be called
27166     * at the end of the effect, it must finalize the animation and free the
27167     * @p data.
27168     *
27169     * @ingroup Transit
27170     * @warning The transit free the context data at the and of the transition with
27171     * the data_free_cb function, do not use the context data in another transit.
27172     */
27173    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);
27174
27175    /**
27176     * Delete an added effect.
27177     *
27178     * This function will remove the effect from the @p transit, calling the
27179     * data_free_cb to free the @p data.
27180     *
27181     * @see elm_transit_effect_add()
27182     *
27183     * @note If the effect is not found, nothing is done.
27184     * @note If the effect list become empty, this function will call
27185     * elm_transit_del(transit), that is, it will kill the @p transit.
27186     *
27187     * @param transit The transit object.
27188     * @param transition_cb The operation function.
27189     * @param effect The context data of the effect.
27190     *
27191     * @ingroup Transit
27192     */
27193    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);
27194
27195    /**
27196     * Add new object to apply the effects.
27197     *
27198     * @note After the first addition of an object in @p transit, if its
27199     * object list become empty again, the @p transit will be killed by
27200     * elm_transit_del(transit) function.
27201     * @note If the @p obj belongs to another transit, the @p obj will be
27202     * removed from it and it will only belong to the @p transit. If the old
27203     * transit stays without objects, it will die.
27204     * @note When you add an object into the @p transit, its state from
27205     * evas_object_pass_events_get(obj) is saved, and it is applied when the
27206     * transit ends, if you change this state whith evas_object_pass_events_set()
27207     * after add the object, this state will change again when @p transit stops to
27208     * run.
27209     *
27210     * @param transit The transit object.
27211     * @param obj Object to be animated.
27212     *
27213     * @ingroup Transit
27214     * @warning It is not allowed to add a new object after transit begins to go.
27215     */
27216    EAPI void                        elm_transit_object_add(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
27217
27218    /**
27219     * Removes an added object from the transit.
27220     *
27221     * @note If the @p obj is not in the @p transit, nothing is done.
27222     * @note If the list become empty, this function will call
27223     * elm_transit_del(transit), that is, it will kill the @p transit.
27224     *
27225     * @param transit The transit object.
27226     * @param obj Object to be removed from @p transit.
27227     *
27228     * @ingroup Transit
27229     * @warning It is not allowed to remove objects after transit begins to go.
27230     */
27231    EAPI void                        elm_transit_object_remove(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
27232
27233    /**
27234     * Get the objects of the transit.
27235     *
27236     * @param transit The transit object.
27237     * @return a Eina_List with the objects from the transit.
27238     *
27239     * @ingroup Transit
27240     */
27241    EAPI const Eina_List            *elm_transit_objects_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27242
27243    /**
27244     * Enable/disable keeping up the objects states.
27245     * If it is not kept, the objects states will be reset when transition ends.
27246     *
27247     * @note @p transit can not be NULL.
27248     * @note One state includes geometry, color, map data.
27249     *
27250     * @param transit The transit object.
27251     * @param state_keep Keeping or Non Keeping.
27252     *
27253     * @ingroup Transit
27254     */
27255    EAPI void                        elm_transit_objects_final_state_keep_set(Elm_Transit *transit, Eina_Bool state_keep) EINA_ARG_NONNULL(1);
27256
27257    /**
27258     * Get a value whether the objects states will be reset or not.
27259     *
27260     * @note @p transit can not be NULL
27261     *
27262     * @see elm_transit_objects_final_state_keep_set()
27263     *
27264     * @param transit The transit object.
27265     * @return EINA_TRUE means the states of the objects will be reset.
27266     * If @p transit is NULL, EINA_FALSE is returned
27267     *
27268     * @ingroup Transit
27269     */
27270    EAPI Eina_Bool                   elm_transit_objects_final_state_keep_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27271
27272    /**
27273     * Set the event enabled when transit is operating.
27274     *
27275     * If @p enabled is EINA_TRUE, the objects of the transit will receives
27276     * events from mouse and keyboard during the animation.
27277     * @note When you add an object with elm_transit_object_add(), its state from
27278     * evas_object_pass_events_get(obj) is saved, and it is applied when the
27279     * transit ends, if you change this state with evas_object_pass_events_set()
27280     * after adding the object, this state will change again when @p transit stops
27281     * to run.
27282     *
27283     * @param transit The transit object.
27284     * @param enabled Events are received when enabled is @c EINA_TRUE, and
27285     * ignored otherwise.
27286     *
27287     * @ingroup Transit
27288     */
27289    EAPI void                        elm_transit_event_enabled_set(Elm_Transit *transit, Eina_Bool enabled) EINA_ARG_NONNULL(1);
27290
27291    /**
27292     * Get the value of event enabled status.
27293     *
27294     * @see elm_transit_event_enabled_set()
27295     *
27296     * @param transit The Transit object
27297     * @return EINA_TRUE, when event is enabled. If @p transit is NULL
27298     * EINA_FALSE is returned
27299     *
27300     * @ingroup Transit
27301     */
27302    EAPI Eina_Bool                   elm_transit_event_enabled_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27303
27304    /**
27305     * Set the user-callback function when the transit is deleted.
27306     *
27307     * @note Using this function twice will overwrite the first function setted.
27308     * @note the @p transit object will be deleted after call @p cb function.
27309     *
27310     * @param transit The transit object.
27311     * @param cb Callback function pointer. This function will be called before
27312     * the deletion of the transit.
27313     * @param data Callback funtion user data. It is the @p op parameter.
27314     *
27315     * @ingroup Transit
27316     */
27317    EAPI void                        elm_transit_del_cb_set(Elm_Transit *transit, Elm_Transit_Del_Cb cb, void *data) EINA_ARG_NONNULL(1);
27318
27319    /**
27320     * Set reverse effect automatically.
27321     *
27322     * If auto reverse is setted, after running the effects with the progress
27323     * parameter from 0 to 1, it will call the effecs again with the progress
27324     * from 1 to 0. The transit will last for a time iqual to (2 * duration * repeat),
27325     * where the duration was setted with the function elm_transit_add and
27326     * the repeat with the function elm_transit_repeat_times_set().
27327     *
27328     * @param transit The transit object.
27329     * @param reverse EINA_TRUE means the auto_reverse is on.
27330     *
27331     * @ingroup Transit
27332     */
27333    EAPI void                        elm_transit_auto_reverse_set(Elm_Transit *transit, Eina_Bool reverse) EINA_ARG_NONNULL(1);
27334
27335    /**
27336     * Get if the auto reverse is on.
27337     *
27338     * @see elm_transit_auto_reverse_set()
27339     *
27340     * @param transit The transit object.
27341     * @return EINA_TRUE means auto reverse is on. If @p transit is NULL
27342     * EINA_FALSE is returned
27343     *
27344     * @ingroup Transit
27345     */
27346    EAPI Eina_Bool                   elm_transit_auto_reverse_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27347
27348    /**
27349     * Set the transit repeat count. Effect will be repeated by repeat count.
27350     *
27351     * This function sets the number of repetition the transit will run after
27352     * the first one, that is, if @p repeat is 1, the transit will run 2 times.
27353     * If the @p repeat is a negative number, it will repeat infinite times.
27354     *
27355     * @note If this function is called during the transit execution, the transit
27356     * will run @p repeat times, ignoring the times it already performed.
27357     *
27358     * @param transit The transit object
27359     * @param repeat Repeat count
27360     *
27361     * @ingroup Transit
27362     */
27363    EAPI void                        elm_transit_repeat_times_set(Elm_Transit *transit, int repeat) EINA_ARG_NONNULL(1);
27364
27365    /**
27366     * Get the transit repeat count.
27367     *
27368     * @see elm_transit_repeat_times_set()
27369     *
27370     * @param transit The Transit object.
27371     * @return The repeat count. If @p transit is NULL
27372     * 0 is returned
27373     *
27374     * @ingroup Transit
27375     */
27376    EAPI int                         elm_transit_repeat_times_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27377
27378    /**
27379     * Set the transit animation acceleration type.
27380     *
27381     * This function sets the tween mode of the transit that can be:
27382     * ELM_TRANSIT_TWEEN_MODE_LINEAR - The default mode.
27383     * ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL - Starts in accelerate mode and ends decelerating.
27384     * ELM_TRANSIT_TWEEN_MODE_DECELERATE - The animation will be slowed over time.
27385     * ELM_TRANSIT_TWEEN_MODE_ACCELERATE - The animation will accelerate over time.
27386     *
27387     * @param transit The transit object.
27388     * @param tween_mode The tween type.
27389     *
27390     * @ingroup Transit
27391     */
27392    EAPI void                        elm_transit_tween_mode_set(Elm_Transit *transit, Elm_Transit_Tween_Mode tween_mode) EINA_ARG_NONNULL(1);
27393
27394    /**
27395     * Get the transit animation acceleration type.
27396     *
27397     * @note @p transit can not be NULL
27398     *
27399     * @param transit The transit object.
27400     * @return The tween type. If @p transit is NULL
27401     * ELM_TRANSIT_TWEEN_MODE_LINEAR is returned.
27402     *
27403     * @ingroup Transit
27404     */
27405    EAPI Elm_Transit_Tween_Mode      elm_transit_tween_mode_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27406
27407    /**
27408     * Set the transit animation time
27409     *
27410     * @note @p transit can not be NULL
27411     *
27412     * @param transit The transit object.
27413     * @param duration The animation time.
27414     *
27415     * @ingroup Transit
27416     */
27417    EAPI void                        elm_transit_duration_set(Elm_Transit *transit, double duration) EINA_ARG_NONNULL(1);
27418
27419    /**
27420     * Get the transit animation time
27421     *
27422     * @note @p transit can not be NULL
27423     *
27424     * @param transit The transit object.
27425     *
27426     * @return The transit animation time.
27427     *
27428     * @ingroup Transit
27429     */
27430    EAPI double                      elm_transit_duration_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27431
27432    /**
27433     * Starts the transition.
27434     * Once this API is called, the transit begins to measure the time.
27435     *
27436     * @note @p transit can not be NULL
27437     *
27438     * @param transit The transit object.
27439     *
27440     * @ingroup Transit
27441     */
27442    EAPI void                        elm_transit_go(Elm_Transit *transit) EINA_ARG_NONNULL(1);
27443
27444    /**
27445     * Pause/Resume the transition.
27446     *
27447     * If you call elm_transit_go again, the transit will be started from the
27448     * beginning, and will be unpaused.
27449     *
27450     * @note @p transit can not be NULL
27451     *
27452     * @param transit The transit object.
27453     * @param paused Whether the transition should be paused or not.
27454     *
27455     * @ingroup Transit
27456     */
27457    EAPI void                        elm_transit_paused_set(Elm_Transit *transit, Eina_Bool paused) EINA_ARG_NONNULL(1);
27458
27459    /**
27460     * Get the value of paused status.
27461     *
27462     * @see elm_transit_paused_set()
27463     *
27464     * @note @p transit can not be NULL
27465     *
27466     * @param transit The transit object.
27467     * @return EINA_TRUE means transition is paused. If @p transit is NULL
27468     * EINA_FALSE is returned
27469     *
27470     * @ingroup Transit
27471     */
27472    EAPI Eina_Bool                   elm_transit_paused_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27473
27474    /**
27475     * Get the time progression of the animation (a double value between 0.0 and 1.0).
27476     *
27477     * The value returned is a fraction (current time / total time). It
27478     * represents the progression position relative to the total.
27479     *
27480     * @note @p transit can not be NULL
27481     *
27482     * @param transit The transit object.
27483     *
27484     * @return The time progression value. If @p transit is NULL
27485     * 0 is returned
27486     *
27487     * @ingroup Transit
27488     */
27489    EAPI double                      elm_transit_progress_value_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27490
27491    /**
27492     * Makes the chain relationship between two transits.
27493     *
27494     * @note @p transit can not be NULL. Transit would have multiple chain transits.
27495     * @note @p chain_transit can not be NULL. Chain transits could be chained to the only one transit.
27496     *
27497     * @param transit The transit object.
27498     * @param chain_transit The chain transit object. This transit will be operated
27499     *        after transit is done.
27500     *
27501     * This function adds @p chain_transit transition to a chain after the @p
27502     * transit, and will be started as soon as @p transit ends. See @ref
27503     * transit_example_02_explained for a full example.
27504     *
27505     * @ingroup Transit
27506     */
27507    EAPI void                        elm_transit_chain_transit_add(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1, 2);
27508
27509    /**
27510     * Cut off the chain relationship between two transits.
27511     *
27512     * @note @p transit can not be NULL. Transit would have the chain relationship with @p chain transit.
27513     * @note @p chain_transit can not be NULL. Chain transits should be chained to the @p transit.
27514     *
27515     * @param transit The transit object.
27516     * @param chain_transit The chain transit object.
27517     *
27518     * This function remove the @p chain_transit transition from the @p transit.
27519     *
27520     * @ingroup Transit
27521     */
27522    EAPI void                        elm_transit_chain_transit_del(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1,2);
27523
27524    /**
27525     * Get the current chain transit list.
27526     *
27527     * @note @p transit can not be NULL.
27528     *
27529     * @param transit The transit object.
27530     * @return chain transit list.
27531     *
27532     * @ingroup Transit
27533     */
27534    EAPI Eina_List                  *elm_transit_chain_transits_get(const Elm_Transit *transit);
27535
27536    /**
27537     * Add the Resizing Effect to Elm_Transit.
27538     *
27539     * @note This API is one of the facades. It creates resizing effect context
27540     * and add it's required APIs to elm_transit_effect_add.
27541     *
27542     * @see elm_transit_effect_add()
27543     *
27544     * @param transit Transit object.
27545     * @param from_w Object width size when effect begins.
27546     * @param from_h Object height size when effect begins.
27547     * @param to_w Object width size when effect ends.
27548     * @param to_h Object height size when effect ends.
27549     * @return Resizing effect context data.
27550     *
27551     * @ingroup Transit
27552     */
27553    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);
27554
27555    /**
27556     * Add the Translation Effect to Elm_Transit.
27557     *
27558     * @note This API is one of the facades. It creates translation effect context
27559     * and add it's required APIs to elm_transit_effect_add.
27560     *
27561     * @see elm_transit_effect_add()
27562     *
27563     * @param transit Transit object.
27564     * @param from_dx X Position variation when effect begins.
27565     * @param from_dy Y Position variation when effect begins.
27566     * @param to_dx X Position variation when effect ends.
27567     * @param to_dy Y Position variation when effect ends.
27568     * @return Translation effect context data.
27569     *
27570     * @ingroup Transit
27571     * @warning It is highly recommended just create a transit with this effect when
27572     * the window that the objects of the transit belongs has already been created.
27573     * This is because this effect needs the geometry information about the objects,
27574     * and if the window was not created yet, it can get a wrong information.
27575     */
27576    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);
27577
27578    /**
27579     * Add the Zoom Effect to Elm_Transit.
27580     *
27581     * @note This API is one of the facades. It creates zoom effect context
27582     * and add it's required APIs to elm_transit_effect_add.
27583     *
27584     * @see elm_transit_effect_add()
27585     *
27586     * @param transit Transit object.
27587     * @param from_rate Scale rate when effect begins (1 is current rate).
27588     * @param to_rate Scale rate when effect ends.
27589     * @return Zoom effect context data.
27590     *
27591     * @ingroup Transit
27592     * @warning It is highly recommended just create a transit with this effect when
27593     * the window that the objects of the transit belongs has already been created.
27594     * This is because this effect needs the geometry information about the objects,
27595     * and if the window was not created yet, it can get a wrong information.
27596     */
27597    EAPI Elm_Transit_Effect *elm_transit_effect_zoom_add(Elm_Transit *transit, float from_rate, float to_rate);
27598
27599    /**
27600     * Add the Flip Effect to Elm_Transit.
27601     *
27602     * @note This API is one of the facades. It creates flip effect context
27603     * and add it's required APIs to elm_transit_effect_add.
27604     * @note This effect is applied to each pair of objects in the order they are listed
27605     * in the transit list of objects. The first object in the pair will be the
27606     * "front" object and the second will be the "back" object.
27607     *
27608     * @see elm_transit_effect_add()
27609     *
27610     * @param transit Transit object.
27611     * @param axis Flipping Axis(X or Y).
27612     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
27613     * @return Flip effect context data.
27614     *
27615     * @ingroup Transit
27616     * @warning It is highly recommended just create a transit with this effect when
27617     * the window that the objects of the transit belongs has already been created.
27618     * This is because this effect needs the geometry information about the objects,
27619     * and if the window was not created yet, it can get a wrong information.
27620     */
27621    EAPI Elm_Transit_Effect *elm_transit_effect_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
27622
27623    /**
27624     * Add the Resizable Flip Effect to Elm_Transit.
27625     *
27626     * @note This API is one of the facades. It creates resizable flip effect context
27627     * and add it's required APIs to elm_transit_effect_add.
27628     * @note This effect is applied to each pair of objects in the order they are listed
27629     * in the transit list of objects. The first object in the pair will be the
27630     * "front" object and the second will be the "back" object.
27631     *
27632     * @see elm_transit_effect_add()
27633     *
27634     * @param transit Transit object.
27635     * @param axis Flipping Axis(X or Y).
27636     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
27637     * @return Resizable flip effect context data.
27638     *
27639     * @ingroup Transit
27640     * @warning It is highly recommended just create a transit with this effect when
27641     * the window that the objects of the transit belongs has already been created.
27642     * This is because this effect needs the geometry information about the objects,
27643     * and if the window was not created yet, it can get a wrong information.
27644     */
27645    EAPI Elm_Transit_Effect *elm_transit_effect_resizable_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
27646
27647    /**
27648     * Add the Wipe Effect to Elm_Transit.
27649     *
27650     * @note This API is one of the facades. It creates wipe effect context
27651     * and add it's required APIs to elm_transit_effect_add.
27652     *
27653     * @see elm_transit_effect_add()
27654     *
27655     * @param transit Transit object.
27656     * @param type Wipe type. Hide or show.
27657     * @param dir Wipe Direction.
27658     * @return Wipe effect context data.
27659     *
27660     * @ingroup Transit
27661     * @warning It is highly recommended just create a transit with this effect when
27662     * the window that the objects of the transit belongs has already been created.
27663     * This is because this effect needs the geometry information about the objects,
27664     * and if the window was not created yet, it can get a wrong information.
27665     */
27666    EAPI Elm_Transit_Effect *elm_transit_effect_wipe_add(Elm_Transit *transit, Elm_Transit_Effect_Wipe_Type type, Elm_Transit_Effect_Wipe_Dir dir);
27667
27668    /**
27669     * Add the Color Effect to Elm_Transit.
27670     *
27671     * @note This API is one of the facades. It creates color effect context
27672     * and add it's required APIs to elm_transit_effect_add.
27673     *
27674     * @see elm_transit_effect_add()
27675     *
27676     * @param transit        Transit object.
27677     * @param  from_r        RGB R when effect begins.
27678     * @param  from_g        RGB G when effect begins.
27679     * @param  from_b        RGB B when effect begins.
27680     * @param  from_a        RGB A when effect begins.
27681     * @param  to_r          RGB R when effect ends.
27682     * @param  to_g          RGB G when effect ends.
27683     * @param  to_b          RGB B when effect ends.
27684     * @param  to_a          RGB A when effect ends.
27685     * @return               Color effect context data.
27686     *
27687     * @ingroup Transit
27688     */
27689    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);
27690
27691    /**
27692     * Add the Fade Effect to Elm_Transit.
27693     *
27694     * @note This API is one of the facades. It creates fade effect context
27695     * and add it's required APIs to elm_transit_effect_add.
27696     * @note This effect is applied to each pair of objects in the order they are listed
27697     * in the transit list of objects. The first object in the pair will be the
27698     * "before" object and the second will be the "after" object.
27699     *
27700     * @see elm_transit_effect_add()
27701     *
27702     * @param transit Transit object.
27703     * @return Fade effect context data.
27704     *
27705     * @ingroup Transit
27706     * @warning It is highly recommended just create a transit with this effect when
27707     * the window that the objects of the transit belongs has already been created.
27708     * This is because this effect needs the color information about the objects,
27709     * and if the window was not created yet, it can get a wrong information.
27710     */
27711    EAPI Elm_Transit_Effect *elm_transit_effect_fade_add(Elm_Transit *transit);
27712
27713    /**
27714     * Add the Blend Effect to Elm_Transit.
27715     *
27716     * @note This API is one of the facades. It creates blend effect context
27717     * and add it's required APIs to elm_transit_effect_add.
27718     * @note This effect is applied to each pair of objects in the order they are listed
27719     * in the transit list of objects. The first object in the pair will be the
27720     * "before" object and the second will be the "after" object.
27721     *
27722     * @see elm_transit_effect_add()
27723     *
27724     * @param transit Transit object.
27725     * @return Blend effect context data.
27726     *
27727     * @ingroup Transit
27728     * @warning It is highly recommended just create a transit with this effect when
27729     * the window that the objects of the transit belongs has already been created.
27730     * This is because this effect needs the color information about the objects,
27731     * and if the window was not created yet, it can get a wrong information.
27732     */
27733    EAPI Elm_Transit_Effect *elm_transit_effect_blend_add(Elm_Transit *transit);
27734
27735    /**
27736     * Add the Rotation Effect to Elm_Transit.
27737     *
27738     * @note This API is one of the facades. It creates rotation effect context
27739     * and add it's required APIs to elm_transit_effect_add.
27740     *
27741     * @see elm_transit_effect_add()
27742     *
27743     * @param transit Transit object.
27744     * @param from_degree Degree when effect begins.
27745     * @param to_degree Degree when effect is ends.
27746     * @return Rotation effect context data.
27747     *
27748     * @ingroup Transit
27749     * @warning It is highly recommended just create a transit with this effect when
27750     * the window that the objects of the transit belongs has already been created.
27751     * This is because this effect needs the geometry information about the objects,
27752     * and if the window was not created yet, it can get a wrong information.
27753     */
27754    EAPI Elm_Transit_Effect *elm_transit_effect_rotation_add(Elm_Transit *transit, float from_degree, float to_degree);
27755
27756    /**
27757     * Add the ImageAnimation Effect to Elm_Transit.
27758     *
27759     * @note This API is one of the facades. It creates image animation effect context
27760     * and add it's required APIs to elm_transit_effect_add.
27761     * The @p images parameter is a list images paths. This list and
27762     * its contents will be deleted at the end of the effect by
27763     * elm_transit_effect_image_animation_context_free() function.
27764     *
27765     * Example:
27766     * @code
27767     * char buf[PATH_MAX];
27768     * Eina_List *images = NULL;
27769     * Elm_Transit *transi = elm_transit_add();
27770     *
27771     * snprintf(buf, sizeof(buf), "%s/images/icon_11.png", PACKAGE_DATA_DIR);
27772     * images = eina_list_append(images, eina_stringshare_add(buf));
27773     *
27774     * snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
27775     * images = eina_list_append(images, eina_stringshare_add(buf));
27776     * elm_transit_effect_image_animation_add(transi, images);
27777     *
27778     * @endcode
27779     *
27780     * @see elm_transit_effect_add()
27781     *
27782     * @param transit Transit object.
27783     * @param images Eina_List of images file paths. This list and
27784     * its contents will be deleted at the end of the effect by
27785     * elm_transit_effect_image_animation_context_free() function.
27786     * @return Image Animation effect context data.
27787     *
27788     * @ingroup Transit
27789     */
27790    EAPI Elm_Transit_Effect *elm_transit_effect_image_animation_add(Elm_Transit *transit, Eina_List *images);
27791    /**
27792     * @}
27793     */
27794
27795    typedef struct _Elm_Store                      Elm_Store;
27796    typedef struct _Elm_Store_Filesystem           Elm_Store_Filesystem;
27797    typedef struct _Elm_Store_Item                 Elm_Store_Item;
27798    typedef struct _Elm_Store_Item_Filesystem      Elm_Store_Item_Filesystem;
27799    typedef struct _Elm_Store_Item_Info            Elm_Store_Item_Info;
27800    typedef struct _Elm_Store_Item_Info_Filesystem Elm_Store_Item_Info_Filesystem;
27801    typedef struct _Elm_Store_Item_Mapping         Elm_Store_Item_Mapping;
27802    typedef struct _Elm_Store_Item_Mapping_Empty   Elm_Store_Item_Mapping_Empty;
27803    typedef struct _Elm_Store_Item_Mapping_Icon    Elm_Store_Item_Mapping_Icon;
27804    typedef struct _Elm_Store_Item_Mapping_Photo   Elm_Store_Item_Mapping_Photo;
27805    typedef struct _Elm_Store_Item_Mapping_Custom  Elm_Store_Item_Mapping_Custom;
27806
27807    typedef Eina_Bool (*Elm_Store_Item_List_Cb) (void *data, Elm_Store_Item_Info *info);
27808    typedef void      (*Elm_Store_Item_Fetch_Cb) (void *data, Elm_Store_Item *sti);
27809    typedef void      (*Elm_Store_Item_Unfetch_Cb) (void *data, Elm_Store_Item *sti);
27810    typedef void     *(*Elm_Store_Item_Mapping_Cb) (void *data, Elm_Store_Item *sti, const char *part);
27811
27812    typedef enum
27813      {
27814         ELM_STORE_ITEM_MAPPING_NONE = 0,
27815         ELM_STORE_ITEM_MAPPING_LABEL, // const char * -> label
27816         ELM_STORE_ITEM_MAPPING_STATE, // Eina_Bool -> state
27817         ELM_STORE_ITEM_MAPPING_ICON, // char * -> icon path
27818         ELM_STORE_ITEM_MAPPING_PHOTO, // char * -> photo path
27819         ELM_STORE_ITEM_MAPPING_CUSTOM, // item->custom(it->data, it, part) -> void * (-> any)
27820         // can add more here as needed by common apps
27821         ELM_STORE_ITEM_MAPPING_LAST
27822      } Elm_Store_Item_Mapping_Type;
27823
27824    struct _Elm_Store_Item_Mapping_Icon
27825      {
27826         // FIXME: allow edje file icons
27827         int                   w, h;
27828         Elm_Icon_Lookup_Order lookup_order;
27829         Eina_Bool             standard_name : 1;
27830         Eina_Bool             no_scale : 1;
27831         Eina_Bool             smooth : 1;
27832         Eina_Bool             scale_up : 1;
27833         Eina_Bool             scale_down : 1;
27834      };
27835
27836    struct _Elm_Store_Item_Mapping_Empty
27837      {
27838         Eina_Bool             dummy;
27839      };
27840
27841    struct _Elm_Store_Item_Mapping_Photo
27842      {
27843         int                   size;
27844      };
27845
27846    struct _Elm_Store_Item_Mapping_Custom
27847      {
27848         Elm_Store_Item_Mapping_Cb func;
27849      };
27850
27851    struct _Elm_Store_Item_Mapping
27852      {
27853         Elm_Store_Item_Mapping_Type     type;
27854         const char                     *part;
27855         int                             offset;
27856         union
27857           {
27858              Elm_Store_Item_Mapping_Empty  empty;
27859              Elm_Store_Item_Mapping_Icon   icon;
27860              Elm_Store_Item_Mapping_Photo  photo;
27861              Elm_Store_Item_Mapping_Custom custom;
27862              // add more types here
27863           } details;
27864      };
27865
27866    struct _Elm_Store_Item_Info
27867      {
27868         Elm_Genlist_Item_Class       *item_class;
27869         const Elm_Store_Item_Mapping *mapping;
27870         void                         *data;
27871         char                         *sort_id;
27872      };
27873
27874    struct _Elm_Store_Item_Info_Filesystem
27875      {
27876         Elm_Store_Item_Info  base;
27877         char                *path;
27878      };
27879
27880 #define ELM_STORE_ITEM_MAPPING_END { ELM_STORE_ITEM_MAPPING_NONE, NULL, 0, { .empty = { EINA_TRUE } } }
27881 #define ELM_STORE_ITEM_MAPPING_OFFSET(st, it) offsetof(st, it)
27882
27883    EAPI void                    elm_store_free(Elm_Store *st);
27884
27885    EAPI Elm_Store              *elm_store_filesystem_new(void);
27886    EAPI void                    elm_store_filesystem_directory_set(Elm_Store *st, const char *dir) EINA_ARG_NONNULL(1);
27887    EAPI const char             *elm_store_filesystem_directory_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27888    EAPI const char             *elm_store_item_filesystem_path_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27889
27890    EAPI void                    elm_store_target_genlist_set(Elm_Store *st, Evas_Object *obj) EINA_ARG_NONNULL(1);
27891
27892    EAPI void                    elm_store_cache_set(Elm_Store *st, int max) EINA_ARG_NONNULL(1);
27893    EAPI int                     elm_store_cache_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27894    EAPI void                    elm_store_list_func_set(Elm_Store *st, Elm_Store_Item_List_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
27895    EAPI void                    elm_store_fetch_func_set(Elm_Store *st, Elm_Store_Item_Fetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
27896    EAPI void                    elm_store_fetch_thread_set(Elm_Store *st, Eina_Bool use_thread) EINA_ARG_NONNULL(1);
27897    EAPI Eina_Bool               elm_store_fetch_thread_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27898
27899    EAPI void                    elm_store_unfetch_func_set(Elm_Store *st, Elm_Store_Item_Unfetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
27900    EAPI void                    elm_store_sorted_set(Elm_Store *st, Eina_Bool sorted) EINA_ARG_NONNULL(1);
27901    EAPI Eina_Bool               elm_store_sorted_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
27902    EAPI void                    elm_store_item_data_set(Elm_Store_Item *sti, void *data) EINA_ARG_NONNULL(1);
27903    EAPI void                   *elm_store_item_data_get(Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27904    EAPI const Elm_Store        *elm_store_item_store_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27905    EAPI const Elm_Genlist_Item *elm_store_item_genlist_item_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27906
27907    /**
27908     * @defgroup SegmentControl SegmentControl
27909     * @ingroup Elementary
27910     *
27911     * @image html img/widget/segment_control/preview-00.png
27912     * @image latex img/widget/segment_control/preview-00.eps width=\textwidth
27913     *
27914     * @image html img/segment_control.png
27915     * @image latex img/segment_control.eps width=\textwidth
27916     *
27917     * Segment control widget is a horizontal control made of multiple segment
27918     * items, each segment item functioning similar to discrete two state button.
27919     * A segment control groups the items together and provides compact
27920     * single button with multiple equal size segments.
27921     *
27922     * Segment item size is determined by base widget
27923     * size and the number of items added.
27924     * Only one segment item can be at selected state. A segment item can display
27925     * combination of Text and any Evas_Object like Images or other widget.
27926     *
27927     * Smart callbacks one can listen to:
27928     * - "changed" - When the user clicks on a segment item which is not
27929     *   previously selected and get selected. The event_info parameter is the
27930     *   segment item pointer.
27931     *
27932     * Available styles for it:
27933     * - @c "default"
27934     *
27935     * Here is an example on its usage:
27936     * @li @ref segment_control_example
27937     */
27938
27939    /**
27940     * @addtogroup SegmentControl
27941     * @{
27942     */
27943
27944    typedef struct _Elm_Segment_Item Elm_Segment_Item; /**< Item handle for a segment control widget. */
27945
27946    /**
27947     * Add a new segment control widget to the given parent Elementary
27948     * (container) object.
27949     *
27950     * @param parent The parent object.
27951     * @return a new segment control widget handle or @c NULL, on errors.
27952     *
27953     * This function inserts a new segment control widget on the canvas.
27954     *
27955     * @ingroup SegmentControl
27956     */
27957    EAPI Evas_Object      *elm_segment_control_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
27958
27959    /**
27960     * Append a new item to the segment control object.
27961     *
27962     * @param obj The segment control object.
27963     * @param icon The icon object to use for the left side of the item. An
27964     * icon can be any Evas object, but usually it is an icon created
27965     * with elm_icon_add().
27966     * @param label The label of the item.
27967     *        Note that, NULL is different from empty string "".
27968     * @return The created item or @c NULL upon failure.
27969     *
27970     * A new item will be created and appended to the segment control, i.e., will
27971     * be set as @b last item.
27972     *
27973     * If it should be inserted at another position,
27974     * elm_segment_control_item_insert_at() should be used instead.
27975     *
27976     * Items created with this function can be deleted with function
27977     * elm_segment_control_item_del() or elm_segment_control_item_del_at().
27978     *
27979     * @note @p label set to @c NULL is different from empty string "".
27980     * If an item
27981     * only has icon, it will be displayed bigger and centered. If it has
27982     * icon and label, even that an empty string, icon will be smaller and
27983     * positioned at left.
27984     *
27985     * Simple example:
27986     * @code
27987     * sc = elm_segment_control_add(win);
27988     * ic = elm_icon_add(win);
27989     * elm_icon_file_set(ic, "path/to/image", NULL);
27990     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
27991     * elm_segment_control_item_add(sc, ic, "label");
27992     * evas_object_show(sc);
27993     * @endcode
27994     *
27995     * @see elm_segment_control_item_insert_at()
27996     * @see elm_segment_control_item_del()
27997     *
27998     * @ingroup SegmentControl
27999     */
28000    EAPI Elm_Segment_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const char *label) EINA_ARG_NONNULL(1);
28001
28002    /**
28003     * Insert a new item to the segment control object at specified position.
28004     *
28005     * @param obj The segment control object.
28006     * @param icon The icon object to use for the left side of the item. An
28007     * icon can be any Evas object, but usually it is an icon created
28008     * with elm_icon_add().
28009     * @param label The label of the item.
28010     * @param index Item position. Value should be between 0 and items count.
28011     * @return The created item or @c NULL upon failure.
28012
28013     * Index values must be between @c 0, when item will be prepended to
28014     * segment control, and items count, that can be get with
28015     * elm_segment_control_item_count_get(), case when item will be appended
28016     * to segment control, just like elm_segment_control_item_add().
28017     *
28018     * Items created with this function can be deleted with function
28019     * elm_segment_control_item_del() or elm_segment_control_item_del_at().
28020     *
28021     * @note @p label set to @c NULL is different from empty string "".
28022     * If an item
28023     * only has icon, it will be displayed bigger and centered. If it has
28024     * icon and label, even that an empty string, icon will be smaller and
28025     * positioned at left.
28026     *
28027     * @see elm_segment_control_item_add()
28028     * @see elm_segment_control_item_count_get()
28029     * @see elm_segment_control_item_del()
28030     *
28031     * @ingroup SegmentControl
28032     */
28033    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);
28034
28035    /**
28036     * Remove a segment control item from its parent, deleting it.
28037     *
28038     * @param it The item to be removed.
28039     *
28040     * Items can be added with elm_segment_control_item_add() or
28041     * elm_segment_control_item_insert_at().
28042     *
28043     * @ingroup SegmentControl
28044     */
28045    EAPI void              elm_segment_control_item_del(Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
28046
28047    /**
28048     * Remove a segment control item at given index from its parent,
28049     * deleting it.
28050     *
28051     * @param obj The segment control object.
28052     * @param index The position of the segment control item to be deleted.
28053     *
28054     * Items can be added with elm_segment_control_item_add() or
28055     * elm_segment_control_item_insert_at().
28056     *
28057     * @ingroup SegmentControl
28058     */
28059    EAPI void              elm_segment_control_item_del_at(Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
28060
28061    /**
28062     * Get the Segment items count from segment control.
28063     *
28064     * @param obj The segment control object.
28065     * @return Segment items count.
28066     *
28067     * It will just return the number of items added to segment control @p obj.
28068     *
28069     * @ingroup SegmentControl
28070     */
28071    EAPI int               elm_segment_control_item_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28072
28073    /**
28074     * Get the item placed at specified index.
28075     *
28076     * @param obj The segment control object.
28077     * @param index The index of the segment item.
28078     * @return The segment control item or @c NULL on failure.
28079     *
28080     * Index is the position of an item in segment control widget. Its
28081     * range is from @c 0 to <tt> count - 1 </tt>.
28082     * Count is the number of items, that can be get with
28083     * elm_segment_control_item_count_get().
28084     *
28085     * @ingroup SegmentControl
28086     */
28087    EAPI Elm_Segment_Item *elm_segment_control_item_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
28088
28089    /**
28090     * Get the label of item.
28091     *
28092     * @param obj The segment control object.
28093     * @param index The index of the segment item.
28094     * @return The label of the item at @p index.
28095     *
28096     * The return value is a pointer to the label associated to the item when
28097     * it was created, with function elm_segment_control_item_add(), or later
28098     * with function elm_segment_control_item_label_set. If no label
28099     * was passed as argument, it will return @c NULL.
28100     *
28101     * @see elm_segment_control_item_label_set() for more details.
28102     * @see elm_segment_control_item_add()
28103     *
28104     * @ingroup SegmentControl
28105     */
28106    EAPI const char       *elm_segment_control_item_label_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
28107
28108    /**
28109     * Set the label of item.
28110     *
28111     * @param it The item of segment control.
28112     * @param text The label of item.
28113     *
28114     * The label to be displayed by the item.
28115     * Label will be at right of the icon (if set).
28116     *
28117     * If a label was passed as argument on item creation, with function
28118     * elm_control_segment_item_add(), it will be already
28119     * displayed by the item.
28120     *
28121     * @see elm_segment_control_item_label_get()
28122     * @see elm_segment_control_item_add()
28123     *
28124     * @ingroup SegmentControl
28125     */
28126    EAPI void              elm_segment_control_item_label_set(Elm_Segment_Item* it, const char* label) EINA_ARG_NONNULL(1);
28127
28128    /**
28129     * Get the icon associated to the item.
28130     *
28131     * @param obj The segment control object.
28132     * @param index The index of the segment item.
28133     * @return The left side icon associated to the item at @p index.
28134     *
28135     * The return value is a pointer to the icon associated to the item when
28136     * it was created, with function elm_segment_control_item_add(), or later
28137     * with function elm_segment_control_item_icon_set(). If no icon
28138     * was passed as argument, it will return @c NULL.
28139     *
28140     * @see elm_segment_control_item_add()
28141     * @see elm_segment_control_item_icon_set()
28142     *
28143     * @ingroup SegmentControl
28144     */
28145    EAPI Evas_Object      *elm_segment_control_item_icon_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
28146
28147    /**
28148     * Set the icon associated to the item.
28149     *
28150     * @param it The segment control item.
28151     * @param icon The icon object to associate with @p it.
28152     *
28153     * The icon object to use at left side of the item. An
28154     * icon can be any Evas object, but usually it is an icon created
28155     * with elm_icon_add().
28156     *
28157     * Once the icon object is set, a previously set one will be deleted.
28158     * @warning Setting the same icon for two items will cause the icon to
28159     * dissapear from the first item.
28160     *
28161     * If an icon was passed as argument on item creation, with function
28162     * elm_segment_control_item_add(), it will be already
28163     * associated to the item.
28164     *
28165     * @see elm_segment_control_item_add()
28166     * @see elm_segment_control_item_icon_get()
28167     *
28168     * @ingroup SegmentControl
28169     */
28170    EAPI void              elm_segment_control_item_icon_set(Elm_Segment_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
28171
28172    /**
28173     * Get the index of an item.
28174     *
28175     * @param it The segment control item.
28176     * @return The position of item in segment control widget.
28177     *
28178     * Index is the position of an item in segment control widget. Its
28179     * range is from @c 0 to <tt> count - 1 </tt>.
28180     * Count is the number of items, that can be get with
28181     * elm_segment_control_item_count_get().
28182     *
28183     * @ingroup SegmentControl
28184     */
28185    EAPI int               elm_segment_control_item_index_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
28186
28187    /**
28188     * Get the base object of the item.
28189     *
28190     * @param it The segment control item.
28191     * @return The base object associated with @p it.
28192     *
28193     * Base object is the @c Evas_Object that represents that item.
28194     *
28195     * @ingroup SegmentControl
28196     */
28197    EAPI Evas_Object      *elm_segment_control_item_object_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
28198
28199    /**
28200     * Get the selected item.
28201     *
28202     * @param obj The segment control object.
28203     * @return The selected item or @c NULL if none of segment items is
28204     * selected.
28205     *
28206     * The selected item can be unselected with function
28207     * elm_segment_control_item_selected_set().
28208     *
28209     * The selected item always will be highlighted on segment control.
28210     *
28211     * @ingroup SegmentControl
28212     */
28213    EAPI Elm_Segment_Item *elm_segment_control_item_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28214
28215    /**
28216     * Set the selected state of an item.
28217     *
28218     * @param it The segment control item
28219     * @param select The selected state
28220     *
28221     * This sets the selected state of the given item @p it.
28222     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
28223     *
28224     * If a new item is selected the previosly selected will be unselected.
28225     * Previoulsy selected item can be get with function
28226     * elm_segment_control_item_selected_get().
28227     *
28228     * The selected item always will be highlighted on segment control.
28229     *
28230     * @see elm_segment_control_item_selected_get()
28231     *
28232     * @ingroup SegmentControl
28233     */
28234    EAPI void              elm_segment_control_item_selected_set(Elm_Segment_Item *it, Eina_Bool select) EINA_ARG_NONNULL(1);
28235
28236    /**
28237     * @}
28238     */
28239
28240    /**
28241     * @defgroup Grid Grid
28242     *
28243     * The grid is a grid layout widget that lays out a series of children as a
28244     * fixed "grid" of widgets using a given percentage of the grid width and
28245     * height each using the child object.
28246     *
28247     * The Grid uses a "Virtual resolution" that is stretched to fill the grid
28248     * widgets size itself. The default is 100 x 100, so that means the
28249     * position and sizes of children will effectively be percentages (0 to 100)
28250     * of the width or height of the grid widget
28251     *
28252     * @{
28253     */
28254
28255    /**
28256     * Add a new grid to the parent
28257     *
28258     * @param parent The parent object
28259     * @return The new object or NULL if it cannot be created
28260     *
28261     * @ingroup Grid
28262     */
28263    EAPI Evas_Object *elm_grid_add(Evas_Object *parent);
28264
28265    /**
28266     * Set the virtual size of the grid
28267     *
28268     * @param obj The grid object
28269     * @param w The virtual width of the grid
28270     * @param h The virtual height of the grid
28271     *
28272     * @ingroup Grid
28273     */
28274    EAPI void         elm_grid_size_set(Evas_Object *obj, int w, int h);
28275
28276    /**
28277     * Get the virtual size of the grid
28278     *
28279     * @param obj The grid object
28280     * @param w Pointer to integer to store the virtual width of the grid
28281     * @param h Pointer to integer to store the virtual height of the grid
28282     *
28283     * @ingroup Grid
28284     */
28285    EAPI void         elm_grid_size_get(Evas_Object *obj, int *w, int *h);
28286
28287    /**
28288     * Pack child at given position and size
28289     *
28290     * @param obj The grid object
28291     * @param subobj The child to pack
28292     * @param x The virtual x coord at which to pack it
28293     * @param y The virtual y coord at which to pack it
28294     * @param w The virtual width at which to pack it
28295     * @param h The virtual height at which to pack it
28296     *
28297     * @ingroup Grid
28298     */
28299    EAPI void         elm_grid_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h);
28300
28301    /**
28302     * Unpack a child from a grid object
28303     *
28304     * @param obj The grid object
28305     * @param subobj The child to unpack
28306     *
28307     * @ingroup Grid
28308     */
28309    EAPI void         elm_grid_unpack(Evas_Object *obj, Evas_Object *subobj);
28310
28311    /**
28312     * Faster way to remove all child objects from a grid object.
28313     *
28314     * @param obj The grid object
28315     * @param clear If true, it will delete just removed children
28316     *
28317     * @ingroup Grid
28318     */
28319    EAPI void         elm_grid_clear(Evas_Object *obj, Eina_Bool clear);
28320
28321    /**
28322     * Set packing of an existing child at to position and size
28323     *
28324     * @param subobj The child to set packing of
28325     * @param x The virtual x coord at which to pack it
28326     * @param y The virtual y coord at which to pack it
28327     * @param w The virtual width at which to pack it
28328     * @param h The virtual height at which to pack it
28329     *
28330     * @ingroup Grid
28331     */
28332    EAPI void         elm_grid_pack_set(Evas_Object *subobj, int x, int y, int w, int h);
28333
28334    /**
28335     * get packing of a child
28336     *
28337     * @param subobj The child to query
28338     * @param x Pointer to integer to store the virtual x coord
28339     * @param y Pointer to integer to store the virtual y coord
28340     * @param w Pointer to integer to store the virtual width
28341     * @param h Pointer to integer to store the virtual height
28342     *
28343     * @ingroup Grid
28344     */
28345    EAPI void         elm_grid_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h);
28346
28347    /**
28348     * @}
28349     */
28350
28351    EAPI Evas_Object *elm_factory_add(Evas_Object *parent);
28352    EINA_DEPRECATED EAPI void         elm_factory_content_set(Evas_Object *obj, Evas_Object *content);
28353    EINA_DEPRECATED EAPI Evas_Object *elm_factory_content_get(const Evas_Object *obj);
28354    EAPI void         elm_factory_maxmin_mode_set(Evas_Object *obj, Eina_Bool enabled);
28355    EAPI Eina_Bool    elm_factory_maxmin_mode_get(const Evas_Object *obj);
28356    EAPI void         elm_factory_maxmin_reset_set(Evas_Object *obj);
28357
28358    /**
28359     * @defgroup Video Video
28360     *
28361     * @addtogroup Video
28362     * @{
28363     *
28364     * Elementary comes with two object that help design application that need
28365     * to display video. The main one, Elm_Video, display a video by using Emotion.
28366     * It does embedded the video inside an Edje object, so you can do some
28367     * animation depending on the video state change. It does also implement a
28368     * ressource management policy to remove this burden from the application writer.
28369     *
28370     * The second one, Elm_Player is a video player that need to be linked with and Elm_Video.
28371     * It take care of updating its content according to Emotion event and provide a
28372     * way to theme itself. It also does automatically raise the priority of the
28373     * linked Elm_Video so it will use the video decoder if available. It also does
28374     * activate the remember function on the linked Elm_Video object.
28375     *
28376     * Signals that you can add callback for are :
28377     *
28378     * "forward,clicked" - the user clicked the forward button.
28379     * "info,clicked" - the user clicked the info button.
28380     * "next,clicked" - the user clicked the next button.
28381     * "pause,clicked" - the user clicked the pause button.
28382     * "play,clicked" - the user clicked the play button.
28383     * "prev,clicked" - the user clicked the prev button.
28384     * "rewind,clicked" - the user clicked the rewind button.
28385     * "stop,clicked" - the user clicked the stop button.
28386     * 
28387     * Default contents parts of the player widget that you can use for are:
28388     * @li "video" - A video of the player
28389     * 
28390     */
28391
28392    /**
28393     * @brief Add a new Elm_Player object to the given parent Elementary (container) object.
28394     *
28395     * @param parent The parent object
28396     * @return a new player widget handle or @c NULL, on errors.
28397     *
28398     * This function inserts a new player widget on the canvas.
28399     *
28400     * @see elm_object_part_content_set()
28401     *
28402     * @ingroup Video
28403     */
28404    EAPI Evas_Object *elm_player_add(Evas_Object *parent);
28405
28406    /**
28407     * @brief Link a Elm_Payer with an Elm_Video object.
28408     *
28409     * @param player the Elm_Player object.
28410     * @param video The Elm_Video object.
28411     *
28412     * This mean that action on the player widget will affect the
28413     * video object and the state of the video will be reflected in
28414     * the player itself.
28415     *
28416     * @see elm_player_add()
28417     * @see elm_video_add()
28418     * @deprecated use elm_object_part_content_set() instead
28419     *
28420     * @ingroup Video
28421     */
28422    EINA_DEPRECATED EAPI void elm_player_video_set(Evas_Object *player, Evas_Object *video);
28423
28424    /**
28425     * @brief Add a new Elm_Video object to the given parent Elementary (container) object.
28426     *
28427     * @param parent The parent object
28428     * @return a new video widget handle or @c NULL, on errors.
28429     *
28430     * This function inserts a new video widget on the canvas.
28431     *
28432     * @seeelm_video_file_set()
28433     * @see elm_video_uri_set()
28434     *
28435     * @ingroup Video
28436     */
28437    EAPI Evas_Object *elm_video_add(Evas_Object *parent);
28438
28439    /**
28440     * @brief Define the file that will be the video source.
28441     *
28442     * @param video The video object to define the file for.
28443     * @param filename The file to target.
28444     *
28445     * This function will explicitly define a filename as a source
28446     * for the video of the Elm_Video object.
28447     *
28448     * @see elm_video_uri_set()
28449     * @see elm_video_add()
28450     * @see elm_player_add()
28451     *
28452     * @ingroup Video
28453     */
28454    EAPI void elm_video_file_set(Evas_Object *video, const char *filename);
28455
28456    /**
28457     * @brief Define the uri that will be the video source.
28458     *
28459     * @param video The video object to define the file for.
28460     * @param uri The uri to target.
28461     *
28462     * This function will define an uri as a source for the video of the
28463     * Elm_Video object. URI could be remote source of video, like http:// or local source
28464     * like for example WebCam who are most of the time v4l2:// (but that depend and
28465     * you should use Emotion API to request and list the available Webcam on your system).
28466     *
28467     * @see elm_video_file_set()
28468     * @see elm_video_add()
28469     * @see elm_player_add()
28470     *
28471     * @ingroup Video
28472     */
28473    EAPI void elm_video_uri_set(Evas_Object *video, const char *uri);
28474
28475    /**
28476     * @brief Get the underlying Emotion object.
28477     *
28478     * @param video The video object to proceed the request on.
28479     * @return the underlying Emotion object.
28480     *
28481     * @ingroup Video
28482     */
28483    EAPI Evas_Object *elm_video_emotion_get(const Evas_Object *video);
28484
28485    /**
28486     * @brief Start to play the video
28487     *
28488     * @param video The video object to proceed the request on.
28489     *
28490     * Start to play the video and cancel all suspend state.
28491     *
28492     * @ingroup Video
28493     */
28494    EAPI void elm_video_play(Evas_Object *video);
28495
28496    /**
28497     * @brief Pause the video
28498     *
28499     * @param video The video object to proceed the request on.
28500     *
28501     * Pause the video and start a timer to trigger suspend mode.
28502     *
28503     * @ingroup Video
28504     */
28505    EAPI void elm_video_pause(Evas_Object *video);
28506
28507    /**
28508     * @brief Stop the video
28509     *
28510     * @param video The video object to proceed the request on.
28511     *
28512     * Stop the video and put the emotion in deep sleep mode.
28513     *
28514     * @ingroup Video
28515     */
28516    EAPI void elm_video_stop(Evas_Object *video);
28517
28518    /**
28519     * @brief Is the video actually playing.
28520     *
28521     * @param video The video object to proceed the request on.
28522     * @return EINA_TRUE if the video is actually playing.
28523     *
28524     * You should consider watching event on the object instead of polling
28525     * the object state.
28526     *
28527     * @ingroup Video
28528     */
28529    EAPI Eina_Bool elm_video_is_playing(const Evas_Object *video);
28530
28531    /**
28532     * @brief Is it possible to seek inside the video.
28533     *
28534     * @param video The video object to proceed the request on.
28535     * @return EINA_TRUE if is possible to seek inside the video.
28536     *
28537     * @ingroup Video
28538     */
28539    EAPI Eina_Bool elm_video_is_seekable(const Evas_Object *video);
28540
28541    /**
28542     * @brief Is the audio muted.
28543     *
28544     * @param video The video object to proceed the request on.
28545     * @return EINA_TRUE if the audio is muted.
28546     *
28547     * @ingroup Video
28548     */
28549    EAPI Eina_Bool elm_video_audio_mute_get(const Evas_Object *video);
28550
28551    /**
28552     * @brief Change the mute state of the Elm_Video object.
28553     *
28554     * @param video The video object to proceed the request on.
28555     * @param mute The new mute state.
28556     *
28557     * @ingroup Video
28558     */
28559    EAPI void elm_video_audio_mute_set(Evas_Object *video, Eina_Bool mute);
28560
28561    /**
28562     * @brief Get the audio level of the current video.
28563     *
28564     * @param video The video object to proceed the request on.
28565     * @return the current audio level.
28566     *
28567     * @ingroup Video
28568     */
28569    EAPI double elm_video_audio_level_get(const Evas_Object *video);
28570
28571    /**
28572     * @brief Set the audio level of anElm_Video object.
28573     *
28574     * @param video The video object to proceed the request on.
28575     * @param volume The new audio volume.
28576     *
28577     * @ingroup Video
28578     */
28579    EAPI void elm_video_audio_level_set(Evas_Object *video, double volume);
28580
28581    EAPI double elm_video_play_position_get(const Evas_Object *video);
28582    EAPI void elm_video_play_position_set(Evas_Object *video, double position);
28583    EAPI double elm_video_play_length_get(const Evas_Object *video);
28584    EAPI void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember);
28585    EAPI Eina_Bool elm_video_remember_position_get(const Evas_Object *video);
28586    EAPI const char *elm_video_title_get(const Evas_Object *video);
28587    /**
28588     * @}
28589     */
28590
28591    /**
28592     * @defgroup Naviframe Naviframe
28593     * @ingroup Elementary
28594     *
28595     * @brief Naviframe is a kind of view manager for the applications.
28596     *
28597     * Naviframe provides functions to switch different pages with stack
28598     * mechanism. It means if one page(item) needs to be changed to the new one,
28599     * then naviframe would push the new page to it's internal stack. Of course,
28600     * it can be back to the previous page by popping the top page. Naviframe
28601     * provides some transition effect while the pages are switching (same as
28602     * pager).
28603     *
28604     * Since each item could keep the different styles, users could keep the
28605     * same look & feel for the pages or different styles for the items in it's
28606     * application.
28607     *
28608     * Signals that you can add callback for are:
28609     * @li "transition,finished" - When the transition is finished in changing
28610     *     the item
28611     * @li "title,clicked" - User clicked title area
28612     *
28613     * Default contents parts of the naviframe items that you can use for are:
28614     * @li "default" - A main content of the page
28615     * @li "icon" - A icon in the title area
28616     * @li "prev_btn" - A button to go to the previous page
28617     * @li "next_btn" - A button to go to the next page
28618     *
28619     * Default text parts of the naviframe items that you can use for are:
28620     * @li "default" - Title label in the title area
28621     * @li "subtitle" - Sub-title label in the title area
28622     *
28623     * @ref tutorial_naviframe gives a good overview of the usage of the API.
28624     */
28625
28626    /**
28627     * @addtogroup Naviframe
28628     * @{
28629     */
28630
28631    /**
28632     * @brief Add a new Naviframe object to the parent.
28633     *
28634     * @param parent Parent object
28635     * @return New object or @c NULL, if it cannot be created
28636     *
28637     * @ingroup Naviframe
28638     */
28639    EAPI Evas_Object        *elm_naviframe_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
28640    /**
28641     * @brief Push a new item to the top of the naviframe stack (and show it).
28642     *
28643     * @param obj The naviframe object
28644     * @param title_label The label in the title area. The name of the title
28645     *        label part is "elm.text.title"
28646     * @param prev_btn The button to go to the previous item. If it is NULL,
28647     *        then naviframe will create a back button automatically. The name of
28648     *        the prev_btn part is "elm.swallow.prev_btn"
28649     * @param next_btn The button to go to the next item. Or It could be just an
28650     *        extra function button. The name of the next_btn part is
28651     *        "elm.swallow.next_btn"
28652     * @param content The main content object. The name of content part is
28653     *        "elm.swallow.content"
28654     * @param item_style The current item style name. @c NULL would be default.
28655     * @return The created item or @c NULL upon failure.
28656     *
28657     * The item pushed becomes one page of the naviframe, this item will be
28658     * deleted when it is popped.
28659     *
28660     * @see also elm_naviframe_item_style_set()
28661     * @see also elm_naviframe_item_insert_before()
28662     * @see also elm_naviframe_item_insert_after()
28663     *
28664     * The following styles are available for this item:
28665     * @li @c "default"
28666     *
28667     * @ingroup Naviframe
28668     */
28669    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);
28670     /**
28671     * @brief Insert a new item into the naviframe before item @p before.
28672     *
28673     * @param before The naviframe item to insert before.
28674     * @param title_label The label in the title area. The name of the title
28675     *        label part is "elm.text.title"
28676     * @param prev_btn The button to go to the previous item. If it is NULL,
28677     *        then naviframe will create a back button automatically. The name of
28678     *        the prev_btn part is "elm.swallow.prev_btn"
28679     * @param next_btn The button to go to the next item. Or It could be just an
28680     *        extra function button. The name of the next_btn part is
28681     *        "elm.swallow.next_btn"
28682     * @param content The main content object. The name of content part is
28683     *        "elm.swallow.content"
28684     * @param item_style The current item style name. @c NULL would be default.
28685     * @return The created item or @c NULL upon failure.
28686     *
28687     * The item is inserted into the naviframe straight away without any
28688     * transition operations. This item will be deleted when it is popped.
28689     *
28690     * @see also elm_naviframe_item_style_set()
28691     * @see also elm_naviframe_item_push()
28692     * @see also elm_naviframe_item_insert_after()
28693     *
28694     * The following styles are available for this item:
28695     * @li @c "default"
28696     *
28697     * @ingroup Naviframe
28698     */
28699    EAPI Elm_Object_Item    *elm_naviframe_item_insert_before(Elm_Object_Item *before, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style) EINA_ARG_NONNULL(1, 5);
28700    /**
28701     * @brief Insert a new item into the naviframe after item @p after.
28702     *
28703     * @param after The naviframe item to insert after.
28704     * @param title_label The label in the title area. The name of the title
28705     *        label part is "elm.text.title"
28706     * @param prev_btn The button to go to the previous item. If it is NULL,
28707     *        then naviframe will create a back button automatically. The name of
28708     *        the prev_btn part is "elm.swallow.prev_btn"
28709     * @param next_btn The button to go to the next item. Or It could be just an
28710     *        extra function button. The name of the next_btn part is
28711     *        "elm.swallow.next_btn"
28712     * @param content The main content object. The name of content part is
28713     *        "elm.swallow.content"
28714     * @param item_style The current item style name. @c NULL would be default.
28715     * @return The created item or @c NULL upon failure.
28716     *
28717     * The item is inserted into the naviframe straight away without any
28718     * transition operations. This item will be deleted when it is popped.
28719     *
28720     * @see also elm_naviframe_item_style_set()
28721     * @see also elm_naviframe_item_push()
28722     * @see also elm_naviframe_item_insert_before()
28723     *
28724     * The following styles are available for this item:
28725     * @li @c "default"
28726     *
28727     * @ingroup Naviframe
28728     */
28729    EAPI Elm_Object_Item    *elm_naviframe_item_insert_after(Elm_Object_Item *after, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style) EINA_ARG_NONNULL(1, 5);
28730    /**
28731     * @brief Pop an item that is on top of the stack
28732     *
28733     * @param obj The naviframe object
28734     * @return @c NULL or the content object(if the
28735     *         elm_naviframe_content_preserve_on_pop_get is true).
28736     *
28737     * This pops an item that is on the top(visible) of the naviframe, makes it
28738     * disappear, then deletes the item. The item that was underneath it on the
28739     * stack will become visible.
28740     *
28741     * @see also elm_naviframe_content_preserve_on_pop_get()
28742     *
28743     * @ingroup Naviframe
28744     */
28745    EAPI Evas_Object        *elm_naviframe_item_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
28746    /**
28747     * @brief Pop the items between the top and the above one on the given item.
28748     *
28749     * @param it The naviframe item
28750     *
28751     * @ingroup Naviframe
28752     */
28753    EAPI void                elm_naviframe_item_pop_to(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28754    /**
28755    * Promote an item already in the naviframe stack to the top of the stack
28756    *
28757    * @param it The naviframe item
28758    *
28759    * This will take the indicated item and promote it to the top of the stack
28760    * as if it had been pushed there. The item must already be inside the
28761    * naviframe stack to work.
28762    *
28763    */
28764    EAPI void                elm_naviframe_item_promote(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28765    /**
28766     * @brief Delete the given item instantly.
28767     *
28768     * @param it The naviframe item
28769     *
28770     * This just deletes the given item from the naviframe item list instantly.
28771     * So this would not emit any signals for view transitions but just change
28772     * the current view if the given item is a top one.
28773     *
28774     * @ingroup Naviframe
28775     */
28776    EAPI void                elm_naviframe_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28777    /**
28778     * @brief preserve the content objects when items are popped.
28779     *
28780     * @param obj The naviframe object
28781     * @param preserve Enable the preserve mode if EINA_TRUE, disable otherwise
28782     *
28783     * @see also elm_naviframe_content_preserve_on_pop_get()
28784     *
28785     * @ingroup Naviframe
28786     */
28787    EAPI void                elm_naviframe_content_preserve_on_pop_set(Evas_Object *obj, Eina_Bool preserve) EINA_ARG_NONNULL(1);
28788    /**
28789     * @brief Get a value whether preserve mode is enabled or not.
28790     *
28791     * @param obj The naviframe object
28792     * @return If @c EINA_TRUE, preserve mode is enabled
28793     *
28794     * @see also elm_naviframe_content_preserve_on_pop_set()
28795     *
28796     * @ingroup Naviframe
28797     */
28798    EAPI Eina_Bool           elm_naviframe_content_preserve_on_pop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28799    /**
28800     * @brief Get a top item on the naviframe stack
28801     *
28802     * @param obj The naviframe object
28803     * @return The top item on the naviframe stack or @c NULL, if the stack is
28804     *         empty
28805     *
28806     * @ingroup Naviframe
28807     */
28808    EAPI Elm_Object_Item    *elm_naviframe_top_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28809    /**
28810     * @brief Get a bottom item on the naviframe stack
28811     *
28812     * @param obj The naviframe object
28813     * @return The bottom item on the naviframe stack or @c NULL, if the stack is
28814     *         empty
28815     *
28816     * @ingroup Naviframe
28817     */
28818    EAPI Elm_Object_Item    *elm_naviframe_bottom_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28819    /**
28820     * @brief Set an item style
28821     *
28822     * @param obj The naviframe item
28823     * @param item_style The current item style name. @c NULL would be default
28824     *
28825     * The following styles are available for this item:
28826     * @li @c "default"
28827     *
28828     * @see also elm_naviframe_item_style_get()
28829     *
28830     * @ingroup Naviframe
28831     */
28832    EAPI void                elm_naviframe_item_style_set(Elm_Object_Item *it, const char *item_style) EINA_ARG_NONNULL(1);
28833    /**
28834     * @brief Get an item style
28835     *
28836     * @param obj The naviframe item
28837     * @return The current item style name
28838     *
28839     * @see also elm_naviframe_item_style_set()
28840     *
28841     * @ingroup Naviframe
28842     */
28843    EAPI const char         *elm_naviframe_item_style_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28844    /**
28845     * @brief Show/Hide the title area
28846     *
28847     * @param it The naviframe item
28848     * @param visible If @c EINA_TRUE, title area will be visible, hidden
28849     *        otherwise
28850     *
28851     * When the title area is invisible, then the controls would be hidden so as     * to expand the content area to full-size.
28852     *
28853     * @see also elm_naviframe_item_title_visible_get()
28854     *
28855     * @ingroup Naviframe
28856     */
28857    EAPI void                elm_naviframe_item_title_visible_set(Elm_Object_Item *it, Eina_Bool visible) EINA_ARG_NONNULL(1);
28858    /**
28859     * @brief Get a value whether title area is visible or not.
28860     *
28861     * @param it The naviframe item
28862     * @return If @c EINA_TRUE, title area is visible
28863     *
28864     * @see also elm_naviframe_item_title_visible_set()
28865     *
28866     * @ingroup Naviframe
28867     */
28868    EAPI Eina_Bool           elm_naviframe_item_title_visible_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
28869
28870    /**
28871     * @brief Set creating prev button automatically or not
28872     *
28873     * @param obj The naviframe object
28874     * @param auto_pushed If @c EINA_TRUE, the previous button(back button) will
28875     *        be created internally when you pass the @c NULL to the prev_btn
28876     *        parameter in elm_naviframe_item_push
28877     *
28878     * @see also elm_naviframe_item_push()
28879     */
28880    EAPI void                elm_naviframe_prev_btn_auto_pushed_set(Evas_Object *obj, Eina_Bool auto_pushed) EINA_ARG_NONNULL(1);
28881    /**
28882     * @brief Get a value whether prev button(back button) will be auto pushed or
28883     *        not.
28884     *
28885     * @param obj The naviframe object
28886     * @return If @c EINA_TRUE, prev button will be auto pushed.
28887     *
28888     * @see also elm_naviframe_item_push()
28889     *           elm_naviframe_prev_btn_auto_pushed_set()
28890     */
28891    EAPI Eina_Bool           elm_naviframe_prev_btn_auto_pushed_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28892    /**
28893     * @brief Get a list of all the naviframe items.
28894     *
28895     * @param obj The naviframe object
28896     * @return An Eina_Inlist* of naviframe items, #Elm_Object_Item,
28897     * or @c NULL on failure.
28898     */
28899    EAPI Eina_Inlist        *elm_naviframe_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28900
28901     /**
28902     * @}
28903     */
28904
28905    /**
28906     * @defgroup Multibuttonentry Multibuttonentry
28907     *
28908     * A Multibuttonentry is a widget to allow a user enter text and manage it as a number of buttons
28909     * Each text button is inserted by pressing the "return" key. If there is no space in the current row,
28910     * a new button is added to the next row. When a text button is pressed, it will become focused.
28911     * Backspace removes the focus.
28912     * When the Multibuttonentry loses focus items longer than 1 lines are shrunk to one line.
28913     *
28914     * Smart callbacks one can register:
28915     * - @c "item,selected" - when item is selected. May be called on backspace key.
28916     * - @c "item,added" - when a new multibuttonentry item is added.
28917     * - @c "item,deleted" - when a multibuttonentry item is deleted.
28918     * - @c "item,clicked" - selected item of multibuttonentry is clicked.
28919     * - @c "clicked" - when multibuttonentry is clicked.
28920     * - @c "focused" - when multibuttonentry is focused.
28921     * - @c "unfocused" - when multibuttonentry is unfocused.
28922     * - @c "expanded" - when multibuttonentry is expanded.
28923     * - @c "shrank" - when multibuttonentry is shrank.
28924     * - @c "shrank,state,changed" - when shrink mode state of multibuttonentry is changed.
28925     *
28926     * Here is an example on its usage:
28927     * @li @ref multibuttonentry_example
28928     */
28929     /**
28930     * @addtogroup Multibuttonentry
28931     * @{
28932     */
28933
28934    typedef struct _Multibuttonentry_Item Elm_Multibuttonentry_Item;
28935    typedef Eina_Bool (*Elm_Multibuttonentry_Item_Filter_callback) (Evas_Object *obj, const char *item_label, void *item_data, void *data);
28936
28937    /**
28938     * @brief Add a new multibuttonentry to the parent
28939     *
28940     * @param parent The parent object
28941     * @return The new object or NULL if it cannot be created
28942     *
28943     */
28944    EAPI Evas_Object               *elm_multibuttonentry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
28945    /**
28946     * Get the label
28947     *
28948     * @param obj The multibuttonentry object
28949     * @return The label, or NULL if none
28950     *
28951     */
28952    EAPI const char                *elm_multibuttonentry_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28953    /**
28954     * Set the label
28955     *
28956     * @param obj The multibuttonentry object
28957     * @param label The text label string
28958     *
28959     */
28960    EAPI void                       elm_multibuttonentry_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
28961    /**
28962     * Get the entry of the multibuttonentry object
28963     *
28964     * @param obj The multibuttonentry object
28965     * @return The entry object, or NULL if none
28966     *
28967     */
28968    EAPI Evas_Object               *elm_multibuttonentry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28969    /**
28970     * Get the guide text
28971     *
28972     * @param obj The multibuttonentry object
28973     * @return The guide text, or NULL if none
28974     *
28975     */
28976    EAPI const char *               elm_multibuttonentry_guide_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28977    /**
28978     * Set the guide text
28979     *
28980     * @param obj The multibuttonentry object
28981     * @param label The guide text string
28982     *
28983     */
28984    EAPI void                       elm_multibuttonentry_guide_text_set(Evas_Object *obj, const char *guidetext) EINA_ARG_NONNULL(1);
28985    /**
28986     * Get the value of shrink_mode state.
28987     *
28988     * @param obj The multibuttonentry object
28989     * @param the value of shrink mode state.
28990     *
28991     */
28992    EAPI int                        elm_multibuttonentry_shrink_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28993    /**
28994     * Set/Unset the multibuttonentry to shrink mode state of single line
28995     *
28996     * @param obj The multibuttonentry object
28997     * @param the value of shrink_mode state. set this to 1 to set the multibuttonentry to shrink state of single line. set this to 0 to unset the contracted state.
28998     *
28999     */
29000    EAPI void                       elm_multibuttonentry_shrink_mode_set(Evas_Object *obj, int shrink) EINA_ARG_NONNULL(1);
29001    /**
29002     * Prepend a new item to the multibuttonentry
29003     *
29004     * @param obj The multibuttonentry object
29005     * @param label The label of new item
29006     * @param data The ponter to the data to be attached
29007     * @return A handle to the item added or NULL if not possible
29008     *
29009     */
29010    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, void *data) EINA_ARG_NONNULL(1);
29011    /**
29012     * Append a new item to the multibuttonentry
29013     *
29014     * @param obj The multibuttonentry object
29015     * @param label The label of new item
29016     * @param data The ponter to the data to be attached
29017     * @return A handle to the item added or NULL if not possible
29018     *
29019     */
29020    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, void *data) EINA_ARG_NONNULL(1);
29021    /**
29022     * Add a new item to the multibuttonentry before the indicated object
29023     *
29024     * reference.
29025     * @param obj The multibuttonentry object
29026     * @param before The item before which to add it
29027     * @param label The label of new item
29028     * @param data The ponter to the data to be attached
29029     * @return A handle to the item added or NULL if not possible
29030     *
29031     */
29032    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Multibuttonentry_Item *before, const char *label, void *data) EINA_ARG_NONNULL(1);
29033    /**
29034     * Add a new item to the multibuttonentry after the indicated object
29035     *
29036     * @param obj The multibuttonentry object
29037     * @param after The item after which to add it
29038     * @param label The label of new item
29039     * @param data The ponter to the data to be attached
29040     * @return A handle to the item added or NULL if not possible
29041     *
29042     */
29043    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Multibuttonentry_Item *after, const char *label, void *data) EINA_ARG_NONNULL(1);
29044    /**
29045     * Get a list of items in the multibuttonentry
29046     *
29047     * @param obj The multibuttonentry object
29048     * @return The list of items, or NULL if none
29049     *
29050     */
29051    EAPI const Eina_List           *elm_multibuttonentry_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29052    /**
29053     * Get the first item in the multibuttonentry
29054     *
29055     * @param obj The multibuttonentry object
29056     * @return The first item, or NULL if none
29057     *
29058     */
29059    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29060    /**
29061     * Get the last item in the multibuttonentry
29062     *
29063     * @param obj The multibuttonentry object
29064     * @return The last item, or NULL if none
29065     *
29066     */
29067    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29068    /**
29069     * Get the selected item in the multibuttonentry
29070     *
29071     * @param obj The multibuttonentry object
29072     * @return The selected item, or NULL if none
29073     *
29074     */
29075    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29076    /**
29077     * Set the selected state of an item
29078     *
29079     * @param item The item
29080     * @param selected if it's EINA_TRUE, select the item otherwise, unselect the item
29081     *
29082     */
29083    EAPI void                       elm_multibuttonentry_item_select(Elm_Multibuttonentry_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
29084    /**
29085    * unselect all items.
29086    *
29087    * @param obj The multibuttonentry object
29088    *
29089    */
29090    EAPI void                       elm_multibuttonentry_item_unselect_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
29091   /**
29092    * Delete a given item
29093    *
29094    * @param item The item
29095    *
29096    */
29097    EAPI void                       elm_multibuttonentry_item_del(Elm_Multibuttonentry_Item *item) EINA_ARG_NONNULL(1);
29098   /**
29099    * Remove all items in the multibuttonentry.
29100    *
29101    * @param obj The multibuttonentry object
29102    *
29103    */
29104    EAPI void                       elm_multibuttonentry_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
29105   /**
29106    * Get the label of a given item
29107    *
29108    * @param item The item
29109    * @return The label of a given item, or NULL if none
29110    *
29111    */
29112    EAPI const char                *elm_multibuttonentry_item_label_get(const Elm_Multibuttonentry_Item *item) EINA_ARG_NONNULL(1);
29113   /**
29114    * Set the label of a given item
29115    *
29116    * @param item The item
29117    * @param label The text label string
29118    *
29119    */
29120    EAPI void                       elm_multibuttonentry_item_label_set(Elm_Multibuttonentry_Item *item, const char *str) EINA_ARG_NONNULL(1);
29121   /**
29122    * Get the previous item in the multibuttonentry
29123    *
29124    * @param item The item
29125    * @return The item before the item @p item
29126    *
29127    */
29128    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_prev_get(const Elm_Multibuttonentry_Item *item) EINA_ARG_NONNULL(1);
29129   /**
29130    * Get the next item in the multibuttonentry
29131    *
29132    * @param item The item
29133    * @return The item after the item @p item
29134    *
29135    */
29136    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_next_get(const Elm_Multibuttonentry_Item *item) EINA_ARG_NONNULL(1);
29137   /**
29138    * Append a item filter function for text inserted in the Multibuttonentry
29139    *
29140    * Append the given callback to the list. This functions will be called
29141    * whenever any text is inserted into the Multibuttonentry, with the text to be inserted
29142    * as a parameter. The callback function is free to alter the text in any way
29143    * it wants, but it must remember to free the given pointer and update it.
29144    * If the new text is to be discarded, the function can free it and set it text
29145    * parameter to NULL. This will also prevent any following filters from being
29146    * called.
29147    *
29148    * @param obj The multibuttonentryentry object
29149    * @param func The function to use as item filter
29150    * @param data User data to pass to @p func
29151    *
29152    */
29153    EAPI void elm_multibuttonentry_item_filter_append(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_callback func, void *data) EINA_ARG_NONNULL(1);
29154   /**
29155    * Prepend a filter function for text inserted in the Multibuttentry
29156    *
29157    * Prepend the given callback to the list. See elm_multibuttonentry_item_filter_append()
29158    * for more information
29159    *
29160    * @param obj The multibuttonentry object
29161    * @param func The function to use as text filter
29162    * @param data User data to pass to @p func
29163    *
29164    */
29165    EAPI void elm_multibuttonentry_item_filter_prepend(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_callback func, void *data) EINA_ARG_NONNULL(1);
29166   /**
29167    * Remove a filter from the list
29168    *
29169    * Removes the given callback from the filter list. See elm_multibuttonentry_item_filter_append()
29170    * for more information.
29171    *
29172    * @param obj The multibuttonentry object
29173    * @param func The filter function to remove
29174    * @param data The user data passed when adding the function
29175    *
29176    */
29177    EAPI void elm_multibuttonentry_item_filter_remove(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_callback func, void *data) EINA_ARG_NONNULL(1);
29178
29179    /**
29180     * @}
29181     */
29182
29183 #ifdef __cplusplus
29184 }
29185 #endif
29186
29187 #endif